SQUALL to SPARQL Translator

Your SQUALL sentence:

What is the number of person-s per affiliation ?

The SPARQL translation:

SELECT DISTINCT ?x2 (COUNT(DISTINCT ?x3) AS ?x1) WHERE {
?x3 a :person .
?x3 :affiliation ?x2 .
} GROUP BY ?x2

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: