query-422cc91fa9e9a8e561af691d77de7ba3

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 ?institution ?institutionLabel (count(distinct ?item) as ?count)
WHERE 
{
  ?item wdt:P4101 ?institution. 

  ?item wdt:P31/wdt:P279* wd:Q1266946 .

  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } 
} group by ?institution ?institutionLabel order by desc(?count)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?count") v3("?institution"):::projected v2("?item"):::projected a1((" ")) c6(["bd:serviceParam"]):::iri c4(["wd:Q1266946"]):::iri c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal v2 --"wdt:P4101"--> v3 v2 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end bind1[/"count(?item)"/] v2 --o bind1 bind1 --as--o v4