From 54a439cff86c4426a638c53e9a94e1c01bd62a53 Mon Sep 17 00:00:00 2001 From: Balduin Landolt <33053745+BalduinLandolt@users.noreply.github.com> Date: Wed, 17 Apr 2024 10:21:26 +0200 Subject: [PATCH] feat: Extend the model of `Segment` with additional properties (DEV-3505) (#3193) --- .../knoraApiOntologySimple.jsonld | 191 +++++++++++++ .../knoraApiOntologyWithValueObjects.jsonld | 256 ++++++++++++++++++ .../resources/knora-ontologies/knora-base.ttl | 107 +++++++- .../main/scala/org/knora/webapi/package.scala | 2 +- .../upgrade/RepositoryUpdatePlan.scala | 1 + 5 files changed, 549 insertions(+), 8 deletions(-) diff --git a/test_data/generated_test_data/ontologyR2RV2/knoraApiOntologySimple.jsonld b/test_data/generated_test_data/ontologyR2RV2/knoraApiOntologySimple.jsonld index 8f6c85f437..51e217ecb7 100644 --- a/test_data/generated_test_data/ontologyR2RV2/knoraApiOntologySimple.jsonld +++ b/test_data/generated_test_data/ontologyR2RV2/knoraApiOntologySimple.jsonld @@ -191,6 +191,13 @@ }, "owl:minCardinality": 0 }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:hasDescription" + }, + "owl:minCardinality": 0 + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -198,6 +205,13 @@ }, "owl:minCardinality": 0 }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:hasKeyword" + }, + "owl:minCardinality": 0 + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -212,6 +226,13 @@ }, "owl:minCardinality": 0 }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:hasTitle" + }, + "owl:maxCardinality": 1 + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -219,6 +240,13 @@ }, "owl:cardinality": 1 }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:relatesTo" + }, + "owl:minCardinality": 0 + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -764,6 +792,9 @@ { "@id": "knora-api:Resource" }, + { + "@id": "http://schema.org/Clip" + }, { "@id": "http://www.w3.org/ns/ma-ont#Track" }, @@ -781,6 +812,13 @@ }, "owl:minCardinality": 0 }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:hasDescription" + }, + "owl:minCardinality": 0 + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -788,6 +826,13 @@ }, "owl:minCardinality": 0 }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:hasKeyword" + }, + "owl:minCardinality": 0 + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -802,6 +847,13 @@ }, "owl:minCardinality": 0 }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:hasTitle" + }, + "owl:maxCardinality": 1 + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -809,6 +861,13 @@ }, "owl:cardinality": 1 }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:relatesTo" + }, + "owl:minCardinality": 0 + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -962,6 +1021,13 @@ }, "owl:minCardinality": 0 }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:hasDescription" + }, + "owl:minCardinality": 0 + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -969,6 +1035,13 @@ }, "owl:minCardinality": 0 }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:hasKeyword" + }, + "owl:minCardinality": 0 + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -983,6 +1056,13 @@ }, "owl:minCardinality": 0 }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:hasTitle" + }, + "owl:maxCardinality": 1 + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -990,6 +1070,13 @@ }, "owl:cardinality": 1 }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:relatesTo" + }, + "owl:minCardinality": 0 + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -1165,6 +1252,32 @@ }, "@id": "knora-api:hasDDDFile" }, + { + "rdfs:label": "has description", + "rdfs:subPropertyOf": [ + { + "@id": "knora-api:hasValue" + }, + { + "@id": "http://purl.org/dc/terms/description" + }, + { + "@id": "http://schema.org/abstract" + }, + { + "@id": "http://www.w3.org/ns/ma-ont#description" + } + ], + "rdfs:comment": "Indicates the description of a resource", + "@type": "owl:DatatypeProperty", + "knora-api:subjectType": { + "@id": "knora-api:Resource" + }, + "knora-api:objectType": { + "@id": "xsd:string" + }, + "@id": "knora-api:hasDescription" + }, { "rdfs:label": "has document", "rdfs:subPropertyOf": { @@ -1225,6 +1338,32 @@ }, "@id": "knora-api:hasIncomingLink" }, + { + "rdfs:label": "has keyword", + "rdfs:subPropertyOf": [ + { + "@id": "knora-api:hasValue" + }, + { + "@id": "http://purl.org/dc/terms/subject" + }, + { + "@id": "http://schema.org/keywords" + }, + { + "@id": "http://www.w3.org/ns/ma-ont#hasKeyword" + } + ], + "rdfs:comment": "Indicates a keyword of a resource", + "@type": "owl:DatatypeProperty", + "knora-api:subjectType": { + "@id": "knora-api:Resource" + }, + "knora-api:objectType": { + "@id": "xsd:string" + }, + "@id": "knora-api:hasKeyword" + }, { "rdfs:label": "has Link to", "rdfs:subPropertyOf": { @@ -1342,6 +1481,32 @@ }, "@id": "knora-api:hasTextFile" }, + { + "rdfs:label": "has title", + "rdfs:subPropertyOf": [ + { + "@id": "knora-api:hasValue" + }, + { + "@id": "http://purl.org/dc/terms/title" + }, + { + "@id": "http://schema.org/headline" + }, + { + "@id": "http://www.w3.org/ns/ma-ont#title" + } + ], + "rdfs:comment": "Indicates the title of a resource", + "@type": "owl:DatatypeProperty", + "knora-api:subjectType": { + "@id": "knora-api:Resource" + }, + "knora-api:objectType": { + "@id": "xsd:string" + }, + "@id": "knora-api:hasTitle" + }, { "rdfs:label": "has value", "rdfs:subPropertyOf": { @@ -1430,6 +1595,9 @@ { "@id": "knora-api:hasLinkTo" }, + { + "@id": "http://schema.org/isPartOf" + }, { "@id": "http://www.w3.org/ns/ma-ont#isFragmentOf" } @@ -1489,6 +1657,29 @@ "rdfs:label": "Object type", "rdfs:comment": "Specifies the required type of the objects of a property" }, + { + "rdfs:label": "relates to", + "rdfs:subPropertyOf": [ + { + "@id": "knora-api:hasLinkTo" + }, + { + "@id": "http://purl.org/dc/terms/relation" + }, + { + "@id": "http://www.w3.org/ns/ma-ont#hasRelatedResource" + } + ], + "rdfs:comment": "Indicates that this resource relates to another resource", + "@type": "owl:ObjectProperty", + "knora-api:subjectType": { + "@id": "knora-api:Resource" + }, + "knora-api:objectType": { + "@id": "knora-api:Resource" + }, + "@id": "knora-api:relatesTo" + }, { "@id": "knora-api:resourceIcon", "@type": "owl:DatatypeProperty", diff --git a/test_data/generated_test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.jsonld b/test_data/generated_test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.jsonld index ccd683799d..09271eda58 100644 --- a/test_data/generated_test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.jsonld +++ b/test_data/generated_test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.jsonld @@ -816,6 +816,14 @@ "owl:minCardinality": 0, "knora-api:isInherited": true }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:hasDescription" + }, + "owl:minCardinality": 0, + "knora-api:isInherited": true + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -824,6 +832,14 @@ "owl:minCardinality": 0, "knora-api:isInherited": true }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:hasKeyword" + }, + "owl:minCardinality": 0, + "knora-api:isInherited": true + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -856,6 +872,14 @@ "owl:minCardinality": 0, "knora-api:isInherited": true }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:hasTitle" + }, + "owl:maxCardinality": 1, + "knora-api:isInherited": true + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -886,6 +910,22 @@ "owl:maxCardinality": 1, "knora-api:isInherited": true }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:relatesTo" + }, + "owl:minCardinality": 0, + "knora-api:isInherited": true + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:relatesToValue" + }, + "owl:minCardinality": 0, + "knora-api:isInherited": true + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -4345,6 +4385,9 @@ { "@id": "knora-api:Resource" }, + { + "@id": "http://schema.org/Clip" + }, { "@id": "http://www.w3.org/ns/ma-ont#Track" }, @@ -4411,6 +4454,13 @@ }, "owl:minCardinality": 0 }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:hasDescription" + }, + "owl:minCardinality": 0 + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -4419,6 +4469,13 @@ "owl:minCardinality": 0, "knora-api:isInherited": true }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:hasKeyword" + }, + "owl:minCardinality": 0 + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -4450,6 +4507,13 @@ "owl:minCardinality": 0, "knora-api:isInherited": true }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:hasTitle" + }, + "owl:maxCardinality": 1 + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -4480,6 +4544,20 @@ "owl:maxCardinality": 1, "knora-api:isInherited": true }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:relatesTo" + }, + "owl:minCardinality": 0 + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:relatesToValue" + }, + "owl:minCardinality": 0 + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -7277,6 +7355,14 @@ "owl:minCardinality": 0, "knora-api:isInherited": true }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:hasDescription" + }, + "owl:minCardinality": 0, + "knora-api:isInherited": true + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -7285,6 +7371,14 @@ "owl:minCardinality": 0, "knora-api:isInherited": true }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:hasKeyword" + }, + "owl:minCardinality": 0, + "knora-api:isInherited": true + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -7317,6 +7411,14 @@ "owl:minCardinality": 0, "knora-api:isInherited": true }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:hasTitle" + }, + "owl:maxCardinality": 1, + "knora-api:isInherited": true + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -7347,6 +7449,22 @@ "owl:maxCardinality": 1, "knora-api:isInherited": true }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:relatesTo" + }, + "owl:minCardinality": 0, + "knora-api:isInherited": true + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:relatesToValue" + }, + "owl:minCardinality": 0, + "knora-api:isInherited": true + }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -7994,6 +8112,37 @@ }, "rdfs:comment": "Connects a Representation to a 3D-file" }, + { + "rdfs:label": "has description", + "rdfs:subPropertyOf": [ + { + "@id": "knora-api:hasValue" + }, + { + "@id": "http://purl.org/dc/terms/description" + }, + { + "@id": "http://schema.org/abstract" + }, + { + "@id": "http://www.w3.org/ns/ma-ont#description" + } + ], + "knora-api:isEditable": true, + "knora-api:isResourceProperty": true, + "@type": "owl:ObjectProperty", + "knora-api:objectType": { + "@id": "knora-api:TextValue" + }, + "salsah-gui:guiElement": { + "@id": "salsah-gui:Richtext" + }, + "@id": "knora-api:hasDescription", + "knora-api:subjectType": { + "@id": "knora-api:Resource" + }, + "rdfs:comment": "Indicates the description of a resource" + }, { "rdfs:label": "has document", "rdfs:subPropertyOf": { @@ -8070,6 +8219,37 @@ }, "rdfs:comment": "Indicates that this resource referred to by another resource" }, + { + "rdfs:label": "has keyword", + "rdfs:subPropertyOf": [ + { + "@id": "knora-api:hasValue" + }, + { + "@id": "http://purl.org/dc/terms/subject" + }, + { + "@id": "http://schema.org/keywords" + }, + { + "@id": "http://www.w3.org/ns/ma-ont#hasKeyword" + } + ], + "knora-api:isEditable": true, + "knora-api:isResourceProperty": true, + "@type": "owl:ObjectProperty", + "knora-api:objectType": { + "@id": "knora-api:TextValue" + }, + "salsah-gui:guiElement": { + "@id": "salsah-gui:SimpleText" + }, + "@id": "knora-api:hasKeyword", + "knora-api:subjectType": { + "@id": "knora-api:Resource" + }, + "rdfs:comment": "Indicates a keyword of a resource" + }, { "rdfs:label": "has Link to", "rdfs:subPropertyOf": { @@ -8272,6 +8452,37 @@ }, "rdfs:comment": "Connects a Representation to a text file" }, + { + "rdfs:label": "has title", + "rdfs:subPropertyOf": [ + { + "@id": "knora-api:hasValue" + }, + { + "@id": "http://purl.org/dc/terms/title" + }, + { + "@id": "http://schema.org/headline" + }, + { + "@id": "http://www.w3.org/ns/ma-ont#title" + } + ], + "knora-api:isEditable": true, + "knora-api:isResourceProperty": true, + "@type": "owl:ObjectProperty", + "knora-api:objectType": { + "@id": "knora-api:TextValue" + }, + "salsah-gui:guiElement": { + "@id": "salsah-gui:SimpleText" + }, + "@id": "knora-api:hasTitle", + "knora-api:subjectType": { + "@id": "knora-api:Resource" + }, + "rdfs:comment": "Indicates the title of a resource" + }, { "rdfs:subPropertyOf": { "@id": "knora-api:resourceProperty" @@ -8562,6 +8773,9 @@ { "@id": "knora-api:hasLinkTo" }, + { + "@id": "http://schema.org/isPartOf" + }, { "@id": "http://www.w3.org/ns/ma-ont#isFragmentOf" } @@ -8843,6 +9057,48 @@ }, "@id": "knora-api:pageCount" }, + { + "rdfs:label": "relates to", + "rdfs:subPropertyOf": [ + { + "@id": "knora-api:hasLinkTo" + }, + { + "@id": "http://purl.org/dc/terms/relation" + }, + { + "@id": "http://www.w3.org/ns/ma-ont#hasRelatedResource" + } + ], + "knora-api:isEditable": true, + "knora-api:isResourceProperty": true, + "@type": "owl:ObjectProperty", + "knora-api:objectType": { + "@id": "knora-api:Resource" + }, + "@id": "knora-api:relatesTo", + "knora-api:subjectType": { + "@id": "knora-api:Resource" + }, + "knora-api:isLinkProperty": true, + "rdfs:comment": "Indicates that this resource relates to another resource" + }, + { + "knora-api:isLinkValueProperty": true, + "rdfs:subPropertyOf": { + "@id": "knora-api:hasLinkToValue" + }, + "knora-api:isEditable": true, + "knora-api:isResourceProperty": true, + "knora-api:subjectType": { + "@id": "knora-api:Resource" + }, + "@type": "owl:ObjectProperty", + "knora-api:objectType": { + "@id": "knora-api:LinkValue" + }, + "@id": "knora-api:relatesToValue" + }, { "@id": "knora-api:resourceIcon", "@type": "owl:DatatypeProperty", diff --git a/webapi/src/main/resources/knora-ontologies/knora-base.ttl b/webapi/src/main/resources/knora-ontologies/knora-base.ttl index f5e5853e6f..b58ea85f69 100644 --- a/webapi/src/main/resources/knora-ontologies/knora-base.ttl +++ b/webapi/src/main/resources/knora-ontologies/knora-base.ttl @@ -7,11 +7,11 @@ @prefix owl: . @prefix rdf: . @prefix rdfs: . -@prefix xml: . @prefix xsd: . @prefix ma: . @prefix foaf: . @prefix dcterms: . +@prefix schema: . @prefix salsah-gui: . @prefix knora-admin: . @base . @@ -20,7 +20,7 @@ rdf:type owl:Ontology ; rdfs:label "The Knora base ontology"@en ; :attachedToProject knora-admin:SystemProject ; - :ontologyVersion "knora-base v35" . + :ontologyVersion "knora-base v36" . ################################################################# @@ -1161,7 +1161,8 @@ :valueHasIntervalEnd rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf :valueHas ; + rdfs:subPropertyOf :valueHas , + schema:endOffset ; :subjectClassConstraint :IntervalBase ; :objectDatatypeConstraint xsd:decimal . @@ -1170,7 +1171,8 @@ :valueHasIntervalStart rdf:type owl:DatatypeProperty ; - rdfs:subPropertyOf :valueHas ; + rdfs:subPropertyOf :valueHas , + schema:startOffset ; :subjectClassConstraint :IntervalBase ; :objectDatatypeConstraint xsd:decimal . @@ -2227,6 +2229,80 @@ rdfs:comment "Generic representation of a deleted value that can therefore not be displayed"@en . +### http://www.knora.org/ontology/knora-base#hasTitle + +:hasTitle + rdf:type owl:ObjectProperty ; + rdfs:label "has title"@en ; + rdfs:comment "Indicates the title of a resource"@en ; + :subjectClassConstraint :Resource ; + :objectClassConstraint :TextValue ; + salsah-gui:guiElement salsah-gui:SimpleText ; + :isEditable true ; + rdfs:subPropertyOf :hasValue , + schema:headline , + dcterms:title , + ma:title . + + +### http://www.knora.org/ontology/knora-base#hasDescription + +:hasDescription + rdf:type owl:ObjectProperty ; + rdfs:label "has description"@en ; + rdfs:comment "Indicates the description of a resource"@en ; + :subjectClassConstraint :Resource ; + :objectClassConstraint :TextValue ; + salsah-gui:guiElement salsah-gui:Richtext ; + :isEditable true ; + rdfs:subPropertyOf :hasValue , + schema:abstract , + dcterms:description , + ma:description . + + +### http://www.knora.org/ontology/knora-base#hasKeyword + +:hasKeyword + rdf:type owl:ObjectProperty ; + rdfs:label "has keyword"@en ; + rdfs:comment "Indicates a keyword of a resource"@en ; + :subjectClassConstraint :Resource ; + :objectClassConstraint :TextValue ; + salsah-gui:guiElement salsah-gui:SimpleText ; + :isEditable true ; + rdfs:subPropertyOf :hasValue , + schema:keywords , + dcterms:subject , + ma:hasKeyword . + + +### http://www.knora.org/ontology/knora-base#relatesTo + +:relatesTo + rdf:type owl:ObjectProperty ; + rdfs:label "relates to"@en ; + rdfs:comment "Indicates that this resource relates to another resource"@en ; + :subjectClassConstraint :Resource ; + :objectClassConstraint :Resource ; + :isEditable true ; + rdfs:subPropertyOf :hasLinkTo, + ma:hasRelatedResource , + dcterms:relation . + + + +### http://www.knora.org/ontology/knora-base#relatesToValue + +:relatesToValue + rdf:type owl:ObjectProperty ; + :objectClassConstraint :LinkValue ; + :subjectClassConstraint :Resource ; + :isEditable true ; + rdfs:subPropertyOf :hasLinkToValue . + + + ### http://www.knora.org/ontology/knora-base#isSegmentOf :isSegmentOf @@ -2238,6 +2314,7 @@ :objectClassConstraint :Representation ; :isEditable true ; rdfs:subPropertyOf :hasLinkTo, + schema:isPartOf , ma:isFragmentOf . @@ -2314,8 +2391,9 @@ :Segment rdf:type owl:Class ; - rdfs:subClassOf :Resource, - ma:Track, + rdfs:subClassOf :Resource , + ma:Track , + schema:Clip , [ rdf:type owl:Restriction ; owl:onProperty :hasComment ; owl:minCardinality "0"^^xsd:nonNegativeInteger ], @@ -2327,7 +2405,22 @@ owl:cardinality "1"^^xsd:nonNegativeInteger ] , [ rdf:type owl:Restriction ; owl:onProperty :hasSegmentBounds ; - owl:cardinality "1"^^xsd:nonNegativeInteger ] ; + owl:cardinality "1"^^xsd:nonNegativeInteger ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasTitle ; + owl:maxCardinality "1"^^xsd:nonNegativeInteger ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasDescription ; + owl:minCardinality "0"^^xsd:nonNegativeInteger ] , + [ rdf:type owl:Restriction ; + owl:onProperty :hasKeyword ; + owl:minCardinality "0"^^xsd:nonNegativeInteger ] , + [ rdf:type owl:Restriction ; + owl:onProperty :relatesTo ; + owl:minCardinality "0"^^xsd:nonNegativeInteger ] , + [ rdf:type owl:Restriction ; + owl:onProperty :relatesToValue ; + owl:minCardinality "0"^^xsd:nonNegativeInteger ] ; rdfs:label "Segment"@de, "Segment"@en ; :canBeInstantiated false ; diff --git a/webapi/src/main/scala/org/knora/webapi/package.scala b/webapi/src/main/scala/org/knora/webapi/package.scala index 07eba3b6bd..4d21f82ec7 100644 --- a/webapi/src/main/scala/org/knora/webapi/package.scala +++ b/webapi/src/main/scala/org/knora/webapi/package.scala @@ -11,7 +11,7 @@ package object webapi { * The version of `knora-base` and of the other built-in ontologies that this version of Knora requires. * Must be the same as the object of `knora-base:ontologyVersion` in the `knora-base` ontology being used. */ - val KnoraBaseVersion: String = "knora-base v35" + val KnoraBaseVersion: String = "knora-base v36" /** * `IRI` is a synonym for `String`, used to improve code readability. diff --git a/webapi/src/main/scala/org/knora/webapi/store/triplestore/upgrade/RepositoryUpdatePlan.scala b/webapi/src/main/scala/org/knora/webapi/store/triplestore/upgrade/RepositoryUpdatePlan.scala index 9578e1f951..2908c602eb 100644 --- a/webapi/src/main/scala/org/knora/webapi/store/triplestore/upgrade/RepositoryUpdatePlan.scala +++ b/webapi/src/main/scala/org/knora/webapi/store/triplestore/upgrade/RepositoryUpdatePlan.scala @@ -51,6 +51,7 @@ object RepositoryUpdatePlan { PluginForKnoraBaseVersion(versionNumber = 33, plugin = new MigrateOnlyBuiltInGraphs()), PluginForKnoraBaseVersion(versionNumber = 34, plugin = new MigrateOnlyBuiltInGraphs()), PluginForKnoraBaseVersion(versionNumber = 35, plugin = new MigrateOnlyBuiltInGraphs()), + PluginForKnoraBaseVersion(versionNumber = 36, plugin = new MigrateOnlyBuiltInGraphs()), ) /**