query-2210cd58938c2741bd9047aad2634815
About population. Why this query returns nothing? (Q15180)Soviet Union of different countries and historical states and I have failed already at Q50330360I am trying to investigate
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 ?countryLabel ?population WHERE {
?country (wdt:P31/wd:P279*) wd:Q515.
?country wdt:P17 wd:Q15180.
?country wdt:P1082 ?population.
SERVICE wikibase:label { bd:serviceParam wikibase:language "ru". }
}
GROUP BY ?population ?countryLabel
ORDER BY DESC(?population)
LIMIT 20
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?country")
v1("?population"):::projected
a1((" "))
c5(["wd:Q15180"]):::iri
c8(["bd:serviceParam"]):::iri
c10(["ru"]):::literal
c3(["wd:Q515"]):::iri
v2 --"wdt:P31"--> a1
a1 --"wd:P279"--> c3
v2 --"wdt:P17"--> c5
v2 --"wdt:P1082"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end