query-8280e60436f3a4ff8df87c9295fe824a
Institutions holding archives about organizations
Use at
- https://query.wikidata.org/sparql
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#>
#institutions holding archives about organizations, ordered by the number of organizations they have material on.
#defaultView:BubbleChart
SELECT DISTINCT ?institution ?institutionLabel ?countryLabel (count (*) as ?count) {
?org wdt:P31/wdt:P279* wd:Q43229 ; wdt:P485 ?institution.
OPTIONAL { ?institution wdt:P17 ?country } .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} group by ?institution ?institutionLabel ?countryLabel order by desc(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?count")
v4("?country")
v3("?institution"):::projected
v2("?org")
a1((" "))
c7(["bd:serviceParam"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c3(["wd:Q43229"]):::iri
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v2 --"wdt:P485"--> v3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P17".-> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
bind1[/"count(*)"/]
bind1 --as--o v5