diff --git a/src/ttl/Writer.cpp b/src/ttl/Writer.cpp index 2bca9e1..20d7e91 100644 --- a/src/ttl/Writer.cpp +++ b/src/ttl/Writer.cpp @@ -88,7 +88,12 @@ osm2rdf::ttl::Writer::Writer(const osm2rdf::config::Config& config, {osm2rdf::ttl::constants::NAMESPACE__OHM_RELATION, "https://www.openhistoricalmap.org/relation/"}, {osm2rdf::ttl::constants::NAMESPACE__OHM_WAY, - "https://www.openhistoricalmap.org/way/"}}; + "https://www.openhistoricalmap.org/way/"}, + {osm2rdf::ttl::constants::NAMESPACE__OHM_USER, + "https://www.openhistoricalmap.org/user/"}, + {osm2rdf::ttl::constants::NAMESPACE__OHM_CHANGESET, + "https://www.openhistoricalmap.org/changeset/"}, + }; // Generate constants osm2rdf::ttl::constants::IRI__GEOSPARQL__AS_WKT = diff --git a/tests/ttl/Writer.cpp b/tests/ttl/Writer.cpp index 7a2bc50..c8db7e2 100644 --- a/tests/ttl/Writer.cpp +++ b/tests/ttl/Writer.cpp @@ -704,8 +704,8 @@ TEST(TTL_WriterTTL, writeStatisticJson) { statsBuffer << statsIFStream.rdbuf(); ASSERT_THAT(statsBuffer.str(), ::testing::HasSubstr("\"blankNodes\": 3")); - ASSERT_THAT(statsBuffer.str(), ::testing::HasSubstr("\"header\": 22")); - ASSERT_THAT(statsBuffer.str(), ::testing::HasSubstr("\"lines\": 27")); + ASSERT_THAT(statsBuffer.str(), ::testing::HasSubstr("\"header\": 24")); + ASSERT_THAT(statsBuffer.str(), ::testing::HasSubstr("\"lines\": 29")); ASSERT_THAT(statsBuffer.str(), ::testing::HasSubstr("\"triples\": 5")); // Cleanup @@ -766,8 +766,8 @@ TEST(TTL_WriterQLEVER, writeStatisticJson) { statsBuffer << statsIFStream.rdbuf(); ASSERT_THAT(statsBuffer.str(), ::testing::HasSubstr("\"blankNodes\": 3")); - ASSERT_THAT(statsBuffer.str(), ::testing::HasSubstr("\"header\": 22")); - ASSERT_THAT(statsBuffer.str(), ::testing::HasSubstr("\"lines\": 27")); + ASSERT_THAT(statsBuffer.str(), ::testing::HasSubstr("\"header\": 24")); + ASSERT_THAT(statsBuffer.str(), ::testing::HasSubstr("\"lines\": 29")); ASSERT_THAT(statsBuffer.str(), ::testing::HasSubstr("\"triples\": 5")); // Cleanup