Example of use for the SAREF extension for environment
Turtle
@prefix : <https://saref.etsi.org/saref4envi/v2.1.1/example/example1ENVI/> .
@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 saref: <https://saref.etsi.org/core/> .
@prefix s4envi: <https://saref.etsi.org/saref4envi/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix dctype: <http://purl.org/dc/dcmitype/> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix wurvoc: <http://www.wurvoc.org/vocabularies/om-1.8/> .
@prefix geo: <http://www.opengis.net/ont/geosparql#>.
@base <https://saref.etsi.org/saref4envi/v2.1.1/example/example1ENVI/> .
<https://saref.etsi.org/saref4envi/v2.1.1/example/example1ENVI#> a dctype:Dataset ;
dcterms:creator <http://purl.org/net/mpoveda> ,
<http://www.garcia-castro.com/foaf.rdf#me> ;
dcterms:license <https://forge.etsi.org/etsi-software-license> ;
dcterms:conformsTo <https://saref.etsi.org/saref4envi/v2.1.1/> ;
dcterms:title "Example of use for the SAREF extension for environment"@en ;
dcterms:description "Example of use for the SAREF extension for environment"@en .
#################################################################
# Properties
#################################################################
<PowerConsumption> a saref:Property .
geo:hasCentroid a owl:DatatypeProperty .
#################################################################
# Units of Measure
#################################################################
time:TemporalUnit a owl:Class .
time:unitSecond a time:TemporalUnit , saref:UnitOfMeasure .
wurvoc:reciprocal_second-time a saref:UnitOfMeasure .
wurvoc:watt a saref:UnitOfMeasure .
<mgPerarcsec2> a saref:UnitOfMeasure ;
rdfs:label "mgPerarcsec2"@en .
#################################################################
# Communication interfaces and communication protocols
#################################################################
<Bluetoothv2-1> a s4envi:CommunicationInterface ;
saref:hasVersion "v2.1" ;
rdfs:label "Bluetooth v2.1"@en .
<RS232v24> a s4envi:CommunicationInterface ;
saref:hasVersion "v24" ;
rdfs:label "RS232 v24"@en .
<Wi-Fiv802-11ah> a s4envi:CommunicationInterface ;
saref:hasVersion "802.11ah" ;
rdfs:label "Wi-Fi v802.11ah"@en .
<MQTT-Broker> a s4envi:CommunicationProtocol ;
rdfs:label "MQTT-Broker"@en .
#################################################################
# The TESS
#################################################################
<TESS005-UCM> a saref:Sensor ;
saref:hasFeatureKind s4envi:TESS ;
rdfs:label "stars5" ;
rdfs:label "TESS photometer stars5"@en ;
saref:hasManufacturer "Universidad Complutense de Madrid" ;
saref:hasVersion "v1" ;
saref:hasDeviceKind s4envi:TESS ;
saref:hasPropertyValue [
saref:isValueOfProperty s4envi:ObservationFrequency ;
saref:hasValue 10.0 ;
saref:isMeasuredIn wurvoc:reciprocal_second-time ;
] ,
[
saref:isValueOfProperty s4envi:TransmissionPeriod ;
saref:hasValue 30.0 ;
saref:isMeasuredIn time:unitSecond ;
] ,
[
saref:isValueOfProperty <PowerConsumption> ;
saref:hasValue 20.0 ;
saref:isMeasuredIn wurvoc:watt ;
] ;
saref:observes s4envi:LightMagnitude ;
s4envi:usesCommunicationInterface <Bluetoothv2-1> , <RS232v24> , <Wi-Fiv802-11ah> ;
s4envi:usesCommunicationProtocol <MQTT-Broker> ;
geo:hasCentroid "POINT( -3.7261 40.451 )"^^geo:wktLiteral .
#################################################################
# The Observations
#################################################################
<Observation2016-10-05T08%3A15%3A30TESS005-UCM> a saref:Observation ;
rdfs:label "Observation 2016-10-05T08:15:30 TESS005-UCM"@en ;
saref:observes s4envi:LightMagnitude ;
saref:hasTimestamp "2016-10-05T08:15:30"^^xsd:dateTime ;
saref:hasResult [
saref:isValueOfProperty s4envi:LightMagnitude ;
saref:hasValue 0.1 ;
saref:isMeasuredIn <mgPerarcsec2> ] .
<Observation2016-10-05T08%3A15%3A40TESS005-UCM> a saref:Observation ;
rdfs:label "Observation 2016-10-05T08:15:40 TESS005-UCM"@en ;
saref:observes s4envi:LightMagnitude ;
saref:hasTimestamp "2016-10-05T08:15:40"^^xsd:dateTime ;
saref:hasResult [
saref:isValueOfProperty s4envi:LightMagnitude ;
saref:hasValue 0.8 ;
saref:isMeasuredIn <mgPerarcsec2> ] .