From 472b375e2950264ddd12b09f0497d3b720e80267 Mon Sep 17 00:00:00 2001 From: irinaschubert Date: Thu, 29 Sep 2022 12:37:07 +0200 Subject: [PATCH] fix: Value update or deletion doesn't work for properties of other ontology (DEV-1367) (#2222) --- .../generating-client-test-data.md | 8 +- test_data/all_data/freetest-data.ttl | 22 + test_data/ontologies/anything-onto.ttl | 12 +- test_data/ontologies/freetest-onto.ttl | 14 + .../anythingOntologyWithValueObjects.jsonld | 20 + .../anythingOntologyWithValueObjects.rdf | 1712 +++++------ .../anythingOntologyWithValueObjects.ttl | 1158 ++++---- .../anythingThingWithAllLanguages.ttl | 178 +- .../boxOntologyWithValueObjects.ttl | 58 +- test_data/ontologyR2RV2/imagesBild.ttl | 166 +- test_data/ontologyR2RV2/incunabulaBook.ttl | 134 +- .../incunabulaOntologySimple.ttl | 170 +- .../incunabulaOntologyWithValueObjects.ttl | 470 +-- test_data/ontologyR2RV2/incunabulaPage.ttl | 150 +- .../incunabulaPageAndBookWithValueObjects.ttl | 280 +- test_data/ontologyR2RV2/knoraApiDateValue.ttl | 58 +- .../ontologyR2RV2/knoraApiOntologySimple.ttl | 192 +- .../knoraApiOntologyWithValueObjects.ttl | 2560 ++++++++--------- .../standoffOntologyWithValueObjects.ttl | 814 +++--- webapi/src/main/resources/logback.xml | 6 +- .../groupsmessages/GroupsMessagesADM.scala | 12 +- .../ProjectsMessagesADM.scala | 4 +- .../messages/util/PermissionUtilADM.scala | 3 +- .../messages/util/search/QueryTraverser.scala | 10 +- .../search/gravsearch/GravsearchParser.scala | 26 +- .../responders/admin/GroupsResponderADM.scala | 67 +- .../responders/admin/ListsResponderADM.scala | 6 +- .../admin/PermissionsResponderADM.scala | 15 +- .../admin/ProjectsResponderADM.scala | 38 +- .../responders/admin/UsersResponderADM.scala | 23 +- .../responders/v2/SearchResponderV2.scala | 4 +- .../responders/v2/StandoffResponderV2.scala | 3 +- .../responders/v2/ValuesResponderV2.scala | 165 +- .../webapi/routing/admin/GroupsRouteADM.scala | 3 +- .../cache/impl/CacheServiceInMemImpl.scala | 5 +- webapi/src/main/twirl/generate_srcjar.bzl | 21 - .../e2e/v2/ResourcesRouteV2E2ESpec.scala | 4 + .../webapi/e2e/v2/ResponseCheckerV2Spec.scala | 2 +- .../webapi/it/v2/StandoffRouteV2ITSpec.scala | 4 + .../webapi/messages/StringFormatterSpec.scala | 2 +- .../PermissionsMessagesADMSpec.scala | 2 +- .../util/CalendarDateUtilV2Spec.scala | 2 +- .../util/ConstructResponseUtilV2Spec.scala | 2 +- .../util/search/SparqlTransformerSpec.scala | 2 +- .../gravsearch/GravsearchParserSpec.scala | 2 +- ...searchToCountPrequeryTransformerSpec.scala | 2 +- ...cGravsearchToPrequeryTransformerSpec.scala | 2 +- .../prequery/TopologicalSortUtilSpec.scala | 2 +- .../types/GravsearchTypeInspectorSpec.scala | 2 +- .../ResourcesMessagesV2Spec.scala | 2 +- .../admin/GroupsResponderADMSpec.scala | 6 +- .../v1/OntologyResponderV1Spec.scala | 2 +- .../responders/v1/SearchResponderV1Spec.scala | 2 +- .../responders/v2/ListsResponderV2Spec.scala | 2 +- .../v2/LoadOntologiesRequestV2Spec.scala | 2 +- .../v2/OntologyResponderV2Spec.scala | 4 + .../responders/v2/ResourceUtilV2Spec.scala | 2 +- .../v2/ResourcesResponderV2Spec.scala | 2 +- .../v2/ResourcesResponseCheckerV2Spec.scala | 2 +- .../responders/v2/SearchResponderV2Spec.scala | 2 +- .../v2/StandoffResponderV2Spec.scala | 2 +- .../responders/v2/ValuesResponderV2Spec.scala | 165 +- .../AddCardinalitiesToClassSpec.scala | 13 +- .../v2/ontology/OntologyHelpersSpec.scala | 14 +- .../TriplestoreServiceManagerSpec.scala | 2 +- .../util/StringLiteralSequenceV2Spec.scala | 2 +- 66 files changed, 4511 insertions(+), 4332 deletions(-) delete mode 100644 webapi/src/main/twirl/generate_srcjar.bzl diff --git a/docs/05-internals/development/generating-client-test-data.md b/docs/05-internals/development/generating-client-test-data.md index b02e2f3bd6..5b24eb7b3b 100644 --- a/docs/05-internals/development/generating-client-test-data.md +++ b/docs/05-internals/development/generating-client-test-data.md @@ -12,8 +12,8 @@ client code without the need for a running Knora instance. ## Implementation -Client test data is generated as a side effect of running Knora's E2E tests. -E2E tests use `ClientTestDataCollector` to collect test API requests and +Client test data is generated as a side effect of running E2E tests. +E2E tests use `ClientTestDataCollector` to collect API requests and responses. The implementation of `ClientTestDataCollector` collects these in a Redis hash. When the E2E tests have completed, the script `webapi/scripts/dump-client-test-data.sh` saves the collected test data @@ -35,9 +35,7 @@ make client-test-data ``` When the tests have finished running, you will find the file -`client-test-data.zip` in the current directory. - -If generated client test data changes, run `make client-test-data`, then run +`client-test-data.zip` in the current directory. Then, run this script to update the list of expected test data files: ``` diff --git a/test_data/all_data/freetest-data.ttl b/test_data/all_data/freetest-data.ttl index 6ea99f1788..5e1eb48244 100644 --- a/test_data/all_data/freetest-data.ttl +++ b/test_data/all_data/freetest-data.ttl @@ -8,6 +8,7 @@ @prefix knora-admin: . @prefix salsah-gui: . @prefix freetest: . +@prefix anything: . @prefix standoff: . # List @@ -287,3 +288,24 @@ knora-base:valueHasString "1" ; knora-base:hasPermissions "CR knora-admin:Creator|M knora-admin:ProjectMember|V knora-admin:KnownUser|RV knora-admin:UnknownUser" ; knora-base:attachedToUser . + + + a freetest:FreetestWithAPropertyFromAnythingOntology ; + knora-base:attachedToUser ; + knora-base:attachedToProject ; + knora-base:hasPermissions "V knora-admin:UnknownUser|M knora-admin:ProjectMember" ; + knora-base:creationDate "2019-11-29T10:00:00.673298Z"^^xsd:dateTime ; + rdfs:label "A FT with a property from an other ontology" ; + anything:hasIntegerUsedByOtherOntologies ; + knora-base:isDeleted false . + + + a knora-base:IntValue ; + knora-base:valueHasUUID "CYWRc1iuQ3-pKgIZ1RPasA"^^xsd:string ; + knora-base:isDeleted false ; + knora-base:valueCreationDate "2018-05-28T15:52:03.897Z"^^xsd:dateTime ; + knora-base:valueHasInteger "1"^^xsd:integer ; + knora-base:valueHasOrder 0 ; + knora-base:valueHasString "1" ; + knora-base:hasPermissions "V knora-admin:UnknownUser|M knora-admin:ProjectMember" ; + knora-base:attachedToUser . diff --git a/test_data/ontologies/anything-onto.ttl b/test_data/ontologies/anything-onto.ttl index fc8cf9ba2f..f7ff1b2b79 100644 --- a/test_data/ontologies/anything-onto.ttl +++ b/test_data/ontologies/anything-onto.ttl @@ -123,7 +123,17 @@ salsah-gui:guiAttribute "min=0", "max=-1" . - +:hasIntegerUsedByOtherOntologies + rdf:type owl:ObjectProperty ; + rdfs:subPropertyOf knora-base:hasValue ; + rdfs:label "Ganzzahl"@de, + "Nombre entier"@fr, + "Intero"@it, + "Integer"@en ; + knora-base:objectClassConstraint knora-base:IntValue ; + salsah-gui:guiElement salsah-gui:Spinbox ; + salsah-gui:guiAttribute "min=0", + "max=-1" . :hasDecimal rdf:type owl:ObjectProperty ; diff --git a/test_data/ontologies/freetest-onto.ttl b/test_data/ontologies/freetest-onto.ttl index f7bfcfbc47..17606207d3 100644 --- a/test_data/ontologies/freetest-onto.ttl +++ b/test_data/ontologies/freetest-onto.ttl @@ -6,6 +6,7 @@ @prefix foaf: . @prefix knora-base: . @prefix salsah-gui: . +@prefix anything: . @base . # A trivial ontology, used only for testing Knora. @@ -481,3 +482,16 @@ rdfs:label "Listenobjekt"@de, "Object with a list value"@en ; rdfs:comment """A comment for object with a list value"""@en . + +:FreetestWithAPropertyFromAnythingOntology + rdf:type owl:Class ; + rdfs:subClassOf knora-base:Resource, + [ rdf:type owl:Restriction ; + owl:onProperty anything:hasIntegerUsedByOtherOntologies ; + owl:minCardinality "0"^^xsd:nonNegativeInteger ; + salsah-gui:guiOrder "1"^^xsd:nonNegativeInteger ] ; + rdfs:label "FTPAO de"@de, + "FTPAO fr"@fr, + "FTPAO it"@it, + "FTPAO en"@en ; + rdfs:comment """A comment for FTPAO."""@de . diff --git a/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.jsonld b/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.jsonld index 3f92c28b73..5c00fd2800 100644 --- a/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.jsonld +++ b/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.jsonld @@ -2883,6 +2883,26 @@ }, "@id": "anything:hasInteger" }, + { + "rdfs:label": "Integer", + "rdfs:subPropertyOf": { + "@id": "knora-api:hasValue" + }, + "knora-api:isEditable": true, + "knora-api:isResourceProperty": true, + "@type": "owl:ObjectProperty", + "salsah-gui:guiAttribute": [ + "max=-1", + "min=0" + ], + "knora-api:objectType": { + "@id": "knora-api:IntValue" + }, + "salsah-gui:guiElement": { + "@id": "salsah-gui:Spinbox" + }, + "@id": "anything:hasIntegerUsedByOtherOntologies" + }, { "rdfs:label": "Time interval", "rdfs:subPropertyOf": { diff --git a/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.rdf b/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.rdf index 2238b3097a..6d34a777dc 100644 --- a/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.rdf +++ b/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.rdf @@ -13,6 +13,15 @@ >2017-12-19T15:23:42.166Z + + + true + 1 + + + true 1 - + @@ -36,66 +45,76 @@ true - 1 - + 1 + - true true 1 - + - Represents an event in a TextValue true 1 - + + + + + + 1 + + + + true true - 1 - + 1 + + Represents an event in a TextValue true 1 - + true - 1 - + 1 + + Represents an event in a TextValue + true 1 - - - + @@ -104,7 +123,7 @@ >true 1 - + @@ -113,35 +132,43 @@ >true 1 - + true - 1 - + 1 + - Represents an event in a TextValue true - 1 - + 1 + true - 1 - + 1 + + + + + + true + 1 + @@ -150,7 +177,7 @@ >true 1 - + @@ -159,7 +186,7 @@ >true 1 - + @@ -168,25 +195,27 @@ >true 1 - + + + true 1 - + true - 1 - + 0 + @@ -195,18 +224,16 @@ >true 1 - + - - - true + 0 1 - + @@ -218,13 +245,14 @@ + A Resource representing a subsequence of an audio - 0 + true 1 - + @@ -233,34 +261,34 @@ >true 1 - + true - 1 - + 0 + true - 0 - + 1 + true - 0 - + 1 + @@ -276,30 +304,32 @@ true - 0 - + 1 + - A Resource representing a subsequence of an audio + true true 1 - + - true + 0 1 - + + - - - true - 1 - - - - true - - - 0 - 1 - - - - true - 1 - + 0 + + true + Audio Sequence Thing true 1 - + - true - Audio Sequence Thing true 1 - + @@ -378,25 +387,25 @@ + + + true 1 - + - - - true 0 - + true - 1 - + 1 + @@ -416,7 +425,14 @@ >true 1 - + + + + + + 0 + @@ -425,16 +441,16 @@ >true 1 - + true - 1 - + 1 + @@ -446,15 +462,6 @@ - - - true - 1 - - - - true - 1 - + 0 + Thing with representation @@ -480,7 +485,7 @@ >true 1 - + @@ -500,16 +505,7 @@ >true 1 - - - - - - true - 1 - + @@ -518,7 +514,7 @@ >true 0 - + @@ -536,31 +532,35 @@ >true 1 - + - 0 - + true + 1 + + A thing with a representation - 0 - + true + 1 + - A thing with a representation true 1 - + @@ -574,22 +574,22 @@ - - - 0 - 1 - - - true 1 - + + + + + + 0 + 1 + @@ -603,20 +603,11 @@ - true + 0 1 - - - - - - true - 1 - + @@ -625,25 +616,25 @@ >true 1 - + true - 1 - + 1 + - 0 + true 1 - + @@ -652,18 +643,18 @@ >true 1 - + true - 0 + true 1 - + @@ -672,16 +663,16 @@ >true 1 - + true - 0 - + 1 + true - 1 - + 0 + @@ -702,7 +693,7 @@ >true 1 - + @@ -711,16 +702,16 @@ >true 1 - + true - 1 - + 0 + @@ -732,48 +723,48 @@ + A Resource representing a subsequence of a video true - 0 - + 1 + - A Resource representing a subsequence of a video - true 1 - + - - - Picture of a thing + - true - 1 - + 0 + 1 + - thing.png + + + Picture of a thing true - 1 - + 1 + + thing.png true 1 - + true - 0 - + 1 + @@ -807,7 +798,7 @@ >true 1 - + @@ -816,7 +807,7 @@ >true 1 - + @@ -828,25 +819,27 @@ - Diese Resource-Klasse beschreibt ein Bild eines Dinges true 1 - + + Diese Resource-Klasse beschreibt ein Bild eines Dinges true 1 - + + true - true true 1 - + true - 1 - + 0 + + true true - 1 - + 1 + @@ -891,75 +884,73 @@ >true 0 - + true - 1 - + 1 + true - 1 - + 1 + - true + true - 1 - + 1 + - true - 1 - + 1 + - - true - 1 - + 1 + + + true - 0 - + 1 + - true 1 - + + + @@ -971,31 +962,22 @@ - - - true - 1 - - - true 1 - + true - 1 - + 1 + @@ -1004,7 +986,7 @@ >true 1 - + @@ -1013,18 +995,11 @@ >true 1 - - - - - - 1 - - - + + true - true true + A Resource representing a video + + + true + 1 + + + + + + true + 0 + + + true 1 - + @@ -1054,17 +1046,16 @@ >true 1 - + - A Resource representing a video true - 1 - + 1 + @@ -1073,7 +1064,7 @@ >true 1 - + @@ -1090,9 +1081,9 @@ true - 1 - + 1 + @@ -1101,7 +1092,7 @@ >true 1 - + @@ -1110,22 +1101,20 @@ >true 1 - + - - true - 1 - + 1 + - thing.png - A document about a thing + + - 0 - - - + true + 1 + + A document about a thing true 1 - + + thing.png true - 1 - + 0 + @@ -1171,41 +1162,41 @@ - true 1 - + true - 1 - + 0 + + true 1 - + true - 1 - + 1 + true - 1 - + 1 + @@ -1225,16 +1216,16 @@ >true 1 - + true - 0 - + 1 + @@ -1243,16 +1234,16 @@ >true 0 - + true - 1 - + 1 + @@ -1261,7 +1252,16 @@ >true 1 - + + + + + + true + 1 + @@ -1280,144 +1280,156 @@ true + 1 + + + + + 0 - + + + + + true 1 - + - - 5 + >9 0 - + + true + + + true + 1 + + + 2 + >13 0 - + + + + true + 1 + + + + + + true + 1 + + + 12 + >11 0 - + 9 + >2 0 - + 7 + >1 0 - + - true true 1 - - - - - - true - 1 - - - - - - true - 1 - - - - - - true - 1 - + - true + 13 0 - + + + + thing.png 13 + >3 0 - + 10 + >13 0 - + @@ -1428,17 +1440,19 @@ 0 - + + true true - 1 - + 0 + @@ -1447,118 +1461,115 @@ >true 1 - + 2 + >12 0 - + 15 + >1 0 - + - thing.png + Thing 13 + >0 0 - + 13 + >7 0 - + - true - true - 1 - + 6 + 1 + + + - 13 - 0 - - - + true + 1 + - Thing 1 + >0 0 - + + 'The whole world is full of things, which means there's a real need for someone to go searching for them. And that's exactly what a thing-searcher does.' --Pippi Longstocking true - 1 - + 1 + true - 1 - + 1 + 3 + >4 0 - + - 'The whole world is full of things, which means there's a real need for someone to go searching for them. And that's exactly what a thing-searcher does.' --Pippi Longstocking - true - 1 - + 2 + 0 + + + 4 + >13 0 - + - 1 + true 0 - - - + + + + + + true + 1 + 0 + >15 0 - + - 6 + true 1 - - - + @@ -1636,78 +1654,82 @@ true - 1 - + 1 + true - 0 - + 1 + 0 + >5 0 - + + + + true + 1 + + + 11 + >10 0 - + + + true 1 - - - - - - true - 1 - + + true true - 1 - + 1 + - - + Audio Thing + A Resource representing an audio true 1 - + @@ -1716,47 +1738,44 @@ >true 1 - + - true - Audio Thing true - 0 - + 1 + - A Resource representing an audio true - 1 - + 1 + + + true 1 - - - + - true 1 - + + + @@ -1765,7 +1784,7 @@ >true 1 - + @@ -1774,26 +1793,27 @@ >true 1 - + true - 1 - + 1 + - + true true - 1 - + 0 + @@ -1802,7 +1822,7 @@ >true 1 - + @@ -1814,24 +1834,22 @@ - true true - 1 - + 0 + true - 1 - + 1 + @@ -1840,16 +1858,7 @@ >true 1 - - - - - - true - 0 - + @@ -1858,7 +1867,7 @@ >true 1 - + @@ -1867,48 +1876,48 @@ >true 1 - + + + true 1 - + - - + true - 1 - + 0 + + true true 1 - + - - true true - 1 - + 0 + @@ -1917,25 +1926,27 @@ >true 1 - + + true true 1 - + true - 1 - + 1 + @@ -1944,29 +1955,28 @@ >true 1 - + true - 1 - + 1 + + Thing with region true 1 - + - true - true - 0 - - - - Thing with region - - - true 0 - + + + @@ -2010,19 +2010,9 @@ >true 1 - - - - - - true - 1 - + - A thing with a region true 0 - + + A thing with a region - 0 - - - + true + 1 + true - 1 - + 1 + - - true - 1 - + 1 + + + + + + true + 6 1 - + + + true - 1 - + 10 + 0 - + true 13 + >15 0 @@ -2104,12 +2103,12 @@ - + true 0 + >7 0 @@ -2120,44 +2119,40 @@ >true 1 - + - - - true - 2 - 0 + 1 + - + true 6 - 1 + >5 + 0 - + true 12 + >0 0 @@ -2165,25 +2160,43 @@ - + true 11 + >13 0 + + + true + 1 + + + + + + true + 1 + + + - + true 13 + >9 0 @@ -2191,36 +2204,34 @@ - + true 3 + >11 0 - - - - true 13 + >63 0 + + + true - 1 - + 1 + @@ -2239,16 +2250,26 @@ - + true 9 + >4 0 + + + true + 1 + + + + Blue thing true - 0 - + 1 + true - 0 - + 1 + + Diese Resource-Klasse beschreibt ein blaues Ding - + true 15 + >13 0 @@ -2292,12 +2314,12 @@ - + true 2 + >13 0 @@ -2305,12 +2327,12 @@ - + true 10 + >3 0 @@ -2318,63 +2340,42 @@ - + true 5 + >15 0 - 63 - 0 - + - - - - true - 1 - - - - - 63 + >2 0 - - - - - - - - true - 1 - + true + + + true - 1 - + 12 + 0 @@ -2386,7 +2387,6 @@ - Blue thing - Diese Resource-Klasse beschreibt ein blaues Ding - - - - true 7 + >63 0 + + + - true true - 1 - + 1 + true - 1 - + 0 + @@ -2445,62 +2440,67 @@ - - - true - 4 0 + - - - true - 15 - 0 + 1 + true + + + true + 1 + + + true 0 - + + - + true 13 + >2 0 - + + + true - 1 - + 13 + 0 @@ -2509,81 +2509,77 @@ true - 0 - + 1 + - - - true - 2 - 0 + 1 + - + true 1 + >2 0 + + + true - 1 - + 6 + 1 - + true 13 + >1 0 - - - true - 4 - 0 + 1 + - + true 10 + >9 0 @@ -2594,18 +2590,18 @@ >true 1 - + - + true 13 + >10 0 @@ -2616,18 +2612,18 @@ >true 1 - + - + true 5 + >0 0 @@ -2636,66 +2632,81 @@ true - 1 - + 0 + true - 1 - + 1 + + + + true - 1 - + 5 + 0 + + + true - 1 - + 15 + 0 - Diese Resource-Klasse beschreibt ein Ding mit einer Sequenznummer + + + true - 1 - + 12 + 0 + + + true - 1 - + 4 + 0 - + true 13 + >11 0 @@ -2703,61 +2714,57 @@ - + true 15 + >3 0 + Diese Resource-Klasse beschreibt ein Ding mit einer Sequenznummer true - 1 - + 1 + - - - true - 9 - 0 + 1 + - + true 0 + >15 0 - Thing with sequence number - + true 7 + >13 0 @@ -2775,37 +2782,47 @@ true - 0 - + 1 + true - 0 - + 1 + - + true 3 + >13 0 + + + true + 1 + + + + Thing with sequence number - + true @@ -2815,6 +2832,15 @@ >0 + + + true + 0 + + + @@ -2850,17 +2876,15 @@ - true - + true 11 + >13 0 @@ -2868,7 +2892,7 @@ - + true @@ -2878,97 +2902,82 @@ >0 - - - true - 1 - - - - - + true 15 + >7 0 + true + true - + true 12 + >0 0 - - - true - 0 - 0 + 1 + true - 1 - + 0 + true - 1 - + 1 + + + - - - true - 6 1 + - - true 1 - + @@ -2981,19 +2990,10 @@ - - - true - 0 - - - + Diese Resource-Klasse beschreibt ein unbedeutendes Ding thing.png true - Diese Resource-Klasse beschreibt ein unbedeutendes Ding true - 1 - + 1 + true - 1 - + 1 + true - 1 - + 1 + true - 0 - + 1 + + Trivial thing true - 1 - + 1 + - Trivial thing true 0 - + true - 1 - + 0 + true - 1 - + 1 + true - 1 - + 0 + @@ -3093,7 +3093,7 @@ >true 1 - + @@ -3102,7 +3102,7 @@ >true 1 - + @@ -3111,7 +3111,7 @@ >true 1 - + @@ -3120,7 +3120,7 @@ >true 1 - + @@ -3278,6 +3278,18 @@ >true + + + + min=0 + max=-1 + true + true + + Integer + diff --git a/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.ttl b/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.ttl index c2f4feae42..c20279a552 100644 --- a/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.ttl +++ b/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.ttl @@ -6,40 +6,45 @@ @prefix salsah-gui: . @prefix xsd: . +anything:isPartOfOtherThingValue + rdf:type owl:ObjectProperty ; + rdfs:label "is part of" ; + rdfs:subPropertyOf knora-api:isPartOfValue ; + knora-api:isEditable true ; + knora-api:isLinkValueProperty true ; + knora-api:isResourceProperty true ; + knora-api:objectType knora-api:LinkValue ; + knora-api:subjectType anything:Thing ; + salsah-gui:guiElement salsah-gui:Searchbox . + anything:ThingDocument rdf:type owl:Class ; rdfs:comment "A document about a thing" ; rdfs:label "Document" ; rdfs:subClassOf knora-api:DocumentRepresentation ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:lastModificationDate ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty anything:hasDocumentTitle + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasDocumentFileValue + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -49,77 +54,72 @@ anything:ThingDocument rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:deleteComment + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deletedBy ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty anything:hasDocumentTitle + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:hasDocumentFileValue ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; knora-api:resourceIcon "thing.png" . -anything:isPartOfOtherThingValue - rdf:type owl:ObjectProperty ; - rdfs:label "is part of" ; - rdfs:subPropertyOf knora-api:isPartOfValue ; - knora-api:isEditable true ; - knora-api:isLinkValueProperty true ; - knora-api:isResourceProperty true ; - knora-api:objectType knora-api:LinkValue ; - knora-api:subjectType anything:Thing ; - salsah-gui:guiElement salsah-gui:Searchbox . - anything:hasOtherThingValue rdf:type owl:ObjectProperty ; rdfs:label "Another thing" ; @@ -139,77 +139,82 @@ anything:VideoSequenceThing rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 0 ; - owl:cardinality 1 ; - owl:onProperty knora-api:isSequenceOf + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:creationDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 0 ; + owl:cardinality 1 ; + owl:onProperty knora-api:isSequenceOfValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 0 ; owl:cardinality 1 ; - owl:onProperty knora-api:hasSequenceBounds + owl:onProperty knora-api:isSequenceOf ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteDate ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 0 ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasSequenceBounds + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -218,23 +223,18 @@ anything:VideoSequenceThing ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 0 ; - owl:cardinality 1 ; - owl:onProperty knora-api:isSequenceOfValue + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . @@ -246,30 +246,32 @@ anything:ThingWithSeqnum rdfs:subClassOf anything:Thing ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + salsah-gui:guiOrder 1 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasOtherThingValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + salsah-gui:guiOrder 0 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasOtherListItem ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 7 ; + salsah-gui:guiOrder 15 ; owl:minCardinality 0 ; - owl:onProperty anything:hasUri + owl:onProperty anything:isPartOfOtherThing ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 2 ; + salsah-gui:guiOrder 7 ; owl:minCardinality 0 ; - owl:onProperty anything:hasText + owl:onProperty anything:hasUri ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -279,192 +281,190 @@ anything:ThingWithSeqnum ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 0 ; + salsah-gui:guiOrder 3 ; owl:minCardinality 0 ; - owl:onProperty anything:hasOtherListItem + owl:onProperty anything:hasDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 13 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasThingDocument + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 10 ; + salsah-gui:guiOrder 15 ; owl:minCardinality 0 ; - owl:onProperty anything:hasColor + owl:onProperty anything:isPartOfOtherThingValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 3 ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasDate + owl:onProperty anything:hasThingPictureValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 5 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasDecimal + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 11 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasGeometry + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 100 ; - owl:minCardinality 0 ; - owl:onProperty knora-api:seqnum + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 0 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasListItem + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 1 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasOtherThingValue + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 13 ; + salsah-gui:guiOrder 4 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingDocumentValue + owl:onProperty anything:hasInteger ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 13 ; + salsah-gui:guiOrder 9 ; owl:minCardinality 0 ; - owl:onProperty anything:hasTimeStamp + owl:onProperty anything:hasInterval ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 15 ; + salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; - owl:onProperty anything:isPartOfOtherThingValue + owl:onProperty anything:hasRichtext ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; + salsah-gui:guiOrder 10 ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty anything:hasColor ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 13 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasThingPictureValue + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 9 ; + salsah-gui:guiOrder 5 ; owl:minCardinality 0 ; - owl:onProperty anything:hasInterval + owl:onProperty anything:hasDecimal ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 4 ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasInteger + owl:onProperty anything:hasTimeStamp ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; + salsah-gui:guiOrder 6 ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty anything:hasBoolean ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; + salsah-gui:guiOrder 0 ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:onProperty anything:hasListItem ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 6 ; - owl:maxCardinality 1 ; - owl:onProperty anything:hasBoolean + salsah-gui:guiOrder 13 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasThingDocument ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:onProperty anything:hasThingDocumentValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + salsah-gui:guiOrder 2 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasText ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 1 ; owl:minCardinality 0 ; - owl:onProperty anything:hasOtherThing + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; - owl:onProperty anything:hasRichtext + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 12 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasGeoname + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 15 ; owl:minCardinality 0 ; - owl:onProperty anything:isPartOfOtherThing + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + salsah-gui:guiOrder 11 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasGeometry ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 100 ; + owl:minCardinality 0 ; + owl:onProperty knora-api:seqnum ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + salsah-gui:guiOrder 1 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasOtherThing ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + salsah-gui:guiOrder 12 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasGeoname ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . @@ -477,27 +477,21 @@ anything:StandoffEventTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasStartDay - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasEndDay + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasStartEra + owl:onProperty knora-api:dateValueHasStartYear ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty anything:standoffEventTagHasDescription ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -507,46 +501,42 @@ anything:StandoffEventTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasEndMonth + owl:onProperty knora-api:dateValueHasStartMonth ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty anything:standoffEventTagHasDescription + owl:onProperty knora-api:dateValueHasEndYear ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasStartMonth + owl:onProperty knora-api:dateValueHasEndDay ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasCalendar + owl:maxCardinality 1 ; + owl:onProperty knora-api:dateValueHasEndMonth ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:dateValueHasStartEra ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -556,22 +546,32 @@ anything:StandoffEventTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasStartYear + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndYear + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:dateValueHasCalendar ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:dateValueHasStartDay + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; knora-api:isStandoffClass true . @@ -610,85 +610,94 @@ anything:BlueThing rdf:type owl:Class ; rdfs:comment "Diese Resource-Klasse beschreibt ein blaues Ding" ; rdfs:label "Blue thing" ; rdfs:subClassOf anything:Thing ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 63 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasBlueThing + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 13 ; + salsah-gui:guiOrder 5 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingDocumentValue + owl:onProperty anything:hasDecimal ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 6 ; - owl:maxCardinality 1 ; - owl:onProperty anything:hasBoolean + salsah-gui:guiOrder 13 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasThingPicture ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; + salsah-gui:guiOrder 12 ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:onProperty anything:hasGeoname ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 7 ; + salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; - owl:onProperty anything:hasUri + owl:onProperty anything:hasText ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + salsah-gui:guiOrder 13 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasThingDocumentValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + salsah-gui:guiOrder 4 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasInteger ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 2 ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + salsah-gui:guiOrder 0 ; owl:minCardinality 0 ; - owl:onProperty anything:hasRichtext + owl:onProperty anything:hasOtherListItem + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 63 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasBlueThingValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; + salsah-gui:guiOrder 6 ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty anything:hasBoolean ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 63 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasBlueThing ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 3 ; + salsah-gui:guiOrder 10 ; owl:minCardinality 0 ; - owl:onProperty anything:hasDate + owl:onProperty anything:hasColor ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -698,25 +707,25 @@ anything:BlueThing rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 10 ; + salsah-gui:guiOrder 7 ; owl:minCardinality 0 ; - owl:onProperty anything:hasColor + owl:onProperty anything:hasUri ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 13 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasThingDocument + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + salsah-gui:guiOrder 2 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasRichtext ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 63 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasBlueThingValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -726,36 +735,36 @@ anything:BlueThing rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; + salsah-gui:guiOrder 11 ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:onProperty anything:hasGeometry ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 13 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasThingPicture + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 13 ; + salsah-gui:guiOrder 0 ; owl:minCardinality 0 ; - owl:onProperty anything:hasTimeStamp + owl:onProperty anything:hasListItem ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 2 ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasText + owl:onProperty anything:hasTimeStamp ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -765,65 +774,56 @@ anything:BlueThing rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 0 ; + salsah-gui:guiOrder 15 ; owl:minCardinality 0 ; - owl:onProperty anything:hasOtherListItem + owl:onProperty anything:isPartOfOtherThingValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 11 ; + salsah-gui:guiOrder 3 ; owl:minCardinality 0 ; - owl:onProperty anything:hasGeometry + owl:onProperty anything:hasDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 0 ; owl:minCardinality 0 ; - owl:onProperty anything:hasListItem + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 4 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasInteger + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + salsah-gui:guiOrder 13 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasThingDocument ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 12 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasGeoname + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 15 ; - owl:minCardinality 0 ; - owl:onProperty anything:isPartOfOtherThingValue + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 5 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasDecimal + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . @@ -895,88 +895,88 @@ anything:TrivialThing rdfs:subClassOf knora-api:Resource ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; @@ -1012,30 +1012,35 @@ anything:VideoThing rdf:type owl:Class ; rdfs:comment "A Resource representing a video" ; rdfs:label "Video Thing" ; rdfs:subClassOf knora-api:MovingImageRepresentation ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:hasMovingImageFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1044,28 +1049,27 @@ anything:VideoThing rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty anything:hasTitle ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasMovingImageFileValue + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1075,36 +1079,32 @@ anything:VideoThing rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty anything:hasTitle + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:deletedBy ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . @@ -1135,53 +1135,68 @@ anything:ThingPicture rdfs:subClassOf knora-api:StillImageRepresentation ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:hasStillImageFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteDate ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLinkValue ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; @@ -1190,12 +1205,12 @@ anything:ThingPicture rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1205,27 +1220,12 @@ anything:ThingPicture rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasStillImageFileValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:userHasPermission ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; @@ -1250,6 +1250,16 @@ anything:hasBlueThingValue knora-api:objectType knora-api:LinkValue ; knora-api:subjectType anything:Thing . +anything:hasIntegerUsedByOtherOntologies + rdf:type owl:ObjectProperty ; + rdfs:label "Integer" ; + rdfs:subPropertyOf knora-api:hasValue ; + knora-api:isEditable true ; + knora-api:isResourceProperty true ; + knora-api:objectType knora-api:IntValue ; + salsah-gui:guiAttribute "min=0" , "max=-1" ; + salsah-gui:guiElement salsah-gui:Spinbox . + anything:hasDocumentTitle rdf:type owl:ObjectProperty ; rdfs:label "document title" ; @@ -1265,40 +1275,40 @@ anything:Thing rdf:type owl:Class ; rdfs:comment "'The whole world is full of things, which means there's a real need for someone to go searching for them. And that's exactly what a thing-searcher does.' --Pippi Longstocking" ; rdfs:label "Thing" ; rdfs:subClassOf knora-api:Resource ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 3 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasDate + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 4 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasInteger + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 5 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasDecimal + salsah-gui:guiOrder 6 ; + owl:maxCardinality 1 ; + owl:onProperty anything:hasBoolean ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 1 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasOtherThingValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 15 ; - owl:minCardinality 0 ; - owl:onProperty anything:isPartOfOtherThingValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 13 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasThingPicture + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 13 ; @@ -1307,78 +1317,73 @@ anything:Thing rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 0 ; + salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; - owl:onProperty anything:hasOtherListItem + owl:onProperty anything:hasText ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 11 ; + salsah-gui:guiOrder 15 ; owl:minCardinality 0 ; - owl:onProperty anything:hasGeometry - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty anything:isPartOfOtherThingValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:creationDate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 1 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasOtherThing ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingDocumentValue + owl:onProperty anything:hasThingPictureValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasText + owl:onProperty anything:hasThingDocumentValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 3 ; + salsah-gui:guiOrder 4 ; owl:minCardinality 0 ; - owl:onProperty anything:hasDate + owl:onProperty anything:hasInteger ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 0 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasListItem - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 13 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasTimeStamp + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 10 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasColor ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 9 ; @@ -1388,27 +1393,37 @@ anything:Thing rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 6 ; - owl:maxCardinality 1 ; - owl:onProperty anything:hasBoolean + salsah-gui:guiOrder 2 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasRichtext ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 1 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasOtherThingValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; + salsah-gui:guiOrder 11 ; owl:minCardinality 0 ; - owl:onProperty anything:hasRichtext + owl:onProperty anything:hasGeometry + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 0 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasOtherListItem ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 7 ; @@ -1418,48 +1433,43 @@ anything:Thing rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingPictureValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty anything:hasThingPicture ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 15 ; owl:minCardinality 0 ; owl:onProperty anything:isPartOfOtherThing ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 10 ; + salsah-gui:guiOrder 5 ; owl:minCardinality 0 ; - owl:onProperty anything:hasColor + owl:onProperty anything:hasDecimal + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 1 ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasOtherThing + owl:onProperty anything:hasTimeStamp + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 12 ; owl:minCardinality 0 ; owl:onProperty anything:hasGeoname ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 0 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasListItem + ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; knora-api:resourceIcon "thing.png" . @@ -1479,23 +1489,23 @@ anything:AudioThing rdf:type owl:Class ; rdfs:subClassOf knora-api:AudioRepresentation ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1509,23 +1519,28 @@ anything:AudioThing rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:hasAudioFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasAudioFileValue + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; @@ -1533,28 +1548,18 @@ anything:AudioThing rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1569,7 +1574,12 @@ anything:AudioThing rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty rdfs:label + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . @@ -1681,95 +1691,95 @@ anything:ThingWithRegion rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:attachedToUser + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty anything:thingHasRegion ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty anything:thingHasRegionValue + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty anything:thingHasRegion + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:onProperty knora-api:hasStandoffLinkToValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty anything:thingHasRegionValue ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . @@ -1781,18 +1791,23 @@ anything:AudioSequenceThing rdfs:subClassOf knora-api:Resource ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:arkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1801,8 +1816,8 @@ anything:AudioSequenceThing ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 0 ; @@ -1812,37 +1827,42 @@ anything:AudioSequenceThing rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:deletedBy + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 0 ; owl:cardinality 1 ; - owl:onProperty knora-api:hasSequenceBounds + owl:onProperty knora-api:isSequenceOfValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 0 ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasSequenceBounds ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1851,33 +1871,23 @@ anything:AudioSequenceThing ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 0 ; - owl:cardinality 1 ; - owl:onProperty knora-api:isSequenceOfValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . @@ -1892,40 +1902,44 @@ anything:ThingWithRepresentation owl:maxCardinality 1 ; owl:onProperty knora-api:deleteDate ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasRepresentation + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1934,51 +1948,47 @@ anything:ThingWithRepresentation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasRepresentation + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasRepresentationValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasRepresentationValue ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . diff --git a/test_data/ontologyR2RV2/anythingThingWithAllLanguages.ttl b/test_data/ontologyR2RV2/anythingThingWithAllLanguages.ttl index 9590271821..e93fab21a1 100644 --- a/test_data/ontologyR2RV2/anythingThingWithAllLanguages.ttl +++ b/test_data/ontologyR2RV2/anythingThingWithAllLanguages.ttl @@ -16,75 +16,80 @@ anything:Thing rdf:type owl:Class ; rdfs:comment "'The whole world is full of things, which means there's a real need for someone to go searching for them. And that's exactly what a thing-searcher does.' --Pippi Longstocking"@de ; rdfs:label "Chose"@fr , "Ding"@de , "Cosa"@it , "Thing"@en ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 0 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasListItem + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 10 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasColor + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 3 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 4 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasInteger + salsah-gui:guiOrder 6 ; + owl:maxCardinality 1 ; + owl:onProperty anything:hasBoolean ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 0 ; + salsah-gui:guiOrder 9 ; owl:minCardinality 0 ; - owl:onProperty anything:hasOtherListItem + owl:onProperty anything:hasInterval ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; owl:onProperty anything:hasTimeStamp ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 5 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasDecimal + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 13 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasThingPictureValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 3 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasDate + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 0 ; + salsah-gui:guiOrder 12 ; owl:minCardinality 0 ; - owl:onProperty anything:hasListItem - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty anything:hasGeoname ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 10 ; + salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; - owl:onProperty anything:hasColor + owl:onProperty anything:hasRichtext ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 1 ; @@ -94,22 +99,12 @@ anything:Thing rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 7 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasUri - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 1 ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasOtherThing + owl:onProperty anything:hasThingDocumentValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -119,77 +114,77 @@ anything:Thing rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 15 ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:isPartOfOtherThing + owl:onProperty anything:hasThingPicture ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; + salsah-gui:guiOrder 0 ; owl:minCardinality 0 ; - owl:onProperty anything:hasText + owl:onProperty anything:hasOtherListItem ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 11 ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasGeometry + owl:onProperty anything:hasThingDocument ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 12 ; + salsah-gui:guiOrder 1 ; owl:minCardinality 0 ; - owl:onProperty anything:hasGeoname + owl:onProperty anything:hasOtherThing ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 5 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasDecimal + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 9 ; + salsah-gui:guiOrder 15 ; owl:minCardinality 0 ; - owl:onProperty anything:hasInterval + owl:onProperty anything:isPartOfOtherThingValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 13 ; + salsah-gui:guiOrder 15 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingDocument - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty anything:isPartOfOtherThing ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 13 ; + salsah-gui:guiOrder 7 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingPictureValue + owl:onProperty anything:hasUri ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; + salsah-gui:guiOrder 4 ; owl:minCardinality 0 ; - owl:onProperty anything:hasRichtext + owl:onProperty anything:hasInteger + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 13 ; + salsah-gui:guiOrder 11 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingPicture + owl:onProperty anything:hasGeometry ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 6 ; - owl:maxCardinality 1 ; - owl:onProperty anything:hasBoolean + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -197,19 +192,24 @@ anything:Thing rdf:type owl:Class ; owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 15 ; + salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; - owl:onProperty anything:isPartOfOtherThingValue + owl:onProperty anything:hasText ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 13 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasThingDocumentValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; diff --git a/test_data/ontologyR2RV2/boxOntologyWithValueObjects.ttl b/test_data/ontologyR2RV2/boxOntologyWithValueObjects.ttl index 695ea17da3..676651cf62 100644 --- a/test_data/ontologyR2RV2/boxOntologyWithValueObjects.ttl +++ b/test_data/ontologyR2RV2/boxOntologyWithValueObjects.ttl @@ -13,92 +13,92 @@ example-box:Box rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:attachedToProject + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty rdfs:label ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 0 ; owl:maxCardinality 1 ; owl:onProperty example-box:hasName ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:versionDate ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; diff --git a/test_data/ontologyR2RV2/imagesBild.ttl b/test_data/ontologyR2RV2/imagesBild.ttl index 0f93a6ed8a..1bef414580 100644 --- a/test_data/ontologyR2RV2/imagesBild.ttl +++ b/test_data/ontologyR2RV2/imagesBild.ttl @@ -17,9 +17,9 @@ images:bild rdf:type owl:Class ; rdfs:label "Image" ; rdfs:subClassOf knora-api:StillImageRepresentation ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 11 ; - owl:maxCardinality 1 ; - owl:onProperty images:negativnummer + salsah-gui:guiOrder 4 ; + owl:minCardinality 1 ; + owl:onProperty images:jahreszeit ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -28,103 +28,108 @@ images:bild rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:arkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 12 ; + owl:maxCardinality 1 ; + owl:onProperty images:urheber ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 4 ; - owl:minCardinality 1 ; - owl:onProperty images:jahreszeit + salsah-gui:guiOrder 7 ; + owl:minCardinality 0 ; + owl:onProperty images:hatBildformatValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 6 ; - owl:cardinality 1 ; - owl:onProperty images:jahr_exakt + salsah-gui:guiOrder 7 ; + owl:minCardinality 0 ; + owl:onProperty images:hatBildformat ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 1 ; + salsah-gui:guiOrder 2 ; owl:cardinality 1 ; - owl:onProperty images:signatur + owl:onProperty images:bildnr ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 7 ; - owl:minCardinality 0 ; - owl:onProperty images:hatBildformatValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 13 ; owl:maxCardinality 1 ; - owl:onProperty images:copyrightValue + owl:onProperty images:copyright + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasStillImageFileValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 10 ; - owl:cardinality 1 ; - owl:onProperty images:bearbeiter + salsah-gui:guiOrder 11 ; + owl:maxCardinality 1 ; + owl:onProperty images:negativnummer ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 9 ; + salsah-gui:guiOrder 6 ; owl:cardinality 1 ; - owl:onProperty images:mutationsdatum + owl:onProperty images:jahr_exakt ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:hasIncomingLinkValue ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 1 ; + owl:cardinality 1 ; + owl:onProperty images:signatur ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 7 ; - owl:minCardinality 0 ; - owl:onProperty images:hatBildformat - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 13 ; - owl:maxCardinality 1 ; - owl:onProperty images:copyright + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 5 ; + salsah-gui:guiOrder 10 ; owl:cardinality 1 ; - owl:onProperty images:jahrzehnt + owl:onProperty images:bearbeiter ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 12 ; - owl:maxCardinality 1 ; - owl:onProperty images:urheber - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + salsah-gui:guiOrder 9 ; + owl:cardinality 1 ; + owl:onProperty images:mutationsdatum ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -132,59 +137,54 @@ images:bild rdf:type owl:Class ; owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 8 ; + salsah-gui:guiOrder 3 ; owl:cardinality 1 ; - owl:onProperty images:erfassungsdatum + owl:onProperty images:description ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 13 ; + owl:maxCardinality 1 ; + owl:onProperty images:copyrightValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 12 ; owl:maxCardinality 1 ; owl:onProperty images:urheberValue ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:cardinality 1 ; - owl:onProperty images:bildnr - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 3 ; - owl:cardinality 1 ; - owl:onProperty images:description - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 8 ; + owl:cardinality 1 ; + owl:onProperty images:erfassungsdatum ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasStillImageFileValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 5 ; + owl:cardinality 1 ; + owl:onProperty images:jahrzehnt ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 0 ; diff --git a/test_data/ontologyR2RV2/incunabulaBook.ttl b/test_data/ontologyR2RV2/incunabulaBook.ttl index 9c6b3401f6..59488a8d9f 100644 --- a/test_data/ontologyR2RV2/incunabulaBook.ttl +++ b/test_data/ontologyR2RV2/incunabulaBook.ttl @@ -16,90 +16,100 @@ incunabula:book rdf:type owl:Class ; rdfs:comment "Diese Resource-Klasse beschreibt ein Buch" ; rdfs:label "Book" ; rdfs:subClassOf knora-api:Resource ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 7 ; + salsah-gui:guiOrder 9 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:url + owl:onProperty incunabula:physical_desc ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:lastModificationDate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 1 ; - owl:minCardinality 1 ; - owl:onProperty incunabula:title + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; + salsah-gui:guiOrder 4 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:publoc + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 10 ; owl:minCardinality 0 ; - owl:onProperty incunabula:hasAuthor + owl:onProperty incunabula:note + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 5 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:pubdate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 3 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:publisher + salsah-gui:guiOrder 1 ; + owl:minCardinality 1 ; + owl:onProperty incunabula:title ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 4 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:publoc + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 5 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:pubdate + salsah-gui:guiOrder 3 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:publisher ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 9 ; + salsah-gui:guiOrder 7 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:physical_desc + owl:onProperty incunabula:url ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 6 ; @@ -107,29 +117,24 @@ incunabula:book rdf:type owl:Class ; owl:onProperty incunabula:location ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 5 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:citation + salsah-gui:guiOrder 2 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:description ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 12 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:book_comment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 12 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:book_comment + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -138,28 +143,23 @@ incunabula:book rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:description + salsah-gui:guiOrder 5 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:citation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 10 ; + salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; - owl:onProperty incunabula:note - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty incunabula:hasAuthor ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; diff --git a/test_data/ontologyR2RV2/incunabulaOntologySimple.ttl b/test_data/ontologyR2RV2/incunabulaOntologySimple.ttl index 2c8cdc33e8..489c07ce95 100644 --- a/test_data/ontologyR2RV2/incunabulaOntologySimple.ttl +++ b/test_data/ontologyR2RV2/incunabulaOntologySimple.ttl @@ -24,72 +24,72 @@ incunabula:book rdf:type owl:Class ; rdfs:label "Book" ; rdfs:subClassOf knora-api:Resource ; rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:maxCardinality 1 ; + owl:onProperty incunabula:url + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:publoc ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLink ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:physical_desc + owl:minCardinality 1 ; + owl:onProperty incunabula:title ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty incunabula:citation + owl:onProperty incunabula:note ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty incunabula:pubdate + owl:onProperty incunabula:location ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty incunabula:publisher + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty incunabula:url + owl:onProperty incunabula:physical_desc ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:location + owl:minCardinality 0 ; + owl:onProperty incunabula:book_comment ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:description + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty incunabula:publoc - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty incunabula:note + owl:onProperty incunabula:description ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty incunabula:hasAuthor ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty incunabula:book_comment + owl:onProperty incunabula:publisher ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 1 ; - owl:onProperty incunabula:title + owl:maxCardinality 1 ; + owl:onProperty incunabula:pubdate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty incunabula:citation ] ; knora-api:resourceIcon "book.gif" . @@ -104,22 +104,18 @@ incunabula:Sideband rdf:type owl:Class ; rdfs:comment "Randleistentyp" ; rdfs:label "Randleiste" ; rdfs:subClassOf knora-api:StillImageRepresentation ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasStillImageFile + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLink ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo @@ -128,17 +124,21 @@ incunabula:Sideband rdf:type owl:Class ; owl:maxCardinality 1 ; owl:onProperty incunabula:description ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty incunabula:sideband_comment + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty incunabula:sbTitle ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:hasStillImageFile + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty incunabula:sbTitle + owl:onProperty knora-api:versionArkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty incunabula:sideband_comment ] . incunabula:pagenum rdf:type owl:DatatypeProperty ; @@ -296,106 +296,106 @@ incunabula:misc rdf:type owl:Class ; rdfs:comment "A fake resource class that only has optional properties" ; rdfs:label "Sonstiges" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:miscHasColor + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty incunabula:miscHasGeometry + owl:onProperty incunabula:miscHasBook + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:hasIncomingLink ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLink + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty incunabula:miscHasBook - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty incunabula:miscHasColor ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty rdfs:label + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:miscHasGeometry ] . incunabula:page rdf:type owl:Class ; rdfs:comment "A page is a part of a book" ; rdfs:label "Page" ; rdfs:subClassOf knora-api:StillImageRepresentation ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty incunabula:citation - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:hasStillImageFile ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:seqnum + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty incunabula:partOf ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty incunabula:transcription + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty incunabula:page_comment + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty incunabula:description + owl:onProperty incunabula:hasRightSideband ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; owl:onProperty incunabula:pagenum ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:description + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty incunabula:origname ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty incunabula:page_comment + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty rdfs:label + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty incunabula:transcription - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:hasRightSideband - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:seqnum + owl:onProperty knora-api:hasIncomingLink ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; owl:onProperty incunabula:hasLeftSideband ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty incunabula:origname - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLink + owl:onProperty incunabula:citation ] ; knora-api:resourceIcon "page.gif" . diff --git a/test_data/ontologyR2RV2/incunabulaOntologyWithValueObjects.ttl b/test_data/ontologyR2RV2/incunabulaOntologyWithValueObjects.ttl index 12b7d5c5fa..07400ed20b 100644 --- a/test_data/ontologyR2RV2/incunabulaOntologyWithValueObjects.ttl +++ b/test_data/ontologyR2RV2/incunabulaOntologyWithValueObjects.ttl @@ -6,16 +6,6 @@ @prefix salsah-gui: . @prefix xsd: . -incunabula:pubdate rdf:type owl:ObjectProperty ; - rdfs:comment "Datum der Herausgabe" ; - rdfs:label "Datum der Herausgabe" ; - rdfs:subPropertyOf , knora-api:hasValue ; - knora-api:isEditable true ; - knora-api:isResourceProperty true ; - knora-api:objectType knora-api:DateValue ; - knora-api:subjectType incunabula:book ; - salsah-gui:guiElement salsah-gui:Date . - incunabula:miscHasBookValue rdf:type owl:ObjectProperty ; rdfs:label "Verbindung mit einem Buch" ; @@ -110,10 +100,15 @@ incunabula:Sideband rdf:type owl:Class ; rdfs:comment "Randleistentyp" ; rdfs:label "Randleiste" ; rdfs:subClassOf knora-api:StillImageRepresentation ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 0 ; + owl:cardinality 1 ; + owl:onProperty incunabula:sbTitle + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasStillImageFileValue + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -122,13 +117,8 @@ incunabula:Sideband rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -137,23 +127,33 @@ incunabula:Sideband rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 1 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:description ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty rdfs:label + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -162,18 +162,18 @@ incunabula:Sideband rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -183,12 +183,17 @@ incunabula:Sideband rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:hasStillImageFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasPermissions + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 2 ; @@ -198,22 +203,7 @@ incunabula:Sideband rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 0 ; - owl:cardinality 1 ; - owl:onProperty incunabula:sbTitle - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 1 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:description - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:arkUrl ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . @@ -357,55 +347,55 @@ incunabula:misc rdf:type owl:Class ; rdfs:comment "A fake resource class that only has optional properties" ; rdfs:label "Sonstiges" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:miscHasBookValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 1 ; + salsah-gui:guiOrder 2 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:miscHasGeometry + owl:onProperty incunabula:miscHasBookValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -415,32 +405,22 @@ incunabula:misc rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:miscHasBook + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:onProperty knora-api:hasIncomingLinkValue ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 0 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:miscHasColor ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -449,18 +429,28 @@ incunabula:misc rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 0 ; + salsah-gui:guiOrder 1 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:miscHasColor + owl:onProperty incunabula:miscHasGeometry + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:miscHasBook ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:versionDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . @@ -469,20 +459,30 @@ incunabula:page rdf:type owl:Class ; rdfs:comment "A page is a part of a book" ; rdfs:label "Page" ; rdfs:subClassOf knora-api:StillImageRepresentation ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 7 ; + owl:cardinality 1 ; + owl:onProperty incunabula:origname + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 11 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:hasRightSideband + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 3 ; owl:maxCardinality 1 ; owl:onProperty incunabula:seqnum ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 7 ; - owl:cardinality 1 ; - owl:onProperty incunabula:origname + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -491,28 +491,18 @@ incunabula:page rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 11 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:hasRightSidebandValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 1 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:pagenum + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToProject ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; + owl:cardinality 1 ; + owl:onProperty incunabula:partOf ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 12 ; @@ -520,29 +510,34 @@ incunabula:page rdf:type owl:Class ; owl:onProperty incunabula:transcription ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:cardinality 1 ; - owl:onProperty incunabula:partOf + salsah-gui:guiOrder 10 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:hasLeftSideband ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 5 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:citation + salsah-gui:guiOrder 1 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:pagenum + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:description ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 2 ; @@ -552,37 +547,42 @@ incunabula:page rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deleteDate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 11 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:hasRightSidebandValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 11 ; + salsah-gui:guiOrder 10 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:hasRightSideband + owl:onProperty incunabula:hasLeftSidebandValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 10 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:hasLeftSideband + salsah-gui:guiOrder 6 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:page_comment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 10 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:hasLeftSidebandValue + salsah-gui:guiOrder 5 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:citation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -592,17 +592,12 @@ incunabula:page rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:description + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -612,17 +607,12 @@ incunabula:page rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasStillImageFileValue + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 6 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:page_comment + owl:cardinality 1 ; + owl:onProperty knora-api:hasStillImageFileValue ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; @@ -668,165 +658,155 @@ incunabula:book rdf:type owl:Class ; rdfs:comment "Diese Resource-Klasse beschreibt ein Buch" ; rdfs:label "Book" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 5 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:citation - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 12 ; + salsah-gui:guiOrder 3 ; owl:minCardinality 0 ; - owl:onProperty incunabula:book_comment - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 4 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:publoc - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty incunabula:publisher ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 5 ; + salsah-gui:guiOrder 6 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:pubdate + owl:onProperty incunabula:location ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 3 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:publisher + salsah-gui:guiOrder 1 ; + owl:minCardinality 1 ; + owl:onProperty incunabula:title ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:creationDate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 6 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:location - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 9 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:physical_desc + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 1 ; - owl:minCardinality 1 ; - owl:onProperty incunabula:title - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; + salsah-gui:guiOrder 12 ; owl:minCardinality 0 ; - owl:onProperty incunabula:hasAuthor + owl:onProperty incunabula:book_comment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 10 ; owl:minCardinality 0 ; owl:onProperty incunabula:note ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 7 ; owl:maxCardinality 1 ; owl:onProperty incunabula:url ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 5 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:citation + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:userHasPermission + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:description + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 9 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:physical_desc ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; + salsah-gui:guiOrder 5 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:description + owl:onProperty incunabula:pubdate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:lastModificationDate ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:hasAuthor + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:versionDate ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 4 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:publoc + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; knora-api:resourceIcon "book.gif" . -incunabula:sbTitle rdf:type owl:ObjectProperty ; - rdfs:label "Title" ; - rdfs:subPropertyOf , knora-api:hasValue ; - knora-api:isEditable true ; - knora-api:isResourceProperty true ; - knora-api:objectType knora-api:TextValue ; - knora-api:subjectType incunabula:Sideband ; - salsah-gui:guiAttribute "maxlength=255" , "size=80" ; - salsah-gui:guiElement salsah-gui:SimpleText . - incunabula:miscHasGeometry rdf:type owl:ObjectProperty ; rdfs:label "Geometrie" ; @@ -837,6 +817,16 @@ incunabula:miscHasGeometry knora-api:subjectType incunabula:misc ; salsah-gui:guiElement salsah-gui:Geometry . +incunabula:sbTitle rdf:type owl:ObjectProperty ; + rdfs:label "Title" ; + rdfs:subPropertyOf , knora-api:hasValue ; + knora-api:isEditable true ; + knora-api:isResourceProperty true ; + knora-api:objectType knora-api:TextValue ; + knora-api:subjectType incunabula:Sideband ; + salsah-gui:guiAttribute "maxlength=255" , "size=80" ; + salsah-gui:guiElement salsah-gui:SimpleText . + rdf:type owl:Ontology ; rdfs:label "The incunabula ontology" ; @@ -855,6 +845,17 @@ incunabula:page_comment salsah-gui:guiAttribute "rows=7" , "wrap=soft" , "width=95%" ; salsah-gui:guiElement salsah-gui:Textarea . +incunabula:transcription + rdf:type owl:ObjectProperty ; + rdfs:comment "Transkription" ; + rdfs:label "Transkription" ; + rdfs:subPropertyOf knora-api:hasValue ; + knora-api:isEditable true ; + knora-api:isResourceProperty true ; + knora-api:objectType knora-api:TextValue ; + knora-api:subjectType incunabula:page ; + salsah-gui:guiElement salsah-gui:Richtext . + incunabula:title rdf:type owl:ObjectProperty ; rdfs:comment "Titel" ; rdfs:label "Title" ; @@ -866,13 +867,12 @@ incunabula:title rdf:type owl:ObjectProperty ; salsah-gui:guiAttribute "size=80" , "maxlength=255" ; salsah-gui:guiElement salsah-gui:SimpleText . -incunabula:transcription - rdf:type owl:ObjectProperty ; - rdfs:comment "Transkription" ; - rdfs:label "Transkription" ; - rdfs:subPropertyOf knora-api:hasValue ; +incunabula:pubdate rdf:type owl:ObjectProperty ; + rdfs:comment "Datum der Herausgabe" ; + rdfs:label "Datum der Herausgabe" ; + rdfs:subPropertyOf , knora-api:hasValue ; knora-api:isEditable true ; knora-api:isResourceProperty true ; - knora-api:objectType knora-api:TextValue ; - knora-api:subjectType incunabula:page ; - salsah-gui:guiElement salsah-gui:Richtext . + knora-api:objectType knora-api:DateValue ; + knora-api:subjectType incunabula:book ; + salsah-gui:guiElement salsah-gui:Date . diff --git a/test_data/ontologyR2RV2/incunabulaPage.ttl b/test_data/ontologyR2RV2/incunabulaPage.ttl index 9e4b8bdcd1..28e30c7204 100644 --- a/test_data/ontologyR2RV2/incunabulaPage.ttl +++ b/test_data/ontologyR2RV2/incunabulaPage.ttl @@ -16,65 +16,25 @@ incunabula:page rdf:type owl:Class ; rdfs:comment "A page is a part of a book" ; rdfs:label "Page" ; rdfs:subClassOf knora-api:StillImageRepresentation ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 5 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:citation - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 1 ; owl:maxCardinality 1 ; owl:onProperty incunabula:pagenum ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 10 ; owl:maxCardinality 1 ; owl:onProperty incunabula:hasLeftSideband ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 10 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:hasLeftSidebandValue ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; + owl:cardinality 1 ; + owl:onProperty incunabula:partOfValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 7 ; @@ -82,34 +42,39 @@ incunabula:page rdf:type owl:Class ; owl:onProperty incunabula:origname ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 3 ; + salsah-gui:guiOrder 11 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:seqnum + owl:onProperty incunabula:hasRightSideband ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasStillImageFileValue + owl:onProperty knora-api:attachedToProject + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:description ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasStillImageFileValue ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 12 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:transcription + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 10 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:hasLeftSidebandValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 2 ; @@ -127,24 +92,49 @@ incunabula:page rdf:type owl:Class ; owl:onProperty incunabula:page_comment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 11 ; + salsah-gui:guiOrder 3 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:hasRightSidebandValue + owl:onProperty incunabula:seqnum ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:description + salsah-gui:guiOrder 12 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:transcription ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 11 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:hasRightSideband + owl:onProperty incunabula:hasRightSidebandValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -152,24 +142,34 @@ incunabula:page rdf:type owl:Class ; owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:cardinality 1 ; - owl:onProperty incunabula:partOfValue + salsah-gui:guiOrder 5 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:citation + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:creationDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:onProperty knora-api:hasStandoffLinkTo ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; diff --git a/test_data/ontologyR2RV2/incunabulaPageAndBookWithValueObjects.ttl b/test_data/ontologyR2RV2/incunabulaPageAndBookWithValueObjects.ttl index 9a64b3017a..90b7b5abd9 100644 --- a/test_data/ontologyR2RV2/incunabulaPageAndBookWithValueObjects.ttl +++ b/test_data/ontologyR2RV2/incunabulaPageAndBookWithValueObjects.ttl @@ -10,95 +10,115 @@ incunabula:page rdf:type owl:Class ; rdfs:comment "A page is a part of a book" ; rdfs:label "Page" ; rdfs:subClassOf knora-api:StillImageRepresentation ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 7 ; + owl:cardinality 1 ; + owl:onProperty incunabula:origname + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 1 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:pagenum + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; + salsah-gui:guiOrder 11 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:description + owl:onProperty incunabula:hasRightSidebandValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 10 ; owl:maxCardinality 1 ; owl:onProperty incunabula:hasLeftSideband ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 6 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:page_comment + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 11 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:hasRightSideband + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 3 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:seqnum + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:description + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 2 ; owl:cardinality 1 ; owl:onProperty incunabula:partOfValue ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 11 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:hasRightSidebandValue - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 2 ; owl:cardinality 1 ; owl:onProperty incunabula:partOf ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 5 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:citation - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLinkValue ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 1 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:pagenum - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 3 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:seqnum + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 7 ; - owl:cardinality 1 ; - owl:onProperty incunabula:origname + salsah-gui:guiOrder 12 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:transcription + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 10 ; @@ -108,62 +128,42 @@ incunabula:page rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasStillImageFileValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 11 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:hasRightSideband + salsah-gui:guiOrder 5 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:citation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 6 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:page_comment + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:cardinality 1 ; + owl:onProperty knora-api:hasStillImageFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteDate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 12 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:transcription - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:arkUrl ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; @@ -175,28 +175,33 @@ incunabula:book rdf:type owl:Class ; rdfs:subClassOf knora-api:Resource ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 7 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:url ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 12 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:book_comment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty rdfs:label + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 5 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:pubdate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -204,19 +209,19 @@ incunabula:book rdf:type owl:Class ; owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 5 ; + salsah-gui:guiOrder 10 ; owl:minCardinality 0 ; - owl:onProperty incunabula:citation + owl:onProperty incunabula:note ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 12 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:book_comment + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 1 ; - owl:minCardinality 1 ; - owl:onProperty incunabula:title + salsah-gui:guiOrder 9 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:physical_desc ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -224,64 +229,39 @@ incunabula:book rdf:type owl:Class ; owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 3 ; + salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; - owl:onProperty incunabula:publisher + owl:onProperty incunabula:hasAuthor ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 4 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:publoc + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 5 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:pubdate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:description - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 6 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:location - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 10 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:note + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 7 ; + salsah-gui:guiOrder 4 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:url + owl:onProperty incunabula:publoc ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; + salsah-gui:guiOrder 3 ; owl:minCardinality 0 ; - owl:onProperty incunabula:hasAuthor + owl:onProperty incunabula:publisher ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -290,33 +270,53 @@ incunabula:book rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 5 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:citation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:versionDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 6 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:location + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 1 ; + owl:minCardinality 1 ; + owl:onProperty incunabula:title ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 9 ; + salsah-gui:guiOrder 2 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:physical_desc + owl:onProperty incunabula:description ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; diff --git a/test_data/ontologyR2RV2/knoraApiDateValue.ttl b/test_data/ontologyR2RV2/knoraApiDateValue.ttl index 73bb6526d1..0e4a1cab4b 100644 --- a/test_data/ontologyR2RV2/knoraApiDateValue.ttl +++ b/test_data/ontologyR2RV2/knoraApiDateValue.ttl @@ -16,48 +16,38 @@ knora-api:DateValue rdf:type owl:Class ; rdfs:subClassOf knora-api:DateBase , knora-api:Value ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasEndDay + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:dateValueHasEndMonth ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:dateValueHasStartDay ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndYear + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -72,27 +62,27 @@ knora-api:DateValue rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasCalendar + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasStartMonth + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:dateValueHasStartMonth ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -102,7 +92,12 @@ knora-api:DateValue rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:deletedBy + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:dateValueHasEndYear ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -112,16 +107,21 @@ knora-api:DateValue rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:arkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:dateValueHasCalendar ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasEndMonth + owl:onProperty knora-api:dateValueHasEndDay ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:userHasPermission ] ; knora-api:isValueClass true . diff --git a/test_data/ontologyR2RV2/knoraApiOntologySimple.ttl b/test_data/ontologyR2RV2/knoraApiOntologySimple.ttl index 6e95efbe2b..fcf0a47440 100644 --- a/test_data/ontologyR2RV2/knoraApiOntologySimple.ttl +++ b/test_data/ontologyR2RV2/knoraApiOntologySimple.ttl @@ -4,6 +4,14 @@ @prefix rdfs: . @prefix xsd: . +knora-api:hasMovingImageFile + rdf:type owl:DatatypeProperty ; + rdfs:comment "Connects a Representation to a movie file" ; + rdfs:label "has movie file" ; + rdfs:subPropertyOf knora-api:hasFile ; + knora-api:objectType knora-api:File ; + knora-api:subjectType knora-api:MovingImageRepresentation . + knora-api:TextRepresentation rdf:type owl:Class ; rdfs:comment "A resource containing a text file" ; @@ -13,14 +21,6 @@ knora-api:TextRepresentation owl:cardinality 1 ; owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:hasTextFile @@ -32,6 +32,14 @@ knora-api:TextRepresentation rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLink + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] . knora-api:hasStandoffLinkTo @@ -61,23 +69,23 @@ knora-api:StillImageRepresentation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLink ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:arkUrl ] . knora-api:ListNode rdf:type rdfs:Datatype ; @@ -95,29 +103,29 @@ knora-api:DDDRepresentation rdfs:comment "Represents a file containg 3D data" ; rdfs:label "Representation (3D)" ; rdfs:subClassOf knora-api:Representation ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLink + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:hasDDDFile ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLink - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl ] . knora-api:AudioRepresentation @@ -125,10 +133,6 @@ knora-api:AudioRepresentation rdfs:comment "Represents a file containing audio data" ; rdfs:label "Representation (Audio)" ; rdfs:subClassOf knora-api:Representation ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl @@ -143,11 +147,15 @@ knora-api:AudioRepresentation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasAudioFile + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:hasAudioFile + owl:onProperty knora-api:arkUrl ] . knora-api:seqnum rdf:type owl:DatatypeProperty ; @@ -156,10 +164,6 @@ knora-api:seqnum rdf:type owl:DatatypeProperty ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:objectType xsd:integer . -knora-api:objectType rdf:type rdf:Property ; - rdfs:comment "Specifies the required type of the objects of a property" ; - rdfs:label "Object type" . - knora-api:hasGeometry rdf:type owl:DatatypeProperty ; rdfs:comment "Represents a geometrical shape." ; @@ -172,34 +176,38 @@ knora-api:hasGeometry rdf:type owl:Ontology ; rdfs:label "The knora-api ontology in the simple schema" . +knora-api:objectType rdf:type rdf:Property ; + rdfs:comment "Specifies the required type of the objects of a property" ; + rdfs:label "Object type" . + knora-api:Representation rdf:type owl:Class ; rdfs:comment "A resource that can store a file" ; rdfs:label "Representation" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLink + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:hasIncomingLink ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasFile ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:hasFile + owl:onProperty rdfs:label ] . knora-api:Geom rdf:type rdfs:Datatype ; @@ -215,29 +223,25 @@ knora-api:Region rdf:type owl:Class ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty rdfs:label - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLink + owl:minCardinality 1 ; + owl:onProperty knora-api:hasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:isRegionOf - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 1 ; - owl:onProperty knora-api:hasComment + owl:onProperty knora-api:hasColor ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:hasColor + owl:onProperty knora-api:arkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLink ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 1 ; @@ -247,6 +251,10 @@ knora-api:Region rdf:type owl:Class ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:isRegionOf + ] ; knora-api:resourceIcon "region.gif" . knora-api:Geoname rdf:type rdfs:Datatype ; @@ -375,7 +383,7 @@ knora-api:LinkObj rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasComment + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; @@ -383,15 +391,15 @@ knora-api:LinkObj rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:hasIncomingLink ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 1 ; - owl:onProperty knora-api:hasLinkTo + owl:minCardinality 0 ; + owl:onProperty knora-api:hasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLink + owl:minCardinality 1 ; + owl:onProperty knora-api:hasLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; @@ -408,25 +416,25 @@ knora-api:XSLTransformation owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLink - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:hasTextFile + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasTextFile + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLink ] . knora-api:Date rdf:type rdfs:Datatype ; @@ -546,29 +554,29 @@ knora-api:Annotation rdf:type owl:Class ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLink ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty rdfs:label + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 1 ; owl:onProperty knora-api:isAnnotationOf ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty rdfs:label - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 1 ; owl:onProperty knora-api:hasComment + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] . knora-api:versionArkUrl @@ -604,7 +612,7 @@ knora-api:MovingImageRepresentation rdfs:subClassOf knora-api:Representation ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; @@ -614,17 +622,17 @@ knora-api:MovingImageRepresentation owl:cardinality 1 ; owl:onProperty knora-api:hasMovingImageFile ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty rdfs:label - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLink ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty rdfs:label + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] . knora-api:arkUrl rdf:type owl:DatatypeProperty ; @@ -689,11 +697,3 @@ knora-api:resourceIcon rdf:type owl:DatatypeProperty ; knora-api:objectType xsd:string ; knora-api:subjectType owl:Class . - -knora-api:hasMovingImageFile - rdf:type owl:DatatypeProperty ; - rdfs:comment "Connects a Representation to a movie file" ; - rdfs:label "has movie file" ; - rdfs:subPropertyOf knora-api:hasFile ; - knora-api:objectType knora-api:File ; - knora-api:subjectType knora-api:MovingImageRepresentation . diff --git a/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.ttl b/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.ttl index 4002275e44..2a2c37d11c 100644 --- a/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.ttl +++ b/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.ttl @@ -17,37 +17,37 @@ knora-api:DDDFileValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:fileValueHasFilename ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:fileValueAsUrl + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -56,23 +56,23 @@ knora-api:DDDFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -81,13 +81,13 @@ knora-api:DDDFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:fileValueHasFilename + owl:onProperty knora-api:fileValueAsUrl ] ; knora-api:isValueClass true . @@ -102,43 +102,43 @@ knora-api:StandoffTag rdfs:comment "Represents a standoff markup tag" ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasEndParent + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasStartParentIndex + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; knora-api:isStandoffClass true . @@ -149,18 +149,18 @@ knora-api:DDDRepresentation rdfs:subClassOf knora-api:Representation ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -169,28 +169,33 @@ knora-api:DDDRepresentation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasPermissions + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; @@ -198,18 +203,13 @@ knora-api:DDDRepresentation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -218,23 +218,23 @@ knora-api:DDDRepresentation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deletedBy ] ; knora-api:isResourceClass true . @@ -245,68 +245,68 @@ knora-api:DeletedValue rdfs:subClassOf knora-api:Value ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:cardinality 1 ; + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; knora-api:isValueClass true . @@ -344,93 +344,93 @@ knora-api:hasArchiveFileValue knora-api:TextValue rdf:type owl:Class ; rdfs:subClassOf knora-api:Value ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:valueHasUUID + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:textValueHasLanguage + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:valueCreationDate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:textValueHasMarkup + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:textValueAsXml + owl:onProperty knora-api:textValueHasMapping ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:textValueHasMapping + owl:onProperty knora-api:textValueHasMarkup ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:textValueHasStandoff + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:textValueHasMaxStandoffStartIndex + owl:onProperty knora-api:textValueAsXml ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:textValueAsHtml ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:textValueAsHtml + owl:onProperty knora-api:textValueHasLanguage ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:textValueHasMaxStandoffStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:userHasPermission ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:textValueHasStandoff ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -475,8 +475,8 @@ knora-api:Annotation rdf:type owl:Class ; rdfs:subClassOf knora-api:Resource ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -485,38 +485,29 @@ knora-api:Annotation rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 1 ; - owl:onProperty knora-api:hasComment - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; @@ -525,25 +516,35 @@ knora-api:Annotation rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 1 ; - owl:onProperty knora-api:isAnnotationOfValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 1 ; - owl:onProperty knora-api:isAnnotationOf + owl:onProperty knora-api:isAnnotationOfValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:creationDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 1 ; + owl:onProperty knora-api:hasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -552,23 +553,22 @@ knora-api:Annotation rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:attachedToProject + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 1 ; + owl:onProperty knora-api:isAnnotationOf ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . @@ -594,73 +594,59 @@ knora-api:hasStandoffLinkToValue knora-api:LinkValue rdf:type owl:Class ; rdfs:comment "A reification node that describes direct links between resources" ; rdfs:subClassOf knora-api:Value , rdf:Statement ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:linkValueHasSource - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:linkValueHasTarget + owl:onProperty knora-api:linkValueHasSourceIri ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -671,9 +657,23 @@ knora-api:LinkValue rdf:type owl:Class ; owl:maxCardinality 1 ; owl:onProperty knora-api:linkValueHasTargetIri ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:linkValueHasSourceIri + owl:onProperty knora-api:linkValueHasSource + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueHasComment + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:linkValueHasTarget ] ; knora-api:isValueClass true . @@ -701,61 +701,57 @@ knora-api:Representation rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasFileValue + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -764,28 +760,32 @@ knora-api:Representation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasPermissions + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; knora-api:isResourceClass true . @@ -796,52 +796,52 @@ knora-api:StandoffDataTypeTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; knora-api:isStandoffClass true . @@ -860,37 +860,42 @@ knora-api:TextFileValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:fileValueAsUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueHasComment + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:fileValueAsUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -900,7 +905,7 @@ knora-api:TextFileValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:fileValueHasFilename + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -909,38 +914,26 @@ knora-api:TextFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:fileValueHasFilename ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:deleteDate ] ; knora-api:isValueClass true . -knora-api:isLinkProperty - rdf:type owl:AnnotationProperty ; - rdfs:comment "Indicates whether a property points to a resource" ; - rdfs:label "is link property" ; - knora-api:objectType xsd:boolean ; - knora-api:subjectType owl:ObjectProperty . - knora-api:fileValueHasFilename rdf:type owl:DatatypeProperty ; rdfs:comment "The name of the file that a file value represents." ; @@ -949,7 +942,14 @@ knora-api:fileValueHasFilename knora-api:objectType xsd:string ; knora-api:subjectType knora-api:FileValue . -knora-api:canBeInstantiated +knora-api:isLinkProperty + rdf:type owl:AnnotationProperty ; + rdfs:comment "Indicates whether a property points to a resource" ; + rdfs:label "is link property" ; + knora-api:objectType xsd:boolean ; + knora-api:subjectType owl:ObjectProperty . + +knora-api:canBeInstantiated rdf:type owl:AnnotationProperty ; rdfs:comment "Indicates whether a resource class can be instantiated via the Knora API." ; rdfs:label "can be instantiated" ; @@ -963,47 +963,46 @@ knora-api:ArchiveRepresentation rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToProject ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:onProperty knora-api:hasStandoffLinkTo + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasArchiveFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1012,42 +1011,43 @@ knora-api:ArchiveRepresentation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:hasPermissions + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasArchiveFileValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; knora-api:isResourceClass true . @@ -1057,63 +1057,63 @@ knora-api:StandoffIntervalTag rdfs:subClassOf knora-api:StandoffDataTypeTag , knora-api:IntervalBase ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:intervalValueHasEnd + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:intervalValueHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:intervalValueHasStart + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:cardinality 1 ; + owl:onProperty knora-api:intervalValueHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; knora-api:isStandoffClass true . @@ -1128,19 +1128,15 @@ knora-api:DecimalBase knora-api:DocumentFileValue rdf:type owl:Class ; rdfs:subClassOf knora-api:FileValue ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:documentFileValueHasDimX - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; owl:onProperty knora-api:documentFileValueHasDimY ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueHasComment + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; @@ -1154,66 +1150,70 @@ knora-api:DocumentFileValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:fileValueAsUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:documentFileValueHasPageCount ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:fileValueHasFilename + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:fileValueAsUrl + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:fileValueHasFilename ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:documentFileValueHasPageCount + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:documentFileValueHasDimX ] ; knora-api:isValueClass true . @@ -1238,17 +1238,17 @@ knora-api:DocumentRepresentation rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1257,72 +1257,72 @@ knora-api:DocumentRepresentation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:userHasPermission ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasDocumentFileValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasDocumentFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; knora-api:isResourceClass true . @@ -1342,53 +1342,53 @@ knora-api:IntValue rdf:type owl:Class ; rdfs:subClassOf knora-api:Value , knora-api:IntBase ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:intValueAsInt + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1397,18 +1397,18 @@ knora-api:IntValue rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:intValueAsInt ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:cardinality 1 ; + owl:onProperty knora-api:valueCreationDate ] ; knora-api:isValueClass true . @@ -1418,23 +1418,23 @@ knora-api:StandoffDecimalTag rdfs:subClassOf knora-api:StandoffDataTypeTag , knora-api:DecimalBase ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:decimalValueAsDecimal + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1444,32 +1444,32 @@ knora-api:StandoffDecimalTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:decimalValueAsDecimal ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; knora-api:isStandoffClass true . @@ -1530,13 +1530,12 @@ knora-api:resourceIcon knora-api:objectType xsd:string ; knora-api:subjectType owl:Class . -knora-api:ArchiveFileValue - rdf:type owl:Class ; - rdfs:subClassOf knora-api:FileValue ; +knora-api:ListValue rdf:type owl:Class ; + rdfs:subClassOf knora-api:Value ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:fileValueHasFilename + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1545,102 +1544,107 @@ knora-api:ArchiveFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueHasComment + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:listValueAsListNode ] ; + knora-api:isValueClass true . + +knora-api:ArchiveFileValue + rdf:type owl:Class ; + rdfs:subClassOf knora-api:FileValue ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:fileValueAsUrl + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:valueHasComment ] ; - knora-api:isValueClass true . - -knora-api:ListValue rdf:type owl:Class ; - rdfs:subClassOf knora-api:Value ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:fileValueHasFilename ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1650,36 +1654,32 @@ knora-api:ListValue rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:listValueAsListNode + owl:onProperty knora-api:fileValueAsUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; knora-api:isValueClass true . @@ -1695,52 +1695,52 @@ knora-api:StandoffIntegerTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:intValueAsInt ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:intValueAsInt + owl:onProperty knora-api:standoffTagHasStart ] ; knora-api:isStandoffClass true . @@ -1785,7 +1785,7 @@ knora-api:StandoffDateTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:dateValueHasStartEra ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1794,88 +1794,88 @@ knora-api:StandoffDateTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:dateValueHasStartYear ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:dateValueHasEndMonth ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:dateValueHasStartMonth ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasCalendar + owl:onProperty knora-api:dateValueHasEndEra ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasStartEra + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasStartYear + owl:maxCardinality 1 ; + owl:onProperty knora-api:dateValueHasEndDay ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:cardinality 1 ; + owl:onProperty knora-api:dateValueHasCalendar ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasStartDay + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndEra + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasEndDay + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasStartMonth + owl:onProperty knora-api:dateValueHasStartDay ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasEndMonth + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; knora-api:isStandoffClass true . @@ -1887,66 +1887,66 @@ knora-api:StillImageRepresentation rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty rdfs:label + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasStillImageFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasStillImageFileValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1955,23 +1955,23 @@ knora-api:StillImageRepresentation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl ] ; knora-api:isResourceClass true . @@ -2003,19 +2003,19 @@ knora-api:StandoffInternalReferenceTag rdf:type owl:Class ; rdfs:comment "Represents an internal reference in a TextValue" ; rdfs:subClassOf knora-api:StandoffDataTypeTag , knora-api:ValueBase ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasInternalReference + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasInternalReference + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2024,13 +2024,13 @@ knora-api:StandoffInternalReferenceTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2040,22 +2040,22 @@ knora-api:StandoffInternalReferenceTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; knora-api:isStandoffClass true . @@ -2066,34 +2066,23 @@ knora-api:isStandoffClass knora-api:objectType xsd:boolean ; knora-api:subjectType owl:Class . -knora-api:hasMovingImageFileValue - rdf:type owl:ObjectProperty ; - rdfs:comment "Connects a Representation to a movie file" ; - rdfs:label "has movie file" ; - rdfs:subPropertyOf knora-api:hasFileValue ; - knora-api:isEditable true ; - knora-api:isResourceProperty true ; - knora-api:objectType knora-api:MovingImageFileValue ; - knora-api:subjectType knora-api:MovingImageRepresentation ; - salsah-gui:guiElement salsah-gui:Fileupload . - knora-api:ColorValue rdf:type owl:Class ; rdfs:comment "Represents a color in HTML format, e.g. \"#33eeff\"" ; rdfs:subClassOf knora-api:Value , knora-api:ColorBase ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2103,55 +2092,66 @@ knora-api:ColorValue rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:colorValueAsColor ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:colorValueAsColor + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; knora-api:isValueClass true . +knora-api:hasMovingImageFileValue + rdf:type owl:ObjectProperty ; + rdfs:comment "Connects a Representation to a movie file" ; + rdfs:label "has movie file" ; + rdfs:subPropertyOf knora-api:hasFileValue ; + knora-api:isEditable true ; + knora-api:isResourceProperty true ; + knora-api:objectType knora-api:MovingImageFileValue ; + knora-api:subjectType knora-api:MovingImageRepresentation ; + salsah-gui:guiElement salsah-gui:Fileupload . + knora-api:valueCreationDate rdf:type owl:DatatypeProperty ; rdfs:subPropertyOf knora-api:valueHas ; @@ -2164,13 +2164,18 @@ knora-api:StillImageFileValue rdfs:subClassOf knora-api:FileValue ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:fileValueAsUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:arkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2180,36 +2185,39 @@ knora-api:StillImageFileValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:stillImageFileValueHasDimY + owl:onProperty knora-api:stillImageFileValueHasDimX + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:stillImageFileValueHasIIIFBaseUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:valueCreationDate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:stillImageFileValueHasDimY ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2219,21 +2227,17 @@ knora-api:StillImageFileValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:fileValueAsUrl + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:stillImageFileValueHasDimX + owl:onProperty knora-api:fileValueHasFilename ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:fileValueHasFilename + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2243,11 +2247,7 @@ knora-api:StillImageFileValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:stillImageFileValueHasIIIFBaseUrl + owl:onProperty knora-api:hasPermissions ] ; knora-api:isValueClass true . @@ -2257,6 +2257,8 @@ knora-api:mayHaveMoreResults rdfs:label "May have more results" ; knora-api:objectType xsd:boolean . +knora-api:ValueBase rdf:type owl:Class . + knora-api:ColorBase rdf:type owl:Class ; rdfs:subClassOf knora-api:ValueBase ; rdfs:subClassOf [ rdf:type owl:Restriction ; @@ -2264,8 +2266,6 @@ knora-api:ColorBase rdf:type owl:Class ; owl:onProperty knora-api:colorValueAsColor ] . -knora-api:ValueBase rdf:type owl:Class . - knora-api:hasAudioFileValue rdf:type owl:ObjectProperty ; rdfs:comment "Connects a Representation to an audio file" ; @@ -2318,7 +2318,12 @@ knora-api:MovingImageFileValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:fileValueAsUrl + owl:onProperty knora-api:versionArkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2328,12 +2333,12 @@ knora-api:MovingImageFileValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2342,8 +2347,8 @@ knora-api:MovingImageFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2352,13 +2357,13 @@ knora-api:MovingImageFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2368,27 +2373,22 @@ knora-api:MovingImageFileValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:fileValueAsUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; knora-api:isValueClass true . @@ -2427,43 +2427,48 @@ knora-api:StandoffBooleanTag rdfs:subClassOf knora-api:BooleanBase , knora-api:StandoffDataTypeTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:booleanValueAsBoolean + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:booleanValueAsBoolean + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2475,11 +2480,6 @@ knora-api:StandoffBooleanTag owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStartIndex ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent - ] ; knora-api:isStandoffClass true . knora-api:AudioRepresentation @@ -2489,63 +2489,67 @@ knora-api:AudioRepresentation rdfs:subClassOf knora-api:Representation ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasAudioFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2554,30 +2558,33 @@ knora-api:AudioRepresentation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasAudioFileValue + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; knora-api:isResourceClass true . +knora-api:valueHasUUID + rdf:type owl:DatatypeProperty ; + rdfs:comment "The UUID of a value" ; + rdfs:subPropertyOf knora-api:valueHas ; + knora-api:objectType xsd:string ; + knora-api:subjectType knora-api:Value . + knora-api:MovingImageRepresentation rdf:type owl:Class ; rdfs:comment "A resource containing moving image data" ; @@ -2585,18 +2592,13 @@ knora-api:MovingImageRepresentation rdfs:subClassOf knora-api:Representation ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; @@ -2604,18 +2606,18 @@ knora-api:MovingImageRepresentation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2624,18 +2626,23 @@ knora-api:MovingImageRepresentation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2644,43 +2651,36 @@ knora-api:MovingImageRepresentation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; knora-api:isResourceClass true . -knora-api:valueHasUUID - rdf:type owl:DatatypeProperty ; - rdfs:comment "The UUID of a value" ; - rdfs:subPropertyOf knora-api:valueHas ; - knora-api:objectType xsd:string ; - knora-api:subjectType knora-api:Value . - knora-api:isSequenceOfValue rdf:type owl:ObjectProperty ; rdfs:subPropertyOf knora-api:hasLinkToValue ; @@ -2708,35 +2708,20 @@ knora-api:DeletedResource owl:cardinality 1 ; owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2745,8 +2730,8 @@ knora-api:DeletedResource ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2756,7 +2741,7 @@ knora-api:DeletedResource rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2765,13 +2750,13 @@ knora-api:DeletedResource ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2781,12 +2766,27 @@ knora-api:DeletedResource rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:creationDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:userHasPermission + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; knora-api:isResourceClass true . @@ -2811,8 +2811,8 @@ knora-api:AudioFileValue rdfs:subClassOf knora-api:FileValue ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2821,48 +2821,48 @@ knora-api:AudioFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:fileValueAsUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:fileValueHasFilename ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:fileValueHasFilename + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2871,18 +2871,18 @@ knora-api:AudioFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:fileValueAsUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; knora-api:isValueClass true . @@ -2966,32 +2966,32 @@ knora-api:StandoffTimeTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:timeValueAsTimeStamp ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -3000,18 +3000,18 @@ knora-api:StandoffTimeTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:timeValueAsTimeStamp + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -3037,7 +3037,7 @@ knora-api:Value rdf:type owl:Class ; rdfs:subClassOf knora-api:ValueBase ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; @@ -3047,22 +3047,6 @@ knora-api:Value rdf:type owl:Class ; owl:maxCardinality 1 ; owl:onProperty knora-api:valueAsString ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteDate @@ -3079,14 +3063,30 @@ knora-api:Value rdf:type owl:Class ; owl:maxCardinality 1 ; owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:valueHasUUID ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission + ] ; knora-api:isValueClass true . knora-api:StandoffUriTag @@ -3095,8 +3095,13 @@ knora-api:StandoffUriTag rdfs:subClassOf knora-api:UriBase , knora-api:StandoffDataTypeTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -3105,13 +3110,13 @@ knora-api:StandoffUriTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -3121,17 +3126,12 @@ knora-api:StandoffUriTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:uriValueAsUri + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -3141,12 +3141,12 @@ knora-api:StandoffUriTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:uriValueAsUri ] ; knora-api:isStandoffClass true . @@ -3225,87 +3225,16 @@ knora-api:standoffTagHasStartParentIndex knora-api:objectType xsd:integer ; knora-api:subjectType knora-api:StandoffTag . -knora-api:BooleanValue - rdf:type owl:Class ; - rdfs:comment "Represents a boolean value" ; - rdfs:subClassOf knora-api:Value , knora-api:BooleanBase ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:booleanValueAsBoolean - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy - ] ; - knora-api:isValueClass true . - knora-api:XSLTransformation rdf:type owl:Class ; rdfs:comment "a TextRepresentation representing an XSL transformation that can be applied to an XML created from standoff. The transformation's result is ecptected to be HTML." ; rdfs:label "a TextRepresentation representing an XSL transformation that can be applied to an XML created from standoff. The transformation's result is ecptected to be HTML." ; rdfs:subClassOf knora-api:TextRepresentation ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; @@ -3314,51 +3243,46 @@ knora-api:XSLTransformation rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:attachedToProject + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasTextFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasTextFileValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -3367,36 +3291,112 @@ knora-api:XSLTransformation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; knora-api:isResourceClass true . +knora-api:BooleanValue + rdf:type owl:Class ; + rdfs:comment "Represents a boolean value" ; + rdfs:subClassOf knora-api:Value , knora-api:BooleanBase ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:valueHasUUID + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:booleanValueAsBoolean + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:valueCreationDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueHasComment + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted + ] ; + knora-api:isValueClass true . + knora-api:BooleanBase rdf:type owl:Class ; rdfs:subClassOf knora-api:ValueBase ; @@ -3419,12 +3419,17 @@ knora-api:StandoffColorTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:colorValueAsColor + owl:onProperty knora-api:standoffTagHasStart + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -3433,23 +3438,23 @@ knora-api:StandoffColorTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:cardinality 1 ; + owl:onProperty knora-api:colorValueAsColor ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -3458,13 +3463,8 @@ knora-api:StandoffColorTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -3555,93 +3555,93 @@ knora-api:GeomValue rdf:type owl:Class ; rdfs:subClassOf knora-api:Value ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueHasComment + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:geometryValueAsGeometry ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:geometryValueAsGeometry + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:valueAsString ] ; knora-api:isValueClass true . knora-api:Resource rdf:type owl:Class ; rdfs:comment "Represents something in the world, or an abstract thing" ; rdfs:label "Resource" ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; owl:onProperty knora-api:isDeleted ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; @@ -3652,25 +3652,25 @@ knora-api:Resource rdf:type owl:Class ; owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:creationDate @@ -3679,18 +3679,18 @@ knora-api:Resource rdf:type owl:Class ; owl:cardinality 1 ; owl:onProperty rdfs:label ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLinkValue ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToUser @@ -3740,63 +3740,68 @@ knora-api:TextRepresentation rdfs:subClassOf knora-api:Representation ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; @@ -3804,18 +3809,13 @@ knora-api:TextRepresentation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -3824,8 +3824,8 @@ knora-api:TextRepresentation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; knora-api:isResourceClass true . @@ -3886,7 +3886,7 @@ knora-api:StandoffLinkTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -3896,32 +3896,32 @@ knora-api:StandoffLinkTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -3935,7 +3935,7 @@ knora-api:StandoffLinkTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasUUID ] ; knora-api:isStandoffClass true . @@ -3947,76 +3947,76 @@ knora-api:FileValue rdf:type owl:Class ; rdfs:subClassOf knora-api:Value ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:cardinality 1 ; + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:fileValueHasFilename - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:fileValueAsUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:userHasPermission + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:fileValueAsUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:hasPermissions + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:fileValueHasFilename ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:deletedBy ] ; knora-api:isValueClass true . @@ -4030,7 +4030,15 @@ knora-api:dateValueHasEndDay rdfs:label "Date value has end day" ; rdfs:subPropertyOf knora-api:valueHas ; knora-api:objectType xsd:integer ; - knora-api:subjectType knora-api:DateBase . + knora-api:subjectType knora-api:DateBase . + +knora-api:textValueHasMaxStandoffStartIndex + rdf:type owl:DatatypeProperty ; + rdfs:comment "The maximum knora-api:standoffTagHasStartIndex in a text value." ; + rdfs:label "text value has max standoff start index" ; + rdfs:subPropertyOf knora-api:valueHas ; + knora-api:objectType xsd:integer ; + knora-api:subjectType knora-api:TextValue . knora-api:textValueAsXml rdf:type owl:DatatypeProperty ; @@ -4045,83 +4053,92 @@ knora-api:UriValue rdf:type owl:Class ; rdfs:subClassOf knora-api:Value , knora-api:UriBase ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:uriValueAsUri + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:uriValueAsUri ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:arkUrl ] ; knora-api:isValueClass true . -knora-api:textValueHasMaxStandoffStartIndex - rdf:type owl:DatatypeProperty ; - rdfs:comment "The maximum knora-api:standoffTagHasStartIndex in a text value." ; - rdfs:label "text value has max standoff start index" ; - rdfs:subPropertyOf knora-api:valueHas ; - knora-api:objectType xsd:integer ; - knora-api:subjectType knora-api:TextValue . +knora-api:isValueClass + rdf:type owl:AnnotationProperty ; + rdfs:comment "Indicates whether class is a subclass of Value." ; + rdfs:label "is value class" ; + knora-api:objectType xsd:boolean ; + knora-api:subjectType owl:Class . + +knora-api:hasComment rdf:type owl:ObjectProperty ; + rdfs:comment "Represents a comment on a resource as a knora-base:TextValue" ; + rdfs:label "Comment" ; + rdfs:subPropertyOf knora-api:hasValue ; + knora-api:isEditable true ; + knora-api:isResourceProperty true ; + knora-api:objectType knora-api:TextValue ; + knora-api:subjectType knora-api:Resource ; + salsah-gui:guiElement salsah-gui:Richtext . knora-api:DecimalValue rdf:type owl:Class ; @@ -4129,18 +4146,18 @@ knora-api:DecimalValue rdfs:subClassOf knora-api:DecimalBase , knora-api:Value ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:cardinality 1 ; + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -4150,72 +4167,55 @@ knora-api:DecimalValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:decimalValueAsDecimal + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:cardinality 1 ; + owl:onProperty knora-api:decimalValueAsDecimal ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; knora-api:isValueClass true . -knora-api:hasComment rdf:type owl:ObjectProperty ; - rdfs:comment "Represents a comment on a resource as a knora-base:TextValue" ; - rdfs:label "Comment" ; - rdfs:subPropertyOf knora-api:hasValue ; - knora-api:isEditable true ; - knora-api:isResourceProperty true ; - knora-api:objectType knora-api:TextValue ; - knora-api:subjectType knora-api:Resource ; - salsah-gui:guiElement salsah-gui:Richtext . - -knora-api:isValueClass - rdf:type owl:AnnotationProperty ; - rdfs:comment "Indicates whether class is a subclass of Value." ; - rdfs:label "is value class" ; - knora-api:objectType xsd:boolean ; - knora-api:subjectType owl:Class . - knora-api:isPartOf rdf:type owl:ObjectProperty ; rdfs:comment "Indicates that this resource is part of another resource" ; rdfs:label "is part of" ; @@ -4225,6 +4225,11 @@ knora-api:isPartOf rdf:type owl:ObjectProperty ; knora-api:objectType knora-api:Resource ; knora-api:subjectType knora-api:Resource . +knora-api:subjectType + rdf:type rdf:Property ; + rdfs:comment "Specifies the required type of the subjects of a property" ; + rdfs:label "Subject type" . + knora-api:booleanValueAsBoolean rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the literal boolean value of a BooleanValue." ; @@ -4233,113 +4238,108 @@ knora-api:booleanValueAsBoolean knora-api:objectType xsd:boolean ; knora-api:subjectType knora-api:BooleanBase . -knora-api:subjectType - rdf:type rdf:Property ; - rdfs:comment "Specifies the required type of the subjects of a property" ; - rdfs:label "Subject type" . - knora-api:DateValue rdf:type owl:Class ; rdfs:comment "Represents a Knora date value" ; rdfs:subClassOf knora-api:DateBase , knora-api:Value ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:dateValueHasStartDay ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndEra + owl:onProperty knora-api:dateValueHasCalendar ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasStartYear + owl:maxCardinality 1 ; + owl:onProperty knora-api:dateValueHasEndMonth ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:dateValueHasStartYear ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndYear + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasStartMonth + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasCalendar + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasEndMonth + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:cardinality 1 ; + owl:onProperty knora-api:dateValueHasEndEra ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasStartEra + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:dateValueHasEndYear ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasStartDay + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:dateValueHasStartEra ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -4349,7 +4349,7 @@ knora-api:DateValue rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:dateValueHasStartMonth ] ; knora-api:isValueClass true . @@ -4372,11 +4372,6 @@ knora-api:IntervalValue rdf:type owl:Class ; rdfs:comment "Represents a time interval, e.g. in an audio recording" ; rdfs:subClassOf knora-api:Value , knora-api:IntervalBase ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; @@ -4390,62 +4385,67 @@ knora-api:IntervalValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:intervalValueHasEnd + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:intervalValueHasEnd + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:deleteDate ] ; knora-api:isValueClass true . @@ -4462,17 +4462,17 @@ knora-api:standoffTagHasLink knora-api:objectType knora-api:Resource ; knora-api:subjectType knora-api:StandoffLinkTag . -knora-api:deleteComment - rdf:type owl:DatatypeProperty ; - rdfs:comment "A comment explaining why a resource or value was marked as deleted" ; - knora-api:objectType xsd:string . - knora-api:creationDate rdf:type owl:DatatypeProperty ; rdfs:comment "Indicates when a resource was created" ; knora-api:objectType xsd:dateTimeStamp ; knora-api:subjectType knora-api:Resource . +knora-api:deleteComment + rdf:type owl:DatatypeProperty ; + rdfs:comment "A comment explaining why a resource or value was marked as deleted" ; + knora-api:objectType xsd:string . + knora-api:standoffTagHasEndParent rdf:type owl:ObjectProperty ; knora-api:objectType knora-api:StandoffTag ; @@ -4518,13 +4518,13 @@ knora-api:TimeValue rdf:type owl:Class ; rdfs:subClassOf knora-api:Value , knora-api:TimeBase ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -4534,17 +4534,17 @@ knora-api:TimeValue rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:timeValueAsTimeStamp ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:timeValueAsTimeStamp + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -4553,38 +4553,38 @@ knora-api:TimeValue rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:arkUrl ] ; knora-api:isValueClass true . @@ -4612,33 +4612,15 @@ knora-api:LinkObj rdf:type owl:Class ; rdfs:comment "Represents a generic link object" ; rdfs:label "Link Object" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 1 ; - owl:onProperty knora-api:hasLinkToValue - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasComment - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -4650,9 +4632,10 @@ knora-api:LinkObj rdf:type owl:Class ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 1 ; - owl:onProperty knora-api:hasLinkTo + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -4661,53 +4644,70 @@ knora-api:LinkObj rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:hasPermissions + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:attachedToUser + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 1 ; + owl:onProperty knora-api:hasLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:versionDate ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 1 ; + owl:onProperty knora-api:hasLinkToValue + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:lastModificationDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; @@ -4735,11 +4735,6 @@ knora-api:intValueAsInt knora-api:GeonameValue rdf:type owl:Class ; rdfs:subClassOf knora-api:Value ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; @@ -4748,61 +4743,66 @@ knora-api:GeonameValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:geonameValueAsGeonameCode + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:valueCreationDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasPermissions + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:geonameValueAsGeonameCode ] ; knora-api:isValueClass true . @@ -4810,15 +4810,15 @@ knora-api:DateBase rdf:type owl:Class ; rdfs:subClassOf knora-api:ValueBase ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndEra + owl:onProperty knora-api:dateValueHasCalendar ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasEndMonth + owl:onProperty knora-api:dateValueHasEndDay ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasCalendar + owl:onProperty knora-api:dateValueHasEndYear ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; @@ -4830,129 +4830,129 @@ knora-api:DateBase rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndYear - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasEndDay + owl:onProperty knora-api:dateValueHasStartYear ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasStartYear + owl:onProperty knora-api:dateValueHasStartEra + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:dateValueHasEndMonth ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasStartEra + owl:onProperty knora-api:dateValueHasEndEra ] . knora-api:Region rdf:type owl:Class ; rdfs:comment "Represents a geometric region of a resource. The geometry is represented currently as JSON string." ; rdfs:label "Region" ; rdfs:subClassOf knora-api:Resource ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:lastModificationDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToUser ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 1 ; - owl:onProperty knora-api:hasGeometry - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasColor + owl:onProperty knora-api:hasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:isRegionOfValue + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:deletedBy + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasColor ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:hasIncomingLinkValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 1 ; + owl:onProperty knora-api:hasGeometry ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 1 ; - owl:onProperty knora-api:hasComment + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:userHasPermission ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:isRegionOf ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:isRegionOfValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:onProperty knora-api:versionArkUrl ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; diff --git a/test_data/ontologyR2RV2/standoffOntologyWithValueObjects.ttl b/test_data/ontologyR2RV2/standoffOntologyWithValueObjects.ttl index 755025a002..9c493ede55 100644 --- a/test_data/ontologyR2RV2/standoffOntologyWithValueObjects.ttl +++ b/test_data/ontologyR2RV2/standoffOntologyWithValueObjects.ttl @@ -13,52 +13,52 @@ standoff:StandoffParagraphTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndIndex ] ; knora-api:isStandoffClass true . @@ -68,53 +68,53 @@ standoff:StandoffTableCellTag rdfs:subClassOf standoff:StandoffStructuralTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; knora-api:isStandoffClass true . @@ -125,42 +125,42 @@ standoff:StandoffBlockquoteTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -169,8 +169,8 @@ standoff:StandoffBlockquoteTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; knora-api:isStandoffClass true . @@ -181,7 +181,12 @@ standoff:StandoffRootTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasStartIndex + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -190,13 +195,13 @@ standoff:StandoffRootTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; @@ -205,32 +210,27 @@ standoff:StandoffRootTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; knora-api:isStandoffClass true . @@ -240,53 +240,53 @@ standoff:StandoffCiteTag rdfs:subClassOf standoff:StandoffStructuralTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; knora-api:isStandoffClass true . @@ -297,7 +297,12 @@ standoff:StandoffHeader4Tag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndIndex + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -306,8 +311,8 @@ standoff:StandoffHeader4Tag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -317,27 +322,22 @@ standoff:StandoffHeader4Tag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndParent ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -359,32 +359,32 @@ standoff:StandoffVisualTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -394,7 +394,7 @@ standoff:StandoffVisualTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -404,7 +404,7 @@ standoff:StandoffVisualTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasEndIndex ] ; knora-api:isStandoffClass true . @@ -415,22 +415,17 @@ standoff:StandoffSubscriptTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -440,22 +435,27 @@ standoff:StandoffSubscriptTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndParentIndex + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -470,22 +470,18 @@ standoff:StandoffHyperlinkTag rdfs:subClassOf knora-api:StandoffUriTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty standoff:standoffHyperlinkTagHasTarget + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:uriValueAsUri ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -495,17 +491,21 @@ standoff:StandoffHyperlinkTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty standoff:standoffHyperlinkTagHasTarget ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -514,8 +514,8 @@ standoff:StandoffHyperlinkTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:uriValueAsUri + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -525,7 +525,7 @@ standoff:StandoffHyperlinkTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; knora-api:isStandoffClass true . @@ -536,7 +536,12 @@ standoff:StandoffTableRowTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasEndIndex + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -546,7 +551,7 @@ standoff:StandoffTableRowTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -556,32 +561,27 @@ standoff:StandoffTableRowTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasStartParent ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; knora-api:isStandoffClass true . @@ -589,35 +589,35 @@ standoff:StandoffHeader3Tag rdf:type owl:Class ; rdfs:comment "Represents a header of level 3 in a TextValue" ; rdfs:subClassOf standoff:StandoffStructuralTag ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasStartParentIndex + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -627,17 +627,17 @@ standoff:StandoffHeader3Tag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; knora-api:isStandoffClass true . @@ -648,27 +648,22 @@ standoff:StandoffBoldTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -678,23 +673,28 @@ standoff:StandoffBoldTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndIndex + ] ; knora-api:isStandoffClass true . standoff:StandoffLineTag @@ -703,18 +703,13 @@ standoff:StandoffLineTag rdfs:subClassOf standoff:StandoffVisualTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -734,22 +729,27 @@ standoff:StandoffLineTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasUUID + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; knora-api:isStandoffClass true . @@ -759,8 +759,8 @@ standoff:StandoffBrTag rdfs:subClassOf standoff:StandoffStructuralTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -769,33 +769,33 @@ standoff:StandoffBrTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -805,7 +805,7 @@ standoff:StandoffBrTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; knora-api:isStandoffClass true . @@ -815,34 +815,34 @@ standoff:StandoffPreTag rdfs:subClassOf standoff:StandoffVisualTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasUUID ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; @@ -851,17 +851,17 @@ standoff:StandoffPreTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; knora-api:isStandoffClass true . @@ -869,55 +869,55 @@ standoff:StandoffTableTag rdf:type owl:Class ; rdfs:comment "Represents a table in a TextValue" ; rdfs:subClassOf standoff:StandoffStructuralTag ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndParent ] ; knora-api:isStandoffClass true . @@ -925,6 +925,16 @@ standoff:StandoffHeader2Tag rdf:type owl:Class ; rdfs:comment "Represents a header of level 2 in a TextValue" ; rdfs:subClassOf standoff:StandoffStructuralTag ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; @@ -937,13 +947,13 @@ standoff:StandoffHeader2Tag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -953,27 +963,17 @@ standoff:StandoffHeader2Tag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; knora-api:isStandoffClass true . @@ -981,15 +981,10 @@ standoff:StandoffSuperscriptTag rdf:type owl:Class ; rdfs:comment "Represents superscript in a TextValue" ; rdfs:subClassOf standoff:StandoffVisualTag ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -998,29 +993,34 @@ standoff:StandoffSuperscriptTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; @@ -1029,7 +1029,7 @@ standoff:StandoffSuperscriptTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; knora-api:isStandoffClass true . @@ -1039,18 +1039,18 @@ standoff:StandoffItalicTag rdfs:subClassOf standoff:StandoffVisualTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1059,13 +1059,13 @@ standoff:StandoffItalicTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1074,18 +1074,18 @@ standoff:StandoffItalicTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; knora-api:isStandoffClass true . @@ -1095,18 +1095,18 @@ standoff:StandoffTableBodyTag rdfs:subClassOf standoff:StandoffStructuralTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1125,23 +1125,23 @@ standoff:StandoffTableBodyTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndIndex ] ; knora-api:isStandoffClass true . @@ -1152,17 +1152,12 @@ standoff:StandoffHeader1Tag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1171,18 +1166,18 @@ standoff:StandoffHeader1Tag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1196,8 +1191,13 @@ standoff:StandoffHeader1Tag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndIndex ] ; knora-api:isStandoffClass true . @@ -1207,48 +1207,48 @@ standoff:StandoffStructuralTag rdfs:subClassOf knora-api:StandoffTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1264,32 +1264,32 @@ standoff:StandoffListElementTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1299,17 +1299,17 @@ standoff:StandoffListElementTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; knora-api:isStandoffClass true . @@ -1320,52 +1320,52 @@ standoff:StandoffStrikethroughTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasEndIndex + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; knora-api:isStandoffClass true . @@ -1381,32 +1381,32 @@ standoff:StandoffUnorderedListTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1416,12 +1416,12 @@ standoff:StandoffUnorderedListTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; knora-api:isStandoffClass true . @@ -1432,52 +1432,52 @@ standoff:StandoffHeader6Tag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasStartIndex ] ; knora-api:isStandoffClass true . @@ -1488,52 +1488,52 @@ standoff:StandoffUnderlineTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; knora-api:isStandoffClass true . @@ -1544,17 +1544,17 @@ standoff:StandoffCodeTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1564,12 +1564,12 @@ standoff:StandoffCodeTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1578,8 +1578,8 @@ standoff:StandoffCodeTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1588,8 +1588,8 @@ standoff:StandoffCodeTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; knora-api:isStandoffClass true . @@ -1600,12 +1600,7 @@ standoff:StandoffOrderedListTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1615,37 +1610,42 @@ standoff:StandoffOrderedListTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasOriginalXMLID + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; knora-api:isStandoffClass true . @@ -1662,22 +1662,27 @@ standoff:StandoffHeader5Tag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasStartParentIndex + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1689,11 +1694,6 @@ standoff:StandoffHeader5Tag owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndParent ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; @@ -1702,12 +1702,12 @@ standoff:StandoffHeader5Tag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; knora-api:isStandoffClass true . diff --git a/webapi/src/main/resources/logback.xml b/webapi/src/main/resources/logback.xml index 44f098de94..a2b4b9b983 100644 --- a/webapi/src/main/resources/logback.xml +++ b/webapi/src/main/resources/logback.xml @@ -7,7 +7,7 @@ - %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n @@ -35,7 +35,7 @@ - + @@ -67,5 +67,5 @@ - + diff --git a/webapi/src/main/scala/org/knora/webapi/messages/admin/responder/groupsmessages/GroupsMessagesADM.scala b/webapi/src/main/scala/org/knora/webapi/messages/admin/responder/groupsmessages/GroupsMessagesADM.scala index bc5c05a384..68b75907ac 100644 --- a/webapi/src/main/scala/org/knora/webapi/messages/admin/responder/groupsmessages/GroupsMessagesADM.scala +++ b/webapi/src/main/scala/org/knora/webapi/messages/admin/responder/groupsmessages/GroupsMessagesADM.scala @@ -113,29 +113,25 @@ case class GroupsGetRequestADM() extends GroupsResponderRequestADM * an [[Option[GroupADM] ]], which will be `None` if the group was not found. * * @param groupIri IRI of the group. - * @param requestingUser the user initiating the request. */ -case class GroupGetADM(groupIri: IRI, requestingUser: UserADM) extends GroupsResponderRequestADM +case class GroupGetADM(groupIri: IRI) extends GroupsResponderRequestADM /** * Get everything about a single group identified through its IRI. The response will be a * [[GroupGetResponseADM]], or an error if the group was not found. * * @param groupIri IRI of the group. - * @param requestingUser the user initiating the request. */ -case class GroupGetRequestADM(groupIri: IRI, requestingUser: UserADM) extends GroupsResponderRequestADM +case class GroupGetRequestADM(groupIri: IRI) extends GroupsResponderRequestADM /** * Get everything about a multiple groups identified by their IRIs. The response will be a * [[Set[GroupGetResponseADM] ]], or an error if one or more groups was not found. * - * @param groupIris the IRIs of the groups being requested. - * @param requestingUser the user initiating the request. + * @param groupIris the IRIs of the groups being requested */ case class MultipleGroupsGetRequestADM( - groupIris: Set[IRI], - requestingUser: UserADM + groupIris: Set[IRI] ) extends GroupsResponderRequestADM /** diff --git a/webapi/src/main/scala/org/knora/webapi/messages/admin/responder/projectsmessages/ProjectsMessagesADM.scala b/webapi/src/main/scala/org/knora/webapi/messages/admin/responder/projectsmessages/ProjectsMessagesADM.scala index ce48e72c57..45c7da6f22 100644 --- a/webapi/src/main/scala/org/knora/webapi/messages/admin/responder/projectsmessages/ProjectsMessagesADM.scala +++ b/webapi/src/main/scala/org/knora/webapi/messages/admin/responder/projectsmessages/ProjectsMessagesADM.scala @@ -192,11 +192,9 @@ case class ProjectGetRequestADM( * of [[ProjectADM]]. Internal use only. * * @param identifier the IRI, email, or username of the project. - * @param requestingUser the user making the request. */ case class ProjectGetADM( - identifier: ProjectIdentifierADM, - requestingUser: UserADM + identifier: ProjectIdentifierADM ) extends ProjectsResponderRequestADM /** diff --git a/webapi/src/main/scala/org/knora/webapi/messages/util/PermissionUtilADM.scala b/webapi/src/main/scala/org/knora/webapi/messages/util/PermissionUtilADM.scala index 690a262870..a8c060a729 100644 --- a/webapi/src/main/scala/org/knora/webapi/messages/util/PermissionUtilADM.scala +++ b/webapi/src/main/scala/org/knora/webapi/messages/util/PermissionUtilADM.scala @@ -760,8 +760,7 @@ object PermissionUtilADM extends LazyLogging { _ <- appActor .ask( MultipleGroupsGetRequestADM( - groupIris = validatedProjectSpecificGroupIris, - requestingUser = KnoraSystemInstances.Users.SystemUser + groupIris = validatedProjectSpecificGroupIris ) ) .mapTo[Set[GroupGetResponseADM]] diff --git a/webapi/src/main/scala/org/knora/webapi/messages/util/search/QueryTraverser.scala b/webapi/src/main/scala/org/knora/webapi/messages/util/search/QueryTraverser.scala index 0399e9dac0..ea3b66ed8e 100644 --- a/webapi/src/main/scala/org/knora/webapi/messages/util/search/QueryTraverser.scala +++ b/webapi/src/main/scala/org/knora/webapi/messages/util/search/QueryTraverser.scala @@ -19,8 +19,8 @@ import org.knora.webapi.messages.OntologyConstants import org.knora.webapi.messages.SmartIri import org.knora.webapi.messages.StringFormatter import org.knora.webapi.messages.admin.responder.projectsmessages.ProjectADM +import org.knora.webapi.messages.admin.responder.projectsmessages.ProjectGetADM import org.knora.webapi.messages.admin.responder.projectsmessages.ProjectIdentifierADM -import org.knora.webapi.messages.store.cacheservicemessages.CacheServiceGetProjectADM import org.knora.webapi.responders.v2.ontology.Cache /** @@ -232,10 +232,9 @@ object QueryTraverser { case None => Seq.empty case _ => { // find the project with the shortcode - val projectFuture = - appActor - .ask(CacheServiceGetProjectADM(ProjectIdentifierADM(maybeShortcode = shortcode))) - .mapTo[Option[ProjectADM]] + val projectFuture = appActor + .ask(ProjectGetADM(ProjectIdentifierADM(maybeShortcode = shortcode))) + .mapTo[Option[ProjectADM]] val projectMaybe = Await.result(projectFuture, 1.second) projectMaybe match { case None => Seq.empty @@ -268,6 +267,7 @@ object QueryTraverser { patterns.flatMap { pattern => pattern match { case ValuesPattern(_, values) => values.toSeq + case BindPattern(_, expression) => List(expression.asInstanceOf[Entity]) case UnionPattern(blocks) => blocks.flatMap(block => getEntities(block)) case StatementPattern(subj, pred, obj, _) => List(subj, pred, obj) case LuceneQueryPattern(subj, obj, _, _) => List(subj, obj) diff --git a/webapi/src/main/scala/org/knora/webapi/messages/util/search/gravsearch/GravsearchParser.scala b/webapi/src/main/scala/org/knora/webapi/messages/util/search/gravsearch/GravsearchParser.scala index 85ee164b68..7489be6907 100644 --- a/webapi/src/main/scala/org/knora/webapi/messages/util/search/gravsearch/GravsearchParser.scala +++ b/webapi/src/main/scala/org/knora/webapi/messages/util/search/gravsearch/GravsearchParser.scala @@ -12,6 +12,7 @@ import org.eclipse.rdf4j.query.parser.QueryParser import org.eclipse.rdf4j.query.parser.sparql._ import scala.jdk.CollectionConverters._ +import scala.jdk.OptionConverters._ import dsp.errors.GravsearchException import org.knora.webapi._ @@ -344,27 +345,32 @@ object GravsearchParser { override def meet(node: algebra.ProjectionElemList): Unit = { // A ProjectionElemList represents the patterns in the CONSTRUCT clause. They're represented using - // parser-generated constants instead of literal values, so for now we just have to store them that way - // for now. Later, once we have the values of the constants, we will be able to build the CONSTRUCT clause. + // parser-generated constants instead of literal values, so for now we just have to store them that way. + // Later, once we have the values of the constants, we will be able to build the CONSTRUCT clause. var subj: Option[String] = None var pred: Option[String] = None var obj: Option[String] = None for (projectionElem: algebra.ProjectionElem <- node.getElements.asScala) { - val sourceName: String = projectionElem.getSourceName - val targetName: String = projectionElem.getTargetName + val sourceName: String = projectionElem.getName + val targetName: Option[String] = projectionElem.getProjectionAlias.toScala if (sourceName == targetName) { throw GravsearchException(s"SELECT queries are not allowed in search, please use a CONSTRUCT query instead") } - projectionElem.getTargetName match { - case "subject" => subj = Some(sourceName) - case "predicate" => pred = Some(sourceName) - case "object" => obj = Some(sourceName) - case _ => - GravsearchException(s"SELECT queries are not allowed in search, please use a CONSTRUCT query instead") + projectionElem.getProjectionAlias.toScala match { + case Some(value) => + value match { + case "subject" => subj = Some(sourceName) + case "predicate" => pred = Some(sourceName) + case "object" => obj = Some(sourceName) + case _ => + GravsearchException(s"SELECT queries are not allowed in search, please use a CONSTRUCT query instead") + } + case None => + GravsearchException(s"Alias the projection element value should be mapped to was empty.") } } diff --git a/webapi/src/main/scala/org/knora/webapi/responders/admin/GroupsResponderADM.scala b/webapi/src/main/scala/org/knora/webapi/responders/admin/GroupsResponderADM.scala index 6bc3d99b45..1bf122ac6f 100644 --- a/webapi/src/main/scala/org/knora/webapi/responders/admin/GroupsResponderADM.scala +++ b/webapi/src/main/scala/org/knora/webapi/responders/admin/GroupsResponderADM.scala @@ -42,14 +42,11 @@ class GroupsResponderADM(responderData: ResponderData) extends Responder(respond * Receives a message extending [[ProjectsResponderRequestV1]], and returns an appropriate response message */ def receive(msg: GroupsResponderRequestADM) = msg match { - case GroupsGetADM() => groupsGetADM - case GroupsGetRequestADM() => groupsGetRequestADM - case GroupGetADM(groupIri, requestingUser) => - groupGetADM(groupIri, requestingUser) - case MultipleGroupsGetRequestADM(groupIris, requestingUser) => - multipleGroupsGetRequestADM(groupIris, requestingUser) - case GroupGetRequestADM(groupIri, requestingUser) => - groupGetRequestADM(groupIri, requestingUser) + case GroupsGetADM() => groupsGetADM + case GroupsGetRequestADM() => groupsGetRequestADM + case GroupGetADM(groupIri) => groupGetADM(groupIri) + case MultipleGroupsGetRequestADM(groupIris) => multipleGroupsGetRequestADM(groupIris) + case GroupGetRequestADM(groupIri) => groupGetRequestADM(groupIri) case GroupMembersGetRequestADM(groupIri, requestingUser) => groupMembersGetRequestADM(groupIri, requestingUser) case GroupCreateRequestADM(newGroupInfo, requestingUser, apiRequestID) => @@ -119,8 +116,7 @@ class GroupsResponderADM(responderData: ResponderData) extends Responder(respond ProjectGetADM( identifier = ProjectIdentifierADM( maybeIri = Some(projectIri) - ), - requestingUser = KnoraSystemInstances.Users.SystemUser + ) ) ) .mapTo[Option[ProjectADM]] @@ -210,12 +206,10 @@ class GroupsResponderADM(responderData: ResponderData) extends Responder(respond * Gets the group with the given group IRI and returns the information as a [[GroupADM]]. * * @param groupIri the IRI of the group requested. - * @param requestingUser the user initiating the request. * @return information about the group as a [[GroupADM]] */ private def groupGetADM( - groupIri: IRI, - requestingUser: UserADM + groupIri: IRI ): Future[Option[GroupADM]] = for { sparqlQuery <- Future( @@ -240,8 +234,7 @@ class GroupsResponderADM(responderData: ResponderData) extends Responder(respond FastFuture.successful(None) } else { statements2GroupADM( - statements = groupResponse.statements.head, - requestingUser = requestingUser + statements = groupResponse.statements.head ) } @@ -253,18 +246,15 @@ class GroupsResponderADM(responderData: ResponderData) extends Responder(respond * Gets the group with the given group IRI and returns the information as a [[GroupGetResponseADM]]. * * @param groupIri the IRI of the group requested. - * @param requestingUser the user initiating the request. * @return information about the group as a [[GroupGetResponseADM]]. */ private def groupGetRequestADM( - groupIri: IRI, - requestingUser: UserADM + groupIri: IRI ): Future[GroupGetResponseADM] = for { maybeGroupADM <- groupGetADM( - groupIri = groupIri, - requestingUser = requestingUser + groupIri = groupIri ) result = maybeGroupADM match { @@ -276,18 +266,15 @@ class GroupsResponderADM(responderData: ResponderData) extends Responder(respond /** * Gets the groups with the given IRIs and returns a set of [[GroupGetResponseADM]] objects. * - * @param groupIris the IRIs of the groups being requested. - * @param requestingUser the user initiating the request. + * @param groupIris the IRIs of the groups being requested * @return information about the group as a set of [[GroupGetResponseADM]] objects. */ private def multipleGroupsGetRequestADM( - groupIris: Set[IRI], - requestingUser: UserADM + groupIris: Set[IRI] ): Future[Set[GroupGetResponseADM]] = { val groupResponseFutures: Set[Future[GroupGetResponseADM]] = groupIris.map { groupIri => groupGetRequestADM( - groupIri = groupIri, - requestingUser = requestingUser + groupIri = groupIri ) } @@ -311,8 +298,7 @@ class GroupsResponderADM(responderData: ResponderData) extends Responder(respond for { maybeGroupADM <- groupGetADM( - groupIri = groupIri, - requestingUser = KnoraSystemInstances.Users.SystemUser + groupIri = groupIri ) _ = maybeGroupADM match { @@ -446,8 +432,7 @@ class GroupsResponderADM(responderData: ResponderData) extends Responder(respond appActor .ask( ProjectGetADM( - identifier = ProjectIdentifierADM(maybeIri = Some(createRequest.project.value)), - requestingUser = KnoraSystemInstances.Users.SystemUser + identifier = ProjectIdentifierADM(maybeIri = Some(createRequest.project.value)) ) ) .mapTo[Option[ProjectADM]] @@ -490,8 +475,7 @@ class GroupsResponderADM(responderData: ResponderData) extends Responder(respond /* Verify that the group was created and updated */ maybeCreatedGroup <- groupGetADM( - groupIri = groupIri, - requestingUser = KnoraSystemInstances.Users.SystemUser + groupIri = groupIri ) createdGroup: GroupADM = @@ -545,8 +529,7 @@ class GroupsResponderADM(responderData: ResponderData) extends Responder(respond /* Get the project IRI which also verifies that the group exists. */ maybeGroupADM <- groupGetADM( - groupIri = groupIri, - requestingUser = KnoraSystemInstances.Users.SystemUser + groupIri = groupIri ) groupADM = maybeGroupADM.getOrElse( @@ -623,8 +606,7 @@ class GroupsResponderADM(responderData: ResponderData) extends Responder(respond /* Get the project IRI which also verifies that the group exists. */ maybeGroupADM <- groupGetADM( - groupIri = groupIri, - requestingUser = KnoraSystemInstances.Users.SystemUser + groupIri = groupIri ) groupADM = maybeGroupADM.getOrElse( @@ -708,8 +690,7 @@ class GroupsResponderADM(responderData: ResponderData) extends Responder(respond /* Verify that the group exists. */ maybeGroupADM <- groupGetADM( - groupIri = groupIri, - requestingUser = KnoraSystemInstances.Users.SystemUser + groupIri = groupIri ) groupADM: GroupADM = @@ -753,8 +734,7 @@ class GroupsResponderADM(responderData: ResponderData) extends Responder(respond /* Verify that the project was updated. */ maybeUpdatedGroup <- groupGetADM( - groupIri = groupIri, - requestingUser = KnoraSystemInstances.Users.SystemUser + groupIri = groupIri ) updatedGroup: GroupADM = @@ -776,12 +756,10 @@ class GroupsResponderADM(responderData: ResponderData) extends Responder(respond * Helper method that turns SPARQL result rows into a [[GroupADM]]. * * @param statements results from the SPARQL query representing information about the group. - * @param requestingUser the user that is making the request. * @return a [[GroupADM]] representing information about the group. */ private def statements2GroupADM( - statements: (SubjectV2, Map[SmartIri, Seq[LiteralV2]]), - requestingUser: UserADM + statements: (SubjectV2, Map[SmartIri, Seq[LiteralV2]]) ): Future[Option[GroupADM]] = { log.debug("statements2GroupADM - statements: {}", statements) @@ -805,8 +783,7 @@ class GroupsResponderADM(responderData: ResponderData) extends Responder(respond appActor .ask( ProjectGetADM( - identifier = ProjectIdentifierADM(maybeIri = Some(projectIri)), - requestingUser = KnoraSystemInstances.Users.SystemUser + identifier = ProjectIdentifierADM(maybeIri = Some(projectIri)) ) ) .mapTo[Option[ProjectADM]] diff --git a/webapi/src/main/scala/org/knora/webapi/responders/admin/ListsResponderADM.scala b/webapi/src/main/scala/org/knora/webapi/responders/admin/ListsResponderADM.scala index 0d82c5b768..15e87f8c34 100644 --- a/webapi/src/main/scala/org/knora/webapi/responders/admin/ListsResponderADM.scala +++ b/webapi/src/main/scala/org/knora/webapi/responders/admin/ListsResponderADM.scala @@ -941,8 +941,7 @@ class ListsResponderADM(responderData: ResponderData) extends Responder(responde maybeProject <- appActor .ask( ProjectGetADM( - identifier = ProjectIdentifierADM(maybeIri = Some(projectIri.value)), - KnoraSystemInstances.Users.SystemUser + identifier = ProjectIdentifierADM(maybeIri = Some(projectIri.value)) ) ) .mapTo[Option[ProjectADM]] @@ -2270,8 +2269,7 @@ class ListsResponderADM(responderData: ResponderData) extends Responder(responde ProjectGetADM( ProjectIdentifierADM( maybeIri = Some(projectIri) - ), - KnoraSystemInstances.Users.SystemUser + ) ) ) .mapTo[Option[ProjectADM]] diff --git a/webapi/src/main/scala/org/knora/webapi/responders/admin/PermissionsResponderADM.scala b/webapi/src/main/scala/org/knora/webapi/responders/admin/PermissionsResponderADM.scala index 674b47fe61..b3fa57fa25 100644 --- a/webapi/src/main/scala/org/knora/webapi/responders/admin/PermissionsResponderADM.scala +++ b/webapi/src/main/scala/org/knora/webapi/responders/admin/PermissionsResponderADM.scala @@ -213,8 +213,7 @@ class PermissionsResponderADM(responderData: ResponderData) extends Responder(re maybeGroup <- appActor .ask( GroupGetADM( - groupIri = groupIri, - requestingUser = KnoraSystemInstances.Users.SystemUser + groupIri = groupIri ) ) .mapTo[Option[GroupADM]] @@ -698,8 +697,7 @@ class PermissionsResponderADM(responderData: ResponderData) extends Responder(re appActor .ask( ProjectGetADM( - identifier = ProjectIdentifierADM(maybeIri = Some(createRequest.forProject)), - requestingUser = KnoraSystemInstances.Users.SystemUser + identifier = ProjectIdentifierADM(maybeIri = Some(createRequest.forProject)) ) ) .mapTo[Option[ProjectADM]] @@ -720,8 +718,7 @@ class PermissionsResponderADM(responderData: ResponderData) extends Responder(re appActor .ask( GroupGetADM( - groupIri = createRequest.forGroup, - requestingUser = KnoraSystemInstances.Users.SystemUser + groupIri = createRequest.forGroup ) ) .mapTo[Option[GroupADM]] @@ -1637,8 +1634,7 @@ class PermissionsResponderADM(responderData: ResponderData) extends Responder(re appActor .ask( ProjectGetADM( - identifier = ProjectIdentifierADM(maybeIri = Some(createRequest.forProject)), - requestingUser = KnoraSystemInstances.Users.SystemUser + identifier = ProjectIdentifierADM(maybeIri = Some(createRequest.forProject)) ) ) .mapTo[Option[ProjectADM]] @@ -1665,8 +1661,7 @@ class PermissionsResponderADM(responderData: ResponderData) extends Responder(re appActor .ask( GroupGetADM( - groupIri = createRequest.forGroup.get, - requestingUser = KnoraSystemInstances.Users.SystemUser + groupIri = createRequest.forGroup.get ) ) .mapTo[Option[GroupADM]] diff --git a/webapi/src/main/scala/org/knora/webapi/responders/admin/ProjectsResponderADM.scala b/webapi/src/main/scala/org/knora/webapi/responders/admin/ProjectsResponderADM.scala index 718c54afa1..e7a786e75b 100644 --- a/webapi/src/main/scala/org/knora/webapi/responders/admin/ProjectsResponderADM.scala +++ b/webapi/src/main/scala/org/knora/webapi/responders/admin/ProjectsResponderADM.scala @@ -58,11 +58,9 @@ class ProjectsResponderADM(responderData: ResponderData) extends Responder(respo * Receives a message extending [[ProjectsResponderRequestV1]], and returns an appropriate response message. */ def receive(msg: ProjectsResponderRequestADM) = msg match { - case ProjectsGetADM(requestingUser) => projectsGetADM(requestingUser) - case ProjectsGetRequestADM(requestingUser) => - projectsGetRequestADM(requestingUser) - case ProjectGetADM(identifier, requestingUser) => - getSingleProjectADM(identifier, requestingUser) + case ProjectsGetADM(requestingUser) => projectsGetADM(requestingUser) + case ProjectsGetRequestADM(requestingUser) => projectsGetRequestADM(requestingUser) + case ProjectGetADM(identifier) => getSingleProjectADM(identifier) case ProjectGetRequestADM(identifier, requestingUser) => getSingleProjectADMRequest(identifier, requestingUser) case ProjectMembersGetRequestADM(identifier, requestingUser) => @@ -209,12 +207,11 @@ class ProjectsResponderADM(responderData: ResponderData) extends Responder(respo * Gets the project with the given project IRI, shortname, or shortcode and returns the information as a [[ProjectADM]]. * * @param identifier the IRI, shortname, or shortcode of the project. - * @param requestingUser the user making the request. + * @param skipCache if `true`, doesn't check the cache and tries to retrieve the project directly from the triplestore * @return information about the project as a [[ProjectInfoV1]]. */ private def getSingleProjectADM( identifier: ProjectIdentifierADM, - requestingUser: UserADM, skipCache: Boolean = false ): Future[Option[ProjectADM]] = tracedFuture("admin-get-project") { @@ -222,9 +219,8 @@ class ProjectsResponderADM(responderData: ResponderData) extends Responder(respo // log.debug("getSingleProjectADM - projectIRI: {}", projectIri) log.debug( - s"getSingleProjectADM - id: {}, requester: {}, skipCache: {}", + s"getSingleProjectADM - id: {}, skipCache: {}", identifier.value, - requestingUser.username, skipCache ) @@ -267,8 +263,7 @@ class ProjectsResponderADM(responderData: ResponderData) extends Responder(respo // log.debug("getSingleProjectADMRequest - maybeIri: {}, maybeShortname: {}, maybeShortcode: {}", maybeIri, maybeShortname, maybeShortcode) for { maybeProject: Option[ProjectADM] <- getSingleProjectADM( - identifier = identifier, - requestingUser = requestingUser + identifier = identifier ) project = maybeProject match { @@ -296,8 +291,7 @@ class ProjectsResponderADM(responderData: ResponderData) extends Responder(respo /* Get project and verify permissions. */ project <- getSingleProjectADM( - identifier = identifier, - requestingUser = KnoraSystemInstances.Users.SystemUser + identifier = identifier ) _ = @@ -379,8 +373,7 @@ class ProjectsResponderADM(responderData: ResponderData) extends Responder(respo for { /* Get project and verify permissions. */ project <- getSingleProjectADM( - identifier = identifier, - requestingUser = KnoraSystemInstances.Users.SystemUser + identifier = identifier ) _ = @@ -472,8 +465,7 @@ class ProjectsResponderADM(responderData: ResponderData) extends Responder(respo ): Future[ProjectKeywordsGetResponseADM] = for { maybeProject <- getSingleProjectADM( - identifier = ProjectIdentifierADM(maybeIri = Some(projectIri)), - requestingUser = KnoraSystemInstances.Users.SystemUser + identifier = ProjectIdentifierADM(maybeIri = Some(projectIri)) ) keywords: Seq[String] = maybeProject match { @@ -582,8 +574,7 @@ class ProjectsResponderADM(responderData: ResponderData) extends Responder(respo for { // Get the project info. maybeProject: Option[ProjectADM] <- getSingleProjectADM( - identifier = projectIdentifier, - requestingUser = requestingUser + identifier = projectIdentifier ) project: ProjectADM = maybeProject.getOrElse( @@ -867,7 +858,6 @@ class ProjectsResponderADM(responderData: ResponderData) extends Responder(respo for { maybeCurrentProject: Option[ProjectADM] <- getSingleProjectADM( identifier = ProjectIdentifierADM(maybeIri = Some(projectIri)), - requestingUser = requestingUser, skipCache = true ) @@ -903,7 +893,6 @@ class ProjectsResponderADM(responderData: ResponderData) extends Responder(respo /* Verify that the project was updated. */ maybeUpdatedProject <- getSingleProjectADM( identifier = ProjectIdentifierADM(maybeIri = Some(projectIri)), - requestingUser = KnoraSystemInstances.Users.SystemUser, skipCache = true ) @@ -1147,7 +1136,6 @@ class ProjectsResponderADM(responderData: ResponderData) extends Responder(respo // try to retrieve newly created project (will also add to cache) maybeNewProjectADM <- getSingleProjectADM( identifier = ProjectIdentifierADM(maybeIri = Some(newProjectIRI)), - requestingUser = KnoraSystemInstances.Users.SystemUser, skipCache = true ) @@ -1201,9 +1189,9 @@ class ProjectsResponderADM(responderData: ResponderData) extends Responder(respo // writing project to cache and afterwards returning the project found in the triplestore writeProjectADMToCache(project).map(_ => Some(project)) } - case Some(user) => - log.debug("getProjectFromCacheOrTriplestore - found in cache. returning user.") - FastFuture.successful(Some(user)) + case Some(project) => + log.debug("getProjectFromCacheOrTriplestore - found in cache. returning project.") + FastFuture.successful(Some(project)) } } else { // caching disabled diff --git a/webapi/src/main/scala/org/knora/webapi/responders/admin/UsersResponderADM.scala b/webapi/src/main/scala/org/knora/webapi/responders/admin/UsersResponderADM.scala index 5b7070cc73..87328230e6 100644 --- a/webapi/src/main/scala/org/knora/webapi/responders/admin/UsersResponderADM.scala +++ b/webapi/src/main/scala/org/knora/webapi/responders/admin/UsersResponderADM.scala @@ -896,11 +896,8 @@ class UsersResponderADM(responderData: ResponderData) extends Responder(responde appActor .ask( ProjectGetADM( - identifier = ProjectIdentifierADM(maybeIri = - Some(projectIri) - ), - requestingUser = - KnoraSystemInstances.Users.SystemUser + identifier = + ProjectIdentifierADM(maybeIri = Some(projectIri)) ) ) .mapTo[Option[ProjectADM]] @@ -1208,8 +1205,7 @@ class UsersResponderADM(responderData: ResponderData) extends Responder(responde maybeGroupADM <- appActor .ask( GroupGetADM( - groupIri = groupIri, - requestingUser = KnoraSystemInstances.Users.SystemUser + groupIri = groupIri ) ) .mapTo[Option[GroupADM]] @@ -1288,8 +1284,7 @@ class UsersResponderADM(responderData: ResponderData) extends Responder(responde maybeGroupADM <- appActor .ask( GroupGetADM( - groupIri = groupIri, - requestingUser = KnoraSystemInstances.Users.SystemUser + groupIri = groupIri ) ) .mapTo[Option[GroupADM]] @@ -1895,9 +1890,7 @@ class UsersResponderADM(responderData: ResponderData) extends Responder(responde appActor .ask( GroupGetADM( - groupIri = groupIri, - requestingUser = - KnoraSystemInstances.Users.SystemUser + groupIri = groupIri ) ) .mapTo[Option[GroupADM]] @@ -1911,11 +1904,7 @@ class UsersResponderADM(responderData: ResponderData) extends Responder(responde appActor .ask( ProjectGetADM( - ProjectIdentifierADM(maybeIri = - Some(projectIri) - ), - requestingUser = - KnoraSystemInstances.Users.SystemUser + ProjectIdentifierADM(maybeIri = Some(projectIri)) ) ) .mapTo[Option[ProjectADM]] diff --git a/webapi/src/main/scala/org/knora/webapi/responders/v2/SearchResponderV2.scala b/webapi/src/main/scala/org/knora/webapi/responders/v2/SearchResponderV2.scala index dd9d6075d2..6d8c5e1baa 100644 --- a/webapi/src/main/scala/org/knora/webapi/responders/v2/SearchResponderV2.scala +++ b/webapi/src/main/scala/org/knora/webapi/responders/v2/SearchResponderV2.scala @@ -515,11 +515,12 @@ class SearchResponderV2(responderData: ResponderData) extends ResponderWithStand // TODO: if the ORDER BY criterion is a property whose occurrence is not 1, then the logic does not work correctly // TODO: the ORDER BY criterion has to be included in a GROUP BY statement, returning more than one row if property occurs more than once - ontologiesForInferenceMaybe <- + ontologiesForInferenceMaybe: Option[Set[SmartIri]] <- QueryTraverser.getOntologiesRelevantForInference( inputQuery.whereClause, appActor ) + nonTriplestoreSpecificPrequery: SelectQuery = QueryTraverser.transformConstructToSelect( inputQuery = inputQuery.copy(whereClause = whereClauseWithoutAnnotations), @@ -545,7 +546,6 @@ class SearchResponderV2(responderData: ResponderData) extends ResponderWithStand ) triplestoreSpecificPrequerySparql = triplestoreSpecificPrequery.toSparql - _ = log.debug(triplestoreSpecificPrequerySparql) start = System.currentTimeMillis() tryPrequeryResponseNotMerged = diff --git a/webapi/src/main/scala/org/knora/webapi/responders/v2/StandoffResponderV2.scala b/webapi/src/main/scala/org/knora/webapi/responders/v2/StandoffResponderV2.scala index 940aeb1c47..1e0e27c661 100644 --- a/webapi/src/main/scala/org/knora/webapi/responders/v2/StandoffResponderV2.scala +++ b/webapi/src/main/scala/org/knora/webapi/responders/v2/StandoffResponderV2.scala @@ -668,8 +668,7 @@ class StandoffResponderV2(responderData: ResponderData) extends Responder(respon appActor .ask( ProjectGetADM( - identifier = ProjectIdentifierADM(maybeIri = Some(projectIri.toString)), - requestingUser = requestingUser + identifier = ProjectIdentifierADM(maybeIri = Some(projectIri.toString)) ) ) .mapTo[Option[ProjectADM]] diff --git a/webapi/src/main/scala/org/knora/webapi/responders/v2/ValuesResponderV2.scala b/webapi/src/main/scala/org/knora/webapi/responders/v2/ValuesResponderV2.scala index 46bca3e06e..5b0c184841 100644 --- a/webapi/src/main/scala/org/knora/webapi/responders/v2/ValuesResponderV2.scala +++ b/webapi/src/main/scala/org/knora/webapi/responders/v2/ValuesResponderV2.scala @@ -95,6 +95,7 @@ class ValuesResponderV2(responderData: ResponderData) extends Responder(responde appActor .ask(propertyInfoRequestForSubmittedProperty) .mapTo[ReadOntologyV2] + propertyInfoForSubmittedProperty: ReadPropertyInfoV2 = propertyInfoResponseForSubmittedProperty.properties( submittedInternalPropertyIri ) @@ -120,27 +121,25 @@ class ValuesResponderV2(responderData: ResponderData) extends Responder(responde // corresponding link property, whose objects we will need to query. Get ontology information about the // adjusted property. - adjustedInternalPropertyInfo: ReadPropertyInfoV2 <- getAdjustedInternalPropertyInfo( - submittedPropertyIri = - createValueRequest.createValue.propertyIri, - maybeSubmittedValueType = Some( - createValueRequest.createValue.valueContent.valueType - ), - propertyInfoForSubmittedProperty = - propertyInfoForSubmittedProperty, - requestingUser = createValueRequest.requestingUser - ) + adjustedInternalPropertyInfo: ReadPropertyInfoV2 <- + getAdjustedInternalPropertyInfo( + submittedPropertyIri = createValueRequest.createValue.propertyIri, + maybeSubmittedValueType = Some(createValueRequest.createValue.valueContent.valueType), + propertyInfoForSubmittedProperty = propertyInfoForSubmittedProperty, + requestingUser = createValueRequest.requestingUser + ) adjustedInternalPropertyIri = adjustedInternalPropertyInfo.entityInfoContent.propertyIri // Get the resource's metadata and relevant property objects, using the adjusted property. Do this as the system user, // so we can see objects that the user doesn't have permission to see. - resourceInfo: ReadResourceV2 <- getResourceWithPropertyValues( - resourceIri = createValueRequest.createValue.resourceIri, - propertyInfo = adjustedInternalPropertyInfo, - requestingUser = KnoraSystemInstances.Users.SystemUser - ) + resourceInfo: ReadResourceV2 <- + getResourceWithPropertyValues( + resourceIri = createValueRequest.createValue.resourceIri, + propertyInfo = adjustedInternalPropertyInfo, + requestingUser = KnoraSystemInstances.Users.SystemUser + ) // Check that the user has permission to modify the resource. @@ -152,15 +151,15 @@ class ValuesResponderV2(responderData: ResponderData) extends Responder(responde // Check that the resource has the rdf:type that the client thinks it has. - _ = if ( - resourceInfo.resourceClassIri != createValueRequest.createValue.resourceClassIri.toOntologySchema( - InternalSchema - ) - ) { - throw BadRequestException( - s"The rdf:type of resource <${createValueRequest.createValue.resourceIri}> is not <${createValueRequest.createValue.resourceClassIri}>" - ) - } + _ = + if ( + resourceInfo.resourceClassIri != createValueRequest.createValue.resourceClassIri + .toOntologySchema(InternalSchema) + ) { + throw BadRequestException( + s"The rdf:type of resource <${createValueRequest.createValue.resourceIri}> is not <${createValueRequest.createValue.resourceClassIri}>" + ) + } // Get the definition of the resource class. @@ -221,8 +220,8 @@ class ValuesResponderV2(responderData: ResponderData) extends Responder(responde // Check that the resource class's cardinality for the submitted property allows another value to be added // for that property. - currentValuesForProp: Seq[ReadValueV2] = resourceInfo.values - .getOrElse(submittedInternalPropertyIri, Seq.empty[ReadValueV2]) + currentValuesForProp: Seq[ReadValueV2] = + resourceInfo.values.getOrElse(submittedInternalPropertyIri, Seq.empty[ReadValueV2]) _ = if ( @@ -270,54 +269,56 @@ class ValuesResponderV2(responderData: ResponderData) extends Responder(responde } // Get the default permissions for the new value. - defaultValuePermissions: String <- ResourceUtilV2.getDefaultValuePermissions( - projectIri = resourceInfo.projectADM.id, - resourceClassIri = resourceInfo.resourceClassIri, - propertyIri = submittedInternalPropertyIri, - requestingUser = createValueRequest.requestingUser, - appActor = appActor - ) + defaultValuePermissions: String <- + ResourceUtilV2.getDefaultValuePermissions( + projectIri = resourceInfo.projectADM.id, + resourceClassIri = resourceInfo.resourceClassIri, + propertyIri = submittedInternalPropertyIri, + requestingUser = createValueRequest.requestingUser, + appActor = appActor + ) // Did the user submit permissions for the new value? - newValuePermissionLiteral <- createValueRequest.createValue.permissions match { - case Some(permissions: String) => - // Yes. Validate them. - for { - validatedCustomPermissions <- PermissionUtilADM.validatePermissions( - permissionLiteral = permissions, - appActor = appActor - ) - - // Is the requesting user a system admin, or an admin of this project? - _ = if ( - !(createValueRequest.requestingUser.permissions.isProjectAdmin( - createValueRequest.requestingUser.id - ) || createValueRequest.requestingUser.permissions.isSystemAdmin) - ) { - - // No. Make sure they don't give themselves higher permissions than they would get from the default permissions. - - val permissionComparisonResult: PermissionComparisonResult = - PermissionUtilADM.comparePermissionsADM( - entityCreator = createValueRequest.requestingUser.id, - entityProject = resourceInfo.projectADM.id, - permissionLiteralA = validatedCustomPermissions, - permissionLiteralB = defaultValuePermissions, - requestingUser = createValueRequest.requestingUser - ) - - if (permissionComparisonResult == AGreaterThanB) { - throw ForbiddenException( - s"The specified value permissions would give a value's creator a higher permission on the value than the default permissions" - ) - } - } - } yield validatedCustomPermissions - - case None => - // No. Use the default permissions. - FastFuture.successful(defaultValuePermissions) - } + newValuePermissionLiteral <- + createValueRequest.createValue.permissions match { + case Some(permissions: String) => + // Yes. Validate them. + for { + validatedCustomPermissions <- PermissionUtilADM.validatePermissions( + permissionLiteral = permissions, + appActor = appActor + ) + + // Is the requesting user a system admin, or an admin of this project? + _ = if ( + !(createValueRequest.requestingUser.permissions.isProjectAdmin( + createValueRequest.requestingUser.id + ) || createValueRequest.requestingUser.permissions.isSystemAdmin) + ) { + + // No. Make sure they don't give themselves higher permissions than they would get from the default permissions. + + val permissionComparisonResult: PermissionComparisonResult = + PermissionUtilADM.comparePermissionsADM( + entityCreator = createValueRequest.requestingUser.id, + entityProject = resourceInfo.projectADM.id, + permissionLiteralA = validatedCustomPermissions, + permissionLiteralB = defaultValuePermissions, + requestingUser = createValueRequest.requestingUser + ) + + if (permissionComparisonResult == AGreaterThanB) { + throw ForbiddenException( + s"The specified value permissions would give a value's creator a higher permission on the value than the default permissions" + ) + } + } + } yield validatedCustomPermissions + + case None => + // No. Use the default permissions. + FastFuture.successful(defaultValuePermissions) + } dataNamedGraph: IRI = stringFormatter.projectDataNamedGraphV2(resourceInfo.projectADM) @@ -339,12 +340,13 @@ class ValuesResponderV2(responderData: ResponderData) extends Responder(responde // Check that the value was written correctly to the triplestore. - verifiedValue: VerifiedValueV2 <- verifyValue( - resourceIri = createValueRequest.createValue.resourceIri, - propertyIri = submittedInternalPropertyIri, - unverifiedValue = unverifiedValue, - requestingUser = createValueRequest.requestingUser - ) + verifiedValue: VerifiedValueV2 <- + verifyValue( + resourceIri = createValueRequest.createValue.resourceIri, + propertyIri = submittedInternalPropertyIri, + unverifiedValue = unverifiedValue, + requestingUser = createValueRequest.requestingUser + ) } yield CreateValueResponseV2( valueIri = verifiedValue.newValueIri, @@ -374,10 +376,6 @@ class ValuesResponderV2(responderData: ResponderData) extends Responder(responde ) } yield taskResult - // Since PR #1230, the cardinalities in knora-base don't allow you to create a file value - // without creating a new resource, but we leave this line here in case it's needed again - // someday: - // // If we were creating a file value, have Sipi move the file to permanent storage if the update // was successful, or delete the temporary file if the update failed. ResourceUtilV2.doSipiPostUpdate( @@ -1018,6 +1016,7 @@ class ValuesResponderV2(responderData: ResponderData) extends Responder(responde ): Future[UpdateValueResponseV2] = for { // Do the initial checks, and get information about the resource, the property, and the value. + resourcePropertyValue: ResourcePropertyValue <- getResourcePropertyValue( resourceIri = updateValuePermissionsV2.resourceIri, @@ -1038,7 +1037,6 @@ class ValuesResponderV2(responderData: ResponderData) extends Responder(responde permissionLiteral = updateValuePermissionsV2.permissions, appActor = appActor ) - // Check that the user has ChangeRightsPermission on the value, and that the new permissions are // different from the current ones. @@ -1046,7 +1044,6 @@ class ValuesResponderV2(responderData: ResponderData) extends Responder(responde PermissionUtilADM.parsePermissions( currentValue.permissions ) - newPermissionsParsed: Map[EntityPermission, Set[IRI]] = PermissionUtilADM.parsePermissions( updateValuePermissionsV2.permissions, diff --git a/webapi/src/main/scala/org/knora/webapi/routing/admin/GroupsRouteADM.scala b/webapi/src/main/scala/org/knora/webapi/routing/admin/GroupsRouteADM.scala index d60343802d..32502909c1 100644 --- a/webapi/src/main/scala/org/knora/webapi/routing/admin/GroupsRouteADM.scala +++ b/webapi/src/main/scala/org/knora/webapi/routing/admin/GroupsRouteADM.scala @@ -70,8 +70,7 @@ class GroupsRouteADM(routeData: KnoraRouteData) val requestMessage = for { requestingUser <- getUserADM(requestContext, routeData.appConfig) } yield GroupGetRequestADM( - groupIri = checkedGroupIri, - requestingUser = requestingUser + groupIri = checkedGroupIri ) RouteUtilADM.runJsonRoute( diff --git a/webapi/src/main/scala/org/knora/webapi/store/cache/impl/CacheServiceInMemImpl.scala b/webapi/src/main/scala/org/knora/webapi/store/cache/impl/CacheServiceInMemImpl.scala index 2f548baefb..2b697baba1 100644 --- a/webapi/src/main/scala/org/knora/webapi/store/cache/impl/CacheServiceInMemImpl.scala +++ b/webapi/src/main/scala/org/knora/webapi/store/cache/impl/CacheServiceInMemImpl.scala @@ -131,8 +131,7 @@ case class CacheServiceInMemImpl( * @param id the project's IRI * @return an optional [[ProjectADM]]. */ - def getProjectByIri(id: String) = - projects.get(id).commit + def getProjectByIri(id: String) = projects.get(id).commit /** * Retrieves the project stored under a SHORTCODE or SHORTNAME. @@ -140,7 +139,7 @@ case class CacheServiceInMemImpl( * @param shortcodeOrShortname of the project. * @return an optional [[ProjectADM]] */ - def getProjectByShortcodeOrShortname(shortcodeOrShortname: String) = + def getProjectByShortcodeOrShortname(shortcodeOrShortname: String): UIO[Option[ProjectADM]] = (for { iri <- lut.get(shortcodeOrShortname).some project <- projects.get(iri).some diff --git a/webapi/src/main/twirl/generate_srcjar.bzl b/webapi/src/main/twirl/generate_srcjar.bzl deleted file mode 100644 index ca44adec70..0000000000 --- a/webapi/src/main/twirl/generate_srcjar.bzl +++ /dev/null @@ -1,21 +0,0 @@ -""" generate a srcjar from provided *.scala source files """ - -def _generate_srcjar_impl(ctx): - print("inside rule: ", ctx.label) - print("srcs: ", ctx.files.srcs) - out = ctx.actions.declare_file(ctx.label.name + ".srcjar") - ctx.actions.write( - output = out, - content = "Hello {}!\n".format(ctx.attr.username), - ) - return [DefaultInfo(files = depset([out]))] - -generate_srcjar = rule( - implementation = _generate_srcjar_impl, - attrs = { - "username": attr.string(), - "srcs": attr.label_list(), - }, -) - -print("bzl file evaluation") diff --git a/webapi/src/test/scala/org/knora/webapi/e2e/v2/ResourcesRouteV2E2ESpec.scala b/webapi/src/test/scala/org/knora/webapi/e2e/v2/ResourcesRouteV2E2ESpec.scala index da54a93b80..49e6096a97 100644 --- a/webapi/src/test/scala/org/knora/webapi/e2e/v2/ResourcesRouteV2E2ESpec.scala +++ b/webapi/src/test/scala/org/knora/webapi/e2e/v2/ResourcesRouteV2E2ESpec.scala @@ -76,6 +76,10 @@ class ResourcesRouteV2E2ESpec extends E2ESpec { RdfDataObject(path = "test_data/all_data/incunabula-data.ttl", name = "http://www.knora.org/data/0803/incunabula"), RdfDataObject(path = "test_data/demo_data/images-demo-data.ttl", name = "http://www.knora.org/data/00FF/images"), RdfDataObject(path = "test_data/all_data/anything-data.ttl", name = "http://www.knora.org/data/0001/anything"), + RdfDataObject( + path = "test_data/ontologies/anything-onto.ttl", + name = "http://www.knora.org/ontology/0001/anything" + ), RdfDataObject( path = "test_data/ontologies/freetest-onto.ttl", name = "http://www.knora.org/ontology/0001/freetest" diff --git a/webapi/src/test/scala/org/knora/webapi/e2e/v2/ResponseCheckerV2Spec.scala b/webapi/src/test/scala/org/knora/webapi/e2e/v2/ResponseCheckerV2Spec.scala index cd1d4ea05b..7ecc25f26b 100644 --- a/webapi/src/test/scala/org/knora/webapi/e2e/v2/ResponseCheckerV2Spec.scala +++ b/webapi/src/test/scala/org/knora/webapi/e2e/v2/ResponseCheckerV2Spec.scala @@ -13,7 +13,7 @@ import org.knora.webapi.util.FileUtil /** * Tests [[ResponseCheckerV2]]. */ -class ResponseCheckerV2Spec extends CoreSpec() { +class ResponseCheckerV2Spec extends CoreSpec { "ResponseCheckerV2" should { "not throw an exception if received and expected resource responses are the same" in { diff --git a/webapi/src/test/scala/org/knora/webapi/it/v2/StandoffRouteV2ITSpec.scala b/webapi/src/test/scala/org/knora/webapi/it/v2/StandoffRouteV2ITSpec.scala index cb9a2ca675..d1ba516e35 100644 --- a/webapi/src/test/scala/org/knora/webapi/it/v2/StandoffRouteV2ITSpec.scala +++ b/webapi/src/test/scala/org/knora/webapi/it/v2/StandoffRouteV2ITSpec.scala @@ -69,6 +69,10 @@ class StandoffRouteV2ITSpec extends ITKnoraLiveSpec with AuthenticationV2JsonPro RdfDataObject(path = "test_data/all_data/incunabula-data.ttl", name = "http://www.knora.org/data/incunabula"), RdfDataObject(path = "test_data/demo_data/images-demo-data.ttl", name = "http://www.knora.org/data/00FF/images"), RdfDataObject(path = "test_data/all_data/anything-data.ttl", name = "http://www.knora.org/data/anything"), + RdfDataObject( + path = "test_data/ontologies/anything-onto.ttl", + name = "http://www.knora.org/ontology/0001/anything" + ), RdfDataObject( path = "test_data/ontologies/freetest-onto.ttl", name = "http://www.knora.org/ontology/0001/freetest" diff --git a/webapi/src/test/scala/org/knora/webapi/messages/StringFormatterSpec.scala b/webapi/src/test/scala/org/knora/webapi/messages/StringFormatterSpec.scala index d3387fefa1..741436e8b6 100644 --- a/webapi/src/test/scala/org/knora/webapi/messages/StringFormatterSpec.scala +++ b/webapi/src/test/scala/org/knora/webapi/messages/StringFormatterSpec.scala @@ -19,7 +19,7 @@ import org.knora.webapi.sharedtestdata.SharedTestDataV1 /** * Tests [[StringFormatter]]. */ -class StringFormatterSpec extends CoreSpec() { +class StringFormatterSpec extends CoreSpec { private implicit val stringFormatter: StringFormatter = StringFormatter.getGeneralInstance "The StringFormatter class" should { diff --git a/webapi/src/test/scala/org/knora/webapi/messages/admin/responder/permissionsmessages/PermissionsMessagesADMSpec.scala b/webapi/src/test/scala/org/knora/webapi/messages/admin/responder/permissionsmessages/PermissionsMessagesADMSpec.scala index 6ad032b8dc..797d9f3628 100644 --- a/webapi/src/test/scala/org/knora/webapi/messages/admin/responder/permissionsmessages/PermissionsMessagesADMSpec.scala +++ b/webapi/src/test/scala/org/knora/webapi/messages/admin/responder/permissionsmessages/PermissionsMessagesADMSpec.scala @@ -22,7 +22,7 @@ import org.knora.webapi.sharedtestdata._ /** * This spec is used to test subclasses of the [[PermissionsResponderRequestADM]] class. */ -class PermissionsMessagesADMSpec extends CoreSpec() { +class PermissionsMessagesADMSpec extends CoreSpec { "Administrative Permission Get Requests" should { "return 'BadRequest' if the supplied project IRI for AdministrativePermissionsForProjectGetRequestADM is not valid" in { diff --git a/webapi/src/test/scala/org/knora/webapi/messages/util/CalendarDateUtilV2Spec.scala b/webapi/src/test/scala/org/knora/webapi/messages/util/CalendarDateUtilV2Spec.scala index fe293ca643..e988a56c6f 100644 --- a/webapi/src/test/scala/org/knora/webapi/messages/util/CalendarDateUtilV2Spec.scala +++ b/webapi/src/test/scala/org/knora/webapi/messages/util/CalendarDateUtilV2Spec.scala @@ -12,7 +12,7 @@ import org.knora.webapi.messages.util._ /** * Tests [[CalendarDateUtilV2]]. */ -class CalendarDateUtilV2Spec extends CoreSpec() { +class CalendarDateUtilV2Spec extends CoreSpec { private def checkSingleDate( calendarDate: CalendarDateV2, expectedStartJDN: Int, diff --git a/webapi/src/test/scala/org/knora/webapi/messages/util/ConstructResponseUtilV2Spec.scala b/webapi/src/test/scala/org/knora/webapi/messages/util/ConstructResponseUtilV2Spec.scala index a04b28b137..26f38f1af0 100644 --- a/webapi/src/test/scala/org/knora/webapi/messages/util/ConstructResponseUtilV2Spec.scala +++ b/webapi/src/test/scala/org/knora/webapi/messages/util/ConstructResponseUtilV2Spec.scala @@ -27,7 +27,7 @@ import org.knora.webapi.sharedtestdata.SharedTestDataADM /** * Tests [[ConstructResponseUtilV2]]. */ -class ConstructResponseUtilV2Spec extends CoreSpec() with ImplicitSender { +class ConstructResponseUtilV2Spec extends CoreSpec with ImplicitSender { private implicit val stringFormatter: StringFormatter = StringFormatter.getGeneralInstance private implicit val timeout: Timeout = 10.seconds private val incunabulaUser = SharedTestDataADM.incunabulaProjectAdminUser diff --git a/webapi/src/test/scala/org/knora/webapi/messages/util/search/SparqlTransformerSpec.scala b/webapi/src/test/scala/org/knora/webapi/messages/util/search/SparqlTransformerSpec.scala index f8b7175320..787c4603ea 100644 --- a/webapi/src/test/scala/org/knora/webapi/messages/util/search/SparqlTransformerSpec.scala +++ b/webapi/src/test/scala/org/knora/webapi/messages/util/search/SparqlTransformerSpec.scala @@ -15,7 +15,7 @@ import org.knora.webapi.util.ApacheLuceneSupport.LuceneQueryString /** * Tests [[SparqlTransformer]]. */ -class SparqlTransformerSpec extends CoreSpec() { +class SparqlTransformerSpec extends CoreSpec { protected implicit val stringFormatter: StringFormatter = StringFormatter.getGeneralInstance diff --git a/webapi/src/test/scala/org/knora/webapi/messages/util/search/gravsearch/GravsearchParserSpec.scala b/webapi/src/test/scala/org/knora/webapi/messages/util/search/gravsearch/GravsearchParserSpec.scala index 1dd01a94a5..b40fbd808f 100644 --- a/webapi/src/test/scala/org/knora/webapi/messages/util/search/gravsearch/GravsearchParserSpec.scala +++ b/webapi/src/test/scala/org/knora/webapi/messages/util/search/gravsearch/GravsearchParserSpec.scala @@ -17,7 +17,7 @@ import org.knora.webapi.messages.util.search.gravsearch.GravsearchParser /** * Tests [[GravsearchParser]]. */ -class GravsearchParserSpec extends CoreSpec() { +class GravsearchParserSpec extends CoreSpec { private implicit val stringFormatter: StringFormatter = StringFormatter.getGeneralInstance val Query: String = diff --git a/webapi/src/test/scala/org/knora/webapi/messages/util/search/gravsearch/prequery/NonTriplestoreSpecificGravsearchToCountPrequeryTransformerSpec.scala b/webapi/src/test/scala/org/knora/webapi/messages/util/search/gravsearch/prequery/NonTriplestoreSpecificGravsearchToCountPrequeryTransformerSpec.scala index ed27c8c906..3794ceeb66 100644 --- a/webapi/src/test/scala/org/knora/webapi/messages/util/search/gravsearch/prequery/NonTriplestoreSpecificGravsearchToCountPrequeryTransformerSpec.scala +++ b/webapi/src/test/scala/org/knora/webapi/messages/util/search/gravsearch/prequery/NonTriplestoreSpecificGravsearchToCountPrequeryTransformerSpec.scala @@ -79,7 +79,7 @@ private object CountQueryHandler { } -class NonTriplestoreSpecificGravsearchToCountPrequeryTransformerSpec extends CoreSpec() { +class NonTriplestoreSpecificGravsearchToCountPrequeryTransformerSpec extends CoreSpec { implicit val stringFormatter: StringFormatter = StringFormatter.getGeneralInstance diff --git a/webapi/src/test/scala/org/knora/webapi/messages/util/search/gravsearch/prequery/NonTriplestoreSpecificGravsearchToPrequeryTransformerSpec.scala b/webapi/src/test/scala/org/knora/webapi/messages/util/search/gravsearch/prequery/NonTriplestoreSpecificGravsearchToPrequeryTransformerSpec.scala index 78900e93f4..42cf3343c1 100644 --- a/webapi/src/test/scala/org/knora/webapi/messages/util/search/gravsearch/prequery/NonTriplestoreSpecificGravsearchToPrequeryTransformerSpec.scala +++ b/webapi/src/test/scala/org/knora/webapi/messages/util/search/gravsearch/prequery/NonTriplestoreSpecificGravsearchToPrequeryTransformerSpec.scala @@ -78,7 +78,7 @@ private object QueryHandler { } -class NonTriplestoreSpecificGravsearchToPrequeryTransformerSpec extends CoreSpec() { +class NonTriplestoreSpecificGravsearchToPrequeryTransformerSpec extends CoreSpec { implicit val stringFormatter: StringFormatter = StringFormatter.getGeneralInstance diff --git a/webapi/src/test/scala/org/knora/webapi/messages/util/search/gravsearch/prequery/TopologicalSortUtilSpec.scala b/webapi/src/test/scala/org/knora/webapi/messages/util/search/gravsearch/prequery/TopologicalSortUtilSpec.scala index 002dc12b16..15f8c35a65 100644 --- a/webapi/src/test/scala/org/knora/webapi/messages/util/search/gravsearch/prequery/TopologicalSortUtilSpec.scala +++ b/webapi/src/test/scala/org/knora/webapi/messages/util/search/gravsearch/prequery/TopologicalSortUtilSpec.scala @@ -14,7 +14,7 @@ import org.knora.webapi.messages.util.search.gravsearch.prequery.TopologicalSort /** * Tests [[TopologicalSortUtil]]. */ -class TopologicalSortUtilSpec extends CoreSpec() { +class TopologicalSortUtilSpec extends CoreSpec { type NodeT = Graph[Int, DiHyperEdge]#NodeT private def nodesToValues(orders: Set[Vector[NodeT]]): Set[Vector[Int]] = diff --git a/webapi/src/test/scala/org/knora/webapi/messages/util/search/gravsearch/types/GravsearchTypeInspectorSpec.scala b/webapi/src/test/scala/org/knora/webapi/messages/util/search/gravsearch/types/GravsearchTypeInspectorSpec.scala index 7d077fae52..0925ad54ec 100644 --- a/webapi/src/test/scala/org/knora/webapi/messages/util/search/gravsearch/types/GravsearchTypeInspectorSpec.scala +++ b/webapi/src/test/scala/org/knora/webapi/messages/util/search/gravsearch/types/GravsearchTypeInspectorSpec.scala @@ -23,7 +23,7 @@ import org.knora.webapi.sharedtestdata.SharedTestDataADM /** * Tests Gravsearch type inspection. */ -class GravsearchTypeInspectorSpec extends CoreSpec() with ImplicitSender { +class GravsearchTypeInspectorSpec extends CoreSpec with ImplicitSender { private val anythingAdminUser = SharedTestDataADM.anythingAdminUser private implicit val stringFormatter: StringFormatter = StringFormatter.getGeneralInstance diff --git a/webapi/src/test/scala/org/knora/webapi/messages/v2/responder/resourcesmessages/ResourcesMessagesV2Spec.scala b/webapi/src/test/scala/org/knora/webapi/messages/v2/responder/resourcesmessages/ResourcesMessagesV2Spec.scala index 1215777420..f580a7b16b 100644 --- a/webapi/src/test/scala/org/knora/webapi/messages/v2/responder/resourcesmessages/ResourcesMessagesV2Spec.scala +++ b/webapi/src/test/scala/org/knora/webapi/messages/v2/responder/resourcesmessages/ResourcesMessagesV2Spec.scala @@ -8,7 +8,7 @@ import org.knora.webapi.sharedtestdata._ /** * Tests [[ResourceMessagesV2]]. */ -class ResourcesMessagesV2Spec extends CoreSpec() { +class ResourcesMessagesV2Spec extends CoreSpec { "Get history events of all resources of a project" should { "fail if given project IRI is not valid" in { val projectIri = "invalid-project-IRI" diff --git a/webapi/src/test/scala/org/knora/webapi/responders/admin/GroupsResponderADMSpec.scala b/webapi/src/test/scala/org/knora/webapi/responders/admin/GroupsResponderADMSpec.scala index 5a6cc6e0e9..10bf97789e 100644 --- a/webapi/src/test/scala/org/knora/webapi/responders/admin/GroupsResponderADMSpec.scala +++ b/webapi/src/test/scala/org/knora/webapi/responders/admin/GroupsResponderADMSpec.scala @@ -51,8 +51,7 @@ class GroupsResponderADMSpec extends CoreSpec with ImplicitSender { "asked about a group identified by 'iri' " should { "return group info if the group is known " in { appActor ! GroupGetRequestADM( - groupIri = imagesReviewerGroup.id, - requestingUser = rootUser + groupIri = imagesReviewerGroup.id ) expectMsg(GroupGetResponseADM(imagesReviewerGroup)) @@ -60,8 +59,7 @@ class GroupsResponderADMSpec extends CoreSpec with ImplicitSender { "return 'NotFoundException' when the group is unknown " in { appActor ! GroupGetRequestADM( - groupIri = "http://rdfh.ch/groups/notexisting", - requestingUser = rootUser + groupIri = "http://rdfh.ch/groups/notexisting" ) expectMsgPF(timeout) { case msg: akka.actor.Status.Failure => diff --git a/webapi/src/test/scala/org/knora/webapi/responders/v1/OntologyResponderV1Spec.scala b/webapi/src/test/scala/org/knora/webapi/responders/v1/OntologyResponderV1Spec.scala index 3d9e04f2ed..09e8c0df47 100644 --- a/webapi/src/test/scala/org/knora/webapi/responders/v1/OntologyResponderV1Spec.scala +++ b/webapi/src/test/scala/org/knora/webapi/responders/v1/OntologyResponderV1Spec.scala @@ -34,7 +34,7 @@ object OntologyResponderV1Spec { /** * Tests [[OntologyResponderV1]]. */ -class OntologyResponderV1Spec extends CoreSpec() with ImplicitSender { +class OntologyResponderV1Spec extends CoreSpec with ImplicitSender { // The default timeout for receiving reply messages from actors. private val timeout = 10.seconds diff --git a/webapi/src/test/scala/org/knora/webapi/responders/v1/SearchResponderV1Spec.scala b/webapi/src/test/scala/org/knora/webapi/responders/v1/SearchResponderV1Spec.scala index ec8541216a..d22f0362ff 100644 --- a/webapi/src/test/scala/org/knora/webapi/responders/v1/SearchResponderV1Spec.scala +++ b/webapi/src/test/scala/org/knora/webapi/responders/v1/SearchResponderV1Spec.scala @@ -175,7 +175,7 @@ object SearchResponderV1Spec { /** * Tests [[SearchResponderV1]]. */ -class SearchResponderV1Spec extends CoreSpec() with ImplicitSender { +class SearchResponderV1Spec extends CoreSpec with ImplicitSender { import SearchResponderV1Spec._ diff --git a/webapi/src/test/scala/org/knora/webapi/responders/v2/ListsResponderV2Spec.scala b/webapi/src/test/scala/org/knora/webapi/responders/v2/ListsResponderV2Spec.scala index 5b4b1b73fd..17d4f942f6 100644 --- a/webapi/src/test/scala/org/knora/webapi/responders/v2/ListsResponderV2Spec.scala +++ b/webapi/src/test/scala/org/knora/webapi/responders/v2/ListsResponderV2Spec.scala @@ -25,7 +25,7 @@ object ListsResponderV2Spec { /** * Tests [[ListsResponderV2]]. */ -class ListsResponderV2Spec extends CoreSpec() with ImplicitSender { +class ListsResponderV2Spec extends CoreSpec with ImplicitSender { import ListsResponderV2Spec._ diff --git a/webapi/src/test/scala/org/knora/webapi/responders/v2/LoadOntologiesRequestV2Spec.scala b/webapi/src/test/scala/org/knora/webapi/responders/v2/LoadOntologiesRequestV2Spec.scala index ca55115f67..35856485f3 100644 --- a/webapi/src/test/scala/org/knora/webapi/responders/v2/LoadOntologiesRequestV2Spec.scala +++ b/webapi/src/test/scala/org/knora/webapi/responders/v2/LoadOntologiesRequestV2Spec.scala @@ -20,7 +20,7 @@ import org.knora.webapi.messages.v2.responder.ontologymessages.LoadOntologiesReq /** * Tests that the [[LoadOntologiesRequestV2]] request does not load invalid data into the cache. */ -class LoadOntologiesRequestV2Spec extends CoreSpec() with ImplicitSender { +class LoadOntologiesRequestV2Spec extends CoreSpec with ImplicitSender { private val INVALID_ONTO_NAME = "http://www.knora.org/ontology/invalid" /** diff --git a/webapi/src/test/scala/org/knora/webapi/responders/v2/OntologyResponderV2Spec.scala b/webapi/src/test/scala/org/knora/webapi/responders/v2/OntologyResponderV2Spec.scala index 7e3f86f948..85a3972679 100644 --- a/webapi/src/test/scala/org/knora/webapi/responders/v2/OntologyResponderV2Spec.scala +++ b/webapi/src/test/scala/org/knora/webapi/responders/v2/OntologyResponderV2Spec.scala @@ -59,6 +59,10 @@ class OntologyResponderV2Spec extends CoreSpec with ImplicitSender { path = "test_data/all_data/anything-data.ttl", name = "http://www.knora.org/data/0001/anything" ), + RdfDataObject( + path = "test_data/ontologies/anything-onto.ttl", + name = "http://www.knora.org/ontology/0001/anything" + ), RdfDataObject( path = "test_data/ontologies/freetest-onto.ttl", name = "http://www.knora.org/ontology/0001/freetest" diff --git a/webapi/src/test/scala/org/knora/webapi/responders/v2/ResourceUtilV2Spec.scala b/webapi/src/test/scala/org/knora/webapi/responders/v2/ResourceUtilV2Spec.scala index 7d773706f0..f29c0c676c 100644 --- a/webapi/src/test/scala/org/knora/webapi/responders/v2/ResourceUtilV2Spec.scala +++ b/webapi/src/test/scala/org/knora/webapi/responders/v2/ResourceUtilV2Spec.scala @@ -14,7 +14,7 @@ import org.knora.webapi.messages.store.triplestoremessages.RdfDataObject object ResourceUtilV2Spec {} -class ResourceUtilV2Spec extends CoreSpec() { +class ResourceUtilV2Spec extends CoreSpec { implicit val timeout: Timeout = appConfig.defaultTimeoutAsDuration implicit val ec: ExecutionContextExecutor = system.dispatcher diff --git a/webapi/src/test/scala/org/knora/webapi/responders/v2/ResourcesResponderV2Spec.scala b/webapi/src/test/scala/org/knora/webapi/responders/v2/ResourcesResponderV2Spec.scala index 3c5293806c..e38a1ed0bf 100644 --- a/webapi/src/test/scala/org/knora/webapi/responders/v2/ResourcesResponderV2Spec.scala +++ b/webapi/src/test/scala/org/knora/webapi/responders/v2/ResourcesResponderV2Spec.scala @@ -389,7 +389,7 @@ class GraphTestData { /** * Tests [[ResourcesResponderV2]]. */ -class ResourcesResponderV2Spec extends CoreSpec() with ImplicitSender { +class ResourcesResponderV2Spec extends CoreSpec with ImplicitSender { import ResourcesResponderV2Spec._ diff --git a/webapi/src/test/scala/org/knora/webapi/responders/v2/ResourcesResponseCheckerV2Spec.scala b/webapi/src/test/scala/org/knora/webapi/responders/v2/ResourcesResponseCheckerV2Spec.scala index 8e63051c90..964c0b29a8 100644 --- a/webapi/src/test/scala/org/knora/webapi/responders/v2/ResourcesResponseCheckerV2Spec.scala +++ b/webapi/src/test/scala/org/knora/webapi/responders/v2/ResourcesResponseCheckerV2Spec.scala @@ -9,7 +9,7 @@ import org.knora.webapi.CoreSpec import org.knora.webapi.messages.StringFormatter import org.knora.webapi.responders.v2.ResourcesResponseCheckerV2.compareReadResourcesSequenceV2Response -class ResourcesResponseCheckerV2Spec extends CoreSpec() { +class ResourcesResponseCheckerV2Spec extends CoreSpec { private implicit val stringFormatter: StringFormatter = StringFormatter.getGeneralInstance private val resourcesResponderV2SpecFullData = new ResourcesResponderV2SpecFullData diff --git a/webapi/src/test/scala/org/knora/webapi/responders/v2/SearchResponderV2Spec.scala b/webapi/src/test/scala/org/knora/webapi/responders/v2/SearchResponderV2Spec.scala index 4681435b35..d9b44096c9 100644 --- a/webapi/src/test/scala/org/knora/webapi/responders/v2/SearchResponderV2Spec.scala +++ b/webapi/src/test/scala/org/knora/webapi/responders/v2/SearchResponderV2Spec.scala @@ -25,7 +25,7 @@ import org.knora.webapi.sharedtestdata.SharedTestDataADM /** * Tests [[SearchResponderV2]]. */ -class SearchResponderV2Spec extends CoreSpec() with ImplicitSender { +class SearchResponderV2Spec extends CoreSpec with ImplicitSender { private implicit val stringFormatter: StringFormatter = StringFormatter.getGeneralInstance override lazy val rdfDataObjects = List( diff --git a/webapi/src/test/scala/org/knora/webapi/responders/v2/StandoffResponderV2Spec.scala b/webapi/src/test/scala/org/knora/webapi/responders/v2/StandoffResponderV2Spec.scala index 2a750000e1..c13d78012f 100644 --- a/webapi/src/test/scala/org/knora/webapi/responders/v2/StandoffResponderV2Spec.scala +++ b/webapi/src/test/scala/org/knora/webapi/responders/v2/StandoffResponderV2Spec.scala @@ -23,7 +23,7 @@ import org.knora.webapi.sharedtestdata.SharedTestDataADM /** * Tests [[StandoffResponderV2]]. */ -class StandoffResponderV2Spec extends CoreSpec() with ImplicitSender { +class StandoffResponderV2Spec extends CoreSpec with ImplicitSender { // The default timeout for receiving reply messages from actors. private val timeout = 30.seconds diff --git a/webapi/src/test/scala/org/knora/webapi/responders/v2/ValuesResponderV2Spec.scala b/webapi/src/test/scala/org/knora/webapi/responders/v2/ValuesResponderV2Spec.scala index 03124e1721..b4bbe0b33f 100644 --- a/webapi/src/test/scala/org/knora/webapi/responders/v2/ValuesResponderV2Spec.scala +++ b/webapi/src/test/scala/org/knora/webapi/responders/v2/ValuesResponderV2Spec.scala @@ -39,12 +39,14 @@ import org.knora.webapi.util.MutableTestIri /** * Tests [[ValuesResponderV2]]. */ -class ValuesResponderV2Spec extends CoreSpec() with ImplicitSender { +class ValuesResponderV2Spec extends CoreSpec with ImplicitSender { private implicit val stringFormatter: StringFormatter = StringFormatter.getGeneralInstance - private val zeitglöckleinIri = "http://rdfh.ch/0803/c5058f3a" - private val generationeIri = "http://rdfh.ch/0803/c3f913666f" - private val aThingIri = "http://rdfh.ch/0001/a-thing" + private val zeitglöckleinIri = "http://rdfh.ch/0803/c5058f3a" + private val generationeIri = "http://rdfh.ch/0803/c3f913666f" + private val aThingIri = "http://rdfh.ch/0001/a-thing" + private val freetestWithAPropertyFromAnythingOntologyIri = + "http://rdfh.ch/0001/freetest-with-a-property-from-anything-ontology" private val aThingPictureIri = "http://rdfh.ch/0001/a-thing-picture" private val sierraIri = "http://rdfh.ch/0001/0C-0L1kORryKzJAJxxRyRQ" private val thingPictureClassIri = "http://0.0.0.0:3333/ontology/0001/anything/v2#ThingPicture" @@ -62,12 +64,21 @@ class ValuesResponderV2Spec extends CoreSpec() with ImplicitSender { override lazy val effectLayers = core.LayersTest.defaultLayersTestWithMockedSipi override lazy val rdfDataObjects = List( + RdfDataObject( + path = "test_data/ontologies/freetest-onto.ttl", + name = "http://www.knora.org/ontology/0001/freetest" + ), + RdfDataObject(path = "test_data/all_data/freetest-data.ttl", name = "http://www.knora.org/data/0001/freetest"), RdfDataObject( path = "test_data/responders.v2.ValuesResponderV2Spec/incunabula-data.ttl", name = "http://www.knora.org/data/0803/incunabula" ), RdfDataObject(path = "test_data/demo_data/images-demo-data.ttl", name = "http://www.knora.org/data/00FF/images"), - RdfDataObject(path = "test_data/all_data/anything-data.ttl", name = "http://www.knora.org/data/0001/anything") + RdfDataObject(path = "test_data/all_data/anything-data.ttl", name = "http://www.knora.org/data/0001/anything"), + RdfDataObject( + path = "test_data/ontologies/anything-onto.ttl", + name = "http://www.knora.org/ontology/0001/anything" + ) ) // The default timeout for receiving reply messages from actors. @@ -75,6 +86,7 @@ class ValuesResponderV2Spec extends CoreSpec() with ImplicitSender { private val firstIntValueVersionIri = new MutableTestIri private val intValueIri = new MutableTestIri + private val intValueIriForFreetest = new MutableTestIri private val intValueIriWithCustomPermissions = new MutableTestIri private val intValueForRsyncIri = new MutableTestIri private val zeitglöckleinCommentWithoutStandoffIri = new MutableTestIri @@ -319,7 +331,6 @@ class ValuesResponderV2Spec extends CoreSpec() with ImplicitSender { maybeUpdatedLastModDate = resource.lastModificationDate ) } - getValueFromResource( resource = resource, propertyIriInResult = propertyIriInResult, @@ -536,6 +547,148 @@ class ValuesResponderV2Spec extends CoreSpec() with ImplicitSender { assert(getValuePermissions(previousValueFromTriplestore.valueIri).isEmpty) } + "create an integer value that belongs to a property of another ontology" in { + val resourceIri: IRI = freetestWithAPropertyFromAnythingOntologyIri + val propertyIri: SmartIri = + "http://0.0.0.0:3333/ontology/0001/anything/v2#hasIntegerUsedByOtherOntologies".toSmartIri + val maybeResourceLastModDate: Option[Instant] = getResourceLastModificationDate(resourceIri, anythingUser1) + + // Create the value. + val intValue = 40 + + appActor ! CreateValueRequestV2( + CreateValueV2( + resourceIri = resourceIri, + resourceClassIri = + "http://0.0.0.0:3333/ontology/0001/freetest/v2#FreetestWithAPropertyFromAnythingOntology".toSmartIri, + propertyIri = propertyIri, + valueContent = IntegerValueContentV2( + ontologySchema = ApiV2Complex, + valueHasInteger = intValue + ) + ), + requestingUser = anythingUser1, + apiRequestID = UUID.randomUUID + ) + + expectMsgPF(timeout) { case createValueResponse: CreateValueResponseV2 => + intValueIriForFreetest.set(createValueResponse.valueIri) + integerValueUUID = createValueResponse.valueUUID + } + + // Read the value back to check that it was added correctly. + + val valueFromTriplestore = getValue( + resourceIri = resourceIri, + maybePreviousLastModDate = maybeResourceLastModDate, + propertyIriForGravsearch = propertyIri, + propertyIriInResult = propertyIri, + expectedValueIri = intValueIriForFreetest.get, + requestingUser = anythingUser1 + ) + + valueFromTriplestore.valueContent match { + case savedValue: IntegerValueContentV2 => savedValue.valueHasInteger should ===(intValue) + case _ => throw AssertionException(s"Expected integer value, got $valueFromTriplestore") + } + } + + "update an integer value that belongs to a property of another ontology" in { + val resourceIri: IRI = freetestWithAPropertyFromAnythingOntologyIri + val propertyIri: SmartIri = + "http://0.0.0.0:3333/ontology/0001/anything/v2#hasIntegerUsedByOtherOntologies".toSmartIri + val maybeResourceLastModDate: Option[Instant] = getResourceLastModificationDate(resourceIri, anythingUser2) + + // Get the value before update. + val previousValueFromTriplestore: ReadValueV2 = getValue( + resourceIri = resourceIri, + maybePreviousLastModDate = maybeResourceLastModDate, + propertyIriForGravsearch = propertyIri, + propertyIriInResult = propertyIri, + expectedValueIri = intValueIriForFreetest.get, + requestingUser = anythingUser2, + checkLastModDateChanged = false + ) + + // Update the value. + val intValue: Int = 50 + + val updateValueContent: UpdateValueContentV2 = UpdateValueContentV2( + resourceIri = resourceIri, + resourceClassIri = + "http://0.0.0.0:3333/ontology/0001/freetest/v2#FreetestWithAPropertyFromAnythingOntology".toSmartIri, + propertyIri = propertyIri, + valueIri = intValueIriForFreetest.get, + valueContent = IntegerValueContentV2( + ontologySchema = ApiV2Complex, + valueHasInteger = intValue + ) + ) + + appActor ! UpdateValueRequestV2( + updateValueContent, + requestingUser = anythingUser2, + apiRequestID = UUID.randomUUID + ) + + expectMsgPF(timeout) { case updateValueResponse: UpdateValueResponseV2 => + intValueIriForFreetest.set(updateValueResponse.valueIri) + assert(updateValueResponse.valueUUID == previousValueFromTriplestore.valueHasUUID) + } + + // Read the value back to check that it was added correctly. + + val updatedValueFromTriplestore = getValue( + resourceIri = resourceIri, + maybePreviousLastModDate = maybeResourceLastModDate, + propertyIriForGravsearch = propertyIri, + propertyIriInResult = propertyIri, + expectedValueIri = intValueIriForFreetest.get, + requestingUser = anythingUser2 + ) + + updatedValueFromTriplestore.valueContent match { + case savedValue: IntegerValueContentV2 => + savedValue.valueHasInteger should ===(intValue) + updatedValueFromTriplestore.permissions should ===(previousValueFromTriplestore.permissions) + updatedValueFromTriplestore.valueHasUUID should ===(previousValueFromTriplestore.valueHasUUID) + + case _ => throw AssertionException(s"Expected integer value, got $updatedValueFromTriplestore") + } + + // Check that the permissions and UUID were deleted from the previous version of the value. + assert(getValueUUID(previousValueFromTriplestore.valueIri).isEmpty) + assert(getValuePermissions(previousValueFromTriplestore.valueIri).isEmpty) + } + + "delete an integer value that belongs to a property of another ontology" in { + val resourceIri: IRI = freetestWithAPropertyFromAnythingOntologyIri + val propertyIri: SmartIri = + "http://0.0.0.0:3333/ontology/0001/anything/v2#hasIntegerUsedByOtherOntologies".toSmartIri + val maybeResourceLastModDate: Option[Instant] = getResourceLastModificationDate(resourceIri, anythingUser2) + + appActor ! DeleteValueRequestV2( + resourceIri = resourceIri, + resourceClassIri = + "http://0.0.0.0:3333/ontology/0001/freetest/v2#FreetestWithAPropertyFromAnythingOntology".toSmartIri, + propertyIri = propertyIri, + valueIri = intValueIriForFreetest.get, + valueTypeIri = OntologyConstants.KnoraApiV2Complex.IntValue.toSmartIri, + deleteComment = Some("this value was incorrect"), + requestingUser = anythingUser2, + apiRequestID = UUID.randomUUID + ) + + expectMsgType[SuccessResponseV2](timeout) + + checkValueIsDeleted( + resourceIri = resourceIri, + maybePreviousLastModDate = maybeResourceLastModDate, + valueIri = intValueIriForFreetest.get, + requestingUser = anythingUser2 + ) + } + "not update an integer value without a comment without changing it" in { val resourceIri: IRI = aThingIri val propertyIri: SmartIri = "http://0.0.0.0:3333/ontology/0001/anything/v2#hasInteger".toSmartIri diff --git a/webapi/src/test/scala/org/knora/webapi/responders/v2/ontology/AddCardinalitiesToClassSpec.scala b/webapi/src/test/scala/org/knora/webapi/responders/v2/ontology/AddCardinalitiesToClassSpec.scala index b635c16dce..5776bce9cb 100644 --- a/webapi/src/test/scala/org/knora/webapi/responders/v2/ontology/AddCardinalitiesToClassSpec.scala +++ b/webapi/src/test/scala/org/knora/webapi/responders/v2/ontology/AddCardinalitiesToClassSpec.scala @@ -34,11 +34,16 @@ class AddCardinalitiesToClassSpec extends CoreSpec { private implicit val stringFormatter: StringFormatter = StringFormatter.getGeneralInstance - private val freeTestOntology = RdfDataObject( - path = "test_data/ontologies/freetest-onto.ttl", - name = "http://www.knora.org/ontology/0001/freetest" + override lazy val rdfDataObjects: List[RdfDataObject] = List( + RdfDataObject( + path = "test_data/ontologies/freetest-onto.ttl", + name = "http://www.knora.org/ontology/0001/freetest" + ), + RdfDataObject( + path = "test_data/ontologies/anything-onto.ttl", + name = "http://www.knora.org/ontology/0001/anything" + ) ) - override lazy val rdfDataObjects: List[RdfDataObject] = List(freeTestOntology) private def getCardinalityCountFromTriplestore(classIri: SmartIri, propertyIri: SmartIri) = { val sparqlCountQuery = diff --git a/webapi/src/test/scala/org/knora/webapi/responders/v2/ontology/OntologyHelpersSpec.scala b/webapi/src/test/scala/org/knora/webapi/responders/v2/ontology/OntologyHelpersSpec.scala index d081de7110..8d5802f9ae 100644 --- a/webapi/src/test/scala/org/knora/webapi/responders/v2/ontology/OntologyHelpersSpec.scala +++ b/webapi/src/test/scala/org/knora/webapi/responders/v2/ontology/OntologyHelpersSpec.scala @@ -26,11 +26,17 @@ class OntologyHelpersSpec extends CoreSpec { private implicit val stringFormatter: StringFormatter = StringFormatter.getGeneralInstance private implicit val timeout = 10.seconds - private val freeTestOntology = RdfDataObject( - path = "test_data/ontologies/freetest-onto.ttl", - name = "http://www.knora.org/ontology/0001/freetest" + + override lazy val rdfDataObjects: List[RdfDataObject] = List( + RdfDataObject( + path = "test_data/ontologies/freetest-onto.ttl", + name = "http://www.knora.org/ontology/0001/freetest" + ), + RdfDataObject( + path = "test_data/ontologies/anything-onto.ttl", + name = "http://www.knora.org/ontology/0001/anything" + ) ) - override lazy val rdfDataObjects: List[RdfDataObject] = List(freeTestOntology) val freetestOntologyIri: SmartIri = "http://0.0.0.0:3333/ontology/0001/freetest/v2".toSmartIri.toOntologySchema(InternalSchema) diff --git a/webapi/src/test/scala/org/knora/webapi/store/triplestore/TriplestoreServiceManagerSpec.scala b/webapi/src/test/scala/org/knora/webapi/store/triplestore/TriplestoreServiceManagerSpec.scala index ca705dd663..3d0c26a5e6 100644 --- a/webapi/src/test/scala/org/knora/webapi/store/triplestore/TriplestoreServiceManagerSpec.scala +++ b/webapi/src/test/scala/org/knora/webapi/store/triplestore/TriplestoreServiceManagerSpec.scala @@ -26,7 +26,7 @@ import org.knora.webapi.messages.store.triplestoremessages.SparqlUpdateResponse import org.knora.webapi.messages.util.rdf.SparqlSelectResult import org.knora.webapi.store.triplestore.errors.TriplestoreTimeoutException -class TriplestoreServiceManagerSpec extends CoreSpec() with ImplicitSender { +class TriplestoreServiceManagerSpec extends CoreSpec with ImplicitSender { private val timeout = 30.seconds diff --git a/webapi/src/test/scala/org/knora/webapi/util/StringLiteralSequenceV2Spec.scala b/webapi/src/test/scala/org/knora/webapi/util/StringLiteralSequenceV2Spec.scala index 8a8daea7a3..ff635fd84b 100644 --- a/webapi/src/test/scala/org/knora/webapi/util/StringLiteralSequenceV2Spec.scala +++ b/webapi/src/test/scala/org/knora/webapi/util/StringLiteralSequenceV2Spec.scala @@ -12,7 +12,7 @@ import org.knora.webapi.messages.store.triplestoremessages.StringLiteralV2 /** * Tests [[StringLiteralSequenceV2]]. */ -class StringLiteralSequenceV2Spec extends CoreSpec() { +class StringLiteralSequenceV2Spec extends CoreSpec { private val literalSeq: StringLiteralSequenceV2 = StringLiteralSequenceV2( Vector(