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

Merge branch 'issue-29' into 'issue-27'

closes #29, uses saref:hasIdentifier

See merge request !20
parents 124efe19 82647fff
Loading
Loading
Loading
Loading
Loading
+41 −61
Original line number Diff line number Diff line
@@ -104,21 +104,15 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
               rdfs:label "hasConfidence"@en .


###  https://saref.etsi.org/saref4auto/hasEnvironment
:hasEnvironment rdf:type owl:ObjectProperty ;
  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/hasIdentifier
:hasIdentifier rdf:type owl:ObjectProperty ;
               rdfs:range :Identifier ;
               rdfs:comment "A relation between an entity and its identifier (s4auto:Identifier) which is used to identify 1) a vehicle (station) during data exchange with other devices/stations 2) a platoon during data exchange with other devices/stations, 3) a parking spot within a parking area during data exchange with other devices/stations. In all cases, this identifier may be a pseudonym. It may change over space and/or over time."@en ;
               rdfs:label "hasIdentifier"@en .


###  https://saref.etsi.org/saref4auto/hasOpeningTimeAvailability
:hasOpeningTimeAvailability rdf:type owl:ObjectProperty ;
  rdfs:range time:TemporalEntity ;
  rdfs:comment "A relation to express the opening time of parking spot"@en ;
  rdfs:label "hasOpeningTimeAvailability"@en .

@@ -126,6 +120,7 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
###  https://saref.etsi.org/saref4auto/hasPlatoonRole
:hasPlatoonRole rdf:type owl:ObjectProperty ;
  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 .

@@ -139,12 +134,14 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .

###  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
:usesProperty rdf:type owl:ObjectProperty ;
  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 .

@@ -165,14 +162,9 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
                    rdfs:label "hasDescriptionName"@en .


###  https://saref.etsi.org/saref4auto/hasIDValue
:hasIDValue rdf:type owl:DatatypeProperty ;
            rdfs:comment "A relationship to define the value of an indentifier"@en ;
            rdfs:label "hasIDValue"@en .


###  https://saref.etsi.org/saref4auto/hasMaxSize
:hasMaxSize rdf:type owl:DatatypeProperty ;
  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 .

@@ -286,16 +278,6 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
                       rdfs:label "ElectronicControlUnit"@en .


###  https://saref.etsi.org/saref4auto/Identifier
:Identifier rdf:type owl:Class ;
            rdfs:subClassOf [ rdf:type owl:Restriction ;
                              owl:onProperty :hasIDValue ;
                              owl:someValuesFrom xsd:string
                            ] ;
            rdfs:comment "A class used to identify 1)  a vehicle (station) during data exchange with other devices/stations 2) a platoon during data exchange with other devices/stations, 3)  a parking spot within a parking area during data exchange with other devices/stations. In all cases, this identifier may be a pseudonym. It may change over space and/or over time."@en ;
            rdfs:label "Identifier"@en .


###  https://saref.etsi.org/saref4auto/LargeObject
:LargeObject rdf:type owl:Class ;
             rdfs:subClassOf :CriticalObject ;
@@ -325,8 +307,8 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
                               owl:hasValue :Height
                             ] ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty :hasIdentifier ;
                               owl:someValuesFrom :Identifier
                               owl:onProperty saref:hasIdentifier ;
                               owl:minCardinality 1
                             ] ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty saref:hasProperty ;
@@ -368,8 +350,8 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
                           owl:hasValue :Destination
                         ] ,
                         [ rdf:type owl:Restriction ;
                           owl:onProperty :hasIdentifier ;
                           owl:someValuesFrom :Identifier
                           owl:onProperty saref:hasIdentifier ;
                           owl:minCardinality 1
                         ] ,
                         [ rdf:type owl:Restriction ;
                           owl:onProperty saref:hasProperty ;
@@ -393,7 +375,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 .
@@ -585,13 +567,6 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
                 rdfs:label "SpeedConfidence"@en .


###  https://saref.etsi.org/saref4auto/StationID
:StationID rdf:type owl:Class ;
           rdfs:subClassOf :Identifier ;
           rdfs:comment "A type of identifier for vehicles and platoons, as defined in ETSI TS 102 894-2."@en ;
           rdfs:label "StationID"@en .


###  https://saref.etsi.org/saref4auto/TrafficLightController
:TrafficLightController rdf:type owl:Class ;
                        rdfs:subClassOf :RoadSideActuator ;
@@ -606,13 +581,6 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
                         rdfs:label "TrafficManagementCentre"@en .


###  https://saref.etsi.org/saref4auto/UUID
:UUID rdf:type owl:Class ;
      rdfs:subClassOf :Identifier ;
      rdfs:comment "A universally unique identifier (UUID) is a 128-bit number used to identify items and is also known as: globally unique identifier (GUID). In its canonical textual representation, the sixteen octets of a UUID are represented as 32 hexadecimal (base 16) digits, displayed in five groups separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters (32 alphanumeric characters and four hyphens). UUID are documented in ISO/IEC 11578:1996 \"Information technology – Open Systems Interconnection – Remote Procedure Call (RPC)\" and in ITU-T Rec. X.667 ISO/IEC 9834-8:2005."@en ;
      rdfs:label "UUID"@en .


###  https://saref.etsi.org/saref4auto/Vehicle
:Vehicle rdf:type owl:Class ;
         rdfs:subClassOf saref:FeatureOfInterest ,
@@ -651,8 +619,8 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
                           owl:hasValue :Height
                         ] ,
                         [ rdf:type owl:Restriction ;
                           owl:onProperty :hasIdentifier ;
                           owl:someValuesFrom :Identifier
                           owl:onProperty saref:hasIdentifier ;
                           owl:minCardinality 1
                         ] ,
                         [ rdf:type owl:Restriction ;
                           owl:onProperty saref:hasProperty ;
@@ -1237,3 +1205,15 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
  rdfs:subClassOf saref:State ;
  rdfs:comment "The state of shape of an entity: i.e., Sphere, Torus, Cylinder, Cone, Ellipsoid, Cube, Cuboid, Pyramid, Prism, Multiple shapes"@en ;
  rdfs:label "Shape"@en .

### SAREF Pattern for identifiers

:hasStationID rdf:type owl:DatatypeProperty ;
  rdfs:subPropertyOf saref:hasIdentifier ;
  rdfs:comment "Links vehicles and platoons to their identifier as defined in ETSI TS 102 894-2."@en ;
  rdfs:label "has Station ID"@en .

:hasUUID rdf:type owl:DatatypeProperty ;
  rdfs:subPropertyOf saref:hasIdentifier ;
  rdfs:comment "A universally unique identifier (UUID) is a 128-bit number used to identify items and is also known as: globally unique identifier (GUID). In its canonical textual representation, the sixteen octets of a UUID are represented as 32 hexadecimal (base 16) digits, displayed in five groups separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters (32 alphanumeric characters and four hyphens). UUID are documented in ISO/IEC 11578:1996 \"Information technology – Open Systems Interconnection – Remote Procedure Call (RPC)\" and in ITU-T Rec. X.667 ISO/IEC 9834-8:2005."@en ;
  rdfs:label "has UUID"@en .