Commit 2860c896 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Adds conditionsOfUse as datatype property

parent 888f104a
Pipeline #9945 passed with stages
in 5 minutes and 50 seconds
......@@ -41,6 +41,7 @@ object KEYS {
const val hasFindingAid = "hasFindingAid"
const val sameAs = "sameAs"
const val relation = "relation"
const val conditionsOfUse = "conditionsOfUse"
// Rules
......@@ -155,6 +156,7 @@ object KEYS {
Pair(hasStandard, EBUCORE.hasStandard),
Pair(locator, EBUCORE.locator),
Pair(sameAs, SCHEMA.sameAs),
Pair(relation, DC.relation)
Pair(relation, DC.relation),
Pair(conditionsOfUse, RICO.conditionsOfUse)
)
}
\ No newline at end of file
......@@ -155,7 +155,8 @@ class MappingConfig(directory: String) {
for (entry in source) {
when (val key = entry.key) {
KEYS.descriptiveNote, KEYS.medium, KEYS.physicalCharacteristics,
KEYS.colour, KEYS.duration ->
KEYS.colour, KEYS.duration,
KEYS.conditionsOfUse ->
physicalObjectFieldMappers.add(buildAnnotationMappers(entry))
KEYS.identifiers ->
physicalObjectFieldMappers.addAll(buildRicoConceptMappers(key, entry.value))
......
......@@ -55,6 +55,7 @@ object RICO {
val normalizedValue: Property = prop( "normalizedValue")
val scopeAndContent: Property = prop( "scopeAndContent")
val physicalCharacteristics: Property = prop( "physicalCharacteristics")
val conditionsOfUse: Property = prop("conditionsOfUse")
// Object Properties
......
......@@ -4,6 +4,8 @@ record:
const: Foto
physical:
conditionsOfUse:
const: "Blablabla"
physicalCharacteristics: # rico:physicalCharacteristics
de:
prefix:
......
<https://memobase.ch/instantiation/physical/TEST-sigantur-example-0> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.ica.org/standards/RiC/ontology#Instantiation> .
<https://memobase.ch/instantiation/physical/TEST-sigantur-example-0> <https://www.ica.org/standards/RiC/ontology#conditionsOfUse> "Blablabla" .
<https://memobase.ch/instantiation/physical/TEST-sigantur-example-0> <https://www.ica.org/standards/RiC/ontology#identifiedBy> _:B .
<https://memobase.ch/instantiation/physical/TEST-sigantur-example-0> <https://www.ica.org/standards/RiC/ontology#instantiates> <https://memobase.ch/record/TEST-sigantur-example> .
<https://memobase.ch/instantiation/physical/TEST-sigantur-example-0> <https://www.ica.org/standards/RiC/ontology#physicalCharacteristics> "ID Film: id_film"@fr .
......
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