SQUALL to SPARQL Translator

Your SQUALL sentence:

Which person whose rdfs:label is 'John Smith' is an author of PaperX ?

The SPARQL translation:

SELECT DISTINCT ?x1 WHERE {
?x1 a :person .
?x1 rdfs:label ?x2 .
FILTER (REGEX(str(?x2),'John','i') && REGEX(str(?x2),'Smith','i')) .
:PaperX :author ?x1 .
}

Run at DBpedia SPARQL endpoint (assuming prefixes res: for resources, : and dbo: for ontology, and dbp: for properties in addition to DBpedia namespace definitions).

Load in DBpedia SPARQL Explorer (assuming the same prefixes as above).


Enter a SQUALL sentence: