Implemented by replacing "Measurement" with "Observation" also in concepts and OP names.
Changed the range of the s4ehaw:hasObservation OP.
Since time series are involved, probably we should discuss again about it in the future.
$ python3.9 scripts/diff-rdf.py 66a4f686 799d9c35 ontology/saref4ehaw.ttlTriples deleted: 23Triples added: 24--- triples deleted ---@prefix owl: <http://www.w3.org/2002/07/owl#> .@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .@prefix s4ehaw: <https://saref.etsi.org/saref4ehaw/> .@prefix saref: <https://saref.etsi.org/core/> .@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .s4ehaw:hasMeasurement a owl:ObjectProperty ; rdfs:label "has measurement"@en ; rdfs:comment "Defines the relationship between data that has measurement."@en ; rdfs:domain s4ehaw:Data ; rdfs:range saref:Measurement .s4ehaw:hasTimeSeriesMesurement a owl:ObjectProperty ; rdfs:label "has time series measurement"@en ; rdfs:comment "Data has time series measurements, a sequence taken at successive equally spaced points in time."@en ; rdfs:domain s4ehaw:Data ; rdfs:range s4ehaw:TimeSeriesMeasurement .s4ehaw:hasValues rdfs:domain s4ehaw:TimeSeriesMeasurement .s4ehaw:TimeSeriesMeasurement a owl:Class ; rdfs:label "Time series measurement"@en ; rdfs:comment "A sequence of data in a successive equally spaced points in time. The O&M ontology (ISO 19156) defines Time Series Observation as an “observation whose result is a time-series”, while both Hl7 aECG and DICOM standards define the Series element as a sequence of data sharing a common frame of reference. In SAREF4health this concept is termed as Time Series Measurements since this sequence of data refers to time series measured by a health device."@en ; rdfs:subClassOf [ a owl:Restriction ; owl:allValuesFrom xsd:decimal ; owl:onProperty s4ehaw:hasValues ], [ a owl:Restriction ; owl:allValuesFrom saref:Property ; owl:onProperty s4ehaw:hasFrequency ], saref:Measurement .--- triples added ---@prefix owl: <http://www.w3.org/2002/07/owl#> .@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .@prefix s4ehaw: <https://saref.etsi.org/saref4ehaw/> .@prefix saref: <https://saref.etsi.org/core/> .@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .s4ehaw:hasObservation a owl:ObjectProperty ; rdfs:label "has measurement"@en ; rdfs:comment "Defines the relationship between data that has measurement."@en ; rdfs:domain s4ehaw:Data ; rdfs:range saref:Observation .s4ehaw:hasTimeSeriesObservation a owl:ObjectProperty ; rdfs:label "has time series measurement"@en ; rdfs:comment "Data has time series measurements, a sequence taken at successive equally spaced points in time."@en ; rdfs:domain s4ehaw:Data ; rdfs:range s4ehaw:TimeSeriesObservation .s4ehaw:hasValues rdfs:domain s4ehaw:TimeSeriesObservation .saref:Observation a owl:Class .s4ehaw:TimeSeriesObservation a owl:Class ; rdfs:label "Time series measurement"@en ; rdfs:comment "A sequence of data in a successive equally spaced points in time. The O&M ontology (ISO 19156) defines Time Series Observation as an “observation whose result is a time-series”, while both Hl7 aECG and DICOM standards define the Series element as a sequence of data sharing a common frame of reference. In SAREF4health this concept is termed as Time Series Measurements since this sequence of data refers to time series measured by a health device."@en ; rdfs:subClassOf [ a owl:Restriction ; owl:allValuesFrom xsd:decimal ; owl:onProperty s4ehaw:hasValues ], [ a owl:Restriction ; owl:allValuesFrom saref:Property ; owl:onProperty s4ehaw:hasFrequency ], saref:Observation .
I have still a problem with s4ehaw:hasValues (plural), and how frequency is modeled. It will be a property value, not a property. the hasFrequency OP needs to be deleted (see #3 (closed))