Unverified Commit b84625fa authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

set namespace for isPublished manually

parent 3f57176c
Pipeline #20391 passed with stages
in 3 minutes and 34 seconds
......@@ -90,6 +90,8 @@ class KafkaTopology(
private fun parseNtriples(input: Pair<String, HeaderMetadata>): ProcessResult<Model> {
val model = MemobaseModel()
model.setNsPrefix("isPublished", "https://memobase.ch/internal/isPublished")
try {
RDFDataMgr.read(model, input.first.byteInputStream(StandardCharsets.UTF_8), Lang.NT)
} catch (ex: RiotException) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment