ternaustralia / ontology_tern

TERN Ontology
https://linkeddata.tern.org.au/viewers/tern-ontology
Creative Commons Attribution 4.0 International
6 stars 4 forks source link

Provide validation shapes for Observation #184

Closed rob-metalinkage closed 2 years ago

rob-metalinkage commented 2 years ago

Currently the SHACL validation shapes require Observations to have mandatory fields, which may in future be better handled by ssn-extension ObservationCollection objects containing common metadata.

This has implications for three factors:

slimmer data transfer more efficient validation potential for more metadata about collections that are commonly applicable. The proposal is to create two profiles of Tern: 1 "data at rest" - fully populated observations with all inherited collection attributes (similar to current shapes) 2 "compact exchange" - using Observation collections and allowing implicit properties to be checked against containing collections.

(it may also be worth examining the duplication of property shapes on sub-classes - possibly these are better inherited from parent superclasses and only modified where a sub-class has a specific requirement)

dr-shorthair commented 2 years ago

Do you mean ObservationCollection ? Or better still - provide conditional validation shapes for Observation as members of ObservationCollection .

rob-metalinkage commented 2 years ago

dont know why the original description got dropped..

edmondchuc commented 2 years ago

Closing this as a duplicate of https://github.com/ternaustralia/ontology_tern/issues/185