From 3d5ba777e34e27a9968b8b83911d76a8bdf80018 Mon Sep 17 00:00:00 2001
From: Marc Girod-Genet <marc.girod_genet@telecom-sudparis.eu>
Date: Fri, 1 May 2020 20:28:16 +0200
Subject: [PATCH] =?UTF-8?q?New=20version=20addressing=20issues=20#13=20to?=
 =?UTF-8?q?=20#81=20from=20Maxime=20Lefran=C3=A7ois.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ontology/saref4ehaw.ttl | 144 +++++++++++++++++-----------------------
 1 file changed, 60 insertions(+), 84 deletions(-)

diff --git a/ontology/saref4ehaw.ttl b/ontology/saref4ehaw.ttl
index a17ef1a..204cdf4 100644
--- a/ontology/saref4ehaw.ttl
+++ b/ontology/saref4ehaw.ttl
@@ -13,7 +13,7 @@
 @base <https://saref.etsi.org/saref4ehaw/> .
 
 <https://saref.etsi.org/saref4ehaw/> rdf:type owl:Ontology ;
-                                      owl:imports <https://saref.etsi.org/core/v3.1.1/> ;
+                                      owl:imports <https://saref.etsi.org/core/> ;
 				      dcterms:creator <http://www-public.imtbs-tsp.eu/~girodgen/> ;
                                       dcterms:contributor <https://www.linkedin.com/in/lina-nachabe-2b292457/> ,
 						          <https://research.utwente.nl/en/persons/jo%C3%A3o-luiz-moreira> ,
@@ -196,7 +196,7 @@ s4ehaw:hasHabit rdf:type owl:ObjectProperty ;
 s4ehaw:hasHub rdf:type owl:ObjectProperty ;
               rdfs:domain s4ehaw:Ban ;
               rdfs:range s4ehaw:BanHub ;
-              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:comment "A Body Area Network or BAN elects one hub that mainly plays the role of both a data concentrator and a network gateway."@en ;
               rdfs:label "has hub"@en .
 
 
@@ -224,8 +224,8 @@ s4ehaw:hasLocation rdf:type owl:ObjectProperty ;
                    rdfs:label "has location"@en .
 
 
-###  https://saref.etsi.org/saref4ehaw/hasMesurement
-s4ehaw:hasMesurement rdf:type owl:ObjectProperty ;
+###  https://saref.etsi.org/saref4ehaw/hasMeasurement
+s4ehaw:hasMeasurement rdf:type owl:ObjectProperty ;
                      rdfs:domain s4ehaw:Data ;
                      rdfs:range saref:Measurement ;
                      rdfs:comment "Defines the relationship between data that has measurement."@en ;
@@ -240,21 +240,11 @@ s4ehaw:hasMode rdf:type owl:ObjectProperty ;
                rdfs:label "has mode"@en .
 
 
-###  https://saref.etsi.org/saref4ehaw/hasOperatingConstraint
-s4ehaw:hasOperatingConstraint rdf:type owl:ObjectProperty ;
-                              rdfs:domain s4ehaw:HealthDevice ;
-                              rdfs:range s4ehaw:OperatingConstraint ;
-                              rdfs:comment "The operating constraints of a health device."@en ;
-                              rdfs:label "has operating constraint"@en .
-
-
 ###  https://saref.etsi.org/saref4ehaw/hasParticipant
 s4ehaw:hasParticipant rdf:type owl:ObjectProperty ;
                       rdfs:domain s4ehaw:MeasurementCollectionSession ;
-                      rdfs:range s4ehaw:HealthActor ,
-                                 s4ehaw:HealthDevice ;
-                      rdfs:comment "A measurement session has health actors as participants (caregiver controling the session, patient monitored during the session)."@en ,
-                                   "A measurement session has one or multiple health devices as participants (sensor, actuator, wearable)."@en ;
+                      rdfs:range s4ehaw:HealthActor ;
+                      rdfs:comment "A measurement session has health actors as participants (caregiver controling the session, patient monitored during the session)."@en ;
                       rdfs:label "has participant"@en .
 
 
@@ -385,7 +375,7 @@ s4envi:hasFrequencyMeasurement rdf:type owl:ObjectProperty ;
 ###  https://saref.etsi.org/saref4ehaw/activityDuration
 s4ehaw:activityDuration rdf:type owl:DatatypeProperty ;
                         rdfs:domain s4ehaw:Activity ;
-                        rdfs:range xsd:double ;
+                        rdfs:range xsd:duration ;
                         rdfs:comment "The duration of an activity, in second."@en ;
                         rdfs:label "activity duration"@en .
 
@@ -430,28 +420,28 @@ s4ehaw:availableRam rdf:type owl:DatatypeProperty ;
                     rdfs:label "available ram"@en .
 
 
-###  https://saref.etsi.org/saref4ehaw/baud
-s4ehaw:baud rdf:type owl:DatatypeProperty ;
+###  https://saref.etsi.org/saref4ehaw/transmissionRate
+s4ehaw:transmissionRate rdf:type owl:DatatypeProperty ;
             rdfs:domain s4ehaw:Interface ;
-            rdfs:range xsd:double ;
-            rdfs:comment "The baud rate of the interface, the number of bits transmitted by second."@en ;
-            rdfs:label "baud"@en .
+            rdfs:range xsd:long ;
+            rdfs:comment "The interface transmission rate of the interface, the number of bits transmitted by second."@en ;
+            rdfs:label "transmission rate"@en .
 
 
 ###  https://saref.etsi.org/saref4ehaw/dataSize
 s4ehaw:dataSize rdf:type owl:DatatypeProperty ;
                 rdfs:domain s4ehaw:Data ;
                 rdfs:range xsd:integer ;
-                rdfs:comment "The data size represents the size of the data e.g. 20 bits"@en ;
+                rdfs:comment "The data size represents the size of the data in bits"@en ;
                 rdfs:label "data size"@en .
 
 
-###  https://saref.etsi.org/saref4ehaw/density
-s4ehaw:density rdf:type owl:DatatypeProperty ;
+###  https://saref.etsi.org/saref4ehaw/banDensity
+s4ehaw:banDensity rdf:type owl:DatatypeProperty ;
                rdfs:domain s4ehaw:Ban ;
                rdfs:range xsd:long ;
                rdfs:comment "The BAN density, i.e. its number of node."@en ;
-               rdfs:label "density"@en .
+               rdfs:label "BAN density"@en .
 
 
 ###  https://saref.etsi.org/saref4ehaw/deviceTypeName
@@ -481,8 +471,8 @@ s4ehaw:dob rdf:type owl:DatatypeProperty ;
 ###  https://saref.etsi.org/saref4ehaw/dutyCycle
 s4ehaw:dutyCycle rdf:type owl:DatatypeProperty ;
                  rdfs:domain s4ehaw:ComputingPower ;
-                 rdfs:range xsd:float ;
-                 rdfs:comment "The duty cycle for each health device embedded processor in order to determine the processing speed."@en ;
+                 rdfs:range xsd:int ;
+                 rdfs:comment "The duty cycle for each health device embedded processor, in percent."@en ;
                  rdfs:label "duty cycle"@en .
 
 
@@ -506,7 +496,7 @@ s4ehaw:firstName rdf:type owl:DatatypeProperty ;
 s4ehaw:format rdf:type owl:DatatypeProperty ;
               rdfs:domain s4ehaw:Data ;
               rdfs:range xsd:anyURI ;
-              rdfs:comment "The format is a UDDI for a standard format like integer, memo, etc."@en ;
+              rdfs:comment "The format is a URI for a standard format like e.g. integer."@en ;
               rdfs:label "format"@en .
 
 
@@ -674,7 +664,7 @@ s4ehaw:lastName rdf:type owl:DatatypeProperty ;
 ###  https://saref.etsi.org/saref4ehaw/latency
 s4ehaw:latency rdf:type owl:DatatypeProperty ;
                rdfs:domain s4ehaw:MeasurementFunction ;
-               rdfs:range xsd:float ;
+               rdfs:range xsd:duration ;
                rdfs:comment "The latency is the time interval between the stimulation and response of a measurement function."@en ;
                rdfs:label "latency"@en .
 
@@ -682,7 +672,7 @@ s4ehaw:latency rdf:type owl:DatatypeProperty ;
 ###  https://saref.etsi.org/saref4ehaw/lifetime
 s4ehaw:lifetime rdf:type owl:DatatypeProperty ;
                 rdfs:domain s4ehaw:Ban ;
-                rdfs:range xsd:dateTime ;
+                rdfs:range xsd:duration ;
                 rdfs:comment "The BAN lifetime, e.g. BAN for entertainment purposes should have a lifetime of weeks or few years whereas BAN dedicated for assisted living or anomaly monitoring should last for many years."@en ;
                 rdfs:label "lifetime"@en .
 
@@ -699,7 +689,7 @@ s4ehaw:manufacturer rdf:type owl:DatatypeProperty ;
 s4ehaw:maximumFlash rdf:type owl:DatatypeProperty ;
                     rdfs:domain s4ehaw:ComputingPower ;
                     rdfs:range xsd:double ;
-                    rdfs:comment "Indicates the maximum flash memory space of a health device."@en ;
+                    rdfs:comment "Indicates the maximum flash memory space (in Go) of a health device."@en ;
                     rdfs:label "maximum flash"@en .
 
 
@@ -707,7 +697,7 @@ s4ehaw:maximumFlash rdf:type owl:DatatypeProperty ;
 s4ehaw:maximumRam rdf:type owl:DatatypeProperty ;
                   rdfs:domain s4ehaw:ComputingPower ;
                   rdfs:range xsd:double ;
-                  rdfs:comment "Indicates the maximum volatile memory space of a health device."@en ;
+                  rdfs:comment "Indicates the maximum volatile memory space (in Go) of a health device."@en ;
                   rdfs:label "maximum ram"@en .
 
 
@@ -795,15 +785,15 @@ s4ehaw:rechargeable rdf:type owl:DatatypeProperty ;
 s4ehaw:remainingBatteryLevel rdf:type owl:DatatypeProperty ;
                              rdfs:domain s4ehaw:HealthDevice ;
                              rdfs:range xsd:double ;
-                             rdfs:comment "The level of remaining battery (if any) for a health device. It is a dynamic attribute."@en ;
+                             rdfs:comment "The level of remaining battery (if any : in percent) for a health device. It is a dynamic attribute."@en ;
                              rdfs:label "remaining battery level"@en .
 
 
 ###  https://saref.etsi.org/saref4ehaw/sampleTime
 s4ehaw:sampleTime rdf:type owl:DatatypeProperty ;
                   rdfs:domain s4ehaw:MeasurementFunction ;
-                  rdfs:range xsd:float ;
-                  rdfs:comment "The sample time of a measurement function."@en ;
+                  rdfs:range xsd:int ;
+                  rdfs:comment "The sample time of a measurement function (a discrete integer)."@en ;
                   rdfs:label "sample time"@en .
 
 
@@ -875,8 +865,7 @@ voaf:Vocabulary rdf:type owl:Class .
 
 
 ###  http://xmlns.com/foaf/0.1/Agent
-foaf:Agent rdf:type owl:Class ;
-           owl:equivalentClass s4ehaw:HealthActor .
+foaf:Agent rdf:type owl:Class .
 
 
 ###  https://saref.etsi.org/saref4ehaw/Activity
@@ -889,12 +878,12 @@ s4ehaw:Activity rdf:type owl:Class ;
 s4ehaw:AlarmCommand rdf:type owl:Class ;
                     rdfs:subClassOf saref:Command ;
 		    rdfs:comment "A command corresponding to alarm sending."@en ;
-                    rdfs:label "Alarm comand"@en .
+                    rdfs:label "Alarm command"@en .
 
 
 ###  https://saref.etsi.org/saref4ehaw/Ban
 s4ehaw:Ban rdf:type owl:Class ;
-           rdfs:comment "Smart Body Area Network (BAN), as defined within ETSI SmartBAN TC (see ETSI TR 103 394)."@en ;
+           rdfs:comment "Body Area Network."@en ;
            rdfs:label "BAN"@en .
 
 
@@ -907,7 +896,7 @@ s4ehaw:BanApplicationDomain rdf:type owl:Class ;
 ###  https://saref.etsi.org/saref4ehaw/BanHub
 s4ehaw:BanHub rdf:type owl:Class ;
               rdfs:subClassOf s4ehaw:HealthDevice ;
-              rdfs:comment "Hub of the BAN, mainly playing the role of both a data concentrator and a network GW."@en ;
+              rdfs:comment "Hub of the BAN, mainly playing the role of both a data concentrator and a network gateway."@en ;
               rdfs:label "BAN hub" .
 
 
@@ -928,7 +917,7 @@ s4ehaw:Caregiver rdf:type owl:Class ;
 
 ###  https://saref.etsi.org/saref4ehaw/ChronicDisease
 s4ehaw:ChronicDisease rdf:type owl:Class  ;
-                      rdfs:comment "For chronic disease modelling chronic, e.g. Diabetes, azma..."@en ;
+                      rdfs:comment "For chronic disease modelling chronic, e.g. Diabetes, asthma..."@en ;
                       rdfs:label "Chronic disease"@en .
 
 
@@ -985,7 +974,7 @@ s4ehaw:EventDrivenBanCommunicationFunction rdf:type owl:Class ;
 
 ###  https://saref.etsi.org/saref4ehaw/FunctionalDevice
 s4ehaw:FunctionalDevice rdf:type owl:Class ;
-                        rdfs:subClassOf saref:FunctionRelated ;
+                        rdfs:subClassOf saref:Device ;
                         rdfs:comment "Functional Devices are non-purely eHealth/ageing-well devices that can be used for modelling/detecting activities or behaviours of patients/users, like for example beacons that can detect indoor positioning of a patient in a house."@en ;
                         rdfs:label "Functional device"@en .
 
@@ -998,13 +987,13 @@ s4ehaw:Habit rdf:type owl:Class ;
 
 ###  https://saref.etsi.org/saref4ehaw/HealthActor
 s4ehaw:HealthActor rdf:type owl:Class ;
-                   rdfs:comment "The eHealth system actors like e.g. caregivers, patients, users, helpers..."@en ;
+                   rdfs:subClassOf foaf:Agent ;
+                   rdfs:comment "The eHealth actors like e.g. caregivers, patients, users, helpers..."@en ;
                    rdfs:label "Health actor"@en .
 
 
 ###  https://saref.etsi.org/saref4ehaw/HealthActuator
 s4ehaw:HealthActuator rdf:type owl:Class ;
-                      owl:equivalentClass saref:Actuator ;
                       rdfs:subClassOf s4ehaw:HealthDevice ;
                       rdfs:comment "Health-related Actuator, equivalent to SAREF Actuator"@en ;
                       rdfs:label "Health actuator"@en .
@@ -1012,14 +1001,13 @@ s4ehaw:HealthActuator rdf:type owl:Class ;
 
 ###  https://saref.etsi.org/saref4ehaw/HealthDevice
 s4ehaw:HealthDevice rdf:type owl:Class ;
-                    rdfs:subClassOf saref:FunctionRelated ;
+                    rdfs:subClassOf saref:Device ;
                     rdfs:comment "Health Devices, e.g. BAN hub, health sensor/actuator/Wereable."@en ;
                     rdfs:label "Health Device"@en .
 
 
 ###  https://saref.etsi.org/saref4ehaw/HealthSensor
 s4ehaw:HealthSensor rdf:type owl:Class ;
-                    owl:equivalentClass saref:Sensor ;
                     rdfs:subClassOf s4ehaw:HealthDevice ;
 		    rdfs:comment "Health-related Sensor, equivalent to SAREF Sensor."@en ;
                     rdfs:label "Health sensor"@en .
@@ -1027,7 +1015,6 @@ s4ehaw:HealthSensor rdf:type owl:Class ;
 
 ###  https://saref.etsi.org/saref4ehaw/HealthWearable
 s4ehaw:HealthWearable rdf:type owl:Class ;
-                      owl:equivalentClass s4wear:Wearable ;
                       rdfs:subClassOf s4ehaw:HealthDevice ;
 		      rdfs:comment  "Health-related Wearable, equivalent to SAREF4WEAR Wearable." @en ;
                       rdfs:label "Health wereable"@en .
@@ -1042,7 +1029,7 @@ s4ehaw:Helper rdf:type owl:Class ;
 
 ###  https://saref.etsi.org/saref4ehaw/Impairment
 s4ehaw:Impairment rdf:type owl:Class ;
-                  rdfs:comment "Defined for users (that can in particular be patients) impairments modelling, e.g. deaf impairment, hearing impairement, handling impairment, visual impairement, blindI impairement, mobility impairement..."@en ;
+                  rdfs:comment "Defined for users (that can in particular be patients) impairments modelling, e.g. deaf impairment, hearing impairment, handling impairment, visual impairment, blindI impairment, mobility impairment..."@en ;
                   rdfs:label "Impairment" .
 
 
@@ -1068,7 +1055,7 @@ s4ehaw:LegalConstraint rdf:type owl:Class ;
 
 ###  https://saref.etsi.org/saref4ehaw/Location
 s4ehaw:Location rdf:type owl:Class ;
-                rdfs:comment "The location, i.e. a position against the body (on - body surface – or in the body – implant –) and a physical location (i.e. a postal address and/or a current geolocation geolocation when available)."@en ;
+                rdfs:comment "The location, i.e. a position against the body (on - body surface – or in the body – implant –) and a physical location (i.e. a postal address and/or a current geolocation when available)."@en ;
                 rdfs:label "Location"@en .
 
 
@@ -1207,20 +1194,16 @@ s4ehaw:ValidityConstraint rdf:type owl:Class ;
                           rdfs:label "Validity constraint"@en .
 
 
-###  https://saref.etsi.org/saref/core/Actuator
-saref:Actuator rdf:type owl:Class .
-
-
 ###  https://saref.etsi.org/saref/core/Command
 saref:Command rdf:type owl:Class .
 
 
-###  https://saref.etsi.org/saref/core/Function
-saref:Function rdf:type owl:Class .
+###  https://saref.etsi.org/saref/core/Device
+saref:Device rdf:type owl:Class .
 
 
-###  https://saref.etsi.org/saref/core/FunctionRelated
-saref:FunctionRelated rdf:type owl:Class .
+###  https://saref.etsi.org/saref/core/Function
+saref:Function rdf:type owl:Class .
 
 
 ###  https://saref.etsi.org/saref/core/Measurement
@@ -1235,10 +1218,6 @@ saref:NotifyCommand rdf:type owl:Class .
 saref:Property rdf:type owl:Class .
 
 
-###  https://saref.etsi.org/saref/core/Sensor
-saref:Sensor rdf:type owl:Class .
-
-
 ###  https://saref.etsi.org/saref/core/Service
 saref:Service rdf:type owl:Class .
 
@@ -1266,9 +1245,6 @@ s4envi:FrequencyMeasurement rdf:type owl:Class ;
 s4envi:FrequencyUnit rdf:type owl:Class .
 
 
-###  https://saref.etsi.org/saref4wear/Wearable
-s4wear:Wearable rdf:type owl:Class .
-
 
 #################################################################
 #    Individuals
@@ -1433,39 +1409,39 @@ s4ehaw:walking rdf:type owl:NamedIndividual ,
                         rdfs:label "Walking"@en .
 
 
-###  https://saref.etsi.org/saref4ehaw/Armpit
-s4ehaw:Armpit rdf:type owl:NamedIndividual ,
+###  https://saref.etsi.org/saref4ehaw/armpitLocation
+s4ehaw:armpitLocation rdf:type owl:NamedIndividual ,
                  s4ehaw:BodySurfaceLocation ;
-                        rdfs:comment "Armpit, a user body surface location."@en ;
-                        rdfs:label "Armpit"@en .
+                        rdfs:comment "Armpit location, a user body surface location."@en ;
+                        rdfs:label "Armpit location"@en .
 
 
-###  https://saref.etsi.org/saref4ehaw/Azma
-s4ehaw:Azma rdf:type owl:NamedIndividual ,
+###  https://saref.etsi.org/saref4ehaw/asthma
+s4ehaw:asthma rdf:type owl:NamedIndividual ,
                      s4ehaw:ChronicDisease ;
-                     rdfs:comment "Azma, a chronical disease that some users can have."@en ;
-                     rdfs:label "Azma"@en .
+                     rdfs:comment "Asthma, a chronical disease that some users can have."@en ;
+                     rdfs:label "Asthma"@en .
 
 
-###  https://saref.etsi.org/saref4ehaw/Diabetes
-s4ehaw:Diabetes rdf:type owl:NamedIndividual ,
+###  https://saref.etsi.org/saref4ehaw/diabetes
+s4ehaw:diabetes rdf:type owl:NamedIndividual ,
                          s4ehaw:ChronicDisease ;
                          rdfs:comment "Diabetes, a chronical disease that some users can have."@en ;
                          rdfs:label "Diabetes"@en .
 
 
-###  https://saref.etsi.org/saref4ehaw/Percent
-s4ehaw:Percent rdf:type owl:NamedIndividual ,
+###  https://saref.etsi.org/saref4ehaw/percent
+s4ehaw:percent rdf:type owl:NamedIndividual ,
                         saref:UnitOfMeasure ;
                         rdfs:comment "Percent, a unit of measure used in eHealth, e.g. for SPO2 level."@en ;
                         rdfs:label "Percent"@en .
 
 
-###  https://saref.etsi.org/saref4ehaw/Wrist
-s4ehaw:Wrist rdf:type owl:NamedIndividual ,
+###  https://saref.etsi.org/saref4ehaw/wristLocation
+s4ehaw:wristLocation rdf:type owl:NamedIndividual ,
                       s4ehaw:BodySurfaceLocation ;
                       rdfs:comment "Wrist, a user body surface location."@en ;
-                      rdfs:label "Wrist"@en .
+                      rdfs:label "Wrist location"@en .
 
 
 ###  https://saref.etsi.org/saref4ehaw/bpm
@@ -1475,11 +1451,11 @@ s4ehaw:bpm rdf:type owl:NamedIndividual ,
                     rdfs:label "bpm"@en .
 
 
-###  https://saref.etsi.org/saref4ehaw/degreeCelcius
-s4ehaw:degreeCelcius rdf:type owl:NamedIndividual ,
+###  https://saref.etsi.org/saref4ehaw/degreeCelsius
+s4ehaw:degreeCelsius rdf:type owl:NamedIndividual ,
                               saref:UnitOfMeasure ;
-                              rdfs:comment "Degree celcius, a unit of measure often used in eHealth, e.g. for body temperature."@en ;
-                              rdfs:label "Degree celcius"@en .
+                              rdfs:comment "Degree celsius, a unit of measure often used in eHealth, e.g. for body temperature."@en ;
+                              rdfs:label "Degree celsius"@en .
 
 
 ###  https://saref.etsi.org/saref4ehaw/mmHG
-- 
GitLab