query-eb3d5bed52b6fe58b6a602b2c2e7a62d
ORCID nach Ländern (Länder der Personen)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:BubbleChart
SELECT ?country ?countryLabel ?number
WHERE {
#?country rdfs:label ?countryLabel .
#FILTER LANG(?countryLabel='en')
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
{
SELECT DISTINCT ?country (count(?person) AS ?number)
{
?person wdt:P496 ?orcid .
?person wdt:P27 ?country .
} GROUP BY ?country
}
}
ORDER BY DESC(?number)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?country"):::projected
v5("?number"):::projected
v3("?orcid")
v2("?person")
c2(["bd:serviceParam"]):::iri
c4(["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:P27"--> v4
bind1[/"count(?person)"/]
v2 --o bind1
bind1 --as--o v5