query-119152193c26b99ae04457cbe1634b03
dto für Hochschulen allgemein
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#>
SELECT DISTINCT ?country ?countryLabel (sum(?numberOfStudents) AS ?numberOfStudentsPerCountry)
{
?uni wdt:P31/wdt:P279* wd:Q38723 . # Hochschule
?uni wdt:P17 ?country .
?uni wdt:P2196 ?numberOfStudents .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],de,en" }
} GROUP BY ?country ?countryLabel
ORDER BY DESC(?numberOfStudentsPerCountry)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?country"):::projected
v4("?numberOfStudents"):::projected
v5("?numberOfStudentsPerCountry")
v2("?uni")
a1((" "))
c7(["bd:serviceParam"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,de,en"]):::literal
c3(["wd:Q38723"]):::iri
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v2 --"wdt:P17"--> v3
v2 --"wdt:P2196"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
bind1[/"sum(?numberOfStudents)"/]
v4 --o bind1
bind1 --as--o v5