From c3642f095caa2ef6a4572598002e76c45d2da682 Mon Sep 17 00:00:00 2001 From: Philipp Schneider <schneider.philipp@uni-muenster.de> Date: Thu, 11 May 2023 17:29:56 +0200 Subject: [PATCH] Add domains and ranges to object ontology --- .../digital-heraldry-ontology-object.ttl | 74 +++++++++++-------- 1 file changed, 43 insertions(+), 31 deletions(-) diff --git a/data/ontologies/digital-heraldry-ontology-object.ttl b/data/ontologies/digital-heraldry-ontology-object.ttl index 7e55d65..9f5c2d7 100644 --- a/data/ontologies/digital-heraldry-ontology-object.ttl +++ b/data/ontologies/digital-heraldry-ontology-object.ttl @@ -82,10 +82,6 @@ dhoo:belowOf rdf:type owl:ObjectProperty ; rdfs:subPropertyOf dhoo:adjacentTo . -### http://digitalheraldry.org/digital-heraldry-ontology/object#datedInCentury -dhoo:datedInCentury rdf:type owl:ObjectProperty . - - ### http://digitalheraldry.org/digital-heraldry-ontology/object#directionallyRelatedTo dhoo:directionallyRelatedTo rdf:type owl:ObjectProperty ; rdfs:domain dhoo:DisplayedSegment ; @@ -103,29 +99,6 @@ dhoo:externallyConnectedWith rdf:type owl:ObjectProperty ; rdfs:subPropertyOf dhoo:spatiallyDiscreteFrom . -### http://digitalheraldry.org/digital-heraldry-ontology/object#hasDate -dhoo:hasDate rdf:type owl:ObjectProperty ; - rdfs:domain dhoo:Object . - - -### http://digitalheraldry.org/digital-heraldry-ontology/object#hasEarliestDate -dhoo:hasEarliestDate rdf:type owl:ObjectProperty ; - rdfs:subPropertyOf dhoo:hasDate . - - -### http://digitalheraldry.org/digital-heraldry-ontology/object#hasGridSystem -dhoo:hasGridSystem rdf:type owl:ObjectProperty . - - -### http://digitalheraldry.org/digital-heraldry-ontology/object#hasLatestDate -dhoo:hasLatestDate rdf:type owl:ObjectProperty ; - rdfs:subPropertyOf dhoo:hasDate . - - -### http://digitalheraldry.org/digital-heraldry-ontology/object#hasLibraryPlace -dhoo:hasLibraryPlace rdf:type owl:ObjectProperty . - - ### http://digitalheraldry.org/digital-heraldry-ontology/object#hasNonTangentialProperSpatialPart dhoo:hasNonTangentialProperSpatialPart rdf:type owl:ObjectProperty ; rdfs:subPropertyOf dhoo:hasProperSpatialPart ; @@ -145,10 +118,6 @@ dhoo:hasTangentialProperSpatialPart rdf:type owl:ObjectProperty ; owl:inverseOf dhoo:tangentialProperSpatialPartOf . -### http://digitalheraldry.org/digital-heraldry-ontology/object#hasTitle -dhoo:hasTitle rdf:type owl:ObjectProperty . - - ### http://digitalheraldry.org/digital-heraldry-ontology/object#inFrontOf dhoo:inFrontOf rdf:type owl:ObjectProperty ; rdfs:subPropertyOf dhoo:perpendicularTo ; @@ -206,6 +175,7 @@ dhoo:properSpatialPartOf rdf:type owl:ObjectProperty ; ### http://digitalheraldry.org/digital-heraldry-ontology/object#representedByDigitalImage dhoo:representedByDigitalImage rdf:type owl:ObjectProperty ; + rdfs:domain dhoo:Object ; rdfs:comment "Connects an object or part of an object to a IIIF-URI, thereby connecting it to a digital image"@en ; rdfs:label "representedByDigitalImage"@en . @@ -241,6 +211,12 @@ dhoo:tangentialProperSpatialPartOf rdf:type owl:ObjectProperty ; # Data properties ################################################################# +### http://digitalheraldry.org/digital-heraldry-ontology/object#datedInCentury +dhoo:datedInCentury rdf:type owl:DatatypeProperty ; + rdfs:domain dhoo:Object ; + rdfs:range rdfs:Literal . + + ### http://digitalheraldry.org/digital-heraldry-ontology/object#folioNumber dhoo:folioNumber rdf:type owl:DatatypeProperty ; owl:equivalentProperty dhor:folioNumber ; @@ -251,6 +227,24 @@ dhoo:folioNumber rdf:type owl:DatatypeProperty ; dhor:CoatOfArmsRepresentation . +### http://digitalheraldry.org/digital-heraldry-ontology/object#hasDate +dhoo:hasDate rdf:type owl:DatatypeProperty ; + rdfs:domain dhoo:Object ; + rdfs:range rdfs:Literal . + + +### http://digitalheraldry.org/digital-heraldry-ontology/object#hasEarliestDate +dhoo:hasEarliestDate rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf dhoo:hasDate ; + rdfs:range xsd:int . + + +### http://digitalheraldry.org/digital-heraldry-ontology/object#hasGridSystem +dhoo:hasGridSystem rdf:type owl:DatatypeProperty ; + rdfs:domain dhoo:Object ; + rdfs:range rdfs:Literal . + + ### http://digitalheraldry.org/digital-heraldry-ontology/object#hasIDhs dhoo:hasIDhs rdf:type owl:DatatypeProperty ; rdfs:domain dhoo:Manuscript ; @@ -259,6 +253,12 @@ dhoo:hasIDhs rdf:type owl:DatatypeProperty ; rdfs:label "hasIDhs"@en . +### http://digitalheraldry.org/digital-heraldry-ontology/object#hasLatestDate +dhoo:hasLatestDate rdf:type owl:DatatypeProperty ; + rdfs:subPropertyOf dhoo:hasDate ; + rdfs:range xsd:int . + + ### http://digitalheraldry.org/digital-heraldry-ontology/object#hasLibraryCollection dhoo:hasLibraryCollection rdf:type owl:DatatypeProperty ; rdfs:domain dhoo:Manuscript ; @@ -271,6 +271,12 @@ dhoo:hasLibraryInstitution rdf:type owl:DatatypeProperty ; rdfs:range rdfs:Literal . +### http://digitalheraldry.org/digital-heraldry-ontology/object#hasLibraryPlace +dhoo:hasLibraryPlace rdf:type owl:DatatypeProperty ; + rdfs:domain dhoo:Manuscript ; + rdfs:range rdfs:Literal . + + ### http://digitalheraldry.org/digital-heraldry-ontology/object#hasLibrarySignature dhoo:hasLibrarySignature rdf:type owl:DatatypeProperty ; rdfs:domain dhoo:Manuscript ; @@ -285,6 +291,12 @@ dhoo:hasOMAarmCode rdf:type owl:DatatypeProperty ; rdfs:label "hasOMAarmCode"@en . +### http://digitalheraldry.org/digital-heraldry-ontology/object#hasTitle +dhoo:hasTitle rdf:type owl:DatatypeProperty ; + rdfs:domain dhoo:Manuscript ; + rdfs:range rdfs:Literal . + + ### http://digitalheraldry.org/digital-heraldry-ontology/representation#folioNumber dhor:folioNumber rdf:type owl:DatatypeProperty ; rdfs:domain dhoo:Manuscript ; -- GitLab