From 3a0d2c11f66cc883c5cb9fb717039c3615b52e38 Mon Sep 17 00:00:00 2001 From: Maxime Date: Thu, 30 May 2024 14:23:35 +0200 Subject: [PATCH] closes #30 --- ontology/saref4auto.ttl | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/ontology/saref4auto.ttl b/ontology/saref4auto.ttl index 767c666..49d389d 100644 --- a/ontology/saref4auto.ttl +++ b/ontology/saref4auto.ttl @@ -104,42 +104,46 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . rdfs:label "hasConfidence"@en . -### https://saref.etsi.org/saref4auto/hasEnvironment :hasEnvironment rdf:type owl:ObjectProperty ; - rdfs:comment "A relation that allows to describe the environment of a vehicle"@en ; - rdfs:label "hasEnvironment"@en . + rdfs:range :VehicleEnvironment ; + rdfs:comment "A relation that allows to describe the environment of a vehicle"@en ; + rdfs:label "has Environment"@en . ### https://saref.etsi.org/saref4auto/hasOpeningTimeAvailability :hasOpeningTimeAvailability rdf:type owl:ObjectProperty ; - rdfs:comment "A relation to express the opening time of parking spot"@en ; - rdfs:label "hasOpeningTimeAvailability"@en . + rdfs:range time:TemporalEntity ; + rdfs:comment "A relation to express the opening time of parking spot"@en ; + rdfs:label "hasOpeningTimeAvailability"@en . ### https://saref.etsi.org/saref4auto/hasPlatoonRole :hasPlatoonRole rdf:type owl:ObjectProperty ; - rdfs:subPropertyOf :hasRole ; - rdfs:comment "A relation to specify that in a platoon a vehicle can assume roles such as: unknown, leader, follower, ready-for-leading, trailing, etc."@en ; - rdfs:label "hasPlatoonRole"@en . + rdfs:subPropertyOf :hasRole ; + rdfs:range :PlatoonRole ; + rdfs:comment "A relation to specify that in a platoon a vehicle can assume roles such as: unknown, leader, follower, ready-for-leading, trailing, etc."@en ; + rdfs:label "hasPlatoonRole"@en . ### https://saref.etsi.org/saref4auto/hasRole :hasRole rdf:type owl:ObjectProperty ; - rdfs:range :Role ; - rdfs:comment "A general relation to express that an entity can have a role"@en ; - rdfs:label "hasRole"@en . + rdfs:range :Role ; + rdfs:comment "A general relation to express that an entity can have a role"@en ; + rdfs:label "hasRole"@en . ### https://saref.etsi.org/saref4auto/isConfidenceOf :isConfidenceOf rdf:type owl:ObjectProperty ; - rdfs:comment "A relation between the confidence (s4auto:Confidence class) of some entity (ex. an observation) and that entity"@en ; - rdfs:label "isConfidenceOf"@en . + rdfs:domain :Confidence ; + rdfs:comment "A relation between the confidence (s4auto:Confidence class) of some entity (ex. an observation) and that entity"@en ; + rdfs:label "isConfidenceOf"@en . ### https://saref.etsi.org/saref4auto/usesProperty :usesProperty rdf:type owl:ObjectProperty ; - rdfs:comment "A relation to express that a device can use different types of properties, such as speed, position of detected road objects (e.g., bicycles, vehicles). This applies in particular to the ElectronicControlUnit and TrafficLightController classes."@en ; - rdfs:label "usesProperty"@en . + rdfs:range :Property ; + rdfs:comment "A relation to express that a device can use different types of properties, such as speed, position of detected road objects (e.g., bicycles, vehicles). This applies in particular to the ElectronicControlUnit and TrafficLightController classes."@en ; + rdfs:label "usesProperty"@en . ################################################################# @@ -166,8 +170,9 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . ### https://saref.etsi.org/saref4auto/hasMaxSize :hasMaxSize rdf:type owl:DatatypeProperty ; - rdfs:comment "A relation to express the max size of a platoon. Note that it is defined as a datatype property as this is a fixed/static value of the platoon that does not change over time. In contrast, the current size of the platoon may change over time and is therefore defined as a property (see s4auto:PlatoonSize)."@en ; - rdfs:label "hasMaxSize"@en . + rdfs:range xsd:integer ; + rdfs:comment "A relation to express the max size of a platoon. Note that it is defined as a datatype property as this is a fixed/static value of the platoon that does not change over time. In contrast, the current size of the platoon may change over time and is therefore defined as a property (see s4auto:PlatoonSize)."@en ; + rdfs:label "hasMaxSize"@en . ################################################################# @@ -383,7 +388,7 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty . ] , [ rdf:type owl:Restriction ; owl:onProperty :hasMaxSize ; - owl:someValuesFrom xsd:int + owl:cardinality 1 ] ; rdfs:comment "A group of vehicles automatically following each other at a relatively close distance" ; rdfs:label "Platoon"@en . -- GitLab