human
Find all buildings that have more than one address.
gpt
```sparql
PREFIX :     <http://example.org/ontology#>
PREFIX rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT ?building (COUNT(?addr) AS ?addrCount)
WHERE {
  ?building rdf:type :Building ;
            :hasAddress ?addr .
}
GROUP BY ?building
HAVING(COUNT(?addr) > 1)
```