Loading .saref-repositories.yml +1 −1 Original line number Diff line number Diff line labs.etsi.org/rep/: repos: - saref/saref-core - saref/saref4ener - saref/saref4syst examples/example1ENVI.ttl +92 −120 Original line number Diff line number Diff line Loading @@ -6,10 +6,8 @@ @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 s4ener: <https://saref.etsi.org/saref4ener/> . @prefix dcterms: <http://purl.org/dc/terms/> . @prefix dctype: <http://purl.org/dc/dcmitype/> . @prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> . @prefix time: <http://www.w3.org/2006/time#> . @prefix wurvoc: <http://www.wurvoc.org/vocabularies/om-1.8/> . @base <https://saref.etsi.org/saref4envi/v1.1.2/example/example1ENVI/> . Loading @@ -18,125 +16,99 @@ 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/v1.1.2/> ; dcterms:conformsTo <https://saref.etsi.org/saref4ener/v1.1.2/> ; 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 . geo:lat a owl:DatatypeProperty . geo:long a owl:DatatypeProperty . ################################################################# # Properties ################################################################# :Bluetoothv2-1 rdf:type owl:NamedIndividual , s4envi:CommunicationInterface ; s4envi:hasVersion "v2.1"^^xsd:string ; rdfs:label "Bluetooth v2.1"@en . <PowerConsumption> a saref:Property . ################################################################# # Units of Measure ################################################################# :FequencyMeasurementTESS005-UCM rdf:type owl:NamedIndividual , s4envi:FrequencyMeasurement ; saref:isMeasuredIn wurvoc:reciprocal_second-time ; saref:hasValue "10.0"^^xsd:float ; rdfs:label "FequencyMeasurementTESS005-UCM"@en . 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 . :LocationTESS005-UCM rdf:type owl:NamedIndividual , geo:SpatialThing ; geo:lat "40.451" ; geo:long "-3.7261" ; rdfs:label "Location of photometer TESS stars5"@en . ################################################################# # Communication interfaces and communication protocols ################################################################# :MQTT-Broker rdf:type owl:NamedIndividual , s4envi:CommunicationProtocol ; rdfs:label "MQTT-Broker"@en . <Bluetoothv2-1> a s4envi:CommunicationInterface ; s4envi:hasVersion "v2.1" ; rdfs:label "Bluetooth v2.1"@en . <RS232v24> a s4envi:CommunicationInterface ; s4envi:hasVersion "v24" ; rdfs:label "RS232 v24"@en . :TransmissionPeriodTESS005-UCM rdf:type owl:NamedIndividual , s4envi:PeriodMeasurement ; saref:isMeasuredIn time:unitSecond ; saref:hasValue "30.0"^^xsd:float ; rdfs:label "TransmissionPeriodTESS005-UCM"@en . <Wi-Fiv802-11ah> a s4envi:CommunicationInterface ; s4envi:hasVersion "802.11ah" ; rdfs:label "Wi-Fi v802.11ah"@en . <MQTT-Broker> a s4envi:CommunicationProtocol ; rdfs:label "MQTT-Broker"@en . :PowerProfileTESS005-UCM rdf:type owl:NamedIndividual , s4ener:PowerProfile ; # saref:hasConsumption :PowerTESS005-UCM ; rdfs:label "Power profile of photometer TESS stars5"@en . ################################################################# # The TESS ################################################################# :PowerTESS005-UCM rdf:type owl:NamedIndividual , saref:Measurement ; <TESS005-UCM> a saref:Device ; rdfs:label "stars5" ; rdfs:label "TESS photometer stars5"@en ; saref:hasManufacturer "Universidad Complutense de Madrid" ; s4envi: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:hasValue "20.0"^^xsd:float ; rdfs:label "Power of photometer TESS stars5"@en . ] ; 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 . :RS232v24 rdf:type owl:NamedIndividual , s4envi:CommunicationInterface ; s4envi:hasVersion "v24"^^xsd:string ; rdfs:label "RS232 v24"@en . :TESS005-UCM rdf:type owl:NamedIndividual , s4envi:TESS ; s4envi:hasFrequencyMeasurement :FequencyMeasurementTESS005-UCM ; s4envi:hasTransmissionPeriod :TransmissionPeriodTESS005-UCM ; saref:makesMeasurement :Measurement2016-10-05T08:15:30TESS005-UCM , :Measurement2016-10-05T08:15:40TESS005-UCM ; saref:measuresProperty s4envi:LightMagnitude ; s4envi:usesCommunicationInterface :Bluetoothv2-1 , :RS232v24 , :Wi-Fiv802-11ah ; s4envi:usesCommunicationProtocol :MQTT-Broker ; geo:location :LocationTESS005-UCM ; s4ener:exposes :PowerProfileTESS005-UCM ; s4envi:hasVersion "v1"^^xsd:string ; saref:hasManufacturer "Universidad Complutense de Madrid"^^xsd:string ; rdfs:label "stars5"^^xsd:string ; rdfs:label "TESS photometer stars5"@en . :Wi-Fiv802-11ah rdf:type owl:NamedIndividual , s4envi:CommunicationInterface ; s4envi:hasVersion "802.11ah"^^xsd:string ; rdfs:label "Wi-Fi v802.11ah"@en . ################################################################# # The Observations ################################################################# :mgPerarcsec2 rdf:type owl:NamedIndividual , saref:UnitOfMeasure ; rdfs:label "mgPerarcsec2"@en . :Measurement2016-10-05T08:15:30TESS005-UCM rdf:type owl:NamedIndividual , saref:Measurement ; saref:relatesToProperty s4envi:LightMagnitude ; saref:isMeasuredIn :mgPerarcsec2 ; <Observation2016-10-05T08:15:30TESS005-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:hasValue "0.1"^^xsd:float ; rdfs:label "Measurement 2016-10-05T08:15:30 TESS005-UCM"@en . :Measurement2016-10-05T08:15:40TESS005-UCM rdf:type owl:NamedIndividual , saref:Measurement ; saref:relatesToProperty s4envi:LightMagnitude ; saref:isMeasuredIn :mgPerarcsec2 ; saref:hasResult [ saref:isValueForProperty s4envi:LightMagnitude ; saref:hasValue 0.1 ; saref:isMeasuredIn <mgPerarcsec2> ] . <Observation2016-10-05T08:15:40TESS005-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:hasValue "0.8"^^xsd:float ; rdfs:label "Measurement 2016-10-05T08:15:40 TESS005-UCM"@en . s4envi:LightMagnitude rdf:type owl:NamedIndividual , s4envi:LightProperty . time:unitSecond rdf:type owl:NamedIndividual , time:TemporalUnit . wurvoc:reciprocal_second-time rdf:type owl:NamedIndividual , s4envi:FrequencyUnit . wurvoc:watt rdf:type owl:NamedIndividual , saref:PowerUnit . saref:hasResult [ saref:isValueForProperty s4envi:LightMagnitude ; saref:hasValue 0.8 ; saref:isMeasuredIn <mgPerarcsec2> ] . Loading
.saref-repositories.yml +1 −1 Original line number Diff line number Diff line labs.etsi.org/rep/: repos: - saref/saref-core - saref/saref4ener - saref/saref4syst
examples/example1ENVI.ttl +92 −120 Original line number Diff line number Diff line Loading @@ -6,10 +6,8 @@ @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 s4ener: <https://saref.etsi.org/saref4ener/> . @prefix dcterms: <http://purl.org/dc/terms/> . @prefix dctype: <http://purl.org/dc/dcmitype/> . @prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> . @prefix time: <http://www.w3.org/2006/time#> . @prefix wurvoc: <http://www.wurvoc.org/vocabularies/om-1.8/> . @base <https://saref.etsi.org/saref4envi/v1.1.2/example/example1ENVI/> . Loading @@ -18,125 +16,99 @@ 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/v1.1.2/> ; dcterms:conformsTo <https://saref.etsi.org/saref4ener/v1.1.2/> ; 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 . geo:lat a owl:DatatypeProperty . geo:long a owl:DatatypeProperty . ################################################################# # Properties ################################################################# :Bluetoothv2-1 rdf:type owl:NamedIndividual , s4envi:CommunicationInterface ; s4envi:hasVersion "v2.1"^^xsd:string ; rdfs:label "Bluetooth v2.1"@en . <PowerConsumption> a saref:Property . ################################################################# # Units of Measure ################################################################# :FequencyMeasurementTESS005-UCM rdf:type owl:NamedIndividual , s4envi:FrequencyMeasurement ; saref:isMeasuredIn wurvoc:reciprocal_second-time ; saref:hasValue "10.0"^^xsd:float ; rdfs:label "FequencyMeasurementTESS005-UCM"@en . 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 . :LocationTESS005-UCM rdf:type owl:NamedIndividual , geo:SpatialThing ; geo:lat "40.451" ; geo:long "-3.7261" ; rdfs:label "Location of photometer TESS stars5"@en . ################################################################# # Communication interfaces and communication protocols ################################################################# :MQTT-Broker rdf:type owl:NamedIndividual , s4envi:CommunicationProtocol ; rdfs:label "MQTT-Broker"@en . <Bluetoothv2-1> a s4envi:CommunicationInterface ; s4envi:hasVersion "v2.1" ; rdfs:label "Bluetooth v2.1"@en . <RS232v24> a s4envi:CommunicationInterface ; s4envi:hasVersion "v24" ; rdfs:label "RS232 v24"@en . :TransmissionPeriodTESS005-UCM rdf:type owl:NamedIndividual , s4envi:PeriodMeasurement ; saref:isMeasuredIn time:unitSecond ; saref:hasValue "30.0"^^xsd:float ; rdfs:label "TransmissionPeriodTESS005-UCM"@en . <Wi-Fiv802-11ah> a s4envi:CommunicationInterface ; s4envi:hasVersion "802.11ah" ; rdfs:label "Wi-Fi v802.11ah"@en . <MQTT-Broker> a s4envi:CommunicationProtocol ; rdfs:label "MQTT-Broker"@en . :PowerProfileTESS005-UCM rdf:type owl:NamedIndividual , s4ener:PowerProfile ; # saref:hasConsumption :PowerTESS005-UCM ; rdfs:label "Power profile of photometer TESS stars5"@en . ################################################################# # The TESS ################################################################# :PowerTESS005-UCM rdf:type owl:NamedIndividual , saref:Measurement ; <TESS005-UCM> a saref:Device ; rdfs:label "stars5" ; rdfs:label "TESS photometer stars5"@en ; saref:hasManufacturer "Universidad Complutense de Madrid" ; s4envi: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:hasValue "20.0"^^xsd:float ; rdfs:label "Power of photometer TESS stars5"@en . ] ; 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 . :RS232v24 rdf:type owl:NamedIndividual , s4envi:CommunicationInterface ; s4envi:hasVersion "v24"^^xsd:string ; rdfs:label "RS232 v24"@en . :TESS005-UCM rdf:type owl:NamedIndividual , s4envi:TESS ; s4envi:hasFrequencyMeasurement :FequencyMeasurementTESS005-UCM ; s4envi:hasTransmissionPeriod :TransmissionPeriodTESS005-UCM ; saref:makesMeasurement :Measurement2016-10-05T08:15:30TESS005-UCM , :Measurement2016-10-05T08:15:40TESS005-UCM ; saref:measuresProperty s4envi:LightMagnitude ; s4envi:usesCommunicationInterface :Bluetoothv2-1 , :RS232v24 , :Wi-Fiv802-11ah ; s4envi:usesCommunicationProtocol :MQTT-Broker ; geo:location :LocationTESS005-UCM ; s4ener:exposes :PowerProfileTESS005-UCM ; s4envi:hasVersion "v1"^^xsd:string ; saref:hasManufacturer "Universidad Complutense de Madrid"^^xsd:string ; rdfs:label "stars5"^^xsd:string ; rdfs:label "TESS photometer stars5"@en . :Wi-Fiv802-11ah rdf:type owl:NamedIndividual , s4envi:CommunicationInterface ; s4envi:hasVersion "802.11ah"^^xsd:string ; rdfs:label "Wi-Fi v802.11ah"@en . ################################################################# # The Observations ################################################################# :mgPerarcsec2 rdf:type owl:NamedIndividual , saref:UnitOfMeasure ; rdfs:label "mgPerarcsec2"@en . :Measurement2016-10-05T08:15:30TESS005-UCM rdf:type owl:NamedIndividual , saref:Measurement ; saref:relatesToProperty s4envi:LightMagnitude ; saref:isMeasuredIn :mgPerarcsec2 ; <Observation2016-10-05T08:15:30TESS005-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:hasValue "0.1"^^xsd:float ; rdfs:label "Measurement 2016-10-05T08:15:30 TESS005-UCM"@en . :Measurement2016-10-05T08:15:40TESS005-UCM rdf:type owl:NamedIndividual , saref:Measurement ; saref:relatesToProperty s4envi:LightMagnitude ; saref:isMeasuredIn :mgPerarcsec2 ; saref:hasResult [ saref:isValueForProperty s4envi:LightMagnitude ; saref:hasValue 0.1 ; saref:isMeasuredIn <mgPerarcsec2> ] . <Observation2016-10-05T08:15:40TESS005-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:hasValue "0.8"^^xsd:float ; rdfs:label "Measurement 2016-10-05T08:15:40 TESS005-UCM"@en . s4envi:LightMagnitude rdf:type owl:NamedIndividual , s4envi:LightProperty . time:unitSecond rdf:type owl:NamedIndividual , time:TemporalUnit . wurvoc:reciprocal_second-time rdf:type owl:NamedIndividual , s4envi:FrequencyUnit . wurvoc:watt rdf:type owl:NamedIndividual , saref:PowerUnit . saref:hasResult [ saref:isValueForProperty s4envi:LightMagnitude ; saref:hasValue 0.8 ; saref:isMeasuredIn <mgPerarcsec2> ] .