@prefix : <https://w3id.org/pghdprovo#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@base <https://w3id.org/pghdprovo#> .

<https://w3id.org/pghdprovo> rdf:type owl:Ontology ;
                              owl:versionIRI <https://w3id.org/pghdprovo/1.0> ;
                              <http://purl.org/dc/terms/bibliographicCitation> "Kawu, A.A., O’Sullivan, D. and Hederman, L., 2025, June. PGHDProvO: Provenance Based Ontology for Sharing Patient Generated Health Data (PGHD) with an Electronic Health Record (EHR). In International Conference on Artificial Intelligence in Medicine (pp. 197-201). Cham: Springer Nature Switzerland." ;
                              <http://purl.org/dc/terms/contributor> "Dympna OSullivan, Technological University Dublin" ,
                                                                     "Lucy Hederman, Trinity College Dublin" ;
                              <http://purl.org/dc/terms/created> "2021-05-24"^^xsd:date ;
                              <http://purl.org/dc/terms/creator> "Abdullahi Abubakar Kawu" ;
                              <http://purl.org/dc/terms/description> "Patient Generated Health Data (PGHD) refer to health data collected by patient or their relatives. This ontology seeks to capture information about the data, the provenance and data quality associated with PGHD shared with an EHR."@en ;
                              <http://purl.org/dc/terms/issued> "2024-05-24"^^xsd:date ;
                              <http://purl.org/dc/terms/license> <https://creativecommons.org/licenses/by/4.0/> ;
                              <http://purl.org/dc/terms/modified> "2025-11-24"^^xsd:date ;
                              <http://purl.org/dc/terms/publisher> "Technological University Dublin" ;
                              <http://purl.org/dc/terms/source> "https://doi.org/10.1016/j.ijmedinf.2018.10.006" ,
                                                                "https://www.w3.org/TR/prov-o/" ;
                              <http://purl.org/dc/terms/title> "PGHDPROVO" ;
                              <http://purl.org/ontology/bibo/doi> "10.1007/978-3-031-95841-0_37"@en ;
                              <http://purl.org/ontology/bibo/status> "http://purl.org/ontology/bibo/status/published" ;
                              <http://purl.org/vocab/vann/preferredNamespacePrefix> "pghdprovo" ;
                              <http://purl.org/vocab/vann/preferredNamespaceUri> "https://w3id.org/pghdprovo#" ;
                              rdfs:label "Patient Generated Health Data Provenance Ontology"@en ;
                              owl:priorVersion <https://w3id.org/pghdprovo/1.0> ;
                              owl:versionInfo "1.0" ;
                              <http://xmlns.com/foaf/0.1/logo> <https://github.com/abdullahikawu/pghdprovo/blob/main/pghdprovo-logo.png?raw=true> ;
                              <https://schema.org/includedInDataCatalog> "http://bioportal.biootology.org/" ;
                              <https://w3id.org/mod#createdWith> <https://chowlk.linkeddata.es/> .

#################################################################
#    Annotation properties
#################################################################

###  http://purl.org/dc/terms/bibliographicCitation
<http://purl.org/dc/terms/bibliographicCitation> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/contributor
<http://purl.org/dc/terms/contributor> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/created
<http://purl.org/dc/terms/created> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/creator
<http://purl.org/dc/terms/creator> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/description
<http://purl.org/dc/terms/description> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/issued
<http://purl.org/dc/terms/issued> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/license
<http://purl.org/dc/terms/license> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/modified
<http://purl.org/dc/terms/modified> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/publisher
<http://purl.org/dc/terms/publisher> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/source
<http://purl.org/dc/terms/source> rdf:type owl:AnnotationProperty .


###  http://purl.org/dc/terms/title
<http://purl.org/dc/terms/title> rdf:type owl:AnnotationProperty .


###  http://purl.org/ontology/bibo/doi
<http://purl.org/ontology/bibo/doi> rdf:type owl:AnnotationProperty .


###  http://purl.org/ontology/bibo/status
<http://purl.org/ontology/bibo/status> rdf:type owl:AnnotationProperty .


###  http://purl.org/vocab/vann/preferredNamespacePrefix
<http://purl.org/vocab/vann/preferredNamespacePrefix> rdf:type owl:AnnotationProperty .


###  http://purl.org/vocab/vann/preferredNamespaceUri
<http://purl.org/vocab/vann/preferredNamespaceUri> rdf:type owl:AnnotationProperty .


###  http://www.w3.org/2002/07/owl#versionInfo
owl:versionInfo rdf:type owl:AnnotationProperty .


###  http://www.w3.org/2003/06/sw-vocab-status/ns#term_status
<http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> rdf:type owl:AnnotationProperty .


###  http://www.w3.org/ns/prov#category
<http://www.w3.org/ns/prov#category> rdf:type owl:AnnotationProperty .


###  http://www.w3.org/ns/prov#component
<http://www.w3.org/ns/prov#component> rdf:type owl:AnnotationProperty .


###  http://www.w3.org/ns/prov#constraints
<http://www.w3.org/ns/prov#constraints> rdf:type owl:AnnotationProperty .


###  http://www.w3.org/ns/prov#definition
<http://www.w3.org/ns/prov#definition> rdf:type owl:AnnotationProperty .


###  http://www.w3.org/ns/prov#dm
<http://www.w3.org/ns/prov#dm> rdf:type owl:AnnotationProperty .


###  http://www.w3.org/ns/prov#editorialNote
<http://www.w3.org/ns/prov#editorialNote> rdf:type owl:AnnotationProperty .


###  http://www.w3.org/ns/prov#inverse
<http://www.w3.org/ns/prov#inverse> rdf:type owl:AnnotationProperty .


###  http://www.w3.org/ns/prov#n
<http://www.w3.org/ns/prov#n> rdf:type owl:AnnotationProperty .


###  http://www.w3.org/ns/prov#qualifiedForm
<http://www.w3.org/ns/prov#qualifiedForm> rdf:type owl:AnnotationProperty .


###  http://xmlns.com/foaf/0.1/logo
<http://xmlns.com/foaf/0.1/logo> rdf:type owl:AnnotationProperty .


###  https://schema.org/includedInDataCatalog
<https://schema.org/includedInDataCatalog> rdf:type owl:AnnotationProperty .


###  https://w3id.org/mod#createdWith
<https://w3id.org/mod#createdWith> rdf:type owl:AnnotationProperty .


#################################################################
#    Datatypes
#################################################################

###  http://www.w3.org/2001/XMLSchema#date
xsd:date rdf:type rdfs:Datatype .


#################################################################
#    Object Properties
#################################################################

###  http://www.w3.org/ns/prov#actedOnBehalfOf
<http://www.w3.org/ns/prov#actedOnBehalfOf> rdf:type owl:ObjectProperty ;
                                            rdfs:subPropertyOf <http://www.w3.org/ns/prov#wasInfluencedBy> ;
                                            owl:inverseOf :hadDelegate ;
                                            rdfs:domain <http://www.w3.org/ns/prov#Agent> ;
                                            rdfs:range <http://www.w3.org/ns/prov#Agent> ;
                                            rdfs:comment "An object property to express the accountability of an agent towards another agent. The subordinate agent acted on behalf of the responsible agent in an actual activity. "@en ;
                                            rdfs:isDefinedBy <http://www.w3.org/ns/prov-o#> ;
                                            rdfs:label "actedOnBehalfOf" ;
                                            <http://www.w3.org/ns/prov#category> "starting-point" ;
                                            <http://www.w3.org/ns/prov#component> "agents-responsibility" ;
                                            <http://www.w3.org/ns/prov#inverse> "hadDelegate" ;
                                            <http://www.w3.org/ns/prov#qualifiedForm> <http://www.w3.org/ns/prov#Delegation> ,
                                                                                      <http://www.w3.org/ns/prov#qualifiedDelegation> .


###  http://www.w3.org/ns/prov#generated
<http://www.w3.org/ns/prov#generated> rdf:type owl:ObjectProperty ;
                                      rdfs:domain owl:Thing ;
                                      rdfs:range owl:Thing ;
                                      rdfs:comment "Relates an activity to an entity that it generated."@en ;
                                      rdfs:label "generated" .


###  http://www.w3.org/ns/prov#used
<http://www.w3.org/ns/prov#used> rdf:type owl:ObjectProperty ;
                                 rdfs:subPropertyOf <http://www.w3.org/ns/prov#wasInfluencedBy> ;
                                 rdfs:domain <http://www.w3.org/ns/prov#Activity> ;
                                 rdfs:range <http://www.w3.org/ns/prov#Entity> ;
                                 rdfs:comment "A prov:Entity that was used by this prov:Activity. For example, :baking prov:used :spoon, :egg, :oven ."@en ;
                                 rdfs:isDefinedBy <http://www.w3.org/ns/prov-o#> ;
                                 rdfs:label "used" ;
                                 <http://www.w3.org/ns/prov#category> "starting-point" ;
                                 <http://www.w3.org/ns/prov#component> "entities-activities" ;
                                 <http://www.w3.org/ns/prov#inverse> "wasUsedBy" ;
                                 <http://www.w3.org/ns/prov#qualifiedForm> <http://www.w3.org/ns/prov#Usage> ,
                                                                           <http://www.w3.org/ns/prov#qualifiedUsage> .


###  http://www.w3.org/ns/prov#wasAssociatedWith
<http://www.w3.org/ns/prov#wasAssociatedWith> rdf:type owl:ObjectProperty ;
                                              rdfs:subPropertyOf <http://www.w3.org/ns/prov#wasInfluencedBy> ;
                                              owl:inverseOf :associatedWith ;
                                              rdfs:domain <http://www.w3.org/ns/prov#Activity> ;
                                              rdfs:range <http://www.w3.org/ns/prov#Agent> ;
                                              rdfs:comment "An prov:Agent that had some (unspecified) responsibility for the occurrence of this prov:Activity."@en ;
                                              rdfs:isDefinedBy <http://www.w3.org/ns/prov-o#> ;
                                              rdfs:label "wasAssociatedWith" ;
                                              <http://www.w3.org/ns/prov#category> "starting-point" ;
                                              <http://www.w3.org/ns/prov#component> "agents-responsibility" ;
                                              <http://www.w3.org/ns/prov#inverse> "wasAssociateFor" ;
                                              <http://www.w3.org/ns/prov#qualifiedForm> <http://www.w3.org/ns/prov#Association> ,
                                                                                        <http://www.w3.org/ns/prov#qualifiedAssociation> .


###  http://www.w3.org/ns/prov#wasAttributedTo
<http://www.w3.org/ns/prov#wasAttributedTo> rdf:type owl:ObjectProperty ;
                                            rdfs:subPropertyOf <http://www.w3.org/ns/prov#wasInfluencedBy> ;
                                            owl:inverseOf :contributed ;
                                            rdfs:domain <http://www.w3.org/ns/prov#Entity> ;
                                            rdfs:range <http://www.w3.org/ns/prov#Agent> ;
                                            rdfs:comment "Attribution is the ascribing of an entity to an agent."@en ;
                                            rdfs:isDefinedBy <http://www.w3.org/ns/prov-o#> ;
                                            rdfs:label "wasAttributedTo" ;
                                            <http://www.w3.org/ns/prov#category> "starting-point" ;
                                            <http://www.w3.org/ns/prov#component> "agents-responsibility" ;
                                            <http://www.w3.org/ns/prov#definition> "Attribution is the ascribing of an entity to an agent."@en ;
                                            <http://www.w3.org/ns/prov#inverse> "contributed" ;
                                            <http://www.w3.org/ns/prov#qualifiedForm> <http://www.w3.org/ns/prov#Attribution> ,
                                                                                      <http://www.w3.org/ns/prov#qualifiedAttribution> .

[ rdf:type owl:Axiom ;
   owl:annotatedSource <http://www.w3.org/ns/prov#wasAttributedTo> ;
   owl:annotatedProperty rdfs:subPropertyOf ;
   owl:annotatedTarget <http://www.w3.org/ns/prov#wasInfluencedBy> ;
   rdfs:comment "Attribution is a particular case of trace (see http://www.w3.org/TR/prov-dm/#concept-trace), in the sense that it links an entity to the agent that ascribed it." ;
   <http://www.w3.org/ns/prov#definition> "IF wasAttributedTo(e2,ag1,aAttr) holds, THEN wasInfluencedBy(e2,ag1) also holds. "
 ] .


###  http://www.w3.org/ns/prov#wasDerivedFrom
<http://www.w3.org/ns/prov#wasDerivedFrom> rdf:type owl:ObjectProperty ;
                                           rdfs:subPropertyOf <http://www.w3.org/ns/prov#wasInfluencedBy> ;
                                           owl:inverseOf :isSourceOf ;
                                           rdfs:domain <http://www.w3.org/ns/prov#Entity> ;
                                           rdfs:range <http://www.w3.org/ns/prov#Entity> ;
                                           rdfs:comment "The more specific subproperties of prov:wasDerivedFrom (i.e., prov:wasQuotedFrom, prov:wasRevisionOf, prov:hadPrimarySource) should be used when applicable."@en ;
                                           rdfs:isDefinedBy <http://www.w3.org/ns/prov-o#> ;
                                           rdfs:label "wasDerivedFrom" ;
                                           <http://www.w3.org/ns/prov#category> "starting-point" ;
                                           <http://www.w3.org/ns/prov#component> "derivations" ;
                                           <http://www.w3.org/ns/prov#definition> "A derivation is a transformation of an entity into another, an update of an entity resulting in a new one, or the construction of a new entity based on a pre-existing entity."@en ;
                                           <http://www.w3.org/ns/prov#inverse> "hadDerivation" ;
                                           <http://www.w3.org/ns/prov#qualifiedForm> <http://www.w3.org/ns/prov#Derivation> ,
                                                                                     <http://www.w3.org/ns/prov#qualifiedDerivation> .

[ rdf:type owl:Axiom ;
   owl:annotatedSource <http://www.w3.org/ns/prov#wasDerivedFrom> ;
   owl:annotatedProperty rdfs:subPropertyOf ;
   owl:annotatedTarget <http://www.w3.org/ns/prov#wasInfluencedBy> ;
   rdfs:comment "Derivation is a particular case of trace (see http://www.w3.org/TR/prov-dm/#term-trace), since it links an entity to another entity that contributed to its existence."
 ] .


###  http://www.w3.org/ns/prov#wasGeneratedBy
<http://www.w3.org/ns/prov#wasGeneratedBy> rdf:type owl:ObjectProperty ;
                                           rdfs:subPropertyOf <http://www.w3.org/ns/prov#wasInfluencedBy> ;
                                           rdfs:domain <http://www.w3.org/ns/prov#Entity> ;
                                           rdfs:range <http://www.w3.org/ns/prov#Activity> ;
                                           rdfs:comment "Indicates that an entity was generated by an activity."@en ;
                                           rdfs:isDefinedBy <http://www.w3.org/ns/prov-o#> ;
                                           rdfs:label "wasGeneratedBy" ;
                                           <http://www.w3.org/ns/prov#category> "starting-point" ;
                                           <http://www.w3.org/ns/prov#component> "entities-activities" ;
                                           <http://www.w3.org/ns/prov#inverse> "generated" ;
                                           <http://www.w3.org/ns/prov#qualifiedForm> <http://www.w3.org/ns/prov#Generation> ,
                                                                                     <http://www.w3.org/ns/prov#qualifiedGeneration> .


###  http://www.w3.org/ns/prov#wasInfluencedBy
<http://www.w3.org/ns/prov#wasInfluencedBy> rdf:type owl:ObjectProperty ;
                                            rdfs:domain owl:Thing ;
                                            rdfs:range owl:Thing ;
                                            rdfs:comment "Indicates that one entity, activity, or agent was influenced by another."@en ;
                                            rdfs:label "was influenced by" .


###  https://w3id.org/pghdprovo#PGHDRequestedBy
:PGHDRequestedBy rdf:type owl:ObjectProperty ;
                 owl:inverseOf :requested ;
                 rdfs:domain :PGHDRequest ;
                 rdfs:range :Practitioner ;
                 rdfs:comment "A object property that declares the prov:agent responsible for the initializing a request for acquiring of patient Health data." ;
                 rdfs:label "PGHD requested by" .


###  https://w3id.org/pghdprovo#associatedWith
:associatedWith rdf:type owl:ObjectProperty ;
                rdfs:domain <http://www.w3.org/ns/prov#Agent> ;
                rdfs:range <http://www.w3.org/ns/prov#Activity> ;
                rdfs:comment "Defines association between an agent and an activity. Inverse of prov:wasAssociatedWith."@en ;
                rdfs:label "associated with"@en .


###  https://w3id.org/pghdprovo#authorized
:authorized rdf:type owl:ObjectProperty ;
            owl:inverseOf :wasAuthorizedBy ;
            rdfs:domain :Patient ;
            rdfs:range :PGHDRequest ;
            rdfs:comment "Indicates that an agent authorized an activity. Inverse of pghdprovo:wasAuthorizedBy."@en ;
            rdfs:label "authorized"@en .


###  https://w3id.org/pghdprovo#collected
:collected rdf:type owl:ObjectProperty ;
           owl:inverseOf :wasCollectedBy ;
           rdfs:domain <http://www.w3.org/ns/prov#Person> ;
           rdfs:range :PGHD ;
           rdfs:comment "Indicates that an agent collected data from an entity. Inverse of pghdprovo:wasCollectedBy."@en ;
           rdfs:label "collected"@en .


###  https://w3id.org/pghdprovo#consentOrganisation
:consentOrganisation rdf:type owl:ObjectProperty ;
                     rdfs:domain :Consent ;
                     rdfs:range <http://www.w3.org/ns/prov#Organization> ;
                     rdfs:comment "The organization managing or enforcing this consent." ;
                     rdfs:label "consent organization" .


###  https://w3id.org/pghdprovo#consentPatient
:consentPatient rdf:type owl:ObjectProperty ;
                rdfs:domain :Consent ;
                rdfs:range :Patient ;
                rdfs:comment "The patient to whom this consent applies." ;
                rdfs:label "consent patient" .


###  https://w3id.org/pghdprovo#consentProvisionData
:consentProvisionData rdf:type owl:ObjectProperty ;
                      rdfs:domain :Consent ;
                      rdfs:range :PGHD ;
                      rdfs:comment "The specific observations (data) covered by this consent rule." ;
                      rdfs:label "consent provision data" .


###  https://w3id.org/pghdprovo#consentServiceProvider
:consentServiceProvider rdf:type owl:ObjectProperty ;
                        rdfs:domain :Consent ;
                        rdfs:range :Practitioner ;
                        rdfs:comment "The practitioner or provider associated with the consent agreement." ;
                        rdfs:label "consent service provider" .


###  https://w3id.org/pghdprovo#contributed
:contributed rdf:type owl:ObjectProperty ;
             rdfs:domain <http://www.w3.org/ns/prov#Agent> ;
             rdfs:range <http://www.w3.org/ns/prov#Entity> ;
             rdfs:comment "Indicates that an agent contributed to an entity. Inverse of prov:wasAttributedTo."@en ;
             rdfs:label "contributed"@en .


###  https://w3id.org/pghdprovo#dataCoveredByConsent
:dataCoveredByConsent rdf:type owl:ObjectProperty ;
                      owl:inverseOf :consentProvisionData ;
                      rdfs:domain :PGHD ;
                      rdfs:range :Consent ;
                      rdfs:comment "Indicates consents that cover this specific PGHD data." ;
                      rdfs:label "data covered by consent" .


###  https://w3id.org/pghdprovo#hadDelegate
:hadDelegate rdf:type owl:ObjectProperty ;
             rdfs:domain <http://www.w3.org/ns/prov#Agent> ;
             rdfs:range <http://www.w3.org/ns/prov#Agent> ;
             rdfs:comment "Indicates that an agent had another agent act on their behalf. Inverse of prov:actedOnBehalfOf."@en ;
             rdfs:label "had delegate"@en .


###  https://w3id.org/pghdprovo#hasContextualInfo
:hasContextualInfo rdf:type owl:ObjectProperty ;
                   owl:inverseOf :isContextualInfoOf ;
                   rdfs:domain :PGHD ;
                   rdfs:range :ContextualInfo ;
                   rdfs:comment "Has some contextual information associated to the PGHD" ;
                   rdfs:label "contain contextual info" .


###  https://w3id.org/pghdprovo#hasStaff
:hasStaff rdf:type owl:ObjectProperty ;
          owl:inverseOf :isAStaffOf ;
          rdfs:domain <http://www.w3.org/ns/prov#Organization> ;
          rdfs:range :Practitioner ;
          rdfs:comment "Indicates that an organization has a staff member. Inverse of pghdprovo:isAStaffOf."@en ;
          rdfs:label "has staff"@en .


###  https://w3id.org/pghdprovo#isAStaffOf
:isAStaffOf rdf:type owl:ObjectProperty ;
            rdfs:domain :Practitioner ;
            rdfs:range <http://www.w3.org/ns/prov#Organization> ;
            rdfs:comment "Shows the institution a person works." ;
            rdfs:label "is a staff of" .


###  https://w3id.org/pghdprovo#isContextualInfoOf
:isContextualInfoOf rdf:type owl:ObjectProperty ;
                    rdfs:domain :ContextualInfo ;
                    rdfs:range :PGHD ;
                    rdfs:comment "Relates contextual information back to the entity it describes. Inverse of pghdprovo:hasContextualInfo."@en ;
                    rdfs:label "is contextual info of"@en .


###  https://w3id.org/pghdprovo#isSourceOf
:isSourceOf rdf:type owl:ObjectProperty ;
            rdfs:domain <http://www.w3.org/ns/prov#Entity> ;
            rdfs:range <http://www.w3.org/ns/prov#Entity> ;
            rdfs:comment "Indicates that an entity served as the source for a derived entity. Inverse of prov:wasDerivedFrom."@en ;
            rdfs:label "is source of"@en .


###  https://w3id.org/pghdprovo#organisationConsented
:organisationConsented rdf:type owl:ObjectProperty ;
                       owl:inverseOf :consentOrganisation ;
                       rdfs:domain <http://www.w3.org/ns/prov#Organization> ;
                       rdfs:range :Consent ;
                       rdfs:comment "Indicates consents managed or enforced by the organization." ;
                       rdfs:label "organisation consented" .


###  https://w3id.org/pghdprovo#patientConsented
:patientConsented rdf:type owl:ObjectProperty ;
                  owl:inverseOf :consentPatient ;
                  rdfs:domain :Patient ;
                  rdfs:range :Consent ;
                  rdfs:comment "Indicates consents associated with this patient." ;
                  rdfs:label "patient consented" .


###  https://w3id.org/pghdprovo#requested
:requested rdf:type owl:ObjectProperty ;
           rdfs:domain :Practitioner ;
           rdfs:range :PGHDRequest ;
           rdfs:comment "Indicates that an agent made a request for PGHD. Inverse of pghdprovo:PGHDRequestedBy."@en ;
           rdfs:label "requested"@en .


###  https://w3id.org/pghdprovo#serviceProviderConsented
:serviceProviderConsented rdf:type owl:ObjectProperty ;
                          owl:inverseOf :consentServiceProvider ;
                          rdfs:domain :Practitioner ;
                          rdfs:range :Consent ;
                          rdfs:comment "Indicates consents associated with this practitioner or provider." ;
                          rdfs:label "service provider consented" .


###  https://w3id.org/pghdprovo#wasAuthorizedBy
:wasAuthorizedBy rdf:type owl:ObjectProperty ;
                 rdfs:domain :PGHDRequest ;
                 rdfs:range :Patient ;
                 rdfs:comment "A person who grant access to data requested." ;
                 rdfs:label "was authorized by" .


###  https://w3id.org/pghdprovo#wasCollectedBy
:wasCollectedBy rdf:type owl:ObjectProperty ;
                rdfs:domain :PGHD ;
                rdfs:range <http://www.w3.org/ns/prov#Person> ;
                rdfs:comment "Ascribing a person engaged in the retrieval of health data. This could be the patient themself, a caregiver, a relative, or a friend." ;
                rdfs:label "was collected by" .


#################################################################
#    Data properties
#################################################################

###  http://purl.org/dc/elements/1.1/identifier
<http://purl.org/dc/elements/1.1/identifier> rdf:type owl:DatatypeProperty ;
                                             rdfs:domain owl:Thing ;
                                             rdfs:range rdfs:Literal ;
                                             rdfs:comment "Recommended practice is to identify the resource by means of a string conforming to an identification system." ;
                                             rdfs:label "Identifier" ;
                                             <http://www.w3.org/ns/prov#definition> "An unambiguous reference to the resource within a given context." .


###  http://www.w3.org/2006/vcard/ns#hasAddress
<http://www.w3.org/2006/vcard/ns#hasAddress> rdf:type owl:DatatypeProperty ;
                                             rdfs:subPropertyOf owl:topDataProperty ;
                                             rdfs:domain owl:Thing ;
                                             rdfs:range rdfs:Literal ;
                                             rdfs:comment "To specify the components of the delivery address for the vCard object."@en ;
                                             rdfs:label "has address"@en .


###  http://www.w3.org/2006/vcard/ns#hasEmail
<http://www.w3.org/2006/vcard/ns#hasEmail> rdf:type owl:DatatypeProperty ;
                                           rdfs:domain owl:Thing ;
                                           rdfs:range rdfs:Literal ;
                                           rdfs:comment "To specify the electronic mail address for communication with the object" ;
                                           rdfs:label "has email" .


###  http://www.w3.org/2006/vcard/ns#hasRole
<http://www.w3.org/2006/vcard/ns#hasRole> rdf:type owl:DatatypeProperty ;
                                          rdfs:domain owl:Thing ;
                                          rdfs:range rdfs:Literal ;
                                          rdfs:comment "To specify the function or part played in a particular situation by an individual."@en ;
                                          rdfs:label "has role"@en .


###  http://www.w3.org/2006/vcard/ns#hasTelephone
<http://www.w3.org/2006/vcard/ns#hasTelephone> rdf:type owl:DatatypeProperty ;
                                               rdfs:subPropertyOf owl:topDataProperty ;
                                               rdfs:domain owl:Thing ;
                                               rdfs:range rdfs:Literal ;
                                               rdfs:comment "To specify the telephone number for telephony communication with the object."@en ;
                                               rdfs:label "has telephone"@en .


###  http://www.w3.org/ns/prov#endedAtTime
<http://www.w3.org/ns/prov#endedAtTime> rdf:type owl:DatatypeProperty ;
                                        rdfs:domain <http://www.w3.org/ns/prov#Activity> ;
                                        rdfs:range xsd:dateTime ;
                                        rdfs:comment "The time at which an activity ended. See also prov:startedAtTime."@en ,
                                                     """The number of calories burned associated with the
activity.""" ;
                                        rdfs:isDefinedBy <http://www.w3.org/ns/prov-o#> ;
                                        rdfs:label "endedAtTime" ;
                                        <http://www.w3.org/ns/prov#category> "starting-point" ;
                                        <http://www.w3.org/ns/prov#component> "entities-activities" ;
                                        <http://www.w3.org/ns/prov#editorialNote> "It is the intent that the property chain holds: (prov:qualifiedEnd o prov:atTime) rdfs:subPropertyOf prov:endedAtTime."@en ;
                                        <http://www.w3.org/ns/prov#qualifiedForm> <http://www.w3.org/ns/prov#End> ,
                                                                                  <http://www.w3.org/ns/prov#atTime> .


###  http://www.w3.org/ns/prov#generatedAtTime
<http://www.w3.org/ns/prov#generatedAtTime> rdf:type owl:DatatypeProperty ;
                                            rdfs:domain <http://www.w3.org/ns/prov#Entity> ;
                                            rdfs:range xsd:dateTime ;
                                            rdfs:comment "The time at which an entity was completely created and is available for use."@en ;
                                            rdfs:isDefinedBy <http://www.w3.org/ns/prov-o#> ;
                                            rdfs:label "generatedAtTime" ;
                                            <http://www.w3.org/ns/prov#category> "expanded" ;
                                            <http://www.w3.org/ns/prov#component> "entities-activities" ;
                                            <http://www.w3.org/ns/prov#editorialNote> "It is the intent that the property chain holds: (prov:qualifiedGeneration o prov:atTime) rdfs:subPropertyOf prov:generatedAtTime."@en ;
                                            <http://www.w3.org/ns/prov#qualifiedForm> <http://www.w3.org/ns/prov#Generation> ,
                                                                                      <http://www.w3.org/ns/prov#atTime> .


###  http://www.w3.org/ns/prov#startedAtTime
<http://www.w3.org/ns/prov#startedAtTime> rdf:type owl:DatatypeProperty ;
                                          rdfs:domain <http://www.w3.org/ns/prov#Activity> ;
                                          rdfs:range xsd:dateTime ;
                                          rdfs:comment "The time at which an activity started. See also prov:endedAtTime."@en ;
                                          rdfs:isDefinedBy <http://www.w3.org/ns/prov-o#> ;
                                          rdfs:label "startedAtTime" ;
                                          <http://www.w3.org/ns/prov#category> "starting-point" ;
                                          <http://www.w3.org/ns/prov#component> "entities-activities" ;
                                          <http://www.w3.org/ns/prov#editorialNote> "It is the intent that the property chain holds: (prov:qualifiedStart o prov:atTime) rdfs:subPropertyOf prov:startedAtTime."@en ;
                                          <http://www.w3.org/ns/prov#qualifiedForm> <http://www.w3.org/ns/prov#Start> ,
                                                                                    <http://www.w3.org/ns/prov#atTime> .


###  http://xmlns.com/foaf/0.1/age
<http://xmlns.com/foaf/0.1/age> rdf:type owl:DatatypeProperty ;
                                rdfs:domain <http://www.w3.org/ns/prov#Person> ;
                                rdfs:range rdfs:Literal ;
                                rdfs:comment "A person's age, usually expressed in years, represented as an integer."@en ;
                                rdfs:label "age" .


###  http://xmlns.com/foaf/0.1/birthday
<http://xmlns.com/foaf/0.1/birthday> rdf:type owl:DatatypeProperty ;
                                     rdfs:subPropertyOf <http://xmlns.com/foaf/0.1/age> ;
                                     rdf:type owl:FunctionalProperty ;
                                     rdfs:domain <http://www.w3.org/ns/prov#Person> ;
                                     rdfs:range rdfs:Literal ;
                                     rdfs:comment "The birthday of this Agent, represented in mm-dd string form, eg. '12-31'." ;
                                     rdfs:isDefinedBy <http://xmlns.com/foaf/0.1/> ;
                                     rdfs:label "birthday" ;
                                     <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "unstable" .


###  http://xmlns.com/foaf/0.1/gender
<http://xmlns.com/foaf/0.1/gender> rdf:type owl:DatatypeProperty ,
                                            owl:FunctionalProperty ;
                                   rdfs:domain <http://www.w3.org/ns/prov#Person> ;
                                   rdfs:range rdfs:Literal ;
                                   rdfs:comment "The gender of this Agent (typically but not necessarily 'male' or 'female')." ;
                                   rdfs:isDefinedBy <http://xmlns.com/foaf/0.1/> ;
                                   rdfs:label "gender" ;
                                   <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "testing" .


###  http://xmlns.com/foaf/0.1/givenName
<http://xmlns.com/foaf/0.1/givenName> rdf:type owl:DatatypeProperty ;
                                      rdfs:domain <http://www.w3.org/ns/prov#Person> ;
                                      rdfs:range rdfs:Literal ;
                                      rdfs:comment "The given name of some person." ;
                                      rdfs:isDefinedBy <http://xmlns.com/foaf/0.1/> ;
                                      rdfs:label "given name" ;
                                      <http://www.w3.org/2003/06/sw-vocab-status/ns#term_status> "testing" .


###  http://xmlns.com/foaf/0.1/name
<http://xmlns.com/foaf/0.1/name> rdf:type owl:DatatypeProperty ;
                                 rdfs:domain owl:Thing ;
                                 rdfs:range rdfs:Literal ;
                                 rdfs:comment "A name for some thing." ;
                                 rdfs:label "name" .


###  https://w3id.org/pghdprovo#address
:address rdf:type owl:DatatypeProperty ;
         rdfs:subPropertyOf <http://www.w3.org/2006/vcard/ns#hasAddress> ;
         rdfs:domain <http://www.w3.org/ns/prov#Person> ;
         rdfs:range rdfs:Literal ;
         rdfs:comment "A standardized representation of the location of a person, business, building, or organization." ;
         rdfs:isDefinedBy "http://purl.obolibrary.org/obo/NCIT_C25407" ;
         rdfs:label "address" .


###  https://w3id.org/pghdprovo#appName
:appName rdf:type owl:DatatypeProperty ;
         rdfs:subPropertyOf <http://xmlns.com/foaf/0.1/name> ;
         rdfs:domain :Application ;
         rdfs:range rdfs:Literal ;
         rdfs:comment "The name of the software application utilised by a patient and practitioner." ;
         rdfs:label "app name" .


###  https://w3id.org/pghdprovo#bodySite
:bodySite rdf:type owl:DatatypeProperty ;
          rdfs:domain :Protocol ;
          rdfs:range rdfs:Literal ;
          rdfs:comment "The part of the body where data is collected or which a device was placed to collect health data." ;
          rdfs:label "body site" .


###  https://w3id.org/pghdprovo#calibrationStatus
:calibrationStatus rdf:type owl:DatatypeProperty ;
                   rdfs:domain :Protocol ;
                   rdfs:range rdfs:Literal ;
                   rdfs:comment "Specifies the calibration state of the device that produced the patient-generated health data. Preferred value includes calibrated, not-calibrated, calibration-due, unknown, and self-check-performed." ;
                   rdfs:label "calibration status" .


###  https://w3id.org/pghdprovo#code
:code rdf:type owl:DatatypeProperty ;
      rdfs:domain :PGHD ;
      rdfs:range rdfs:Literal ;
      rdfs:comment "A code associated with the resource." ;
      rdfs:label "code" .


###  https://w3id.org/pghdprovo#consentDate
:consentDate rdf:type owl:DatatypeProperty ;
             rdfs:domain :Consent ;
             rdfs:range xsd:dateTime ;
             rdfs:comment "The date and time the consent was issued." ;
             rdfs:label "consent date" .


###  https://w3id.org/pghdprovo#consentPolicy
:consentPolicy rdf:type owl:DatatypeProperty ;
               rdfs:domain :Consent ;
               rdfs:range rdfs:Literal ;
               rdfs:comment "The URI for the specific organizational or jurisdictional policy referenced." ;
               rdfs:label "consent policy" .


###  https://w3id.org/pghdprovo#consentRegulatory
:consentRegulatory rdf:type owl:DatatypeProperty ;
                   rdfs:domain :Consent ;
                   rdfs:range rdfs:Literal ;
                   rdfs:comment "The URI for the computable regulation or policy rule." ;
                   rdfs:label "consent regulatory" .


###  https://w3id.org/pghdprovo#consentSourceReference
:consentSourceReference rdf:type owl:DatatypeProperty ;
                        rdfs:domain :Consent ;
                        rdfs:range rdfs:Literal ;
                        rdfs:comment "A string reference (URL, ID, or description) pointing to the original source of the consent." ;
                        rdfs:label "consent source reference" .


###  https://w3id.org/pghdprovo#dataName
:dataName rdf:type owl:DatatypeProperty ;
          rdfs:subPropertyOf <http://xmlns.com/foaf/0.1/name> ;
          rdfs:domain :PGHD ;
          rdfs:range rdfs:Literal ;
          rdfs:comment "The 'dataName' property indicates the type of measurement or observation being recorded, such as heart rate, blood pressure, step count, or sleep duration." ;
          rdfs:label "data name" .


###  https://w3id.org/pghdprovo#dataSource
:dataSource rdf:type owl:DatatypeProperty ;
            rdfs:domain :PGHD ;
            rdfs:range rdfs:Literal ;
            rdfs:comment "An entity that produce a digital data." ;
            rdfs:label "data source" .


###  https://w3id.org/pghdprovo#dateCollected
:dateCollected rdf:type owl:DatatypeProperty ;
               rdfs:domain :PGHD ;
               rdfs:range rdfs:Literal ;
               rdfs:comment "The 'dateCollected' property records the date and time when the measurement or observation was taken." ;
               rdfs:label "date collected" .


###  https://w3id.org/pghdprovo#description
:description rdf:type owl:DatatypeProperty ;
             rdfs:domain :PGHDRequest ;
             rdfs:range rdfs:Literal ;
             rdfs:comment "Provide more information about an activity." ;
             rdfs:label "description" .


###  https://w3id.org/pghdprovo#deviceModel
:deviceModel rdf:type owl:DatatypeProperty ;
             rdfs:domain <https://saref.etsi.org/core/Device> ;
             rdfs:range rdfs:Literal ;
             rdfs:comment "A unique number or name given by a device manufacturer to devices that corresponds to a certain characteristics." ;
             rdfs:label "device model" .


###  https://w3id.org/pghdprovo#deviceName
:deviceName rdf:type owl:DatatypeProperty ;
            rdfs:subPropertyOf <http://xmlns.com/foaf/0.1/name> ;
            rdfs:domain <https://saref.etsi.org/core/Device> ;
            rdfs:range rdfs:Literal ;
            rdfs:comment "A name for a device." ;
            rdfs:label "device name" .


###  https://w3id.org/pghdprovo#exerciseState
:exerciseState rdf:type owl:DatatypeProperty ;
               rdfs:domain :State ;
               rdfs:range rdfs:Literal ;
               rdfs:comment "exercise state." ;
               rdfs:label "exercise state" .


###  https://w3id.org/pghdprovo#id
:id rdf:type owl:DatatypeProperty ;
    rdfs:subPropertyOf <http://purl.org/dc/elements/1.1/identifier> ;
    rdfs:domain <http://www.w3.org/ns/prov#Person> ;
    rdfs:range rdfs:Literal ;
    rdfs:comment "Identifier" ;
    rdfs:label "id" .


###  https://w3id.org/pghdprovo#locationOfPatient
:locationOfPatient rdf:type owl:DatatypeProperty ;
                   rdfs:domain :ContextualInfo ;
                   rdfs:range rdfs:Literal ;
                   rdfs:comment "Location of a patient during data collection." ;
                   rdfs:label "location of patient" .


###  https://w3id.org/pghdprovo#orgAddress
:orgAddress rdf:type owl:DatatypeProperty ;
            rdfs:subPropertyOf <http://www.w3.org/2006/vcard/ns#hasAddress> ;
            rdfs:domain <http://www.w3.org/ns/prov#Organization> ;
            rdfs:range rdfs:Literal ;
            rdfs:comment "Location of organisation." ;
            rdfs:label "organization address" .


###  https://w3id.org/pghdprovo#orgEmail
:orgEmail rdf:type owl:DatatypeProperty ;
          rdfs:subPropertyOf <http://www.w3.org/2006/vcard/ns#hasEmail> ;
          rdfs:domain <http://www.w3.org/ns/prov#Organization> ;
          rdfs:range rdfs:Literal ;
          rdfs:comment "Organization email address." ;
          rdfs:label "organization email" .


###  https://w3id.org/pghdprovo#orgId
:orgId rdf:type owl:DatatypeProperty ;
       rdfs:subPropertyOf <http://purl.org/dc/elements/1.1/identifier> ;
       rdfs:domain <http://www.w3.org/ns/prov#Organization> ;
       rdfs:range rdfs:Literal ;
       rdfs:comment "An identifier for an organization." ;
       rdfs:label "organization id" .


###  https://w3id.org/pghdprovo#orgName
:orgName rdf:type owl:DatatypeProperty ;
         rdfs:subPropertyOf <http://xmlns.com/foaf/0.1/name> ;
         rdfs:domain <http://www.w3.org/ns/prov#Organization> ;
         rdfs:range rdfs:Literal ;
         rdfs:comment "The name of the organization where a practitioner belongs." ;
         rdfs:label "organization name" .


###  https://w3id.org/pghdprovo#phoneNumber
:phoneNumber rdf:type owl:DatatypeProperty ;
             rdfs:subPropertyOf <http://www.w3.org/2006/vcard/ns#hasTelephone> ;
             rdfs:domain <http://www.w3.org/ns/prov#Person> ;
             rdfs:range rdfs:Literal ;
             rdfs:comment "Phone contact number." ;
             rdfs:label "phone number" .


###  https://w3id.org/pghdprovo#posture
:posture rdf:type owl:DatatypeProperty ;
         rdfs:domain :State ;
         rdfs:range rdfs:Literal ;
         rdfs:comment "The body position of the patient during data collection." ;
         rdfs:label "posture" .


###  https://w3id.org/pghdprovo#programmeName
:programmeName rdf:type owl:DatatypeProperty ;
               rdfs:domain :Programme ;
               rdfs:range rdfs:Literal ;
               rdfs:comment "The treatment programme associated with the PGHD request." ;
               rdfs:label "programme name" .


###  https://w3id.org/pghdprovo#ratingOrgName
:ratingOrgName rdf:type owl:DatatypeProperty ;
               rdfs:subPropertyOf owl:topDataProperty ;
               rdfs:domain :Rating ;
               rdfs:range rdfs:Literal ;
               rdfs:comment "Denotes the name of the organization that conducted the rating." ;
               rdfs:label "rating organization name" .


###  https://w3id.org/pghdprovo#ratingScore
:ratingScore rdf:type owl:DatatypeProperty ;
             rdfs:domain :Rating ;
             rdfs:range rdfs:Literal ;
             rdfs:comment "The efficiency rating of an equipement or device by recognized body." ;
             rdfs:label "rating score" .


###  https://w3id.org/pghdprovo#relationship
:relationship rdf:type owl:DatatypeProperty ;
              rdfs:domain :PatientRelative ;
              rdfs:range rdfs:Literal ;
              rdfs:comment "shows the relationship of a caregiver, friend, or relative to a patient." ;
              rdfs:label "relationship" .


###  https://w3id.org/pghdprovo#requestId
:requestId rdf:type owl:DatatypeProperty ;
           rdfs:subPropertyOf <http://purl.org/dc/elements/1.1/identifier> ;
           rdfs:domain :PGHDRequest ;
           rdfs:range rdfs:Literal ;
           rdfs:comment "Log id for an activity." ;
           rdfs:label "activity id" .


###  https://w3id.org/pghdprovo#role
:role rdf:type owl:DatatypeProperty ;
      rdfs:subPropertyOf <http://www.w3.org/2006/vcard/ns#hasRole> ;
      rdfs:domain :Practitioner ;
      rdfs:range rdfs:Literal ;
      rdfs:comment "position or function within an organization" ;
      rdfs:label "role" .


###  https://w3id.org/pghdprovo#unit
:unit rdf:type owl:DatatypeProperty ;
      rdfs:domain :PGHD ;
      rdfs:range rdfs:Literal ;
      rdfs:comment "The 'unit' property specifies the metric or unit of measurement associated with the observed value." ;
      rdfs:label "unit" .


###  https://w3id.org/pghdprovo#value
:value rdf:type owl:DatatypeProperty ;
       rdfs:domain :PGHD ;
       rdfs:range rdfs:Literal ;
       rdfs:comment "The 'value' property represents the quantity measured or observed, typically recorded by a health or activity monitoring device." ;
       rdfs:label "value" .


#################################################################
#    Classes
#################################################################

###  http://www.w3.org/ns/prov#Activity
<http://www.w3.org/ns/prov#Activity> rdf:type owl:Class ;
                                     owl:disjointWith <http://www.w3.org/ns/prov#Entity> ;
                                     rdfs:comment "An action or process that occurs over a period of time and acts upon entities."@en ;
                                     rdfs:isDefinedBy <http://www.w3.org/ns/prov-o#> ;
                                     rdfs:label "Activity" ;
                                     <http://www.w3.org/ns/prov#category> "starting-point" ;
                                     <http://www.w3.org/ns/prov#component> "entities-activities" ;
                                     <http://www.w3.org/ns/prov#constraints> "http://www.w3.org/TR/2013/REC-prov-constraints-20130430/#prov-dm-constraints-fig"^^xsd:anyURI ;
                                     <http://www.w3.org/ns/prov#definition> "An activity is something that occurs over a period of time and acts upon or with entities; it may include consuming, processing, transforming, modifying, relocating, using, or generating entities." ;
                                     <http://www.w3.org/ns/prov#dm> "http://www.w3.org/TR/2013/REC-prov-dm-20130430/#term-Activity"^^xsd:anyURI ;
                                     <http://www.w3.org/ns/prov#n> "http://www.w3.org/TR/2013/REC-prov-n-20130430/#expression-Activity"^^xsd:anyURI .


###  http://www.w3.org/ns/prov#Agent
<http://www.w3.org/ns/prov#Agent> rdf:type owl:Class ;
                                  rdfs:comment "Something that bears responsibility for an activity taking place, for the existence of an entity, or for another agent's activity."@en ;
                                  rdfs:isDefinedBy <http://www.w3.org/ns/prov-o#> ;
                                  rdfs:label "Agent" ;
                                  <http://www.w3.org/ns/prov#category> "starting-point" ;
                                  <http://www.w3.org/ns/prov#component> "agents-responsibility" ;
                                  <http://www.w3.org/ns/prov#definition> "An agent is something that bears some form of responsibility for an activity taking place, for the existence of an entity, or for another agent's activity. "@en ;
                                  <http://www.w3.org/ns/prov#dm> "http://www.w3.org/TR/2013/REC-prov-dm-20130430/#term-agent"^^xsd:anyURI ;
                                  <http://www.w3.org/ns/prov#n> "http://www.w3.org/TR/2013/REC-prov-n-20130430/#expression-Agent"^^xsd:anyURI .


###  http://www.w3.org/ns/prov#Entity
<http://www.w3.org/ns/prov#Entity> rdf:type owl:Class ;
                                   rdfs:comment "A physical, digital, conceptual, or other kind of thing with some fixed aspects."@en ;
                                   rdfs:isDefinedBy <http://www.w3.org/ns/prov-o#> ;
                                   rdfs:label "Entity" ;
                                   <http://www.w3.org/ns/prov#category> "starting-point" ;
                                   <http://www.w3.org/ns/prov#component> "entities-activities" ;
                                   <http://www.w3.org/ns/prov#constraints> "http://www.w3.org/TR/2013/REC-prov-constraints-20130430/#prov-dm-constraints-fig"^^xsd:anyURI ;
                                   <http://www.w3.org/ns/prov#definition> "An entity is a physical, digital, conceptual, or other kind of thing with some fixed aspects; entities may be real or imaginary. "@en ;
                                   <http://www.w3.org/ns/prov#dm> "http://www.w3.org/TR/2013/REC-prov-dm-20130430/#term-entity"^^xsd:anyURI ;
                                   <http://www.w3.org/ns/prov#n> "http://www.w3.org/TR/2013/REC-prov-n-20130430/#expression-Entity"^^xsd:anyURI .


###  http://www.w3.org/ns/prov#Organization
<http://www.w3.org/ns/prov#Organization> rdf:type owl:Class ;
                                         rdfs:subClassOf <http://www.w3.org/ns/prov#Agent> ;
                                         rdfs:comment "A social or legal entity such as a company, institution, or association."@en ;
                                         rdfs:isDefinedBy <http://www.w3.org/ns/prov-o#> ;
                                         rdfs:label "Organization" ;
                                         <http://www.w3.org/ns/prov#category> "expanded" ;
                                         <http://www.w3.org/ns/prov#component> "agents-responsibility" ;
                                         <http://www.w3.org/ns/prov#definition> "An organization is a social or legal institution such as a company, society, etc." ;
                                         <http://www.w3.org/ns/prov#dm> "http://www.w3.org/TR/2013/REC-prov-dm-20130430/#term-agent"^^xsd:anyURI ;
                                         <http://www.w3.org/ns/prov#n> "http://www.w3.org/TR/2013/REC-prov-n-20130430/#expression-types"^^xsd:anyURI .


###  http://www.w3.org/ns/prov#Person
<http://www.w3.org/ns/prov#Person> rdf:type owl:Class ;
                                   rdfs:subClassOf <http://www.w3.org/ns/prov#Agent> ,
                                                   [ rdf:type owl:Restriction ;
                                                     owl:onProperty <http://xmlns.com/foaf/0.1/birthday> ;
                                                     owl:cardinality "1"^^xsd:nonNegativeInteger
                                                   ] ,
                                                   [ rdf:type owl:Restriction ;
                                                     owl:onProperty <http://xmlns.com/foaf/0.1/gender> ;
                                                     owl:cardinality "1"^^xsd:nonNegativeInteger
                                                   ] ,
                                                   [ rdf:type owl:Restriction ;
                                                     owl:onProperty <http://xmlns.com/foaf/0.1/givenName> ;
                                                     owl:cardinality "1"^^xsd:nonNegativeInteger
                                                   ] ;
                                   rdfs:comment "Person agents are people."@en ;
                                   rdfs:isDefinedBy <http://www.w3.org/ns/prov-o#> ;
                                   rdfs:label "Person" ;
                                   <http://www.w3.org/ns/prov#category> "expanded" ;
                                   <http://www.w3.org/ns/prov#component> "agents-responsibility" ;
                                   <http://www.w3.org/ns/prov#definition> "Person agents are people."@en ;
                                   <http://www.w3.org/ns/prov#dm> "http://www.w3.org/TR/2013/REC-prov-dm-20130430/#term-agent"^^xsd:anyURI ;
                                   <http://www.w3.org/ns/prov#n> "http://www.w3.org/TR/2013/REC-prov-n-20130430/#expression-types"^^xsd:anyURI .


###  http://www.w3.org/ns/prov#SoftwareAgent
<http://www.w3.org/ns/prov#SoftwareAgent> rdf:type owl:Class ;
                                          rdfs:subClassOf <http://www.w3.org/ns/prov#Agent> ;
                                          rdfs:comment "A running software system acting as an agent in provenance descriptions."@en ;
                                          rdfs:isDefinedBy <http://www.w3.org/ns/prov-o#> ;
                                          rdfs:label "SoftwareAgent" ;
                                          <http://www.w3.org/ns/prov#category> "expanded" ;
                                          <http://www.w3.org/ns/prov#component> "agents-responsibility" ;
                                          <http://www.w3.org/ns/prov#definition> "A software agent is running software."@en ;
                                          <http://www.w3.org/ns/prov#dm> "http://www.w3.org/TR/2013/REC-prov-dm-20130430/#term-agent"^^xsd:anyURI ;
                                          <http://www.w3.org/ns/prov#n> "http://www.w3.org/TR/2013/REC-prov-n-20130430/#expression-types"^^xsd:anyURI .


###  https://saref.etsi.org/core/Device
<https://saref.etsi.org/core/Device> rdf:type owl:Class ;
                                     rdfs:subClassOf <http://www.w3.org/ns/prov#Entity> ;
                                     rdfs:comment "A tangible object designed to accomplish a particular task. In order to accomplish this task, the device performs one or more functions. For example, a washing machine is designed to wash (task) and to accomplish this task it performs a start and stop function."@en ;
                                     rdfs:isDefinedBy <https://saref.etsi.org/core/> ;
                                     rdfs:label "Device"@en .


###  https://saref.etsi.org/saref4wear/User
<https://saref.etsi.org/saref4wear/User> rdf:type owl:Class ;
                                         owl:equivalentClass :Patient ;
                                         rdfs:subClassOf <http://www.w3.org/ns/prov#Person> ;
                                         rdfs:comment "A user is an entity using a wearable."@en ;
                                         rdfs:label "User"@en .


###  https://saref.etsi.org/saref4wear/Wearable
<https://saref.etsi.org/saref4wear/Wearable> rdf:type owl:Class ;
                                             rdfs:subClassOf <https://saref.etsi.org/core/Device> ;
                                             rdfs:comment "A wearable device is a device that is intended to be located near, on or in an organism."@en ;
                                             rdfs:label "Wearable device"@en .


###  https://w3id.org/pghdprovo#Application
:Application rdf:type owl:Class ;
             rdfs:subClassOf <http://www.w3.org/ns/prov#Entity> ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty <http://www.w3.org/ns/prov#wasAttributedTo> ;
                               owl:someValuesFrom <http://www.w3.org/ns/prov#Person>
                             ] ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty :appName ;
                               owl:someValuesFrom xsd:string
                             ] ;
             rdfs:comment "A software application is a software that can be directly executed by some processing unit." ;
             rdfs:label "Application" .


###  https://w3id.org/pghdprovo#Carer
:Carer rdf:type owl:Class ;
       rdfs:subClassOf <http://www.w3.org/ns/prov#Person> ;
       rdfs:comment "A Person who helps a patient to collect or transmit data." ;
       rdfs:label "Carer" .


###  https://w3id.org/pghdprovo#Consent
:Consent rdf:type owl:Class ;
         rdfs:subClassOf <http://www.w3.org/ns/prov#Entity> ;
         rdfs:comment "A record of consent for Patient Generated Health Data." ;
         rdfs:label "Consent" .


###  https://w3id.org/pghdprovo#ContextualInfo
:ContextualInfo rdf:type owl:Class ;
                rdfs:subClassOf <http://www.w3.org/ns/prov#Entity> ;
                rdfs:comment "Contextual Information provides to extra details that help explain the measurement, like the environment, device settings, or the activity the person was doing when the data was taken." ;
                rdfs:label "contextual information" .


###  https://w3id.org/pghdprovo#PGHD
:PGHD rdf:type owl:Class ;
      rdfs:subClassOf <http://www.w3.org/ns/prov#Entity> ,
                      [ rdf:type owl:Restriction ;
                        owl:onProperty <http://www.w3.org/ns/prov#wasDerivedFrom> ;
                        owl:someValuesFrom <https://saref.etsi.org/saref4wear/Wearable>
                      ] ,
                      [ rdf:type owl:Restriction ;
                        owl:onProperty :hasContextualInfo ;
                        owl:someValuesFrom :ContextualInfo
                      ] ,
                      [ rdf:type owl:Restriction ;
                        owl:onProperty :wasCollectedBy ;
                        owl:someValuesFrom <http://www.w3.org/ns/prov#Person>
                      ] ,
                      [ rdf:type owl:Restriction ;
                        owl:onProperty <http://www.w3.org/ns/prov#wasAttributedTo> ;
                        owl:allValuesFrom :Patient
                      ] ,
                      [ rdf:type owl:Restriction ;
                        owl:onProperty <http://www.w3.org/ns/prov#wasGeneratedBy> ;
                        owl:allValuesFrom :PGHDRequest
                      ] ,
                      [ rdf:type owl:Restriction ;
                        owl:onProperty :dataSource ;
                        owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                        owl:onDataRange xsd:string
                      ] ;
      rdfs:comment "Patient Generated Health Data (PGHD) a term referring to data that patients (or their caregivers) collect from home or any location outside the clinical environment." ;
      rdfs:label "PGHD" .


###  https://w3id.org/pghdprovo#PGHDRequest
:PGHDRequest rdf:type owl:Class ;
             rdfs:subClassOf <http://www.w3.org/ns/prov#Activity> ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty <http://www.w3.org/ns/prov#used> ;
                               owl:someValuesFrom :Application
                             ] ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty :PGHDRequestedBy ;
                               owl:someValuesFrom :Practitioner
                             ] ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty <http://www.w3.org/ns/prov#wasAssociatedWith> ;
                               owl:allValuesFrom :Patient
                             ] ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty :wasAuthorizedBy ;
                               owl:allValuesFrom :Patient
                             ] ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty :requestId ;
                               owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                               owl:onDataRange xsd:integer
                             ] ;
             rdfs:comment "A request made by a practitioner to obtain patient health data generated by wearable device or software application." ;
             rdfs:label "PGHD Request" .


###  https://w3id.org/pghdprovo#Patient
:Patient rdf:type owl:Class ;
         rdfs:subClassOf <http://www.w3.org/ns/prov#Person> ;
         rdfs:comment "A person who receives medical attention, care, or treatment, or who is registered with medical professional or institution with the purpose to receive medical care when necessary." ;
         rdfs:isDefinedBy "http://purl.obolibrary.org/obo/NCIT_C16960" ;
         rdfs:label "Patient" .


###  https://w3id.org/pghdprovo#PatientRelative
:PatientRelative rdf:type owl:Class ;
                 rdfs:subClassOf :Carer ,
                                 [ rdf:type owl:Restriction ;
                                   owl:onProperty <http://www.w3.org/ns/prov#actedOnBehalfOf> ;
                                   owl:someValuesFrom :Patient
                                 ] ,
                                 [ rdf:type owl:Restriction ;
                                   owl:onProperty :relationship ;
                                   owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                                   owl:onDataRange xsd:string
                                 ] ;
                 rdfs:comment "A Patient relative or friend who helps to collect or transmit data." ;
                 rdfs:label "Patient Relative" .


###  https://w3id.org/pghdprovo#Practitioner
:Practitioner rdf:type owl:Class ;
              rdfs:subClassOf <http://www.w3.org/ns/prov#Person> ,
                              [ rdf:type owl:Restriction ;
                                owl:onProperty :role ;
                                owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                                owl:onDataRange xsd:string
                              ] ;
              rdfs:comment """A person professionally engaged medical practice who is appointed to a post or duties.
[Definition Source: NCI]""" ;
              rdfs:isDefinedBy "http://purl.obolibrary.org/obo/NCIT_C51846" ;
              rdfs:label "Practitioner" .


###  https://w3id.org/pghdprovo#Programme
:Programme rdf:type owl:Class ;
           rdfs:subClassOf :ContextualInfo ;
           rdfs:comment "Refers to a health plan or program the person is following, helping to understand the data in relation to their health goals." ;
           rdfs:label "programme" .


###  https://w3id.org/pghdprovo#Protocol
:Protocol rdf:type owl:Class ;
          rdfs:subClassOf :ContextualInfo ;
          rdfs:comment "Describes the steps or rules followed when collecting the data, such as instructions for using a device or following a specific health procedure." ;
          rdfs:label "protocol" .


###  https://w3id.org/pghdprovo#Rating
:Rating rdf:type owl:Class ;
        rdfs:subClassOf :ContextualInfo ;
        rdfs:comment "Includes scores or opinions about the measurement, like how good the data is or a personal rating of a health condition." ;
        rdfs:label "rating" .


###  https://w3id.org/pghdprovo#State
:State rdf:type owl:Class ;
       rdfs:subClassOf :ContextualInfo ;
       rdfs:comment "Informaion about the person's condition when the data was recorded, such as whether they were resting, active, sleeping, or exercising." ;
       rdfs:label "state" .


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

###  https://w3id.org/pghdprovo#BPMonitor
:BPMonitor rdf:type owl:NamedIndividual ,
                    <https://saref.etsi.org/core/Device> ;
           :deviceModel "" ;
           :deviceName "" .


###  https://w3id.org/pghdprovo#BloodPressure1
:BloodPressure1 rdf:type owl:NamedIndividual ,
                         :PGHD ;
                <http://www.w3.org/ns/prov#wasAttributedTo> :Patient1 ;
                <http://www.w3.org/ns/prov#wasDerivedFrom> :BPMonitor ;
                :hasContextualInfo :Programme1 ,
                                   :Protocol1 ,
                                   :Rating1 ,
                                   :State1 ;
                :wasCollectedBy :Patient1 ;
                <http://purl.org/dc/elements/1.1/identifier> "" ;
                <http://xmlns.com/foaf/0.1/name> ""^^rdfs:Literal ;
                :dataSource ""^^rdfs:Literal ;
                :unit ""^^rdfs:Literal ;
                :value ""^^rdfs:Literal .


###  https://w3id.org/pghdprovo#ContextualDataInfo1
:ContextualDataInfo1 rdf:type owl:NamedIndividual ,
                              :ContextualInfo ;
                     :locationOfPatient "" .


###  https://w3id.org/pghdprovo#Organisation1
:Organisation1 rdf:type owl:NamedIndividual ,
                        <http://www.w3.org/ns/prov#Organization> ;
               :orgAddress "" ;
               :orgEmail "" ;
               :orgId "" ;
               :orgName "" .


###  https://w3id.org/pghdprovo#PGHDRequest1
:PGHDRequest1 rdf:type owl:NamedIndividual ,
                       :PGHDRequest ;
              <http://www.w3.org/ns/prov#used> :application1 ;
              :PGHDRequestedBy :Practitioner1 ;
              :wasAuthorizedBy :Patient1 ;
              <http://www.w3.org/ns/prov#endedAtTime> "1000-10-10T00:00:00"^^xsd:dateTime ;
              <http://www.w3.org/ns/prov#startedAtTime> "1000-10-10T00:00:00"^^xsd:dateTime ;
              :description "" ;
              :requestId "" .


###  https://w3id.org/pghdprovo#Patient1
:Patient1 rdf:type owl:NamedIndividual ,
                   :Patient ;
          <http://xmlns.com/foaf/0.1/name> "" ;
          :address "" ;
          :id "" ;
          :phoneNumber "" .


###  https://w3id.org/pghdprovo#PatientRelative1
:PatientRelative1 rdf:type owl:NamedIndividual ,
                           :PatientRelative ;
                  <http://www.w3.org/ns/prov#actedOnBehalfOf> :Patient1 ;
                  <http://xmlns.com/foaf/0.1/name> "" ;
                  :address "" ;
                  :id "" ;
                  :phoneNumber "" ;
                  :relationship "" .


###  https://w3id.org/pghdprovo#Practitioner1
:Practitioner1 rdf:type owl:NamedIndividual ,
                        :Practitioner ;
               :isAStaffOf :Organisation1 ;
               <http://xmlns.com/foaf/0.1/name> "" ;
               :address "" ;
               :id "" ;
               :phoneNumber "" ;
               :role "" .


###  https://w3id.org/pghdprovo#Programme1
:Programme1 rdf:type owl:NamedIndividual ,
                     :Programme ;
            :programmeName "" .


###  https://w3id.org/pghdprovo#Protocol1
:Protocol1 rdf:type owl:NamedIndividual ,
                    :Protocol ;
           :bodySite "" .


###  https://w3id.org/pghdprovo#Rating1
:Rating1 rdf:type owl:NamedIndividual ,
                  :Rating ;
         :ratingOrgName "" ;
         :ratingScore "" .


###  https://w3id.org/pghdprovo#State1
:State1 rdf:type owl:NamedIndividual ,
                 :State ;
        :exerciseState "" ;
        :posture "" .


###  https://w3id.org/pghdprovo#State2
:State2 rdf:type owl:NamedIndividual ,
                 :State ;
        :posture "" .


###  https://w3id.org/pghdprovo#application1
:application1 rdf:type owl:NamedIndividual ,
                       :Application ;
              <http://www.w3.org/ns/prov#wasAttributedTo> :Practitioner1 ;
              :appName "" .


#################################################################
#    General axioms
#################################################################

[ rdf:type owl:AllDisjointClasses ;
  owl:members ( <http://www.w3.org/ns/prov#Organization>
                <http://www.w3.org/ns/prov#Person>
                <http://www.w3.org/ns/prov#SoftwareAgent>
              )
] .


[ rdf:type owl:AllDisjointClasses ;
  owl:members ( <https://saref.etsi.org/core/Device>
                :Application
                :ContextualInfo
                :PGHD
              )
] .


[ rdf:type owl:AllDisjointClasses ;
  owl:members ( :Patient
                :PatientRelative
                :Practitioner
              )
] .


[ rdf:type owl:AllDisjointClasses ;
  owl:members ( :Programme
                :Protocol
                :Rating
                :State
              )
] .


###  Generated by the OWL API (version 5.1.18) https://github.com/owlcs/owlapi/
