Example energymeter

IRI
https://saref.etsi.org/core/v3.1.1/example/energymeter#
Conforms to ontologies
Download serialization
License
Example energymeter

Turtle

@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/energymeter/> .
@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/energymeter#> 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 energymeter"@en ;
  dcterms:description "Example energymeter"@en .

time:Instant a owl:Class .
time:inXSDDateTime a owl:DatatypeProperty .

ex:MicroRenewable rdf:type owl:Class ;
#                     rdfs:subClassOf saref:FunctionRelated ;
                     rdfs:comment "A device that generates renewable energy from natural resources such as the sun, wind and water.  A saref:MicroRenewable is typically used to accomplish saref:EnergyEfficiency."@en ;
                     rdfs:label "Micro renewable"@en .
ex:Efficiency
  rdf:type saref:Task ;
  rdfs:label "Efficiency"^^xsd:string ;
.
ex:Energy
  rdf:type saref:Energy ;
  rdfs:label "Energy "^^xsd:string ;
  saref:hasValue "not applicable"^^xsd:string ;
  saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.8/kilowatt_hour> ;
.
ex:EnergyMeter_EM5004
#  rdf:type saref:EnergyMeter ;
  rdfs:label "Energy meter EM5004"^^xsd:string ;
#  saref:IsUsedFor ex:Energy ;
  saref:accomplishes ex:Efficiency ;
#  saref:hasCategory saref:Meter ;
  saref:hasDescription "Energy meter EM5004 is an example of how to instantiate an energy meter using SAREF"^^xsd:string ;
  saref:hasFunction ex:MeteringFunction ;
  saref:hasManufacturer "manufacturer_stv"^^xsd:string ;
  saref:hasModel "EM5004-stv-16"^^xsd:string ;
  saref:offers ex:MeasureEnergyService ;
.
ex:Energy_value1
  rdf:type saref:Energy ;
  rdfs:label "Energy value1"^^xsd:string ;
  saref:hasValue "1"^^xsd:string ;
  saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.8/kilowatt_hour> ;
.
ex:GetCurrentMeterValueCommand
  rdf:type saref:GetCurrentMeterValueCommand ;
  rdfs:label "Get current meter value command"^^xsd:string ;
  saref:isCommandOf ex:MeteringFunction ;
.
ex:Instant_1
  rdf:type time:Instant ;
  rdfs:label "Instant 1"^^xsd:string ;
  time:inXSDDateTime "2015-03-17T11:10:50.53"^^xsd:dateTime ;
.
ex:MeasureEnergyService
  rdf:type saref:Service ;
  rdfs:label "Measure energy service"^^xsd:string ;
#  saref:hasOutputParameter ex:Energy ;
  saref:isOfferedBy ex:EnergyMeter_EM5004 ;
  saref:represents ex:MeteringFunction ;
.
ex:MeteringFunction
  rdf:type saref:MeteringFunction ;
  rdfs:label "Metering function "^^xsd:string ;
  saref:hasCommand ex:GetCurrentMeterValueCommand ;
#  saref:hasMeterReadingTime ex:Time_value1 ;
  saref:hasMeterReadingType saref:Energy ;
#  saref:hasMeterReadingValue ex:Energy_value1 ;
.
ex:Time_value1
  rdf:type saref:Time ;
  rdfs:label "Time value 1"^^xsd:string ;
  saref:consistsOf ex:Instant_1 ;
.