Commit 12a52710 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Change id property from normalizedValue to identifier.

parent 432ffa14
......@@ -79,7 +79,7 @@ abstract class RecordResource(institutionId: String) : IResource {
protected fun addIdentifier(type: String, identifier: String, institution: Resource) {
val blank = model.createResource()
blank.addProperty(RICO.normalizedValue, literal(identifier))
blank.addProperty(RICO.identifier, literal(identifier))
blank.addProperty(RICO.type, type)
blank.addProperty(RDF.type, RICO.Identifier)
blank.addProperty(RICO.hasProvenance, institution)
......@@ -64,6 +64,7 @@ object RICO {
val identifiedBy: Property = prop("identifiedBy")
val identifies: Property = prop("identifies")
val identifier: Property = prop("identifier")
val hasSubject: Property = prop( "hasSubject")
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