Skip to content

Instantly share code, notes, and snippets.

@soylent-grin
Created May 17, 2015 13:32
Show Gist options
  • Save soylent-grin/c8c9f4f8016ca9c52d4a to your computer and use it in GitHub Desktop.
Save soylent-grin/c8c9f4f8016ca9c52d4a to your computer and use it in GitHub Desktop.
Example of heat meter testimonials with unit of measurement
@prefix hmtr: <http://purl.org/NET/ssnext/heatmeters#> .
@prefix meter: <http://purl.org/NET/ssnext/meters/core#> .
@prefix ssn: <http://purl.oclc.org/NET/ssnx/ssn#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix om: <http://purl.org/ifgi/om#> .
@prefix : <coap://10.1.1.1:6500/meter/heat#> .
:1431869485138 a hmtr:HeatObservation ;
ssn:observationResultTime "2015-05-17T13:31:25.138Z"^^xsd:dateTime ;
ssn:observedBy <coap://10.1.1.1:6500/meter> ;
ssn:observationResult :1431869485138-result .
:1431869485138-result a hmtr:HeatSensorOutput ;
ssn:isProducedBy <coap://10.1.1.1:6500/meter> ;
ssn:hasValue :1431869485138-resultvalue .
:1431869485138-resultvalue a hmtr:HeatValue ;
meter:hasQuantityValue "77002.3"^^xsd:float ;
om:hasQuantityUnitOfMeasurement <http://purl.oclc.org/NET/muo/ucum/unit/energy/Joule> .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment