SQUALL to SPARQL Translator

Your SQUALL sentence:

Which person has substr(the foaf:name,0,3) that contains "Dr" ?

The SPARQL translation:

SELECT DISTINCT ?x1 WHERE {
?x1 a :person .
?x1 foaf:name ?x2 .
BIND (substr(?x2,0,3) AS ?x3) .
FILTER contains(?x3,"Dr") .
}

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: