query-bb87e4c56eaa3855743572575b4bd994

rq turtle/ttl

Value of a coord according to referenceHi, to check them. I manage to do have the list of items but I would like to have the value of the coordinate itself too (to then build more complex queryies, such as comparing with other coordinates on the same item, filtering by distance, etc. all sort of things I already know how to do). Here is where I stuck: (Q837615)Cebuano Wikipedia (P143)imported from Wikimedia project with coordinates having for reference (Q484170)commune of France I'm trying to get all

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item ?coord
WHERE {
  ?item wdt:P31 wd:Q484170 ; p:P625 [ prov:wasDerivedFrom [ pr:P143 wd:Q837615 ] ] .
}
LIMIT 10

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected a2((" ")) a1((" ")) c4(["wd:Q837615"]):::iri c2(["wd:Q484170"]):::iri v1 --"p:direct/P31"--> c2 a1 --"p:reference/P143"--> c4 a2 --"prov:wasDerivedFrom"--> a1 v1 --"p:P625"--> a2