Unverified Commit e34c0989 authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

closes #22, simplify modeling of confidence level on observations

parent e380321d
Loading
Loading
Loading
Loading
Loading
+5 −69
Original line number Original line Diff line number Diff line
@@ -77,12 +77,6 @@ vann:preferredNamespacePrefix rdf:type owl:AnnotationProperty .
vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .




###  https://saref.etsi.org/saref4auto/hasConfidenceUnitOfMeasure
:hasConfidenceUnitOfMeasure rdf:type owl:ObjectProperty ;
                                 rdfs:comment "A relation that allows to specify the unit of measure associated with a certain confidence"@en ;
                                 rdfs:label "has confidence unit of measure"@en .


###  https://saref.etsi.org/saref4auto/hasAutomationLevel
###  https://saref.etsi.org/saref4auto/hasAutomationLevel
:hasAutomationLevel rdf:type owl:ObjectProperty ;
:hasAutomationLevel rdf:type owl:ObjectProperty ;
                    rdfs:comment """A relation to define the level of automation of a singular vehicle. According to SAE J3016, there are five levels of automation:
                    rdfs:comment """A relation to define the level of automation of a singular vehicle. According to SAE J3016, there are five levels of automation:
@@ -96,14 +90,6 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
                    rdfs:label "hasAutomationLevel"@en .
                    rdfs:label "hasAutomationLevel"@en .




###  https://saref.etsi.org/saref4auto/hasConfidence
:hasConfidence rdf:type owl:ObjectProperty ;
               owl:inverseOf :isConfidenceOf ;
               rdfs:range :Confidence ;
               rdfs:comment "A relation between some entity (ex. an observation) and its confidence (s4auto:Confidence)"@en ;
               rdfs:label "hasConfidence"@en .


:hasEnvironment rdf:type owl:ObjectProperty ;
:hasEnvironment rdf:type owl:ObjectProperty ;
  rdfs:range :VehicleEnvironment ;
  rdfs:range :VehicleEnvironment ;
  rdfs:comment "A relation that allows to describe the environment of a vehicle"@en ;
  rdfs:comment "A relation that allows to describe the environment of a vehicle"@en ;
@@ -132,13 +118,6 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
  rdfs:label "hasRole"@en .
  rdfs:label "hasRole"@en .




###  https://saref.etsi.org/saref4auto/isConfidenceOf
:isConfidenceOf rdf:type owl:ObjectProperty ;
  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
###  https://saref.etsi.org/saref4auto/usesProperty
:usesProperty rdf:type owl:ObjectProperty ;
:usesProperty rdf:type owl:ObjectProperty ;
  rdfs:range :Property ;
  rdfs:range :Property ;
@@ -150,10 +129,11 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
#    Data properties
#    Data properties
#################################################################
#################################################################


###  https://saref.etsi.org/saref4auto/hasConfidenceValue
:hasConfidenceLevel rdf:type owl:DatatypeProperty ;
:hasConfidenceValue rdf:type owl:DatatypeProperty ;
  rdfs:domain saref:Observation ;
                    rdfs:comment "A relation between the confidence (s4auto:Confidence) and its value, which can be a discrete value (+/- 5 cm/s) or a level (e.g. 95 %)"@en ;
  rdfs:range xsd:decimal ;
                    rdfs:label "hasConfidenceValue"@en .
  rdfs:comment "Associates a confidence level (a decimal value between 0 and 1) to an observation result, stating that the actual value of the property is estimated to be inside the result value."@en ;
  rdfs:label "has Confidence Level"@en .




###  https://saref.etsi.org/saref4auto/hasDescriptionName
###  https://saref.etsi.org/saref4auto/hasDescriptionName
@@ -174,18 +154,6 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
#################################################################
#################################################################





###  https://saref.etsi.org/saref4auto/AccelerationConfidence
:AccelerationConfidence rdf:type owl:Class ;
                        rdfs:subClassOf :Confidence ,
                                        [ rdf:type owl:Restriction ;
                                          owl:onProperty :hasConfidenceValue ;
                                          owl:someValuesFrom xsd:float
                                        ] ;
                        rdfs:comment "A type of confidence for acceleration observations that represents the absolute accuracy of a reported vehicle acceleration value with a predefined confidence level (e.g. 95 %)"@en ;
                        rdfs:label "AccelerationConfidence"@en .


###  https://saref.etsi.org/saref4auto/AutomationLevel
###  https://saref.etsi.org/saref4auto/AutomationLevel
:AutomationLevel rdf:type owl:Class ;
:AutomationLevel rdf:type owl:Class ;
                 rdfs:comment "The level of automation a platoon of vehicles or a singular vehicle"@en ;
                 rdfs:comment "The level of automation a platoon of vehicles or a singular vehicle"@en ;
@@ -198,20 +166,6 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
                  rdfs:label "AutomotiveObject"@en .
                  rdfs:label "AutomotiveObject"@en .




###  https://saref.etsi.org/saref4auto/Confidence
:Confidence rdf:type owl:Class ;
            rdfs:subClassOf [ rdf:type owl:Restriction ;
                              owl:onProperty :hasConfidenceUnitOfMeasure ;
                              owl:someValuesFrom saref:UnitOfMeasure
                            ] ,
                            [ rdf:type owl:Restriction ;
                              owl:onProperty :hasConfidenceValue ;
                              owl:someValuesFrom xsd:float
                            ] ;
            rdfs:comment "Every observation in the automotive domain is an estimated observation coming from the aggregation of several observations from different sensor or devices taken at the same time or at consecutive times very close to each other. Therefore, a confidence is always associated to each mesurement to indicate that it has not 100% accuracy."@en ;
            rdfs:label "Confidence"@en .


###  https://saref.etsi.org/saref4auto/CriticalObject
###  https://saref.etsi.org/saref4auto/CriticalObject
:CriticalObject rdf:type owl:Class ;
:CriticalObject rdf:type owl:Class ;
                rdfs:subClassOf owl:Thing ,
                rdfs:subClassOf owl:Thing ,
@@ -395,13 +349,6 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
             rdfs:label "PlatoonRole"@en .
             rdfs:label "PlatoonRole"@en .




###  https://saref.etsi.org/saref4auto/PositionConfidenceEllipse
:PositionConfidenceEllipse rdf:type owl:Class ;
                           rdfs:subClassOf :Confidence ;
                           rdfs:comment "A type of confidence that represents horizontal position accuracy in a shape of ellipse with a predefined confidence level (e.g. 95 %). The centre of the ellipse shape corresponds to the reference position point for which the position accuracy is evaluated."@en ;
                           rdfs:label "PositionConfidenceEllipse"@en .


###  https://saref.etsi.org/saref4auto/RegularParkingSpot
###  https://saref.etsi.org/saref4auto/RegularParkingSpot
:RegularParkingSpot rdf:type owl:Class ;
:RegularParkingSpot rdf:type owl:Class ;
                    rdfs:subClassOf :ParkingSpot ;
                    rdfs:subClassOf :ParkingSpot ;
@@ -556,17 +503,6 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
                          rdfs:label "SpecialPermitParkingSpot"@en .
                          rdfs:label "SpecialPermitParkingSpot"@en .




###  https://saref.etsi.org/saref4auto/SpeedConfidence
:SpeedConfidence rdf:type owl:Class ;
                 rdfs:subClassOf :Confidence ,
                                 [ rdf:type owl:Restriction ;
                                   owl:onProperty :hasConfidenceValue ;
                                   owl:someValuesFrom xsd:int
                                 ] ;
                 rdfs:comment "A type of confidence for speed measurements that represents absolute accuracy of a speed value in cm/s"@en ;
                 rdfs:label "SpeedConfidence"@en .


###  https://saref.etsi.org/saref4auto/TrafficLightController
###  https://saref.etsi.org/saref4auto/TrafficLightController
:TrafficLightController rdf:type owl:Class ;
:TrafficLightController rdf:type owl:Class ;
                        rdfs:subClassOf :RoadSideActuator ;
                        rdfs:subClassOf :RoadSideActuator ;