human
Find buildings that share the same civic number as their year, with an address referencing it.
gpt
```sparql
PREFIX : <http://example.org/ontology#>
SELECT ?b
WHERE {
  ?b a :Building ;
     :hasConstructionYear ?year ;
     :hasAddress ?addr .
  ?addr :hasCivicNumber ?num .
  FILTER(?num = ?year)
}
```