From e316be85a89be49f21ffaf2c21946f61898e6a79 Mon Sep 17 00:00:00 2001
From: Moritz Jordan <moritz.jordan@ptb.de>
Date: Tue, 17 Jun 2025 12:56:46 +0200
Subject: [PATCH] Fix: xs:string -> xs:double, IRI

---
 SI_Format.ttl | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/SI_Format.ttl b/SI_Format.ttl
index e398704..e986365 100644
--- a/SI_Format.ttl
+++ b/SI_Format.ttl
@@ -1,4 +1,4 @@
-@prefix : <https://ptb.de/si#> .
+@prefix : <https://ptb.de/si/SI_Format.ttl> .
 @prefix dsio:       <https://ptb.de/si#> .
 @prefix owl:        <http://www.w3.org/2002/07/owl#> .
 @prefix rdf:        <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@@ -22,17 +22,17 @@
 @prefix prefixes:   <http://si-digital-framework.org/SI/prefixes/> .
 @prefix constants:  <http://si-digital-framework.org/constants/> .
 @prefix quantities: <http://si-digital-framework.org/quantities/> .
-@base <https://ptb.de/si> .
+@base <https://ptb.de/si/SI_Format.ttl> .
 
-<https://ptb.de/si> rdf:type owl:Ontology ;
+<https://ptb.de/si/SI_Format.ttl> rdf:type owl:Ontology ;
                      vann:preferredNamespaceUri    "https://ptb.de/si#" ;
     vann:preferredNamespacePrefix "dsio" ;
     rdfs:label                    "DSI Ontology"@en , "D-SI-Ontologie"@de ;
     dcterms:title                 "DSI Ontology"@en , "D-SI-Ontologie"@de ;
-    dcterms:abstract              "Ontology for the DSI domain derived from the DSI XML Schema" ;
+    dcterms:abstract              "Ontology presenting the schema for metrologically correct representation of quantity values including numerical value, kind of quantity, measurement unit and uncertainty declaration." ;
     # bibo:status
     owl:versionInfo               "v2.2.1" ;
-    owl:versionIRI                <https://ptb.de/si/v2.2.1/> ;
+    owl:versionIRI                <https://ptb.de/si/v2.2.1/SI_Format.ttl> ;
     # dcterms:replaces
     # dcterms:created
     # dcterms:modified
@@ -80,7 +80,7 @@ ror:05r3f7h03       a foaf:Organization ; foaf:name "Physikalisch-Technische Bun
 ###  https://ptb.de/si#decimal
 dsio:decimal rdf:type rdfs:Datatype ;
              rdfs:comment """Scientific decimal format for numerical values. Based on type xs:double."""@en ,
-                          """The related type in the XML serialization is a xs:string restricted by the following regular expression:
+                          """The related type in the XML serialization is a xs:double restricted by the following regular expression:
                              \"[-+]?((\\d*\\.\\d+)|(\\d+\\.\\d*)|(\\d+\\.?))([Ee][-+]?\\d+)?|NaN\"
                           """@en ;
              skos:closeMatch "https://ptb.de/si/decimalType" ;
@@ -92,7 +92,7 @@ dsio:decimal rdf:type rdfs:Datatype ;
 ###  https://ptb.de/si#intervalMax
 dsio:intervalMax rdf:type rdfs:Datatype ;
                  rdfs:comment """Scientific decimal format for numerical values. Based on type xs:double."""@en ,
-                              """The related type in the XML serialization is a xs:string restricted by the following regular expression:
+                              """The related type in the XML serialization is a xs:double restricted by the following regular expression:
                                  \"[-+]?((\\d*\\.\\d+)|(\\d+\\.\\d*)|(\\d+\\.?))([Ee][-+]?\\d+)?|NaN\"
                               """@en ;
                  skos:closeMatch "https://ptb.de/si/intervalMaxType" ;
@@ -104,7 +104,7 @@ dsio:intervalMax rdf:type rdfs:Datatype ;
 ###  https://ptb.de/si#intervalMin
 dsio:intervalMin rdf:type rdfs:Datatype ;
                  rdfs:comment """Scientific decimal format for numerical values. Based on type xs:double."""@en ,
-                              """The related type in the XML serialization is a xs:string restricted by the following regular expression:
+                              """The related type in the XML serialization is a xs:double restricted by the following regular expression:
                                  \"[-+]?((\\d*\\.\\d+)|(\\d+\\.\\d*)|(\\d+\\.?))([Ee][-+]?\\d+)?|NaN\"
                               """@en ;
                  skos:closeMatch "https://ptb.de/si/intervalMinType" ;
@@ -117,7 +117,7 @@ dsio:intervalMin rdf:type rdfs:Datatype ;
 dsio:kValue rdf:type rdfs:Datatype ;
             rdfs:comment """Scientific decimal format for coverage factor values for uncertainties
                             that must be greater than one or equal to one. Based on type xs:double."""@en ,
-                         """The related type in the XML serialization is a xs:string restricted by the following regular expression:
+                         """The related type in the XML serialization is a xs:double restricted by the following regular expression:
                             \"\\+?(([1-9]\\d*\\.\\d*)|([1-9]\\d*))|NaN\"
                          """@en ;
             skos:closeMatch "https://ptb.de/si/kValueType" ;
@@ -134,7 +134,7 @@ dsio:probabilityValue rdf:type rdfs:Datatype ;
                       rdfs:comment """Decimal format for coverage probability values for uncertainties. 
                                       The value must be within the interval [0,1].
                                       The scientific exponent \"e\" (or \"E\") is not allowed. Based on type xs:double."""@en ,
-                                   """The related type in the XML serialization is a xs:string restricted by the following regular expression:
+                                   """The related type in the XML serialization is a xs:double restricted by the following regular expression:
                                       \"\\+?((0(\\.\\d*)?)|(1(\\.0*)?))|NaN\"
                                    """@en ;
                       skos:exactMatch "https://ptb.de/si/probabilityValueType" ;
@@ -158,7 +158,7 @@ dsio:significantDigit rdf:type rdfs:Datatype ;
 
 
 ###  https://ptb.de/si#unit
-dsio:unit rdf:type rdfs:Datatype ;
+dsio:unitIdentifier rdf:type rdfs:Datatype ;
           rdfs:comment """Unit associated to a quantity, expressed as a xs:string.
                           Allowed values are chosen from the BIPM SI brochure (9th edition).
                           The recommended syntax is defined in the SmartCom-D-SI brochure
@@ -191,7 +191,7 @@ dsio:unitPhase rdf:type rdfs:Datatype ;
 dsio:valueExpandedMU rdf:type rdfs:Datatype ;
                      rdfs:comment """Scientific decimal format for numerical values of expanded measurement uncertainty
                                      that must be positive (greater than zero or equal to zero). Based on type xs:double."""@en ,
-                                  """The related type in the XML serialization is a xs:string restricted by the following regular expression:
+                                  """The related type in the XML serialization is a xs:double restricted by the following regular expression:
                                      \"\\+?((\\d*\\.\\d+)|(\\d+\\.\\d*)|(\\d+\\.?))([Ee][-+]?\\d+)?|NaN\"
                                   """@en ;
                      skos:closeMatch "https://ptb.de/si/valueExpandedMUType" ;
@@ -208,7 +208,7 @@ dsio:valueExpandedMU rdf:type rdfs:Datatype ;
 dsio:valueStandardMU rdf:type rdfs:Datatype ;
                      rdfs:comment """Scientific decimal format for numerical values of standard measurement uncertainty
                                      that must be positive (greater than zero or equal to zero). Based on type xs:double."""@en ,
-                                  """The related type in the XML serialization is a xs:string restricted by the following regular expression:
+                                  """The related type in the XML serialization is a xs:double restricted by the following regular expression:
                                      \"\\+?((\\d*\\.\\d+)|(\\d+\\.\\d*)|(\\d+\\.?))([Ee][-+]?\\d+)?|NaN\"
                                   """@en ;
                      skos:closeMatch "https://ptb.de/si/valueStandardMUType" ;
-- 
GitLab