human
335) Find addresses typed as :Building or :Road but lacking any geometry or civic number.
gpt
```sparql
PREFIX :<http://example.org/ontology#>
PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT ?addr
WHERE {
  ?addr rdf:type :Address .
  FILTER(EXISTS { ?addr rdf:type :Building } || EXISTS { ?addr rdf:type :Road })
  FILTER NOT EXISTS { ?addr :hasGeometry ?g }
  FILTER NOT EXISTS { ?addr :hasCivicNumber ?n }
}
```