human
Find roads within 500 meters of a building using geof:distance.
gpt
```sparql
PREFIX geo:  <http://www.opengis.net/ont/geosparql#>
PREFIX geof: <http://www.opengis.net/def/function/geosparql/>
PREFIX :     <http://example.org/ontology#>
PREFIX rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT ?road
WHERE {
  :SomeBuilding :hasGeometry ?bGeom .
  ?road rdf:type :Road ;
        :hasGeometry ?rGeom .
  FILTER(
    geof:distance(
      ?bGeom,
      ?rGeom,
      <http://www.opengis.net/def/uom/OGC/1.0/metre>
    ) < 500
  )
}
```