PREFIX dcso: <https://w3id.org/dcso/ns/core#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

dcso:DatasetId a rdfs:Class ;
  rdfs:label "DatasetId" ;
  rdfs:comment "Identifier for a dataset" ;
  rdfs:subClassOf dcso:Id .

dcso:identifier a rdf:Property ;
  rdfs:label "identifier" ;
  rdfs:comment "The identifier any of the id classes" ;
  rdfs:domain dcso:Id ;
  rdfs:range xsd:string .

dcso:hasId a rdf:Property ;
  rdfs:label "hasId" ;
  rdfs:comment "Any ID used to uniquely identified a Thing." ;
  rdfs:domain dcso:Id ;
  rdfs:range dcso:Id .

dcso:identifierType a rdf:Property ;
  rdfs:label "identifierType" ;
  rdfs:comment "Identifier type" ;
  rdfs:domain dcso:Id ;
  rdfs:range xsd:string .

<http://www.w3.org/ns/dcat#Dataset> a rdfs:Class ;
  rdfs:label "Dataset" .

<http://www.w3.org/ns/dcat#Distribution> a rdfs:Class ;
  rdfs:label "Distribution" .

dcso:Contributor a rdfs:Class ;
  rdfs:label "Contributor" ;
  rdfs:comment "For listing all parties involved in the process of the data management described by this DMP, and those parties involved in the creation and management of the DMP itself. " ;
  rdfs:subClassOf <http://xmlns.com/foaf/0.1/Agent> .

<http://xmlns.com/foaf/0.1/mbox> a rdf:Property ;
  rdfs:label "mbox" ;
  rdfs:comment "E_mail address" ;
  rdfs:range xsd:string .

<http://xmlns.com/foaf/0.1/name> a rdf:Property ;
  rdfs:label "name" ;
  rdfs:range xsd:string .

dcso:role a rdf:Property ;
  rdfs:label "role" ;
  rdfs:comment "Type of contributor" ;
  rdfs:domain dcso:Contributor ;
  rdfs:range xsd:string .

dcso:hasContributorId a rdf:Property ;
  rdfs:label "hasContributorId" ;
  rdfs:comment "Any ID used to uniquely identified this Contributor." ;
  rdfs:domain dcso:Contributor ;
  rdfs:range dcso:ContributorId ;
  rdfs:subPropertyOf dcso:hasId .

dcso:GrantId a rdfs:Class ;
  rdfs:label "GrantId" ;
  rdfs:comment "Identifier for grant" ;
  rdfs:subClassOf dcso:Id .

dcso:Project a rdfs:Class ;
  rdfs:label "Project" ;
  rdfs:comment "Describes the project associated with the DMP, if applicable. It can be used to describe any type of project: that is, not only funded projects, but also internal projects, PhD theses, etc. " .

dcso:end a rdf:Property ;
  rdfs:label "end" ;
  rdfs:comment "Project end date" ;
  rdfs:domain dcso:Project ;
  rdfs:range xsd:dateTime .

dcso:start a rdf:Property ;
  rdfs:label "start" ;
  rdfs:comment "Project start date" ;
  rdfs:domain dcso:Project ;
  rdfs:range xsd:dateTime .

dcso:hasFunding a rdf:Property ;
  rdfs:label "hasFunding" ;
  rdfs:comment "Any Funding granted for this Project." ;
  rdfs:domain dcso:Project ;
  rdfs:range dcso:Funding .

<http://xmlns.com/foaf/0.1/Agent> a rdfs:Class ;
  rdfs:label "Agent" .

dcso:DMPId a rdfs:Class ;
  rdfs:label "DMPId" ;
  rdfs:comment "Identifier for a DMP" ;
  rdfs:subClassOf dcso:Id .

dcso:Cost a rdfs:Class ;
  rdfs:label "Cost" ;
  rdfs:comment "Provides a list of costs related to data management" .

dcso:value a rdf:Property ;
  rdfs:label "value" ;
  rdfs:comment "Value for cost" ;
  rdfs:domain dcso:Cost ;
  rdfs:range xsd:integer .

dcso:curencyCode a rdf:Property ;
  rdfs:label "curencyCode" ;
  rdfs:comment "A Currency Code used to express values in this Cost." ;
  rdfs:domain dcso:Cost ;
  rdfs:range xsd:string .

dcso:Host a rdfs:Class ;
  rdfs:label "Host" ;
  rdfs:comment "Provides information on the system where data is stored. It can be used to provide details on a repository where data is deposited, e.g. a Core Trust Seal certified repository located in Europe that uses DOIs. It can also provide details on systems where data is stored and processed during research, e.g. a high performance computer that uses fast storage with two daily backups. " .

dcso:backupType a rdf:Property ;
  rdfs:label "backupType" ;
  rdfs:comment "Backup type" ;
  rdfs:domain dcso:Host ;
  rdfs:range xsd:string .

dcso:url a rdf:Property ;
  rdfs:label "url" ;
  rdfs:comment "The URL of the system hosting a distribution of a dataset" ;
  rdfs:domain dcso:Host ;
  rdfs:range xsd:anyURI .

dcso:pidSystem a rdf:Property ;
  rdfs:label "pidSystem" ;
  rdfs:comment """PID System
Suggested values:

    ark
    arxiv
    bibcode
    doi
    ean13
    eissn
    handle
    igsn
    isbn
    issn
    istc
    lissn
    lsid
    pmid
    purl
    upc
    url
    urn
    none
    unknown
    other""" ;
  rdfs:domain dcso:Host ;
  rdfs:range xsd:string .

dcso:geoLocation a rdf:Property ;
  rdfs:label "geoLocation" ;
  rdfs:comment "A Country where a Host, i.e. storage system, is located." ;
  rdfs:domain dcso:Host ;
  rdfs:range xsd:string .

dcso:backupFrequency a rdf:Property ;
  rdfs:label "backupFrequency" ;
  rdfs:comment "Backup frequency" ;
  rdfs:domain dcso:Host ;
  rdfs:range xsd:string .

dcso:availability a rdf:Property ;
  rdfs:label "availability" ;
  rdfs:comment "Indicates the availability of the host" ;
  rdfs:domain dcso:Host ;
  rdfs:range xsd:string .

dcso:supportVersioning a rdf:Property ;
  rdfs:label "supportVersioning" ;
  rdfs:comment """Informs of the support for versioning
  Allowed Values:

    yes
    no
    unknown""" ;
  rdfs:domain dcso:Host ;
  rdfs:range xsd:string .

dcso:certifiedWith a rdf:Property ;
  rdfs:label "certifiedWith" ;
  rdfs:comment "Validation with ShEx/SHACL" ;
  rdfs:domain dcso:Host ;
  rdfs:range xsd:string .

dcso:storageType a rdf:Property ;
  rdfs:label "storageType" ;
  rdfs:comment "The type of storage required" ;
  rdfs:domain dcso:Host ;
  rdfs:range xsd:string .

dcso:Id a rdfs:Class ;
  rdfs:label "Id" .

dcso:Metadata a rdfs:Class ;
  rdfs:label "Metadata" ;
  rdfs:comment "Provides a pointer to a metadata standard used to describe the data. It does not contain any actual metadata relating to the dataset. " .

dcso:language a rdf:Property ;
  rdfs:label "language" ;
  rdfs:comment "A code for the language used to express data." ;
  rdfs:range xsd:string .

dcso:hasMetadataStandardId a rdf:Property ;
  rdfs:label "hasMetadataStandardId" ;
  rdfs:comment "Any ID used to uniquely identified this Metadata standard." ;
  rdfs:domain dcso:Metadata ;
  rdfs:range dcso:MetadataStandardId ;
  rdfs:subPropertyOf dcso:hasId .

dcso:Dataset a rdfs:Class ;
  rdfs:label "Dataset" ;
  rdfs:comment "This follows the defintion of Dataset in the W3C DCAT specification. Dataset can be understood as a logical entity depicting data, e.g. raw data. It provides high level information about the data. The granularity of dataset depends on a specific setting. In edge cases it can be a file, but also a collection of files in different formats" ;
  rdfs:subClassOf <http://www.w3.org/ns/dcat#Dataset> .

dcso:hasDatasetId a rdf:Property ;
  rdfs:label "hasDatasetId" ;
  rdfs:comment "Any ID used to uniquely identified this Dataset." ;
  rdfs:domain dcso:Dataset ;
  rdfs:range dcso:DatasetId ;
  rdfs:subPropertyOf dcso:hasId .

<http://purl.org/dc/terms/issued> a rdf:Property ;
  rdfs:label "issued" ;
  rdfs:comment "Issued date" ;
  rdfs:domain dcso:Dataset ;
  rdfs:range xsd:dateTime .

dcso:personalData a rdf:Property ;
  rdfs:label "personalData" ;
  rdfs:comment "Informs about the presence or absence of personal data in the dataset" ;
  rdfs:domain dcso:Dataset ;
  rdfs:range xsd:string .

dcso:hasMetadata a rdf:Property ;
  rdfs:label "hasMetadata" ;
  rdfs:comment "A Metadata standard used to describe data in this Dataset." ;
  rdfs:domain dcso:Dataset ;
  rdfs:range dcso:Metadata .

dcso:hasSecurityPrivacy a rdf:Property ;
  rdfs:label "hasSecurityPrivacy" ;
  rdfs:comment "Any specific requirements related to security and privacy of this Dataset." ;
  rdfs:domain dcso:Dataset ;
  rdfs:range dcso:SecurityPrivacy .

dcso:sensitiveData a rdf:Property ;
  rdfs:label "sensitiveData" ;
  rdfs:comment "Informs about the presence or absence of sensitive data in the dataset" ;
  rdfs:domain dcso:Dataset ;
  rdfs:range xsd:string .

dcso:hasDistribution a rdf:Property ;
  rdfs:label "hasDistribution" ;
  rdfs:comment "Any Distribution, i.e., specific instance, of this Dataset." ;
  rdfs:domain dcso:Dataset ;
  rdfs:range dcso:Distribution .

dcso:preservationStatement a rdf:Property ;
  rdfs:label "preservationStatement" ;
  rdfs:comment "Preservation statement" ;
  rdfs:domain dcso:Dataset ;
  rdfs:range xsd:string .

dcso:datasetType a rdf:Property ;
  rdfs:label "datasetType" ;
  rdfs:comment "If appropriate, type according to: DataCite and/or COAR dictionary. Otherwise use the common name for the type, e.g. raw data, software, survey, etc. https://schema.datacite.org/meta/kernel-4.1/doc/DataCite-MetadataKernel_v4.1.pdf http://vocabularies.coar-repositories.org/pubby/resource_type.html" ;
  rdfs:domain dcso:Dataset ;
  rdfs:range xsd:string .

dcso:dataQualityAssurance a rdf:Property ;
  rdfs:label "dataQualityAssurance" ;
  rdfs:comment "Assurance quality of data" ;
  rdfs:domain dcso:Dataset ;
  rdfs:range xsd:string .

<http://www.w3.org/ns/dcat#keyword> a rdf:Property ;
  rdfs:label "keyword" ;
  rdfs:comment "Keyword to describe the dataset" ;
  rdfs:domain dcso:Dataset ;
  rdfs:range xsd:string .

dcso:hasTechnicalResource a rdf:Property ;
  rdfs:label "hasTechnicalResource" ;
  rdfs:comment "Any Technical Resource, e.g, microscope, needed/used to create or process the data in this Dataset." ;
  rdfs:domain dcso:Dataset ;
  rdfs:range dcso:TechnicalResource .

dcso:License a rdfs:Class ;
  rdfs:label "License" ;
  rdfs:comment "Used to indicate the license under which data (each specific Distribution) will be made available. It also allows for modelling embargoes. " .

dcso:licenseRef a rdf:Property ;
  rdfs:label "licenseRef" ;
  rdfs:comment "" ;
  rdfs:seeAlso <https://jats.nlm.nih.gov/archiving/tag-library/1.2/element/ali-license_ref.html> ;
  rdfs:domain dcso:License ;
  rdfs:range xsd:anyURI .

dcso:startDate a rdf:Property ;
  rdfs:label "startDate" ;
  rdfs:comment "If date is set in the future, it indicates embargo period." ;
  rdfs:domain dcso:License ;
  rdfs:range xsd:dateTime .

dcso:TechnicalResource a rdfs:Class ;
  rdfs:label "TechnicalResource" ;
  rdfs:comment "For specifying equipment needed/used to create or process the data, e.g. a microscope, etc. " .

dcso:ContributorId a rdfs:Class ;
  rdfs:label "ContributorId" ;
  rdfs:comment "Identifier for a contributor person" ;
  rdfs:subClassOf dcso:Id .

dcso:ContactId a rdfs:Class ;
  rdfs:label "ContactId" ;
  rdfs:comment "Identifier for a contact person" ;
  rdfs:subClassOf dcso:Id .

dcso:Contact a rdfs:Class ;
  rdfs:label "Contact" ;
  rdfs:comment "Specifies the party which can provide any information on the DMP. This is not necessarily the DMP creator, and can be a person or an organisation. " ;
  rdfs:subClassOf <http://xmlns.com/foaf/0.1/Agent> .

dcso:hasContactId a rdf:Property ;
  rdfs:label "hasContactId" ;
  rdfs:comment "Any ID used to uniquely identified this Contact." ;
  rdfs:domain dcso:Contact ;
  rdfs:range dcso:ContactId ;
  rdfs:subPropertyOf dcso:hasId .

dcso:Funding a rdfs:Class ;
  rdfs:label "Funding" ;
  rdfs:comment "For specifying details on funded projects, e.g. NSF of EC funded projects. " .

dcso:hasGrantId a rdf:Property ;
  rdfs:label "hasGrantId" ;
  rdfs:comment "Any ID used to uniquely identified a Grant associated to this Funder." ;
  rdfs:domain dcso:Funding ;
  rdfs:range dcso:GrantId ;
  rdfs:subPropertyOf dcso:hasId .

dcso:hasFunderId a rdf:Property ;
  rdfs:label "hasFunderId" ;
  rdfs:comment "Any ID used to uniquely identified this Funder." ;
  rdfs:domain dcso:Funding ;
  rdfs:range dcso:FunderId ;
  rdfs:subPropertyOf dcso:hasId .

dcso:fundingStatus a rdf:Property ;
  rdfs:label "fundingStatus" ;
  rdfs:comment """To express different phases of project lifecycle.
Allowed Values:

    planned
    applied
    granted
    rejected""" ;
  rdfs:domain dcso:Funding ;
  rdfs:range xsd:string .

dcso:MetadataStandardId a rdfs:Class ;
  rdfs:label "MetadataStandardId" ;
  rdfs:comment "Identifier for the metadata standard used." ;
  rdfs:subClassOf dcso:Id .

dcso:DMP a rdfs:Class ;
  rdfs:label "DMP" ;
  rdfs:comment "Provides high level information about the DMP, e.g. its title, modification date, etc. It is the root of this application profile. The majority of its fields are mandatory. " .

dcso:ethicalIssuesReport a rdf:Property ;
  rdfs:label "ethicalIssuesReport" ;
  rdfs:comment "To indicate where a protocol from a meeting with an ethical commitee can be found" ;
  rdfs:domain dcso:DMP ;
  rdfs:range xsd:anyURI .

dcso:hasProject a rdf:Property ;
  rdfs:label "hasProject" ;
  rdfs:comment "Any Project associated with this DMP." ;
  rdfs:domain dcso:DMP ;
  rdfs:range dcso:Project .

dcso:ethicalIssuesExist a rdf:Property ;
  rdfs:label "ethicalIssuesExist" ;
  rdfs:comment """To indicate whether there are ethical issues related to data that this DMP describes.
Allowed Values:

    yes
    no
    unknown""" ;
  rdfs:domain dcso:DMP ;
  rdfs:range xsd:string .

dcso:modified a rdf:Property ;
  rdfs:label "modified" ;
  rdfs:comment "The date for the latest DMP modification" ;
  rdfs:domain dcso:DMP ;
  rdfs:range xsd:dateTime .

dcso:hasDMPId a rdf:Property ;
  rdfs:label "hasDMPId" ;
  rdfs:comment "Any ID used to uniquely identified this DMP." ;
  rdfs:domain dcso:DMP ;
  rdfs:range dcso:DMPId ;
  rdfs:subPropertyOf dcso:hasId .

dcso:hasDataset a rdf:Property ;
  rdfs:label "hasDataset" ;
  rdfs:comment "Any Dataset considered under this DMP." ;
  rdfs:domain dcso:DMP ;
  rdfs:range dcso:Dataset .

dcso:report a rdf:Property ;
  rdfs:label "report" ;
  rdfs:domain dcso:DMP ;
  rdfs:range xsd:anyURI .

dcso:ethicalIssueDescription a rdf:Property ;
  rdfs:label "ethicalIssueDescription" ;
  rdfs:comment "To describe ethical issues directly in a DMP" ;
  rdfs:domain dcso:DMP ;
  rdfs:range xsd:string .

dcso:hasContributor a rdf:Property ;
  rdfs:label "hasContributor" ;
  rdfs:comment "Any Contributor involved in the process of the data management described by this DMP as well as any Contributor involved in the creation and management of this DMP itself." ;
  rdfs:domain dcso:DMP ;
  rdfs:range dcso:Contributor .

dcso:hasContact a rdf:Property ;
  rdfs:label "hasContact" ;
  rdfs:comment "Any Contact that can provide information on this DMP." ;
  rdfs:domain dcso:DMP ;
  rdfs:range dcso:Contact .

dcso:created a rdf:Property ;
  rdfs:label "created" ;
  rdfs:comment "The of creation for the DMP" ;
  rdfs:domain dcso:DMP ;
  rdfs:range xsd:dateTime .

dcso:hasCost a rdf:Property ;
  rdfs:label "hasCost" ;
  rdfs:comment "Any Cost related to data management included in this DMP." ;
  rdfs:domain dcso:DMP ;
  rdfs:range dcso:Cost .

dcso:SecurityPrivacy a rdfs:Class ;
  rdfs:label "SecurityPrivacy" ;
  rdfs:comment "Used to indicate any specific requirements related to security and privacy of a specific dataset, e.g. to indicate that data is not anonymized. " .

dcso:FunderId a rdfs:Class ;
  rdfs:label "FunderId" ;
  rdfs:comment "Identifier for funders : it is recommended to use CrossRef Funder Registry. " ;
  rdfs:subClassOf dcso:Id .

dcso:Distribution a rdfs:Class ;
  rdfs:label "Distribution" ;
  rdfs:comment "This follows the defintion of Dataset in the W3C DCAT specification. Dataset can be understood as a logical entity depicting data, e.g. raw data. It provides high level information about the data. The granularity of dataset depends on a specific setting. In edge cases it can be a file, but also a collection of files in different formats" ;
  rdfs:subClassOf <http://www.w3.org/ns/dcat#Distribution> .

<http://purl.org/dc/terms/format> a rdf:Property ;
  rdfs:label "format" ;
  rdfs:comment "Format according to: https://www.iana.org/assignments/media-types/media-types.xhtml if appropriate, otherwise use the common name for this format" ;
  rdfs:domain dcso:Distribution ;
  rdfs:range xsd:string .

dcso:hasLicense a rdf:Property ;
  rdfs:label "hasLicense" ;
  rdfs:comment "A License used for this Distribution." ;
  rdfs:domain dcso:Distribution ;
  rdfs:range dcso:License .

<http://www.w3.org/ns/dcat#downloadURL> a rdf:Property ;
  rdfs:label "downloadURL" ;
  rdfs:comment "The URL of the downloadable file in a given format. E.g. CSV file or RDF file." ;
  rdfs:domain dcso:Distribution ;
  rdfs:range xsd:anyURI .

<http://www.w3.org/ns/dcat#byteSize> a rdf:Property ;
  rdfs:label "byteSize" ;
  rdfs:comment "Byte size" ;
  rdfs:domain dcso:Distribution ;
  rdfs:range xsd:integer .

dcso:dataAccess a rdf:Property ;
  rdfs:label "dataAccess" ;
  rdfs:comment """Indicates access mode for data.
Allowed Values:

    open
    shared
    closed""" ;
  rdfs:domain dcso:Distribution ;
  rdfs:range xsd:string .

dcso:hasHost a rdf:Property ;
  rdfs:label "hasHost" ;
  rdfs:comment "Any Host, i., storage system, where this Distribution has been stored." ;
  rdfs:domain dcso:Distribution ;
  rdfs:range dcso:Host .

dcso:availableUntil a rdf:Property ;
  rdfs:label "availableUntil" ;
  rdfs:comment "Indicates how long this distribution will be/ should be available" ;
  rdfs:domain dcso:Distribution ;
  rdfs:range xsd:dateTime .

<http://www.w3.org/ns/dcat#accessURL> a rdf:Property ;
  rdfs:label "accessURL" ;
  rdfs:comment "A URL of the resource that gives access to a distribution of the dataset. e.g. landing page." ;
  rdfs:domain dcso:Distribution ;
  rdfs:range xsd:anyURI .
