human
List addresses with civic numbers above average civic number overall.
gpt
```sparql
PREFIX :     <http://example.org/ontology#>
PREFIX rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT ?addr ?num
WHERE {
  ?addr rdf:type :Address ;
        :hasCivicNumber ?num .
  FILTER(?num > {
    SELECT (AVG(?n) AS ?avgNum)
    WHERE {
      ?a rdf:type :Address ;
         :hasCivicNumber ?n .
    }
  })
}
```