Skip to content

Commit

Permalink
Clarify type designators for UOM patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-shorthair committed Jan 28, 2025
1 parent 55e6bda commit 8c62da9
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 19 deletions.
5 changes: 3 additions & 2 deletions ssn/chapters/Actuation.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ <h5><a href="#SOSAActuation">sosa:Actuation</a></h5>
property to verify that the result value has been obtained..
</span>
</p>
<p class="note">The different time-properties on a <a href="#SOSAActuation">sosa:Actuation</a> support
<p class="note"> The different time-properties on a <a href="#SOSAActuation">sosa:Actuation</a> support
the description of plans, forecasts and predictions as well as descriptions of various historical
scenarios.
See <a href="#times">Temporal properties</a> for patterns related to these.</p>
Expand Down Expand Up @@ -357,7 +357,8 @@ <h5><a href="#SOSAActuator">sosa:Actuator</a></h5>
href="#SOSAProcedure">Procedure</a> that changes the value of a <a
href="#SOSAProperty">Property</a></span> <br>
</p>
<p class="note">An Actuator may have a geographic location. See <a href="#systems-platforms-deployments">Location and Geometry</a> for
<p class="note">An Actuator may have a geographic location. See <a
href="#systems-platforms-deployments">Location and Geometry</a> for
patterns to describe this.</p>

<table>
Expand Down
25 changes: 11 additions & 14 deletions ssn/chapters/ModelQuantity.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,31 @@ <h3>Quantity Values and Units of Measure</h3>
of measure.
</p>
<p>
It out of the scope of this specification to recommend a particular way of representing quantitative results.
It is out of the scope of this specification to recommend a particular way of representing quantitative results.
Several external vocabularies are available for expressing quantities as OWL individuals, or as datatypes.
Examples include
the Quantities, Units, Dimensions and Data Types Ontologies (QUDT, [[QUDT]])
<!-- , the Ontology of Units of Measure (OM, [[Rijgersberg-et-al-2013]]) -->
, and the St Etienne School of Mines <i>Custom Datatypes</i> (CDT, [[CDT]]).
</p>
<p>
With QUDT, a quantitative result can be a <a href="http://qudt.org/"><code>qudt:QuantityValue</code></a>
With QUDT, a quantitative result can be a <a href="http://qudt.org/"><code>qudt:QuantityValue</code></a>.
Its unit of measure <a href="http://qudt.org/vocab/unit/DEG_C">unit:DEG_C</a> is an individual from the QUDT
catalogue of units of measure.
</p>
<pre class="example" data-include="./rdf/examples/UOM-qudt-object.ttl" data-include-format="text"></pre>
<p>
Alternatively, an IRI from the <a href="">QUDT catalogue of units of measure</a> can be used as the
<em>type designator</em> of a <a href="#SOSAhasSimpleResult"><code>sosa:hasSimpleResult</code></a>
Alternatively, an IRI from the <a href="">QUDT catalogue of units of measure</a> might be used as the
<em>type designator</em> of a <a href="#SOSAhasSimpleResult"><code>sosa:hasSimpleResult</code></a>.
For this usage the resource <code>unit:DEG_C</code> is an <code>rdfs:Datatype</code>.
</p>
<pre class="example" data-include="./rdf/examples/UOM-qudt-datatype.ttl" data-include-format="text"></pre>
<p>
With CDT, the value of <a href="#SOSAhasSimpleResult"><code>sosa:hasSimpleResult</code></a> can be structured to
match an amount with a <a
href="https://ci.mines-stetienne.fr/lindt/v4/custom_datatypes#ucum"><code>cdt:ucum</code></a> code indicating
the unit of measurement [[UCUM]]
With CDT, the value of <a href="#SOSAhasSimpleResult"><code>sosa:hasSimpleResult</code></a> is a literal structured
as space-separated quantiy-value using the UCUM code for the unit of measurement [[UCUM]].
The type designator is
<a href="https://ci.mines-stetienne.fr/lindt/v4/custom_datatypes#ucum"><code>cdt:ucum</code></a> taken from [[CDT]].
</p>
<pre class="example" data-include="./rdf/examples/UOM-cdt.ttl" data-include-format="text"></pre>
<!-- <p>
With OM 2, a quantitative result would be a <a
href="http://www.wurvoc.org/vocabularies/"><code>om:Measure</code> or <code>om:Point</code></a>
</p> -->
<!-- <pre class="example" data-include="./rdf/examples/UOM-OM2.ttl" data-include-format="text"></pre> -->

<p class="note">
Custom datatypes are not strictly compatible with OWL, which restricts the set of datatypes that can be used.
Expand Down
3 changes: 3 additions & 0 deletions ssn/rdf/examples/UOM-cdt.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ ex:Obs234534
sosa:hasFeatureOfInterest ex:apt134 ;
sosa:hasSimpleResult "-29.9 Cel"^^cdt:ucum ;
.
cdt:ucum
a rdfs:Datatype ;
.
5 changes: 2 additions & 3 deletions ssn/rdf/examples/UOM-qudt-datatype.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ ex:Obs234534
sosa:hasFeatureOfInterest ex:apt134 ;
sosa:hasSimpleResult "-29.9"^^unit:DEG_C ;
.
unit:DEG_C
a qudt:Unit ;
rdfs:subClassOf xsd:decimal ;
unit:DEG_C
a rdfs:Datatype ;
.
3 changes: 3 additions & 0 deletions ssn/rdf/examples/UOM-qudt-object.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ ex:Obs83985
qudt:value 22.4 ;
] ;
.
unit:DEG_C
a qudt:Unit ;
.

0 comments on commit 8c62da9

Please sign in to comment.