W3C home > Mailing lists > Public > public-sdw-wg@w3.org > February 2017

Re: hasResult / Sampling in SOSA & ISSUE-90

From: Maxime Lefrançois <maxime.lefrancois@emse.fr>
Date: Thu, 09 Feb 2017 17:43:28 +0000
Message-ID: <CALsPASWai89nf36TvJSkez7pw57UryiSWz+jNXSekkVB7Rf08g@mail.gmail.com>
To: "Le Phuoc, Danh" <danh.lephuoc@tu-berlin.de>, "Simon.Cox@csiro.au" <Simon.Cox@csiro.au>, "public-sdw-wg@w3.org" <public-sdw-wg@w3.org>, Kerry Taylor <kerry.taylor@anu.edu.au>, Krzysztof Janowicz <janowicz@ucsb.edu>, Armin Haller <armin.haller@anu.edu.au>
Dear all,

I just added some material to the Wiki page:
 - a proposal where sosa:hasValue is deleted from SOSA
 - a proposal where sosa:hasValue and sosa:Result is deleted from SOSA
 - metadata associated with instances of SensorOutput and ObservationValue
in referenced Datasets
 - some examples on how to give a value with QUDT, OM, or directly in
microformat (reusing schema:result, schema:value, schema:unitCode, and
assuming that schema:Observation exists) see also below

The solution I prefer for now is:
  Collapsing ObservationValue and SensorOutput, remove class Result
(proposal in
https://lists.w3.org/Archives/Public/public-sdw-wg/2017Feb/0168.html)



Example with QUDT 2.0:

@prefix sosa: <http://www.w3.org/ns/sosa/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix qudt: <http://qudt.org/schema/qudt/> .
@prefix unit: <http://qudt.org/vocab/unit/> .

<observation/12> a sosa:Observation ;
 prov:generatedAtTime "2016-08-12T12:00:00Z"^^xsd:dateTime ;
 sosa:hasResult [
   a qudt:QuantityValue ;
   qudt:numericValue 12.3 ;
   qudt:unit unit:DEG_C ] .


Example with OM 1.8:

@prefix sosa: <http://www.w3.org/ns/sosa/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix om: <http://www.wurvoc.org/vocabularies/om-1.8/> .

<observation/12> a sosa:Observation ;
 prov:generatedAtTime "2016-08-12T12:00:00Z"^^xsd:dateTime ;
 sosa:hasResult [
   a om:Measure ;
   om:numerical_value 12.3 ;
   om:unit_of_measure_or_measurement_scale om:degree_Celsius ] .


Example with schema.org (schema:result already exists, we just need to
assume the existence of schema:Observation):

 <div itemscope itemtype="http://schema.org/Observation"
itemid="#observation">
   <div itemscope itemprop="result" itemtype="
http://schema.org/QuantitativeValue">Result:
     <span itemprop="value">12.3</span>°C
     <meta itemprop="unitCode" content="CEL">
   </div>
 </div>



Kind regards,
Maxime



Le jeu. 9 févr. 2017 à 16:07, Le Phuoc, Danh <danh.lephuoc@tu-berlin.de> a
écrit :

> Hi all,
>
> As requested from Armin to outline a solution for attach values to
> observations as a part of the solution mentioned in this issue:
> https://www.w3.org/2015/spatial/track/issues/90, I  created a Wiki page
> at https://www.w3.org/2015/spatial/wiki/Storing_Observation_Value with
> some figures to illustrate the possible patterns : collapsing or not
> collapsing ssn:SensorOutput and ssn:ObservationValue.
>
> I’m trying to collecting inputs/proposals from previous minutes to
> populate the wiki page but I got lost. I would appreciate if you could
> point me to your proposals in the minutes or even better put them directly
> to the Wiki so that I could consolidate them before the next call.
>
> Best,
>
> Danh
>
>
>
>
Received on Thursday, 9 February 2017 17:44:15 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 9 February 2017 17:44:15 UTC