query-afb341500d3b761848a2057ad074c984

rq turtle/ttl

Query works non aggregated or for single QID, but not with bothThis aggregation works

Use at

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?cid (COUNT(?article) AS ?count) WHERE {
    VALUES ?cid { wd:Q104123 } 
    ?article schema:about ?cid .
 } 
 GROUP BY ?cid

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?article"):::projected v1("?cid"):::projected v3("?count") bind0[/VALUES ?cid/] bind0-->v1 bind00(["wd:Q104123"]) bind00 --> bind0 v2 --"schema:about"--> v1 bind2[/"count(?article)"/] v2 --o bind2 bind2 --as--o v3