query-3786b115f49fb032030162340ce2c98a

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: )?count(DESC ORDER BY ?archiveLabel ?archive GROUP BY } } . "en" language:wikibase serviceParam:bd { label:wikibase SERVICE . ?archive P485:wdt ?person . Q5:wd P31:wdt ?person { WHERE )?count AS )?person(COUNT( ?archiveLabel ?archive SELECT #defaultView:BubbleChart 3. Return a list of items in Wikidata that have a SNAC id: } } . "en" language:wikibase serviceParam:bd { label:wikibase SERVICE . ?value P3430:wdt ?item { WHERE ?value ?itemLabel SELECT #Items that have an ID from the Social Networks Archival Contex project 4. Return a list of people whose papers are held at the Beinecke along with the geocoordinates of their birthplaces plotted on a map: } } ."en" language:wikibase serviceParam:bd { label:wikibase SERVICE } .?lon geoLongitude:wikibase ?node .?lat geoLatitude:wikibase ?node .?node P625:psv ?statement .?statement P625:p ?birthplace { OPTIONAL } .?coord P625:wdt ?birthplace { OPTIONAL .?birthplace P19:wdt ?person .Q814779:wd P485:wdt ?person { WHERE ?lon ?lat ?coord ?birthplaceLabel ?personLabel SELECT http://www.wikidata.org/prop/statement/value/ :psv PREFIX #defaultView:Map 5. Return a bubble chart showing the awards received by people whose papers are at the Beinecke in order from largest number of award winners among the group to smallest number of award winners among the group:

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   ?award ?awardLabel (COUNT(?person) AS ?count)

WHERE {

   ?person wdt:P485 wd:Q814779.
  ?person wdt:P166 ?award .

  SERVICE wikibase:label {
        bd:serviceParam wikibase:language "en" .
}
  }
GROUP BY ?award ?awardLabel
ORDER BY DESC(?count)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?award"):::projected v4("?count") v2("?person"):::projected c5(["bd:serviceParam"]):::iri c2(["wd:Q814779"]):::iri c7(["en"]):::literal v2 --"wdt:P485"--> c2 v2 --"wdt:P166"--> 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