From 1589c6d0027f4607743fe725e47ca816fd457159 Mon Sep 17 00:00:00 2001
From: David Gnabasik <david.gnabasik@emse.fr>
Date: Fri, 26 Jan 2024 09:18:31 +0000
Subject: [PATCH] issue-16 changes.

---
 ontology/saref4auto.ttl | 146 +++++++++++++++++++++++++++++++++++++---
 1 file changed, 135 insertions(+), 11 deletions(-)

diff --git a/ontology/saref4auto.ttl b/ontology/saref4auto.ttl
index e1397c4..429047b 100644
--- a/ontology/saref4auto.ttl
+++ b/ontology/saref4auto.ttl
@@ -892,7 +892,11 @@ saref:UnitOfMeasure rdf:type owl:Class ;
 
 ###  https://saref.etsi.org/saref4auto/Acceleration
 :Acceleration rdf:type owl:Class ;
-              rdfs:subClassOf saref:Property ;
+              rdfs:subClassOf saref:Property ,
+              [ a owl:Restriction ;
+                owl:onProperty saref:hasPropertyOfInterest ;
+                owl:allValuesFrom :acceleration
+              ] ;
               rdfs:comment "A Property of interest for the automotive domain"@en ;
               rdfs:label "Acceleration"@en .
 
@@ -956,7 +960,11 @@ saref:UnitOfMeasure rdf:type owl:Class ;
 
 ###  https://saref.etsi.org/saref4auto/BrakeCapacity
 :BrakeCapacity rdf:type owl:Class ;
-               rdfs:subClassOf saref:Property ;
+               rdfs:subClassOf saref:Property ,
+               [ a owl:Restriction ;
+                owl:onProperty saref:hasPropertyOfInterest ;
+                owl:allValuesFrom :brakeCapacity
+               ] ;
                rdfs:comment "A Property of interest for the automotive domain"@en ;
                rdfs:label "BrakeCapacity"@en .
 
@@ -1129,7 +1137,11 @@ saref:UnitOfMeasure rdf:type owl:Class ;
 
 ###  https://saref.etsi.org/saref4auto/Heading
 :Heading rdf:type owl:Class ;
-         rdfs:subClassOf saref:Property ;
+         rdfs:subClassOf saref:Property ,
+          [ a owl:Restriction ;
+            owl:onProperty saref:hasPropertyOfInterest ;
+            owl:allValuesFrom :heading
+          ] ;
          rdfs:comment "A Property of interest for the automotive domain"@en ;
          rdfs:label "Heading"@en .
 
@@ -1143,7 +1155,11 @@ saref:UnitOfMeasure rdf:type owl:Class ;
 
 ###  https://saref.etsi.org/saref4auto/Height
 :Height rdf:type owl:Class ;
-        rdfs:subClassOf saref:Property ;
+        rdfs:subClassOf saref:Property ,
+        [ a owl:Restriction ;
+          owl:onProperty saref:hasPropertyOfInterest ;
+          owl:allValuesFrom :height
+        ] ;
         rdfs:comment "A Property of interest for the automotive domain"@en ;
         rdfs:label "Height"@en .
 
@@ -1181,7 +1197,11 @@ saref:UnitOfMeasure rdf:type owl:Class ;
 
 ###  https://saref.etsi.org/saref4auto/Length
 :Length rdf:type owl:Class ;
-        rdfs:subClassOf saref:Property ;
+        rdfs:subClassOf saref:Property ,
+        [ a owl:Restriction ;
+          owl:onProperty saref:hasPropertyOfInterest ;
+          owl:allValuesFrom :length
+        ] ;
         rdfs:comment "A Property of interest for the automotive domain"@en ,
                      "In a platoon, a property to express that a platoon has a size. This size is defined as 1) the total number of vehicles currently in the platoon (see s4auto:Size class); or 2) Length of the platoon (sum of all vehicles' length + inter-vehicle distance)"@en ;
         rdfs:label "Length"@en .
@@ -1217,7 +1237,11 @@ saref:UnitOfMeasure rdf:type owl:Class ;
 
 ###  https://saref.etsi.org/saref4auto/Movement
 :Movement rdf:type owl:Class ;
-          rdfs:subClassOf saref:Property ;
+          rdfs:subClassOf saref:Property ,
+          [ a owl:Restriction ;
+            owl:onProperty saref:hasPropertyOfInterest ;
+            owl:allValuesFrom :movement
+          ] ;
           rdfs:comment "A Property of interest for the automotive domain. Relevant types of movement are: Static (position only), moving in same direction (speed, acceleration), moving in reverse direction (speed acceleration), crossing (speed, acceleration, direction)"@en ;
           rdfs:label "Movement"@en .
 
@@ -1684,14 +1708,22 @@ saref:UnitOfMeasure rdf:type owl:Class ;
 
 ###  https://saref.etsi.org/saref4auto/Shape
 :Shape rdf:type owl:Class ;
-       rdfs:subClassOf saref:Property ;
+       rdfs:subClassOf saref:Property ,
+        [ a owl:Restriction ;
+          owl:onProperty saref:hasPropertyOfInterest ;
+          owl:allValuesFrom :shape
+        ] ;
        rdfs:comment "A Property of interest for the automotive domain. It defines the overall shape of an entity: i.e., Sphere, Torus, Cylinder, Cone, Ellipsoid, Cube, Cuboid, Pyramid, Prism, Multiple shapes"@en ;
        rdfs:label "Shape"@en .
 
 
 ###  https://saref.etsi.org/saref4auto/Size
 :Size rdf:type owl:Class ;
-      rdfs:subClassOf saref:Property ;
+      rdfs:subClassOf saref:Property ,
+      [ a owl:Restriction ;
+        owl:onProperty saref:hasPropertyOfInterest ;
+        owl:allValuesFrom :size
+      ] ;
       rdfs:comment "A Property of interest for the automotive domain. A platoon has a size. Tis size is defined as 1) the total number of vehicles currently in the platoon; or 2) Length of the platoon (sum of all vehicles' length + inter-vehicle distance)"@en ;
       rdfs:label "Size"@en .
 
@@ -1712,7 +1744,11 @@ saref:UnitOfMeasure rdf:type owl:Class ;
 
 ###  https://saref.etsi.org/saref4auto/Speed
 :Speed rdf:type owl:Class ;
-       rdfs:subClassOf saref:Property ;
+       rdfs:subClassOf saref:Property ,
+        [ a owl:Restriction ;
+          owl:onProperty saref:hasPropertyOfInterest ;
+          owl:allValuesFrom :speed
+        ] ;
        rdfs:comment "A Property of interest for the automotive domain"@en ;
        rdfs:label "Speed"@en .
 
@@ -1978,14 +2014,22 @@ saref:UnitOfMeasure rdf:type owl:Class ;
 
 ###  https://saref.etsi.org/saref4auto/Weight
 :Weight rdf:type owl:Class ;
-        rdfs:subClassOf saref:Property ;
+        rdfs:subClassOf saref:Property ,
+        [ a owl:Restriction ;
+          owl:onProperty saref:hasPropertyOfInterest ;
+          owl:allValuesFrom :weight
+        ] ;
         rdfs:comment "A Property of interest for the automotive domain"@en ;
         rdfs:label "Weight"@en .
 
 
 ###  https://saref.etsi.org/saref4auto/Width
 :Width rdf:type owl:Class ;
-       rdfs:subClassOf saref:Property ;
+       rdfs:subClassOf saref:Property ,
+        [ a owl:Restriction ;
+          owl:onProperty saref:hasPropertyOfInterest ;
+          owl:allValuesFrom :width
+        ] ;
        rdfs:comment "A Property of interest for the automotive domain"@en ;
        rdfs:label "Width"@en .
 
@@ -2011,6 +2055,86 @@ s4syst:System rdf:type owl:Class ;
               rdfs:label "System"@en .
 
 
+##########################
+
+### https://saref.etsi.org/saref4auto/acceleration
+:acceleration a saref:PropertyOfInterest ;
+    saref:isPropertyOfInterestOf :Vehicle ;
+    saref:hasPropertyKind :Acceleration ;
+    rdfs:label "acceleration"@en ;
+    rdfs:comment "The acceleration of an automotive object."@en .
+
+### https://saref.etsi.org/saref4auto/brakeCapacity
+:brakeCapacity a saref:PropertyOfInterest ;
+    saref:isPropertyOfInterestOf :Vehicle ;
+    saref:hasPropertyKind :BrakeCapacity ;
+    rdfs:label "brakeCapacity"@en ;
+    rdfs:comment "The brakeCapacity of an automotive object."@en .
+
+### https://saref.etsi.org/saref4auto/heading
+:heading a saref:PropertyOfInterest ;
+    saref:isPropertyOfInterestOf :Vehicle ;
+    saref:hasPropertyKind :Heading ;
+    rdfs:label "heading"@en ;
+    rdfs:comment "The heading of an automotive object."@en .
+
+### https://saref.etsi.org/saref4auto/height
+:height a saref:PropertyOfInterest ;
+    saref:isPropertyOfInterestOf :Vehicle ;
+    saref:hasPropertyKind :Height ;
+    rdfs:label "height"@en ;
+    rdfs:comment "The height of an automotive object."@en .
+
+### https://saref.etsi.org/saref4auto/length
+:length a saref:PropertyOfInterest ;
+    saref:isPropertyOfInterestOf :Vehicle ;
+    saref:hasPropertyKind :Length ;
+    rdfs:label "length"@en ;
+    rdfs:comment "The length of an automotive object."@en .
+
+### https://saref.etsi.org/saref4auto/movement
+:movement a saref:PropertyOfInterest ;
+    saref:isPropertyOfInterestOf :Vehicle ;
+    saref:hasPropertyKind :Movement ;
+    rdfs:label "movement"@en ;
+    rdfs:comment "The movement of an automotive object."@en .
+
+### https://saref.etsi.org/saref4auto/shape
+:shape a saref:PropertyOfInterest ;
+    saref:isPropertyOfInterestOf :Vehicle ;
+    saref:hasPropertyKind :Shape ;
+    rdfs:label "shape"@en ;
+    rdfs:comment "The shape of an automotive object."@en .
+
+### https://saref.etsi.org/saref4auto/size
+:size a saref:PropertyOfInterest ;
+    saref:isPropertyOfInterestOf :Vehicle ;
+    saref:hasPropertyKind :Size ;
+    rdfs:label "size"@en ;
+    rdfs:comment "The size of an automotive object."@en .
+
+### https://saref.etsi.org/saref4auto/speed
+:speed a saref:PropertyOfInterest ;
+    saref:isPropertyOfInterestOf :Vehicle ;
+    saref:hasPropertyKind :Speed ;
+    rdfs:label "speed"@en ;
+    rdfs:comment "The speed of an automotive object."@en .
+
+### https://saref.etsi.org/saref4auto/weight
+:weight a saref:PropertyOfInterest ;
+    saref:isPropertyOfInterestOf :Vehicle ;
+    saref:hasPropertyKind :Weight ;
+    rdfs:label "weight"@en ;
+    rdfs:comment "The weight of an automotive object."@en .
+
+### https://saref.etsi.org/saref4auto/width
+:width a saref:PropertyOfInterest ;
+    saref:isPropertyOfInterestOf :Vehicle ;
+    saref:hasPropertyKind :Width ;
+    rdfs:label "width"@en ;
+    rdfs:comment "The width of an automotive object."@en .
+
+
 #################################################################
 #    Individuals
 #################################################################
-- 
GitLab