Changes between Version 3 and Version 4 of RpObservationMeasurement


Ignore:
Timestamp:
Sep 30, 2010, 9:05:50 PM (14 years ago)
Author:
s.meissner
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RpObservationMeasurement

    v3 v4  
    33The values measured by sensors are exposed as Observation and Measurement values in SENSEI. That means the values are annotated by meta-data providing additional information on how to interpret the value. Required is the data type as well as the unit of measurement. Also a time stamp is given together with the measurement. Currently there is no standard for time stamp format. Using Unix time is considered also.
    44
    5 === example for a light measurement ===
    6 
    7 {{{
    8 <?xml version='1.0' encoding='UTF-8'?>
    9 
    10 <!DOCTYPE rdf:RDF [
    11         <!ENTITY rdf  'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
    12         <!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
    13         <!ENTITY sensor   'http://www.ict-sensei.org/Sensor#'>
    14         <!ENTITY mo 'http://www.ict-sensei.org/MeasurementAndObservation#'>
    15         <!ENTITY provider456 'http://www.resource-provider-456.com/resources#'>
    16 ]>
    17 
    18 <rdf:RDF xmlns:rdf="&rdf;" xmlns:rdfs="&rdfs;" xmlns:provider456="&provider456;"
    19          xmlns:mo="&mo;" xmlns:sensor="&sensor;">
    20 <sensor:Light rdf:about="&provider456;LightSensor15"
    21                 mo:hasTimeStamp="Thu Jan 14 09:15:36 2009"       
    22                 mo:hasDecimalValue="0.23"
    23                 mo:hasUnit="percent">
    24 </sensor:Light>
    25 </rdf:RDF>
    26 
    27 }}}
    28 
    29 The generic model for Observation and Measurements is constructed as follows:
     5The Observation and Measurement model is constructed as follows:
    306
    317=== generic Measurement ===