ad-freiburg / osm2rdf

Convert OpenStreetMap (OSM) data to RDF Turtle, including the object geometries and predicates geo:sfContains and geo:sfIntersects. Weekly updated downloads for the whole planet (~ 40 billion triples) and per country.
https://osm2rdf.cs.uni-freiburg.de
GNU General Public License v3.0
22 stars 7 forks source link

Way geometry intermediate objects in wrong namespace #87

Open patrickbr opened 7 months ago

patrickbr commented 7 months ago

The intermediate geometry objects to which the geo:asWKT predicates are attached should be in the NAMESPACE__OSM2RDF_GEOM namespace (osm2rdfgeom: in the generated .ttl). For ways, these are in the NAMESPACE__OSM2RDF namespace (osm2rdf: in the generated .ttl). See https://github.com/ad-freiburg/osm2rdf/blob/80daa32e066ba5091a36ed078d37228662cbe7e7/src/osm/FactHandler.cpp#L285

I might be wrong, but shouldn't https://github.com/ad-freiburg/osm2rdf/blob/80daa32e066ba5091a36ed078d37228662cbe7e7/src/osm/FactHandler.cpp#L245C13-L245C36 also be in NAMESPACE__OSM2RDF_GEOM?

hannahbast commented 6 months ago

Does the GeoSPARQL standard say anything about how these intermediate nodes should be called?

Are blank nodes an option?