SQUALL to SPARQL Translator

Your SQUALL sentence:

What is the average number of publication-s per author ?

The SPARQL translation:

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