queries against the LINCS CWRC endpoint produce queries which return no result
- Using the LINCS CWRC endpoint
- Picking the http://sparql.cwrc.ca/ontologies/genre graph
- and using the seach term "novel"
... generates the following query, which returns no results.
# search_sparql_by_label("novel")
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX dbp: <http://dbpedia.org/ontology/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT DISTINCT ?sub ?pred ?obj
WHERE {
?sub ?pred ?obj . {
?sub rdfs:label ?obj .
FILTER contains(LCASE(?obj), "novel")
} UNION {
?sub skos:altLabel ?obj .
FILTER contains(LCASE(?obj), "novel")
} UNION {
?sub foaf:name ?obj .
FILTER contains(LCASE(?obj), "novel")
} UNION {
?sub dbp:name ?obj .
FILTER contains(LCASE(?obj), "novel")
}
}
LIMIT 20
This is the manual query interface linked to from https://fuseki.lincsproject.ca/