query-21a9ffc8c16c90375c6e894c2b8a0bd6
Locations {\displaystyle {\text{degrees}}+{\frac {\text{minutes}}{60}}+{\frac {\text{seconds}}{3600}}} 3600 seconds + 60 minutes + degrees is used the formula: 42.1361) to be transformed in decimal format: 42deg, 08min, 10sec (42°08'10"For coordinates in format GREL statement used for the calculation: with(value.replace("°", " ").replace("'", " ").replace("\"", " ").split(" "), parts, toNumber(parts[0]) + toNumber(parts[1]) / 60.0 + toNumber(parts[2]) / 3600.0) for all water wells that have available coordinates. (P625)coordinate location Query presenting the
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 ?well ?wellLabel ?location WHERE {
?well wdt:P31 wd:Q43483;
wdt:P17 wd:Q219;
wdt:P625 ?location.
SERVICE wikibase:label { bd:serviceParam wikibase:language "bg,en,[AUTO_LANGUAGE]". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?location"):::projected
v1("?well"):::projected
c7(["bd:serviceParam"]):::iri
c2(["wd:Q43483"]):::iri
c4(["wd:Q219"]):::iri
c9(["bg,en,#91;AUTO_LANGUAGE#93;"]):::literal
v1 --"wdt:P31"--> c2
v1 --"wdt:P17"--> c4
v1 --"wdt:P625"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end