query-f6a0c0abaa6122ea61d651b452856667

rq turtle/ttl

ORCID nach allen Organisationen

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:BubbleChart
SELECT ?uni ?uniLabel ?number
WHERE {
  #?uni rdfs:label ?uniLabel .
  #FILTER LANG(?uniLabel='en')
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],de,en" }
{
SELECT DISTINCT ?uni (count(?person) AS ?number)
{
  ?person wdt:P496 ?orcid .
  ?person wdt:P108 ?uni .
  #?uni wdt:P17 wd:Q183 .    # nur Deutsche Unis
  #SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],de,en" }
} GROUP BY ?uni
}
}
ORDER BY DESC(?number)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?number"):::projected v3("?orcid") v2("?person") v4("?uni"):::projected c2(["bd:serviceParam"]):::iri c4(["#91;AUTO_LANGUAGE#93;,de,en"]):::literal subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end v2 --"wdt:P496"--> v3 v2 --"wdt:P108"--> v4 bind1[/"count(?person)"/] v2 --o bind1 bind1 --as--o v5