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

closes #29, uses saref:hasIdentifier

parent 1c2b7a55
Loading
Loading
Loading
Loading
Loading
+18 −37
Original line number Diff line number Diff line
@@ -110,13 +110,6 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
                rdfs:label "hasEnvironment"@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:comment "A relation to express the opening time of parking spot"@en ;
@@ -293,16 +286,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 ;
@@ -332,8 +315,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 ;
@@ -375,8 +358,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 ;
@@ -599,13 +582,6 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
           rdfs:label "speed unit"@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 ;
@@ -620,13 +596,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 ,
@@ -665,8 +634,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 ;
@@ -1251,3 +1220,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 .