query-3302fa60472e2ea71d95410676527649

rq turtle/ttl

Countries with population - but no result for Greece?Greece is a country. And Greece item also has an item population. Why Greece is not found then?

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#>
#Länder nach Einwohnerzahl
# defaultView:BubbleChart
SELECT DISTINCT ?countryLabel ?population
{
  ?country wdt:P31 wd:Q6256 ;
           wdt:P1082 ?population .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
GROUP BY ?population ?countryLabel
ORDER BY DESC(?population)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?country") v1("?population"):::projected c5(["bd:serviceParam"]):::iri c7(["en"]):::literal c2(["wd:Q6256"]):::iri v2 --"wdt:P31"--> c2 v2 --"wdt:P1082"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end