<?xml version="1.0"?>
<rdf:RDF xmlns="https://w3id.org/shp#"
     xml:base="https://w3id.org/shp"
     xmlns:ns="http://creativecommons.org/ns#"
     xmlns:owl="http://www.w3.org/2002/07/owl#"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:xml="http://www.w3.org/XML/1998/namespace"
     xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
     xmlns:prov="http://www.w3.org/ns/prov#"
     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
     xmlns:vann="http://purl.org/vocab/vann/"
     xmlns:terms="http://purl.org/dc/terms/">
    <owl:Ontology rdf:about="https://w3id.org/shp">
        <owl:imports rdf:resource="http://www.w3.org/ns/prov-o-20130430"/>
        <ns:license rdf:resource="http://creativecommons.org/licenses/by/4.0/"/>
        <terms:creator rdf:resource="https://www.abdn.ac.uk/iahs/people/profiles/jessicabutler"/>
        <terms:creator rdf:resource="https://www.abdn.ac.uk/ncs/profiles/milan.markovic/"/>
        <terms:creator rdf:resource="https://www.abdn.ac.uk/people/katherine.osullivan"/>
        <terms:creator rdf:resource="https://www.abdn.ac.uk/people/bernhard.scheliga/"/>
        <terms:creator rdf:resource="https://www.abdn.ac.uk/people/helen.rowlands/"/>
        <terms:description xml:lang="en">An ontology to describe provenance of data anonymization workflows (i.e., data linkage) in high security research environments such as the Scottish Safe Haven.</terms:description>
        <terms:issued xml:lang="en">2023-11-01</terms:issued>
        <terms:modified xml:lang="en">2023-11-01</terms:modified>
        <terms:rights>Copyright 2023 University of Aberdeen</terms:rights>
        <terms:title xml:lang="en">The Safe Haven Provenance (SHP) Ontology</terms:title>
        <vann:preferredNamespacePrefix>shp</vann:preferredNamespacePrefix>
        <vann:preferredNamespaceUri>https://w3id.org/shp#</vann:preferredNamespaceUri>
        <rdfs:label xml:lang="en">The SHP Ontology</rdfs:label>
        <owl:versionInfo rdf:datatype="http://www.w3.org/2001/XMLSchema#double">0.2</owl:versionInfo>
    </owl:Ontology>
    


    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Annotation properties
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->


    


    <!-- http://creativecommons.org/ns#license -->


    <owl:AnnotationProperty rdf:about="http://creativecommons.org/ns#license"/>
    


    <!-- http://purl.org/dc/terms/creator -->


    <owl:AnnotationProperty rdf:about="http://purl.org/dc/terms/creator"/>
    


    <!-- http://purl.org/dc/terms/description -->


    <owl:AnnotationProperty rdf:about="http://purl.org/dc/terms/description"/>
    


    <!-- http://purl.org/dc/terms/issued -->


    <owl:AnnotationProperty rdf:about="http://purl.org/dc/terms/issued"/>
    


    <!-- http://purl.org/dc/terms/modified -->


    <owl:AnnotationProperty rdf:about="http://purl.org/dc/terms/modified"/>
    


    <!-- http://purl.org/dc/terms/rights -->


    <owl:AnnotationProperty rdf:about="http://purl.org/dc/terms/rights"/>
    


    <!-- http://purl.org/dc/terms/title -->


    <owl:AnnotationProperty rdf:about="http://purl.org/dc/terms/title"/>
    


    <!-- http://purl.org/vocab/vann/preferredNamespacePrefix -->


    <owl:AnnotationProperty rdf:about="http://purl.org/vocab/vann/preferredNamespacePrefix"/>
    


    <!-- http://purl.org/vocab/vann/preferredNamespaceUri -->


    <owl:AnnotationProperty rdf:about="http://purl.org/vocab/vann/preferredNamespaceUri"/>
    


    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Object Properties
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->


    


    <!-- https://w3id.org/shp#constraint -->


    <owl:ObjectProperty rdf:about="https://w3id.org/shp#constraint">
        <rdfs:comment>A property linking Data Source Specification with a Variable Constraint related to one of the variables defined in this specification.</rdfs:comment>
        <rdfs:label>constraint</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- https://w3id.org/shp#dataSource -->


    <owl:ObjectProperty rdf:about="https://w3id.org/shp#dataSource">
        <rdfs:domain rdf:resource="https://w3id.org/shp#DataSpecificationFile"/>
        <rdfs:range rdf:resource="https://w3id.org/shp#DataSourceSpecification"/>
        <rdfs:comment>A property for linking data sources to corresponding data plans.</rdfs:comment>
        <rdfs:label>data source</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- https://w3id.org/shp#requestedVariables -->


    <owl:ObjectProperty rdf:about="https://w3id.org/shp#requestedVariables">
        <rdfs:domain rdf:resource="https://w3id.org/shp#DataSourceSpecification"/>
        <rdfs:range rdf:resource="https://w3id.org/shp#RequestedVariables"/>
        <rdfs:comment>A property linking Data Source Specification with the collection containing describtion of variables requested by a researcher.</rdfs:comment>
        <rdfs:label>requested variables</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- https://w3id.org/shp#targetDataset -->


    <owl:ObjectProperty rdf:about="https://w3id.org/shp#targetDataset">
        <rdfs:domain rdf:resource="https://w3id.org/shp#EntityCharacteristic"/>
        <rdfs:range rdf:resource="https://w3id.org/shp#DataSet"/>
        <rdfs:comment>A property linking Entity Characteristic to the particular Dataset it describes.</rdfs:comment>
        <rdfs:label>target dataset</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- https://w3id.org/shp#targetFeature -->


    <owl:ObjectProperty rdf:about="https://w3id.org/shp#targetFeature">
        <rdfs:domain rdf:resource="https://w3id.org/shp#EntityCharacteristic"/>
        <rdfs:domain rdf:resource="https://w3id.org/shp#VariableConstraint"/>
        <rdfs:range rdf:resource="https://w3id.org/shp#Variable"/>
        <rdfs:comment>A property linking Entitiy Characteristic or Variable Constraint to a specific variable to indicate that characteristics or constriants described influence this variable.</rdfs:comment>
        <rdfs:label>target feature</rdfs:label>
    </owl:ObjectProperty>
    


    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Data properties
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->


    


    <!-- https://w3id.org/shp#abbreviation -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#abbreviation">
        <rdfs:domain rdf:resource="https://w3id.org/shp#Database"/>
        <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
        <rdfs:comment>Short name of source database</rdfs:comment>
        <rdfs:label>abbreviation</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#cohortMembersLinked -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#cohortMembersLinked">
        <rdfs:domain rdf:resource="https://w3id.org/shp#DataSet"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#nonNegativeInteger"/>
        <rdfs:comment>Number of cohort members successfully linked</rdfs:comment>
        <rdfs:label>cohort members linked</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#cohortMembersNotLinked -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#cohortMembersNotLinked">
        <rdfs:domain rdf:resource="https://w3id.org/shp#DataSet"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#nonNegativeInteger"/>
        <rdfs:comment>Number of cohort members not linked</rdfs:comment>
        <rdfs:label>cohort members not linked</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#cohortMembersWithInvalidLinkageVariable -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#cohortMembersWithInvalidLinkageVariable">
        <rdfs:domain rdf:resource="https://w3id.org/shp#DataSet"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#nonNegativeInteger"/>
        <rdfs:comment>Number of eligible cohort members with an incorrect or missing identifier as linkage variable</rdfs:comment>
        <rdfs:label>cohort members with invalid linkage variable</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#cohortSize -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#cohortSize">
        <rdfs:domain>
            <owl:Class>
                <owl:unionOf rdf:parseType="Collection">
                    <rdf:Description rdf:about="https://w3id.org/shp#DataSet"/>
                    <rdf:Description rdf:about="https://w3id.org/shp#UidMapping"/>
                </owl:unionOf>
            </owl:Class>
        </rdfs:domain>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#nonNegativeInteger"/>
        <rdfs:comment>Total number of people in the cohort. This number was either determined by the analyst before the before the data linkage process or was provided by the researcher.</rdfs:comment>
        <rdfs:label>cohort size</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#cohortSpecification -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#cohortSpecification">
        <rdfs:domain>
            <owl:Class>
                <owl:unionOf rdf:parseType="Collection">
                    <rdf:Description rdf:about="https://w3id.org/shp#DataLinkagePlan"/>
                    <rdf:Description rdf:about="https://w3id.org/shp#DataSet"/>
                </owl:unionOf>
            </owl:Class>
        </rdfs:domain>
        <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
        <rdfs:comment>Data linkage Plan: The cohort specification based on the researchers criteria to answer their research question.

Dataset: How the Lead Analyst defined the cohort</rdfs:comment>
        <rdfs:label>cohort specification</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#contact -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#contact">
        <rdfs:domain rdf:resource="https://w3id.org/shp#Database"/>
        <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
        <rdfs:comment>Point of contact for questions about source database</rdfs:comment>
        <rdfs:label>contact</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#contexualInformationLink -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#contexualInformationLink">
        <rdfs:domain rdf:resource="https://w3id.org/shp#Database"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
        <rdfs:comment>Web URL or folder path that point to the contextual information of the source data such as e.g. Metadata, variable definition, collection methods etc.</rdfs:comment>
        <rdfs:label>contextual information link</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#dataCustodian -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#dataCustodian">
        <rdfs:domain rdf:resource="https://w3id.org/shp#Database"/>
        <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
        <rdfs:comment>The individual responsible for the safe custody, transfer, storage of the data and database structure.</rdfs:comment>
        <rdfs:label>data custodian</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#dataType -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#dataType">
        <rdfs:domain rdf:resource="https://w3id.org/shp#EntityCharacteristic"/>
        <rdfs:domain rdf:resource="https://w3id.org/shp#Variable"/>
        <rdfs:comment>A data type associated with some values described by Entity Characteristic or an expected type of values corresponding to specific Variable</rdfs:comment>
        <rdfs:label>dataType</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#databaseName -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#databaseName">
        <rdfs:domain rdf:resource="https://w3id.org/shp#Database"/>
        <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
        <rdfs:comment>Name of source database</rdfs:comment>
        <rdfs:label>database name</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#extractedDataset -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#extractedDataset">
        <rdfs:domain rdf:resource="https://w3id.org/shp#DatasetRelease"/>
        <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
        <rdfs:comment>List of all datasets extracted and released into the project folder of the researcher</rdfs:comment>
        <rdfs:label>extracted datasets</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#extractedVariables -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#extractedVariables">
        <rdfs:domain rdf:resource="https://w3id.org/shp#DataSet"/>
        <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
        <rdfs:comment>List of variables extracted from the database to form the dataset</rdfs:comment>
        <rdfs:label>extracted variables</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#fileName -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#fileName">
        <rdfs:domain rdf:resource="http://www.w3.org/ns/prov#Entity"/>
        <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
        <rdfs:comment>Assigned file name(s) representing the particular entity through the data workflow and provenance trace from data ingress to the release of data to the researcher in their project folder within the TRE.</rdfs:comment>
        <rdfs:label>file name</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#hash -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#hash">
        <rdfs:domain rdf:resource="http://www.w3.org/ns/prov#Entity"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
        <rdfs:comment>A hash value of a specific object (e.g., a dataset contained in a file).</rdfs:comment>
        <rdfs:label>hash</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#lastKnownUpdate -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#lastKnownUpdate">
        <rdfs:domain rdf:resource="https://w3id.org/shp#Database"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
        <rdfs:comment>When was the last known update of the database, before it was used to generate the dataset for the research project</rdfs:comment>
        <rdfs:label>last known update</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#linkageVariable -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#linkageVariable">
        <rdfs:domain>
            <owl:Class>
                <owl:unionOf rdf:parseType="Collection">
                    <rdf:Description rdf:about="https://w3id.org/shp#DataLinkagePlan"/>
                    <rdf:Description rdf:about="https://w3id.org/shp#DataSet"/>
                </owl:unionOf>
            </owl:Class>
        </rdfs:domain>
        <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
        <rdfs:comment>Variable used for linkage to source dataset</rdfs:comment>
        <rdfs:label>linkage variable</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#max_value -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#max_value">
        <rdfs:domain rdf:resource="https://w3id.org/shp#EntityCharacteristic"/>
        <rdfs:domain rdf:resource="https://w3id.org/shp#VariableConstraint"/>
        <rdfs:comment>The maximum value found in the structure represented by the Entity Characteristic. For example, if an entitiy characteristic might represent a subset of numerical entries, dataes, strings in a dataset corresponding to a specific variable. A min value would represent the largest  entry within such subset of entries.</rdfs:comment>
        <rdfs:label>max value</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#minValue -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#minValue">
        <rdfs:domain rdf:resource="https://w3id.org/shp#EntityCharacteristic"/>
        <rdfs:domain rdf:resource="https://w3id.org/shp#VariableConstraint"/>
        <rdfs:comment>The minimum value found in the structure represented by the Entity Characteristic. For example, if an entitiy characteristic might represent a subset of numerical entries, dataes, strings in a dataset corresponding to a specific variable. A min value would represent the smallest  entry within such subset of entries.</rdfs:comment>
        <rdfs:label>min value</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#mostRecentRecordDate -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#mostRecentRecordDate">
        <rdfs:domain rdf:resource="https://w3id.org/shp#Database"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
        <rdfs:comment>Date of the most recent record in database.</rdfs:comment>
        <rdfs:label>most recent record date</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#notNull -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#notNull">
        <rdfs:domain rdf:resource="https://w3id.org/shp#EntityCharacteristic"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
        <rdfs:comment>A number of entries represented by the Entity Characteristic where the value is not null</rdfs:comment>
        <rdfs:label>not null</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#notNullPct -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#notNullPct">
        <rdfs:domain rdf:resource="https://w3id.org/shp#EntityCharacteristic"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
        <rdfs:comment>A percentage of non-null entries represented by the Entity Characteristic</rdfs:comment>
        <rdfs:label>not null pct</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#oldestRecordDate -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#oldestRecordDate">
        <rdfs:domain rdf:resource="https://w3id.org/shp#Database"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
        <rdfs:comment>The date and time of the oldest record in the database</rdfs:comment>
        <rdfs:label>oldest record date</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#projectId -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#projectId">
        <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
        <rdfs:comment>Project IDs are assigned to each project by the Research Coordinator.</rdfs:comment>
        <rdfs:label>project id</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#resultOfCheck -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#resultOfCheck">
        <rdfs:domain rdf:resource="https://w3id.org/shp#TreReport"/>
        <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
        <rdfs:comment>The results of a Data Check-activity that generated TRE Report-Enity. Currently it is recommended that is either has the values “passed” or “failed”.</rdfs:comment>
        <rdfs:label>result of check</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#rowCount -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#rowCount">
        <rdfs:domain rdf:resource="https://w3id.org/shp#EntityCharacteristic"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#nonNegativeInteger"/>
        <rdfs:comment>Count of extracted records in a dataset.</rdfs:comment>
        <rdfs:label>row count</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#smallestDistinctNumber -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#smallestDistinctNumber">
        <rdfs:domain rdf:resource="https://w3id.org/shp#EntityCharacteristic"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
        <rdfs:comment>The smallest value present in a variable.</rdfs:comment>
        <rdfs:label>smallest distinct number</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#studyId -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#studyId">
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#nonNegativeInteger"/>
        <rdfs:comment>In DaSH, each dataset of a project gets its own unique Study ID assigned. The Study ID is used as a prefix (usually 4 digits) for the pseudo-ID.</rdfs:comment>
        <rdfs:label>study id</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#uniqueChiCount -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#uniqueChiCount">
        <rdfs:domain rdf:resource="https://w3id.org/shp#EntityCharacteristic"/>
        <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
        <rdfs:comment>A number of unique CHI numbers.</rdfs:comment>
        <rdfs:label>unique CHI count</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- https://w3id.org/shp#version -->


    <owl:DatatypeProperty rdf:about="https://w3id.org/shp#version">
        <rdfs:domain rdf:resource="https://w3id.org/shp#Database"/>
        <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
        <rdfs:comment>Database version</rdfs:comment>
        <rdfs:label>version</rdfs:label>
    </owl:DatatypeProperty>
    


    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Classes
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->


    


    <!-- https://w3id.org/shp#Analyst -->


    <owl:Class rdf:about="https://w3id.org/shp#Analyst">
        <rdfs:subClassOf rdf:resource="http://www.w3.org/ns/prov#Person"/>
        <rdfs:comment>Analyst is responsible for the validation checks during extraction, pseudonymisation and/or linkage.</rdfs:comment>
        <rdfs:label>Analyst</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#Cohort -->


    <owl:Class rdf:about="https://w3id.org/shp#Cohort">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#TreProjectDocument"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2000/01/rdf-schema#Literal">A list of all individual people/items in the cohort. A cohort is often the people being studied, but could also be items such as scans or prescriptions.</rdfs:comment>
        <rdfs:label>Cohort</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#CohortCreation -->


    <owl:Class rdf:about="https://w3id.org/shp#CohortCreation">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#TreActivity"/>
        <rdfs:comment>The cohort is either created by the Lead Analyst or based on the specification provided by the researcher or based on a cohort list provided by the researcher.</rdfs:comment>
        <rdfs:label>Cohort Creation</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#DataCheck -->


    <owl:Class rdf:about="https://w3id.org/shp#DataCheck">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#TreActivity"/>
        <rdfs:comment>Group of activities that validates the data linkage process for the project and ensure all the necessary permission are in place for the researcher.</rdfs:comment>
        <rdfs:label>Data Check</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#DataExtraction -->


    <owl:Class rdf:about="https://w3id.org/shp#DataExtraction">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#TreActivity"/>
        <rdfs:comment>The process of extracting data related to the Cohort from datasets according to the specific variables (fields) selected by researchers.</rdfs:comment>
        <rdfs:label>Data Extraction</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#DataLinkagePlan -->


    <owl:Class rdf:about="https://w3id.org/shp#DataLinkagePlan">
        <rdfs:subClassOf rdf:resource="http://www.w3.org/ns/prov#Plan"/>
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#TreProjectDocument"/>
        <rdfs:comment>The Data Linkage Plan specifies the data flow from data ingress to data egress in the DaSH environment, specifies the Cohort and specifies the datasets required for the research project.</rdfs:comment>
        <rdfs:label>Data Linkage Plan</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#DataSet -->


    <owl:Class rdf:about="https://w3id.org/shp#DataSet">
        <rdfs:subClassOf rdf:resource="http://www.w3.org/ns/prov#Entity"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2000/01/rdf-schema#Literal">Is a cohort-based subset of the Database(s) specific to a research project.</rdfs:comment>
        <rdfs:label>Dataset</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#DataSourceSpecification -->


    <owl:Class rdf:about="https://w3id.org/shp#DataSourceSpecification">
        <rdfs:subClassOf rdf:resource="http://www.w3.org/ns/prov#Entity"/>
        <rdfs:comment>Part of Data Specification File that describes the specific Database and corresponding Variables that shoudl be used during the Data Extraction Process.</rdfs:comment>
        <rdfs:label>Data Source Specification</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#DataSpecificationFile -->


    <owl:Class rdf:about="https://w3id.org/shp#DataSpecificationFile">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#TreProjectDocument"/>
        <rdfs:comment>In the Grampian Data Safe Haven, the data specification file details the specific databases and variables within the database that should be extracted for the project.</rdfs:comment>
        <rdfs:label>Data Specification File</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#DataTransfer -->


    <owl:Class rdf:about="https://w3id.org/shp#DataTransfer">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#TreActivity"/>
        <rdfs:comment>Transfers between different servers in the DaSH environment.</rdfs:comment>
        <rdfs:label>Data Transfer</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#Database -->


    <owl:Class rdf:about="https://w3id.org/shp#Database">
        <rdfs:subClassOf rdf:resource="http://www.w3.org/ns/prov#Entity"/>
        <rdfs:comment>A database or data source from which datasets are derived.</rdfs:comment>
        <rdfs:label>Database</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#DatasetLinkage -->


    <owl:Class rdf:about="https://w3id.org/shp#DatasetLinkage">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#TreActivity"/>
        <rdfs:comment>Replacing the dataset-specific pseudo-IDs with a common pseudo-ID across all of the project datasets that links together all datasets for a specific project.</rdfs:comment>
        <rdfs:label>Dataset Linkage</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#DatasetLinkageIdMapping -->


    <owl:Class rdf:about="https://w3id.org/shp#DatasetLinkageIdMapping">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#TreProjectDocument"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2000/01/rdf-schema#Literal">Linkage file maps the original identifiable ID (e.g. such as CHI) in the respective dataset to a project and dataset specific new UID. In other words, those UIDs are different for each dataset in a project. This is to prevent premature linkage of the data before is has been fully anonymised.</rdfs:comment>
        <rdfs:label>Dataset Linkage ID Mapping</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#DatasetRelease -->


    <owl:Class rdf:about="https://w3id.org/shp#DatasetRelease">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#TreActivity"/>
        <rdfs:comment>The project-specific data released to a researcher in the trusted research environment for researcher analysis. This consists of datasets (i.e., flat-files of the extracted, pseudonymised and linked data), Data Linkage Plan, Data Specification file, and summary data that are provided to a researcher in their project folder.</rdfs:comment>
        <rdfs:label>Dataset Release</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#DisclosureCheck -->


    <owl:Class rdf:about="https://w3id.org/shp#DisclosureCheck">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#DataCheck"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2000/01/rdf-schema#Literal">Aggregate results compiled by the researcher during their analysis of the released data in the Trusted Research Environment, are reviewed by TRE staff to ensure there are no risks of identifying individuals in the released data.</rdfs:comment>
        <rdfs:label>Disclosure Check</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#DisclosureCheckReport -->


    <owl:Class rdf:about="https://w3id.org/shp#DisclosureCheckReport">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#TreReport"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2000/01/rdf-schema#Literal">Report of the results of the disclosure checks, which indicates if the work of the Lead analyst has passed or failed the disclosure check.</rdfs:comment>
        <rdfs:label>Disclosure Check Report</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#EntityCharacteristic -->


    <owl:Class rdf:about="https://w3id.org/shp#EntityCharacteristic">
        <rdfs:comment>A utility concept for referencing specific properties of an Entity. For example, if an entitiy represents a dataset, an EntityChracteristic can capture a collection of summary statistics such as min max values, etc.</rdfs:comment>
        <rdfs:label>Entitiy Characteristic</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#FlatFileCreation -->


    <owl:Class rdf:about="https://w3id.org/shp#FlatFileCreation">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#TreActivity"/>
        <rdfs:comment>Datasets and Linkage dataset exported from SQL to flat-files</rdfs:comment>
        <rdfs:label>FlatFileCreation</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#IdLinkage -->


    <owl:Class rdf:about="https://w3id.org/shp#IdLinkage">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#TreActivity"/>
        <rdfs:comment>Creating a unique identifier (UID) mapping table for each pseudonymised dataset, which maps the original identifier (non-pseudonymised) of the dataset to the new pseudonymised ID for that dataset.</rdfs:comment>
        <rdfs:label>ID Linkage</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#LeadAnalyst -->


    <owl:Class rdf:about="https://w3id.org/shp#LeadAnalyst">
        <rdfs:subClassOf rdf:resource="http://www.w3.org/ns/prov#Person"/>
        <rdfs:comment>Lead Analyst is responsible for the whole cohort creation, data extraction, pseudonymisation and data linkage process of the project. Depending on the data safe haven, the analysts may or may not have the right to see and work on the non-anonymized data.</rdfs:comment>
        <rdfs:label>Lead Analyst</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#OriginalIdRemoval -->


    <owl:Class rdf:about="https://w3id.org/shp#OriginalIdRemoval">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#TreActivity"/>
        <rdfs:comment>Once all datasets for the project have had pseudo-IDs applied and a linkage dataset created, the original IDs are removed from the UID mapping table (a dataset moves from Pre-Release to Release)</rdfs:comment>
        <rdfs:label>Original ID Removal</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#ProjectIdAssignment -->


    <owl:Class rdf:about="https://w3id.org/shp#ProjectIdAssignment">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#TreActivity"/>
        <rdfs:comment>Project IDs are assigned to a project by the Research Coordinator.</rdfs:comment>
        <rdfs:label>Project ID Assignment</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#Pseudonymization -->


    <owl:Class rdf:about="https://w3id.org/shp#Pseudonymization">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#TreActivity"/>
        <rdfs:comment>Techniques that replace, remove or transform information that identifies an individual (e.g. replacing date of birth with age, replacing postcode with a regional classification or demographic marker, replacing NHS number/CHI number with a pseudo-ID number).</rdfs:comment>
        <rdfs:label>Pseudonymization</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#RequestedVariables -->


    <owl:Class rdf:about="https://w3id.org/shp#RequestedVariables">
        <rdfs:subClassOf rdf:resource="http://www.w3.org/ns/prov#Collection"/>
        <rdfs:comment>A collection of variables requested by the researcher and included in the Data Specification File.</rdfs:comment>
        <rdfs:label>Requested Variables</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#ResearchCoordinator -->


    <owl:Class rdf:about="https://w3id.org/shp#ResearchCoordinator">
        <rdfs:subClassOf rdf:resource="http://www.w3.org/ns/prov#Person"/>
        <rdfs:comment>In the Grampian Data Safe Haven, Research Coordinators facilitate the use of routinely collected health and population data for research. Research Coordinators also ensure all information governance and information security measures related to research projects, including reviewing project permissions, approved researcher access periods, appropriate training has been undertaken before and during access to the TRE. Research Coordinators support researchers from academic, NHS and industry to design, plan, gather permissions and conduct research involving health and administrative data.</rdfs:comment>
        <rdfs:label>Research Coordinator</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#Researcher -->


    <owl:Class rdf:about="https://w3id.org/shp#Researcher">
        <rdfs:subClassOf rdf:resource="http://www.w3.org/ns/prov#Person"/>
        <rdfs:comment>A person who carries out academic, scientific or clinical research. Researchers who require a TRE (or SDE/Safe Haven), must have any research project approved by ethical permissions to undertake the research and require enhanced information governance and security training to become approved to access highly-sensitive data within the TRE.</rdfs:comment>
        <rdfs:label>Researcher</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#SelectedVariables -->


    <owl:Class rdf:about="https://w3id.org/shp#SelectedVariables">
        <rdfs:subClassOf rdf:resource="http://www.w3.org/ns/prov#Collection"/>
        <rdfs:comment>A collection of Variables that were selected during the extraction process and are contained within a particular dataset.</rdfs:comment>
        <rdfs:label>Selected Variables</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#SensitiveVariable -->


    <owl:Class rdf:about="https://w3id.org/shp#SensitiveVariable">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#Variable"/>
        <rdfs:label>Sensitive Variable</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#SignOff -->


    <owl:Class rdf:about="https://w3id.org/shp#SignOff">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#DataCheck"/>
        <rdfs:comment>Senior member of staff reviewed the validated datasets for data integrity and data pseudonymisation. Data signoff has more of an emphasis on validity of extraction, data validation process and aligns with research project ethical permissions. This is a key step prior to data transferring between different servers/environments (e.g. NHS data moving onto University servers, or data on University servers being released to a project folder for a researcher to access.</rdfs:comment>
        <rdfs:label>Sign Off</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#StatisticalSummary -->


    <owl:Class rdf:about="https://w3id.org/shp#StatisticalSummary">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#TreProjectDocument"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2000/01/rdf-schema#Literal">Give a summary statistic (e.g. mean, max, min etc) of a dataset regardless the data type (e.g. integer, string, character, Boolean etc.)</rdfs:comment>
        <rdfs:label rdf:datatype="http://www.w3.org/2000/01/rdf-schema#Literal">Statistical Summary</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#StudyIdAssignment -->


    <owl:Class rdf:about="https://w3id.org/shp#StudyIdAssignment">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#TreActivity"/>
        <rdfs:comment>Update the ProjectID To StudyID Table with a new the ProjectID to StudyID pairs for use in linkage/anonymisation</rdfs:comment>
        <rdfs:label>Study ID Assignment</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#TechnicalLead -->


    <owl:Class rdf:about="https://w3id.org/shp#TechnicalLead">
        <rdfs:subClassOf rdf:resource="http://www.w3.org/ns/prov#Person"/>
        <rdfs:comment>Has overall responsibilities and does the disclosure checks. They should have the right to access the non-anonymized data.</rdfs:comment>
        <rdfs:label>Technical Lead</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#TreActivity -->


    <owl:Class rdf:about="https://w3id.org/shp#TreActivity">
        <rdfs:subClassOf rdf:resource="http://www.w3.org/ns/prov#Activity"/>
        <rdfs:comment>Activities that happen in the data production within a trusted research environment. For the Grampian Data Safe Haven, this covers all activities in data production, such as Cohort Creation, Data Extraction, Pseudonymisation, Validation Check, etc.</rdfs:comment>
        <rdfs:label>TRE Activity</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#TreProject -->


    <owl:Class rdf:about="https://w3id.org/shp#TreProject">
        <rdfs:subClassOf rdf:resource="http://www.w3.org/ns/prov#Bundle"/>
        <rdfs:comment>A research project in a trusted research environment (TRE); also known as a secure data environment (SDE) or a Safe Haven.
In the Grampian Data Safe Haven (DaSH), projects receive specific ethical approvals for the use of unconsented health and population data for public benefit.</rdfs:comment>
        <rdfs:label>TRE Project</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#TreProjectDocument -->


    <owl:Class rdf:about="https://w3id.org/shp#TreProjectDocument">
        <rdfs:subClassOf rdf:resource="http://www.w3.org/ns/prov#Entity"/>
        <rdfs:comment>Documents that bare some form of importance and information required for the delivery of the TRE project.
In the Grampian Data Safe Haven (DaSH), these are the project protocol,  Data Linkage Plan (i.e., a visualisation of the data sources and data flow from the ingress of data to egress of data in the DaSH environment), and Data Specification File (i.e., variables required for the DaSH Project across datasets selected by researchers and used by data analysts to extract data for each project).</rdfs:comment>
        <rdfs:label>TRE Project Document</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#TreReport -->


    <owl:Class rdf:about="https://w3id.org/shp#TreReport">
        <rdfs:subClassOf rdf:resource="http://www.w3.org/ns/prov#Entity"/>
        <rdfs:comment>Reports related to validation checks, disclosure checks and sum checks</rdfs:comment>
        <rdfs:label>TRE Report</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#UidMapping -->


    <owl:Class rdf:about="https://w3id.org/shp#UidMapping">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#TreProjectDocument"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2000/01/rdf-schema#Literal">Unique Identifier mapping file, maps the corresponding UID in the different dataset in a project to each other. This allows the correct linkage later, once the dataset have been fully anonymised</rdfs:comment>
        <rdfs:label>UID Mapping</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#Update -->


    <owl:Class rdf:about="https://w3id.org/shp#Update">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#TreActivity"/>
        <rdfs:comment>An activity that generates new version of an asset (e.g., document, dataset, etc.).</rdfs:comment>
        <rdfs:label>Update</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#ValidationCheck -->


    <owl:Class rdf:about="https://w3id.org/shp#ValidationCheck">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#DataCheck"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2000/01/rdf-schema#Literal">heck of project activities and entities against project requirements and permissions. This involves one or more data Analysts who are involved in data validation checks after the Lead Analyst has built a cohort, extracted and pseudonymised data and/or linked the datasets for a research project. Validation checks concentrate on technical aspects,whether the coding is correct and that datasets match the Data Linkage Plan and Data Specification File. It generates a validation check report.</rdfs:comment>
        <rdfs:label>Validation Check</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#ValidationCheckReport -->


    <owl:Class rdf:about="https://w3id.org/shp#ValidationCheckReport">
        <rdfs:subClassOf rdf:resource="https://w3id.org/shp#TreReport"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2000/01/rdf-schema#Literal">Report of the results of the validation checks, which indicates if the work of the Lead analyst has passed or failed the validation check.</rdfs:comment>
        <rdfs:label>Validation Check Report</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#Variable -->


    <owl:Class rdf:about="https://w3id.org/shp#Variable">
        <rdfs:subClassOf rdf:resource="http://www.w3.org/ns/prov#Entity"/>
        <rdfs:comment>A data item that captures a characteristic, number, or quantity that can be measured or counted. The data associated with the variable may be different (for example dates, ages, etc.).</rdfs:comment>
        <rdfs:label>Variable</rdfs:label>
    </owl:Class>
    


    <!-- https://w3id.org/shp#VariableConstraint -->


    <owl:Class rdf:about="https://w3id.org/shp#VariableConstraint">
        <rdfs:comment>A constraint (e.g., a date range) that can associated with a specific variable requested by the researcher.</rdfs:comment>
        <rdfs:label>Variable Constraint</rdfs:label>
    </owl:Class>
</rdf:RDF>



<!-- Generated by the OWL API (version 5.1.9) https://github.com/owlcs/owlapi/ -->


