query-300ae215c320e291d66ef9c47b606149

rq turtle/ttl

): Bad aggregate adapted for the above, produces an error (thisThe following query, which is

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?causeOfDeath ?causeOfDeathLabel (COUNT(?item) as ?count)
WHERE 
{
  ?item wdt:P31 wd:Q5;
        wdt:P509 ?causeOfDeath.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?causeOfDeath

Query found at