@prefix s4ehawInst: <https://saref.etsi.org/saref4ehaw/examples/UC3-ECG/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix saref: <https://saref.etsi.org/core/v3.1.1/> .
@prefix s4ehaw: <https://saref.etsi.org/saref4ehaw/> .
@prefix s4envi: <https://saref.etsi.org/saref4envi/> .
@prefix s4wear: <https://saref.etsi.org/saref4wear/> .
@base <https://saref.etsi.org/saref4ehaw/examples/UC3-ECG/> .



####################################################################################################################################
#
#    In this SAREF4EHAW example/instance (from SAREF4EHAW UC3 Early Warning System - EWS - and Cardiovascular Accidents detection),
#    the EWS collects data from an e-Health solution that allows monitoring the ECG data of a person (a driver) using the device.
#    Particularly, the ECG solution is the Shimmer3 ECG, which is composed by an ECG device, an application responsible for sending
#    the high-frequency data (in this example 256Hz) from the device to a service (as a mobile app) via Bluetooth.
#
#    The mobile app aggregates the ECG data and sends the aggregated data to an IoT Hub (a cloud gateway), which follows the
#    publish/subscribe pattern, allowing a service in the cloud to detect and warn possible emergency situations with the driver.
#
#    Creator/contributor: Joao Moreira  https://research.utwente.nl/en/persons/jo%C3%A3o-luiz-moreira
#
#    Publisher: https://www.etsi.org/
#
####################################################################################################################################


<https://saref.etsi.org/saref4ehaw/examples/UC3-ECG/> rdf:type owl:Ontology ;
                                                    owl:imports <https://saref.etsi.org/saref4ehaw/> .





#################################################################
#
#    Individuals
#
#################################################################


###  http://www.wurvoc.org/vocabularies/om-1.8/hertz

<http://www.wurvoc.org/vocabularies/om-1.8/hertz> rdf:type owl:NamedIndividual ,
                                                           s4envi:FrequencyUnit .



###  https://saref.etsi.org/s4ehaw/examples/UC3-ECG/Caregiver_Id_ABCD0001

s4ehawInst:Caregiver_Id_ABCD0001 rdf:type owl:NamedIndividual ,
                                      s4ehaw:Caregiver ;
                             
                             s4ehaw:hasPhysicalLocation s4ehawInst:Location_X1_Y2 ;
                             
                             s4ehaw:hasActivity s4ehawInst:RecordingECGSession_01 .



###  https://saref.etsi.org/saref4ehaw/examples/UC3-ECG/AcceleroemeterX_ECGDevice

s4ehawInst:AcceleroemeterX_ECGDevice rdf:type owl:NamedIndividual ,
                                              saref:Sensor .



###  https://saref.etsi.org/saref4ehaw/examples/UC3-ECG/AcceleroemeterY_ECGDevice

s4ehawInst:AcceleroemeterY_ECGDevice rdf:type owl:NamedIndividual ,
                                              saref:Sensor .



###  https://saref.etsi.org/saref4ehaw/examples/UC3-ECG/AcceleroemeterZ_ECGDevice

s4ehawInst:AcceleroemeterZ_ECGDevice rdf:type owl:NamedIndividual ,
                                              saref:Sensor .



###  https://saref.etsi.org/saref4ehaw/examples/UC3-ECG/Driver_Id_XPTO0001

s4ehawInst:Driver_Id_XPTO0001 rdf:type owl:NamedIndividual ,
                                       s4ehaw:HealthActor ;
                              
                              s4ehaw:hasActivity s4ehawInst:RecordingECGSession_01 .



###  https://saref.etsi.org/saref4ehaw/examples/UC3-ECG/ECGLead_III_code131389

s4ehawInst:ECGLead_III_code131389 rdf:type owl:NamedIndividual ,
                                           saref:Sensor .



###  https://saref.etsi.org/saref4ehaw/examples/UC3-ECG/ECGLead_II_code131330

s4ehawInst:ECGLead_II_code131330 rdf:type owl:NamedIndividual ,
                                          saref:Sensor .



###  https://saref.etsi.org/saref4ehaw/examples/UC3-ECG/ECGLead_I_code131329

s4ehawInst:ECGLead_I_code131329 rdf:type owl:NamedIndividual ,
                                         saref:Sensor ;
                                
                                saref:makesMeasurement s4ehawInst:ECGMeasurementsSeries_Example001 .



###  https://saref.etsi.org/saref4ehaw/examples/UC3-ECG/ECGLead_Vx_RL_code131389

s4ehawInst:ECGLead_Vx_RL_code131389 rdf:type owl:NamedIndividual ,
                                             saref:Sensor .



###  https://saref.etsi.org/saref4ehaw/examples/UC3-ECG/ECGMeasurementsSeries_Example001

s4ehawInst:ECGMeasurementsSeries_Example001 rdf:type owl:NamedIndividual ,
                                                     s4ehaw:TimeSeriesMeasurements ;
                                            
                                            saref:hasTimestamp "2018-04-22T22:15:30"^^xsd:dateTime ;
                                            
                                            s4ehaw:hasValues "2037" ,
                                                             "2062" ,
                                                             "2043" ,
                                                             "2060" ,
                                                             "2041" ,
                                                             "2047" ;
                                            
                                            saref:isMeasuredIn s4ehawInst:ElectricPotential_MilliVolts ;
                                            
                                            s4envi:hasFrequencyMeasurement s4ehawInst:FrequencyOf256Hertz ;
                                            
                                            saref:relatesToProperty s4ehawInst:HeartElectricalActivity_Person .



###  https://saref.etsi.org/saref4ehaw/examples/UC3-ECG/ECGdeviceFrequency

s4ehawInst:ECGdeviceFrequency rdf:type owl:NamedIndividual ,
                                       s4envi:Frequency .



###  https://saref.etsi.org/saref4ehaw/examples/UC3-ECG/ElectricPotential_MilliVolts

s4ehawInst:ElectricPotential_MilliVolts rdf:type owl:NamedIndividual ,
                                                 saref:UnitOfMeasure ;
                                        
                                        rdfs:label "MilliVolts (mV)" .



###  https://saref.etsi.org/saref4ehaw/examples/UC3-ECG/FrequencyOf256Hertz

s4ehawInst:FrequencyOf256Hertz rdf:type owl:NamedIndividual ,
                                        s4envi:FrequencyMeasurement ;
                               
                               rdfs:label "256Hz frequency" ;
                               
                               saref:hasValue "256"^^xsd:int ;
                               
                               saref:isMeasuredIn <http://www.wurvoc.org/vocabularies/om-1.8/hertz> ;
                               
                               saref:relatesToProperty s4ehawInst:ECGdeviceFrequency .



###  https://saref.etsi.org/saref4ehaw/examples/UC3-ECG/HeartElectricalActivity_Person

s4ehawInst:HeartElectricalActivity_Person rdf:type owl:NamedIndividual ,
                                                   saref:Property .



###  https://saref.etsi.org/saref4ehaw/examples/UC3-ECG/Location_X1_Y2

s4ehawInst:Location_X1_Y2 rdf:type owl:NamedIndividual ,
                                   s4ehaw:PhysicalLocation .



###  https://saref.etsi.org/saref4ehaw/examples/UC3-ECG/RecordingECGSession_01

s4ehawInst:RecordingECGSession_01 rdf:type owl:NamedIndividual ,
                                           s4ehaw:MeasurementCollectionSession ;
                                  
                                  rdfs:label "Recording ECG session 0001" ;
                                  
                                  rdfs:comment "An ECG recording session taken during a trip (truck driver)." ;
                                  
                                  saref:consistsOf s4ehawInst:ECGMeasurementsSeries_Example001 .



###  https://saref.etsi.org/saref4ehaw/examples/UC3-ECG/Shimmer3ECG_unit_T9JRN42

s4ehawInst:Shimmer3ECG_unit_T9JRN42 rdf:type owl:NamedIndividual ,
                                             s4ehaw:HealthDevice ,
                                             s4ehaw:HealthWearable ;
                                    
                                    rdfs:label "ECG Device: Shimmer3 ECG unit T9J-RN42" ;
                                    
                                    rdfs:comment "Shimmer3 EXG unit: device used for INTER-IoT-EWS project. " ;
                                    
                                    rdfs:seeAlso "http://www.shimmersensing.com/products/ecg-development-kit#specifications-tab" ;
                                    
                                    saref:consistsOf s4ehawInst:AcceleroemeterX_ECGDevice ,
                                                     s4ehawInst:AcceleroemeterY_ECGDevice ,
                                                     s4ehawInst:AcceleroemeterZ_ECGDevice ,
                                                     s4ehawInst:ECGLead_III_code131389 ,
                                                     s4ehawInst:ECGLead_II_code131330 ,
                                                     s4ehawInst:ECGLead_I_code131329 ,
                                                     s4ehawInst:ECGLead_Vx_RL_code131389 ;
                                    
                                    s4envi:hasFrequencyMeasurement s4ehawInst:FrequencyOf256Hertz ;
                                    
                                    saref:accomplishes s4ehawInst:RecordingECGSession_01 .


###  Generated by the OWL API (version 3.4.2) http://owlapi.sourceforge.net

