query-98015e7d3b3367f6c5f339fe340bedec

rq turtle/ttl

I want to do the same but specifying centre coordinates instead of using a Wikidata item:

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX geof: <http://www.opengis.net/def/function/geosparql/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?instLabel ?item ?itemLabel  ?coord WHERE {
  ?item wdt:P17 wd:Q29.
  ?item wdt:P625 ?coord.
  FILTER(geof:distance(?coord, Point(1.5, 41.5)) < 15).   # what should the format here be?
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "[AUTO_LANGUAGE],ca,en,es,fr,de" . 
  }
}

Query found at