PREFIX abisdm: <https://linked.data.gov.au/def/abisdm/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX ont: <https://linked.data.gov.au/def/abisdm>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX sdo: <https://schema.org/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX tern: <https://w3id.org/tern/ontologies/tern/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

abisdm:conservationStatus
    a owl:ObjectProperty ;
    rdfs:isDefinedBy ont: ;
    rdfs:range abisdm:ConservationStatus ;
    skos:definition "A code indicating the conservation status of a taxon or a proxy object for a taxon, such as a taxon name"@en ;
    skos:example """# the example taxon, :Calothamnus-lateralis-var-crassus, is indicated as Critically Endangered, cstat:CR
# using a Concept from the the Conservation Status vocabulary
@prefix ex: <http://example.com/> .
@prefix cstat: <https://linked.data.gov.au/def/conservation-statuses/> .

ex:Calothamnus-lateralis-var-crassus abisdm:conservationStatus cstat:CR .""" ;
    skos:historyNote "Created for the Biodiversity Data Repository project. Motivated by the existence of multiple conservation status code lists" ;
    skos:prefLabel "conservation status"@en ;
    sdo:rangeIncludes tern:Taxon ;
.

abisdm:embargoEndDate
    a owl:DatatypeProperty ;
    rdfs:isDefinedBy ont: ;
    rdfs:range xsd:date ;
    skos:definition """The date after which the emabrgo on this Dataset no longer applies.

This property takes precedence over abisdm:embargoPeriod if both are present."""@en ;
    skos:example """# Dataset with a fixed embargo end date
@prefix abisdm: <https://linked.data.gov.au/def/abisdm/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix sdo: <https://schema.org/> .
@prefix tern: <https://w3id.org/tern/ontologies/tern/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://example.org/dataset/embargoed-test-01>
    a tern:RDFDataset ;
    dcterms:title "Margaret River Flora" ;
    skos:definition "202201 CBR Flora and Vegetation report_draftv1.pdf by Stream Environment and Water Pty Ltd"@en ;
    dcterms:creator <http://example.org/Stream-Environment-and-Water-Pty-Ltd> ;
    dcterms:created "2022-02-24"^^xsd:date ;
    abisdm:embargoEndDate "2022-08-15"^^xsd:date ;
.

<http://example.org/Stream-Environment-and-Water-Pty-Ltd>
    a sdo:Organization ;
    sdo:name "Stream Environment and Water Pty Ltd" ;
.""" ;
    skos:historyNote "Created for the Biodiversity Data Repository project" ;
    skos:prefLabel "embargo end date"@en ;
.

abisdm:embargoPeriod
    a owl:DatatypeProperty ;
    rdfs:isDefinedBy ont: ;
    rdfs:range xsd:duration ;
    skos:definition "The period of time for which this Dataset is embargoed. The time's start date must be set by the system embargoing the data. It may be calculated from a dataset creation/issued date but, if those properties are missing, should be calculated from the date at which the embargoing system recieved the Dataset."@en ;
    skos:example """# Dataset with a embargo period
@prefix abisdm: <https://linked.data.gov.au/def/abisdm/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix sdo: <https://schema.org/> .
@prefix tern: <https://w3id.org/tern/ontologies/tern/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://example.org/dataset/embargoed-test-01>
    a tern:RDFDataset ;
    dcterms:title "Margaret River Flora" ;
    skos:definition "202201 CBR Flora and Vegetation report_draftv1.pdf by Stream Environment and Water Pty Ltd"@en ;
    dcterms:creator <http://example.org/Stream-Environment-and-Water-Pty-Ltd> ;
    dcterms:created "2022-02-24"^^xsd:date ;
    abisdm:embargoPeriod "P1Y6M"^^xsd:duration ;
.

<http://example.org/Stream-Environment-and-Water-Pty-Ltd>
    a sdo:Organization ;
    sdo:name "Stream Environment and Water Pty Ltd" ;
.""" ;
    skos:historyNote "Created for the Biodiversity Data Repository project" ;
    skos:prefLabel "embargo period"@en ;
.

abisdm:ConservationStatus
    a owl:Class ;
    rdfs:isDefinedBy ont: ;
    rdfs:subClassOf
        skos:Concept ,
        abisdm:SuperClass ;
    skos:definition "A code indicating the conservation status of a taxon or a proxy object for a taxon, such as a taxon name"@en ;
    skos:example """# instances of this class are stored as Concepts in the Conservation Status vocabulary
# https://linked.data.gov.au/def/conservation-statuses, e.g.
<https://linked.data.gov.au/def/conservation-statuses/CR>
    a skos:Concept , abisdm:ConservationStatus ;
    skos:prefLabel "Critically Endangered"@en ;
.""" ;
    skos:historyNote "Motivated by the existence of multiple conservation status code lists" ;
    skos:prefLabel "Created for the Biodiversity Data Repository project. Conservation Status"@en ;
.

abisdm:SuperClass
    a owl:Class ;
    rdfs:isDefinedBy ont: ;
    rdfs:subClassOf owl:Thing ;
    skos:definition "A superclass of the main things in the ABIS DB Ontology"@en ;
    skos:example """ex:x a abisdm:ConservationStatus .

    abisdm:ConservationStatus rdfs:subClassOf abisdm:SuperClass .""" ;
    skos:historyNote "Created for the Biodiversity Data Repository project. It is required for good data display within the BDR technical system."@en ;
    skos:prefLabel "ABIS DM Ontology Superclass"@en ;
    skos:scopeNote "This class is not expected to be instantiated"@en ;
.

<https://linked.data.gov.au/org/dcceew>
    a sdo:Organization ;
    sdo:name "Department of Climate Change, Energy, the Environment and Water"@en ;
    sdo:url "https://www.dcceew.gov.au"^^xsd:anyURI ;
.

ont:
    a owl:Ontology ;
    dcterms:source "http://example.com/fake-source"^^xsd:anyURI ;
    owl:versionIRI abisdm:0.1.1 ;
    owl:versionInfo "0.1.0" ;
    skos:definition """An ontology containing elements for data management for Australian Biodiversity Information Standard (ABIS) data.

This ontology is not a domain model for ABIS - that is the TERN Ontology (https://w3id.org/tern/ontologies/tern/). This ontology provides non-scientific model elements for data management, such as properties to indicate whether species are endangered or not, data publication embargo periods and so on."""@en ;
    skos:historyNote "This ontology has been made as part of the BDR Pilot project work"@en ;
    skos:prefLabel "ABIS Data Management Ontology"@en ;
    sdo:codeRepository "https://bdr.gov.au"^^xsd:anyURI ;
    sdo:copyrightHolder <https://linked.data.gov.au/org/dcceew> ;
    sdo:copyrightNotice "(c) Commonwealth of Australia (Department of Climate Change, Energy, the Environment and Water), 2023" ;
    sdo:creator <https://linked.data.gov.au/org/dcceew> ;
    sdo:dateCreated "2022-03-22"^^xsd:date ;
    sdo:dateIssued "2022-03-22"^^xsd:date ;
    sdo:dateModified "2023-06-21"^^xsd:date ;
    sdo:license "https://creativecommons.org/licenses/by/4.0/"^^xsd:anyURI ;
    sdo:publisher <https://linked.data.gov.au/org/dcceew> ;
.

