human
Count buildings that have geometry referencing more than one WKT (multiple geometry entries).
gpt
```sparql
PREFIX :<http://example.org/ontology#>
PREFIX geo:<http://www.opengis.net/ont/geosparql#>

SELECT (COUNT(?b) AS ?count)
WHERE {
  {
    SELECT ?b (COUNT(?g) AS ?gCount)
    WHERE {
      ?b a :Building ;
         :hasGeometry ?g .
    }
    GROUP BY ?b
    HAVING(?gCount > 1)
  }
}
```