Commit 6cdc2466 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Fix memoriav URI

parent f205cbe7
......@@ -46,7 +46,7 @@ dependencies {
//compile group: 'org.elasticsearch.client', name: 'elasticsearch-rest-high-level-client', version: '7.1.0'
implementation "org.apache.logging.log4j:log4j-api:${log4jV}"
implementation 'org.memobase:memobase-service-utilities:3.0.3'
implementation 'org.memobase:memobase-service-utilities:3.1.3'
// YAML Parser
implementation 'org.snakeyaml:snakeyaml-engine:2.1'
......
......@@ -46,7 +46,7 @@ class Record(
resource.addProperty(RICO.heldBy, institutionUri)
addRicoConcept(KEYS.identifiers, "main", listOf(literal(id)))
if (hasSponsoringAgent) {
resource.addProperty(RDA.hasSponsoringAgentOfResource, model.createResource(KEYS.memoriavUri))
resource.addProperty(RDA.hasSponsoringAgentOfResource, model.createResource(MB.memoriavInstitutionURI))
}
resource.addProperty(MB.isPublished, model.createTypedLiteral(isPublished))
}
......
......@@ -21,9 +21,6 @@ package ch.memobase.mapping
import ch.memobase.rdf.*
object KEYS {
const val memoriavUri = NS.mbcb + "mrv"
val validRecordTypeValues = listOf("Film", "Foto", "Radio", "Ton", "Tonbildschau", "TV", "Video")
const val uri = "uri"
......
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