Commit 44b8e73b authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Add link from agent to creation relation

parent 8d24a499
Pipeline #10858 passed with stages
in 9 minutes and 26 seconds
......@@ -117,6 +117,7 @@ abstract class RecordResource(institutionId: String) : IResource {
relation.addProperty(RDF.type, RICO.CreationRelation)
val agent = model.createResource()
agent.addProperty(RDF.type, KEYS.agentTypeMap[agentType])
agent.addProperty(RICO.agentIsTargetOfCreationRelation, relation)
for (property in properties) {
agent.addProperty(KEYS.keysToPropertyMap[property.first], property.second)
}
......
......@@ -84,6 +84,7 @@ object RICO {
val creationRelationHasSource: Property = prop("creationRelationHasSource")
val creationRelationHasTarget: Property = prop("creationRelationHasTarget")
val agentIsTargetOfCreationRelation: Property = prop("agentIsTargetOfCreationRelation")
val recordResourceOrInstantiationIsSourceOfCreationRelation: Property = prop("recordResourceOrInstantiationIsSourceOfCreationRelation")
val regulates: Property = prop("regulates")
......
......@@ -10,7 +10,7 @@
"kamera": "name",
"produktion": "name",
"geographie": "name",
"personen-körperschaften": "name",
"personen-körperschaften": "person-körperschaft",
"sachthemen": "name",
"genre": "name",
"link-zu-quellsystem": "http://example.org/stuff",
......
......@@ -33,6 +33,9 @@ _:B <http://www.w3.org/2004/02/skos/core#editorialNote> "Ursprungsfeld: Genre" .
_:B <http://www.w3.org/2004/02/skos/core#editorialNote> "Ursprungsfeld: Sachthemen" .
_:B <http://www.w3.org/2004/02/skos/core#prefLabel> "name"@de .
_:B <http://www.w3.org/2004/02/skos/core#prefLabel> "name"@de .
_:B <https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation> _:B .
_:B <https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation> _:B .
_:B <https://www.ica.org/standards/RiC/ontology#agentIsTargetOfCreationRelation> _:B .
_:B <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/TEST-Sig_Han_1293> .
_:B <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/TEST-Sig_Han_1293> .
_:B <https://www.ica.org/standards/RiC/ontology#creationRelationHasSource> <https://memobase.ch/record/TEST-Sig_Han_1293> .
......@@ -45,7 +48,7 @@ _:B <https://www.ica.org/standards/RiC/ontology#name> "name"@de .
_:B <https://www.ica.org/standards/RiC/ontology#name> "name"@de .
_:B <https://www.ica.org/standards/RiC/ontology#name> "name"@de .
_:B <https://www.ica.org/standards/RiC/ontology#name> "name"@de .
_:B <https://www.ica.org/standards/RiC/ontology#name> "name"@de .
_:B <https://www.ica.org/standards/RiC/ontology#name> "person-körperschaft"@de .
_:B <https://www.ica.org/standards/RiC/ontology#type> "Autor" .
_:B <https://www.ica.org/standards/RiC/ontology#type> "Kamera" .
_:B <https://www.ica.org/standards/RiC/ontology#type> "Regie" .
......
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