query-39d4b437cc1045c4abbd6a145144d602
person items with pointers to documentation files, ordered by the number of institutions that have material on the given person. SELECT DISTINCT ?person ?personLabel (count (*) as ?count) { ?person wdt:P31 wd:Q5 ; wdt:P10527 ?institution. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } group by ?person ?personLabel order by desc(?count)
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#>
#person items with pointers to documentation files, ordered by the number of institutions that have material on the given person.
SELECT DISTINCT ?person ?personLabel (count (*) as ?count) {
?person wdt:P31 wd:Q5 ; wdt:P10527 ?institution.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} group by ?person ?personLabel 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")
v2("?person"):::projected
c5(["bd:serviceParam"]):::iri
c2(["wd:Q5"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"wdt:P31"--> c2
v2 --"wdt:P10527"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end
bind1[/"count(*)"/]
bind1 --as--o v4