query-2d93842ab0f62f86b47733daed9e1a47
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#>
#defaultView:Map
SELECT DISTINCT ?item ?itemLabel ?coord ?p31Label WHERE
{
?item wdt:P31/wdt:P279* wd:Q486972 .
?item wdt:P31 ?p31 .
?item wdt:P131 wd:Q1356 .
?item wdt:P625 ?coord .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?coord"):::projected
v1("?item"):::projected
v2("?p31")
a1((" "))
c3(["wd:Q486972"]):::iri
c8(["bd:serviceParam"]):::iri
c10(["en"]):::literal
c5(["wd:Q1356"]):::iri
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v1 --"wdt:P31"--> v2
v1 --"wdt:P131"--> c5
v1 --"wdt:P625"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end