human
Find all distinct street names used by buildings.
gpt
```sparql
PREFIX :    <http://example.org/ontology#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT DISTINCT ?street
WHERE {
  ?b rdf:type :Building ;
     :hasAddress ?addr .
  ?addr :hasStreetName ?street .
}
```