query-c9aa54970330cf9832d1eaa3f85ffceb

rq turtle/ttl

TODO

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 ?instance ?instanceLabel (count(?item) as ?count)
WHERE 
{
  VALUES ?instance {wd:Q283202 wd:Q44782 }
  ?item wdt:P31 ?instance.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} group by ?instance ?instanceLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?count") v1("?instance"):::projected v2("?item"):::projected c3(["bd:serviceParam"]):::iri c5(["#91;AUTO_LANGUAGE#93;,en"]):::literal bind0[/VALUES ?instance/] bind0-->v1 bind00(["wd:Q283202"]) bind00 --> bind0 bind01(["wd:Q44782"]) bind01 --> bind0 v2 --"wdt:P31"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c3 --"wikibase:language"--> c5 end bind2[/"count(?item)"/] v2 --o bind2 bind2 --as--o v3