human
List roads and group by construction year, returning the count in each group.
gpt
```sparql
PREFIX :      <http://example.org/ontology#>
PREFIX rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT ?year (COUNT(?road) AS ?count)
WHERE {
  ?road rdf:type :Road ;
        :hasConstructionYear ?year .
}
GROUP BY ?year
```