SQUALL to SPARQL Translator

Your SQUALL sentence:

What is the number of publication-s whose author has some affiliation A per A ?

The SPARQL translation:

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