From 445255dbeae881de4dae77023d002ee07fb569f6 Mon Sep 17 00:00:00 2001
From: Marc Girod-Genet <marc.girod_genet@telecom-sudparis.eu>
Date: Fri, 3 Apr 2020 13:32:26 +0200
Subject: [PATCH] Replace saref4ehaw.ttl

---
 ontology/saref4ehaw.ttl | 205 +++++++++++++++++++++++-----------------
 1 file changed, 117 insertions(+), 88 deletions(-)

diff --git a/ontology/saref4ehaw.ttl b/ontology/saref4ehaw.ttl
index 1193184..919d9c5 100644
--- a/ontology/saref4ehaw.ttl
+++ b/ontology/saref4ehaw.ttl
@@ -8,8 +8,8 @@
 @prefix vann: <http://purl.org/vocab/vann/> .
 @prefix voaf: <http://purl.org/vocommons/voaf#> .
 @prefix saref: <https://saref.etsi.org/saref/> .
-@prefix s4ehaw: <https://saref.etsi.org/s4ehaw/> .
-@prefix s4envi: <https://w3id.org/def/saref4envi/> .
+@prefix s4ehaw: <https://saref.etsi.org/s4ehaw/core/> .
+@prefix s4envi: <https://saref.etsi.org/saref4envi/> .
 @prefix s4wear: <https://saref.etsi.org/s4wear/> .
 @prefix dcterms: <http://purl.org/dc/terms/> .
 @base <https://saref.etsi.org/s4ehaw/> .
@@ -29,8 +29,22 @@
                                  rdfs:comment "Extension of SAREF for eHealth Ageing Well domain." ;
                                  
                                  vann:preferredNamespaceUri "https://saref.etsi.org/s4ehaw/" ;
+
+                                 vann:preferredNamespacePrefix "s4ehaw" ;
                                  
                                  dcterms:description "s4ehaw is an extension of SAREF for eHealth Ageing Well"@en ;
+
+                                 dcterms:description """The objective of SAREF4EHAW is to extend SAREF ontology for the eHealth/Ageing-well (EHAW) vertical. Clause 4.1 of the present document shortly introduces a high level view of the envisioned SAREF4EHAW semantic model and modular ontology, with the retained concepts (i.e. classes) and their relations. 
+SAREF4EHAW extension has been specified and formalised by investigating EHAW domain related resources, as reported in ETSI TR 103 509, such as: potential stakeholders, standardization initiatives, alliances/associations, European projects, EC directives, existing ontologies, and data repositories. Therefore, SAREF4EHAW modular ontology shall both:
+ - Allow the implementation of a limited set of typical EHAW related use cases already identified in ETSI TR 103 509, i.e.
+ - Use case 1 “elderly at home monitoring and support”,
+ - Use case 2 “monitoring and support of healthy lifestyles for citizens”,
+ - Use case 3 “Early Warning System (EWS) and Cardiovascular Accidents detection”.
+ - Fulfil the eHealth Ageing Well related requirements provided in ETSI TR 103 509, mainly the ontological ones that were mostly taken as input for the ontology specification.
+SAREF4EHAW mainly reuses the following existing ontologies: SAREF, ETSI SmartBAN reference model, SAREF 4 Environment extension, SAREF 4 Wearables extension, SAREF4health ontology which is a very first try to somehow extend SAREF ontology for the health vertical (it has nothing to do with ETSI SAREF4XYZ naming convention). The following figure presents the high level view of SAREF4EHAW ontology.
+![SAREF4SYST overview](diagram/SAREF4EHAW_Model.jpg)
+For semantic interoperability handling purposes, an ontology based solution, combined with sensing-as-a-service and WoT strategies, is retained for SAREF4EHAW. Therefore, an upper level ontology, at service level, shall also behas been fully modelled (Service class and sub-classes depicted in the previous figure).
+For embedded semantic analytics purposes, SAREF4EHAW shall behas been designed using the modularity principle (see ETSI TR 103 509) and can thus be mainly described by the following self-contained knowledge sub-ontologies (or modules): HealthActor, Ban, HealthDevice, Function (measured data related concepts included) and Service."""^^<http://www.iana.org/assignments/media-types/text/markdown> ;
                                  
                                  dcterms:title "s4ehaw: an extension of SAREF for eHealth Ageing Well"@en ;
                                  
@@ -42,11 +56,21 @@
                                  
                                  owl:versionIRI <https://saref.etsi.org/s4ehaw/v0.1.2/s4ehaw/> ;
                                  
-                                 owl:imports <https://w3id.org/saref> ;
+                                 owl:imports <https://saref.etsi.org/saref/core/> ;
                                  
                                  dcterms:publisher <https://www.etsi.org/> ;
+
+                                 dcterms:creator <http://www-public.imtbs-tsp.eu/~girodgen/> ;
                                  
-                                 dcterms:contributor <https://www.linkedin.com/in/marcgirodgenet/> .
+                                 dcterms:contributor <http://www-public.imtbs-tsp.eu/~girodgen/> ;
+
+                                 dcterms:contributor <https://www.linkedin.com/in/lina-nachabe-2b292457/> ;
+
+                                 dcterms:contributor <http://www.maxime-lefrancois.info/> ;
+
+                                 dcterms:contributor <https://research.utwente.nl/en/persons/jo%C3%A3o-luiz-moreira> ;
+
+                                 dcterms:contributor <https://www.linkedin.com/in/maurodragoni/> .
 
 
 #################################################################
@@ -128,30 +152,6 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
 
 
 
-###  http://www.semanticweb.org/owl/owlapi/turtle#hasMode
-
-:hasMode rdf:type owl:AnnotationProperty ;
-         
-         rdfs:label "has mode"@en ;
-         
-         rdfs:comment "Each device type has modes of operations that model its dynamic caracteristic varying during its lifetime, e.g. active, parked, sleeping, etc.." ;
-         
-         rdfs:domain saref:DeviceType .
-
-
-
-###  http://www.semanticweb.org/owl/owlapi/turtle#inCurrentMode
-
-:inCurrentMode rdf:type owl:AnnotationProperty ;
-               
-               rdfs:label "in current mode"@en ;
-               
-               rdfs:comment "Each eHealth device has modes of operations that model its dynamic caracteristic varying during its lifetime, e.g. active, parked, sleeping..." ;
-               
-               rdfs:domain saref:HealthDevice .
-
-
-
 ###  http://www.w3.org/1999/02/22-rdf-syntax-ns#comment
 
 rdf:comment rdf:type owl:AnnotationProperty .
@@ -173,7 +173,7 @@ s4ehaw:contains rdf:type owl:ObjectProperty ;
                 
                 rdfs:label "contains"@en ;
                 
-                rdfs:comment "Defines the relationship between a Body Area Network or BAN that contains one or multiple health devices"@en ;
+                rdfs:comment "A Body Area Network or BAN contains one or multiple health devices"@en ;
                 
                 rdfs:domain s4ehaw:Ban ;
                 
@@ -215,7 +215,7 @@ s4ehaw:hasCommunicationFunction rdf:type owl:ObjectProperty ;
                                 
                                 rdfs:label "has communication function"@en ;
                                 
-                                rdfs:comment "A BAN that has a communication function that is the type of communication carried out between BAN devices and BAN Hub."@en ;
+                                rdfs:comment "A BAN has a communication function that is the type of communication carried out between BAN devices and BAN Hub."@en ;
                                 
                                 rdfs:domain s4ehaw:Ban ;
                                 
@@ -229,7 +229,7 @@ s4ehaw:hasComputingPower rdf:type owl:ObjectProperty ;
                          
                          rdfs:label "has computing power"@en ;
                          
-                         rdfs:comment "A heal device type has computing power describing the processing power or capabilities of the device (e.g. processor ID and manufacturer, duty cycle, available flash/RM memory, maximum flash/RAM memory...)."@en ;
+                         rdfs:comment "A health device type has computing power describing the processing power or capabilities of the device (e.g. processor ID and manufacturer, duty cycle, available flash/RM memory, maximum flash/RAM memory...)."@en ;
                          
                          rdfs:range s4ehaw:ComputingPower ;
                          
@@ -243,7 +243,7 @@ s4ehaw:hasConstraint rdf:type owl:ObjectProperty ;
                      
                      rdfs:label "has constraint"@en ;
                      
-                     rdfs:comment "Defines the relationship between a data that has constraints (validity, operating, security...)."@en ;
+                     rdfs:comment "Data has constraints (validity, operating, security...)."@en ;
                      
                      rdfs:range s4ehaw:Constraint ;
                      
@@ -299,11 +299,11 @@ s4ehaw:hasHub rdf:type owl:ObjectProperty ;
               
               rdfs:label "has hub"@en ;
               
-              rdfs:comment "Defines the relationship between a Body Area Network or BAN that elects one hub that mainly plays the role of both a data concentrator and a network GW."@en ;
+              rdfs:comment "A Body Area Network or BAN elects one hub that mainly plays the role of both a data concentrator and a network GW."@en ;
               
               rdfs:domain s4ehaw:Ban ;
               
-              rdfs:range s4ehaw:Hub .
+              rdfs:range s4ehaw:BanHub .
 
 
 
@@ -359,7 +359,7 @@ s4ehaw:hasMesurement rdf:type owl:ObjectProperty ;
                      
                      rdfs:domain s4ehaw:Data ;
                      
-                     rdfs:range <https://w3id.org/saref#Measurement> .
+                     rdfs:range saref:Measurement .
 
 
 
@@ -469,7 +469,7 @@ s4ehaw:hasTimeSeriesMesurements rdf:type owl:ObjectProperty ;
                                 
                                 rdfs:label "has time series measurements"@en ;
                                 
-                                rdfs:comment "Defines the relatonship between data that has time series measurements."@en ;
+                                rdfs:comment "Data has time series measurements, a sequence taken at successive equally spaced points in time."@en ;
                                 
                                 rdfs:domain s4ehaw:Data ;
                                 
@@ -525,7 +525,7 @@ s4ehaw:isDescribedBy rdf:type owl:ObjectProperty ;
                      
                      rdfs:range s4ehaw:ServiceProcess ;
                      
-                     rdfs:domain <https://w3id.org/saref#Service> .
+                     rdfs:domain saref:Service .
 
 
 
@@ -539,7 +539,7 @@ s4ehaw:presents rdf:type owl:ObjectProperty ;
                 
                 rdfs:range s4ehaw:ServiceProfile ;
                 
-                rdfs:domain <https://w3id.org/saref#Service> .
+                rdfs:domain saref:Service .
 
 
 
@@ -553,7 +553,7 @@ s4ehaw:supports rdf:type owl:ObjectProperty ;
                 
                 rdfs:range s4ehaw:ServiceGrounding ;
                 
-                rdfs:domain <https://w3id.org/saref#Service> .
+                rdfs:domain saref:Service .
 
 
 
@@ -567,7 +567,7 @@ s4ehaw:uom rdf:type owl:ObjectProperty ;
            
            rdfs:domain s4ehaw:MeasurementFunction ;
            
-           rdfs:range <https://w3id.org/saref#UnitOfMeasure> .
+           rdfs:range saref:UnitOfMeasure .
 
 
 
@@ -585,33 +585,58 @@ s4ehaw:usesBan rdf:type owl:ObjectProperty ;
 
 
 
-###  https://w3id.org/def/saref4envi/hasFrequencyMeasurement
+###  https://saref.etsi.org/saref4envi/hasFrequencyMeasurement
 
-s4envi:hasFrequencyMeasurement rdf:type owl:ObjectProperty .
+s4envi:hasFrequencyMeasurement rdf:type owl:ObjectProperty ;
 
+                               rdfs:label "has frequency measurement"@en ;
 
+                               rdfs:comment "A measurement fucntion, in case of complex measurement like time series, has frequency measurement, i.e. the frequency in which it makes measurements."@en ;
 
-###  https://w3id.org/saref#hasCommand
+                               rdfs:range s4envi:FrequencyMeasurement ;
 
-<https://w3id.org/saref#hasCommand> rdfs:domain saref:Function ;
-                                    
-                                    rdfs:range <https://w3id.org/saref#Command> .
+                               rdfs:domain s4ehaw:MeasurementFunction .
 
 
+### https://saref.etsi.org/saref/core/hasCommand
 
-###  https://w3id.org/saref#hasFunction
+saref:hasCommand rdf:type owl:ObjectProperty ;
 
-<https://w3id.org/saref#hasFunction> rdfs:range saref:Function ;
-                                     
-                                     rdfs:domain <https://w3id.org/saref#Device> .
+                 rdfs:label "has command"@en ;
 
+                 rdfs:comment "A function has a command (a directive that a device must support to perform a given function)."@en ;
 
+                 rdfs:range saref:Command ;
 
-###  https://w3id.org/saref#offers
+                 rdfs:domain saref:Function .
 
-<https://w3id.org/saref#offers> rdfs:domain <https://w3id.org/saref#Device> ;
-                                
-                                rdfs:range <https://w3id.org/saref#Service> .
+
+
+### https://saref.etsi.org/saref/core/hasFunction
+
+saref:hasFunction rdf:type owl:ObjectProperty ;
+
+                  rdfs:label "has function"@en ;
+
+                  rdfs:comment "A device has a function (e.g., for an ehealth device, temperature measurement, blood pressure measurement, insulin regulation)."@en ;
+
+                  rdfs:range saref:Function ;
+
+                  rdfs:domain saref:Device .
+
+
+
+###  https://saref.etsi.org/saref/core/offers
+
+saref:offers rdf:type owl:ObjectProperty ;
+
+             rdfs:label "offers"@en ;
+
+             rdfs:comment "A device offers services, e.g., for an eHealth device, a thermometer offers a temperature measurement service."@en ;
+
+             rdfs:range saref:Service ;
+
+             rdfs:domain saref:Device .
 
 
 
@@ -1487,7 +1512,9 @@ foaf:Agent rdf:type owl:Class ;
 
 ###  https://saref.etsi.org/s4ehaw/Activity
 
-s4ehaw:Activity rdf:type owl:Class .
+s4ehaw:Activity rdf:type owl:Class ;
+
+rdfs:comment "The activity of a patient/user, i.e. daily and nocturnal activities."@en .
 
 
 
@@ -1495,7 +1522,7 @@ s4ehaw:Activity rdf:type owl:Class .
 
 s4ehaw:AlarmCommand rdf:type owl:Class ;
                     
-                    rdfs:subClassOf <https://w3id.org/saref#Command> .
+                    rdfs:subClassOf saref:Command .
 
 
 
@@ -1587,7 +1614,7 @@ s4ehaw:EventDrivenCommunicationFunction rdf:type owl:Class ;
 
 s4ehaw:FunctionalDevice rdf:type owl:Class ;
                         
-                        rdfs:subClassOf <https://w3id.org/saref#FunctionRelated> .
+                        rdfs:subClassOf saref:FunctionRelated .
 
 
 
@@ -1602,8 +1629,12 @@ s4ehaw:HealthActor rdf:type owl:Class ;
 ###  https://saref.etsi.org/s4ehaw/HealthActuator
 
 s4ehaw:HealthActuator rdf:type owl:Class ;
-                      
-                      rdfs:subClassOf <https://w3id.org/saref#Actuator> .
+             
+                    rdfs:subClassOf s4ehaw:HealthDevice ;
+		     
+                    rdfs:label "Health-related Actuator, equivalent to SAREF Actuator" ;
+
+                    owl:equivalentClass saref:Actuator .
 
 
 
@@ -1613,15 +1644,7 @@ s4ehaw:HealthDevice rdf:type owl:Class ;
                     
                     rdfs:label "Health Device" ;
                     
-                    rdfs:subClassOf <https://w3id.org/saref#FunctionRelated> .
-
-
-
-###  https://saref.etsi.org/s4ehaw/HealthWearable
-
-s4ehaw:HealthWearable rdf:type owl:Class ;
-                      
-                      rdfs:subClassOf s4wear:Wearable .
+                    rdfs:subClassOf saref:FunctionRelated .
 
 
 
@@ -1633,13 +1656,13 @@ s4ehaw:Helper rdf:type owl:Class ;
 
 
 
-###  https://saref.etsi.org/s4ehaw/Hub
+###  https://saref.etsi.org/s4ehaw/BanHub
 
-s4ehaw:Hub rdf:type owl:Class ;
+s4ehaw:BanHub rdf:type owl:Class ;
            
            rdfs:label "BAN Hub" ;
            
-           rdfs:subClassOf <https://w3id.org/saref#Device> .
+           rdfs:subClassOf s4ehaw:HealthDevice .
 
 
 
@@ -1685,7 +1708,7 @@ s4ehaw:Location rdf:type owl:Class ;
 
 s4ehaw:MeasurementCollectionSession rdf:type owl:Class ;
                                     
-                                    rdfs:subClassOf <https://w3id.org/saref#Task> .
+                                    rdfs:subClassOf saref:Task .
 
 
 
@@ -1775,7 +1798,7 @@ s4ehaw:PowerSource rdf:type owl:Class .
 
 s4ehaw:RemainderCommand rdf:type owl:Class ;
                         
-                        rdfs:subClassOf <https://w3id.org/saref#NotifyCommand> .
+                        rdfs:subClassOf saref:NotifyCommand .
 
 
 
@@ -1819,7 +1842,7 @@ s4ehaw:TimeSeriesMeasurements rdf:type owl:Class ;
                               
                               rdfs:label "Time series measurements" ;
                               
-                              rdfs:subClassOf <https://w3id.org/saref#Measurement> ,
+                              rdfs:subClassOf saref:Measurement ,
                                               [ rdf:type owl:Restriction ;
                                                 owl:onProperty s4ehaw:hasValues ;
                                                 owl:allValuesFrom xsd:float
@@ -1849,41 +1872,47 @@ s4ehaw:ValidityConstraint rdf:type owl:Class ;
 
 
 
-###  https://saref.etsi.org/s4wear/Wearable
+###  https://saref.etsi.org/s4ehaw/HealthWearable
 
-s4wear:Wearable rdf:type owl:Class ;
-                
-                rdfs:subClassOf <https://w3id.org/saref#Device> .
+s4ehaw:HealthWearable rdf:type owl:Class ;
+             
+                     rdfs:subClassOf s4ehaw:HealthDevice ;
+		     
+                     rdfs:label "Health-related Wearable, equivalent to SAREF4WEAR Wearable" ;
 
+                     owl:equivalentClass s4wear:Wearable .
 
 
-###  https://saref.etsi.org/saref/Function
+
+###  https://saref.etsi.org/saref/core/Function
 
 saref:Function rdf:type owl:Class .
 
 
 
-###  https://saref.etsi.org/saref/Sensor
+###  https://saref.etsi.org/s4ehaw/HealthSensor
 
-saref:Sensor rdf:type owl:Class ;
-             
-             rdfs:label "Health Sensor" ;
+s4ehaw:HealthSensor rdf:type owl:Class ;
              
-             rdfs:subClassOf <https://w3id.org/saref#Sensor> .
+                    rdfs:subClassOf s4ehaw:HealthDevice ;
+		     
+                    rdfs:label "Health-related Sensor, equivalent to SAREF Sensor" ;
+
+                    owl:equivalentClass saref:Sensor .
 
 
 
-###  https://w3id.org/def/saref4envi/FrequencyMeasurement
+###  https://saref.etsi.org/saref4envi/FrequencyMeasurement
 
 s4envi:FrequencyMeasurement rdf:type owl:Class ;
                             
-                            rdfs:subClassOf <https://w3id.org/saref#Measurement> .
+                            rdfs:subClassOf saref:Measurement .
 
 
 
-###  https://w3id.org/saref#PowerUnit
+### https://saref.etsi.org/saref/core/PowerUnit
 
-<https://w3id.org/saref#PowerUnit> rdfs:subClassOf <https://w3id.org/saref#PressureUnit> .
+saref:PowerUnit rdfs:subClassOf saref:PressureUnit .
 
 
 
-- 
GitLab