human
Retrieve the WKT geometry of all buildings.
gpt
```sparql
PREFIX :    <http://example.org/ontology#>
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT ?building ?wkt
WHERE {
  ?building rdf:type :Building ;
            :hasGeometry ?geom .
  ?geom geo:asWKT ?wkt .
}
```