From 64cdce9dfa305f1e514ada184777e4c0942ef0e2 Mon Sep 17 00:00:00 2001 From: Marcin Procyk Date: Wed, 30 Mar 2022 10:24:07 +0200 Subject: [PATCH] feat(ontology)!: make knora-base:lastModificationDate required property (#2018) * make lastModificationDate required * add upgrade plugin + test * revert knora-base cardinality change * add lastModificationDate validation before leaded to cache * add knora-base:lastModificationDate to project ontologies * add knora-base:lastModificationDate to more ontologies * add knora-base:lastModificationDate to even more ontologies * fix ontology test data creation * update ontology test data * force application stop in case of bad ontology loaded to cache * update plugin test and test data * update plugin * bump up knora-base version * activate plugin * update plugin, test and test data * update plugin + cleanup * fix plugin test * minor fixes * update docs * update knora-base and plugin version * minor code improvements * fix typo --- docs/02-knora-ontologies/knora-base.md | 4 +- docs/03-apis/api-v2/ontology-information.md | 187 +- knora-ontologies/knora-base.ttl | 2 +- .../gravsearchtest1-onto.ttl | 3 +- test_data/ontologies/beol-onto.ttl | 3 +- test_data/ontologies/biblio-onto.ttl | 3 +- test_data/ontologies/dokubib-onto.ttl | 3 +- test_data/ontologies/empty-thing-onto.ttl | 3 +- test_data/ontologies/images-onto.ttl | 3 +- test_data/ontologies/incunabula-onto.ttl | 3 +- test_data/ontologies/leibniz-onto.ttl | 3 +- test_data/ontologies/newton-onto.ttl | 3 +- test_data/ontologies/something-onto.ttl | 3 +- test_data/ontologies/webern-onto.ttl | 3 +- .../ontologyR2RV2/allOntologyMetadata.jsonld | 71 +- .../ontologyR2RV2/allOntologyMetadata.rdf | 28 +- .../ontologyR2RV2/allOntologyMetadata.ttl | 55 +- .../ontologyR2RV2/anythingHasDate.jsonld | 1 - test_data/ontologyR2RV2/anythingHasDate.ttl | 16 +- .../ontologyR2RV2/anythingHasListItem.jsonld | 1 - .../ontologyR2RV2/anythingHasListItem.ttl | 16 +- .../anythingOntologyMetadata.jsonld | 11 +- .../anythingOntologyMetadata.rdf | 4 +- .../anythingOntologyMetadata.ttl | 13 +- .../anythingOntologyWithValueObjects.jsonld | 1 - .../anythingOntologyWithValueObjects.ttl | 1396 +++--- .../anythingThingWithAllLanguages.jsonld | 1 - .../anythingThingWithAllLanguages.ttl | 238 +- .../ontologyR2RV2/beolOntologyMetadata.jsonld | 21 +- .../ontologyR2RV2/beolOntologyMetadata.rdf | 34 +- .../ontologyR2RV2/beolOntologyMetadata.ttl | 20 +- .../boxOntologyWithValueObjects.jsonld | 1 - .../boxOntologyWithValueObjects.ttl | 108 +- test_data/ontologyR2RV2/imagesBild.jsonld | 5 +- test_data/ontologyR2RV2/imagesBild.rdf | 571 ++- test_data/ontologyR2RV2/imagesBild.ttl | 237 +- test_data/ontologyR2RV2/imagesTitel.jsonld | 5 +- test_data/ontologyR2RV2/imagesTitel.rdf | 50 +- test_data/ontologyR2RV2/imagesTitel.ttl | 21 +- test_data/ontologyR2RV2/incunabulaBook.jsonld | 5 +- test_data/ontologyR2RV2/incunabulaBook.rdf | 481 +- test_data/ontologyR2RV2/incunabulaBook.ttl | 199 +- .../incunabulaOntologyMetadata.jsonld | 11 +- .../incunabulaOntologyMetadata.rdf | 24 +- .../incunabulaOntologyMetadata.ttl | 13 +- .../incunabulaOntologySimple.jsonld | 1 - .../incunabulaOntologySimple.ttl | 294 +- .../incunabulaOntologyWithValueObjects.jsonld | 5 +- .../incunabulaOntologyWithValueObjects.rdf | 2454 ++++++---- .../incunabulaOntologyWithValueObjects.ttl | 677 +-- test_data/ontologyR2RV2/incunabulaPage.jsonld | 5 +- test_data/ontologyR2RV2/incunabulaPage.rdf | 511 +- test_data/ontologyR2RV2/incunabulaPage.ttl | 203 +- ...cunabulaPageAndBookWithValueObjects.jsonld | 5 +- .../incunabulaPageAndBookWithValueObjects.rdf | 964 ++-- .../incunabulaPageAndBookWithValueObjects.ttl | 393 +- .../ontologyR2RV2/incunabulaPartOf.jsonld | 5 +- test_data/ontologyR2RV2/incunabulaPartOf.rdf | 53 +- test_data/ontologyR2RV2/incunabulaPartOf.ttl | 21 +- .../incunabulaSimplePubDate.jsonld | 1 - .../ontologyR2RV2/incunabulaSimplePubDate.ttl | 14 +- .../incunabulaWithValueObjectsPubDate.jsonld | 5 +- .../incunabulaWithValueObjectsPubDate.rdf | 52 +- .../incunabulaWithValueObjectsPubDate.ttl | 21 +- test_data/ontologyR2RV2/knoraApiDate.jsonld | 1 - test_data/ontologyR2RV2/knoraApiDate.ttl | 12 +- .../ontologyR2RV2/knoraApiDateValue.jsonld | 1 - test_data/ontologyR2RV2/knoraApiDateValue.ttl | 112 +- .../knoraApiOntologySimple.jsonld | 1 - .../ontologyR2RV2/knoraApiOntologySimple.ttl | 446 +- .../knoraApiOntologyWithValueObjects.jsonld | 1 - .../knoraApiOntologyWithValueObjects.ttl | 4092 ++++++++--------- .../knoraApiSimpleHasColor.jsonld | 1 - .../ontologyR2RV2/knoraApiSimpleHasColor.ttl | 12 +- .../knoraApiWithValueObjectsHasColor.jsonld | 1 - .../knoraApiWithValueObjectsHasColor.ttl | 14 +- .../minimalOntologyWithValueObjects.jsonld | 1 - .../minimalOntologyWithValueObjects.ttl | 16 +- .../ontologyR2RV2/salsahGuiOntology.jsonld | 1 - test_data/ontologyR2RV2/salsahGuiOntology.ttl | 56 +- .../standoffOntologyWithValueObjects.jsonld | 1 - .../standoffOntologyWithValueObjects.ttl | 1456 +++--- .../drawings-gods_ontology.ttl | 3 +- .../parole-religieuse-dummy-onto.ttl | 3 +- .../lumieres-lausanne-onto.ttl | 3 +- .../cardinality-with-guiattribute-onto.ttl | 3 +- .../cardinality-with-guielement-onto.ttl | 3 +- .../class-incompatible-with-scc-onto.ttl | 3 +- .../class-inherits-prop-and-subprop-onto.ttl | 3 +- ...ss-with-cardinality-on-kbhasvalue-onto.ttl | 3 +- ...ass-with-cardinality-on-kbresprop-onto.ttl | 3 +- ...ass-with-misdefined-link-property-onto.ttl | 3 +- ...th-misdefined-link-value-property-onto.ttl | 3 +- ...ith-mismatched-link-cardinalities-onto.ttl | 3 +- .../class-with-missing-property-onto.ttl | 3 +- ...ith-non-resource-prop-cardinality-onto.ttl | 3 +- .../class-with-non-shared-base-class.ttl | 3 +- .../class-with-non-shared-cardinality.ttl | 3 +- .../class-without-label-onto.ttl | 5 +- .../conflicting-cardinalities-onto.ttl | 3 +- .../filevalue-prop-onto.ttl | 3 +- .../invalid-card-on-boolean-prop.ttl | 3 +- .../missing-link-cardinality-onto.ttl | 3 +- .../missing-link-value-cardinality-onto.ttl | 3 +- .../onto-without-project.ttl | 5 +- .../prop-both-value-and-link-onto.ttl | 3 +- .../prop-with-guielement-scc-onto.ttl | 3 +- .../prop-with-guiorder-onto.ttl | 3 +- .../prop-with-incompatible-occ-onto.ttl | 3 +- .../prop-with-non-knora-occ-onto.ttl | 3 +- .../prop-with-non-knora-scc-onto.ttl | 3 +- .../prop-with-non-shared-base-prop.ttl | 3 +- .../prop-with-non-shared-occ.ttl | 3 +- .../prop-with-non-shared-scc.ttl | 3 +- .../prop-with-value-scc-onto.ttl | 3 +- .../property-without-label-onto.ttl | 5 +- .../resource-class-is-standoff-class-onto.ttl | 3 +- ...rce-class-with-invalid-base-class-onto.ttl | 3 +- .../resource-prop-without-label-onto.ttl | 3 +- .../resource-prop-without-occ-onto.ttl | 3 +- .../resource-prop-wrong-base-onto.ttl | 3 +- ...off-class-with-invalid-base-class-onto.ttl | 3 +- ...ff-class-with-resprop-cardinality-onto.ttl | 3 +- .../transitive-prop.ttl | 3 +- test_data/upgrade/pr2018.trig | 39 + .../knora/webapi/app/ApplicationActor.scala | 9 +- .../knora/webapi/exceptions/Exceptions.scala | 3 + .../main/scala/org/knora/webapi/package.scala | 2 +- .../webapi/responders/v2/ontology/Cache.scala | 22 + .../upgrade/RepositoryUpdatePlan.scala | 12 +- .../upgrade/plugins/UpgradePluginPR1746.scala | 2 +- .../upgrade/plugins/UpgradePluginPR1921.scala | 4 +- .../upgrade/plugins/UpgradePluginPR2018.scala | 83 + .../webapi/e2e/v2/OntologyV2R2RSpec.scala | 7 +- .../plugins/UpgradePluginPR2018Spec.scala | 51 + 135 files changed, 8757 insertions(+), 7402 deletions(-) create mode 100644 test_data/upgrade/pr2018.trig create mode 100644 webapi/src/main/scala/org/knora/webapi/store/triplestore/upgrade/plugins/UpgradePluginPR2018.scala create mode 100644 webapi/src/test/scala/org/knora/webapi/store/triplestore/upgrade/plugins/UpgradePluginPR2018Spec.scala diff --git a/docs/02-knora-ontologies/knora-base.md b/docs/02-knora-ontologies/knora-base.md index c12a54b350..a5300fc98f 100644 --- a/docs/02-knora-ontologies/knora-base.md +++ b/docs/02-knora-ontologies/knora-base.md @@ -49,8 +49,8 @@ the `kb:isInProject` property, as described in ### Ontologies -Each user-created ontology must be defined as an `owl:Ontology` with the properties `rdfs:label` -and `kb:attachedToProject`. +Each user-created ontology must be defined as an `owl:Ontology` with the properties `rdfs:label` and `kb:attachedToProject`. +Since [DSP-API v19](https://github.com/dasch-swiss/dsp-api/releases/tag/v19.0.0) `kb:lastModificationDate` property is also required. ### Resources diff --git a/docs/03-apis/api-v2/ontology-information.md b/docs/03-apis/api-v2/ontology-information.md index 18a5eaf71a..d74ff7ef1b 100644 --- a/docs/03-apis/api-v2/ontology-information.md +++ b/docs/03-apis/api-v2/ontology-information.md @@ -40,54 +40,157 @@ The response is in the complex API v2 schema. Sample response: ```json { - "@graph" : [ { - "@id" : "http://0.0.0.0:3333/ontology/00FF/images/v2", - "@type" : "owl:Ontology", - "knora-api:attachedToProject" : { - "@id" : "http://rdfh.ch/projects/00FF" + "@graph": [ + { + "knora-api:lastModificationDate": { + "@value": "2017-12-19T15:23:42.166Z", + "@type": "xsd:dateTimeStamp" + }, + "rdfs:label": "The anything ontology", + "knora-api:attachedToProject": { + "@id": "http://rdfh.ch/projects/0001" + }, + "@type": "owl:Ontology", + "@id": "http://0.0.0.0:3333/ontology/0001/anything/v2" }, - "rdfs:label" : "The images demo ontology" - }, { - "@id" : "http://0.0.0.0:3333/ontology/0801/beol/v2", - "@type" : "owl:Ontology", - "knora-api:attachedToProject" : { - "@id" : "http://rdfh.ch/projects/yTerZGyxjZVqFMNNKXCDPF" + { + "knora-api:lastModificationDate": { + "@value": "2022-03-23T07:14:17.445208Z", + "@type": "xsd:dateTimeStamp" + }, + "rdfs:label": "The something ontology", + "knora-api:attachedToProject": { + "@id": "http://rdfh.ch/projects/0001" + }, + "@type": "owl:Ontology", + "@id": "http://0.0.0.0:3333/ontology/0001/something/v2" }, - "rdfs:label" : "The BEOL ontology" - }, { - "@id" : "http://0.0.0.0:3333/ontology/0804/dokubib/v2", - "@type" : "owl:Ontology", - "knora-api:attachedToProject" : { - "@id" : "http://rdfh.ch/projects/0804" + { + "knora-api:lastModificationDate": { + "@value": "2022-03-23T07:14:17.445208Z", + "@type": "xsd:dateTimeStamp" + }, + "rdfs:label": "The images demo ontology", + "knora-api:attachedToProject": { + "@id": "http://rdfh.ch/projects/00FF" + }, + "@type": "owl:Ontology", + "@id": "http://0.0.0.0:3333/ontology/00FF/images/v2" }, - "rdfs:label" : "The dokubib ontology" - }, { - "@id" : "http://api.knora.org/ontology/salsah-gui/v2", - "@type" : "owl:Ontology", - "knora-api:attachedToProject" : { - "@id" : "http://www.knora.org/ontology/knora-base#SystemProject" + { + "knora-api:lastModificationDate": { + "@value": "2022-03-23T07:14:17.445208Z", + "@type": "xsd:dateTimeStamp" + }, + "rdfs:label": "The BEOL ontology", + "knora-api:attachedToProject": { + "@id": "http://rdfh.ch/projects/yTerZGyxjZVqFMNNKXCDPF" + }, + "@type": "owl:Ontology", + "@id": "http://0.0.0.0:3333/ontology/0801/beol/v2" }, - "rdfs:label" : "The salsah-gui ontology" - }, { - "@id" : "http://api.knora.org/ontology/standoff/v2", - "@type" : "owl:Ontology", - "knora-api:attachedToProject" : { - "@id" : "http://www.knora.org/ontology/knora-base#SystemProject" + { + "knora-api:lastModificationDate": { + "@value": "2022-03-23T07:14:17.445208Z", + "@type": "xsd:dateTimeStamp" + }, + "rdfs:label": "The Biblio ontology", + "knora-api:attachedToProject": { + "@id": "http://rdfh.ch/projects/yTerZGyxjZVqFMNNKXCDPF" + }, + "@type": "owl:Ontology", + "@id": "http://0.0.0.0:3333/ontology/0801/biblio/v2" }, - "rdfs:label" : "The standoff ontology" - }, { - "@id": "http://knora.unil.ch/ontology/0001/anything/v2", - "@type": "owl:Ontology", - "knora-api:attachedToProject": { - "@id": "http://rdfh.ch/projects/0001" + { + "knora-api:lastModificationDate": { + "@value": "2022-03-23T07:14:17.445208Z", + "@type": "xsd:dateTimeStamp" + }, + "rdfs:label": "The Newton-Project ontology", + "knora-api:attachedToProject": { + "@id": "http://rdfh.ch/projects/yTerZGyxjZVqFMNNKXCDPF" + }, + "@type": "owl:Ontology", + "@id": "http://0.0.0.0:3333/ontology/0801/newton/v2" }, - "knora-api:lastModificationDate": "2017-12-19T15:23:42.166Z", - "rdfs:label": "The anything ontology" - } ], - "@context" : { - "knora-api" : "http://api.knora.org/ontology/knora-api/v2#", - "rdfs" : "http://www.w3.org/2000/01/rdf-schema#", - "owl" : "http://www.w3.org/2002/07/owl#" + { + "knora-api:lastModificationDate": { + "@value": "2022-03-23T07:14:17.445208Z", + "@type": "xsd:dateTimeStamp" + }, + "rdfs:label": "The incunabula ontology", + "knora-api:attachedToProject": { + "@id": "http://rdfh.ch/projects/0803" + }, + "@type": "owl:Ontology", + "@id": "http://0.0.0.0:3333/ontology/0803/incunabula/v2" + }, + { + "knora-api:lastModificationDate": { + "@value": "2022-03-23T07:14:17.445208Z", + "@type": "xsd:dateTimeStamp" + }, + "rdfs:label": "The dokubib ontology", + "knora-api:attachedToProject": { + "@id": "http://rdfh.ch/projects/0804" + }, + "@type": "owl:Ontology", + "@id": "http://0.0.0.0:3333/ontology/0804/dokubib/v2" + }, + { + "knora-api:lastModificationDate": { + "@value": "2022-03-23T07:14:17.445208Z", + "@type": "xsd:dateTimeStamp" + }, + "rdfs:label": "The Anton Webern project ontology", + "knora-api:attachedToProject": { + "@id": "http://rdfh.ch/projects/08AE" + }, + "@type": "owl:Ontology", + "@id": "http://0.0.0.0:3333/ontology/08AE/webern/v2" + }, + { + "rdfs:label": "The Knora admin ontology", + "knora-api:attachedToProject": { + "@id": "http://www.knora.org/ontology/knora-admin#SystemProject" + }, + "knora-api:isBuiltIn": true, + "@type": "owl:Ontology", + "@id": "http://api.knora.org/ontology/knora-admin/v2" + }, + { + "rdfs:label": "The knora-api ontology in the complex schema", + "knora-api:attachedToProject": { + "@id": "http://www.knora.org/ontology/knora-admin#SystemProject" + }, + "knora-api:isBuiltIn": true, + "@type": "owl:Ontology", + "@id": "http://api.knora.org/ontology/knora-api/v2" + }, + { + "rdfs:label": "The salsah-gui ontology", + "knora-api:attachedToProject": { + "@id": "http://www.knora.org/ontology/knora-admin#SystemProject" + }, + "knora-api:isBuiltIn": true, + "@type": "owl:Ontology", + "@id": "http://api.knora.org/ontology/salsah-gui/v2" + }, + { + "rdfs:label": "The standoff ontology", + "knora-api:attachedToProject": { + "@id": "http://www.knora.org/ontology/knora-admin#SystemProject" + }, + "knora-api:isBuiltIn": true, + "@type": "owl:Ontology", + "@id": "http://api.knora.org/ontology/standoff/v2" + } + ], + "@context": { + "knora-api": "http://api.knora.org/ontology/knora-api/v2#", + "xsd": "http://www.w3.org/2001/XMLSchema#", + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", + "owl": "http://www.w3.org/2002/07/owl#" } } ``` diff --git a/knora-ontologies/knora-base.ttl b/knora-ontologies/knora-base.ttl index 97036bf611..8302a5a7a3 100644 --- a/knora-ontologies/knora-base.ttl +++ b/knora-ontologies/knora-base.ttl @@ -21,7 +21,7 @@ :attachedToProject knora-admin:SystemProject ; - :ontologyVersion "knora-base v14" . + :ontologyVersion "knora-base v20" . diff --git a/test_data/e2e.v2.SearchRouteV2R2RSpec/gravsearchtest1-onto.ttl b/test_data/e2e.v2.SearchRouteV2R2RSpec/gravsearchtest1-onto.ttl index e021fdacdb..98ca711a97 100644 --- a/test_data/e2e.v2.SearchRouteV2R2RSpec/gravsearchtest1-onto.ttl +++ b/test_data/e2e.v2.SearchRouteV2R2RSpec/gravsearchtest1-onto.ttl @@ -9,7 +9,8 @@ a owl:Ontology ; rdfs:label "Test ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . gravsearchtest1:isInProjectValue rdf:type owl:ObjectProperty ; rdfs:subPropertyOf knora-base:hasLinkToValue ; diff --git a/test_data/ontologies/beol-onto.ttl b/test_data/ontologies/beol-onto.ttl index e758cddf49..7d86359c7b 100644 --- a/test_data/ontologies/beol-onto.ttl +++ b/test_data/ontologies/beol-onto.ttl @@ -15,7 +15,8 @@ rdf:type owl:Ontology ; rdfs:label "The BEOL ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . ########################################################## # diff --git a/test_data/ontologies/biblio-onto.ttl b/test_data/ontologies/biblio-onto.ttl index a4c6d6002a..6846c709f3 100644 --- a/test_data/ontologies/biblio-onto.ttl +++ b/test_data/ontologies/biblio-onto.ttl @@ -16,7 +16,8 @@ rdf:type owl:Ontology ; rdfs:label "The Biblio ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . ################################################################# diff --git a/test_data/ontologies/dokubib-onto.ttl b/test_data/ontologies/dokubib-onto.ttl index 5aeee50f47..d27f4bc94f 100644 --- a/test_data/ontologies/dokubib-onto.ttl +++ b/test_data/ontologies/dokubib-onto.ttl @@ -14,7 +14,8 @@ rdf:type owl:Ontology ; rdfs:label "The dokubib ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . ########################################################## # diff --git a/test_data/ontologies/empty-thing-onto.ttl b/test_data/ontologies/empty-thing-onto.ttl index f3e0105576..c29cf3afa9 100644 --- a/test_data/ontologies/empty-thing-onto.ttl +++ b/test_data/ontologies/empty-thing-onto.ttl @@ -16,7 +16,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The empty thing ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :EmptyThing rdf:type owl:Class ; diff --git a/test_data/ontologies/images-onto.ttl b/test_data/ontologies/images-onto.ttl index 01c73a5891..a16c64ca77 100644 --- a/test_data/ontologies/images-onto.ttl +++ b/test_data/ontologies/images-onto.ttl @@ -14,7 +14,8 @@ rdf:type owl:Ontology ; rdfs:label "The images demo ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . ########################################################## # diff --git a/test_data/ontologies/incunabula-onto.ttl b/test_data/ontologies/incunabula-onto.ttl index 0d31e737e7..443a6f57e5 100644 --- a/test_data/ontologies/incunabula-onto.ttl +++ b/test_data/ontologies/incunabula-onto.ttl @@ -13,7 +13,8 @@ rdf:type owl:Ontology ; rdfs:label "The incunabula ontology"@en ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . ########################################################## # diff --git a/test_data/ontologies/leibniz-onto.ttl b/test_data/ontologies/leibniz-onto.ttl index 1843ad70a9..7594ebadce 100644 --- a/test_data/ontologies/leibniz-onto.ttl +++ b/test_data/ontologies/leibniz-onto.ttl @@ -17,7 +17,8 @@ rdf:type owl:Ontology ; rdfs:label "The Briefportal Leibniz ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . ########################################################## # diff --git a/test_data/ontologies/newton-onto.ttl b/test_data/ontologies/newton-onto.ttl index b8a00ed44a..c63243f143 100644 --- a/test_data/ontologies/newton-onto.ttl +++ b/test_data/ontologies/newton-onto.ttl @@ -17,7 +17,8 @@ rdf:type owl:Ontology ; rdfs:label "The Newton-Project ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . ########################################################## # diff --git a/test_data/ontologies/something-onto.ttl b/test_data/ontologies/something-onto.ttl index fccd54b87a..3e37950d4a 100644 --- a/test_data/ontologies/something-onto.ttl +++ b/test_data/ontologies/something-onto.ttl @@ -16,7 +16,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The something ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :Something rdf:type owl:Class ; diff --git a/test_data/ontologies/webern-onto.ttl b/test_data/ontologies/webern-onto.ttl index b3dbefb20f..ac977300b4 100644 --- a/test_data/ontologies/webern-onto.ttl +++ b/test_data/ontologies/webern-onto.ttl @@ -12,7 +12,8 @@ rdf:type owl:Ontology ; rdfs:label "The Anton Webern project ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . ########################################################## # diff --git a/test_data/ontologyR2RV2/allOntologyMetadata.jsonld b/test_data/ontologyR2RV2/allOntologyMetadata.jsonld index dd646280d4..f1a2a22b72 100644 --- a/test_data/ontologyR2RV2/allOntologyMetadata.jsonld +++ b/test_data/ontologyR2RV2/allOntologyMetadata.jsonld @@ -1,4 +1,3 @@ - { "@graph": [ { @@ -38,60 +37,88 @@ "@id": "http://0.0.0.0:3333/ontology/0001/minimal/v2" }, { - "@id": "http://0.0.0.0:3333/ontology/0001/something/v2", - "@type": "owl:Ontology", + "knora-api:lastModificationDate": { + "@value": "2012-12-12T12:12:12.120Z", + "@type": "xsd:dateTimeStamp" + }, + "rdfs:label": "The something ontology", "knora-api:attachedToProject": { "@id": "http://rdfh.ch/projects/0001" }, - "rdfs:label": "The something ontology" + "@type": "owl:Ontology", + "@id": "http://0.0.0.0:3333/ontology/0001/something/v2" }, { - "@id": "http://0.0.0.0:3333/ontology/00FF/images/v2", - "@type": "owl:Ontology", + "knora-api:lastModificationDate": { + "@value": "2012-12-12T12:12:12.120Z", + "@type": "xsd:dateTimeStamp" + }, + "rdfs:label": "The images demo ontology", "knora-api:attachedToProject": { "@id": "http://rdfh.ch/projects/00FF" }, - "rdfs:label": "The images demo ontology" + "@type": "owl:Ontology", + "@id": "http://0.0.0.0:3333/ontology/00FF/images/v2" }, { - "@id": "http://0.0.0.0:3333/ontology/0801/beol/v2", - "@type": "owl:Ontology", + "knora-api:lastModificationDate": { + "@value": "2012-12-12T12:12:12.120Z", + "@type": "xsd:dateTimeStamp" + }, + "rdfs:label": "The BEOL ontology", "knora-api:attachedToProject": { "@id": "http://rdfh.ch/projects/yTerZGyxjZVqFMNNKXCDPF" }, - "rdfs:label": "The BEOL ontology" + "@type": "owl:Ontology", + "@id": "http://0.0.0.0:3333/ontology/0801/beol/v2" }, { - "@id": "http://0.0.0.0:3333/ontology/0801/biblio/v2", - "@type": "owl:Ontology", + "knora-api:lastModificationDate": { + "@value": "2012-12-12T12:12:12.120Z", + "@type": "xsd:dateTimeStamp" + }, + "rdfs:label": "The Biblio ontology", "knora-api:attachedToProject": { "@id": "http://rdfh.ch/projects/yTerZGyxjZVqFMNNKXCDPF" }, - "rdfs:label": "The Biblio ontology" + "@type": "owl:Ontology", + "@id": "http://0.0.0.0:3333/ontology/0801/biblio/v2" }, { - "@id": "http://0.0.0.0:3333/ontology/0803/incunabula/v2", - "@type": "owl:Ontology", + "knora-api:lastModificationDate": { + "@value": "2012-12-12T12:12:12.120Z", + "@type": "xsd:dateTimeStamp" + }, + "rdfs:label": "The incunabula ontology", "knora-api:attachedToProject": { "@id": "http://rdfh.ch/projects/0803" }, - "rdfs:label": "The incunabula ontology" + "@type": "owl:Ontology", + "@id": "http://0.0.0.0:3333/ontology/0803/incunabula/v2" }, { - "@id": "http://0.0.0.0:3333/ontology/0804/dokubib/v2", - "@type": "owl:Ontology", + "knora-api:lastModificationDate": { + "@value": "2012-12-12T12:12:12.120Z", + "@type": "xsd:dateTimeStamp" + }, + "rdfs:label": "The dokubib ontology", "knora-api:attachedToProject": { "@id": "http://rdfh.ch/projects/0804" }, - "rdfs:label": "The dokubib ontology" + "@type": "owl:Ontology", + "@id": "http://0.0.0.0:3333/ontology/0804/dokubib/v2" }, { - "@id": "http://0.0.0.0:3333/ontology/0806/webern/v2", - "@type": "owl:Ontology", + "knora-api:lastModificationDate": { + "@value": "2012-12-12T12:12:12.120Z", + "@type": "xsd:dateTimeStamp" + }, + "rdfs:label": "The Anton Webern project ontology", "knora-api:attachedToProject": { "@id": "http://rdfh.ch/projects/0806" }, - "rdfs:label": "The Anton Webern project ontology" + "@type": "owl:Ontology", + "@id": "http://0.0.0.0:3333/ontology/0806/webern/v2" }, { "rdfs:label": "The Knora admin ontology", diff --git a/test_data/ontologyR2RV2/allOntologyMetadata.rdf b/test_data/ontologyR2RV2/allOntologyMetadata.rdf index 47dd39e019..b33bcb0919 100644 --- a/test_data/ontologyR2RV2/allOntologyMetadata.rdf +++ b/test_data/ontologyR2RV2/allOntologyMetadata.rdf @@ -11,8 +11,10 @@ The Knora admin ontology - The images demo ontology + The images demo ontology + 2012-12-12T12:12:12.120Z The salsah-gui ontology - The Biblio ontology + The Biblio ontology + 2012-12-12T12:12:12.120Z @@ -55,20 +59,28 @@ >2012-12-12T12:12:12.120Z - The Anton Webern project ontology + The Anton Webern project ontology + 2012-12-12T12:12:12.120Z - The BEOL ontology + The BEOL ontology + 2012-12-12T12:12:12.120Z - The dokubib ontology + The dokubib ontology + 2012-12-12T12:12:12.120Z - The incunabula ontology + The incunabula ontology + 2012-12-12T12:12:12.120Z 2018-09-10T14:53:00Z - The something ontology + The something ontology + 2012-12-12T12:12:12.120Z diff --git a/test_data/ontologyR2RV2/allOntologyMetadata.ttl b/test_data/ontologyR2RV2/allOntologyMetadata.ttl index 2bc82d2e43..6a9d699d7a 100644 --- a/test_data/ontologyR2RV2/allOntologyMetadata.ttl +++ b/test_data/ontologyR2RV2/allOntologyMetadata.ttl @@ -1,12 +1,13 @@ -@prefix owl: . -@prefix xsd: . -@prefix rdfs: . @prefix knora-api: . +@prefix owl: . +@prefix rdfs: . +@prefix xsd: . - a owl:Ontology ; - rdfs:label "The something ontology" ; - knora-api:attachedToProject . + a owl:Ontology ; + rdfs:label "The something ontology" ; + knora-api:attachedToProject ; + knora-api:lastModificationDate "2012-12-12T12:12:12.120Z"^^xsd:dateTimeStamp . a owl:Ontology ; @@ -21,9 +22,10 @@ knora-api:isBuiltIn true . - a owl:Ontology ; - rdfs:label "The Anton Webern project ontology" ; - knora-api:attachedToProject . + a owl:Ontology ; + rdfs:label "The Anton Webern project ontology" ; + knora-api:attachedToProject ; + knora-api:lastModificationDate "2012-12-12T12:12:12.120Z"^^xsd:dateTimeStamp . a owl:Ontology ; @@ -32,9 +34,10 @@ knora-api:isBuiltIn true . - a owl:Ontology ; - rdfs:label "The dokubib ontology" ; - knora-api:attachedToProject . + a owl:Ontology ; + rdfs:label "The dokubib ontology" ; + knora-api:attachedToProject ; + knora-api:lastModificationDate "2012-12-12T12:12:12.120Z"^^xsd:dateTimeStamp . a owl:Ontology ; @@ -44,9 +47,10 @@ knora-api:lastModificationDate "2018-09-10T14:53:00Z"^^xsd:dateTimeStamp . - a owl:Ontology ; - rdfs:label "The images demo ontology" ; - knora-api:attachedToProject . + a owl:Ontology ; + rdfs:label "The images demo ontology" ; + knora-api:attachedToProject ; + knora-api:lastModificationDate "2012-12-12T12:12:12.120Z"^^xsd:dateTimeStamp . a owl:Ontology ; @@ -55,14 +59,16 @@ knora-api:isBuiltIn true . - a owl:Ontology ; - rdfs:label "The Biblio ontology" ; - knora-api:attachedToProject . + a owl:Ontology ; + rdfs:label "The Biblio ontology" ; + knora-api:attachedToProject ; + knora-api:lastModificationDate "2012-12-12T12:12:12.120Z"^^xsd:dateTimeStamp . - a owl:Ontology ; - rdfs:label "The incunabula ontology" ; - knora-api:attachedToProject . + a owl:Ontology ; + rdfs:label "The incunabula ontology" ; + knora-api:attachedToProject ; + knora-api:lastModificationDate "2012-12-12T12:12:12.120Z"^^xsd:dateTimeStamp . a owl:Ontology ; @@ -71,9 +77,10 @@ knora-api:lastModificationDate "2012-12-12T12:12:12.120Z"^^xsd:dateTimeStamp . - a owl:Ontology ; - rdfs:label "The BEOL ontology" ; - knora-api:attachedToProject . + a owl:Ontology ; + rdfs:label "The BEOL ontology" ; + knora-api:attachedToProject ; + knora-api:lastModificationDate "2012-12-12T12:12:12.120Z"^^xsd:dateTimeStamp . a owl:Ontology ; diff --git a/test_data/ontologyR2RV2/anythingHasDate.jsonld b/test_data/ontologyR2RV2/anythingHasDate.jsonld index 49a262b87a..23a951fa9b 100644 --- a/test_data/ontologyR2RV2/anythingHasDate.jsonld +++ b/test_data/ontologyR2RV2/anythingHasDate.jsonld @@ -1,4 +1,3 @@ - { "knora-api:lastModificationDate": { "@value": "2017-12-19T15:23:42.166Z", diff --git a/test_data/ontologyR2RV2/anythingHasDate.ttl b/test_data/ontologyR2RV2/anythingHasDate.ttl index 9851b097d6..9e83aae4e7 100644 --- a/test_data/ontologyR2RV2/anythingHasDate.ttl +++ b/test_data/ontologyR2RV2/anythingHasDate.ttl @@ -1,18 +1,18 @@ -@prefix rdf: . -@prefix owl: . +@prefix anything: . +@prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . @prefix salsah-gui: . -@prefix xsd: . -@prefix rdfs: . -@prefix knora-api: . -@prefix anything: . +@prefix xsd: . - a owl:Ontology ; + rdf:type owl:Ontology ; rdfs:label "The anything ontology" ; knora-api:attachedToProject ; knora-api:lastModificationDate "2017-12-19T15:23:42.166Z"^^xsd:dateTimeStamp . -anything:hasDate a owl:ObjectProperty ; +anything:hasDate rdf:type owl:ObjectProperty ; rdfs:label "Date" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:isEditable true ; diff --git a/test_data/ontologyR2RV2/anythingHasListItem.jsonld b/test_data/ontologyR2RV2/anythingHasListItem.jsonld index 45a824d5b2..097ebaab14 100644 --- a/test_data/ontologyR2RV2/anythingHasListItem.jsonld +++ b/test_data/ontologyR2RV2/anythingHasListItem.jsonld @@ -1,4 +1,3 @@ - { "knora-api:lastModificationDate": { "@value": "2017-12-19T15:23:42.166Z", diff --git a/test_data/ontologyR2RV2/anythingHasListItem.ttl b/test_data/ontologyR2RV2/anythingHasListItem.ttl index b044f95dc2..ee8457e4be 100644 --- a/test_data/ontologyR2RV2/anythingHasListItem.ttl +++ b/test_data/ontologyR2RV2/anythingHasListItem.ttl @@ -1,18 +1,18 @@ -@prefix rdf: . -@prefix owl: . +@prefix anything: . +@prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . @prefix salsah-gui: . -@prefix xsd: . -@prefix rdfs: . -@prefix knora-api: . -@prefix anything: . +@prefix xsd: . - a owl:Ontology ; + rdf:type owl:Ontology ; rdfs:label "The anything ontology" ; knora-api:attachedToProject ; knora-api:lastModificationDate "2017-12-19T15:23:42.166Z"^^xsd:dateTimeStamp . -anything:hasListItem a owl:ObjectProperty ; +anything:hasListItem rdf:type owl:ObjectProperty ; rdfs:label "List element" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:isEditable true ; diff --git a/test_data/ontologyR2RV2/anythingOntologyMetadata.jsonld b/test_data/ontologyR2RV2/anythingOntologyMetadata.jsonld index 1dd913191f..47812c8253 100644 --- a/test_data/ontologyR2RV2/anythingOntologyMetadata.jsonld +++ b/test_data/ontologyR2RV2/anythingOntologyMetadata.jsonld @@ -1,4 +1,3 @@ - { "@graph": [ { @@ -38,12 +37,16 @@ "@id": "http://0.0.0.0:3333/ontology/0001/minimal/v2" }, { - "@id": "http://0.0.0.0:3333/ontology/0001/something/v2", - "@type": "owl:Ontology", + "knora-api:lastModificationDate": { + "@value": "2012-12-12T12:12:12.120Z", + "@type": "xsd:dateTimeStamp" + }, + "rdfs:label": "The something ontology", "knora-api:attachedToProject": { "@id": "http://rdfh.ch/projects/0001" }, - "rdfs:label": "The something ontology" + "@type": "owl:Ontology", + "@id": "http://0.0.0.0:3333/ontology/0001/something/v2" } ], "@context": { diff --git a/test_data/ontologyR2RV2/anythingOntologyMetadata.rdf b/test_data/ontologyR2RV2/anythingOntologyMetadata.rdf index 6730a84dfc..a4f287dd59 100644 --- a/test_data/ontologyR2RV2/anythingOntologyMetadata.rdf +++ b/test_data/ontologyR2RV2/anythingOntologyMetadata.rdf @@ -23,7 +23,9 @@ >2012-12-12T12:12:12.120Z - The something ontology + The something ontology + 2012-12-12T12:12:12.120Z diff --git a/test_data/ontologyR2RV2/anythingOntologyMetadata.ttl b/test_data/ontologyR2RV2/anythingOntologyMetadata.ttl index 153b361080..66f726aef0 100644 --- a/test_data/ontologyR2RV2/anythingOntologyMetadata.ttl +++ b/test_data/ontologyR2RV2/anythingOntologyMetadata.ttl @@ -1,7 +1,7 @@ -@prefix owl: . -@prefix xsd: . -@prefix rdfs: . @prefix knora-api: . +@prefix owl: . +@prefix rdfs: . +@prefix xsd: . a owl:Ontology ; @@ -16,9 +16,10 @@ knora-api:lastModificationDate "2019-09-10T08:57:46.633162Z"^^xsd:dateTimeStamp . - a owl:Ontology ; - rdfs:label "The something ontology" ; - knora-api:attachedToProject . + a owl:Ontology ; + rdfs:label "The something ontology" ; + knora-api:attachedToProject ; + knora-api:lastModificationDate "2012-12-12T12:12:12.120Z"^^xsd:dateTimeStamp . a owl:Ontology ; diff --git a/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.jsonld b/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.jsonld index 9e8924f290..cebd37242f 100644 --- a/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.jsonld +++ b/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.jsonld @@ -1,4 +1,3 @@ - { "knora-api:lastModificationDate": { "@value": "2017-12-19T15:23:42.166Z", diff --git a/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.ttl b/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.ttl index 944b4d9902..f552ecb14e 100644 --- a/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.ttl +++ b/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.ttl @@ -1,12 +1,12 @@ -@prefix rdf: . -@prefix owl: . +@prefix anything: . +@prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . @prefix salsah-gui: . -@prefix xsd: . -@prefix rdfs: . -@prefix knora-api: . -@prefix anything: . +@prefix xsd: . -anything:hasGeoname a owl:ObjectProperty ; +anything:hasGeoname rdf:type owl:ObjectProperty ; rdfs:label "Geoname" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:isEditable true ; @@ -16,7 +16,7 @@ anything:hasGeoname a owl:ObjectProperty ; salsah-gui:guiElement salsah-gui:Geonames . anything:hasThingPicture - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:label "Picture of a thing" ; rdfs:subPropertyOf knora-api:hasRepresentation ; knora-api:isEditable true ; @@ -27,7 +27,7 @@ anything:hasThingPicture salsah-gui:guiElement salsah-gui:Searchbox . anything:hasOtherListItem - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:label "Other list element" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:isEditable true ; @@ -37,241 +37,241 @@ anything:hasOtherListItem salsah-gui:guiAttribute "hlist=" ; salsah-gui:guiElement salsah-gui:List . -anything:BlueThing a owl:Class ; +anything:hasPictureTitle + 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 anything:ThingPicture ; + salsah-gui:guiAttribute "size=80" , "maxlength=255" ; + salsah-gui:guiElement salsah-gui:SimpleText . + +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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 2 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasText + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 12 ; + salsah-gui:guiOrder 4 ; owl:minCardinality 0 ; - owl:onProperty anything:hasGeoname - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty anything:hasInteger ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:hasStandoffLinkToValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a 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:hasBlueThingValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 2 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasRichtext + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; + salsah-gui:guiOrder 5 ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:onProperty anything:hasDecimal ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 63 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasBlueThingValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 13 ; + salsah-gui:guiOrder 9 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingPicture + owl:onProperty anything:hasInterval ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + salsah-gui:guiOrder 7 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasUri ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 10 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasColor + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 15 ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:isPartOfOtherThingValue + owl:onProperty anything:hasTimeStamp ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 63 ; owl:minCardinality 0 ; owl:onProperty anything:hasBlueThing ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:lastModificationDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; owl:onProperty anything:hasThingPictureValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + salsah-gui:guiOrder 12 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasGeoname + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 ; + salsah-gui:guiOrder 6 ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty anything:hasBoolean ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 3 ; + salsah-gui:guiOrder 11 ; owl:minCardinality 0 ; - owl:onProperty anything:hasDate + owl:onProperty anything:hasGeometry ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 7 ; + salsah-gui:guiOrder 3 ; owl:minCardinality 0 ; - owl:onProperty anything:hasUri + owl:onProperty anything:hasDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + salsah-gui:guiOrder 0 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasOtherListItem ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 4 ; + salsah-gui:guiOrder 0 ; owl:minCardinality 0 ; - owl:onProperty anything:hasInteger + owl:onProperty anything:hasListItem ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 0 ; + salsah-gui:guiOrder 10 ; owl:minCardinality 0 ; - owl:onProperty anything:hasOtherListItem + owl:onProperty anything:hasColor ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; owl:onProperty anything:hasThingDocument ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 11 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasGeometry + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + salsah-gui:guiOrder 15 ; + owl:minCardinality 0 ; + owl:onProperty anything:isPartOfOtherThingValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 5 ; + salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; - owl:onProperty anything:hasDecimal + owl:onProperty anything:hasRichtext ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasTimeStamp + owl:onProperty anything:hasThingPicture ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 13 ; + salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingDocumentValue + owl:onProperty anything:hasText ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 6 ; - owl:maxCardinality 1 ; - owl:onProperty anything:hasBoolean + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; salsah-gui:guiOrder 15 ; owl:minCardinality 0 ; owl:onProperty anything:isPartOfOtherThing ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 9 ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasInterval + owl:onProperty anything:hasThingDocumentValue ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . -anything:hasPictureTitle - a 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 anything:ThingPicture ; - salsah-gui:guiAttribute "size=80" , "maxlength=255" ; - salsah-gui:guiElement salsah-gui:SimpleText . - anything:thingHasRegion - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:label "has region" ; rdfs:subPropertyOf knora-api:hasLinkTo ; knora-api:isEditable true ; @@ -282,110 +282,110 @@ anything:thingHasRegion salsah-gui:guiElement salsah-gui:Searchbox . anything:ThingPicture - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Diese Resource-Klasse beschreibt ein Bild eines Dinges" ; rdfs:label "Picture of a thing" ; rdfs:subClassOf knora-api:StillImageRepresentation ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasStillImageFileValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty anything:hasPictureTitle ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:cardinality 1 ; owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:attachedToProject ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:deleteDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:attachedToUser + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate + ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; knora-api:resourceIcon "thing.png" . anything:hasDocumentTitle - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:label "document title" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:isEditable true ; @@ -395,7 +395,7 @@ anything:hasDocumentTitle salsah-gui:guiAttribute "size=80" , "maxlength=255" ; salsah-gui:guiElement salsah-gui:SimpleText . -anything:hasInteger a owl:ObjectProperty ; +anything:hasInteger rdf:type owl:ObjectProperty ; rdfs:label "Integer" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:isEditable true ; @@ -406,237 +406,237 @@ anything:hasInteger a owl:ObjectProperty ; salsah-gui:guiElement salsah-gui:Spinbox . anything:ThingWithSeqnum - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Diese Resource-Klasse beschreibt ein Ding mit einer Sequenznummer" ; rdfs:label "Thing with sequence number" ; rdfs:subClassOf anything:Thing ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 10 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasColor + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 2 ; + salsah-gui:guiOrder 4 ; owl:minCardinality 0 ; - owl:onProperty anything:hasText + owl:onProperty anything:hasInteger ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 2 ; + salsah-gui:guiOrder 7 ; owl:minCardinality 0 ; - owl:onProperty anything:hasRichtext + owl:onProperty anything:hasUri ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 13 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasThingDocument + salsah-gui:guiOrder 6 ; + owl:maxCardinality 1 ; + owl:onProperty anything:hasBoolean ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 9 ; + salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; - owl:onProperty anything:hasInterval + owl:onProperty anything:hasRichtext ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 13 ; + salsah-gui:guiOrder 10 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingPictureValue + owl:onProperty anything:hasColor ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 13 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasTimeStamp + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 knora-api:attachedToProject ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 100 ; - owl:minCardinality 0 ; - owl:onProperty knora-api:seqnum + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + salsah-gui:guiOrder 0 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasOtherListItem ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 7 ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasUri + owl:onProperty anything:hasThingDocument ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 12 ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasGeoname + owl:onProperty anything:hasTimeStamp ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 4 ; owl:minCardinality 0 ; - owl:onProperty anything:hasInteger - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:hasIncomingLinkValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 6 ; - owl:maxCardinality 1 ; - owl:onProperty anything:hasBoolean + salsah-gui:guiOrder 1 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasOtherThingValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + salsah-gui:guiOrder 13 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasThingPicture ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 1 ; + salsah-gui:guiOrder 11 ; owl:minCardinality 0 ; - owl:onProperty anything:hasOtherThing + owl:onProperty anything:hasGeometry + ] ; + 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 ; + salsah-gui:guiOrder 5 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasDecimal + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; salsah-gui:guiOrder 0 ; owl:minCardinality 0 ; owl:onProperty anything:hasListItem ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingDocumentValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty anything:hasThingPictureValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; + salsah-gui:guiOrder 15 ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:onProperty anything:isPartOfOtherThing ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - salsah-gui:guiOrder 3 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasDate + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 1 ; owl:minCardinality 0 ; - owl:onProperty anything:hasOtherThingValue + owl:onProperty knora-api:hasStandoffLinkToValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 15 ; + salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; - owl:onProperty anything:isPartOfOtherThing + owl:onProperty anything:hasText ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:lastModificationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + salsah-gui:guiOrder 9 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasInterval ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + salsah-gui:guiOrder 3 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; + salsah-gui:guiOrder 1 ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty anything:hasOtherThing ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + salsah-gui:guiOrder 12 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasGeoname ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingPicture + owl:onProperty anything:hasThingDocumentValue ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . anything:isPartOfOtherThing - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:label "is part of" ; rdfs:subPropertyOf knora-api:isPartOf ; knora-api:isEditable true ; @@ -647,7 +647,7 @@ anything:isPartOfOtherThing salsah-gui:guiElement salsah-gui:Searchbox . anything:thingHasRegionValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:label "has region" ; rdfs:subPropertyOf knora-api:hasLinkToValue ; knora-api:isEditable true ; @@ -657,7 +657,7 @@ anything:thingHasRegionValue knora-api:subjectType anything:ThingWithRegion . anything:hasThingDocumentValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:label "document about a thing" ; rdfs:subPropertyOf knora-api:hasRepresentationValue ; knora-api:isEditable true ; @@ -668,7 +668,7 @@ anything:hasThingDocumentValue salsah-gui:guiElement salsah-gui:Searchbox . anything:hasBlueThingValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:label "A blue thing" ; rdfs:subPropertyOf anything:hasOtherThingValue ; knora-api:isEditable true ; @@ -677,7 +677,7 @@ anything:hasBlueThingValue knora-api:objectType knora-api:LinkValue ; knora-api:subjectType anything:Thing . -anything:hasGeometry a owl:ObjectProperty ; +anything:hasGeometry rdf:type owl:ObjectProperty ; rdfs:label "Geometry" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:isEditable true ; @@ -687,100 +687,100 @@ anything:hasGeometry a owl:ObjectProperty ; salsah-gui:guiElement salsah-gui:Geometry . anything:TrivialThing - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Diese Resource-Klasse beschreibt ein unbedeutendes Ding" ; rdfs:label "Trivial thing" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:lastModificationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkToValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:creationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:hasIncomingLinkValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:versionDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:onProperty rdfs:label ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; knora-api:resourceIcon "thing.png" . -anything:hasDecimal a owl:ObjectProperty ; +anything:hasDecimal rdf:type owl:ObjectProperty ; rdfs:label "Decimal number" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:isEditable true ; @@ -791,12 +791,12 @@ anything:hasDecimal a owl:ObjectProperty ; salsah-gui:guiElement salsah-gui:SimpleText . anything:standoffEventTagHasDescription - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; knora-api:objectType xsd:string ; knora-api:subjectType anything:StandoffEventTag . anything:hasThingDocument - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:label "document about a thing" ; rdfs:subPropertyOf knora-api:hasRepresentation ; knora-api:isEditable true ; @@ -807,7 +807,7 @@ anything:hasThingDocument salsah-gui:guiElement salsah-gui:Searchbox . anything:hasBlueThing - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:label "A blue thing" ; rdfs:subPropertyOf anything:hasOtherThing ; knora-api:isEditable true ; @@ -818,109 +818,109 @@ anything:hasBlueThing salsah-gui:guiElement salsah-gui:Searchbox . anything:ThingDocument - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "A document about a thing" ; rdfs:label "Document" ; rdfs:subClassOf knora-api:DocumentRepresentation ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty anything:hasDocumentTitle ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:versionDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a 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:attachedToProject ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:creationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:lastModificationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasDocumentFileValue + ] ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasDocumentFileValue + owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; knora-api:resourceIcon "thing.png" . -anything:hasRichtext a owl:ObjectProperty ; +anything:hasRichtext rdf:type owl:ObjectProperty ; rdfs:label "Text" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:isEditable true ; @@ -929,7 +929,7 @@ anything:hasRichtext a owl:ObjectProperty ; knora-api:subjectType anything:Thing ; salsah-gui:guiElement salsah-gui:Richtext . -anything:hasInterval a owl:ObjectProperty ; +anything:hasInterval rdf:type owl:ObjectProperty ; rdfs:label "Time interval" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:isEditable true ; @@ -939,7 +939,7 @@ anything:hasInterval a owl:ObjectProperty ; salsah-gui:guiElement salsah-gui:Interval . anything:isPartOfOtherThingValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:label "is part of" ; rdfs:subPropertyOf knora-api:isPartOfValue ; knora-api:isEditable true ; @@ -950,99 +950,99 @@ anything:isPartOfOtherThingValue salsah-gui:guiElement salsah-gui:Searchbox . anything:ThingWithRegion - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "A thing with a region" ; rdfs:label "Thing with region" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ a owl:Restriction ; + 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:versionDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:lastModificationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty anything:thingHasRegion + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLinkValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty anything:thingHasRegionValue + ] ; + 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 [ a owl:Restriction ; + 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 [ a 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 anything:thingHasRegion ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty anything:thingHasRegionValue + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToProject ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteDate @@ -1050,7 +1050,7 @@ anything:ThingWithRegion knora-api:canBeInstantiated true ; knora-api:isResourceClass true . -anything:hasListItem a owl:ObjectProperty ; +anything:hasListItem rdf:type owl:ObjectProperty ; rdfs:label "List element" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:isEditable true ; @@ -1061,7 +1061,7 @@ anything:hasListItem a owl:ObjectProperty ; salsah-gui:guiElement salsah-gui:List . anything:hasThingPictureValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:label "Picture of a thing" ; rdfs:subPropertyOf knora-api:hasRepresentationValue ; knora-api:isEditable true ; @@ -1071,316 +1071,316 @@ anything:hasThingPictureValue knora-api:subjectType anything:Thing ; salsah-gui:guiElement salsah-gui:Searchbox . -anything:Thing a owl:Class ; +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 [ a owl:Restriction ; - salsah-gui:guiOrder 1 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasOtherThing + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 13 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 15 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingDocumentValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty anything:isPartOfOtherThing ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:hasIncomingLinkValue ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 2 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 5 ; owl:minCardinality 0 ; - owl:onProperty anything:hasText + owl:onProperty anything:hasDecimal ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 10 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 9 ; owl:minCardinality 0 ; - owl:onProperty anything:hasColor + owl:onProperty anything:hasInterval ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 9 ; + 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 ; + salsah-gui:guiOrder 1 ; owl:minCardinality 0 ; - owl:onProperty anything:hasInterval + owl:onProperty anything:hasOtherThing ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingDocument + owl:onProperty anything:hasThingDocument + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 10 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasColor ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 15 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:isPartOfOtherThingValue + owl:onProperty anything:hasThingPicture ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - salsah-gui:guiOrder 2 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 11 ; owl:minCardinality 0 ; - owl:onProperty anything:hasRichtext + owl:onProperty anything:hasGeometry + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 13 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasThingPictureValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 0 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasListItem ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 15 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 4 ; owl:minCardinality 0 ; - owl:onProperty anything:isPartOfOtherThing + owl:onProperty anything:hasInteger ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 0 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 15 ; owl:minCardinality 0 ; - owl:onProperty anything:hasOtherListItem + owl:onProperty anything:isPartOfOtherThingValue ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 5 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; - owl:onProperty anything:hasDecimal + owl:onProperty anything:hasText ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 3 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 7 ; owl:minCardinality 0 ; - owl:onProperty anything:hasDate + owl:onProperty anything:hasUri ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 6 ; - owl:maxCardinality 1 ; - owl:onProperty anything:hasBoolean - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 13 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasThingPictureValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - salsah-gui:guiOrder 1 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasOtherThingValue + owl:onProperty anything:hasThingDocumentValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; owl:onProperty anything:hasTimeStamp ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 12 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; - owl:onProperty anything:hasGeoname + owl:onProperty anything:hasRichtext ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 4 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasInteger + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; - rdfs:subClassOf [ a 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:userHasPermission ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 7 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 12 ; owl:minCardinality 0 ; - owl:onProperty anything:hasUri + owl:onProperty anything:hasGeoname ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 0 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 1 ; owl:minCardinality 0 ; - owl:onProperty anything:hasListItem + owl:onProperty anything:hasOtherThingValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - salsah-gui:guiOrder 11 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasGeometry + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 6 ; + owl:maxCardinality 1 ; + owl:onProperty anything:hasBoolean ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 3 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 0 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasOtherListItem ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:hasStandoffLinkToValue ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; knora-api:resourceIcon "thing.png" . anything:StandoffEventTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents an event in a TextValue" ; rdfs:label "Represents an event in a TextValue" ; rdfs:subClassOf knora-api:StandoffDateTag ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndEra - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasStartParent ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasEndMonth - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:dateValueHasCalendar ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:dateValueHasEndEra ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:dateValueHasStartYear ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndYear + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty anything:standoffEventTagHasDescription + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:dateValueHasEndDay ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasCalendar + owl:onProperty knora-api:standoffTagHasEnd ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty anything:standoffEventTagHasDescription + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:dateValueHasStartMonth ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:dateValueHasEndYear ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:dateValueHasEndMonth ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:standoffTagHasStartParentIndex ] ; knora-api:isStandoffClass true . -anything:hasText a owl:ObjectProperty ; +anything:hasText rdf:type owl:ObjectProperty ; rdfs:label "Text" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:isEditable true ; @@ -1390,7 +1390,7 @@ anything:hasText a owl:ObjectProperty ; salsah-gui:guiAttribute "size=80" , "maxlength=255" ; salsah-gui:guiElement salsah-gui:SimpleText . -anything:hasUri a owl:ObjectProperty ; +anything:hasUri rdf:type owl:ObjectProperty ; rdfs:label "URI" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:isEditable true ; @@ -1401,7 +1401,7 @@ anything:hasUri a owl:ObjectProperty ; salsah-gui:guiElement salsah-gui:SimpleText . anything:hasOtherThing - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:label "Another thing" ; rdfs:subPropertyOf knora-api:hasLinkTo ; knora-api:isEditable true ; @@ -1412,31 +1412,31 @@ anything:hasOtherThing salsah-gui:guiElement salsah-gui:Searchbox . - a owl:Ontology ; + rdf:type owl:Ontology ; rdfs:label "The anything ontology" ; knora-api:attachedToProject ; knora-api:lastModificationDate "2017-12-19T15:23:42.166Z"^^xsd:dateTimeStamp . -anything:hasDate a owl:ObjectProperty ; - rdfs:label "Date" ; +anything:hasColor rdf:type owl:ObjectProperty ; + rdfs:label "Color" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:isEditable true ; knora-api:isResourceProperty true ; - knora-api:objectType knora-api:DateValue ; + knora-api:objectType knora-api:ColorValue ; knora-api:subjectType anything:Thing ; - salsah-gui:guiElement salsah-gui:Date . + salsah-gui:guiElement salsah-gui:Colorpicker . -anything:hasColor a owl:ObjectProperty ; - rdfs:label "Color" ; +anything:hasDate rdf:type owl:ObjectProperty ; + rdfs:label "Date" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:isEditable true ; knora-api:isResourceProperty true ; - knora-api:objectType knora-api:ColorValue ; + knora-api:objectType knora-api:DateValue ; knora-api:subjectType anything:Thing ; - salsah-gui:guiElement salsah-gui:Colorpicker . + salsah-gui:guiElement salsah-gui:Date . anything:hasTimeStamp - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:label "Timestamp" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:isEditable true ; @@ -1445,7 +1445,7 @@ anything:hasTimeStamp knora-api:subjectType anything:Thing ; salsah-gui:guiElement salsah-gui:TimeStamp . -anything:hasBoolean a owl:ObjectProperty ; +anything:hasBoolean rdf:type owl:ObjectProperty ; rdfs:label "Boolean value" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:isEditable true ; @@ -1455,108 +1455,108 @@ anything:hasBoolean a owl:ObjectProperty ; salsah-gui:guiElement salsah-gui:Checkbox . anything:ThingWithRepresentation - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "A thing with a representation" ; rdfs:label "Thing with representation" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasRepresentationValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:attachedToProject ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:userHasPermission ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasRepresentation + owl:onProperty knora-api:hasRepresentationValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLinkValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasRepresentation ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . anything:hasOtherThingValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:label "Another thing" ; rdfs:subPropertyOf knora-api:hasLinkToValue ; knora-api:isEditable true ; diff --git a/test_data/ontologyR2RV2/anythingThingWithAllLanguages.jsonld b/test_data/ontologyR2RV2/anythingThingWithAllLanguages.jsonld index 4a5cb99ce6..56e4da6361 100644 --- a/test_data/ontologyR2RV2/anythingThingWithAllLanguages.jsonld +++ b/test_data/ontologyR2RV2/anythingThingWithAllLanguages.jsonld @@ -1,4 +1,3 @@ - { "knora-api:lastModificationDate": { "@value": "2017-12-19T15:23:42.166Z", diff --git a/test_data/ontologyR2RV2/anythingThingWithAllLanguages.ttl b/test_data/ontologyR2RV2/anythingThingWithAllLanguages.ttl index 83f9537726..ebb082604c 100644 --- a/test_data/ontologyR2RV2/anythingThingWithAllLanguages.ttl +++ b/test_data/ontologyR2RV2/anythingThingWithAllLanguages.ttl @@ -1,215 +1,215 @@ -@prefix rdf: . -@prefix owl: . +@prefix anything: . +@prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . @prefix salsah-gui: . -@prefix xsd: . -@prefix rdfs: . -@prefix knora-api: . -@prefix anything: . +@prefix xsd: . - a owl:Ontology ; + rdf:type owl:Ontology ; rdfs:label "The anything ontology" ; knora-api:attachedToProject ; knora-api:lastModificationDate "2017-12-19T15:23:42.166Z"^^xsd:dateTimeStamp . -anything:Thing a owl:Class ; +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 [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - salsah-gui:guiOrder 15 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 0 ; owl:minCardinality 0 ; - owl:onProperty anything:isPartOfOtherThing - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty anything:hasOtherListItem ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 13 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasTimeStamp ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 2 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 7 ; owl:minCardinality 0 ; - owl:onProperty anything:hasRichtext + owl:onProperty anything:hasUri ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; owl:onProperty anything:hasText ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingPicture + owl:onProperty anything:hasThingDocument ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLinkValue ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 1 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 12 ; owl:minCardinality 0 ; - owl:onProperty anything:hasOtherThing + owl:onProperty anything:hasGeoname ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 11 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasGeometry ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 3 ; owl:minCardinality 0 ; owl:onProperty anything:hasDate ] ; - rdfs:subClassOf [ a 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 anything:hasDecimal ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 1 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasOtherThingValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - salsah-gui:guiOrder 11 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 4 ; owl:minCardinality 0 ; - owl:onProperty anything:hasGeometry + owl:onProperty anything:hasInteger ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:cardinality 1 ; + owl:onProperty knora-api:userHasPermission + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 6 ; owl:maxCardinality 1 ; owl:onProperty anything:hasBoolean ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 13 ; + 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 15 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingDocument + owl:onProperty anything:isPartOfOtherThing ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 13 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasThingPictureValue + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 13 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingDocumentValue + owl:onProperty anything:hasRichtext ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 15 ; - owl:minCardinality 0 ; - owl:onProperty anything:isPartOfOtherThingValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 10 ; owl:minCardinality 0 ; owl:onProperty anything:hasColor ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 ; + salsah-gui:guiOrder 0 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasListItem ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:lastModificationDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 4 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasInteger + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 9 ; owl:minCardinality 0 ; owl:onProperty anything:hasInterval ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - salsah-gui:guiOrder 5 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasDecimal + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 1 ; owl:minCardinality 0 ; - owl:onProperty anything:hasOtherThingValue + owl:onProperty anything:hasOtherThing ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - salsah-gui:guiOrder 12 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasGeoname + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 7 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasUri + owl:onProperty anything:hasThingPictureValue ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 0 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasListItem + owl:onProperty anything:hasThingPicture ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:creationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 13 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasTimeStamp - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 0 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasOtherListItem + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; diff --git a/test_data/ontologyR2RV2/beolOntologyMetadata.jsonld b/test_data/ontologyR2RV2/beolOntologyMetadata.jsonld index 07c8669019..6cf61c834e 100644 --- a/test_data/ontologyR2RV2/beolOntologyMetadata.jsonld +++ b/test_data/ontologyR2RV2/beolOntologyMetadata.jsonld @@ -1,21 +1,28 @@ - { "@graph": [ { - "@id": "http://0.0.0.0:3333/ontology/0801/beol/v2", - "@type": "owl:Ontology", + "knora-api:lastModificationDate": { + "@value": "2012-12-12T12:12:12.120Z", + "@type": "xsd:dateTimeStamp" + }, + "rdfs:label": "The BEOL ontology", "knora-api:attachedToProject": { "@id": "http://rdfh.ch/projects/yTerZGyxjZVqFMNNKXCDPF" }, - "rdfs:label": "The BEOL ontology" + "@type": "owl:Ontology", + "@id": "http://0.0.0.0:3333/ontology/0801/beol/v2" }, { - "@id": "http://0.0.0.0:3333/ontology/0801/biblio/v2", - "@type": "owl:Ontology", + "knora-api:lastModificationDate": { + "@value": "2012-12-12T12:12:12.120Z", + "@type": "xsd:dateTimeStamp" + }, + "rdfs:label": "The Biblio ontology", "knora-api:attachedToProject": { "@id": "http://rdfh.ch/projects/yTerZGyxjZVqFMNNKXCDPF" }, - "rdfs:label": "The Biblio ontology" + "@type": "owl:Ontology", + "@id": "http://0.0.0.0:3333/ontology/0801/biblio/v2" } ], "@context": { diff --git a/test_data/ontologyR2RV2/beolOntologyMetadata.rdf b/test_data/ontologyR2RV2/beolOntologyMetadata.rdf index 876583f4cd..0a4609f629 100644 --- a/test_data/ontologyR2RV2/beolOntologyMetadata.rdf +++ b/test_data/ontologyR2RV2/beolOntologyMetadata.rdf @@ -1,17 +1,19 @@ - - - - The BEOL ontology - - - - The Biblio ontology - - - \ No newline at end of file + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:owl="http://www.w3.org/2002/07/owl#" + xmlns:knora-api="http://api.knora.org/ontology/knora-api/v2#" + xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" + xmlns:xsd="http://www.w3.org/2001/XMLSchema#"> + + + The Biblio ontology + 2012-12-12T12:12:12.120Z + + + + The BEOL ontology + 2012-12-12T12:12:12.120Z + + diff --git a/test_data/ontologyR2RV2/beolOntologyMetadata.ttl b/test_data/ontologyR2RV2/beolOntologyMetadata.ttl index e58a0ef05b..05e154b2fa 100644 --- a/test_data/ontologyR2RV2/beolOntologyMetadata.ttl +++ b/test_data/ontologyR2RV2/beolOntologyMetadata.ttl @@ -1,14 +1,16 @@ -@prefix owl: . -@prefix xsd: . -@prefix rdfs: . @prefix knora-api: . +@prefix owl: . +@prefix rdfs: . +@prefix xsd: . - a owl:Ontology ; - rdfs:label "The Biblio ontology" ; - knora-api:attachedToProject . + a owl:Ontology ; + rdfs:label "The Biblio ontology" ; + knora-api:attachedToProject ; + knora-api:lastModificationDate "2012-12-12T12:12:12.120Z"^^xsd:dateTimeStamp . - a owl:Ontology ; - rdfs:label "The BEOL ontology" ; - knora-api:attachedToProject . + a owl:Ontology ; + rdfs:label "The BEOL ontology" ; + knora-api:attachedToProject ; + knora-api:lastModificationDate "2012-12-12T12:12:12.120Z"^^xsd:dateTimeStamp . diff --git a/test_data/ontologyR2RV2/boxOntologyWithValueObjects.jsonld b/test_data/ontologyR2RV2/boxOntologyWithValueObjects.jsonld index 127218a7db..accbd0d0a2 100644 --- a/test_data/ontologyR2RV2/boxOntologyWithValueObjects.jsonld +++ b/test_data/ontologyR2RV2/boxOntologyWithValueObjects.jsonld @@ -1,4 +1,3 @@ - { "knora-api:lastModificationDate": { "@value": "2018-09-10T14:53:00Z", diff --git a/test_data/ontologyR2RV2/boxOntologyWithValueObjects.ttl b/test_data/ontologyR2RV2/boxOntologyWithValueObjects.ttl index f788b56452..07f2cdbea7 100644 --- a/test_data/ontologyR2RV2/boxOntologyWithValueObjects.ttl +++ b/test_data/ontologyR2RV2/boxOntologyWithValueObjects.ttl @@ -1,110 +1,110 @@ -@prefix rdf: . -@prefix owl: . -@prefix salsah-gui: . -@prefix xsd: . @prefix example-box: . -@prefix rdfs: . -@prefix knora-api: . +@prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . +@prefix salsah-gui: . +@prefix xsd: . -example-box:Box a owl:Class ; +example-box:Box rdf:type owl:Class ; rdfs:comment "A shared thing." ; rdfs:label "shared thing" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:versionDate ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 0 ; - owl:maxCardinality 1 ; - owl:onProperty example-box:hasName + owl:onProperty knora-api:userHasPermission ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:lastModificationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:onProperty knora-api:hasStandoffLinkToValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; knora-api:resourceIcon "thing.png" . -example-box:hasName a owl:ObjectProperty ; +example-box:hasName rdf:type owl:ObjectProperty ; rdfs:comment "Has name." ; rdfs:label "has name" ; rdfs:subPropertyOf knora-api:hasValue ; @@ -115,7 +115,7 @@ example-box:hasName a owl:ObjectProperty ; salsah-gui:guiElement salsah-gui:SimpleText . - a owl:Ontology ; + rdf:type owl:Ontology ; rdfs:label "An example of a shared ontology" ; knora-api:attachedToProject ; knora-api:isShared true ; diff --git a/test_data/ontologyR2RV2/imagesBild.jsonld b/test_data/ontologyR2RV2/imagesBild.jsonld index 2438216280..46fc519a11 100644 --- a/test_data/ontologyR2RV2/imagesBild.jsonld +++ b/test_data/ontologyR2RV2/imagesBild.jsonld @@ -1,5 +1,8 @@ - { + "knora-api:lastModificationDate": { + "@value": "2012-12-12T12:12:12.120Z", + "@type": "xsd:dateTimeStamp" + }, "rdfs:label": "The images demo ontology", "@graph": [ { diff --git a/test_data/ontologyR2RV2/imagesBild.rdf b/test_data/ontologyR2RV2/imagesBild.rdf index 8b68fec0ac..f3a28a85a4 100644 --- a/test_data/ontologyR2RV2/imagesBild.rdf +++ b/test_data/ontologyR2RV2/imagesBild.rdf @@ -1,233 +1,340 @@ - - - - The images demo ontology - - - true - true - bild.png - An image of the demo image collection - Image - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 0 - - - - true - 1 - - - - true - 0 - - - - true - 0 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - 0 - 1 - - - - 1 - 1 - - - - 2 - 1 - - - - 3 - 1 - - - - 4 - 1 - - - - 5 - 1 - - - - 6 - 1 - - - - 7 - 0 - - - - 7 - 0 - - - - 8 - 1 - - - - 9 - 1 - - - - 10 - 1 - - - - 11 - 1 - - - - 12 - 1 - - - - 12 - 1 - - - - 13 - 1 - - - - 13 - 1 - - - - \ No newline at end of file + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:images="http://0.0.0.0:3333/ontology/00FF/images/v2#" + xmlns:owl="http://www.w3.org/2002/07/owl#" + xmlns:salsah-gui="http://api.knora.org/ontology/salsah-gui/v2#" + xmlns:knora-api="http://api.knora.org/ontology/knora-api/v2#" + xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" + xmlns:xsd="http://www.w3.org/2001/XMLSchema#"> + + + The images demo ontology + 2012-12-12T12:12:12.120Z + + + + + true + 1 + + + + + + 9 + 1 + + + + + + 5 + 1 + + + + + + true + 0 + + + + + + 1 + 1 + + + + + + true + 1 + + + + + + 11 + 1 + + + + Image + + + true + 1 + + + + true + + + true + 1 + + + + + + true + 1 + + + + + + 7 + 0 + + + + + + 3 + 1 + + + + + + 13 + 1 + + + + + + true + 1 + + + + + + 7 + 0 + + + + + + 10 + 1 + + + + + + true + 0 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + 4 + 1 + + + + + + 12 + 1 + + + + + + true + 1 + + + + bild.png + + + true + 1 + + + + An image of the demo image collection + + + 0 + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + 6 + 1 + + + + + + true + 0 + + + + true + + + 2 + 1 + + + + + + 13 + 1 + + + + + + + 8 + 1 + + + + + + 12 + 1 + + + + + diff --git a/test_data/ontologyR2RV2/imagesBild.ttl b/test_data/ontologyR2RV2/imagesBild.ttl index 926a787a32..759cd1e764 100644 --- a/test_data/ontologyR2RV2/imagesBild.ttl +++ b/test_data/ontologyR2RV2/imagesBild.ttl @@ -1,195 +1,196 @@ -@prefix images: . -@prefix rdf: . -@prefix owl: . +@prefix images: . +@prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . @prefix salsah-gui: . -@prefix xsd: . -@prefix rdfs: . -@prefix knora-api: . +@prefix xsd: . -images:bild a owl:Class ; + + rdf:type owl:Ontology ; + rdfs:label "The images demo ontology" ; + knora-api:attachedToProject ; + knora-api:lastModificationDate "2012-12-12T12:12:12.120Z"^^xsd:dateTimeStamp . + +images:bild rdf:type owl:Class ; rdfs:comment "An image of the demo image collection" ; rdfs:label "Image" ; rdfs:subClassOf knora-api:StillImageRepresentation ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 12 ; - owl:maxCardinality 1 ; - owl:onProperty images:urheber + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - salsah-gui:guiOrder 13 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 12 ; owl:maxCardinality 1 ; - owl:onProperty images:copyrightValue + owl:onProperty images:urheberValue ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 6 ; - owl:cardinality 1 ; - owl:onProperty images:jahr_exakt + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 12 ; + owl:maxCardinality 1 ; + owl:onProperty images:urheber ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 8 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 4 ; + owl:minCardinality 1 ; + owl:onProperty images:jahreszeit + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 9 ; owl:cardinality 1 ; - owl:onProperty images:erfassungsdatum + owl:onProperty images:mutationsdatum ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 8 ; + owl:cardinality 1 ; + owl:onProperty images:erfassungsdatum + ] ; + 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:versionDate + owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 9 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 10 ; owl:cardinality 1 ; - owl:onProperty images:mutationsdatum + owl:onProperty images:bearbeiter ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLinkValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 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:lastModificationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - salsah-gui:guiOrder 4 ; - owl:minCardinality 1 ; - owl:onProperty images:jahreszeit + 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 3 ; + owl:cardinality 1 ; + owl:onProperty images:description + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 6 ; + owl:cardinality 1 ; + owl:onProperty images:jahr_exakt + ] ; + 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 0 ; + owl:cardinality 1 ; + owl:onProperty images:titel ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 2 ; owl:cardinality 1 ; owl:onProperty images:bildnr ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:hasStillImageFileValue ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 0 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 5 ; owl:cardinality 1 ; - owl:onProperty images:titel + owl:onProperty images:jahrzehnt ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 12 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 11 ; owl:maxCardinality 1 ; - owl:onProperty images:urheberValue + owl:onProperty images:negativnummer ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 1 ; - owl:cardinality 1 ; - owl:onProperty images:signatur + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 13 ; owl:maxCardinality 1 ; owl:onProperty images:copyright ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 3 ; - owl:cardinality 1 ; - owl:onProperty images:description - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 7 ; - owl:minCardinality 0 ; - owl:onProperty images:hatBildformatValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 7 ; - owl:minCardinality 0 ; - owl:onProperty images:hatBildformat - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToProject ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 10 ; - owl:cardinality 1 ; - owl:onProperty images:bearbeiter - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 11 ; - owl:maxCardinality 1 ; - owl:onProperty images:negativnummer - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 5 ; - owl:cardinality 1 ; - owl:onProperty images:jahrzehnt + owl:onProperty knora-api:hasPermissions ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; knora-api:resourceIcon "bild.png" . - - - a owl:Ontology ; - rdfs:label "The images demo ontology" ; - knora-api:attachedToProject . diff --git a/test_data/ontologyR2RV2/imagesTitel.jsonld b/test_data/ontologyR2RV2/imagesTitel.jsonld index 6dbaa326ea..842f3c4b68 100644 --- a/test_data/ontologyR2RV2/imagesTitel.jsonld +++ b/test_data/ontologyR2RV2/imagesTitel.jsonld @@ -1,5 +1,8 @@ - { + "knora-api:lastModificationDate": { + "@value": "2012-12-12T12:12:12.120Z", + "@type": "xsd:dateTimeStamp" + }, "rdfs:label": "The images demo ontology", "@graph": [ { diff --git a/test_data/ontologyR2RV2/imagesTitel.rdf b/test_data/ontologyR2RV2/imagesTitel.rdf index 930a1905ea..2058bb2f28 100644 --- a/test_data/ontologyR2RV2/imagesTitel.rdf +++ b/test_data/ontologyR2RV2/imagesTitel.rdf @@ -1,25 +1,27 @@ - - - - The images demo ontology - - - true - true - - - hlist=<http://rdfh.ch/lists/00FF/73d0ec0302> - - Title - - - - \ No newline at end of file + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:images="http://0.0.0.0:3333/ontology/00FF/images/v2#" + xmlns:owl="http://www.w3.org/2002/07/owl#" + xmlns:salsah-gui="http://api.knora.org/ontology/salsah-gui/v2#" + xmlns:knora-api="http://api.knora.org/ontology/knora-api/v2#" + xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" + xmlns:xsd="http://www.w3.org/2001/XMLSchema#"> + + + The images demo ontology + 2012-12-12T12:12:12.120Z + + + + + hlist=<http://rdfh.ch/lists/00FF/73d0ec0302> + + true + true + + Title + + diff --git a/test_data/ontologyR2RV2/imagesTitel.ttl b/test_data/ontologyR2RV2/imagesTitel.ttl index 01dfd6aaf4..e6114076ac 100644 --- a/test_data/ontologyR2RV2/imagesTitel.ttl +++ b/test_data/ontologyR2RV2/imagesTitel.ttl @@ -1,12 +1,12 @@ -@prefix images: . -@prefix rdf: . -@prefix owl: . +@prefix images: . +@prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . @prefix salsah-gui: . -@prefix xsd: . -@prefix rdfs: . -@prefix knora-api: . +@prefix xsd: . -images:titel a owl:ObjectProperty ; +images:titel rdf:type owl:ObjectProperty ; rdfs:label "Title" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:isEditable true ; @@ -17,6 +17,7 @@ images:titel a owl:ObjectProperty ; salsah-gui:guiElement salsah-gui:List . - a owl:Ontology ; - rdfs:label "The images demo ontology" ; - knora-api:attachedToProject . + rdf:type owl:Ontology ; + rdfs:label "The images demo ontology" ; + knora-api:attachedToProject ; + knora-api:lastModificationDate "2012-12-12T12:12:12.120Z"^^xsd:dateTimeStamp . diff --git a/test_data/ontologyR2RV2/incunabulaBook.jsonld b/test_data/ontologyR2RV2/incunabulaBook.jsonld index c8fa5ac307..73ac4cf3fd 100644 --- a/test_data/ontologyR2RV2/incunabulaBook.jsonld +++ b/test_data/ontologyR2RV2/incunabulaBook.jsonld @@ -1,5 +1,8 @@ - { + "knora-api:lastModificationDate": { + "@value": "2012-12-12T12:12:12.120Z", + "@type": "xsd:dateTimeStamp" + }, "rdfs:label": "The incunabula ontology", "@graph": [ { diff --git a/test_data/ontologyR2RV2/incunabulaBook.rdf b/test_data/ontologyR2RV2/incunabulaBook.rdf index e28304ade3..4d20d0b52e 100644 --- a/test_data/ontologyR2RV2/incunabulaBook.rdf +++ b/test_data/ontologyR2RV2/incunabulaBook.rdf @@ -1,197 +1,286 @@ - - - - The incunabula ontology - - - true - true - book.gif - Diese Resource-Klasse beschreibt ein Buch - Book - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 0 - - - - true - 1 - - - - true - 0 - - - - true - 0 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - 1 - 1 - - - - 2 - 1 - - - - 2 - 0 - - - - 3 - 0 - - - - 4 - 1 - - - - 5 - 0 - - - - 5 - 1 - - - - 6 - 1 - - - - 7 - 1 - - - - 9 - 1 - - - - 10 - 0 - - - - 12 - 0 - - - - \ No newline at end of file + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:owl="http://www.w3.org/2002/07/owl#" + xmlns:salsah-gui="http://api.knora.org/ontology/salsah-gui/v2#" + xmlns:knora-api="http://api.knora.org/ontology/knora-api/v2#" + xmlns:incunabula="http://0.0.0.0:3333/ontology/0803/incunabula/v2#" + xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" + xmlns:xsd="http://www.w3.org/2001/XMLSchema#"> + + + The incunabula ontology + 2012-12-12T12:12:12.120Z + + + + + true + 1 + + + + + + true + 1 + + + + + + 5 + 1 + + + + + + 2 + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 0 + + + + true + + + 3 + 0 + + + + + + 9 + 1 + + + + + + 7 + 1 + + + + + + true + 1 + + + + + + 4 + 1 + + + + + + 1 + 1 + + + + + + true + 1 + + + + + + + 2 + 0 + + + + + + true + 1 + + + + + + true + 1 + + + + Diese Resource-Klasse beschreibt ein Buch + Book + + + true + 1 + + + + + + 6 + 1 + + + + + + true + 1 + + + + + + true + 0 + + + + + + true + 1 + + + + + + 10 + 0 + + + + + + 12 + 0 + + + + + + true + 0 + + + + + + 5 + 0 + + + + true + book.gif + + diff --git a/test_data/ontologyR2RV2/incunabulaBook.ttl b/test_data/ontologyR2RV2/incunabulaBook.ttl index b00b0f129c..0075819cb4 100644 --- a/test_data/ontologyR2RV2/incunabulaBook.ttl +++ b/test_data/ontologyR2RV2/incunabulaBook.ttl @@ -1,164 +1,165 @@ -@prefix rdf: . -@prefix owl: . -@prefix salsah-gui: . -@prefix xsd: . -@prefix rdfs: . -@prefix knora-api: . @prefix incunabula: . +@prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . +@prefix salsah-gui: . +@prefix xsd: . - a owl:Ontology ; - rdfs:label "The incunabula ontology" ; - knora-api:attachedToProject . + rdf:type owl:Ontology ; + rdfs:label "The incunabula ontology" ; + knora-api:attachedToProject ; + knora-api:lastModificationDate "2012-12-12T12:12:12.120Z"^^xsd:dateTimeStamp . -incunabula:book a owl:Class ; +incunabula:book rdf:type owl:Class ; rdfs:comment "Diese Resource-Klasse beschreibt ein Buch" ; rdfs:label "Book" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 7 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:url + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 12 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:book_comment ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; - salsah-gui:guiOrder 5 ; + 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:lastModificationDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 3 ; owl:minCardinality 0 ; - owl:onProperty incunabula:citation + owl:onProperty incunabula:publisher ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 6 ; owl:maxCardinality 1 ; owl:onProperty incunabula:location ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 1 ; - owl:minCardinality 1 ; - owl:onProperty incunabula:title + owl:onProperty knora-api:creationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 3 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:publisher + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 7 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:url ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 ; + salsah-gui:guiOrder 5 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:citation ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 5 ; owl:maxCardinality 1 ; owl:onProperty incunabula:pubdate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 10 ; owl:minCardinality 0 ; owl:onProperty incunabula:note ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 9 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:physical_desc ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:description + owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:hasAuthor + owl:onProperty knora-api:deleteDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 12 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:book_comment + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a 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 ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 9 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:physical_desc + owl:onProperty incunabula:description ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - salsah-gui:guiOrder 4 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:publoc + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; diff --git a/test_data/ontologyR2RV2/incunabulaOntologyMetadata.jsonld b/test_data/ontologyR2RV2/incunabulaOntologyMetadata.jsonld index 9605908819..7f6798cc1e 100644 --- a/test_data/ontologyR2RV2/incunabulaOntologyMetadata.jsonld +++ b/test_data/ontologyR2RV2/incunabulaOntologyMetadata.jsonld @@ -1,11 +1,14 @@ - { - "@id": "http://0.0.0.0:3333/ontology/0803/incunabula/v2", - "@type": "owl:Ontology", + "knora-api:lastModificationDate": { + "@value": "2012-12-12T12:12:12.120Z", + "@type": "xsd:dateTimeStamp" + }, + "rdfs:label": "The incunabula ontology", "knora-api:attachedToProject": { "@id": "http://rdfh.ch/projects/0803" }, - "rdfs:label": "The incunabula ontology", + "@type": "owl:Ontology", + "@id": "http://0.0.0.0:3333/ontology/0803/incunabula/v2", "@context": { "knora-api": "http://api.knora.org/ontology/knora-api/v2#", "xsd": "http://www.w3.org/2001/XMLSchema#", diff --git a/test_data/ontologyR2RV2/incunabulaOntologyMetadata.rdf b/test_data/ontologyR2RV2/incunabulaOntologyMetadata.rdf index 74e1fdf445..a9f76ff32a 100644 --- a/test_data/ontologyR2RV2/incunabulaOntologyMetadata.rdf +++ b/test_data/ontologyR2RV2/incunabulaOntologyMetadata.rdf @@ -1,13 +1,13 @@ - - - - The incunabula ontology - - - \ No newline at end of file + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:owl="http://www.w3.org/2002/07/owl#" + xmlns:knora-api="http://api.knora.org/ontology/knora-api/v2#" + xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" + xmlns:xsd="http://www.w3.org/2001/XMLSchema#"> + + + The incunabula ontology + 2012-12-12T12:12:12.120Z + + diff --git a/test_data/ontologyR2RV2/incunabulaOntologyMetadata.ttl b/test_data/ontologyR2RV2/incunabulaOntologyMetadata.ttl index 7e6e51377b..5ecb3bd406 100644 --- a/test_data/ontologyR2RV2/incunabulaOntologyMetadata.ttl +++ b/test_data/ontologyR2RV2/incunabulaOntologyMetadata.ttl @@ -1,9 +1,10 @@ -@prefix owl: . -@prefix xsd: . -@prefix rdfs: . @prefix knora-api: . +@prefix owl: . +@prefix rdfs: . +@prefix xsd: . - a owl:Ontology ; - rdfs:label "The incunabula ontology" ; - knora-api:attachedToProject . + a owl:Ontology ; + rdfs:label "The incunabula ontology" ; + knora-api:attachedToProject ; + knora-api:lastModificationDate "2012-12-12T12:12:12.120Z"^^xsd:dateTimeStamp . diff --git a/test_data/ontologyR2RV2/incunabulaOntologySimple.jsonld b/test_data/ontologyR2RV2/incunabulaOntologySimple.jsonld index df08b4b306..cc1caefadc 100644 --- a/test_data/ontologyR2RV2/incunabulaOntologySimple.jsonld +++ b/test_data/ontologyR2RV2/incunabulaOntologySimple.jsonld @@ -1,4 +1,3 @@ - { "@id": "http://0.0.0.0:3333/ontology/0803/incunabula/simple/v2", "@type": "owl:Ontology", diff --git a/test_data/ontologyR2RV2/incunabulaOntologySimple.ttl b/test_data/ontologyR2RV2/incunabulaOntologySimple.ttl index 7b69940bdc..c98ca7e792 100644 --- a/test_data/ontologyR2RV2/incunabulaOntologySimple.ttl +++ b/test_data/ontologyR2RV2/incunabulaOntologySimple.ttl @@ -1,161 +1,161 @@ -@prefix rdf: . -@prefix owl: . -@prefix xsd: . -@prefix rdfs: . -@prefix knora-api: . @prefix incunabula: . +@prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . +@prefix xsd: . incunabula:miscHasBook - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:label "Verbindung mit einem Buch" ; rdfs:subPropertyOf knora-api:hasLinkTo ; knora-api:objectType incunabula:book ; knora-api:subjectType incunabula:misc . -incunabula:publoc a owl:DatatypeProperty ; +incunabula:publoc rdf:type owl:DatatypeProperty ; rdfs:comment "Ort der Herausgabe" ; rdfs:label "Publication location" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:objectType xsd:string ; knora-api:subjectType incunabula:book . -incunabula:book a owl:Class ; +incunabula:book rdf:type owl:Class ; rdfs:comment "Diese Resource-Klasse beschreibt ein Buch" ; rdfs:label "Book" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ a owl:Restriction ; + 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:publoc + owl:onProperty incunabula:url ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty incunabula:publisher + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:publoc ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:url - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLink + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; owl:onProperty incunabula:physical_desc ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:description + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty incunabula:book_comment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty incunabula:note ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty incunabula:citation + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLink ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 1 ; owl:onProperty incunabula:title ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty incunabula:publisher + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:pubdate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty incunabula:location + owl:onProperty incunabula:description ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty incunabula:book_comment + owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty incunabula:citation + owl:onProperty incunabula:hasAuthor ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty incunabula:pubdate - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty rdfs:label - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty incunabula:hasAuthor + owl:onProperty incunabula:location ] ; knora-api:resourceIcon "book.gif" . -incunabula:url a owl:DatatypeProperty ; +incunabula:url rdf:type owl:DatatypeProperty ; rdfs:comment "Uniform Resource Identifier" ; rdfs:label "URI" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:objectType xsd:string ; knora-api:subjectType incunabula:book . -incunabula:Sideband a owl:Class ; +incunabula:Sideband rdf:type owl:Class ; rdfs:comment "Randleistentyp" ; rdfs:label "Randleiste" ; rdfs:subClassOf knora-api:StillImageRepresentation ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty incunabula:sbTitle ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasStillImageFile ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 incunabula:sideband_comment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; owl:onProperty incunabula:description ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasStillImageFile - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty rdfs:label - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 ] . -incunabula:pagenum a owl:DatatypeProperty ; +incunabula:pagenum rdf:type owl:DatatypeProperty ; rdfs:comment "A distinct identification of a book page" ; rdfs:label "Page identifier" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:objectType xsd:string ; knora-api:subjectType incunabula:page . -incunabula:partOf a owl:ObjectProperty ; +incunabula:partOf rdf:type owl:ObjectProperty ; rdfs:comment "Diese Property bezeichnet eine Verbindung zu einer anderen Resource, in dem ausgesagt wird, dass die vorliegende Resource ein integraler Teil der anderen Resource ist. Zum Beispiel ist eine Buchseite ein integraler Bestandteil genau eines Buches." ; rdfs:label "is a part of" ; rdfs:subPropertyOf knora-api:isPartOf ; knora-api:objectType incunabula:book ; knora-api:subjectType incunabula:page . -incunabula:location a owl:DatatypeProperty ; +incunabula:location rdf:type owl:DatatypeProperty ; rdfs:comment "Der Ort wo sich das physische Original befindet" ; rdfs:label "Location" ; rdfs:subPropertyOf knora-api:hasValue ; @@ -163,30 +163,30 @@ incunabula:location a owl:DatatypeProperty ; knora-api:subjectType incunabula:book . - a owl:Ontology ; + rdf:type owl:Ontology ; rdfs:label "The incunabula ontology" . incunabula:miscHasGeometry - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:label "Geometrie" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:objectType knora-api:Geom ; knora-api:subjectType incunabula:misc . -incunabula:hasAuthor a owl:DatatypeProperty ; +incunabula:hasAuthor rdf:type owl:DatatypeProperty ; rdfs:comment "Erzeuger/Autor" ; rdfs:label "Creator" ; rdfs:subPropertyOf , knora-api:hasValue ; knora-api:objectType xsd:string ; knora-api:subjectType incunabula:book . -incunabula:sbTitle a owl:DatatypeProperty ; +incunabula:sbTitle rdf:type owl:DatatypeProperty ; rdfs:label "Title" ; rdfs:subPropertyOf , knora-api:hasValue ; knora-api:objectType xsd:string ; knora-api:subjectType incunabula:Sideband . -incunabula:seqnum a owl:DatatypeProperty ; +incunabula:seqnum rdf:type owl:DatatypeProperty ; rdfs:comment "This property stands for the position within a set of rdered items (resoucres)" ; rdfs:label "Sequence number" ; rdfs:subPropertyOf knora-api:seqnum ; @@ -194,14 +194,14 @@ incunabula:seqnum a owl:DatatypeProperty ; knora-api:subjectType incunabula:page . incunabula:miscHasColor - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:label "Farbe" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:objectType knora-api:Color ; knora-api:subjectType incunabula:misc . incunabula:page_comment - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Unstrukturierte Bemerkungen zu einem Objekt" ; rdfs:label "Comment" ; rdfs:subPropertyOf knora-api:hasComment ; @@ -209,7 +209,7 @@ incunabula:page_comment knora-api:subjectType incunabula:page . incunabula:hasLeftSideband - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Verweis auf einen Randleistentyp" ; rdfs:label "Randleistentyp links" ; rdfs:subPropertyOf knora-api:hasLinkTo ; @@ -217,7 +217,7 @@ incunabula:hasLeftSideband knora-api:subjectType incunabula:page . incunabula:hasRightSideband - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Verweis auf einen Randleistentyp" ; rdfs:label "Randleistentyp rechts" ; rdfs:subPropertyOf knora-api:hasLinkTo ; @@ -225,7 +225,7 @@ incunabula:hasRightSideband knora-api:subjectType incunabula:page . incunabula:book_comment - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Unstrukturierte Bemerkungen zu einem Objekt" ; rdfs:label "Comment" ; rdfs:subPropertyOf knora-api:hasComment ; @@ -233,7 +233,7 @@ incunabula:book_comment knora-api:subjectType incunabula:book . incunabula:description - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Description" ; rdfs:label "Description" ; rdfs:subPropertyOf , knora-api:hasValue ; @@ -241,7 +241,7 @@ incunabula:description knora-api:subjectType knora-api:Resource . incunabula:sideband_comment - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Unstrukturierte Bemerkungen zu einem Objekt" ; rdfs:label "Kommentar (Richtext)" ; rdfs:subPropertyOf knora-api:hasComment ; @@ -249,7 +249,7 @@ incunabula:sideband_comment knora-api:subjectType incunabula:Sideband . incunabula:transcription - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Transkription" ; rdfs:label "Transkription" ; rdfs:subPropertyOf knora-api:hasValue ; @@ -257,156 +257,156 @@ incunabula:transcription knora-api:subjectType incunabula:page . incunabula:physical_desc - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Generelle physische Beschreibung des Objektes wie Material, Grösse etc." ; rdfs:label "Physical description" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:objectType xsd:string ; knora-api:subjectType incunabula:book . -incunabula:origname a owl:DatatypeProperty ; +incunabula:origname rdf:type owl:DatatypeProperty ; rdfs:comment "Der originale Dateiname" ; rdfs:label "Original filename" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:objectType xsd:string ; knora-api:subjectType incunabula:page . -incunabula:note a owl:DatatypeProperty ; +incunabula:note rdf:type owl:DatatypeProperty ; rdfs:comment "A note concerning the object" ; rdfs:label "Note" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:objectType xsd:string ; knora-api:subjectType incunabula:book . -incunabula:citation a owl:DatatypeProperty ; +incunabula:citation rdf:type owl:DatatypeProperty ; rdfs:comment "Stellt einen Verweis dar." ; rdfs:label "Citation/reference" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:objectType xsd:string ; knora-api:subjectType knora-api:Resource . -incunabula:title a owl:DatatypeProperty ; +incunabula:title rdf:type owl:DatatypeProperty ; rdfs:comment "Titel" ; rdfs:label "Title" ; rdfs:subPropertyOf , knora-api:hasValue ; knora-api:objectType xsd:string ; knora-api:subjectType incunabula:book . -incunabula:misc a owl:Class ; +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 [ a owl:Restriction ; + 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:miscHasColor + owl:onProperty incunabula:miscHasBook ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLink ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty incunabula:miscHasBook + owl:onProperty incunabula:miscHasGeometry ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty incunabula:miscHasGeometry + owl:onProperty incunabula:miscHasColor ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl ] . -incunabula:page a owl:Class ; +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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty incunabula:description + owl:onProperty incunabula:hasLeftSideband ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:hasRightSideband + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty incunabula:origname ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:minCardinality 0 ; + owl:onProperty incunabula:page_comment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty incunabula:seqnum + owl:onProperty incunabula:description ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:hasRightSideband ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLink ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty incunabula:origname + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:seqnum ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:hasLeftSideband - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:pagenum + owl:onProperty knora-api:hasStillImageFile ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty incunabula:citation ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:pagenum ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty incunabula:partOf ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:transcription + owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty incunabula:page_comment + owl:onProperty incunabula:transcription ] ; knora-api:resourceIcon "page.gif" . -incunabula:publisher a owl:DatatypeProperty ; +incunabula:publisher rdf:type owl:DatatypeProperty ; rdfs:comment "Publishing is the process of production and dissemination of literature or information – the activity of making information available for public view. In some cases authors may be their own publishers, meaning: originators and developers of content also provide media to deliver and display the content. (Wikipedia http://en.wikipedia.org/wiki/Publisher)" ; rdfs:label "Publisher" ; rdfs:subPropertyOf , knora-api:hasValue ; knora-api:objectType xsd:string ; knora-api:subjectType incunabula:book . -incunabula:pubdate a owl:DatatypeProperty ; +incunabula:pubdate rdf:type owl:DatatypeProperty ; rdfs:comment "Datum der Herausgabe" ; rdfs:label "Datum der Herausgabe" ; rdfs:subPropertyOf , knora-api:hasValue ; diff --git a/test_data/ontologyR2RV2/incunabulaOntologyWithValueObjects.jsonld b/test_data/ontologyR2RV2/incunabulaOntologyWithValueObjects.jsonld index 7c93e6e904..6db2ef5b73 100644 --- a/test_data/ontologyR2RV2/incunabulaOntologyWithValueObjects.jsonld +++ b/test_data/ontologyR2RV2/incunabulaOntologyWithValueObjects.jsonld @@ -1,5 +1,8 @@ - { + "knora-api:lastModificationDate": { + "@value": "2012-12-12T12:12:12.120Z", + "@type": "xsd:dateTimeStamp" + }, "rdfs:label": "The incunabula ontology", "@graph": [ { diff --git a/test_data/ontologyR2RV2/incunabulaOntologyWithValueObjects.rdf b/test_data/ontologyR2RV2/incunabulaOntologyWithValueObjects.rdf index ef4c217145..857f991519 100644 --- a/test_data/ontologyR2RV2/incunabulaOntologyWithValueObjects.rdf +++ b/test_data/ontologyR2RV2/incunabulaOntologyWithValueObjects.rdf @@ -1,1018 +1,1438 @@ - - - - The incunabula ontology - - - true - true - Randleistentyp - Randleiste - - - - - - - - - - - - - - - - - - - - - - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 0 - - - - true - 1 - - - - true - 0 - - - - true - 0 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - 0 - 1 - - - true - true - - - maxlength=255 - size=80 - - Title - - - - - - - 1 - 1 - - - true - true - - - - Description - Description - - - - - - - 2 - 0 - - - true - true - - - - Unstrukturierte Bemerkungen zu einem Objekt - Kommentar (Richtext) - - - - - - true - true - book.gif - Diese Resource-Klasse beschreibt ein Buch - Book - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 0 - - - - true - 1 - - - - true - 0 - - - - true - 0 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - 1 - 1 - - - true - true - - - maxlength=255 - size=80 - - Titel - Title - - - - - - - 2 - 1 - - - - 2 - 0 - - - true - true - - - maxlength=255 - size=60 - - Erzeuger/Autor - Creator - - - - - - - 3 - 0 - - - true - true - - - maxlength=255 - size=60 - - Publishing is the process of production and dissemination of literature or information – the activity of making information available for public view. In some cases authors may be their own publishers, meaning: originators and developers of content also provide media to deliver and display the content. (Wikipedia http://en.wikipedia.org/wiki/Publisher) - Publisher - - - - - - - 4 - 1 - - - true - true - - - maxlength=100 - size=60 - - Ort der Herausgabe - Publication location - - - - - - 5 - 0 - - - true - true - - - cols=60 - rows=3 - wrap=soft - - Stellt einen Verweis dar. - Citation/reference - - - - - - 5 - 1 - - - true - true - - - - Datum der Herausgabe - Datum der Herausgabe - - - - - - - 6 - 1 - - - true - true - - - cols=60 - rows=4 - wrap=soft - - Der Ort wo sich das physische Original befindet - Location - - - - - - 7 - 1 - - - true - true - - - maxlength=200 - size=60 - - Uniform Resource Identifier - URI - - - - - - 9 - 1 - - - true - true - - - cols=60 - rows=3 - wrap=soft - - Generelle physische Beschreibung des Objektes wie Material, Grösse etc. - Physical description - - - - - - 10 - 0 - - - true - true - - - cols=60 - rows=3 - wrap=soft - - A note concerning the object - Note - - - - - - 12 - 0 - - - true - true - - - rows=7 - width=95% - wrap=soft - - Unstrukturierte Bemerkungen zu einem Objekt - Comment - - - - - - true - true - true - - - numprops=1 - - Verweis auf einen Randleistentyp - Randleistentyp links - - - - true - true - page.gif - A page is a part of a book - Page - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - true - true - - - - Verweis auf einen Randleistentyp - Randleistentyp links - - - - true - true - true - - - numprops=1 - - Verweis auf einen Randleistentyp - Randleistentyp rechts - - - - true - true - true - - - - Verweis auf einen Randleistentyp - Randleistentyp rechts - - - - true - true - A fake resource class that only has optional properties - Sonstiges - - - - - - - - - - - - - - - - - - - - - - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 0 - - - - true - 1 - - - - true - 0 - - - - true - 0 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - 0 - 1 - - - true - true - - - - Farbe - - - - - - 1 - 1 - - - true - true - - - - Geometrie - - - - - - 2 - 1 - - - true - true - true - - - - Verbindung mit einem Buch - - - - - - 2 - 1 - - - true - true - true - - - - Verbindung mit einem Buch - - - - - - true - true - - - maxlength=128 - size=54 - - Der originale Dateiname - Original filename - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 0 - - - - true - 1 - - - - true - 0 - - - - true - 0 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - 1 - 1 - - - true - true - - - maxlength=8 - size=8 - - A distinct identification of a book page - Page identifier - - - - - - 2 - 1 - - - - 2 - 1 - - - true - true - true - - - - Diese Property bezeichnet eine Verbindung zu einer anderen Resource, in dem ausgesagt wird, dass die vorliegende Resource ein integraler Teil der anderen Resource ist. Zum Beispiel ist eine Buchseite ein integraler Bestandteil genau eines Buches. - is a part of - - - - - - 2 - 1 - - - true - true - true - - - - Diese Property bezeichnet eine Verbindung zu einer anderen Resource, in dem ausgesagt wird, dass die vorliegende Resource ein integraler Teil der anderen Resource ist. Zum Beispiel ist eine Buchseite ein integraler Bestandteil genau eines Buches. - is a part of - - - - - - 3 - 1 - - - true - true - - - max=-1 - min=0 - - This property stands for the position within a set of rdered items (resoucres) - Sequence number - - - - - - 5 - 0 - - - - 6 - 0 - - - true - true - - - rows=7 - width=95% - wrap=soft - - Unstrukturierte Bemerkungen zu einem Objekt - Comment - - - - - - 7 - 1 - - - - 10 - 1 - - - - 10 - 1 - - - - 11 - 1 - - - - 11 - 1 - - - - 12 - 0 - - - true - true - - - - Transkription - Transkription - - - - - - \ No newline at end of file + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:owl="http://www.w3.org/2002/07/owl#" + xmlns:salsah-gui="http://api.knora.org/ontology/salsah-gui/v2#" + xmlns:knora-api="http://api.knora.org/ontology/knora-api/v2#" + xmlns:incunabula="http://0.0.0.0:3333/ontology/0803/incunabula/v2#" + xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" + xmlns:xsd="http://www.w3.org/2001/XMLSchema#"> + + + The incunabula ontology + 2012-12-12T12:12:12.120Z + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 0 + + + + + + true + 0 + + + + + + true + 1 + + + + Randleiste + + + true + 0 + + + + true + + + 0 + 1 + + + + + + + + 2 + 0 + + + + + + + + true + 1 + + + + true + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + 1 + 1 + + + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + Randleistentyp + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + + + true + 1 + + + + + + true + 1 + + + + + + 3 + 0 + + + + + + + + true + 1 + + + + + + true + 0 + + + + + + true + 1 + + + + + + 1 + 1 + + + + + + true + + + true + 1 + + + + + + true + 1 + + + + + + + 9 + 1 + + + + + + + + true + 0 + + + + + + true + 1 + + + + Diese Resource-Klasse beschreibt ein Buch + Book + + + true + 1 + + + + + + true + 1 + + + + + + 10 + 0 + + + + + + + + 5 + 1 + + + + + + + + 5 + 0 + + + + + + + + true + 0 + + + + + + true + 1 + + + + + + 4 + 1 + + + + + + + + 2 + 0 + + + + + + true + + + true + 1 + + + + book.gif + + + true + 1 + + + + + + 12 + 0 + + + + + + + + 7 + 1 + + + + + + + + 2 + 1 + + + + + + + + true + 1 + + + + + + 6 + 1 + + + + + + + + true + 1 + + + + + + + + 1 + 1 + + + + + + + + 2 + 1 + + + + + + + + + true + 1 + + + + true + + + true + 1 + + + + + + true + 1 + + + + + + 0 + 1 + + + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 0 + + + + A fake resource class that only has optional properties + + + true + 1 + + + + + + true + 1 + + + + true + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + Sonstiges + + + true + 0 + + + + + + true + 1 + + + + + + true + 1 + + + + + + 2 + 1 + + + + + + + + true + 0 + + + + + + true + 1 + + + + + + + + 5 + 0 + + + + + + + + true + 1 + + + + + + 12 + 0 + + + + + + + + 6 + 0 + + + + + + + + 10 + 1 + + + + + + + + true + 0 + + + + + + 7 + 1 + + + + + + + + true + 1 + + + + + + 10 + 1 + + + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 0 + + + + + + true + 1 + + + + + + 2 + 1 + + + + + + + + true + 1 + + + + + + 2 + 1 + + + + + + + + true + 0 + + + + + + true + 1 + + + + + true + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + 11 + 1 + + + + + + + + true + 1 + + + + A page is a part of a book + + + 11 + 1 + + + + + + Page + + + 3 + 1 + + + + + + + + 2 + 1 + + + + + + + + true + 1 + + + + + + 1 + 1 + + + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + true + page.gif + + + true + size=80 + + + + true + Titel + + maxlength=255 + Title + + + + Transkription + + + + true + true + + Transkription + + + Location + true + + cols=60 + wrap=soft + + Der Ort wo sich das physische Original befindet + rows=4 + true + + + + + true + + + max=-1 + + true + This property stands for the position within a set of rdered items (resoucres) + min=0 + + Sequence number + + + + + + true + true + + Verbindung mit einem Buch + true + + + size=54 + Der originale Dateiname + + true + true + + + Original filename + maxlength=128 + + + + + + numprops=1 + + Verweis auf einen Randleistentyp + Randleistentyp rechts + true + true + + true + + + Unstrukturierte Bemerkungen zu einem Objekt + + Comment + wrap=soft + + rows=7 + width=95% + + true + true + + + + + + + true + true + + Geometrie + + + + Uniform Resource Identifier + true + true + maxlength=200 + size=60 + URI + + + + + + Description + true + Description + + + + true + + + + + + Publisher + size=60 + Publishing is the process of production and dissemination of literature or information – the activity of making information available for public view. In some cases authors may be their own publishers, meaning: originators and developers of content also provide media to deliver and display the content. (Wikipedia http://en.wikipedia.org/wiki/Publisher) + + true + + + maxlength=255 + + true + + + Publication location + Ort der Herausgabe + true + + size=60 + + true + maxlength=100 + + + + + rows=3 + + true + wrap=soft + + + Generelle physische Beschreibung des Objektes wie Material, Grösse etc. + + true + cols=60 + Physical description + + + + Title + + true + + + maxlength=255 + true + size=80 + + + + Verweis auf einen Randleistentyp + + true + + + true + true + Randleistentyp links + + + + true + Randleistentyp rechts + true + + + true + + + Verweis auf einen Randleistentyp + + + Unstrukturierte Bemerkungen zu einem Objekt + true + Comment + + + rows=7 + true + + + wrap=soft + width=95% + + + true + true + + size=8 + + maxlength=8 + A distinct identification of a book page + + Page identifier + + + + + + + true + true + + Farbe + + + true + + + + + + size=60 + true + Erzeuger/Autor + maxlength=255 + Creator + + + + + + is a part of + + true + true + Diese Property bezeichnet eine Verbindung zu einer anderen Resource, in dem ausgesagt wird, dass die vorliegende Resource ein integraler Teil der anderen Resource ist. Zum Beispiel ist eine Buchseite ein integraler Bestandteil genau eines Buches. + true + + + + + true + + true + wrap=soft + + A note concerning the object + rows=3 + Note + cols=60 + + + + Datum der Herausgabe + + Datum der Herausgabe + + true + true + + + + + Stellt einen Verweis dar. + Citation/reference + + + rows=3 + true + cols=60 + + + wrap=soft + true + + + + true + + true + Randleistentyp links + + + numprops=1 + true + Verweis auf einen Randleistentyp + + + Diese Property bezeichnet eine Verbindung zu einer anderen Resource, in dem ausgesagt wird, dass die vorliegende Resource ein integraler Teil der anderen Resource ist. Zum Beispiel ist eine Buchseite ein integraler Bestandteil genau eines Buches. + true + + + is a part of + true + + + true + + + true + + + + true + true + + Verbindung mit einem Buch + + + Unstrukturierte Bemerkungen zu einem Objekt + + + + true + true + + Kommentar (Richtext) + + diff --git a/test_data/ontologyR2RV2/incunabulaOntologyWithValueObjects.ttl b/test_data/ontologyR2RV2/incunabulaOntologyWithValueObjects.ttl index 014749ccb6..68caba7514 100644 --- a/test_data/ontologyR2RV2/incunabulaOntologyWithValueObjects.ttl +++ b/test_data/ontologyR2RV2/incunabulaOntologyWithValueObjects.ttl @@ -1,12 +1,12 @@ -@prefix rdf: . -@prefix owl: . -@prefix salsah-gui: . -@prefix xsd: . -@prefix rdfs: . -@prefix knora-api: . @prefix incunabula: . +@prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . +@prefix salsah-gui: . +@prefix xsd: . -incunabula:pubdate a owl:ObjectProperty ; +incunabula:pubdate rdf:type owl:ObjectProperty ; rdfs:comment "Datum der Herausgabe" ; rdfs:label "Datum der Herausgabe" ; rdfs:subPropertyOf , knora-api:hasValue ; @@ -17,7 +17,7 @@ incunabula:pubdate a owl:ObjectProperty ; salsah-gui:guiElement salsah-gui:Date . incunabula:miscHasBookValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:label "Verbindung mit einem Buch" ; rdfs:subPropertyOf knora-api:hasLinkToValue ; knora-api:isEditable true ; @@ -28,7 +28,7 @@ incunabula:miscHasBookValue salsah-gui:guiElement salsah-gui:Searchbox . incunabula:book_comment - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Unstrukturierte Bemerkungen zu einem Objekt" ; rdfs:label "Comment" ; rdfs:subPropertyOf knora-api:hasComment ; @@ -40,7 +40,7 @@ incunabula:book_comment salsah-gui:guiElement salsah-gui:Textarea . incunabula:hasLeftSideband - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Verweis auf einen Randleistentyp" ; rdfs:label "Randleistentyp links" ; rdfs:subPropertyOf knora-api:hasLinkTo ; @@ -52,7 +52,7 @@ incunabula:hasLeftSideband salsah-gui:guiAttribute "numprops=1" ; salsah-gui:guiElement salsah-gui:Searchbox . -incunabula:origname a owl:ObjectProperty ; +incunabula:origname rdf:type owl:ObjectProperty ; rdfs:comment "Der originale Dateiname" ; rdfs:label "Original filename" ; rdfs:subPropertyOf knora-api:hasValue ; @@ -63,7 +63,7 @@ incunabula:origname a owl:ObjectProperty ; salsah-gui:guiAttribute "size=54" , "maxlength=128" ; salsah-gui:guiElement salsah-gui:SimpleText . -incunabula:pagenum a owl:ObjectProperty ; +incunabula:pagenum rdf:type owl:ObjectProperty ; rdfs:comment "A distinct identification of a book page" ; rdfs:label "Page identifier" ; rdfs:subPropertyOf knora-api:hasValue ; @@ -75,7 +75,7 @@ incunabula:pagenum a owl:ObjectProperty ; salsah-gui:guiElement salsah-gui:SimpleText . incunabula:miscHasColor - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:label "Farbe" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:isEditable true ; @@ -85,7 +85,7 @@ incunabula:miscHasColor salsah-gui:guiElement salsah-gui:Colorpicker . incunabula:miscHasBook - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:label "Verbindung mit einem Buch" ; rdfs:subPropertyOf knora-api:hasLinkTo ; knora-api:isEditable true ; @@ -95,7 +95,7 @@ incunabula:miscHasBook knora-api:subjectType incunabula:misc ; salsah-gui:guiElement salsah-gui:Searchbox . -incunabula:citation a owl:ObjectProperty ; +incunabula:citation rdf:type owl:ObjectProperty ; rdfs:comment "Stellt einen Verweis dar." ; rdfs:label "Citation/reference" ; rdfs:subPropertyOf knora-api:hasValue ; @@ -106,119 +106,119 @@ incunabula:citation a owl:ObjectProperty ; salsah-gui:guiAttribute "rows=3" , "cols=60" , "wrap=soft" ; salsah-gui:guiElement salsah-gui:Textarea . -incunabula:Sideband a owl:Class ; +incunabula:Sideband rdf:type owl:Class ; rdfs:comment "Randleistentyp" ; rdfs:label "Randleiste" ; rdfs:subClassOf knora-api:StillImageRepresentation ; - rdfs:subClassOf [ a owl:Restriction ; + 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:hasStandoffLinkToValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 0 ; + owl:cardinality 1 ; + owl:onProperty incunabula:sbTitle ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:hasStillImageFileValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; - salsah-gui:guiOrder 0 ; - owl:cardinality 1 ; - owl:onProperty incunabula:sbTitle + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:sideband_comment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 1 ; owl:maxCardinality 1 ; owl:onProperty incunabula:description ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:versionDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:sideband_comment + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:lastModificationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasStillImageFileValue - ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . -incunabula:location a owl:ObjectProperty ; +incunabula:location rdf:type owl:ObjectProperty ; rdfs:comment "Der Ort wo sich das physische Original befindet" ; rdfs:label "Location" ; rdfs:subPropertyOf knora-api:hasValue ; @@ -229,7 +229,7 @@ incunabula:location a owl:ObjectProperty ; salsah-gui:guiAttribute "cols=60" , "wrap=soft" , "rows=4" ; salsah-gui:guiElement salsah-gui:Textarea . -incunabula:publisher a owl:ObjectProperty ; +incunabula:publisher rdf:type owl:ObjectProperty ; rdfs:comment "Publishing is the process of production and dissemination of literature or information – the activity of making information available for public view. In some cases authors may be their own publishers, meaning: originators and developers of content also provide media to deliver and display the content. (Wikipedia http://en.wikipedia.org/wiki/Publisher)" ; rdfs:label "Publisher" ; rdfs:subPropertyOf knora-api:hasValue , ; @@ -241,7 +241,7 @@ incunabula:publisher a owl:ObjectProperty ; salsah-gui:guiElement salsah-gui:SimpleText . incunabula:hasRightSideband - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Verweis auf einen Randleistentyp" ; rdfs:label "Randleistentyp rechts" ; rdfs:subPropertyOf knora-api:hasLinkTo ; @@ -253,7 +253,7 @@ incunabula:hasRightSideband salsah-gui:guiAttribute "numprops=1" ; salsah-gui:guiElement salsah-gui:Searchbox . -incunabula:hasAuthor a owl:ObjectProperty ; +incunabula:hasAuthor rdf:type owl:ObjectProperty ; rdfs:comment "Erzeuger/Autor" ; rdfs:label "Creator" ; rdfs:subPropertyOf , knora-api:hasValue ; @@ -264,7 +264,7 @@ incunabula:hasAuthor a owl:ObjectProperty ; salsah-gui:guiAttribute "size=60" , "maxlength=255" ; salsah-gui:guiElement salsah-gui:SimpleText . -incunabula:publoc a owl:ObjectProperty ; +incunabula:publoc rdf:type owl:ObjectProperty ; rdfs:comment "Ort der Herausgabe" ; rdfs:label "Publication location" ; rdfs:subPropertyOf knora-api:hasValue ; @@ -275,7 +275,7 @@ incunabula:publoc a owl:ObjectProperty ; salsah-gui:guiAttribute "size=60" , "maxlength=100" ; salsah-gui:guiElement salsah-gui:SimpleText . -incunabula:note a owl:ObjectProperty ; +incunabula:note rdf:type owl:ObjectProperty ; rdfs:comment "A note concerning the object" ; rdfs:label "Note" ; rdfs:subPropertyOf knora-api:hasValue ; @@ -287,7 +287,7 @@ incunabula:note a owl:ObjectProperty ; salsah-gui:guiElement salsah-gui:Textarea . incunabula:description - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Description" ; rdfs:label "Description" ; rdfs:subPropertyOf knora-api:hasValue , ; @@ -297,7 +297,7 @@ incunabula:description knora-api:subjectType knora-api:Resource ; salsah-gui:guiElement salsah-gui:Richtext . -incunabula:url a owl:ObjectProperty ; +incunabula:url rdf:type owl:ObjectProperty ; rdfs:comment "Uniform Resource Identifier" ; rdfs:label "URI" ; rdfs:subPropertyOf knora-api:hasValue ; @@ -309,7 +309,7 @@ incunabula:url a owl:ObjectProperty ; salsah-gui:guiElement salsah-gui:SimpleText . incunabula:sideband_comment - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Unstrukturierte Bemerkungen zu einem Objekt" ; rdfs:label "Kommentar (Richtext)" ; rdfs:subPropertyOf knora-api:hasComment ; @@ -319,7 +319,7 @@ incunabula:sideband_comment knora-api:subjectType incunabula:Sideband ; salsah-gui:guiElement salsah-gui:Richtext . -incunabula:partOf a owl:ObjectProperty ; +incunabula:partOf rdf:type owl:ObjectProperty ; rdfs:comment "Diese Property bezeichnet eine Verbindung zu einer anderen Resource, in dem ausgesagt wird, dass die vorliegende Resource ein integraler Teil der anderen Resource ist. Zum Beispiel ist eine Buchseite ein integraler Bestandteil genau eines Buches." ; rdfs:label "is a part of" ; rdfs:subPropertyOf knora-api:isPartOf ; @@ -331,7 +331,7 @@ incunabula:partOf a owl:ObjectProperty ; salsah-gui:guiElement salsah-gui:Searchbox . incunabula:hasLeftSidebandValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Verweis auf einen Randleistentyp" ; rdfs:label "Randleistentyp links" ; rdfs:subPropertyOf knora-api:hasLinkToValue ; @@ -342,7 +342,7 @@ incunabula:hasLeftSidebandValue knora-api:subjectType incunabula:page ; salsah-gui:guiElement salsah-gui:Searchbox . -incunabula:seqnum a owl:ObjectProperty ; +incunabula:seqnum rdf:type owl:ObjectProperty ; rdfs:comment "This property stands for the position within a set of rdered items (resoucres)" ; rdfs:label "Sequence number" ; rdfs:subPropertyOf knora-api:seqnum ; @@ -353,283 +353,283 @@ incunabula:seqnum a owl:ObjectProperty ; salsah-gui:guiAttribute "max=-1" , "min=0" ; salsah-gui:guiElement salsah-gui:Spinbox . -incunabula:misc a owl:Class ; +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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 1 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:miscHasGeometry - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 0 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:miscHasColor + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:cardinality 1 ; owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 2 ; owl:maxCardinality 1 ; owl:onProperty incunabula:miscHasBookValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; - salsah-gui:guiOrder 2 ; + 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:maxCardinality 1 ; - owl:onProperty incunabula:miscHasBook + owl:onProperty incunabula:miscHasGeometry ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 0 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:miscHasColor ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . -incunabula:page a owl:Class ; +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 [ a owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:cardinality 1 ; - owl:onProperty incunabula:partOfValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:creationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 11 ; owl:maxCardinality 1 ; owl:onProperty incunabula:hasRightSideband ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:hasStillImageFileValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 10 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:hasLeftSideband + owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 5 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:citation + owl:onProperty knora-api:deleteDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 2 ; owl:cardinality 1 ; owl:onProperty incunabula:partOf ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:description + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 6 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:page_comment ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - salsah-gui:guiOrder 12 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:transcription + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; + owl:cardinality 1 ; + owl:onProperty incunabula:partOfValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 11 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:hasRightSidebandValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:userHasPermission ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 10 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:hasLeftSidebandValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 7 ; owl:cardinality 1 ; owl:onProperty incunabula:origname ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 3 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:seqnum - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 1 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:pagenum - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:hasLeftSidebandValue + ] ; + 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:cardinality 1 ; owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:attachedToProject ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:hasStillImageFileValue ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 6 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 12 ; owl:minCardinality 0 ; - owl:onProperty incunabula:page_comment + owl:onProperty incunabula:transcription ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + 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 3 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:seqnum + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 1 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:pagenum ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; knora-api:resourceIcon "page.gif" . incunabula:hasRightSidebandValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Verweis auf einen Randleistentyp" ; rdfs:label "Randleistentyp rechts" ; rdfs:subPropertyOf knora-api:hasLinkToValue ; @@ -641,7 +641,7 @@ incunabula:hasRightSidebandValue salsah-gui:guiElement salsah-gui:Searchbox . incunabula:physical_desc - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Generelle physische Beschreibung des Objektes wie Material, Grösse etc." ; rdfs:label "Physical description" ; rdfs:subPropertyOf knora-api:hasValue ; @@ -653,7 +653,7 @@ incunabula:physical_desc salsah-gui:guiElement salsah-gui:Textarea . incunabula:partOfValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Diese Property bezeichnet eine Verbindung zu einer anderen Resource, in dem ausgesagt wird, dass die vorliegende Resource ein integraler Teil der anderen Resource ist. Zum Beispiel ist eine Buchseite ein integraler Bestandteil genau eines Buches." ; rdfs:label "is a part of" ; rdfs:subPropertyOf knora-api:isPartOfValue ; @@ -664,171 +664,161 @@ incunabula:partOfValue knora-api:subjectType incunabula:page ; salsah-gui:guiElement salsah-gui:Searchbox . -incunabula:book a owl:Class ; +incunabula:book rdf:type owl:Class ; rdfs:comment "Diese Resource-Klasse beschreibt ein Buch" ; rdfs:label "Book" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ a owl:Restriction ; + 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:hasIncomingLinkValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - salsah-gui:guiOrder 12 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:book_comment + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 7 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:url ] ; - rdfs:subClassOf [ a owl:Restriction ; - 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:attachedToProject + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 4 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:publoc ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a 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:maxCardinality 1 ; + owl:onProperty incunabula:location ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 9 ; owl:maxCardinality 1 ; owl:onProperty incunabula:physical_desc ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; owl:onProperty incunabula:hasAuthor ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 7 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:url + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 12 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:book_comment ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 1 ; - owl:minCardinality 1 ; - owl:onProperty incunabula:title + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 5 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:pubdate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 10 ; owl:minCardinality 0 ; owl:onProperty incunabula:note ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - salsah-gui:guiOrder 4 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:publoc + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 1 ; + owl:minCardinality 1 ; + owl:onProperty incunabula:title ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 6 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:location - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 5 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:pubdate + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 5 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 3 ; owl:minCardinality 0 ; - owl:onProperty incunabula:citation + owl:onProperty incunabula:publisher ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:deleteDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:isDeleted + ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; knora-api:resourceIcon "book.gif" . -incunabula:sbTitle a 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 - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:label "Geometrie" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:isEditable true ; @@ -837,13 +827,24 @@ 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 . + - a owl:Ontology ; - rdfs:label "The incunabula ontology" ; - knora-api:attachedToProject . + rdf:type owl:Ontology ; + rdfs:label "The incunabula ontology" ; + knora-api:attachedToProject ; + knora-api:lastModificationDate "2012-12-12T12:12:12.120Z"^^xsd:dateTimeStamp . incunabula:page_comment - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Unstrukturierte Bemerkungen zu einem Objekt" ; rdfs:label "Comment" ; rdfs:subPropertyOf knora-api:hasComment ; @@ -854,7 +855,7 @@ incunabula:page_comment salsah-gui:guiAttribute "rows=7" , "wrap=soft" , "width=95%" ; salsah-gui:guiElement salsah-gui:Textarea . -incunabula:title a owl:ObjectProperty ; +incunabula:title rdf:type owl:ObjectProperty ; rdfs:comment "Titel" ; rdfs:label "Title" ; rdfs:subPropertyOf , knora-api:hasValue ; @@ -866,7 +867,7 @@ incunabula:title a owl:ObjectProperty ; salsah-gui:guiElement salsah-gui:SimpleText . incunabula:transcription - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Transkription" ; rdfs:label "Transkription" ; rdfs:subPropertyOf knora-api:hasValue ; diff --git a/test_data/ontologyR2RV2/incunabulaPage.jsonld b/test_data/ontologyR2RV2/incunabulaPage.jsonld index 01b2660b29..0a30af0c58 100644 --- a/test_data/ontologyR2RV2/incunabulaPage.jsonld +++ b/test_data/ontologyR2RV2/incunabulaPage.jsonld @@ -1,5 +1,8 @@ - { + "knora-api:lastModificationDate": { + "@value": "2012-12-12T12:12:12.120Z", + "@type": "xsd:dateTimeStamp" + }, "rdfs:label": "The incunabula ontology", "@graph": [ { diff --git a/test_data/ontologyR2RV2/incunabulaPage.rdf b/test_data/ontologyR2RV2/incunabulaPage.rdf index 6d41106523..35ac221df5 100644 --- a/test_data/ontologyR2RV2/incunabulaPage.rdf +++ b/test_data/ontologyR2RV2/incunabulaPage.rdf @@ -1,209 +1,304 @@ - - - - The incunabula ontology - - - true - true - page.gif - A page is a part of a book - Page - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 0 - - - - true - 1 - - - - true - 0 - - - - true - 0 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - 1 - 1 - - - - 2 - 1 - - - - 2 - 1 - - - - 2 - 1 - - - - 3 - 1 - - - - 5 - 0 - - - - 6 - 0 - - - - 7 - 1 - - - - 10 - 1 - - - - 10 - 1 - - - - 11 - 1 - - - - 11 - 1 - - - - 12 - 0 - - - - \ No newline at end of file + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:owl="http://www.w3.org/2002/07/owl#" + xmlns:salsah-gui="http://api.knora.org/ontology/salsah-gui/v2#" + xmlns:knora-api="http://api.knora.org/ontology/knora-api/v2#" + xmlns:incunabula="http://0.0.0.0:3333/ontology/0803/incunabula/v2#" + xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" + xmlns:xsd="http://www.w3.org/2001/XMLSchema#"> + + + The incunabula ontology + 2012-12-12T12:12:12.120Z + + + + + true + 1 + + + + + + 12 + 0 + + + + + + true + 0 + + + + + + 5 + 0 + + + + + + 2 + 1 + + + + + + 2 + 1 + + + + + + true + 0 + + + + + + true + 1 + + + + + + 11 + 1 + + + + + + 1 + 1 + + + + + + 3 + 1 + + + + + + 2 + 1 + + + + + + true + 1 + + + + + + 10 + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + + true + 1 + + + + + + 6 + 0 + + + + true + + + 7 + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + A page is a part of a book + Page + + + true + 1 + + + + + + true + 1 + + + + + + true + 0 + + + + + + 11 + 1 + + + + + + 10 + 1 + + + + true + page.gif + + diff --git a/test_data/ontologyR2RV2/incunabulaPage.ttl b/test_data/ontologyR2RV2/incunabulaPage.ttl index ca0a98d873..703b7007b7 100644 --- a/test_data/ontologyR2RV2/incunabulaPage.ttl +++ b/test_data/ontologyR2RV2/incunabulaPage.ttl @@ -1,174 +1,175 @@ -@prefix rdf: . -@prefix owl: . -@prefix salsah-gui: . -@prefix xsd: . -@prefix rdfs: . -@prefix knora-api: . @prefix incunabula: . +@prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . +@prefix salsah-gui: . +@prefix xsd: . - a owl:Ontology ; - rdfs:label "The incunabula ontology" ; - knora-api:attachedToProject . + rdf:type owl:Ontology ; + rdfs:label "The incunabula ontology" ; + knora-api:attachedToProject ; + knora-api:lastModificationDate "2012-12-12T12:12:12.120Z"^^xsd:dateTimeStamp . -incunabula:page a owl:Class ; +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 [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 2 ; owl:cardinality 1 ; owl:onProperty incunabula:partOf ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a 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:userHasPermission ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 7 ; + owl:cardinality 1 ; + owl:onProperty incunabula:origname ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - salsah-gui:guiOrder 2 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 10 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:description + owl:onProperty incunabula:hasLeftSideband ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 3 ; owl:maxCardinality 1 ; owl:onProperty incunabula:seqnum ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:userHasPermission + owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ a 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:hasRightSidebandValue + ] ; + 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:versionDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 1 ; owl:maxCardinality 1 ; owl:onProperty incunabula:pagenum ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; - 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 ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 5 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:citation ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 10 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:hasLeftSideband - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty incunabula:description ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 2 ; owl:cardinality 1 ; owl:onProperty incunabula:partOfValue ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 11 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:hasRightSideband - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 10 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:hasLeftSidebandValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 7 ; - owl:cardinality 1 ; - owl:onProperty incunabula:origname - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToProject ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:hasStillImageFileValue ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 5 ; + 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 rdfs:label + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 6 ; owl:minCardinality 0 ; - owl:onProperty incunabula:citation + owl:onProperty incunabula:page_comment ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; diff --git a/test_data/ontologyR2RV2/incunabulaPageAndBookWithValueObjects.jsonld b/test_data/ontologyR2RV2/incunabulaPageAndBookWithValueObjects.jsonld index 4857218e75..52ad740fcf 100644 --- a/test_data/ontologyR2RV2/incunabulaPageAndBookWithValueObjects.jsonld +++ b/test_data/ontologyR2RV2/incunabulaPageAndBookWithValueObjects.jsonld @@ -1,5 +1,8 @@ - { + "knora-api:lastModificationDate": { + "@value": "2012-12-12T12:12:12.120Z", + "@type": "xsd:dateTimeStamp" + }, "rdfs:label": "The incunabula ontology", "@graph": [ { diff --git a/test_data/ontologyR2RV2/incunabulaPageAndBookWithValueObjects.rdf b/test_data/ontologyR2RV2/incunabulaPageAndBookWithValueObjects.rdf index ecad8dac3c..3c95f29589 100644 --- a/test_data/ontologyR2RV2/incunabulaPageAndBookWithValueObjects.rdf +++ b/test_data/ontologyR2RV2/incunabulaPageAndBookWithValueObjects.rdf @@ -1,391 +1,575 @@ - - - - The incunabula ontology - - - true - true - book.gif - Diese Resource-Klasse beschreibt ein Buch - Book - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 0 - - - - true - 1 - - - - true - 0 - - - - true - 0 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - 1 - 1 - - - - 2 - 1 - - - - 2 - 0 - - - - 3 - 0 - - - - 4 - 1 - - - - 5 - 0 - - - - 5 - 1 - - - - 6 - 1 - - - - 7 - 1 - - - - 9 - 1 - - - - 10 - 0 - - - - 12 - 0 - - - - true - true - page.gif - A page is a part of a book - Page - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 0 - - - - true - 1 - - - - true - 0 - - - - true - 0 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - true - 1 - - - - 1 - 1 - - - - 2 - 1 - - - - 2 - 1 - - - - 2 - 1 - - - - 3 - 1 - - - - 5 - 0 - - - - 6 - 0 - - - - 7 - 1 - - - - 10 - 1 - - - - 10 - 1 - - - - 11 - 1 - - - - 11 - 1 - - - - 12 - 0 - - - - \ No newline at end of file + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:owl="http://www.w3.org/2002/07/owl#" + xmlns:salsah-gui="http://api.knora.org/ontology/salsah-gui/v2#" + xmlns:knora-api="http://api.knora.org/ontology/knora-api/v2#" + xmlns:incunabula="http://0.0.0.0:3333/ontology/0803/incunabula/v2#" + xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" + xmlns:xsd="http://www.w3.org/2001/XMLSchema#"> + + + The incunabula ontology + 2012-12-12T12:12:12.120Z + + + + + 1 + 1 + + + + + + 9 + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + true + + + 4 + 1 + + + + + + true + 0 + + + + + + 6 + 1 + + + + + + 5 + 1 + + + + + + true + 1 + + + + + + 5 + 0 + + + + + + 2 + 0 + + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 0 + + + + Diese Resource-Klasse beschreibt ein Buch + Book + + + 10 + 0 + + + + + + true + 1 + + + + + + true + 1 + + + + + + 3 + 0 + + + + + + 7 + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + true + book.gif + + + 12 + 0 + + + + + + true + 1 + + + + + + 2 + 1 + + + + + + true + 1 + + + + + + true + 0 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + + + 11 + 1 + + + + + + 6 + 0 + + + + + + 2 + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + 1 + 1 + + + + + + true + 0 + + + + + + 5 + 0 + + + + + + 2 + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 0 + + + + + + 2 + 1 + + + + + true + + + true + 0 + + + + + + true + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + 10 + 1 + + + + + + 10 + 1 + + + + + + 12 + 0 + + + + + + 7 + 1 + + + + Page + A page is a part of a book + + + true + 1 + + + + + + 3 + 1 + + + + + + true + 1 + + + + + + true + 1 + + + + + + 11 + 1 + + + + true + page.gif + + diff --git a/test_data/ontologyR2RV2/incunabulaPageAndBookWithValueObjects.ttl b/test_data/ontologyR2RV2/incunabulaPageAndBookWithValueObjects.ttl index 62fa7c07d5..de5564a73b 100644 --- a/test_data/ontologyR2RV2/incunabulaPageAndBookWithValueObjects.ttl +++ b/test_data/ontologyR2RV2/incunabulaPageAndBookWithValueObjects.ttl @@ -1,328 +1,329 @@ -@prefix rdf: . -@prefix owl: . -@prefix salsah-gui: . -@prefix xsd: . -@prefix rdfs: . -@prefix knora-api: . @prefix incunabula: . +@prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . +@prefix salsah-gui: . +@prefix xsd: . -incunabula:page a owl:Class ; +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 [ a owl:Restriction ; - salsah-gui:guiOrder 7 ; - owl:cardinality 1 ; - owl:onProperty incunabula:origname - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasStillImageFileValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:description ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 5 ; owl:minCardinality 0 ; owl:onProperty incunabula:citation ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:cardinality 1 ; - owl:onProperty incunabula:partOf + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 10 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:hasLeftSideband ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 10 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:hasLeftSideband + owl:onProperty incunabula:hasLeftSidebandValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; + owl:cardinality 1 ; + owl:onProperty incunabula:partOf ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - salsah-gui:guiOrder 2 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 7 ; owl:cardinality 1 ; - owl:onProperty incunabula:partOfValue + owl:onProperty incunabula:origname ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 11 ; owl:maxCardinality 1 ; owl:onProperty incunabula:hasRightSideband ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 11 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:hasRightSidebandValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 1 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:pagenum + 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 rdfs:label + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 3 ; owl:maxCardinality 1 ; owl:onProperty incunabula:seqnum ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:versionDate ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 10 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 1 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:hasLeftSidebandValue + owl:onProperty incunabula:pagenum ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 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:hasRightSidebandValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a 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:hasStillImageFileValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; - salsah-gui:guiOrder 6 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:page_comment + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; + owl:cardinality 1 ; + owl:onProperty incunabula:partOfValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkToValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:description + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; knora-api:resourceIcon "page.gif" . -incunabula:book a owl:Class ; +incunabula:book rdf:type owl:Class ; rdfs:comment "Diese Resource-Klasse beschreibt ein Buch" ; rdfs:label "Book" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 5 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:pubdate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 7 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:url + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; - salsah-gui:guiOrder 2 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 4 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:description - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 12 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:book_comment + owl:onProperty incunabula:publoc ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 3 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:publisher + owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 5 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:citation + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 9 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:physical_desc ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 10 ; owl:minCardinality 0 ; owl:onProperty incunabula:note ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 6 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:location - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:deleteDate ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 5 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 3 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:publisher + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:pubdate + owl:onProperty incunabula:description ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - salsah-gui:guiOrder 2 ; + 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 12 ; owl:minCardinality 0 ; - owl:onProperty incunabula:hasAuthor + owl:onProperty incunabula:book_comment ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - salsah-gui:guiOrder 1 ; - owl:minCardinality 1 ; - owl:onProperty incunabula:title + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 6 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:location ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 9 ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 7 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:physical_desc + owl:onProperty incunabula:url ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:hasAuthor ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 rdfs:label + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; - salsah-gui:guiOrder 4 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:publoc + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:arkUrl ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; knora-api:resourceIcon "book.gif" . - a owl:Ontology ; - rdfs:label "The incunabula ontology" ; - knora-api:attachedToProject . + rdf:type owl:Ontology ; + rdfs:label "The incunabula ontology" ; + knora-api:attachedToProject ; + knora-api:lastModificationDate "2012-12-12T12:12:12.120Z"^^xsd:dateTimeStamp . diff --git a/test_data/ontologyR2RV2/incunabulaPartOf.jsonld b/test_data/ontologyR2RV2/incunabulaPartOf.jsonld index 034f544064..2985fb70cd 100644 --- a/test_data/ontologyR2RV2/incunabulaPartOf.jsonld +++ b/test_data/ontologyR2RV2/incunabulaPartOf.jsonld @@ -1,5 +1,8 @@ - { + "knora-api:lastModificationDate": { + "@value": "2012-12-12T12:12:12.120Z", + "@type": "xsd:dateTimeStamp" + }, "rdfs:label": "The incunabula ontology", "@graph": [ { diff --git a/test_data/ontologyR2RV2/incunabulaPartOf.rdf b/test_data/ontologyR2RV2/incunabulaPartOf.rdf index 00014060ef..c0aca66cbc 100644 --- a/test_data/ontologyR2RV2/incunabulaPartOf.rdf +++ b/test_data/ontologyR2RV2/incunabulaPartOf.rdf @@ -1,26 +1,29 @@ - - - - The incunabula ontology - - - true - true - true - - - - Diese Property bezeichnet eine Verbindung zu einer anderen Resource, in dem ausgesagt wird, dass die vorliegende Resource ein integraler Teil der anderen Resource ist. Zum Beispiel ist eine Buchseite ein integraler Bestandteil genau eines Buches. - is a part of - - - - \ No newline at end of file + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:owl="http://www.w3.org/2002/07/owl#" + xmlns:salsah-gui="http://api.knora.org/ontology/salsah-gui/v2#" + xmlns:knora-api="http://api.knora.org/ontology/knora-api/v2#" + xmlns:incunabula="http://0.0.0.0:3333/ontology/0803/incunabula/v2#" + xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" + xmlns:xsd="http://www.w3.org/2001/XMLSchema#"> + + + The incunabula ontology + 2012-12-12T12:12:12.120Z + + + Diese Property bezeichnet eine Verbindung zu einer anderen Resource, in dem ausgesagt wird, dass die vorliegende Resource ein integraler Teil der anderen Resource ist. Zum Beispiel ist eine Buchseite ein integraler Bestandteil genau eines Buches. + true + + + is a part of + true + + + true + + diff --git a/test_data/ontologyR2RV2/incunabulaPartOf.ttl b/test_data/ontologyR2RV2/incunabulaPartOf.ttl index e7b8a8ba28..32f6ef456b 100644 --- a/test_data/ontologyR2RV2/incunabulaPartOf.ttl +++ b/test_data/ontologyR2RV2/incunabulaPartOf.ttl @@ -1,13 +1,13 @@ -@prefix rdf: . -@prefix owl: . -@prefix salsah-gui: . -@prefix xsd: . -@prefix rdfs: . -@prefix knora-api: . @prefix incunabula: . +@prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . +@prefix salsah-gui: . +@prefix xsd: . incunabula:partOfValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Diese Property bezeichnet eine Verbindung zu einer anderen Resource, in dem ausgesagt wird, dass die vorliegende Resource ein integraler Teil der anderen Resource ist. Zum Beispiel ist eine Buchseite ein integraler Bestandteil genau eines Buches." ; rdfs:label "is a part of" ; rdfs:subPropertyOf knora-api:isPartOfValue ; @@ -19,6 +19,7 @@ incunabula:partOfValue salsah-gui:guiElement salsah-gui:Searchbox . - a owl:Ontology ; - rdfs:label "The incunabula ontology" ; - knora-api:attachedToProject . + rdf:type owl:Ontology ; + rdfs:label "The incunabula ontology" ; + knora-api:attachedToProject ; + knora-api:lastModificationDate "2012-12-12T12:12:12.120Z"^^xsd:dateTimeStamp . diff --git a/test_data/ontologyR2RV2/incunabulaSimplePubDate.jsonld b/test_data/ontologyR2RV2/incunabulaSimplePubDate.jsonld index 298252d69b..e7b3912c1f 100644 --- a/test_data/ontologyR2RV2/incunabulaSimplePubDate.jsonld +++ b/test_data/ontologyR2RV2/incunabulaSimplePubDate.jsonld @@ -1,4 +1,3 @@ - { "@id": "http://0.0.0.0:3333/ontology/0803/incunabula/simple/v2", "@type": "owl:Ontology", diff --git a/test_data/ontologyR2RV2/incunabulaSimplePubDate.ttl b/test_data/ontologyR2RV2/incunabulaSimplePubDate.ttl index e5745a6010..548de60e5c 100644 --- a/test_data/ontologyR2RV2/incunabulaSimplePubDate.ttl +++ b/test_data/ontologyR2RV2/incunabulaSimplePubDate.ttl @@ -1,11 +1,11 @@ -@prefix rdf: . -@prefix owl: . -@prefix xsd: . -@prefix rdfs: . -@prefix knora-api: . @prefix incunabula: . +@prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . +@prefix xsd: . -incunabula:pubdate a owl:DatatypeProperty ; +incunabula:pubdate rdf:type owl:DatatypeProperty ; rdfs:comment "Datum der Herausgabe" ; rdfs:label "Datum der Herausgabe" ; rdfs:subPropertyOf , knora-api:hasValue ; @@ -13,5 +13,5 @@ incunabula:pubdate a owl:DatatypeProperty ; knora-api:subjectType incunabula:book . - a owl:Ontology ; + rdf:type owl:Ontology ; rdfs:label "The incunabula ontology" . diff --git a/test_data/ontologyR2RV2/incunabulaWithValueObjectsPubDate.jsonld b/test_data/ontologyR2RV2/incunabulaWithValueObjectsPubDate.jsonld index dc8221c272..62eb2b0241 100644 --- a/test_data/ontologyR2RV2/incunabulaWithValueObjectsPubDate.jsonld +++ b/test_data/ontologyR2RV2/incunabulaWithValueObjectsPubDate.jsonld @@ -1,5 +1,8 @@ - { + "knora-api:lastModificationDate": { + "@value": "2012-12-12T12:12:12.120Z", + "@type": "xsd:dateTimeStamp" + }, "rdfs:label": "The incunabula ontology", "@graph": [ { diff --git a/test_data/ontologyR2RV2/incunabulaWithValueObjectsPubDate.rdf b/test_data/ontologyR2RV2/incunabulaWithValueObjectsPubDate.rdf index 15aadeae16..bc33fd5e41 100644 --- a/test_data/ontologyR2RV2/incunabulaWithValueObjectsPubDate.rdf +++ b/test_data/ontologyR2RV2/incunabulaWithValueObjectsPubDate.rdf @@ -1,26 +1,28 @@ - - - - The incunabula ontology - - - true - true - - - - Datum der Herausgabe - Datum der Herausgabe - - - - - \ No newline at end of file + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:owl="http://www.w3.org/2002/07/owl#" + xmlns:salsah-gui="http://api.knora.org/ontology/salsah-gui/v2#" + xmlns:knora-api="http://api.knora.org/ontology/knora-api/v2#" + xmlns:incunabula="http://0.0.0.0:3333/ontology/0803/incunabula/v2#" + xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" + xmlns:xsd="http://www.w3.org/2001/XMLSchema#"> + + + The incunabula ontology + 2012-12-12T12:12:12.120Z + + + + Datum der Herausgabe + + Datum der Herausgabe + + true + true + + + + diff --git a/test_data/ontologyR2RV2/incunabulaWithValueObjectsPubDate.ttl b/test_data/ontologyR2RV2/incunabulaWithValueObjectsPubDate.ttl index e3c1521f74..cf767f8902 100644 --- a/test_data/ontologyR2RV2/incunabulaWithValueObjectsPubDate.ttl +++ b/test_data/ontologyR2RV2/incunabulaWithValueObjectsPubDate.ttl @@ -1,17 +1,18 @@ -@prefix rdf: . -@prefix owl: . -@prefix salsah-gui: . -@prefix xsd: . -@prefix rdfs: . -@prefix knora-api: . @prefix incunabula: . +@prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . +@prefix salsah-gui: . +@prefix xsd: . - a owl:Ontology ; - rdfs:label "The incunabula ontology" ; - knora-api:attachedToProject . + rdf:type owl:Ontology ; + rdfs:label "The incunabula ontology" ; + knora-api:attachedToProject ; + knora-api:lastModificationDate "2012-12-12T12:12:12.120Z"^^xsd:dateTimeStamp . -incunabula:pubdate a owl:ObjectProperty ; +incunabula:pubdate rdf:type owl:ObjectProperty ; rdfs:comment "Datum der Herausgabe" ; rdfs:label "Datum der Herausgabe" ; rdfs:subPropertyOf , knora-api:hasValue ; diff --git a/test_data/ontologyR2RV2/knoraApiDate.jsonld b/test_data/ontologyR2RV2/knoraApiDate.jsonld index 923d110cc3..6ad93d9e26 100644 --- a/test_data/ontologyR2RV2/knoraApiDate.jsonld +++ b/test_data/ontologyR2RV2/knoraApiDate.jsonld @@ -1,4 +1,3 @@ - { "@id": "http://api.knora.org/ontology/knora-api/simple/v2", "@type": "owl:Ontology", diff --git a/test_data/ontologyR2RV2/knoraApiDate.ttl b/test_data/ontologyR2RV2/knoraApiDate.ttl index 3573370303..512f7d5835 100644 --- a/test_data/ontologyR2RV2/knoraApiDate.ttl +++ b/test_data/ontologyR2RV2/knoraApiDate.ttl @@ -1,14 +1,14 @@ -@prefix rdf: . -@prefix owl: . -@prefix xsd: . -@prefix rdfs: . @prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . +@prefix xsd: . - a owl:Ontology ; + rdf:type owl:Ontology ; rdfs:label "The knora-api ontology in the simple schema" . -knora-api:Date a rdfs:Datatype ; +knora-api:Date rdf:type rdfs:Datatype ; rdfs:comment "Represents a date as a period with different possible precisions." ; rdfs:label "Date literal" ; owl:onDatatype xsd:string ; diff --git a/test_data/ontologyR2RV2/knoraApiDateValue.jsonld b/test_data/ontologyR2RV2/knoraApiDateValue.jsonld index b5df6aab7e..47184c4cb9 100644 --- a/test_data/ontologyR2RV2/knoraApiDateValue.jsonld +++ b/test_data/ontologyR2RV2/knoraApiDateValue.jsonld @@ -1,4 +1,3 @@ - { "rdfs:label": "The knora-api ontology in the complex schema", "@graph": [ diff --git a/test_data/ontologyR2RV2/knoraApiDateValue.ttl b/test_data/ontologyR2RV2/knoraApiDateValue.ttl index 3e3ff49e80..a17d204345 100644 --- a/test_data/ontologyR2RV2/knoraApiDateValue.ttl +++ b/test_data/ontologyR2RV2/knoraApiDateValue.ttl @@ -1,127 +1,127 @@ -@prefix rdf: . -@prefix owl: . +@prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . @prefix salsah-gui: . -@prefix xsd: . -@prefix rdfs: . -@prefix knora-api: . +@prefix xsd: . - a owl:Ontology ; + rdf:type owl:Ontology ; rdfs:label "The knora-api ontology in the complex schema" ; knora-api:attachedToProject ; knora-api:isBuiltIn true . -knora-api:DateValue a owl:Class ; +knora-api:DateValue rdf:type owl:Class ; rdfs:comment "Represents a Knora date value" ; rdfs:subClassOf knora-api:DateBase , knora-api:Value ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasEndDay - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:dateValueHasStartYear ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:dateValueHasStartEra ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:dateValueHasStartDay ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:dateValueHasCalendar ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:dateValueHasStartDay + owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:valueHasUUID ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:dateValueHasStartMonth ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:dateValueHasEndDay ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasStartYear + owl:onProperty knora-api:dateValueHasEndYear ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:dateValueHasEndEra ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndYear - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:valueCreationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasEndMonth + owl:onProperty knora-api:valueHasComment ] ; knora-api:isValueClass true . diff --git a/test_data/ontologyR2RV2/knoraApiOntologySimple.jsonld b/test_data/ontologyR2RV2/knoraApiOntologySimple.jsonld index a7e11f383f..e8ee0e44b5 100644 --- a/test_data/ontologyR2RV2/knoraApiOntologySimple.jsonld +++ b/test_data/ontologyR2RV2/knoraApiOntologySimple.jsonld @@ -1,4 +1,3 @@ - { "@id": "http://api.knora.org/ontology/knora-api/simple/v2", "@type": "owl:Ontology", diff --git a/test_data/ontologyR2RV2/knoraApiOntologySimple.ttl b/test_data/ontologyR2RV2/knoraApiOntologySimple.ttl index ce4c808de2..96729ad769 100644 --- a/test_data/ontologyR2RV2/knoraApiOntologySimple.ttl +++ b/test_data/ontologyR2RV2/knoraApiOntologySimple.ttl @@ -1,11 +1,11 @@ -@prefix rdf: . -@prefix owl: . -@prefix xsd: . -@prefix rdfs: . @prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . +@prefix xsd: . knora-api:hasMovingImageFile - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Connects a Representation to a movie file" ; rdfs:label "has movie file" ; rdfs:subPropertyOf knora-api:hasFile ; @@ -13,37 +13,37 @@ knora-api:hasMovingImageFile knora-api:subjectType knora-api:MovingImageRepresentation . knora-api:TextRepresentation - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "A resource containing a text file" ; rdfs:label "Representation (Text)" ; rdfs:subClassOf knora-api:Representation ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLink - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:hasTextFile ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:hasIncomingLink ] . knora-api:hasStandoffLinkTo - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Represents a link in standoff markup from one resource to another." ; rdfs:label "has Standoff Link to" ; rdfs:subPropertyOf knora-api:hasLinkTo ; @@ -51,7 +51,7 @@ knora-api:hasStandoffLinkTo knora-api:subjectType knora-api:Resource . knora-api:hasRepresentation - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "References an instance of a Representation. A Representation contains the metadata of a digital object (= file) which represents some physical entity such as an image, a sound, an encoded text etc." ; rdfs:label "has Representation" ; rdfs:subPropertyOf knora-api:hasLinkTo ; @@ -59,117 +59,117 @@ knora-api:hasRepresentation knora-api:subjectType knora-api:Resource . knora-api:StillImageRepresentation - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "A resource that can contain a two-dimensional still image file" ; rdfs:label "Representation (Image)" ; rdfs:subClassOf knora-api:Representation ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLink - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:hasStillImageFile ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl ] . -knora-api:ListNode a rdfs:Datatype ; +knora-api:ListNode rdf:type rdfs:Datatype ; rdfs:comment "Represents a list node." ; rdfs:label "List Node" ; owl:onDatatype xsd:string . -knora-api:error a owl:DatatypeProperty ; +knora-api:error rdf:type owl:DatatypeProperty ; rdfs:comment "Provides a message indicating that an operation was unsuccessful" ; rdfs:label "error" ; knora-api:objectType xsd:string . knora-api:DDDRepresentation - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a file containg 3D data" ; rdfs:label "Representation (3D)" ; rdfs:subClassOf knora-api:Representation ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:hasDDDFile ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty rdfs:label - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLink ] . knora-api:AudioRepresentation - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a file containing audio data" ; rdfs:label "Representation (Audio)" ; rdfs:subClassOf knora-api:Representation ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:hasAudioFile ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLink ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:hasAudioFile + owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLink + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] . -knora-api:seqnum a owl:DatatypeProperty ; +knora-api:seqnum rdf:type owl:DatatypeProperty ; rdfs:comment "Indicates the position of a resource within a sequence" ; rdfs:label "Sequence number" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:objectType xsd:integer . -knora-api:objectType a rdf:Property ; +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 - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents a geometrical shape." ; rdfs:label "Geometry" ; rdfs:subPropertyOf knora-api:hasValue ; @@ -177,100 +177,100 @@ knora-api:hasGeometry knora-api:subjectType knora-api:Region . - a owl:Ontology ; + rdf:type owl:Ontology ; rdfs:label "The knora-api ontology in the simple schema" . knora-api:Representation - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "A resource that can store a file" ; rdfs:label "Representation" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:hasIncomingLink ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:hasFile - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty rdfs:label ] . -knora-api:Geom a rdfs:Datatype ; +knora-api:Geom rdf:type rdfs:Datatype ; rdfs:comment "Represents a geometry specification in JSON." ; rdfs:label "Geometry specification" ; owl:onDatatype xsd:string . -knora-api:Region a owl:Class ; +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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:isRegionOf ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasColor ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLink ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:isRegionOf + owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 1 ; owl:onProperty knora-api:hasComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:hasColor + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 1 ; owl:onProperty knora-api:hasGeometry ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl - ] ; knora-api:resourceIcon "region.gif" . -knora-api:Geoname a rdfs:Datatype ; +knora-api:Geoname rdf:type rdfs:Datatype ; rdfs:comment "Represents a Geoname code." ; rdfs:label "Geoname code" ; owl:onDatatype xsd:string ; owl:withRestrictions [ xsd:pattern "\\d{1,8}" ] . -knora-api:hasDDDFile a owl:DatatypeProperty ; +knora-api:hasDDDFile rdf:type owl:DatatypeProperty ; rdfs:comment "Connects a Representation to a 3D-file" ; rdfs:label "has 3D-file" ; rdfs:subPropertyOf knora-api:hasFile ; knora-api:objectType knora-api:File ; knora-api:subjectType knora-api:DDDRepresentation . -knora-api:hasComment a owl:DatatypeProperty ; +knora-api:hasComment rdf:type owl:DatatypeProperty ; rdfs:comment "Represents a comment on a resource as a knora-base:TextValue" ; rdfs:label "Comment" ; rdfs:subPropertyOf knora-api:hasValue ; @@ -278,13 +278,13 @@ knora-api:hasComment a owl:DatatypeProperty ; knora-api:subjectType knora-api:Resource . knora-api:mayHaveMoreResults - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Indicates whether more results may be available for a search query" ; rdfs:label "May have more results" ; knora-api:objectType xsd:boolean . knora-api:hasArchiveFile - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Connects a Representation to a zip archive" ; rdfs:label "has zip" ; rdfs:subPropertyOf knora-api:hasFile ; @@ -292,37 +292,37 @@ knora-api:hasArchiveFile knora-api:subjectType knora-api:ArchiveRepresentation . knora-api:isAnnotationOf - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:label "is Annotation of" ; rdfs:subPropertyOf knora-api:hasLinkTo ; knora-api:objectType knora-api:Resource ; knora-api:subjectType knora-api:Annotation . -knora-api:result a owl:DatatypeProperty ; +knora-api:result rdf:type owl:DatatypeProperty ; rdfs:comment "Provides a message indicating that an operation was successful" ; rdfs:label "result" ; knora-api:objectType xsd:string . knora-api:subjectType - a rdf:Property ; + rdf:type rdf:Property ; rdfs:comment "Specifies the required type of the subjects of a property" ; rdfs:label "Subject type" . -knora-api:Color a rdfs:Datatype ; +knora-api:Color rdf:type rdfs:Datatype ; rdfs:comment "Represents a color." ; rdfs:label "Color literal" ; owl:onDatatype xsd:string ; owl:withRestrictions [ xsd:pattern "#([0-9a-fA-F]{3}){1,2}" ] . knora-api:isMainResource - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Indicates if the given resource is the main resource of a request or a resource referred to by a link property." ; knora-api:objectType xsd:boolean ; knora-api:subjectType knora-api:Resource . -rdfs:label a owl:DatatypeProperty . +rdfs:label rdf:type owl:DatatypeProperty . -knora-api:hasColor a owl:DatatypeProperty ; +knora-api:hasColor rdf:type owl:DatatypeProperty ; rdfs:comment "Specifies the color of a region." ; rdfs:label "Color" ; rdfs:subPropertyOf knora-api:hasValue ; @@ -330,133 +330,133 @@ knora-api:hasColor a owl:DatatypeProperty ; knora-api:subjectType knora-api:Region . knora-api:DocumentRepresentation - a owl:Class ; + rdf:type owl:Class ; rdfs:label "Representation (Document)" ; rdfs:subClassOf knora-api:Representation ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLink ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:hasDocumentFile ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:arkUrl ] . -knora-api:LinkObj a owl:Class ; +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 [ a 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:minCardinality 1 ; + owl:onProperty knora-api:hasLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasComment + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 1 ; - owl:onProperty knora-api:hasLinkTo + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLink ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasComment - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; knora-api:resourceIcon "link.gif" . knora-api:XSLTransformation - a owl:Class ; + 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 [ a 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:hasTextFile ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:hasIncomingLink ] . -knora-api:Date a rdfs:Datatype ; +knora-api:Date rdf:type rdfs:Datatype ; rdfs:comment "Represents a date as a period with different possible precisions." ; rdfs:label "Date literal" ; owl:onDatatype xsd:string ; owl:withRestrictions [ xsd:pattern "(GREGORIAN|JULIAN|ISLAMIC):\\d{1,4}(-\\d{1,2}(-\\d{1,2})?)?( BC| AD| BCE| CE)?(:\\d{1,4}(-\\d{1,2}(-\\d{1,2})?)?( BC| AD| BCE| CE)?)?" ] . -knora-api:Interval a rdfs:Datatype ; +knora-api:Interval rdf:type rdfs:Datatype ; rdfs:comment "Represents an interval." ; rdfs:label "Interval literal" ; owl:onDatatype xsd:string ; owl:withRestrictions [ xsd:pattern "\\d+(\\.\\d+)?,\\d+(\\.\\d+)?" ] . +knora-api:hasLinkTo rdf:type owl:ObjectProperty ; + rdfs:comment "Represents a direct connection between two resources" ; + rdfs:label "has Link to" ; + rdfs:subPropertyOf knora-api:resourceProperty ; + knora-api:objectType knora-api:Resource ; + knora-api:subjectType knora-api:Resource . + knora-api:hasAudioFile - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Connects a Representation to an audio file" ; rdfs:label "has audio file" ; rdfs:subPropertyOf knora-api:hasFile ; knora-api:objectType knora-api:File ; knora-api:subjectType knora-api:AudioRepresentation . -knora-api:hasLinkTo a owl:ObjectProperty ; - rdfs:comment "Represents a direct connection between two resources" ; - rdfs:label "has Link to" ; - rdfs:subPropertyOf knora-api:resourceProperty ; - knora-api:objectType knora-api:Resource ; - knora-api:subjectType knora-api:Resource . - -knora-api:hasValue a owl:DatatypeProperty ; +knora-api:hasValue rdf:type owl:DatatypeProperty ; rdfs:comment "The base property of properties that point from Knora resources to Knora values." ; rdfs:label "has value" ; rdfs:subPropertyOf knora-api:resourceProperty ; knora-api:subjectType knora-api:Resource . knora-api:hasDocumentFile - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Connects a Representation to a document" ; rdfs:label "has document" ; rdfs:subPropertyOf knora-api:hasFile ; @@ -464,214 +464,214 @@ knora-api:hasDocumentFile knora-api:subjectType knora-api:DocumentRepresentation . knora-api:ArchiveRepresentation - a owl:Class ; + rdf:type owl:Class ; rdfs:label "Representation (Zip)" ; rdfs:subClassOf knora-api:Representation ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLink ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:hasArchiveFile ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:arkUrl ] . -knora-api:Resource a owl:Class ; +knora-api:Resource rdf:type owl:Class ; rdfs:comment "Represents something in the world, or an abstract thing" ; rdfs:label "Resource" ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLink ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:arkUrl ] . knora-api:hasTextFile - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Connects a Representation to a text file" ; rdfs:label "has text file" ; rdfs:subPropertyOf knora-api:hasFile ; knora-api:objectType knora-api:File ; knora-api:subjectType knora-api:TextRepresentation . -knora-api:isRegionOf a owl:ObjectProperty ; +knora-api:isRegionOf rdf:type owl:ObjectProperty ; rdfs:comment "Region of interest within a digital object (e.g. an image)" ; rdfs:label "is region of" ; rdfs:subPropertyOf knora-api:hasLinkTo ; knora-api:objectType knora-api:Representation ; knora-api:subjectType knora-api:Region . -knora-api:Annotation a owl:Class ; +knora-api:Annotation rdf:type owl:Class ; rdfs:comment "A generic class for representing annotations" ; rdfs:label "Annotation" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 1 ; + owl:onProperty knora-api:isAnnotationOf ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLink ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 1 ; - owl:onProperty knora-api:hasComment - ] ; - rdfs:subClassOf [ a 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:arkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 1 ; + owl:onProperty knora-api:hasComment ] . knora-api:versionArkUrl - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Provides the ARK URL of a particular version of a resource." ; rdfs:label "version ARK URL" ; knora-api:objectType xsd:anyURI . +knora-api:DeletedValue + rdf:type owl:Class ; + rdfs:comment "Generic representation of a deleted value that can therefore not be displayed" ; + rdfs:label "Deleted Value" . + knora-api:resourceProperty - a rdf:Property ; + rdf:type rdf:Property ; rdfs:comment "The base property of properties that point from Knora resources to Knora resources or values. These properties are required to have cardinalities in the resource classes in which they are used." ; rdfs:label "Resource property" ; rdfs:subPropertyOf knora-api:resourceProperty ; knora-api:subjectType knora-api:Resource . -knora-api:DeletedValue - a owl:Class ; - rdfs:comment "Generic representation of a deleted value that can therefore not be displayed" ; - rdfs:label "Deleted Value" . - knora-api:hasIncomingLink - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Indicates that this resource referred to by another resource" ; rdfs:label "has incoming link" ; rdfs:subPropertyOf knora-api:hasLinkTo ; knora-api:objectType knora-api:Resource ; knora-api:subjectType knora-api:Resource . -knora-api:arkUrl a owl:DatatypeProperty ; +knora-api:arkUrl rdf:type owl:DatatypeProperty ; rdfs:comment "Provides the ARK URL of a resource." ; rdfs:label "ARK URL" ; knora-api:objectType xsd:anyURI . knora-api:MovingImageRepresentation - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "A resource containing moving image data" ; rdfs:label "Representation (Movie)" ; rdfs:subClassOf knora-api:Representation ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:hasMovingImageFile ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLink - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty rdfs:label - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 ] . knora-api:DeletedResource - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Generic representation of a deleted resource that can therefore not be displayed" ; rdfs:label "Deleted Resource" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLink ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:arkUrl ] . knora-api:hasStillImageFile - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Connects a Representation to an image file" ; rdfs:label "has image file" ; rdfs:subPropertyOf knora-api:hasFile ; knora-api:objectType knora-api:File ; knora-api:subjectType knora-api:StillImageRepresentation . -knora-api:isPartOf a owl:ObjectProperty ; +knora-api:isPartOf rdf:type owl:ObjectProperty ; rdfs:comment "Indicates that this resource is part of another resource" ; rdfs:label "is part of" ; rdfs:subPropertyOf knora-api:hasLinkTo ; knora-api:objectType knora-api:Resource ; knora-api:subjectType knora-api:Resource . -knora-api:File a rdfs:Datatype ; +knora-api:File rdf:type rdfs:Datatype ; rdfs:comment "Represents a file URI." ; rdfs:label "File URI" ; owl:onDatatype xsd:anyURI . -knora-api:hasFile a owl:DatatypeProperty ; +knora-api:hasFile rdf:type owl:DatatypeProperty ; rdfs:comment "Connects a Representation to a file" ; rdfs:label "has file" ; rdfs:subPropertyOf knora-api:hasValue ; @@ -679,6 +679,6 @@ knora-api:hasFile a owl:DatatypeProperty ; knora-api:subjectType knora-api:Representation . knora-api:resourceIcon - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; knora-api:objectType xsd:string ; knora-api:subjectType owl:Class . diff --git a/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.jsonld b/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.jsonld index 1b3f6334c0..bbdba9e7fb 100644 --- a/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.jsonld +++ b/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.jsonld @@ -1,4 +1,3 @@ - { "rdfs:label": "The knora-api ontology in the complex schema", "@graph": [ diff --git a/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.ttl b/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.ttl index 1788b92fdc..9a6fa8f551 100644 --- a/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.ttl +++ b/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.ttl @@ -1,330 +1,330 @@ -@prefix rdf: . -@prefix owl: . +@prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . @prefix salsah-gui: . -@prefix xsd: . -@prefix rdfs: . -@prefix knora-api: . +@prefix xsd: . -knora-api:error a owl:DatatypeProperty ; +knora-api:error rdf:type owl:DatatypeProperty ; rdfs:comment "Provides an error message" ; rdfs:label "error" ; knora-api:objectType xsd:string . knora-api:DDDFileValue - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "This represents some 3D-object with mesh data, point cloud, etc." ; rdfs:subClassOf knora-api:FileValue ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:fileValueAsUrl + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:fileValueHasFilename ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:valueAsString ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:valueHasComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:valueCreationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:fileValueAsUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:arkUrl ] ; knora-api:isValueClass true . knora-api:versionDate - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Provides the date of a particular version of a resource." ; rdfs:label "version date" ; knora-api:objectType xsd:anyURI . knora-api:StandoffTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a standoff markup tag" ; - rdfs:subClassOf [ a owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasEnd ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasStartParent ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:standoffTagHasEndIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStartIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; knora-api:isStandoffClass true . knora-api:DDDRepresentation - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a file containg 3D data" ; rdfs:label "Representation (3D)" ; rdfs:subClassOf knora-api:Representation ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasDDDFileValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasDDDFileValue + ] ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:versionDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLinkValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:userHasPermission ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:isDeleted + owl:onProperty knora-api:deleteDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 . knora-api:DeletedValue - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Generic representation of a deleted value that can therefore not be displayed" ; rdfs:label "Deleted Value" ; rdfs:subClassOf knora-api:Value ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:valueAsString ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:valueHasComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:valueHasUUID ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:valueCreationDate ] ; knora-api:isValueClass true . knora-api:mappingHasName - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the name of a mapping" ; rdfs:label "Name of a mapping (will be part of the mapping's Iri)" ; knora-api:objectType xsd:string . knora-api:standoffTagHasEndParentIndex - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "The next knora-api:standoffTagHasStartIndex of the end parent tag of a standoff tag." ; rdfs:label "standoff tag has end parent index" ; knora-api:objectType xsd:integer ; knora-api:subjectType knora-api:StandoffTag . knora-api:uriValueAsUri - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the literal URI value of a UriValue." ; rdfs:label "URI value as URI" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -332,7 +332,7 @@ knora-api:uriValueAsUri knora-api:subjectType knora-api:UriBase . knora-api:hasArchiveFileValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Connects a Representation to a zip archive" ; rdfs:label "has zip" ; rdfs:subPropertyOf knora-api:hasFileValue ; @@ -342,112 +342,112 @@ knora-api:hasArchiveFileValue knora-api:subjectType knora-api:ArchiveRepresentation ; salsah-gui:guiElement salsah-gui:Fileupload . -knora-api:TextValue a owl:Class ; +knora-api:TextValue rdf:type owl:Class ; rdfs:subClassOf knora-api:Value ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:textValueAsXml + owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:textValueHasMaxStandoffStartIndex + owl:onProperty knora-api:textValueAsXml ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:textValueHasMarkup + owl:onProperty knora-api:valueCreationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:textValueHasMapping - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:textValueHasMaxStandoffStartIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:textValueHasMarkup + ] ; + 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:isDeleted + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; owl:onProperty knora-api:textValueAsHtml ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:valueHasComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:valueAsString ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:textValueHasLanguage - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:textValueHasStandoff - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:textValueHasMapping ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:textValueHasLanguage + ] ; knora-api:isValueClass true . -knora-api:IntBase a owl:Class ; +knora-api:IntBase rdf:type owl:Class ; rdfs:subClassOf knora-api:ValueBase ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:intValueAsInt ] . knora-api:dateValueHasEndMonth - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the end month of a date value." ; rdfs:label "Date value has end month" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -455,126 +455,126 @@ knora-api:dateValueHasEndMonth knora-api:subjectType knora-api:DateBase . knora-api:standoffTagHasStartAncestor - a owl:TransitiveProperty , owl:ObjectProperty ; + rdf:type owl:TransitiveProperty , owl:ObjectProperty ; knora-api:objectType knora-api:StandoffTag ; knora-api:subjectType knora-api:StandoffTag . -knora-api:isEditable a owl:AnnotationProperty ; +knora-api:isEditable rdf:type owl:AnnotationProperty ; rdfs:comment "Indicates whether a property's values can be updated via the Knora API." ; rdfs:label "is editable" ; knora-api:objectType xsd:boolean ; knora-api:subjectType rdf:Property . -knora-api:deletedBy a owl:ObjectProperty ; +knora-api:deletedBy rdf:type owl:ObjectProperty ; rdfs:comment "Indicates who deleted a resource or value" ; knora-api:objectType xsd:anyURI . -knora-api:Annotation a owl:Class ; +knora-api:Annotation rdf:type owl:Class ; rdfs:comment "A generic class for representing annotations" ; rdfs:label "Annotation" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 1 ; - owl:onProperty knora-api:isAnnotationOfValue + owl:onProperty knora-api:isAnnotationOf ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 1 ; - owl:onProperty knora-api:isAnnotationOf + owl:onProperty knora-api:isAnnotationOfValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 1 ; owl:onProperty knora-api:hasComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:deleteDate + owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:attachedToProject + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLinkValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . knora-api:intervalValueHasStart - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the start position of an interval." ; rdfs:label "interval value has start" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -582,7 +582,7 @@ knora-api:intervalValueHasStart knora-api:subjectType knora-api:IntervalBase . knora-api:hasStandoffLinkToValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Represents a link in standoff markup from one resource to another." ; rdfs:label "has Standoff Link to" ; rdfs:subPropertyOf knora-api:hasLinkToValue ; @@ -591,94 +591,94 @@ knora-api:hasStandoffLinkToValue knora-api:objectType knora-api:LinkValue ; knora-api:subjectType knora-api:Resource . -knora-api:LinkValue a owl:Class ; +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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:linkValueHasTargetIri + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:valueHasComment ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:linkValueHasTarget + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:linkValueHasSource - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:linkValueHasTargetIri ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:valueAsString ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:linkValueHasSource ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:linkValueHasTarget ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:deleteDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; owl:onProperty knora-api:linkValueHasSourceIri ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:deletedBy + ] ; knora-api:isValueClass true . knora-api:stillImageFileValueHasDimY - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "The vertical dimension of a still image file value." ; rdfs:label "Still image file value has Y dimension" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -686,159 +686,159 @@ knora-api:stillImageFileValueHasDimY knora-api:subjectType knora-api:StillImageFileValue . knora-api:Representation - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "A resource that can store a file" ; rdfs:label "Representation" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:creationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasFileValue + owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:hasStandoffLinkToValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:versionDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:userHasPermission ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; knora-api:isResourceClass true . knora-api:StandoffDataTypeTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a knora-base value type in a TextValue" ; rdfs:subClassOf knora-api:StandoffTag ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasEnd ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:standoffTagHasStartParent + ] ; knora-api:isStandoffClass true . knora-api:isPartOfValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:subPropertyOf knora-api:hasLinkToValue ; knora-api:isLinkValueProperty true ; knora-api:isResourceProperty true ; @@ -846,371 +846,371 @@ knora-api:isPartOfValue knora-api:subjectType knora-api:Resource . knora-api:TextFileValue - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "A text file such as plain Unicode text, LaTeX, TEI/XML, etc." ; rdfs:subClassOf knora-api:FileValue ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:fileValueAsUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:fileValueHasFilename + owl:onProperty knora-api:userHasPermission ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:fileValueHasFilename ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:valueHasUUID ] ; knora-api:isValueClass true . -knora-api:isLinkProperty - a 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 - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "The name of the file that a file value represents." ; rdfs:label "File value has filename" ; rdfs:subPropertyOf knora-api:valueHas ; knora-api:objectType xsd:string ; knora-api:subjectType knora-api:FileValue . +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 - a owl:AnnotationProperty ; + rdf:type owl:AnnotationProperty ; rdfs:comment "Indicates whether a resource class can be instantiated via the Knora API." ; rdfs:label "can be instantiated" ; knora-api:objectType xsd:boolean ; knora-api:subjectType owl:Class . knora-api:ArchiveRepresentation - a owl:Class ; + rdf:type owl:Class ; rdfs:label "Representation (Zip)" ; rdfs:subClassOf knora-api:Representation ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:cardinality 1 ; + owl:onProperty knora-api:userHasPermission + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkToValue ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasArchiveFileValue + 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 rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:lastModificationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:creationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:deleteDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:attachedToProject ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:hasPermissions ] ; knora-api:isResourceClass true . knora-api:StandoffIntervalTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents an interval in a TextValue" ; rdfs:subClassOf knora-api:StandoffDataTypeTag , knora-api:IntervalBase ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:intervalValueHasStart ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:intervalValueHasStart + owl:onProperty knora-api:standoffTagHasEnd + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:intervalValueHasEnd ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStart ] ; knora-api:isStandoffClass true . knora-api:DecimalBase - a owl:Class ; + rdf:type owl:Class ; rdfs:subClassOf knora-api:ValueBase ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:decimalValueAsDecimal ] . knora-api:DocumentFileValue - a owl:Class ; + rdf:type owl:Class ; rdfs:subClassOf knora-api:FileValue ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:documentFileValueHasPageCount ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:userHasPermission ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:fileValueHasFilename - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:documentFileValueHasPageCount - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:fileValueAsUrl + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:documentFileValueHasDimY ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:valueHasComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + 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:deleteDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:maxCardinality 1 ; owl:onProperty knora-api:documentFileValueHasDimX ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + 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:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:documentFileValueHasDimY + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; knora-api:isValueClass true . knora-api:intervalValueHasEnd - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the end position of an interval." ; rdfs:label "interval value has end" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -1218,100 +1218,100 @@ knora-api:intervalValueHasEnd knora-api:subjectType knora-api:IntervalBase . knora-api:ontologyName - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the short name of an ontology" ; rdfs:label "ontology name" ; knora-api:objectType xsd:string . knora-api:DocumentRepresentation - a owl:Class ; + rdf:type owl:Class ; rdfs:label "Representation (Document)" ; rdfs:subClassOf knora-api:Representation ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:hasIncomingLinkValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasDocumentFileValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasDocumentFileValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:creationDate @@ -1319,165 +1319,165 @@ knora-api:DocumentRepresentation knora-api:isResourceClass true . knora-api:resourceProperty - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "The base property of properties that point from Knora resources to Knora resources or values. These properties are required to have cardinalities in the resource classes in which they are used." ; knora-api:isResourceProperty true ; knora-api:subjectType knora-api:Resource . knora-api:standoffTagHasEndIndex - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; knora-api:objectType xsd:integer ; knora-api:subjectType knora-api:StandoffTag . -knora-api:IntValue a owl:Class ; +knora-api:IntValue rdf:type owl:Class ; rdfs:comment "Represents an integer value" ; rdfs:subClassOf knora-api:Value , knora-api:IntBase ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:intValueAsInt - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:intValueAsInt ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:valueAsString ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:isDeleted + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; knora-api:isValueClass true . -knora-api:author a owl:ObjectProperty ; - rdfs:comment "Specifies the author of a particular version of a resource." ; - rdfs:label "author" ; - knora-api:objectType knora-api:User . - knora-api:StandoffDecimalTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a decimal (floating point) value in a TextValue" ; rdfs:subClassOf knora-api:StandoffDataTypeTag , knora-api:DecimalBase ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:decimalValueAsDecimal ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasStartParent ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:standoffTagHasOriginalXMLID + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; knora-api:isStandoffClass true . +knora-api:author rdf:type owl:ObjectProperty ; + rdfs:comment "Specifies the author of a particular version of a resource." ; + rdfs:label "author" ; + knora-api:objectType knora-api:User . + - a owl:Ontology ; + rdf:type owl:Ontology ; rdfs:label "The knora-api ontology in the complex schema" ; knora-api:attachedToProject ; knora-api:isBuiltIn true . knora-api:hasFileValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Connects a Representation to a file" ; rdfs:label "has file" ; rdfs:subPropertyOf knora-api:hasValue ; @@ -1487,7 +1487,7 @@ knora-api:hasFileValue salsah-gui:guiElement salsah-gui:Fileupload . knora-api:textValueHasMapping - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Indicates the mapping that is used to convert a text value's markup from from XML to standoff." ; rdfs:label "Text value has mapping" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -1495,18 +1495,18 @@ knora-api:textValueHasMapping knora-api:subjectType knora-api:TextValue . knora-api:IntervalBase - a owl:Class ; + rdf:type owl:Class ; rdfs:subClassOf knora-api:ValueBase ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:intervalValueHasStart ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:intervalValueHasEnd ] . -knora-api:hasColor a owl:ObjectProperty ; +knora-api:hasColor rdf:type owl:ObjectProperty ; rdfs:comment "Specifies the color of a region." ; rdfs:label "Color" ; rdfs:subPropertyOf knora-api:hasValue ; @@ -1518,230 +1518,230 @@ knora-api:hasColor a owl:ObjectProperty ; salsah-gui:guiElement salsah-gui:Colorpicker . knora-api:resourceIcon - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; knora-api:objectType xsd:string ; knora-api:subjectType owl:Class . knora-api:ArchiveFileValue - a owl:Class ; + rdf:type owl:Class ; rdfs:subClassOf knora-api:FileValue ; - rdfs:subClassOf [ a owl:Restriction ; + 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:fileValueHasFilename ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:fileValueHasFilename + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:fileValueAsUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:fileValueAsUrl - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:userHasPermission ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 ] ; knora-api:isValueClass true . -knora-api:ListValue a owl:Class ; +knora-api:ListValue rdf:type owl:Class ; rdfs:subClassOf knora-api:Value ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:listValueAsListNode ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:valueAsString ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:userHasPermission ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:valueHasUUID ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:valueCreationDate ] ; knora-api:isValueClass true . knora-api:StandoffIntegerTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents an integer value in a TextValue" ; rdfs:subClassOf knora-api:IntBase , knora-api:StandoffDataTypeTag ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasEndParent ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:intValueAsInt ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasUUID ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:standoffTagHasEndParentIndex + ] ; knora-api:isStandoffClass true . -knora-api:objectType a rdf:Property ; +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:hasDocumentFileValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Connects a Representation to a document" ; rdfs:label "has document" ; rdfs:subPropertyOf knora-api:hasFileValue ; @@ -1752,13 +1752,13 @@ knora-api:hasDocumentFileValue salsah-gui:guiElement salsah-gui:Fileupload . knora-api:userHasPermission - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Provides the requesting user's maximum permission on a resource or value." ; rdfs:label "user has permission" ; knora-api:objectType xsd:string . knora-api:textValueHasStandoff - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Standoff markup attached to a text value." ; rdfs:label "text value has standoff" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -1766,217 +1766,217 @@ knora-api:textValueHasStandoff knora-api:subjectType knora-api:TextValue . knora-api:movingImageFileValueHasDimY - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "The vertical dimension of a moving image file value." ; rdfs:label "Moving image file value has Y dimension" ; rdfs:subPropertyOf knora-api:valueHas ; knora-api:objectType xsd:integer ; knora-api:subjectType knora-api:MovingImageFileValue . -knora-api:canDo a owl:DatatypeProperty ; +knora-api:canDo rdf:type owl:DatatypeProperty ; rdfs:comment "Indicates whether an operation can be performed" ; rdfs:label "can do" ; knora-api:objectType xsd:boolean . knora-api:StandoffDateTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a date in a TextValue" ; rdfs:subClassOf knora-api:DateBase , knora-api:StandoffDataTypeTag ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:dateValueHasStartDay ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:dateValueHasStartMonth ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:dateValueHasEndEra ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasCalendar + owl:onProperty knora-api:dateValueHasStartYear ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:dateValueHasEndDay + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:dateValueHasStartEra ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:dateValueHasEndMonth ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasEndIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndEra + owl:onProperty knora-api:dateValueHasEndYear ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:standoffTagHasStartParent ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndYear + owl:onProperty knora-api:standoffTagHasStart ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasStartMonth + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:dateValueHasCalendar ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndParent ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasStartDay + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; knora-api:isStandoffClass true . knora-api:StillImageRepresentation - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "A resource that can contain a two-dimensional still image file" ; rdfs:label "Representation (Image)" ; rdfs:subClassOf knora-api:Representation ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasStillImageFileValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasStillImageFileValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:creationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:attachedToProject ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 ] ; knora-api:isResourceClass true . knora-api:hasStandoffLinkTo - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Represents a link in standoff markup from one resource to another." ; rdfs:label "has Standoff Link to" ; rdfs:subPropertyOf knora-api:hasLinkTo ; @@ -1986,7 +1986,7 @@ knora-api:hasStandoffLinkTo knora-api:subjectType knora-api:Resource . knora-api:textValueHasLanguage - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Language code attached to a text value." ; rdfs:label "text value has language" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -1994,155 +1994,155 @@ knora-api:textValueHasLanguage knora-api:subjectType knora-api:TextValue . knora-api:attachedToProject - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Connects something to a project" ; rdfs:label "attached to project" ; knora-api:objectType xsd:anyURI . knora-api:StandoffInternalReferenceTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents an internal reference in a TextValue" ; rdfs:subClassOf knora-api:StandoffDataTypeTag , knora-api:ValueBase ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:cardinality 1 ; owl:onProperty knora-api:standoffTagHasUUID ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasEndIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStartIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasInternalReference + owl:onProperty knora-api:standoffTagHasStartParent ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndParent ] ; knora-api:isStandoffClass true . knora-api:isStandoffClass - a owl:AnnotationProperty ; + rdf:type owl:AnnotationProperty ; rdfs:comment "Indicates whether class is a subclass of StandoffTag." ; rdfs:label "is standoff class" ; knora-api:objectType xsd:boolean ; knora-api:subjectType owl:Class . -knora-api:ColorValue a owl:Class ; +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 [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:colorValueAsColor + owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:colorValueAsColor ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 + ] ; knora-api:isValueClass true . knora-api:hasMovingImageFileValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Connects a Representation to a movie file" ; rdfs:label "has movie file" ; rdfs:subPropertyOf knora-api:hasFileValue ; @@ -2153,7 +2153,7 @@ knora-api:hasMovingImageFileValue salsah-gui:guiElement salsah-gui:Fileupload . knora-api:audioFileValueHasDuration - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "The duration of an audio file value." ; rdfs:label "Audio file value has duration" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -2161,121 +2161,121 @@ knora-api:audioFileValueHasDuration knora-api:subjectType knora-api:AudioFileValue . knora-api:StillImageFileValue - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "A file containing a two-dimensional still image" ; rdfs:subClassOf knora-api:FileValue ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:stillImageFileValueHasDimX + owl:onProperty knora-api:valueAsString ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:fileValueAsUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 knora-api:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:stillImageFileValueHasDimY ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:valueCreationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:fileValueHasFilename ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:fileValueHasFilename + owl:onProperty knora-api:valueHasUUID ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:stillImageFileValueHasIIIFBaseUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:cardinality 1 ; + owl:onProperty knora-api:stillImageFileValueHasDimX ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:valueHasComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:stillImageFileValueHasIIIFBaseUrl + owl:onProperty knora-api:arkUrl ] ; knora-api:isValueClass true . knora-api:valueCreationDate - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:subPropertyOf knora-api:valueHas ; knora-api:objectType xsd:dateTimeStamp ; knora-api:subjectType knora-api:Value . knora-api:mayHaveMoreResults - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Indicates whether more results may be available for a search query" ; rdfs:label "May have more results" ; knora-api:objectType xsd:boolean . -knora-api:ColorBase a owl:Class ; +knora-api:ColorBase rdf:type owl:Class ; rdfs:subClassOf knora-api:ValueBase ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:colorValueAsColor ] . -knora-api:ValueBase a owl:Class . +knora-api:ValueBase rdf:type owl:Class . knora-api:hasAudioFileValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Connects a Representation to an audio file" ; rdfs:label "has audio file" ; rdfs:subPropertyOf knora-api:hasFileValue ; @@ -2285,7 +2285,7 @@ knora-api:hasAudioFileValue knora-api:subjectType knora-api:AudioRepresentation ; salsah-gui:guiElement salsah-gui:Fileupload . -knora-api:seqnum a owl:ObjectProperty ; +knora-api:seqnum rdf:type owl:ObjectProperty ; rdfs:comment "Indicates the position of a resource within a sequence" ; rdfs:label "Sequence number" ; rdfs:subPropertyOf knora-api:hasValue ; @@ -2293,7 +2293,7 @@ knora-api:seqnum a owl:ObjectProperty ; knora-api:objectType knora-api:IntValue . knora-api:documentFileValueHasDimY - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "The vertical dimension of a document file value." ; rdfs:label "Document file value has Y dimension" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -2301,7 +2301,7 @@ knora-api:documentFileValueHasDimY knora-api:subjectType knora-api:DocumentFileValue . knora-api:textValueHasMarkup - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "True if a text value has markup." ; rdfs:label "text value has markup" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -2309,115 +2309,115 @@ knora-api:textValueHasMarkup knora-api:subjectType knora-api:TextValue . knora-api:dateValueHasCalendar - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the calendar of a date value." ; rdfs:label "Date value has calendar" ; rdfs:subPropertyOf knora-api:valueHas ; knora-api:objectType xsd:string ; knora-api:subjectType knora-api:DateBase . -knora-api:valueHas a rdf:Property ; +knora-api:valueHas rdf:type rdf:Property ; knora-api:subjectType knora-api:ValueBase . knora-api:MovingImageFileValue - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a moving image file" ; rdfs:subClassOf knora-api:FileValue ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:fileValueHasFilename + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:movingImageFileValueHasDimY + ] ; + 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 ; + owl:cardinality 1 ; + owl:onProperty knora-api:movingImageFileValueHasFps ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:valueHasUUID ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:fileValueAsUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:movingImageFileValueHasDimY + owl:onProperty knora-api:movingImageFileValueHasDimX ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:valueAsString ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:movingImageFileValueHasFps + owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:movingImageFileValueHasDuration ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:movingImageFileValueHasDimX + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:valueCreationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:valueHasComment ] ; knora-api:isValueClass true . knora-api:hasTextFileValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Connects a Representation to a text file" ; rdfs:label "has text file" ; rdfs:subPropertyOf knora-api:hasFileValue ; @@ -2428,7 +2428,7 @@ knora-api:hasTextFileValue salsah-gui:guiElement salsah-gui:Fileupload . knora-api:listValueAsListNode - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Represents a reference to a hierarchical list node." ; rdfs:label "Hierarchical list value as list node" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -2436,267 +2436,267 @@ knora-api:listValueAsListNode knora-api:subjectType knora-api:ListValue . knora-api:StandoffBooleanTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a boolean in a TextValue" ; rdfs:subClassOf knora-api:BooleanBase , knora-api:StandoffDataTypeTag ; - rdfs:subClassOf [ a owl:Restriction ; + 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:standoffTagHasStartIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:booleanValueAsBoolean + owl:onProperty knora-api:standoffTagHasStart ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasEndParent ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:booleanValueAsBoolean ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 ] ; knora-api:isStandoffClass true . knora-api:AudioRepresentation - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a file containing audio data" ; rdfs:label "Representation (Audio)" ; rdfs:subClassOf knora-api:Representation ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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: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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:versionDate + ] ; + 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 + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:lastModificationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:hasAudioFileValue ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteDate ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; knora-api:isResourceClass true . -knora-api:valueHasUUID - a 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 - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "A resource containing moving image data" ; rdfs:label "Representation (Movie)" ; rdfs:subClassOf knora-api:Representation ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:attachedToProject ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:hasIncomingLinkValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:hasStandoffLinkToValue ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasMovingImageFileValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:lastModificationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a 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:hasMovingImageFileValue ] ; 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:movingImageFileValueHasFps - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "The number of frames per second in a moving image file value." ; rdfs:label "Moving image file value has frames per second" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -2704,208 +2704,208 @@ knora-api:movingImageFileValueHasFps knora-api:subjectType knora-api:MovingImageFileValue . knora-api:standoffTagHasStart - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; knora-api:objectType xsd:integer ; knora-api:subjectType knora-api:StandoffTag . -knora-api:deleteDate a owl:DatatypeProperty ; +knora-api:deleteDate rdf:type owl:DatatypeProperty ; rdfs:comment "Indicates when a resource or value was deleted" ; knora-api:objectType xsd:dateTimeStamp . knora-api:DeletedResource - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Generic representation of a deleted resource that can therefore not be displayed" ; rdfs:label "Deleted Resource" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:attachedToProject ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:userHasPermission ] ; knora-api:isResourceClass true . knora-api:stillImageFileValueHasIIIFBaseUrl - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "The IIIF base URL of a still image file value." ; rdfs:label "Still image file value has IIIF base URL" ; rdfs:subPropertyOf knora-api:valueHas ; knora-api:objectType xsd:anyURI ; knora-api:subjectType knora-api:StillImageFileValue . -knora-api:UriBase a owl:Class ; +knora-api:UriBase rdf:type owl:Class ; rdfs:subClassOf knora-api:ValueBase ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:uriValueAsUri ] . knora-api:AudioFileValue - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents an audio file" ; rdfs:subClassOf knora-api:FileValue ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:valueAsString ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:fileValueAsUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:fileValueHasFilename ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:userHasPermission ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:audioFileValueHasDuration + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:valueHasUUID ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:valueCreationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a 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:audioFileValueHasDuration ] ; knora-api:isValueClass true . knora-api:linkValueHasTargetIri - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the IRI of the target resource of a link value." ; rdfs:label "Link value has target IRI" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -2913,11 +2913,11 @@ knora-api:linkValueHasTargetIri knora-api:subjectType knora-api:LinkValue . knora-api:hasPermissions - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; knora-api:objectType xsd:string . knora-api:stillImageFileValueHasDimX - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "The horizontal dimension of a still image file value." ; rdfs:label "Still image file value has X dimension" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -2925,7 +2925,7 @@ knora-api:stillImageFileValueHasDimX knora-api:subjectType knora-api:StillImageFileValue . knora-api:colorValueAsColor - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the literal RGB value of a ColorValue." ; rdfs:label "Color value as color" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -2933,7 +2933,7 @@ knora-api:colorValueAsColor knora-api:subjectType knora-api:ColorBase . knora-api:hasRepresentationValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:subPropertyOf knora-api:hasLinkToValue ; knora-api:isEditable true ; knora-api:isLinkValueProperty true ; @@ -2942,7 +2942,7 @@ knora-api:hasRepresentationValue knora-api:subjectType knora-api:Resource . knora-api:linkValueHasSourceIri - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the IRI of the source resource of a link value." ; rdfs:label "Link value has source IRI" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -2950,14 +2950,14 @@ knora-api:linkValueHasSourceIri knora-api:subjectType knora-api:LinkValue . knora-api:standoffTagHasUUID - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; knora-api:objectType xsd:string ; knora-api:subjectType knora-api:StandoffTag . -rdfs:label a owl:DatatypeProperty . +rdfs:label rdf:type owl:DatatypeProperty . knora-api:linkValueHasTarget - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Represents the target resource of a link value." ; rdfs:label "Link value has target" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -2965,216 +2965,216 @@ knora-api:linkValueHasTarget knora-api:subjectType knora-api:LinkValue . knora-api:isResourceClass - a owl:AnnotationProperty ; + rdf:type owl:AnnotationProperty ; rdfs:comment "Indicates whether class is a subclass of Resource." ; rdfs:label "is resource class" ; knora-api:objectType xsd:boolean ; knora-api:subjectType owl:Class . knora-api:isMainResource - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Indicates if the given resource is the main resource of a request or a resource referred to by a link property." ; knora-api:objectType xsd:boolean ; knora-api:subjectType knora-api:Resource . knora-api:StandoffTimeTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a timestamp in a TextValue" ; rdfs:subClassOf knora-api:StandoffDataTypeTag , knora-api:TimeBase ; - rdfs:subClassOf [ a owl:Restriction ; + 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:standoffTagHasStartParentIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndParent ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStartIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:timeValueAsTimeStamp ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 ] ; knora-api:isStandoffClass true . -knora-api:TimeBase a owl:Class ; +knora-api:TimeBase rdf:type owl:Class ; rdfs:subClassOf knora-api:ValueBase ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:timeValueAsTimeStamp ] . -knora-api:arkUrl a owl:DatatypeProperty ; +knora-api:arkUrl rdf:type owl:DatatypeProperty ; rdfs:comment "Provides the ARK URL of a resource or value." ; rdfs:label "ARK URL" ; knora-api:objectType xsd:anyURI . -knora-api:Value a owl:Class ; +knora-api:Value rdf:type owl:Class ; rdfs:comment "The base class of classes representing Knora values" ; rdfs:subClassOf knora-api:ValueBase ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:valueAsString ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:valueCreationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:isDeleted + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:valueHasComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:valueHasUUID ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:userHasPermission + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:versionArkUrl ] ; knora-api:isValueClass true . knora-api:StandoffUriTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents an arbitrary URI in a TextValue" ; rdfs:subClassOf knora-api:UriBase , knora-api:StandoffDataTypeTag ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:uriValueAsUri ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasEnd ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasStartParent ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:standoffTagHasEndParent + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; knora-api:isStandoffClass true . -knora-api:isShared a owl:DatatypeProperty ; +knora-api:isShared rdf:type owl:DatatypeProperty ; rdfs:comment "Indicates whether an ontology can be shared by multiple projects" ; rdfs:label "is shared" ; knora-api:objectType xsd:boolean . knora-api:hasStillImageFileValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Connects a Representation to an image file" ; rdfs:label "has image file" ; rdfs:subPropertyOf knora-api:hasFileValue ; @@ -3185,7 +3185,7 @@ knora-api:hasStillImageFileValue salsah-gui:guiElement salsah-gui:Fileupload . knora-api:hasIncomingLinkValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Indicates that this resource referred to by another resource" ; rdfs:label "has incoming link" ; rdfs:subPropertyOf knora-api:hasLinkToValue ; @@ -3195,7 +3195,7 @@ knora-api:hasIncomingLinkValue knora-api:subjectType knora-api:Resource . knora-api:documentFileValueHasPageCount - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "The page count of a document file value." ; rdfs:label "Document file value has page count" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -3203,7 +3203,7 @@ knora-api:documentFileValueHasPageCount knora-api:subjectType knora-api:DocumentFileValue . knora-api:dateValueHasStartYear - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the start year of a date value." ; rdfs:label "Date value has start year" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -3211,20 +3211,20 @@ knora-api:dateValueHasStartYear knora-api:subjectType knora-api:DateBase . knora-api:dateValueHasStartEra - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the start era of a date value." ; rdfs:label "Date value has start era" ; rdfs:subPropertyOf knora-api:valueHas ; knora-api:objectType xsd:string ; knora-api:subjectType knora-api:DateBase . -knora-api:result a owl:DatatypeProperty ; +knora-api:result rdf:type owl:DatatypeProperty ; rdfs:comment "Provides a message indicating that an operation was successful" ; rdfs:label "result" ; knora-api:objectType xsd:string . knora-api:decimalValueAsDecimal - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the literal decimal value of a DecimalValue." ; rdfs:label "Decimal value as decimal" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -3232,308 +3232,308 @@ knora-api:decimalValueAsDecimal knora-api:subjectType knora-api:DecimalBase . knora-api:standoffTagHasInternalReference - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; knora-api:objectType knora-api:StandoffTag ; knora-api:subjectType knora-api:StandoffInternalReferenceTag . knora-api:standoffTagHasStartParentIndex - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "The next knora-api:standoffTagHasStartIndex of the start parent tag of a standoff tag." ; rdfs:label "standoff tag has start parent index" ; knora-api:objectType xsd:integer ; knora-api:subjectType knora-api:StandoffTag . knora-api:BooleanValue - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a boolean value" ; rdfs:subClassOf knora-api:Value , knora-api:BooleanBase ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:booleanValueAsBoolean ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:valueCreationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:valueAsString ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:booleanValueAsBoolean + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 ] ; knora-api:isValueClass true . knora-api:XSLTransformation - a owl:Class ; + 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 [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:attachedToProject ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:hasTextFileValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLinkValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a 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:userHasPermission ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:deleteDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:versionArkUrl ] ; knora-api:isResourceClass true . knora-api:BooleanBase - a owl:Class ; + rdf:type owl:Class ; rdfs:subClassOf knora-api:ValueBase ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:booleanValueAsBoolean ] . knora-api:isInherited - a owl:AnnotationProperty ; + rdf:type owl:AnnotationProperty ; rdfs:comment "Indicates whether a cardinality has been inherited from a base class" ; rdfs:label "is inherited" ; knora-api:objectType xsd:boolean ; knora-api:subjectType owl:Restriction . knora-api:StandoffColorTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a color in a TextValue" ; rdfs:subClassOf knora-api:ColorBase , knora-api:StandoffDataTypeTag ; - rdfs:subClassOf [ a owl:Restriction ; + 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:colorValueAsColor ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStart ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:standoffTagHasEndParentIndex ] ; knora-api:isStandoffClass true . knora-api:valueHasComment - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "A comment on a value" ; rdfs:subPropertyOf knora-api:valueHas ; knora-api:objectType xsd:string ; knora-api:subjectType knora-api:Value . knora-api:movingImageFileValueHasDimX - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "The horizontal dimension of a moving image file value." ; rdfs:label "Moving image file value has X dimension" ; rdfs:subPropertyOf knora-api:valueHas ; knora-api:objectType xsd:integer ; knora-api:subjectType knora-api:MovingImageFileValue . -knora-api:ListNode a owl:Class ; +knora-api:ListNode rdf:type owl:Class ; rdfs:comment "Represents a flat or hierarchical list" ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 1 ; owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; owl:onProperty knora-api:attachedToProject ] . +knora-api:isLinkValueProperty + rdf:type owl:AnnotationProperty ; + rdfs:comment "Indicates whether a property points to a link value (reification)" ; + rdfs:label "is link value property" ; + knora-api:objectType xsd:boolean ; + knora-api:subjectType owl:ObjectProperty . + knora-api:dateValueHasStartDay - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the start day of a date value." ; rdfs:label "Date value has start day" ; rdfs:subPropertyOf knora-api:valueHas ; knora-api:objectType xsd:integer ; knora-api:subjectType knora-api:DateBase . -knora-api:isLinkValueProperty - a owl:AnnotationProperty ; - rdfs:comment "Indicates whether a property points to a link value (reification)" ; - rdfs:label "is link value property" ; - knora-api:objectType xsd:boolean ; - knora-api:subjectType owl:ObjectProperty . - knora-api:geonameValueAsGeonameCode - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the literal Geoname code of a GeonameValue." ; rdfs:label "Geoname value as Geoname code" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -3541,19 +3541,19 @@ knora-api:geonameValueAsGeonameCode knora-api:subjectType knora-api:GeonameValue . knora-api:nextStandoffStartIndex - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "The next available knora-api:standoffTagHasStartIndex in a sequence of pages of standoff." ; rdfs:label "next standoff start index" ; knora-api:objectType xsd:integer . knora-api:timeValueAsTimeStamp - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:subPropertyOf knora-api:valueHas ; knora-api:objectType xsd:dateTimeStamp ; knora-api:subjectType knora-api:TimeBase . knora-api:geometryValueAsGeometry - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents a 2D geometry value as JSON." ; rdfs:label "Geometry value as JSON" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -3561,7 +3561,7 @@ knora-api:geometryValueAsGeometry knora-api:subjectType knora-api:GeomValue . knora-api:dateValueHasEndEra - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the end era of a date value." ; rdfs:label "Date value has end era" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -3569,174 +3569,174 @@ knora-api:dateValueHasEndEra knora-api:subjectType knora-api:DateBase . knora-api:linkValueHasSource - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Represents the source resource of a link value." ; rdfs:label "Link value has source" ; rdfs:subPropertyOf knora-api:valueHas ; knora-api:objectType knora-api:Resource ; knora-api:subjectType knora-api:LinkValue . -knora-api:GeomValue a owl:Class ; +knora-api:GeomValue rdf:type owl:Class ; rdfs:comment "Represents a geometrical objects as JSON string" ; rdfs:subClassOf knora-api:Value ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a 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:geometryValueAsGeometry ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:geometryValueAsGeometry + owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:userHasPermission + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; knora-api:isValueClass true . -knora-api:Resource a owl:Class ; +knora-api:Resource rdf:type owl:Class ; rdfs:comment "Represents something in the world, or an abstract thing" ; rdfs:label "Resource" ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:creationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:hasIncomingLinkValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:attachedToProject ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:userHasPermission ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:versionDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:versionDate + owl:onProperty knora-api:lastModificationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:deleteDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; knora-api:isResourceClass true . knora-api:valueAsString - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "A plain string representation of a value" ; knora-api:objectType xsd:string ; knora-api:subjectType knora-api:Value . knora-api:newModificationDate - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Specifies the new modification date of a resource" ; rdfs:label "new modification date" ; knora-api:objectType xsd:dateTimeStamp . knora-api:fileValueAsUrl - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "The URL at which the file can be accessed." ; rdfs:label "File value as URL" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -3744,12 +3744,12 @@ knora-api:fileValueAsUrl knora-api:subjectType knora-api:FileValue . knora-api:standoffTagHasStartIndex - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; knora-api:objectType xsd:integer ; knora-api:subjectType knora-api:StandoffTag . knora-api:hasGeometry - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Represents a geometrical shape." ; rdfs:label "Geometry" ; rdfs:subPropertyOf knora-api:hasValue ; @@ -3760,109 +3760,109 @@ knora-api:hasGeometry salsah-gui:guiElement salsah-gui:Geometry . knora-api:TextRepresentation - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "A resource containing a text file" ; rdfs:label "Representation (Text)" ; rdfs:subClassOf knora-api:Representation ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:attachedToProject ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:hasTextFileValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 ] ; knora-api:isResourceClass true . -knora-api:hasValue a owl:ObjectProperty ; +knora-api:hasValue rdf:type owl:ObjectProperty ; rdfs:subPropertyOf knora-api:resourceProperty ; knora-api:isResourceProperty true ; knora-api:objectType knora-api:Value ; knora-api:subjectType knora-api:Resource . knora-api:dateValueHasStartMonth - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the start month of a date value." ; rdfs:label "Date value has start month" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -3870,7 +3870,7 @@ knora-api:dateValueHasStartMonth knora-api:subjectType knora-api:DateBase . knora-api:documentFileValueHasDimX - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "The horizontal dimension of a document file value." ; rdfs:label "Document file value has X dimension" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -3878,7 +3878,7 @@ knora-api:documentFileValueHasDimX knora-api:subjectType knora-api:DocumentFileValue . knora-api:hasLinkToValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Points to a LinkValue reification describing a link between two resources" ; rdfs:label "has Link to" ; rdfs:subPropertyOf knora-api:hasValue ; @@ -3889,177 +3889,177 @@ knora-api:hasLinkToValue knora-api:subjectType knora-api:Resource . knora-api:versionArkUrl - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Provides the ARK URL of a particular version of a resource or value." ; rdfs:label "version ARK URL" ; knora-api:objectType xsd:anyURI . knora-api:standoffTagHasStartParent - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:subPropertyOf knora-api:standoffTagHasStartAncestor ; knora-api:objectType knora-api:StandoffTag ; knora-api:subjectType knora-api:StandoffTag . knora-api:standoffTagHasEnd - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; knora-api:objectType xsd:integer ; knora-api:subjectType knora-api:StandoffTag . knora-api:StandoffLinkTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a reference to a Knora resource in a TextValue" ; rdfs:subClassOf knora-api:StandoffTag ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasLink + ] ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStart ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasLink + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStartIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 + ] ; knora-api:isStandoffClass true . knora-api:lastModificationDate - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; knora-api:objectType xsd:dateTimeStamp . knora-api:movingImageFileValueHasDuration - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "The duration of a moving image file value." ; rdfs:label "Moving image file value has duration" ; rdfs:subPropertyOf knora-api:valueHas ; knora-api:objectType xsd:decimal ; knora-api:subjectType knora-api:MovingImageFileValue . -knora-api:FileValue a owl:Class ; +knora-api:FileValue rdf:type owl:Class ; rdfs:subClassOf knora-api:Value ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:fileValueAsUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:valueHasUUID ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:valueHasComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:fileValueHasFilename ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:valueCreationDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; knora-api:isValueClass true . -knora-api:isDeleted a owl:DatatypeProperty ; +knora-api:isDeleted rdf:type owl:DatatypeProperty ; rdfs:comment "Exists and is true if the resource has been deleted" ; knora-api:objectType xsd:boolean . knora-api:dateValueHasEndDay - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the end day of a date value." ; rdfs:label "Date value has end day" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -4067,90 +4067,90 @@ knora-api:dateValueHasEndDay knora-api:subjectType knora-api:DateBase . knora-api:textValueAsXml - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "A Text value represented in XML." ; rdfs:label "Text value as XML" ; rdfs:subPropertyOf knora-api:valueHas ; knora-api:objectType xsd:string ; knora-api:subjectType knora-api:TextValue . -knora-api:UriValue a owl:Class ; +knora-api:UriValue rdf:type owl:Class ; rdfs:comment "Represents a URI" ; rdfs:subClassOf knora-api:Value , knora-api:UriBase ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:cardinality 1 ; + owl:onProperty knora-api:valueHasUUID ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:uriValueAsUri ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:uriValueAsUri + owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; knora-api:isValueClass true . knora-api:textValueHasMaxStandoffStartIndex - a owl:DatatypeProperty ; + 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 ; @@ -4158,82 +4158,82 @@ knora-api:textValueHasMaxStandoffStartIndex knora-api:subjectType knora-api:TextValue . knora-api:DecimalValue - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents an arbitrary-precision decimal value" ; rdfs:subClassOf knora-api:DecimalBase , knora-api:Value ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:decimalValueAsDecimal ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:decimalValueAsDecimal + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:deleteDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:valueAsString ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:valueHasUUID + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:arkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:deletedBy ] ; knora-api:isValueClass true . -knora-api:hasComment a owl:ObjectProperty ; +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 ; @@ -4244,13 +4244,13 @@ knora-api:hasComment a owl:ObjectProperty ; salsah-gui:guiElement salsah-gui:Richtext . knora-api:isValueClass - a owl:AnnotationProperty ; + 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 a owl:ObjectProperty ; +knora-api:isPartOf rdf:type owl:ObjectProperty ; rdfs:comment "Indicates that this resource is part of another resource" ; rdfs:label "is part of" ; rdfs:subPropertyOf knora-api:hasLinkTo ; @@ -4260,7 +4260,7 @@ knora-api:isPartOf a owl:ObjectProperty ; knora-api:subjectType knora-api:Resource . knora-api:booleanValueAsBoolean - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the literal boolean value of a BooleanValue." ; rdfs:label "Boolean value as decimal" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -4268,127 +4268,127 @@ knora-api:booleanValueAsBoolean knora-api:subjectType knora-api:BooleanBase . knora-api:subjectType - a rdf:Property ; + rdf:type rdf:Property ; rdfs:comment "Specifies the required type of the subjects of a property" ; rdfs:label "Subject type" . -knora-api:DateValue a owl:Class ; +knora-api:DateValue rdf:type owl:Class ; rdfs:comment "Represents a Knora date value" ; rdfs:subClassOf knora-api:DateBase , knora-api:Value ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:dateValueHasEndMonth ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:dateValueHasStartDay ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:dateValueHasStartYear ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndEra + owl:onProperty knora-api:valueAsString ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:dateValueHasStartMonth ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasStartYear + owl:onProperty knora-api:dateValueHasEndEra ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:dateValueHasStartEra ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasStartEra + owl:onProperty knora-api:dateValueHasCalendar ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasStartMonth + owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:deletedBy ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndYear + owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:valueCreationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:dateValueHasEndDay ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasCalendar + owl:onProperty knora-api:dateValueHasEndYear ] ; knora-api:isValueClass true . knora-api:isAnnotationOfValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:subPropertyOf knora-api:hasLinkToValue ; knora-api:isEditable true ; knora-api:isLinkValueProperty true ; @@ -4397,94 +4397,94 @@ knora-api:isAnnotationOfValue knora-api:subjectType knora-api:Annotation . knora-api:attachedToUser - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Connects something to a user" ; rdfs:label "attached to user" ; knora-api:objectType xsd:anyURI . knora-api:IntervalValue - a owl:Class ; + 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 [ a owl:Restriction ; + 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:cardinality 1 ; + owl:onProperty knora-api:intervalValueHasEnd ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:intervalValueHasStart ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:intervalValueHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:valueHasUUID ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:intervalValueHasStart + owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 . knora-api:textValueAsHtml - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "A text value represented in HTML." ; rdfs:label "Text value as HTML" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -4492,33 +4492,28 @@ knora-api:textValueAsHtml knora-api:subjectType knora-api:TextValue . knora-api:standoffTagHasLink - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; knora-api:objectType knora-api:Resource ; knora-api:subjectType knora-api:StandoffLinkTag . -knora-api:standoffTagHasEndParent - a owl:ObjectProperty ; - knora-api:objectType knora-api:StandoffTag ; - knora-api:subjectType knora-api:StandoffTag . +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 - a owl:DatatypeProperty ; + 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 - a owl:DatatypeProperty ; - rdfs:comment "A comment explaining why a resource or value was marked as deleted" ; - knora-api:objectType xsd:string . - -knora-api:isBuiltIn a owl:DatatypeProperty ; - rdfs:comment "Indicates whether an ontology is built into Knora" ; - rdfs:label "is shared" ; - knora-api:objectType xsd:boolean . +knora-api:standoffTagHasEndParent + rdf:type owl:ObjectProperty ; + knora-api:objectType knora-api:StandoffTag ; + knora-api:subjectType knora-api:StandoffTag . knora-api:hasDDDFileValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Connects a Representation to a 3D-file" ; rdfs:label "has 3D-file" ; rdfs:subPropertyOf knora-api:hasFileValue ; @@ -4528,8 +4523,13 @@ knora-api:hasDDDFileValue knora-api:subjectType knora-api:DDDRepresentation ; salsah-gui:guiElement salsah-gui:Fileupload . +knora-api:isBuiltIn rdf:type owl:DatatypeProperty ; + rdfs:comment "Indicates whether an ontology is built into Knora" ; + rdfs:label "is shared" ; + knora-api:objectType xsd:boolean . + knora-api:dateValueHasEndYear - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the end year of a date value." ; rdfs:label "Date value has end year" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -4537,7 +4537,7 @@ knora-api:dateValueHasEndYear knora-api:subjectType knora-api:DateBase . knora-api:isRegionOfValue - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "Region of interest within a digital object (e.g. an image)" ; rdfs:label "is region of" ; rdfs:subPropertyOf knora-api:hasLinkToValue ; @@ -4547,83 +4547,83 @@ knora-api:isRegionOfValue knora-api:objectType knora-api:LinkValue ; knora-api:subjectType knora-api:Region . -knora-api:TimeValue a owl:Class ; +knora-api:TimeValue rdf:type owl:Class ; rdfs:comment "Represents a timestamp" ; rdfs:subClassOf knora-api:Value , knora-api:TimeBase ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:valueCreationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:timeValueAsTimeStamp ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:deletedBy ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 + ] ; knora-api:isValueClass true . knora-api:isAnnotationOf - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:label "is Annotation of" ; rdfs:subPropertyOf knora-api:hasLinkTo ; knora-api:isEditable true ; @@ -4632,7 +4632,7 @@ knora-api:isAnnotationOf knora-api:objectType knora-api:Resource ; knora-api:subjectType knora-api:Annotation . -knora-api:isRegionOf a owl:ObjectProperty ; +knora-api:isRegionOf rdf:type owl:ObjectProperty ; rdfs:comment "Region of interest within a digital object (e.g. an image)" ; rdfs:label "is region of" ; rdfs:subPropertyOf knora-api:hasLinkTo ; @@ -4642,113 +4642,113 @@ knora-api:isRegionOf a owl:ObjectProperty ; knora-api:objectType knora-api:Representation ; knora-api:subjectType knora-api:Region . -knora-api:LinkObj a owl:Class ; +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 [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:isDeleted ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 1 ; + owl:onProperty knora-api:hasLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 1 ; - owl:onProperty knora-api:hasLinkTo + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasComment - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:attachedToProject ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 1 ; owl:onProperty knora-api:hasLinkToValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; knora-api:resourceIcon "link.gif" . knora-api:hasRepresentation - a owl:ObjectProperty ; + rdf:type owl:ObjectProperty ; rdfs:comment "References an instance of a Representation. A Representation contains the metadata of a digital object (= file) which represents some physical entity such as an image, a sound, an encoded text etc." ; rdfs:label "has Representation" ; rdfs:subPropertyOf knora-api:hasLinkTo ; @@ -4759,7 +4759,7 @@ knora-api:hasRepresentation knora-api:subjectType knora-api:Resource . knora-api:intValueAsInt - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the literal integer value of an IntValue." ; rdfs:label "Integer value as integer" ; rdfs:subPropertyOf knora-api:valueHas ; @@ -4767,237 +4767,237 @@ knora-api:intValueAsInt knora-api:subjectType knora-api:IntBase . knora-api:GeonameValue - a owl:Class ; + rdf:type owl:Class ; rdfs:subClassOf knora-api:Value ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:geonameValueAsGeonameCode ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:geonameValueAsGeonameCode + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:valueCreationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:valueAsString ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:isDeleted ] ; knora-api:isValueClass true . -knora-api:DateBase a owl:Class ; +knora-api:DateBase rdf:type owl:Class ; rdfs:subClassOf knora-api:ValueBase ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasCalendar + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:dateValueHasStartMonth ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:dateValueHasStartEra ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndYear + owl:onProperty knora-api:dateValueHasStartYear ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; owl:onProperty knora-api:dateValueHasStartDay ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasStartMonth + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:dateValueHasEndYear + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:dateValueHasEndEra ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; owl:onProperty knora-api:dateValueHasEndMonth ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; owl:onProperty knora-api:dateValueHasEndDay ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndEra - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasStartYear + owl:onProperty knora-api:dateValueHasCalendar ] . -knora-api:Region a owl:Class ; +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 [ a owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:isRegionOfValue - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 ; + owl:cardinality 1 ; + owl:onProperty knora-api:isRegionOf ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:lastModificationDate ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasColor + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy - ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:isRegionOf + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 1 ; owl:onProperty knora-api:hasGeometry ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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: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 ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 1 ; owl:onProperty knora-api:hasComment ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:attachedToProject ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasColor ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:versionArkUrl ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; knora-api:resourceIcon "region.gif" . knora-api:standoffTagHasOriginalXMLID - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; knora-api:objectType xsd:string ; knora-api:subjectType knora-api:StandoffTag . -knora-api:hasLinkTo a owl:ObjectProperty ; +knora-api:hasLinkTo rdf:type owl:ObjectProperty ; rdfs:comment "Represents a direct connection between two resources" ; rdfs:label "has Link to" ; rdfs:subPropertyOf knora-api:resourceProperty ; diff --git a/test_data/ontologyR2RV2/knoraApiSimpleHasColor.jsonld b/test_data/ontologyR2RV2/knoraApiSimpleHasColor.jsonld index 19586ab93d..4d55e8c843 100644 --- a/test_data/ontologyR2RV2/knoraApiSimpleHasColor.jsonld +++ b/test_data/ontologyR2RV2/knoraApiSimpleHasColor.jsonld @@ -1,4 +1,3 @@ - { "@id": "http://api.knora.org/ontology/knora-api/simple/v2", "@type": "owl:Ontology", diff --git a/test_data/ontologyR2RV2/knoraApiSimpleHasColor.ttl b/test_data/ontologyR2RV2/knoraApiSimpleHasColor.ttl index f1a31350ce..b4bf9a76cc 100644 --- a/test_data/ontologyR2RV2/knoraApiSimpleHasColor.ttl +++ b/test_data/ontologyR2RV2/knoraApiSimpleHasColor.ttl @@ -1,10 +1,10 @@ -@prefix rdf: . -@prefix owl: . -@prefix xsd: . -@prefix rdfs: . @prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . +@prefix xsd: . -knora-api:hasColor a owl:DatatypeProperty ; +knora-api:hasColor rdf:type owl:DatatypeProperty ; rdfs:comment "Specifies the color of a region." ; rdfs:label "Color" ; rdfs:subPropertyOf knora-api:hasValue ; @@ -12,5 +12,5 @@ knora-api:hasColor a owl:DatatypeProperty ; knora-api:subjectType knora-api:Region . - a owl:Ontology ; + rdf:type owl:Ontology ; rdfs:label "The knora-api ontology in the simple schema" . diff --git a/test_data/ontologyR2RV2/knoraApiWithValueObjectsHasColor.jsonld b/test_data/ontologyR2RV2/knoraApiWithValueObjectsHasColor.jsonld index c210685a18..babb4ad9c2 100644 --- a/test_data/ontologyR2RV2/knoraApiWithValueObjectsHasColor.jsonld +++ b/test_data/ontologyR2RV2/knoraApiWithValueObjectsHasColor.jsonld @@ -1,4 +1,3 @@ - { "rdfs:label": "The knora-api ontology in the complex schema", "@graph": [ diff --git a/test_data/ontologyR2RV2/knoraApiWithValueObjectsHasColor.ttl b/test_data/ontologyR2RV2/knoraApiWithValueObjectsHasColor.ttl index 41c376677f..439a9de17a 100644 --- a/test_data/ontologyR2RV2/knoraApiWithValueObjectsHasColor.ttl +++ b/test_data/ontologyR2RV2/knoraApiWithValueObjectsHasColor.ttl @@ -1,17 +1,17 @@ -@prefix rdf: . -@prefix owl: . +@prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . @prefix salsah-gui: . -@prefix xsd: . -@prefix rdfs: . -@prefix knora-api: . +@prefix xsd: . - a owl:Ontology ; + rdf:type owl:Ontology ; rdfs:label "The knora-api ontology in the complex schema" ; knora-api:attachedToProject ; knora-api:isBuiltIn true . -knora-api:hasColor a owl:ObjectProperty ; +knora-api:hasColor rdf:type owl:ObjectProperty ; rdfs:comment "Specifies the color of a region." ; rdfs:label "Color" ; rdfs:subPropertyOf knora-api:hasValue ; diff --git a/test_data/ontologyR2RV2/minimalOntologyWithValueObjects.jsonld b/test_data/ontologyR2RV2/minimalOntologyWithValueObjects.jsonld index 2f9e2995e6..b8e71ba75d 100644 --- a/test_data/ontologyR2RV2/minimalOntologyWithValueObjects.jsonld +++ b/test_data/ontologyR2RV2/minimalOntologyWithValueObjects.jsonld @@ -1,4 +1,3 @@ - { "knora-api:lastModificationDate": { "@value": "2019-09-10T08:57:46.633162Z", diff --git a/test_data/ontologyR2RV2/minimalOntologyWithValueObjects.ttl b/test_data/ontologyR2RV2/minimalOntologyWithValueObjects.ttl index 9394480ce9..3ba43f4fc7 100644 --- a/test_data/ontologyR2RV2/minimalOntologyWithValueObjects.ttl +++ b/test_data/ontologyR2RV2/minimalOntologyWithValueObjects.ttl @@ -1,18 +1,18 @@ -@prefix minimal: . -@prefix rdf: . -@prefix owl: . +@prefix knora-api: . +@prefix minimal: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . @prefix salsah-gui: . -@prefix xsd: . -@prefix rdfs: . -@prefix knora-api: . +@prefix xsd: . - a owl:Ontology ; + rdf:type owl:Ontology ; rdfs:label "A minimal ontology" ; knora-api:attachedToProject ; knora-api:lastModificationDate "2019-09-10T08:57:46.633162Z"^^xsd:dateTimeStamp . -minimal:hasName a owl:ObjectProperty ; +minimal:hasName rdf:type owl:ObjectProperty ; rdfs:comment "Has name." ; rdfs:label "has name" ; rdfs:subPropertyOf knora-api:hasValue ; diff --git a/test_data/ontologyR2RV2/salsahGuiOntology.jsonld b/test_data/ontologyR2RV2/salsahGuiOntology.jsonld index 517cf39a4a..db10f2d316 100644 --- a/test_data/ontologyR2RV2/salsahGuiOntology.jsonld +++ b/test_data/ontologyR2RV2/salsahGuiOntology.jsonld @@ -1,4 +1,3 @@ - { "rdfs:label": "The salsah-gui ontology", "@graph": [ diff --git a/test_data/ontologyR2RV2/salsahGuiOntology.ttl b/test_data/ontologyR2RV2/salsahGuiOntology.ttl index 59ad55b4ab..5daa75f2f3 100644 --- a/test_data/ontologyR2RV2/salsahGuiOntology.ttl +++ b/test_data/ontologyR2RV2/salsahGuiOntology.ttl @@ -1,86 +1,86 @@ -@prefix rdf: . -@prefix owl: . +@prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . @prefix salsah-gui: . -@prefix xsd: . -@prefix rdfs: . -@prefix knora-api: . +@prefix xsd: . -salsah-gui:Geometry a owl:NamedIndividual , salsah-gui:Guielement . +salsah-gui:Geometry rdf:type owl:NamedIndividual , salsah-gui:Guielement . -salsah-gui:Searchbox a owl:NamedIndividual , salsah-gui:Guielement ; +salsah-gui:Searchbox rdf:type owl:NamedIndividual , salsah-gui:Guielement ; salsah-gui:guiAttributeDefinition "numprops:integer" . salsah-gui:guiAttribute - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; knora-api:objectType xsd:string . -salsah-gui:Spinbox a owl:NamedIndividual , salsah-gui:Guielement ; +salsah-gui:Spinbox rdf:type owl:NamedIndividual , salsah-gui:Guielement ; salsah-gui:guiAttributeDefinition "min:decimal" , "max:decimal" . -salsah-gui:List a owl:NamedIndividual , salsah-gui:Guielement ; +salsah-gui:List rdf:type owl:NamedIndividual , salsah-gui:Guielement ; salsah-gui:guiAttributeDefinition "hlist(required):iri" . -salsah-gui:Textarea a owl:NamedIndividual , salsah-gui:Guielement ; +salsah-gui:Textarea rdf:type owl:NamedIndividual , salsah-gui:Guielement ; salsah-gui:guiAttributeDefinition "wrap:string(soft|hard)" , "width:percent" , "rows:integer" , "cols:integer" . -salsah-gui:Date a owl:NamedIndividual , salsah-gui:Guielement . +salsah-gui:Date rdf:type owl:NamedIndividual , salsah-gui:Guielement . -salsah-gui:Interval a owl:NamedIndividual , salsah-gui:Guielement . +salsah-gui:Interval rdf:type owl:NamedIndividual , salsah-gui:Guielement . -salsah-gui:guiOrder a owl:DatatypeProperty ; +salsah-gui:guiOrder rdf:type owl:DatatypeProperty ; knora-api:objectType xsd:nonNegativeInteger ; knora-api:subjectType owl:Restriction . salsah-gui:guiElement - a owl:ObjectProperty . + rdf:type owl:ObjectProperty . -salsah-gui:Pulldown a owl:NamedIndividual , salsah-gui:Guielement ; +salsah-gui:Pulldown rdf:type owl:NamedIndividual , salsah-gui:Guielement ; salsah-gui:guiAttributeDefinition "hlist(required):iri" . - a owl:Ontology ; + rdf:type owl:Ontology ; rdfs:label "The salsah-gui ontology" ; knora-api:attachedToProject ; knora-api:isBuiltIn true . salsah-gui:SimpleText - a owl:NamedIndividual , salsah-gui:Guielement ; + rdf:type owl:NamedIndividual , salsah-gui:Guielement ; salsah-gui:guiAttributeDefinition "size:integer" , "maxlength:integer" . -salsah-gui:Checkbox a owl:NamedIndividual , salsah-gui:Guielement . +salsah-gui:Checkbox rdf:type owl:NamedIndividual , salsah-gui:Guielement . -salsah-gui:Slider a owl:NamedIndividual , salsah-gui:Guielement ; +salsah-gui:Slider rdf:type owl:NamedIndividual , salsah-gui:Guielement ; salsah-gui:guiAttributeDefinition "min(required):decimal" , "max(required):decimal" . salsah-gui:Fileupload - a owl:NamedIndividual , salsah-gui:Guielement . + rdf:type owl:NamedIndividual , salsah-gui:Guielement . -salsah-gui:Geonames a owl:NamedIndividual , salsah-gui:Guielement . +salsah-gui:Geonames rdf:type owl:NamedIndividual , salsah-gui:Guielement . salsah-gui:Guielement - a owl:Class . + rdf:type owl:Class . salsah-gui:Colorpicker - a owl:NamedIndividual , salsah-gui:Guielement ; + rdf:type owl:NamedIndividual , salsah-gui:Guielement ; salsah-gui:guiAttributeDefinition "ncolors:integer" . -salsah-gui:Radio a owl:NamedIndividual , salsah-gui:Guielement ; +salsah-gui:Radio rdf:type owl:NamedIndividual , salsah-gui:Guielement ; salsah-gui:guiAttributeDefinition "hlist(required):iri" . -salsah-gui:Richtext a owl:NamedIndividual , salsah-gui:Guielement . +salsah-gui:Richtext rdf:type owl:NamedIndividual , salsah-gui:Guielement . salsah-gui:guiAttributeDefinition - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; knora-api:objectType xsd:string ; knora-api:subjectType salsah-gui:Guielement . -salsah-gui:TimeStamp a owl:NamedIndividual , salsah-gui:Guielement . +salsah-gui:TimeStamp rdf:type owl:NamedIndividual , salsah-gui:Guielement . diff --git a/test_data/ontologyR2RV2/standoffOntologyWithValueObjects.jsonld b/test_data/ontologyR2RV2/standoffOntologyWithValueObjects.jsonld index 678e48e0fc..ccacac3adf 100644 --- a/test_data/ontologyR2RV2/standoffOntologyWithValueObjects.jsonld +++ b/test_data/ontologyR2RV2/standoffOntologyWithValueObjects.jsonld @@ -1,4 +1,3 @@ - { "rdfs:label": "The standoff ontology", "@graph": [ diff --git a/test_data/ontologyR2RV2/standoffOntologyWithValueObjects.ttl b/test_data/ontologyR2RV2/standoffOntologyWithValueObjects.ttl index c69bbaa599..8ab9329e45 100644 --- a/test_data/ontologyR2RV2/standoffOntologyWithValueObjects.ttl +++ b/test_data/ontologyR2RV2/standoffOntologyWithValueObjects.ttl @@ -1,233 +1,233 @@ -@prefix standoff: . -@prefix rdf: . -@prefix owl: . +@prefix knora-api: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . @prefix salsah-gui: . -@prefix xsd: . -@prefix rdfs: . -@prefix knora-api: . +@prefix standoff: . +@prefix xsd: . standoff:StandoffParagraphTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a paragraph in a TextValue" ; rdfs:subClassOf standoff:StandoffStructuralTag ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasStartParent ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 ] ; knora-api:isStandoffClass true . standoff:StandoffTableCellTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a cell in a table" ; rdfs:subClassOf standoff:StandoffStructuralTag ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasUUID ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 . standoff:StandoffBlockquoteTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a section that is quoted from another source in a text" ; rdfs:subClassOf standoff:StandoffStructuralTag ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStartIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:standoffTagHasEnd ] ; knora-api:isStandoffClass true . standoff:StandoffRootTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents the root node if the TextValue has been created from XML" ; rdfs:subClassOf knora-api:StandoffTag ; - rdfs:subClassOf [ a owl:Restriction ; + 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 ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:standoffTagHasEndParent ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasStartParent ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a 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:standoffRootTagHasDocumentType ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasUUID ] ; - rdfs:subClassOf [ a owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty standoff:standoffRootTagHasDocumentType - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStartIndex @@ -235,854 +235,854 @@ standoff:StandoffRootTag knora-api:isStandoffClass true . standoff:StandoffCiteTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents the title of a work in a TextValue" ; rdfs:subClassOf standoff:StandoffStructuralTag ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 . standoff:StandoffHeader4Tag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a header of level 4 in a TextValue" ; rdfs:subClassOf standoff:StandoffStructuralTag ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasEnd ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + 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 ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStart ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 ] ; knora-api:isStandoffClass true . standoff:standoffHyperlinkTagHasTarget - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "describes the target settings of a hyperlink" ; knora-api:objectType xsd:string ; knora-api:subjectType standoff:StandoffHyperlinkTag . standoff:StandoffVisualTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents visual markup information in a TextValue" ; rdfs:subClassOf knora-api:StandoffTag ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasEnd ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:standoffTagHasUUID ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:standoffTagHasStartParent + ] ; knora-api:isStandoffClass true . standoff:StandoffSubscriptTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents subscript in a TextValue" ; rdfs:subClassOf standoff:StandoffVisualTag ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStartIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasUUID ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStart ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:standoffTagHasStartParent ] ; knora-api:isStandoffClass true . standoff:StandoffHyperlinkTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a hyperlink in a text" ; rdfs:subClassOf knora-api:StandoffUriTag ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStartIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty standoff:standoffHyperlinkTagHasTarget + ] ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a 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:standoffTagHasEndParent + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; knora-api:isStandoffClass true . standoff:StandoffTableRowTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a row in a table" ; rdfs:subClassOf standoff:StandoffStructuralTag ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 . standoff:StandoffHeader3Tag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a header of level 3 in a TextValue" ; rdfs:subClassOf standoff:StandoffStructuralTag ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 . standoff:StandoffBoldTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents bold text in a TextValue" ; rdfs:subClassOf standoff:StandoffVisualTag ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart - ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasUUID ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 . standoff:StandoffLineTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a line to seperate content in a TextValue" ; rdfs:subClassOf standoff:StandoffVisualTag ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:standoffTagHasEnd ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 ] ; knora-api:isStandoffClass true . standoff:StandoffBrTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a linebreak" ; rdfs:subClassOf standoff:StandoffStructuralTag ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:standoffTagHasStart ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasStartParent ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasUUID ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 . standoff:StandoffPreTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a preformatted content in a TextValue" ; rdfs:subClassOf standoff:StandoffVisualTag ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasUUID ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStartIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 ] ; knora-api:isStandoffClass true . standoff:StandoffTableTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a table in a TextValue" ; rdfs:subClassOf standoff:StandoffStructuralTag ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:standoffTagHasStartParentIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasUUID ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasStartParent ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 . standoff:StandoffHeader2Tag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a header of level 2 in a TextValue" ; rdfs:subClassOf standoff:StandoffStructuralTag ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndParent ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStartIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:standoffTagHasStartParent ] ; knora-api:isStandoffClass true . standoff:StandoffSuperscriptTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents superscript in a TextValue" ; rdfs:subClassOf standoff:StandoffVisualTag ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStart ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; knora-api:isStandoffClass true . standoff:StandoffItalicTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents italics in a TextValue" ; rdfs:subClassOf standoff:StandoffVisualTag ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasEnd ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 @@ -1090,335 +1090,335 @@ standoff:StandoffItalicTag knora-api:isStandoffClass true . standoff:StandoffTableBodyTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a table body in a TextValue" ; rdfs:subClassOf standoff:StandoffStructuralTag ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndParent ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasUUID ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 ] ; knora-api:isStandoffClass true . standoff:StandoffHeader1Tag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a header of level 1 in a TextValue" ; rdfs:subClassOf standoff:StandoffStructuralTag ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:standoffTagHasEnd ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStartIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:standoffTagHasEndParentIndex ] ; knora-api:isStandoffClass true . standoff:StandoffStructuralTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents structural markup information in a TextValue" ; rdfs:subClassOf knora-api:StandoffTag ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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:standoffTagHasStartParentIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasStartParent ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 . standoff:StandoffListElementTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a list element in a TextValue" ; rdfs:subClassOf standoff:StandoffStructuralTag ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasStartParent ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndParent ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:standoffTagHasOriginalXMLID ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasStart ] ; knora-api:isStandoffClass true . standoff:StandoffStrikethroughTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents struck text in a TextValue" ; rdfs:subClassOf standoff:StandoffVisualTag ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndParent ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStartIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 . standoff:StandoffUnorderedListTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents an unordered list in a TextValue" ; rdfs:subClassOf standoff:StandoffStructuralTag ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStart ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:cardinality 1 ; owl:onProperty knora-api:standoffTagHasEnd ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasUUID @@ -1426,293 +1426,293 @@ standoff:StandoffUnorderedListTag knora-api:isStandoffClass true . standoff:StandoffHeader6Tag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a header of level 6 in a TextValue" ; rdfs:subClassOf standoff:StandoffStructuralTag ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; knora-api:isStandoffClass true . standoff:StandoffUnderlineTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents underlined text in a TextValue" ; rdfs:subClassOf standoff:StandoffVisualTag ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStart ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID - ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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:standoffTagHasStartParent + ] ; knora-api:isStandoffClass true . standoff:StandoffCodeTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a section of computer source code in a text" ; rdfs:subClassOf standoff:StandoffStructuralTag ; - rdfs:subClassOf [ a owl:Restriction ; + 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 ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex - ] ; - rdfs:subClassOf [ a owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasStart ] ; - rdfs:subClassOf [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasStartIndex ] ; knora-api:isStandoffClass true . standoff:StandoffOrderedListTag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents an ordered list in a TextValue" ; rdfs:subClassOf standoff:StandoffStructuralTag ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasUUID ] ; knora-api:isStandoffClass true . - a owl:Ontology ; + rdf:type owl:Ontology ; rdfs:label "The standoff ontology" ; knora-api:attachedToProject ; knora-api:isBuiltIn true . standoff:StandoffHeader5Tag - a owl:Class ; + rdf:type owl:Class ; rdfs:comment "Represents a header of level 5 in a TextValue" ; rdfs:subClassOf standoff:StandoffStructuralTag ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasStartParent ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 [ a owl:Restriction ; + rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStartIndex ] ; - rdfs:subClassOf [ a owl:Restriction ; + 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 [ a owl:Restriction ; + 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 ] ; knora-api:isStandoffClass true . standoff:standoffRootTagHasDocumentType - a owl:DatatypeProperty ; + rdf:type owl:DatatypeProperty ; rdfs:comment "describes the document type" ; knora-api:objectType xsd:string ; knora-api:subjectType standoff:StandoffRootTag . diff --git a/test_data/other.v1.DrawingsGodsV1Spec/drawings-gods_ontology.ttl b/test_data/other.v1.DrawingsGodsV1Spec/drawings-gods_ontology.ttl index 33003dbbc8..181be79c38 100644 --- a/test_data/other.v1.DrawingsGodsV1Spec/drawings-gods_ontology.ttl +++ b/test_data/other.v1.DrawingsGodsV1Spec/drawings-gods_ontology.ttl @@ -7,7 +7,8 @@ @prefix xsd: . a owl:Ontology; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . drawings-gods:Annotation a owl:Class; rdfs:label "Annotation"@en, "Annotation"@fr; diff --git a/test_data/other.v1.DrawingsGodsV1Spec/parole-religieuse-dummy-onto.ttl b/test_data/other.v1.DrawingsGodsV1Spec/parole-religieuse-dummy-onto.ttl index 88e25621f1..a9b2179987 100644 --- a/test_data/other.v1.DrawingsGodsV1Spec/parole-religieuse-dummy-onto.ttl +++ b/test_data/other.v1.DrawingsGodsV1Spec/parole-religieuse-dummy-onto.ttl @@ -11,7 +11,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "A dummy ontology for DrawingsGodsV1E2ESpec" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasInteger rdf:type owl:ObjectProperty ; rdfs:subPropertyOf knora-base:hasValue ; diff --git a/test_data/other.v2.LumieresLausanneV2E2ESpec/lumieres-lausanne-onto.ttl b/test_data/other.v2.LumieresLausanneV2E2ESpec/lumieres-lausanne-onto.ttl index 83892c903b..1c7d3009eb 100644 --- a/test_data/other.v2.LumieresLausanneV2E2ESpec/lumieres-lausanne-onto.ttl +++ b/test_data/other.v2.LumieresLausanneV2E2ESpec/lumieres-lausanne-onto.ttl @@ -10,7 +10,8 @@ a owl:Ontology ; rdfs:label "The Lumières.Lausanne ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . ########################################################## # diff --git a/test_data/responders.v2.OntologyResponderV2Spec/cardinality-with-guiattribute-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/cardinality-with-guiattribute-onto.ttl index e32a72a00d..cab8bdfad0 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/cardinality-with-guiattribute-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/cardinality-with-guiattribute-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasFoo rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/cardinality-with-guielement-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/cardinality-with-guielement-onto.ttl index 7ebeb1507d..2afc2c88e1 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/cardinality-with-guielement-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/cardinality-with-guielement-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasFoo rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/class-incompatible-with-scc-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/class-incompatible-with-scc-onto.ttl index c4e8f4e368..1625598f5b 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/class-incompatible-with-scc-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/class-incompatible-with-scc-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasFoo rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/class-inherits-prop-and-subprop-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/class-inherits-prop-and-subprop-onto.ttl index eb2c2f9c69..ec676f095b 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/class-inherits-prop-and-subprop-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/class-inherits-prop-and-subprop-onto.ttl @@ -13,7 +13,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasAuthor rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/class-with-cardinality-on-kbhasvalue-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/class-with-cardinality-on-kbhasvalue-onto.ttl index 60b69970c6..ba6ff6958f 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/class-with-cardinality-on-kbhasvalue-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/class-with-cardinality-on-kbhasvalue-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :FooHolder rdf:type owl:Class ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/class-with-cardinality-on-kbresprop-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/class-with-cardinality-on-kbresprop-onto.ttl index 0ae00eb11d..2b52729ae0 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/class-with-cardinality-on-kbresprop-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/class-with-cardinality-on-kbresprop-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :FooHolder rdf:type owl:Class ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/class-with-misdefined-link-property-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/class-with-misdefined-link-property-onto.ttl index 297e20ee80..615e442cfc 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/class-with-misdefined-link-property-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/class-with-misdefined-link-property-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasOtherInvalidThing rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/class-with-misdefined-link-value-property-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/class-with-misdefined-link-value-property-onto.ttl index afb96188ad..a073ec5ee5 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/class-with-misdefined-link-value-property-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/class-with-misdefined-link-value-property-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasOtherInvalidThing rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/class-with-mismatched-link-cardinalities-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/class-with-mismatched-link-cardinalities-onto.ttl index 436ada8a16..d72e1d5e83 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/class-with-mismatched-link-cardinalities-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/class-with-mismatched-link-cardinalities-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasOtherInvalidThing rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/class-with-missing-property-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/class-with-missing-property-onto.ttl index 7331430be1..65461b904e 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/class-with-missing-property-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/class-with-missing-property-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :FooHolder rdf:type owl:Class ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/class-with-non-resource-prop-cardinality-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/class-with-non-resource-prop-cardinality-onto.ttl index a8dff27097..dceddf12bd 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/class-with-non-resource-prop-cardinality-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/class-with-non-resource-prop-cardinality-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasFoo rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/class-with-non-shared-base-class.ttl b/test_data/responders.v2.OntologyResponderV2Spec/class-with-non-shared-base-class.ttl index a9b8be28d7..b02601bece 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/class-with-non-shared-base-class.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/class-with-non-shared-base-class.ttl @@ -13,7 +13,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :InvalidThing rdf:type owl:Class ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/class-with-non-shared-cardinality.ttl b/test_data/responders.v2.OntologyResponderV2Spec/class-with-non-shared-cardinality.ttl index 9599730087..09620ddadf 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/class-with-non-shared-cardinality.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/class-with-non-shared-cardinality.ttl @@ -13,7 +13,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :InvalidThing rdf:type owl:Class ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/class-without-label-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/class-without-label-onto.ttl index c40061e2a5..968056d32d 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/class-without-label-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/class-without-label-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasFoo rdf:type owl:ObjectProperty ; @@ -41,4 +42,4 @@ salsah-gui:guiOrder "1"^^xsd:nonNegativeInteger ] ; - knora-base:resourceIcon "thing.png" . \ No newline at end of file + knora-base:resourceIcon "thing.png" . diff --git a/test_data/responders.v2.OntologyResponderV2Spec/conflicting-cardinalities-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/conflicting-cardinalities-onto.ttl index 81646dd3ca..cbcd3a89ae 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/conflicting-cardinalities-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/conflicting-cardinalities-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasName rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/filevalue-prop-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/filevalue-prop-onto.ttl index 90c6fe8bbc..70d984c353 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/filevalue-prop-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/filevalue-prop-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasFoo rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/invalid-card-on-boolean-prop.ttl b/test_data/responders.v2.OntologyResponderV2Spec/invalid-card-on-boolean-prop.ttl index 4906693604..a5b503d072 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/invalid-card-on-boolean-prop.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/invalid-card-on-boolean-prop.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasFoo rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/missing-link-cardinality-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/missing-link-cardinality-onto.ttl index 36d091d933..e68d4c0ddf 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/missing-link-cardinality-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/missing-link-cardinality-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasOtherInvalidThing rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/missing-link-value-cardinality-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/missing-link-value-cardinality-onto.ttl index d1186fa3fd..37d873ffb8 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/missing-link-value-cardinality-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/missing-link-value-cardinality-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasOtherInvalidThing rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/onto-without-project.ttl b/test_data/responders.v2.OntologyResponderV2Spec/onto-without-project.ttl index 109351d226..80b4e9cda7 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/onto-without-project.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/onto-without-project.ttl @@ -11,7 +11,8 @@ @prefix : . rdf:type owl:Ontology ; - rdfs:label "The invalid ontology" . + rdfs:label "The invalid ontology" ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasFoo rdf:type owl:ObjectProperty ; @@ -42,4 +43,4 @@ rdfs:label "foo holder"@en ; - knora-base:resourceIcon "thing.png" . \ No newline at end of file + knora-base:resourceIcon "thing.png" . diff --git a/test_data/responders.v2.OntologyResponderV2Spec/prop-both-value-and-link-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/prop-both-value-and-link-onto.ttl index d1aa86f72c..f449bceb16 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/prop-both-value-and-link-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/prop-both-value-and-link-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasFoo rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/prop-with-guielement-scc-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/prop-with-guielement-scc-onto.ttl index 326ad95b53..6a6cfb0d47 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/prop-with-guielement-scc-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/prop-with-guielement-scc-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasFoo rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/prop-with-guiorder-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/prop-with-guiorder-onto.ttl index 47bf9ef539..17598ff8cb 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/prop-with-guiorder-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/prop-with-guiorder-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasFoo rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/prop-with-incompatible-occ-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/prop-with-incompatible-occ-onto.ttl index 5a735c4911..d6d4e8d5be 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/prop-with-incompatible-occ-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/prop-with-incompatible-occ-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasFoo rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/prop-with-non-knora-occ-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/prop-with-non-knora-occ-onto.ttl index 8e3cda3e67..a44c1ddd6f 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/prop-with-non-knora-occ-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/prop-with-non-knora-occ-onto.ttl @@ -13,7 +13,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasFoo rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/prop-with-non-knora-scc-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/prop-with-non-knora-scc-onto.ttl index decea1db4c..f9772a515e 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/prop-with-non-knora-scc-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/prop-with-non-knora-scc-onto.ttl @@ -13,7 +13,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasFoo rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/prop-with-non-shared-base-prop.ttl b/test_data/responders.v2.OntologyResponderV2Spec/prop-with-non-shared-base-prop.ttl index 9070779ba7..e3bacd0023 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/prop-with-non-shared-base-prop.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/prop-with-non-shared-base-prop.ttl @@ -13,7 +13,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasFoo rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/prop-with-non-shared-occ.ttl b/test_data/responders.v2.OntologyResponderV2Spec/prop-with-non-shared-occ.ttl index 52cb6c3c79..ddaef707ae 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/prop-with-non-shared-occ.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/prop-with-non-shared-occ.ttl @@ -13,7 +13,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasIncunabulaBook rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/prop-with-non-shared-scc.ttl b/test_data/responders.v2.OntologyResponderV2Spec/prop-with-non-shared-scc.ttl index 5b9e11f96e..9e7c9077c4 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/prop-with-non-shared-scc.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/prop-with-non-shared-scc.ttl @@ -13,7 +13,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasFoo rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/prop-with-value-scc-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/prop-with-value-scc-onto.ttl index 5797b9f676..cd219078fd 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/prop-with-value-scc-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/prop-with-value-scc-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasFoo rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/property-without-label-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/property-without-label-onto.ttl index 2c9364f564..def89d0cd7 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/property-without-label-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/property-without-label-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology"@en ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasFoo rdf:type owl:ObjectProperty ; @@ -41,4 +42,4 @@ rdfs:label "foo holder"@en ; - knora-base:resourceIcon "thing.png" . \ No newline at end of file + knora-base:resourceIcon "thing.png" . diff --git a/test_data/responders.v2.OntologyResponderV2Spec/resource-class-is-standoff-class-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/resource-class-is-standoff-class-onto.ttl index 5378eda793..b4860de289 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/resource-class-is-standoff-class-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/resource-class-is-standoff-class-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :InvalidClass rdf:type owl:Class ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/resource-class-with-invalid-base-class-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/resource-class-with-invalid-base-class-onto.ttl index 205de1d1fb..0a494c4e24 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/resource-class-with-invalid-base-class-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/resource-class-with-invalid-base-class-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :InvalidClass rdf:type owl:Class ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/resource-prop-without-label-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/resource-prop-without-label-onto.ttl index f849850295..5e3498eb4a 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/resource-prop-without-label-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/resource-prop-without-label-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasFoo rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/resource-prop-without-occ-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/resource-prop-without-occ-onto.ttl index 87408ffaeb..100b74614f 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/resource-prop-without-occ-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/resource-prop-without-occ-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasFoo rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/resource-prop-wrong-base-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/resource-prop-wrong-base-onto.ttl index aad35d88cd..0a40bedd71 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/resource-prop-wrong-base-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/resource-prop-wrong-base-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasFoo rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/standoff-class-with-invalid-base-class-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/standoff-class-with-invalid-base-class-onto.ttl index fff9696415..b0741f1f8a 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/standoff-class-with-invalid-base-class-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/standoff-class-with-invalid-base-class-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :FooTag rdf:type owl:Class ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/standoff-class-with-resprop-cardinality-onto.ttl b/test_data/responders.v2.OntologyResponderV2Spec/standoff-class-with-resprop-cardinality-onto.ttl index 6b9d7c084a..8885d5113a 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/standoff-class-with-resprop-cardinality-onto.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/standoff-class-with-resprop-cardinality-onto.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasFoo rdf:type owl:ObjectProperty ; diff --git a/test_data/responders.v2.OntologyResponderV2Spec/transitive-prop.ttl b/test_data/responders.v2.OntologyResponderV2Spec/transitive-prop.ttl index ba993bef42..d273824135 100644 --- a/test_data/responders.v2.OntologyResponderV2Spec/transitive-prop.ttl +++ b/test_data/responders.v2.OntologyResponderV2Spec/transitive-prop.ttl @@ -12,7 +12,8 @@ @prefix : . rdf:type owl:Ontology ; rdfs:label "The invalid ontology" ; - knora-base:attachedToProject . + knora-base:attachedToProject ; + knora-base:lastModificationDate "2012-12-12T12:12:12.12Z"^^xsd:dateTime . :hasLinkToFoo rdf:type owl:ObjectProperty, owl:TransitiveProperty ; diff --git a/test_data/upgrade/pr2018.trig b/test_data/upgrade/pr2018.trig new file mode 100644 index 0000000000..a1ba58780d --- /dev/null +++ b/test_data/upgrade/pr2018.trig @@ -0,0 +1,39 @@ +@prefix xsd: . +@prefix rdf: . +@prefix rdfs: . +@prefix owl: . +@prefix knora-base: . +@prefix knora-admin: . + +# A test ontology that does not contain knora-base:lastModificationDate +# and it is not attached to knora-admin:SystemProject + { + rdf:type owl:Ontology ; + rdfs:label "PluginPR2018 test object #1" ; + knora-base:attachedToProject . +} + +# A test ontology that does not contain knora-base:lastModificationDate +# but it is attached to knora-admin:SystemProject + { + rdf:type owl:Ontology ; + rdfs:label "PluginPR2018 test object #2" ; + knora-base:attachedToProject knora-admin:SystemProject . +} + +# A test resource that contains knora-base:lastModificationDate +# and it is not attached to knora-admin:SystemProject + { + rdf:type knora-base:Resource ; + rdfs:label "PluginPR2018 test object #4" ; + knora-base:attachedToProject . +} + +# A test ontology that contains knora-base:lastModificationDate +# and it is not attached to knora-admin:SystemProject + { + rdf:type owl:Ontology ; + rdfs:label "PluginPR2018 test object #3" ; + knora-base:attachedToProject ; + knora-base:lastModificationDate "2019-09-10T08:57:46.633162Z"^^xsd:dateTime . +} diff --git a/webapi/src/main/scala/org/knora/webapi/app/ApplicationActor.scala b/webapi/src/main/scala/org/knora/webapi/app/ApplicationActor.scala index 05c618e945..ab06908109 100644 --- a/webapi/src/main/scala/org/knora/webapi/app/ApplicationActor.scala +++ b/webapi/src/main/scala/org/knora/webapi/app/ApplicationActor.scala @@ -19,6 +19,7 @@ import kamon.Kamon import org.knora.webapi.core.LiveActorMaker import org.knora.webapi.exceptions.{ InconsistentRepositoryDataException, + MissingLastModificationDateOntologyException, SipiException, UnexpectedMessageException, UnsupportedValueException @@ -404,7 +405,13 @@ class ApplicationActor extends Actor with Stash with LazyLogging with AroundDire case responderMessage: KnoraRequestADM => responderManager forward responderMessage case storeMessage: StoreRequest => storeManager forward storeMessage - case akka.actor.Status.Failure(ex: Exception) => throw ex + case akka.actor.Status.Failure(ex: Exception) => + ex match { + case MissingLastModificationDateOntologyException(message, _) => + logger.info("Application stopped because of loading ontology into the cache failed.") + appStop() + case _ => throw ex + } case other => throw UnexpectedMessageException( diff --git a/webapi/src/main/scala/org/knora/webapi/exceptions/Exceptions.scala b/webapi/src/main/scala/org/knora/webapi/exceptions/Exceptions.scala index b1c988b2ff..0dd8cfef88 100644 --- a/webapi/src/main/scala/org/knora/webapi/exceptions/Exceptions.scala +++ b/webapi/src/main/scala/org/knora/webapi/exceptions/Exceptions.scala @@ -354,6 +354,9 @@ object InconsistentRepositoryDataException { InconsistentRepositoryDataException(message, Some(ExceptionUtil.logAndWrapIfNotSerializable(e, log))) } +case class MissingLastModificationDateOntologyException(message: String, cause: Option[Throwable] = None) + extends InternalServerException(message, cause) + /** * Indicates that the API server generated invalid JSON in an API response. * diff --git a/webapi/src/main/scala/org/knora/webapi/package.scala b/webapi/src/main/scala/org/knora/webapi/package.scala index 9690b6cfbd..7c32a5455e 100644 --- a/webapi/src/main/scala/org/knora/webapi/package.scala +++ b/webapi/src/main/scala/org/knora/webapi/package.scala @@ -11,7 +11,7 @@ package object webapi { * The version of `knora-base` and of the other built-in ontologies that this version of Knora requires. * Must be the same as the object of `knora-base:ontologyVersion` in the `knora-base` ontology being used. */ - val KnoraBaseVersion: String = "knora-base v14" + val KnoraBaseVersion: String = "knora-base v20" /** * `IRI` is a synonym for `String`, used to improve code readability. diff --git a/webapi/src/main/scala/org/knora/webapi/responders/v2/ontology/Cache.scala b/webapi/src/main/scala/org/knora/webapi/responders/v2/ontology/Cache.scala index 978e001de2..25b08f2edf 100644 --- a/webapi/src/main/scala/org/knora/webapi/responders/v2/ontology/Cache.scala +++ b/webapi/src/main/scala/org/knora/webapi/responders/v2/ontology/Cache.scala @@ -11,6 +11,7 @@ import org.knora.webapi.{ApiV2Complex, InternalSchema, KnoraBaseVersion, Ontolog import org.knora.webapi.exceptions.{ ApplicationCacheException, BadRequestException, + MissingLastModificationDateOntologyException, ForbiddenException, InconsistentRepositoryDataException } @@ -45,6 +46,8 @@ import scala.concurrent.{ExecutionContext, Future} import akka.pattern._ import akka.util.Timeout import com.typesafe.scalalogging.{LazyLogging, Logger} +import java.time.Instant +import org.knora.webapi.app.ApplicationActor object Cache extends LazyLogging { @@ -138,6 +141,25 @@ object Cache extends LazyLogging { // Get the contents of each named graph containing an ontology. ontologyGraphResponseFutures: Iterable[Future[OntologyGraph]] = allOntologyMetadata.keys.map { ontologyIri => + val ontology: OntologyMetadataV2 = allOntologyMetadata.get(ontologyIri).get + val lastModificationDate: Option[Instant] = ontology.lastModificationDate + val attachedToProject: Option[SmartIri] = ontology.projectIri + + // throw an expception if ontology doesn't have lastModificationDate property and isn't attached to system project + lastModificationDate match { + case None => + attachedToProject match { + case Some(iri: SmartIri) => + if (iri != OntologyConstants.KnoraAdmin.SystemProject.toSmartIri) { + throw MissingLastModificationDateOntologyException( + s"Required property knora-base:lastModificationDate is missing in `$ontologyIri`" + ) + } + case _ => () + } + case _ => () + } + val ontologyGraphConstructQuery = org.knora.webapi.messages.twirl.queries.sparql.v2.txt .getOntologyGraph( triplestore = settings.triplestoreType, diff --git a/webapi/src/main/scala/org/knora/webapi/store/triplestore/upgrade/RepositoryUpdatePlan.scala b/webapi/src/main/scala/org/knora/webapi/store/triplestore/upgrade/RepositoryUpdatePlan.scala index a5499f9cbc..d2d0135f28 100644 --- a/webapi/src/main/scala/org/knora/webapi/store/triplestore/upgrade/RepositoryUpdatePlan.scala +++ b/webapi/src/main/scala/org/knora/webapi/store/triplestore/upgrade/RepositoryUpdatePlan.scala @@ -46,9 +46,15 @@ object RepositoryUpdatePlan { PluginForKnoraBaseVersion(versionNumber = 12, plugin = new NoopPlugin), // PR 1891 PluginForKnoraBaseVersion( versionNumber = 13, - plugin = new UpgradePluginPR1921(featureFactoryConfig, log) - ), // PR 1921 - PluginForKnoraBaseVersion(versionNumber = 14, plugin = new NoopPlugin) // PR 1992 + plugin = new UpgradePluginPR1921(featureFactoryConfig, log), + prBasedVersionString = Some("PR 1921") + ), + PluginForKnoraBaseVersion(versionNumber = 14, plugin = new NoopPlugin), // PR 1992 + PluginForKnoraBaseVersion( + versionNumber = 20, + plugin = new UpgradePluginPR2018(featureFactoryConfig, log), + prBasedVersionString = Some("PR 2018") + ) ) /** diff --git a/webapi/src/main/scala/org/knora/webapi/store/triplestore/upgrade/plugins/UpgradePluginPR1746.scala b/webapi/src/main/scala/org/knora/webapi/store/triplestore/upgrade/plugins/UpgradePluginPR1746.scala index 5db656c1b8..4fe88a77cb 100644 --- a/webapi/src/main/scala/org/knora/webapi/store/triplestore/upgrade/plugins/UpgradePluginPR1746.scala +++ b/webapi/src/main/scala/org/knora/webapi/store/triplestore/upgrade/plugins/UpgradePluginPR1746.scala @@ -40,7 +40,7 @@ class UpgradePluginPR1746(featureFactoryConfig: FeatureFactoryConfig, log: Logge context = statement.context ) - log.warn(s"Changed empty object of <${statement.subj}> <${statement.pred}> to FIXME") + log.info(s"Changed empty object of <${statement.subj}> <${statement.pred}> to FIXME") } for (statement: Statement <- model) { diff --git a/webapi/src/main/scala/org/knora/webapi/store/triplestore/upgrade/plugins/UpgradePluginPR1921.scala b/webapi/src/main/scala/org/knora/webapi/store/triplestore/upgrade/plugins/UpgradePluginPR1921.scala index 9775afa413..9b2f36127b 100644 --- a/webapi/src/main/scala/org/knora/webapi/store/triplestore/upgrade/plugins/UpgradePluginPR1921.scala +++ b/webapi/src/main/scala/org/knora/webapi/store/triplestore/upgrade/plugins/UpgradePluginPR1921.scala @@ -42,7 +42,7 @@ class UpgradePluginPR1921(featureFactoryConfig: FeatureFactoryConfig, log: Logge context = statement.context ) - log.warn( + log.info( s"Updated <${statement.subj}> <${statement.pred}> to <${newPredicateLabel.stringValue}> with <${groupDescriptionWithLanguage}>" ) @@ -56,7 +56,7 @@ class UpgradePluginPR1921(featureFactoryConfig: FeatureFactoryConfig, log: Logge obj = statement.obj, context = statement.context ) - log.warn(s"Updated <${statement.pred}> to <${newPredicateLabel.stringValue}>") + log.info(s"Updated <${statement.pred}> to <${newPredicateLabel.stringValue}>") } for (statement: Statement <- model) { diff --git a/webapi/src/main/scala/org/knora/webapi/store/triplestore/upgrade/plugins/UpgradePluginPR2018.scala b/webapi/src/main/scala/org/knora/webapi/store/triplestore/upgrade/plugins/UpgradePluginPR2018.scala new file mode 100644 index 0000000000..6dd4c6ad5d --- /dev/null +++ b/webapi/src/main/scala/org/knora/webapi/store/triplestore/upgrade/plugins/UpgradePluginPR2018.scala @@ -0,0 +1,83 @@ +/* + * Copyright © 2021 - 2022 Swiss National Data and Service Center for the Humanities and/or DaSCH Service Platform contributors. + * SPDX-License-Identifier: Apache-2.0 + */ + +package org.knora.webapi.store.triplestore.upgrade.plugins + +import org.knora.webapi.exceptions.InconsistentRepositoryDataException +import org.knora.webapi.feature.FeatureFactoryConfig +import org.knora.webapi.messages.OntologyConstants.KnoraAdmin.SystemProject +import org.knora.webapi.messages.OntologyConstants.KnoraBase.{AttachedToProject, LastModificationDate} +import org.knora.webapi.messages.OntologyConstants.Owl.Ontology +import org.knora.webapi.messages.OntologyConstants.Xsd.DateTime +import org.knora.webapi.messages.util.rdf._ +import org.knora.webapi.store.triplestore.upgrade.UpgradePlugin + +import java.time.Instant +import com.typesafe.scalalogging.Logger + +/** + * Transforms a repository for DSP-API PR 2018. + */ +class UpgradePluginPR2018(featureFactoryConfig: FeatureFactoryConfig, log: Logger) extends UpgradePlugin { + private val nodeFactory: RdfNodeFactory = RdfFeatureFactory.getRdfNodeFactory(featureFactoryConfig) + private val newModificationDate = Instant.now.toString + private val ontologyType: IriNode = nodeFactory.makeIriNode(Ontology) + + override def transform(model: RdfModel): Unit = + for (ontology: IriNode <- getOntologiesToTransform(model)) { + model.add( + subj = ontology, + pred = nodeFactory.makeIriNode(LastModificationDate), + obj = nodeFactory.makeDatatypeLiteral( + value = newModificationDate, + datatype = DateTime + ), + context = Some(ontology.iri) + ) + + log.info(s"Updated ontology: ${ontology.iri} with LastModificationDate") + } + + private def getOntologiesToTransform(model: RdfModel): Iterator[IriNode] = { + val triplesWithoutLastModificationDate: Set[RdfResource] = model + .find( + subj = None, + pred = Some(nodeFactory.makeIriNode(LastModificationDate)), + obj = None + ) + .map(_.subj) + .toSet + + val triplesInOntologyType: Set[RdfResource] = model + .find( + subj = None, + pred = None, + obj = Some(ontologyType) + ) + .map(_.subj) + .toSet + + val onotologiesWithoutLastModificationDate: Set[RdfResource] = + triplesInOntologyType -- triplesWithoutLastModificationDate + + val triplesAttachedToSystemProject: Set[RdfResource] = model + .find( + subj = None, + pred = Some(nodeFactory.makeIriNode(AttachedToProject)), + obj = None + ) + .filter(triple => (triple.obj == nodeFactory.makeIriNode(SystemProject))) + .map(_.subj) + .toSet + + val ontologiesWithoutLastModificationDateAndNotAttachedToSystemProject: Set[RdfResource] = + onotologiesWithoutLastModificationDate -- triplesAttachedToSystemProject + + ontologiesWithoutLastModificationDateAndNotAttachedToSystemProject.map { + case iriNode: IriNode => iriNode + case other => throw InconsistentRepositoryDataException(s"Unexpected subject for $ontologyType: $other") + }.iterator + } +} diff --git a/webapi/src/test/scala/org/knora/webapi/e2e/v2/OntologyV2R2RSpec.scala b/webapi/src/test/scala/org/knora/webapi/e2e/v2/OntologyV2R2RSpec.scala index 19ebc305bc..b130250ee9 100644 --- a/webapi/src/test/scala/org/knora/webapi/e2e/v2/OntologyV2R2RSpec.scala +++ b/webapi/src/test/scala/org/knora/webapi/e2e/v2/OntologyV2R2RSpec.scala @@ -129,9 +129,10 @@ class OntologyV2R2RSpec extends R2RSpec { */ def writeFile(responseStr: String, mediaType: MediaType.NonBinary): Unit = if (!disableWrite) { - val testOutputDir = Paths.get("..", "test_data", "ontologyR2RV2") - val file = makeFile(mediaType) - val newOutputFile = testOutputDir.resolve(file) + val fileSuffix = mediaType.fileExtensions.head + val newOutputFile = Paths.get("..", "test_data", "ontologyR2RV2", s"$fileBasename.$fileSuffix") + + Files.createDirectories(newOutputFile.getParent) FileUtil.writeTextFile(newOutputFile, responseStr) } diff --git a/webapi/src/test/scala/org/knora/webapi/store/triplestore/upgrade/plugins/UpgradePluginPR2018Spec.scala b/webapi/src/test/scala/org/knora/webapi/store/triplestore/upgrade/plugins/UpgradePluginPR2018Spec.scala new file mode 100644 index 0000000000..7a1022f7ef --- /dev/null +++ b/webapi/src/test/scala/org/knora/webapi/store/triplestore/upgrade/plugins/UpgradePluginPR2018Spec.scala @@ -0,0 +1,51 @@ +/* + * Copyright © 2021 - 2022 Swiss National Data and Service Center for the Humanities and/or DaSCH Service Platform contributors. + * SPDX-License-Identifier: Apache-2.0 + */ + +package org.knora.webapi.store.triplestore.upgrade.plugins + +import com.typesafe.scalalogging.LazyLogging +import org.knora.webapi.messages.util.rdf._ + +class UpgradePluginPR2018Spec extends UpgradePluginSpec with LazyLogging { + "Upgrade plugin PR2018" should { + "add lastModificationDate to ontology not attached to SystemProject" in { + val model: RdfModel = trigFileToModel("../test_data/upgrade/pr2018.trig") + val plugin = new UpgradePluginPR2018(defaultFeatureFactoryConfig, logger) + plugin.transform(model) + val repository: RdfRepository = model.asRepository + + // query that finds all ontologies with lastModificationDate + val query: String = + """ + |PREFIX knora-base: + |PREFIX owl: + |PREFIX rdf: + | + |SELECT ?ontology + |FROM + |FROM + |FROM + |FROM + |WHERE { + | ?ontology rdf:type owl:Ontology . + | ?ontology knora-base:lastModificationDate ?date + |} + |""".stripMargin + + val queryResult: SparqlSelectResult = repository.doSelect(query) + + // expect plugin to add lastModificationDate to test ontologies, thus listed in the query results + val expectedResultBody: SparqlSelectResultBody = expectedResult( + Seq( + Map("ontology" -> "http://www.knora.org/ontology/7777/test"), + Map("ontology" -> "http://www.knora.org/ontology/6666/test") + ) + ) + + assert(queryResult.results == expectedResultBody) + repository.shutDown() + } + } +}