query-a15dac653fdbd642df8048979bedbb97
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Map
SELECT ?item ?itemLabel ?property ?propertyLabel ?coord
WHERE
{
VALUES ?item { wd:Q3237 }
?item ?pred1 ?stat1 .
?property wikibase:claim ?pred1 .
?stat1 ?pred2 ?stat2 .
?property wikibase:statementValue ?pred2 .
?stat2 a wikibase:GlobecoordinateValue.
?stat1 ?pred3 ?coord.
?property wikibase:statementProperty ?pred3 .
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;
v8("?coord"):::projected
v1("?item"):::projected
v2("?pred1")
v5("?pred2")
v7("?pred3")
v4("?property"):::projected
v3("?stat1")
v6("?stat2")
c7(["bd:serviceParam"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c4(["wikibase:GlobecoordinateValue"]):::iri
bind0[/VALUES ?item/]
bind0-->v1
bind00(["wd:Q3237"])
bind00 --> bind0
v1 -->v2--> v3
v4 --"wikibase:claim"--> v2
v3 -->v5--> v6
v4 --"wikibase:statementValue"--> v5
v6 --"a"--> c4
v3 -->v7--> v8
v4 --"wikibase:statementProperty"--> v7
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end