query-f9eba48325f008b78c7b520443819292
some coordinate values seem to have multiple values for wikibase:geoPrecision SELECT ?item ?coord ?geoprecision WHERE { VALUES ?item { wd:Q41427943 wd:Q41411330 } ?item p:P625 ?p625 . ?p625 ps:P625 ?coord . ?p625 psv:P625 [ wikibase:geoPrecision ?geoprecision ] } ORDER BY ?item
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/>
#some coordinate values seem to have multiple values for wikibase:geoPrecision
SELECT ?item ?coord ?geoprecision WHERE {
VALUES ?item { wd:Q41427943 wd:Q41411330 }
?item p:P625 ?p625 .
?p625 ps:P625 ?coord .
?p625 psv:P625 [ wikibase:geoPrecision ?geoprecision ]
}
ORDER BY ?item
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?coord"):::projected
v4("?geoprecision"):::projected
v2("?item"):::projected
v2("?p625")
a1((" "))
bind0[/VALUES ?item/]
bind0-->v2
bind00(["wd:Q41427943"])
bind00 --> bind0
bind01(["wd:Q41411330"])
bind01 --> bind0
v2 --"p:P625"--> v2
v2 --"p:statement/P625"--> v3
a1 --"wikibase:geoPrecision"--> v4
v2 --"p:statement/value/P625"--> a1