human
Find all geometry WKT strings that start with 'POLYGON'.
gpt
```sparql
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX :    <http://example.org/ontology#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT ?geom ?wkt
WHERE {
  ?feat :hasGeometry ?geom .
  ?geom geo:asWKT ?wkt .
  FILTER regex(?wkt, "^POLYGON", "i")
}
```