SQUALL to SPARQL Translator

Your SQUALL sentence:

What is the budget of the Film whose director is 'Zdenek Sverak' and whose releaseDate is the earliest?

The SPARQL translation:

SELECT DISTINCT ?x1 WHERE {
{
SELECT DISTINCT ?x4 WHERE {
?x2 a :Film .
?x2 :director ?x3 .
FILTER (REGEX(str(?x3),'Zdenek','i') && REGEX(str(?x3),'Sverak','i')) .
?x2 :releaseDate ?x4 .
} ORDER BY ASC(?x4) LIMIT 1
} ?x2 :budget ?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: