PREFIX : <https://linked.data.gov.au/def/abis/rm/>
PREFIX ont: <https://linked.data.gov.au/def/abis/rm>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <https://schema.org/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

rdfs:Resource
    a owl:Class ;
    rdfs:isDefinedBy rdfs: ;
    skos:example "See example for schema:Statement" ;
    skos:historyNote "Taken unchanged from RDFS" ;
    skos:scopeNote "This class is not expected to be used directly, instead, classes that best model the objects that the Statements are about should be used" ;
    schema:description "The class resource, everything" ;
    schema:name "Resource" ;
.

rdfs:member
    a owl:ObjectProperty ;
    rdfs:isDefinedBy rdfs: ;
    skos:example "See example for schema:Statement" ;
    skos:historyNote "Taken unchanged from RDFS" ;
    skos:scopeNote "To be used to associate Data Catalogue instances with Dataset instances and Datasets instances with Statement instances" ;
    schema:description "A member of the subject resource" ;
    schema:name "member" ;
.

ont:
    a owl:Ontology ;
    owl:versionIRI :2 ;
    skos:historyNote "Created by the BDR Team in 2024 with the establishment of the operation Biodiversity Data Repository" ;
    prov:qualifiedAttribution
        [
            prov:agent <https://linked.data.gov.au/org/ausbigg> ;
            prov:hadRole <https://def.isotc211.org/codeset/RoleCode/owner> ;
        ] ;
    schema:codeRepository "https://github.com/ausbigg/abis/"^^xsd:anyURI ;
    schema:copyrightHolder <https://linked.data.gov.au/org/dcceew> ;
    schema:creator <https://linked.data.gov.au/org/dcceew> ;
    schema:dateCreated "2024-07-15"^^xsd:date ;
    schema:dateIssued "2024-07-30"^^xsd:date ;
    schema:dateModified "2026-11-21"^^xsd:date ;
    schema:description "The Records Model links objects represented in Semantic Web data to records about them that preserve identifiers from their original non-Semantic Web form. This allows easy association of Semantic Web and non-Semantic Web forms and facilitates good provenance for data conversions to Semantic Web form" ;
    schema:license <http://purl.org/NET/rdflicense/cc-by4.0> ;
    schema:name "Records Model"@en ;
    schema:publisher <https://linked.data.gov.au/org/dcceew> ;
    schema:version 3 ;
    rdfs:member
        schema:DataCatalog ,
        schema:Dataset ,
        schema:Statement ,
        rdfs:Resource ,
        rdfs:member ,
        schema:about ,
        schema:identifier ;
.

:1
    schema:name "1" ;
.

schema:DataCatalog
    a owl:Class ;
    rdfs:isDefinedBy <https://schema.org> ;
    skos:example "See example for schema:Statement" ;
    skos:historyNote "Taken unchanged from schema.org" ;
    skos:scopeNote "" ;
    schema:description "A collection of datasets" ;
    schema:name "Data Catalog" ;
.

schema:Dataset
    a owl:Class ;
    rdfs:isDefinedBy <https://schema.org> ;
    skos:example "See example for schema:Statement" ;
    skos:historyNote "Taken unchanged from schema.org" ;
    schema:description "A body of structured information describing some topic(s) of interest" ;
    schema:name "Dataset" ;
.

schema:Statement
    a owl:Class ;
    rdfs:isDefinedBy <https://linked.data.gov.au/def/abis> ;
    rdfs:subClassOf prov:Entity ;
    skos:example """
:catalogue-x
    a schema:DataCatalog ;
    schema:name "Catalogue X" ;
    rdfs:member :dataset-y ;
    # ... other catalogue metadata
.

:dataset-y
    a schema:Dataset ;
    schema:name "Dataset Y" ;
    # ... the dataset metadata
    schema:isPartOf :catalogue-y ;
    rdfs:member
        :statement-001 ,
        :statement-002 ,
        # ... many other statements
        :statement-NNN ;
.

:statement-001
    a schema:Statement ;
    # a non-IRI identifier for this Record, as found in the original
    # data held by the Submitting Organisation
    schema:identifier "R1234"^^ex:OrgMRecordId ;
    # :dataset-y rdfs:member :statement-001 indicates dataset membership
    schema:isPartOf :dataset-y ;
    # the thing the Record is about
    schema:about :occurrence-aaa ;
.

# A dwc:Occurrence is type of rdfs:Resource
:occurrence-aaa
    a dwc:Occurrence ;
    schema:name "Occurrence AAA" ;
    schema:additionalType <http://linked.data.gov.au/def/tern-cv/cd5cbdbb-07d9-4a5b-9b11-5ab9d6015be6> ;  # animal specimen
    sosa:isSampleOf :foi-h ;  # link a field site
    sosa:usedProcedure :procedure-i ;  # a controlled method
    schema:spatial [ geo:asWKT "POINT (120.244 -32.959)"^^geo:wktLiteral ] ;
    schema:temporal "2014-07-23"^^xsd:date ;
.
""" ;
    skos:historyNote "Taken unchanged from schema.org" ;
    schema:alternateName "Record" ;
    schema:description "The recording of an Occurrence" ;
    schema:name "Statement" ;
.

schema:about
    a owl:ObjectProperty ;
    rdfs:isDefinedBy <https://schema.org> ;
    skos:example "See example for schema:Statement" ;
    skos:historyNote "Taken unchanged from schema.org" ;
    skos:scopeNote "To be used to associate Statement instances with the Semantic Web Objects (Resource) they are about" ;
    schema:description "The subject matter of the content" ;
    schema:name "about" ;
.


schema:identifier
    a owl:DatatypeProperty ;
    rdfs:isDefinedBy <https://schema.org> ;
    skos:example "See example for schema:Statement" ;
    skos:historyNote "Taken unchanged from schema.org" ;
    skos:scopeNote "To be used to associate Statement instances with the Semantic Web Objects (Resource) they are about" ;
    schema:description "The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc." ;
    schema:name "identifier" ;
.
