diff --git a/docs/03-endpoints/api-v2/text/standard-standoff.md b/docs/03-endpoints/api-v2/text/standard-standoff.md index f0c5a27e23..03a2ffffe7 100644 --- a/docs/03-endpoints/api-v2/text/standard-standoff.md +++ b/docs/03-endpoints/api-v2/text/standard-standoff.md @@ -30,8 +30,10 @@ that are mapped to standoff classes and properties defined in the ontology: - `
` → `standoff:StandoffTableHeaderCellTag` - ` | ` → `standoff:StandoffTableCellTag`
- ` ` → `standoff:StandoffBrTag` - ` ` → `standoff:StandoffLineTag` diff --git a/test_data/generated_test_data/ontologyR2RV2/standoffOntologyWithValueObjects.jsonld b/test_data/generated_test_data/ontologyR2RV2/standoffOntologyWithValueObjects.jsonld index ccacac3adf..0ee0e8d002 100644 --- a/test_data/generated_test_data/ontologyR2RV2/standoffOntologyWithValueObjects.jsonld +++ b/test_data/generated_test_data/ontologyR2RV2/standoffOntologyWithValueObjects.jsonld @@ -2298,6 +2298,188 @@ "@type": "owl:Class", "@id": "standoff:StandoffTableCellTag" }, + { + "knora-api:isStandoffClass": true, + "rdfs:subClassOf": [ + { + "@id": "standoff:StandoffStructuralTag" + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:standoffTagHasEnd" + }, + "owl:cardinality": 1, + "knora-api:isInherited": true + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:standoffTagHasEndIndex" + }, + "owl:maxCardinality": 1, + "knora-api:isInherited": true + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:standoffTagHasEndParent" + }, + "owl:maxCardinality": 1, + "knora-api:isInherited": true + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:standoffTagHasEndParentIndex" + }, + "owl:maxCardinality": 1, + "knora-api:isInherited": true + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:standoffTagHasOriginalXMLID" + }, + "owl:maxCardinality": 1, + "knora-api:isInherited": true + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:standoffTagHasStart" + }, + "owl:cardinality": 1, + "knora-api:isInherited": true + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:standoffTagHasStartIndex" + }, + "owl:cardinality": 1, + "knora-api:isInherited": true + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:standoffTagHasStartParent" + }, + "owl:maxCardinality": 1, + "knora-api:isInherited": true + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:standoffTagHasStartParentIndex" + }, + "owl:maxCardinality": 1, + "knora-api:isInherited": true + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:standoffTagHasUUID" + }, + "owl:cardinality": 1, + "knora-api:isInherited": true + } + ], + "rdfs:comment": "Represents a cell in a header row in a table", + "@type": "owl:Class", + "@id": "standoff:StandoffTableHeaderCellTag" + }, + { + "knora-api:isStandoffClass": true, + "rdfs:subClassOf": [ + { + "@id": "standoff:StandoffStructuralTag" + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:standoffTagHasEnd" + }, + "owl:cardinality": 1, + "knora-api:isInherited": true + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:standoffTagHasEndIndex" + }, + "owl:maxCardinality": 1, + "knora-api:isInherited": true + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:standoffTagHasEndParent" + }, + "owl:maxCardinality": 1, + "knora-api:isInherited": true + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:standoffTagHasEndParentIndex" + }, + "owl:maxCardinality": 1, + "knora-api:isInherited": true + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:standoffTagHasOriginalXMLID" + }, + "owl:maxCardinality": 1, + "knora-api:isInherited": true + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:standoffTagHasStart" + }, + "owl:cardinality": 1, + "knora-api:isInherited": true + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:standoffTagHasStartIndex" + }, + "owl:cardinality": 1, + "knora-api:isInherited": true + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:standoffTagHasStartParent" + }, + "owl:maxCardinality": 1, + "knora-api:isInherited": true + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:standoffTagHasStartParentIndex" + }, + "owl:maxCardinality": 1, + "knora-api:isInherited": true + }, + { + "@type": "owl:Restriction", + "owl:onProperty": { + "@id": "knora-api:standoffTagHasUUID" + }, + "owl:cardinality": 1, + "knora-api:isInherited": true + } + ], + "rdfs:comment": "Represents a table header in a TextValue", + "@type": "owl:Class", + "@id": "standoff:StandoffTableHeaderTag" + }, { "knora-api:isStandoffClass": true, "rdfs:subClassOf": [ diff --git a/webapi/src/main/resources/knora-ontologies/knora-base.ttl b/webapi/src/main/resources/knora-ontologies/knora-base.ttl index b58ea85f69..bbc0c57235 100644 --- a/webapi/src/main/resources/knora-ontologies/knora-base.ttl +++ b/webapi/src/main/resources/knora-ontologies/knora-base.ttl @@ -20,7 +20,7 @@ rdf:type owl:Ontology ; rdfs:label "The Knora base ontology"@en ; :attachedToProject knora-admin:SystemProject ; - :ontologyVersion "knora-base v36" . + :ontologyVersion "knora-base v37" . ################################################################# diff --git a/webapi/src/main/resources/knora-ontologies/standoff-data.ttl b/webapi/src/main/resources/knora-ontologies/standoff-data.ttl index ba6ab7605b..87f2fd9e58 100644 --- a/webapi/src/main/resources/knora-ontologies/standoff-data.ttl +++ b/webapi/src/main/resources/knora-ontologies/standoff-data.ttl @@ -41,8 +41,10 @@ |
---|