SQUALL to SPARQL Translator

Your SQUALL sentence:

Which Film whose releaseDate is greater or equal to 2010-01-01 has a director whose birthPlace is res:England or res:United_States ?

The SPARQL translation:

SELECT DISTINCT ?x1 WHERE {
?x1 a :Film .
?x1 :releaseDate ?x2 .
FILTER (?x2 >= "2010-01-01"^^xsd:date) .
?x1 :director ?x3 .
{
?x3 :birthPlace res:England .
} UNION { ?x3 :birthPlace res:United_States .
}
}

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: