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

updated and developed examples

parent 4c52885c
Loading
Loading
Loading
Loading
Loading
+60 −0
Original line number Diff line number Diff line
@prefix : <https://saref.etsi.org/saref4auto/v2.1.1/example/Acceleration3d/> .
@prefix ex: <https://saref.etsi.org/saref4auto/v2.1.1/example/Acceleration3d/> .
@prefix om: <http://www.ontology-of-units-of-measure.org/resource/om-2/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix geosp: <http://www.opengis.net/ont/geosparql#> .
@prefix saref: <https://saref.etsi.org/core/> .
@prefix s4auto: <https://saref.etsi.org/saref4auto/> .
@prefix s4syst: <https://saref.etsi.org/saref4syst/> .
@prefix dctype: <http://purl.org/dc/dcmitype/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .


<https://saref.etsi.org/saref4auto/v2.1.1/example/Acceleration3d#> a dctype:Dataset ;
                                            dcterms:license <https://forge.etsi.org/etsi-software-license> ;
											dcterms:conformsTo <https://saref.etsi.org/saref4auto/v2.1.1/> ;
											dcterms:title "SAREF4AUTO example Acceleration3d"@en ;
											dcterms:description "SAREF4AUTO example Acceleration3d"@en .						

[] a s4auto:AutomotiveEntity ;
  saref:hasPropertyValue [
	saref:isValueOfProperty s4auto:AccelerationCartesian ;
	s4auto:isComposedOf [
		saref:isValueOfProperty s4auto:AccelerationCartesian_xAcceleration ;
		saref:hasValue 2.0 ;
		saref:isMeasuredIn om:metrePerSecond-TimeSquared 
	] , [
		saref:isValueOfProperty s4auto:AccelerationCartesian_yAcceleration ;
		saref:hasValue 0.0 ;
		saref:isMeasuredIn om:metrePerSecond-TimeSquared 
	] , [
		saref:isValueOfProperty s4auto:AccelerationCartesian_zAcceleration ;
		saref:hasValue 0.0 ;
		saref:isMeasuredIn om:metrePerSecond-TimeSquared 
	] 
  ] .
  
[] a s4auto:AutomotiveEntity ;
  saref:hasPropertyValue [
	saref:isValueOfProperty s4auto:AccelerationPolarWithZ ;
	s4auto:isComposedOf [
		saref:isValueOfProperty s4auto:AccelerationPolarWithZ_accelerationMagnitude ;
		saref:hasValue 2.0 ;
		saref:isMeasuredIn om:metrePerSecond-TimeSquared 
	] , [
		saref:isValueOfProperty s4auto:AccelerationPolarWithZ_accelerationDirection ;
		saref:hasValue 15.0 ;
		saref:isMeasuredIn om:degree 
	] , [
		saref:isValueOfProperty s4auto:AccelerationPolarWithZ_zAcceleration ;
		saref:hasValue 0.0 ;
		saref:isMeasuredIn om:metrePerSecond-TimeSquared 
	] 
  ] .
  
 No newline at end of file
+51 −0
Original line number Diff line number Diff line
@prefix : <https://saref.etsi.org/saref4auto/v2.1.1/example/AutomotiveDevice/> .
@prefix ex: <https://saref.etsi.org/saref4auto/v2.1.1/example/AutomotiveDevice/> .
@prefix om: <http://www.ontology-of-units-of-measure.org/resource/om-2/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix geosp: <http://www.opengis.net/ont/geosparql#> .
@prefix saref: <https://saref.etsi.org/core/> .
@prefix s4auto: <https://saref.etsi.org/saref4auto/> .
@prefix s4syst: <https://saref.etsi.org/saref4syst/> .
@prefix dctype: <http://purl.org/dc/dcmitype/> .
@prefix dcterms: <http://purl.org/dc/terms/> .


<https://saref.etsi.org/saref4auto/v2.1.1/example/AutomotiveDevice#> a dctype:Dataset ;
                                            dcterms:license <https://forge.etsi.org/etsi-software-license> ;
											dcterms:conformsTo <https://saref.etsi.org/saref4auto/v2.1.1/> ;
											dcterms:title "SAREF4AUTO example AutomotiveDevice"@en ;
											dcterms:description "SAREF4AUTO example AutomotiveDevice"@en .						

<bus> a saref:FeatureOfInterest , s4auto:Vehicle ;
  saref:hasFeatureKind s4auto:ConvertibleVehicle ;
  s4syst:hasSubSystem <obu> .

<obu> a saref:FeatureOfInterest , s4auto:AutomotiveDevice ;
  saref:hasFeatureKind s4auto:OnBoardUnit .

<animal> a saref:FeatureOfInterest , s4auto:VulnerableRoadUser ;
  saref:hasFeatureKind s4auto:VulnerableRoadUser_Animal_farm ;
  s4syst:hasSubSystem <mu> .

<mu> a saref:FeatureOfInterest , s4auto:AutomotiveDevice ;
  saref:hasFeatureKind s4auto:MobileUnit .

<RoadSideEquipment> a s4auto:RoadSideEquipment .

<RoadSideUnit> a s4auto:RoadSideUnit .

<RetractableBollard> a s4auto:AutomotiveEntity .

<RoadSideActuator> a s4auto:RoadSideActuator ;
  saref:controls <RetractableBollard> .

<TrafficLightController> a s4auto:TrafficLightController .

<RoadSideSensor> a s4auto:RoadSideSensor .

<TrafficManagementCentre> a s4auto:TrafficManagementCentre .
+25 −0
Original line number Diff line number Diff line
@prefix : <https://saref.etsi.org/saref4auto/v2.1.1/example/AutomotiveObject/> .
@prefix ex: <https://saref.etsi.org/saref4auto/v2.1.1/example/AutomotiveObject/> .
@prefix om: <http://www.ontology-of-units-of-measure.org/resource/om-2/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix geosp: <http://www.opengis.net/ont/geosparql#> .
@prefix saref: <https://saref.etsi.org/core/> .
@prefix s4auto: <https://saref.etsi.org/saref4auto/> .
@prefix s4syst: <https://saref.etsi.org/saref4syst/> .
@prefix dctype: <http://purl.org/dc/dcmitype/> .
@prefix dcterms: <http://purl.org/dc/terms/> .


<https://saref.etsi.org/saref4auto/v2.1.1/example/AutomotiveObject#> a dctype:Dataset ;
                                            dcterms:license <https://forge.etsi.org/etsi-software-license> ;
											dcterms:conformsTo <https://saref.etsi.org/saref4auto/v2.1.1/> ;
											dcterms:title "SAREF4AUTO example AutomotiveObject"@en ;
											dcterms:description "SAREF4AUTO example AutomotiveObject"@en .						

<object> a saref:FeatureOfInterest , s4auto:AutomotiveEntity ;
  saref:hasFeatureKind s4auto:AutomotiveObject_singleObject .

examples/Collision.ttl

0 → 100644
+34 −0
Original line number Diff line number Diff line
@prefix : <https://saref.etsi.org/saref4auto/v2.1.1/example/Collision/> .
@prefix ex: <https://saref.etsi.org/saref4auto/v2.1.1/example/Collision/> .
@prefix om: <http://www.ontology-of-units-of-measure.org/resource/om-2/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix geosp: <http://www.opengis.net/ont/geosparql#> .
@prefix saref: <https://saref.etsi.org/core/> .
@prefix s4auto: <https://saref.etsi.org/saref4auto/> .
@prefix s4syst: <https://saref.etsi.org/saref4syst/> .
@prefix dctype: <http://purl.org/dc/dcmitype/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .


<https://saref.etsi.org/saref4auto/v2.1.1/example/Collision#> a dctype:Dataset ;
                                            dcterms:license <https://forge.etsi.org/etsi-software-license> ;
											dcterms:conformsTo <https://saref.etsi.org/saref4auto/v2.1.1/> ;
											dcterms:title "SAREF4AUTO example Collision"@en ;
											dcterms:description "SAREF4AUTO example Collision"@en .						


[] a saref:Observation ;
  saref:madeBy <car1> ;
  saref:observes <car2> ;
  saref:observes s4auto:Collision ;
  saref:hasTimestamp "2024-07-12T14:42:00.000Z"^^xsd:dateTime ;
  saref:hasResult [ 
    saref:isValueOfProperty s4auto:Collision ;
    saref:hasValue true
  ]
 No newline at end of file
+37 −0
Original line number Diff line number Diff line
@prefix : <https://saref.etsi.org/saref4auto/v2.1.1/example/Confidence/> .
@prefix ex: <https://saref.etsi.org/saref4auto/v2.1.1/example/Confidence/> .
@prefix om: <http://www.ontology-of-units-of-measure.org/resource/om-2/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix geosp: <http://www.opengis.net/ont/geosparql#> .
@prefix saref: <https://saref.etsi.org/core/> .
@prefix s4auto: <https://saref.etsi.org/saref4auto/> .
@prefix s4syst: <https://saref.etsi.org/saref4syst/> .
@prefix dctype: <http://purl.org/dc/dcmitype/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .


<https://saref.etsi.org/saref4auto/v2.1.1/example/Confidence#> a dctype:Dataset ;
                                            dcterms:license <https://forge.etsi.org/etsi-software-license> ;
											dcterms:conformsTo <https://saref.etsi.org/saref4auto/v2.1.1/> ;
											dcterms:title "SAREF4AUTO example Confidence"@en ;
											dcterms:description "SAREF4AUTO example Confidence"@en .						

[] a saref:Observation ;
  saref:hasTimestamp "2020-04-15T11:45:24"^^xsd:dateTime ;
  saref:observes <Car1> ;
  saref:observes s4auto:VelocityCartesian ;
  saref:hasResult [ 
    s4auto:isComposedOf [
        saref:isValueOfProperty s4auto:VelocityCartesian_xVelocity ;
        saref:hasValue 100.0 ; 
        saref:isMeasuredIn om:kilometrePerHour ;
        s4auto:hasConfidenceValue [ 
            a s4auto:ConfidenceValueAt95 ; 
            saref:hasValue 3.0 ;
            saref:isMeasuredIn om:kilometrePerHour ] ] ] .
Loading