query-c91cb6c5d42e2274bfd19678cfada168
BCIN amb precisiĆ³ SELECT DISTINCT ?lloc ?llocLabel ?lat ?lon ?coord ?prec WHERE { ?lloc wdt:P1435 wd:Q1019352. ?lloc p:P625 ?coordinate . ?lloc wdt:P625 ?coord. ?coordinate psv:P625 ?coordinate_node . ?coordinate_node wikibase:geoLatitude ?lat . ?coordinate_node wikibase:geoLongitude ?lon . ?coordinate_node wikibase:geoPrecision ?prec. SERVICE wikibase:label { bd:serviceParam wikibase:language 'ca' . } } ORDER BY DESC(?prec)
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 psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#BCIN amb precisiĆ³
SELECT DISTINCT ?lloc ?llocLabel ?lat ?lon ?coord ?prec
WHERE {
?lloc wdt:P1435 wd:Q1019352.
?lloc p:P625 ?coordinate .
?lloc wdt:P625 ?coord.
?coordinate psv:P625 ?coordinate_node .
?coordinate_node wikibase:geoLatitude ?lat .
?coordinate_node wikibase:geoLongitude ?lon .
?coordinate_node wikibase:geoPrecision ?prec.
SERVICE wikibase:label {
bd:serviceParam wikibase:language 'ca' . }
}
ORDER BY DESC(?prec)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?coord"):::projected
v3("?coordinate")
v5("?coordinate_node")
v6("?lat"):::projected
v2("?lloc"):::projected
v7("?lon"):::projected
v1("?prec"):::projected
c2(["wd:Q1019352"]):::iri
c10(["bd:serviceParam"]):::iri
c12(["ca"]):::literal
v2 --"p:direct/P1435"--> c2
v2 --"p:P625"--> v3
v2 --"p:direct/P625"--> v4
v3 --"p:statement/value/P625"--> v5
v5 --"wikibase:geoLatitude"--> v6
v5 --"wikibase:geoLongitude"--> v7
v5 --"wikibase:geoPrecision"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end