query-6c2029c7e02dea5c0d20d4cbd976993a

rq turtle/ttl

Archives1. Return a list of people ranked in the order of largest number of institutions holding their papers to smallest number of institutions holding their papers: )?count(DESC ORDER BY ?personLabel ?person GROUP BY } } . "en" language:wikibase serviceParam:bd { label:wikibase SERVICE . ?archive P485:wdt ?person . Q5:wd P31:wdt ?person { WHERE )?count AS )?archive(COUNT( ?personLabel ?person SELECT try it!2. Return a list of institutions ranked in order of largest to smallest number of peoples' papers listed in Wikidata:

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#>
#defaultView:BubbleChart
SELECT ?archive ?archiveLabel (COUNT(?person) AS ?count)

WHERE {
  ?person wdt:P31 wd:Q5 .
  ?person wdt:P485 ?archive .

  SERVICE wikibase:label {
        bd:serviceParam wikibase:language "en" .

}
  }

GROUP BY ?archive ?archiveLabel
ORDER BY DESC(?count)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?archive"):::projected v4("?count") v2("?person"):::projected c5(["bd:serviceParam"]):::iri c2(["wd:Q5"]):::iri c7(["en"]):::literal v2 --"wdt:P31"--> c2 v2 --"wdt:P485"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end bind1[/"count(?person)"/] v2 --o bind1 bind1 --as--o v4