query-13c5de5a02e1af5330a662d843a5d9fc
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Map
SELECT ?item ?itemLabel ?property ?propertyLabel ?coord
WHERE
{
VALUES ?item { wd:Q3237 }
?item p:P625 ?stat1 .
# ?property wikibase:claim ?pred1 .
?stat1 psv:P625 ?stat2 .
# ?property wikibase:statementValue ?pred2 .
?stat2 a wikibase:GlobecoordinateValue.
?stat1 ps:P625 ?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;
v4("?coord"):::projected
v1("?item"):::projected
v2("?stat1")
v3("?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 --"p:P625"--> v2
v2 --"p:statement/value/P625"--> v3
v3 --"a"--> c4
v2 --"p:statement/P625"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end