Example temperaturesensor
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/temperaturesensor/> .
@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/temperaturesensor#> 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 temperaturesensor"@en ;
dcterms:description "Example temperaturesensor"@en .
wgs84:lat a owl:DatatypeProperty .
wgs84:long a owl:DatatypeProperty .
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 ex:BuildingObject_window ;
# saref:hasSpaceType "Hotel room"^^xsd:string ;
.
ex:Comfort
rdf:type saref:Task ;
rdfs:label "Comfort"^^xsd:string ;
.
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:OffState
rdf:type saref:OffState ;
rdfs:label "OFF state"^^xsd:string ;
.
ex:OnState
rdf:type saref:OnState ;
rdfs:label "ON state"^^xsd:string ;
.
ex:SenseTemperature
rdf:type saref:Service ;
rdfs:label "Sense temperature"^^xsd:string ;
# saref:hasInputParameter ex:Temperature ;
# saref:hasOutputParameter ex:Temperature ;
saref:isOfferedBy ex:TemperatureSensor_TS2001 ;
saref:represents ex:SensingFunction ;
.
ex:SensingFunction
rdf:type saref:SensingFunction ;
rdfs:label "Sensing function"^^xsd:string ;
saref:hasCommand ex:GetSensingDataCommand ;
saref:hasSensorType ex:Temperature ;
.
ex:Temperature
rdf:type saref:Temperature ;
rdfs:label "Temperature"^^xsd:string ;
saref:hasValue "not applicable"^^xsd:string ;
.
ex:TemperatureSensor_TS2001
rdf:type saref:TemperatureSensor ;
rdfs:label "Temperature sensor TS2001"^^xsd:string ;
# saref:IsUsedFor ex:Temperature ;
saref:accomplishes ex:Comfort ;
# 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:SensingFunction ;
saref:hasManufacturer "manufacturer-efg"^^xsd:string ;
saref:hasModel "153899L"^^xsd:string ;
saref:hasState ex:OffState ;
saref:hasState ex:OnState ;
# saref:isLocatedIn ex:BuildingSpace_HotelRoom ;
saref:offers ex:SenseTemperature ;
.