Skip to content

Commit

Permalink
Fix triple and quote literal value
Browse files Browse the repository at this point in the history
  • Loading branch information
lehmann-4178656ch committed Oct 18, 2024
1 parent af55ece commit 70a40de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/osm2rdf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ void run(const osm2rdf::config::Config& config) {
osm2rdf::ttl::Writer<T> writer{config, &output};
writer.writeHeader();
writer.writeTriple(
osm2rdf::ttl::constants::NAMESPACE__OSM2RDF,
writer.generateIRIUnsafe(osm2rdf::ttl::constants::NAMESPACE__OSM2RDF,
"replace-with-dataset-specific-id"),
writer.generateIRIUnsafe(osm2rdf::ttl::constants::NAMESPACE__OSM2RDF,
"git-info"),
osm2rdf::version::GIT_INFO);
writer.generateLiteral(osm2rdf::version::GIT_INFO, ""));

osm2rdf::osm::OsmiumHandler osmiumHandler{config, &writer};
osmiumHandler.handle();
Expand Down

0 comments on commit 70a40de

Please sign in to comment.