SQUALL to SPARQL Translator

Your SQUALL sentence:

Which President-s or yago:Presidents have birthDate '1945'?

The SPARQL translation:

SELECT DISTINCT ?x1 WHERE {
{
?x1 a :President .
} UNION { ?x1 a yago:Presidents .
} ?x1 :birthDate ?x2 .
FILTER (REGEX(str(?x2),'1945','i')) .
}

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: