Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sosa:Property values versus result values. #208

Open
oldskeptic opened this issue Mar 18, 2024 · 4 comments
Open

sosa:Property values versus result values. #208

oldskeptic opened this issue Mar 18, 2024 · 4 comments
Labels
bug Something isn't working property propose-closing question Further information is requested

Comments

@oldskeptic
Copy link
Contributor

In #quantity-values-and-unit-of-measures we state "It is not in the scope of this specification to recommend any particular way of expressing results as quantity values." which is fine. To actually link the measurement, however it is recorded, to an observation we use hasSimpleResult / hasResult. There is no analogous mechanism for ssn-system:Condition, ssn:Property, ssn-system:Sensitivity, etc...

The DHT22 Description example makes use of schema.org. Unlike in an Observation, there is no ontological relationship in Sosa that indicates where the value of a Property resides, irrespective of it is expressed.

Can we fix this?

@oldskeptic oldskeptic added bug Something isn't working question Further information is requested property labels Mar 18, 2024
@maximelefrancois86
Copy link
Contributor

maximelefrancois86 commented Mar 18, 2024

The SSN-System module and the examples could be improved in many ways.
When working on that back in 2017, I faced two challenges:

  1. There is no other way to assign a value to a property than going through a sosa:Observation, yet expressing a simple sensitivity value found in a datasheet doesn't really match the definition of sosa:Observation: there is no sensor that observed this value.
  2. How to express the Ranges, that actually correspond to two values ?

Now that properties apply generically to many features of interest, and the notion of sensor is generalized, I think we could makes things more homogeneous:

  1. We should define Sensitivity etc. as instances of sosa:Property instead of sub-classes .
  2. For when a system property has a simple value that doesn't depend on conditions of any sort, we should rely on a mechanism similar to the one introduced in SAREF V3.2.1: saref:hasPropertyValue, and saref:PropertyValue. See https://saref.etsi.org/core/v3.2.1/#5.6.4
  3. When a system property value depends on a condition, one could use sosa:Observation annotated with sosa:inCondition.
  4. For all range property X, we should split them in minimumX and maximumX. For example instead of MeasurementRange:
ssn-system:MinimumMeasurement a sosa:Property;
      rdfs:label "Minimum Measurement"@en ;
      skos:definition "The minimum of the set of values that the Sensor can return as the Result of an Observation under the defined Conditions."@en ;
      skos:broader ssn-system:SystemProperty ;
      rdfs:isDefinedBy ssn-system: .


ssn-system:MaximumMeasurement a sosa:Property;
      rdfs:label "Maximum Measurement"@en ;
      skos:definition "The maximum of the set of values that the Sensor can return as the Result of an Observation under the defined Conditions."@en ;
      skos:broader ssn-system:SystemProperty ;
      rdfs:isDefinedBy ssn-system: .

@oldskeptic
Copy link
Contributor Author

I would be happy with reusing hasResult or creating hasPropertyValue. We don't have to solve the range problem as much as just document a property for the value.

We should define Sensitivity etc. as instances of sosa:Property instead of sub-classes .

I prefer subClass; otherwise it becomes unwieldy if someone decides to instantiate the Sensitivity of multiple physical receivers.

@dr-shorthair
Copy link
Collaborator

dr-shorthair commented May 20, 2024

I would be happy with ... creating hasPropertyValue ...

Hmm. FeatureOfInterest is essentially a way of tagging features/entities from domain models with a role in the context of Actuations/Observations/Samplings - see discussion in #19
Otherwise, I would be very wary of building a meta-language for domain-models inside SSN, which I think is what you are talking about with Feature-Property relationships outside the context of Observations and Actuations.

@dr-shorthair
Copy link
Collaborator

Also see #108

@dr-shorthair dr-shorthair changed the title ssn:Property values versus result values. sosa:Property values versus result values. Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working property propose-closing question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants