human
353) Retrieve addresses typed incorrectly also as :Construction but do have a geometry referencing 'POINT M'.
gpt
```sparql
PREFIX geo:<http://www.opengis.net/ont/geosparql#>
PREFIX :   <http://example.org/ontology#>
PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>

SELECT ?addr
WHERE {
  ?addr rdf:type :Address , :Construction ;
        :hasGeometry ?g .
  ?g geo:asWKT ?wkt .
  FILTER regex(?wkt, "POINT M", "i")
}
```