query-57497160480babd935f82a71d74d60f5

rq turtle/ttl

Without aggregation but with multiple QIDs also works

Use at

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?cid ?article WHERE {
    VALUES ?cid { wd:Q104123 wd:Q172975 } 
    ?article schema:about ?cid .
 }

Query found at

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