From e348a8517bdc2e897ea8ea1d9042f0dff1a6ff58 Mon Sep 17 00:00:00 2001
From: Philipp Schneider <schneider.philipp@uni-muenster.de>
Date: Thu, 6 Apr 2023 19:15:40 +0200
Subject: [PATCH] Change some annotation properties to datatype properties

---
 ...gital-heraldry-ontology-representation.ttl |  2 +-
 data/ontologies/digital-heraldry-ontology.ttl | 48 +++++++++++--------
 2 files changed, 28 insertions(+), 22 deletions(-)

diff --git a/data/ontologies/digital-heraldry-ontology-representation.ttl b/data/ontologies/digital-heraldry-ontology-representation.ttl
index 73d2272..55c4a8c 100644
--- a/data/ontologies/digital-heraldry-ontology-representation.ttl
+++ b/data/ontologies/digital-heraldry-ontology-representation.ttl
@@ -26,7 +26,7 @@
 #################################################################
 
 ###  http://digitalheraldry.org/digital-heraldry-ontology/representation#textHasPrimaryTranscription
-dhor:textHasPrimaryTranscription rdf:type owl:AnnotationProperty ;
+dhor:textHasPrimaryTranscription rdf:type owl:DatatypeProperty ;
                                  rdfs:comment "Primary Transcription of the text associated with a coat of arms"@en ;
                                  rdfs:label "textHasPrimaryTranscription"@en ;
                                  rdfs:range rdfs:Literal ;
diff --git a/data/ontologies/digital-heraldry-ontology.ttl b/data/ontologies/digital-heraldry-ontology.ttl
index 8d9b59b..9810794 100644
--- a/data/ontologies/digital-heraldry-ontology.ttl
+++ b/data/ontologies/digital-heraldry-ontology.ttl
@@ -29,20 +29,14 @@ dhoh:blazonCorrectionComment rdf:type owl:AnnotationProperty ;
                              rdfs:subPropertyOf rdfs:comment .
 
 
-###  http://digitalheraldry.org/digital-heraldry-ontology/heraldry#hasBlazonTerm
-dhoh:hasBlazonTerm rdf:type owl:AnnotationProperty ;
-                   rdfs:range rdfs:Literal ;
-                   rdfs:domain dhoh:BlazonTermDefinition .
-
-
 ###  http://digitalheraldry.org/digital-heraldry-ontology/heraldry#hasChargeNumber
-dhoh:hasChargeNumber rdf:type owl:AnnotationProperty ;
+dhoh:hasChargeNumber rdf:type owl:DatatypeProperty ;
                      rdfs:subPropertyOf dhoh:hasNumber ;
                      rdfs:domain dhoh:Charge .
 
 
 ###  http://digitalheraldry.org/digital-heraldry-ontology/heraldry#hasLetter
-dhoh:hasLetter rdf:type owl:AnnotationProperty ;
+dhoh:hasLetter rdf:type owl:DatatypeProperty ;
                rdfs:comment "DOCUMENTATION TO BE ADDED"@en ;
                rdfs:label "hasLetter"@en ;
                rdfs:subPropertyOf rdfs:label ;
@@ -51,14 +45,14 @@ dhoh:hasLetter rdf:type owl:AnnotationProperty ;
 
 
 ###  http://digitalheraldry.org/digital-heraldry-ontology/heraldry#hasNumber
-dhoh:hasNumber rdf:type owl:AnnotationProperty ;
+dhoh:hasNumber rdf:type owl:DatatypeProperty ;
                rdfs:comment "DOCUMENTATION TO BE ADDED"@en ;
                rdfs:label "hasNumber"@en ;
                rdfs:range xsd:int .
 
 
 ###  http://digitalheraldry.org/digital-heraldry-ontology/heraldry#hasOMAid
-dhoh:hasOMAid rdf:type owl:AnnotationProperty ;
+dhoh:hasOMAid rdf:type owl:DatatypeProperty ;
               rdfs:comment "DOCUMENTATION TO BE ADDED"@en ;
               rdfs:label "hasOMAid"@en ;
               rdfs:subPropertyOf rdfs:label ;
@@ -67,13 +61,13 @@ dhoh:hasOMAid rdf:type owl:AnnotationProperty ;
 
 
 ###  http://digitalheraldry.org/digital-heraldry-ontology/heraldry#hasPatternNumber
-dhoh:hasPatternNumber rdf:type owl:AnnotationProperty ;
+dhoh:hasPatternNumber rdf:type owl:DatatypeProperty ;
                       rdfs:subPropertyOf dhoh:hasNumber ;
                       rdfs:domain dhoh:Pattern .
 
 
 ###  http://digitalheraldry.org/digital-heraldry-ontology/heraldry#hasText
-dhoh:hasText rdf:type owl:AnnotationProperty ;
+dhoh:hasText rdf:type owl:DatatypeProperty ;
              rdfs:comment "DOCUMENTATION TO BE ADDED"@en ;
              rdfs:label "hasText"@en ;
              rdfs:subPropertyOf rdfs:label ;
@@ -82,7 +76,7 @@ dhoh:hasText rdf:type owl:AnnotationProperty ;
 
 
 ###  http://digitalheraldry.org/digital-heraldry-ontology/heraldry#numberOfMarshalledParts
-dhoh:numberOfMarshalledParts rdf:type owl:AnnotationProperty ;
+dhoh:numberOfMarshalledParts rdf:type owl:DatatypeProperty ;
                              rdfs:subPropertyOf dhoh:hasNumber ;
                              rdfs:domain dhoh:Field .
 
@@ -189,10 +183,6 @@ dhoh:enhanced rdf:type owl:ObjectProperty ;
               rdfs:label "enhanced" .
 
 
-###  http://digitalheraldry.org/digital-heraldry-ontology/heraldry#fromReference
-dhoh:fromReference rdf:type owl:ObjectProperty .
-
-
 ###  http://digitalheraldry.org/digital-heraldry-ontology/heraldry#hasBeliefValue
 dhoh:hasBeliefValue rdf:type owl:ObjectProperty ;
                     rdfs:comment "DOCUMENTATION TO BE ADDED"@en ;
@@ -476,6 +466,26 @@ dhoh:with rdf:type owl:ObjectProperty ;
           rdfs:label "with" .
 
 
+#################################################################
+#    Data properties
+#################################################################
+
+###  http://digitalheraldry.org/digital-heraldry-ontology/heraldry#fromReference
+dhoh:fromReference rdf:type owl:DatatypeProperty ;
+                   rdfs:domain dhoh:BlazonTermDefinition ;
+                   rdfs:range rdfs:Literal ;
+                   rdfs:comment "DOCUMENTATION TO BE ADDED"@en ;
+                   rdfs:label "fromReference"@en .
+
+
+###  http://digitalheraldry.org/digital-heraldry-ontology/heraldry#hasBlazonTerm
+dhoh:hasBlazonTerm rdf:type owl:DatatypeProperty ;
+                   rdfs:domain dhoh:BlazonTermDefinition ;
+                   rdfs:range rdfs:Literal ;
+                   rdfs:comment "DOCUMENTATION TO BE ADDED"@en ;
+                   rdfs:label "fromReference"@en .
+
+
 #################################################################
 #    Classes
 #################################################################
@@ -3543,8 +3553,4 @@ dhoh:blazonTerm rdfs:comment "DOCUMENTATION TO BE ADDED"@en ;
                 rdfs:label "blazonTerm"@en .
 
 
-dhoh:fromReference rdfs:comment "DOCUMENTATION TO BE ADDED"@en ;
-                   rdfs:label "fromReference"@en .
-
-
 ###  Generated by the OWL API (version 4.5.9.2019-02-01T07:24:44Z) https://github.com/owlcs/owlapi
-- 
GitLab