Example smokesensor
Turtle
@prefix wgs84: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix saref: <https://saref.etsi.org/core/> .
@prefix ex: <https://saref.etsi.org/core/v3.1.1/example/smokesensor/> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dctype: <http://purl.org/dc/dcmitype/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
<https://saref.etsi.org/core/v3.1.1/example/smokesensor#> a dctype:Dataset ;
dcterms:license <https://forge.etsi.org/etsi-software-license> ;
dcterms:conformsTo <https://saref.etsi.org/core/v3.1.1/> ;
dcterms:title "Example smokesensor"@en ;
dcterms:description "Example smokesensor"@en .
wgs84:lat a owl:DatatypeProperty .
wgs84:long a owl:DatatypeProperty .
ex:Audio
rdf:type saref:Property ;
rdfs:label "Audio"^^xsd:string ;
saref:hasValue "70"^^xsd:string ;
saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.6/decibel> ;
.
ex:BuildingObject_Window
# rdf:type saref:Window ;
rdfs:label "Window"^^xsd:string ;
.
ex:BuildingSpace_HotelRoom
# rdf:type saref:BuildingSpace ;
rdfs:label "Hotel room"^^xsd:string ;
wgs84:lat "52.0705"^^xsd:string ;
wgs84:long "4.30070"^^xsd:string ;
# saref:contains <http://ontology.tno.nl/saref/tempsensor#BuildingObject_window> ;
# saref:hasSpaceType "Hotel room"^^xsd:string ;
.
ex:Comfort
rdf:type saref:Task ;
rdfs:label "Comfort"^^xsd:string ;
.
ex:EventFunction
rdf:type saref:EventFunction ;
rdfs:label "Event function"^^xsd:string ;
saref:hasCommand ex:NotifyCommand ;
# saref:hasThreshold ex:Smoke_threshold_value ;
.
ex:GetSensingDataCommand
rdf:type saref:GetCommand ;
rdfs:comment "The GetSensingDataCommand does not act upon any state, since it only gives a directive to retrieve a certain value."^^xsd:string ;
rdfs:label "Get sensing data command"^^xsd:string ;
saref:isCommandOf ex:SensingFunction ;
.
ex:NotifyCommand
rdf:type saref:NotifyCommand ;
rdfs:label "Notify command"^^xsd:string ;
saref:isCommandOf ex:EventFunction ;
.
ex:OffState
rdf:type saref:OffState ;
rdfs:label "OFF state"^^xsd:string ;
.
ex:OnState
rdf:type saref:OnState ;
rdfs:label "ON state"^^xsd:string ;
.
ex:SenseSmoke
rdf:type saref:Service ;
rdfs:label "Sense smoke"^^xsd:string ;
# saref:hasInputParameter ex:Smoke ;
# saref:hasOutputParameter ex:Smoke ;
saref:isOfferedBy ex:SmokeSensor_SS4001 ;
saref:represents ex:SensingFunction ;
.
ex:SensingFunction
rdf:type saref:SensingFunction ;
rdfs:label "Sensing function"^^xsd:string ;
saref:hasCommand ex:GetSensingDataCommand ;
saref:hasSensorType ex:Smoke ;
.
ex:Smoke
rdf:type saref:Smoke ;
rdfs:label "Smoke"^^xsd:string ;
.
ex:SmokeAlarm
rdf:type saref:Service ;
rdfs:label "Smoke alarm"^^xsd:string ;
# saref:hasInputParameter ex:Smoke ;
# saref:hasOutputParameter ex:Audio ;
saref:isOfferedBy ex:SmokeSensor_SS4001 ;
saref:represents ex:EventFunction ;
.
ex:SmokeSensor_SS4001
rdf:type saref:SmokeSensor ;
rdfs:label "Smoke sensor SS4001"^^xsd:string ;
# saref:IsUsedFor ex:Smoke ;
saref:accomplishes saref:Safety ;
# saref:hasCategory saref:Sensor ;
saref:hasDescription "Temperature sensor TS2001 is an example of how to instantiate a temperature sensor using SAREF"^^xsd:string ;
saref:hasFunction ex:EventFunction ;
saref:hasFunction ex:SensingFunction ;
saref:hasManufacturer "manufacturer-ccsd"^^xsd:string ;
saref:hasModel "SS-4001-ccsd-15"^^xsd:string ;
saref:hasState ex:OffState ;
saref:hasState ex:OnState ;
# saref:isLocatedIn ex:BuildingSpace_HotelRoom ;
saref:offers ex:SenseSmoke ;
saref:offers ex:SmokeAlarm ;
.
ex:SmokeUnit
rdf:type saref:UnitOfMeasure ;
rdfs:label "Smoke unit"^^xsd:string ;
.
ex:Smoke_threshold_value
rdf:type saref:Smoke ;
rdfs:label "Smoke threshold value"^^xsd:string ;
saref:hasValue "00000"^^xsd:string ;
saref:isMeasuredIn ex:SmokeUnit ;
.
ex:Temperature
rdf:type saref:Temperature ;
rdfs:label "Temperature"^^xsd:string ;
saref:hasValue "not applicable"^^xsd:string ;
.