human
Count how many buildings have a geometry in WKT format containing '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 (COUNT(?building) AS ?count)
WHERE {
  ?building rdf:type :Building ;
            :hasGeometry ?geom .
  ?geom geo:asWKT ?wkt .
  FILTER regex(?wkt, "POLYGON", "i")
}
```