query-890bf28e8b4b496286bc5081fb19d02d
TODO
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 ?country ?countryLabel ?flag ?population WHERE
{
{
SELECT ?country ?flag ?population
WHERE {
?country wdt:P31 wd:Q6256;
wdt:P1082 ?population.
?flag wdt:P31 wd:Q186516;
wdt:P1001 ?country.
} } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?country"):::projected
v3("?flag"):::projected
v2("?population"):::projected
c7(["bd:serviceParam"]):::iri
c4(["wd:Q186516"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c2(["wd:Q6256"]):::iri
v1 --"wdt:P31"--> c2
v1 --"wdt:P1082"--> v2
v3 --"wdt:P31"--> c4
v3 --"wdt:P1001"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end