SQUALL to SPARQL Translator

Your SQUALL sentence:

How many Film-s whose director is res:Tim_Burton are-starring which Person ?

The SPARQL translation:

SELECT DISTINCT ?x1 ?x3 WHERE {
?x3 a :Person .
{
SELECT DISTINCT ?x3 (COUNT(DISTINCT ?x2) AS ?x1) WHERE {
?x2 a :Film .
?x2 :director res:Tim_Burton .
?x2 :starring ?x3 .
} GROUP BY ?x3
}
}

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: