SQUALL to SPARQL Translator

Your SQUALL sentence:

How many person-s have which affiliation ?

The SPARQL translation:

SELECT DISTINCT ?x3 (COUNT(DISTINCT ?x2) AS ?x1) WHERE {
?x2 a :person .
?x2 :affiliation ?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: