diff --git a/abis_mapping/base/mapper.py b/abis_mapping/base/mapper.py index da6a8f7a..412dc032 100644 --- a/abis_mapping/base/mapper.py +++ b/abis_mapping/base/mapper.py @@ -85,9 +85,9 @@ def add_default_dataset( """ # Add Default Dataset to Graph graph.add((uri, a, utils.namespaces.TERN.Dataset)) - graph.add((uri, rdflib.DCTERMS.title, rdflib.Literal(self.DATASET_DEFAULT_NAME))) - graph.add((uri, rdflib.DCTERMS.description, rdflib.Literal(self.DATASET_DEFAULT_DESCRIPTION))) - graph.add((uri, rdflib.DCTERMS.issued, types.temporal.Date.today().to_rdf_literal())) + graph.add((uri, rdflib.SDO.name, rdflib.Literal(self.DATASET_DEFAULT_NAME))) + graph.add((uri, rdflib.SDO.description, rdflib.Literal(self.DATASET_DEFAULT_DESCRIPTION))) + graph.add((uri, rdflib.SDO.dateIssued, types.temporal.Date.today().to_rdf_literal())) def add_geometry_supplied_as( self, diff --git a/abis_mapping/templates/incidental_occurrence_data/examples/margaret_river_flora/margaret_river_flora.ttl b/abis_mapping/templates/incidental_occurrence_data/examples/margaret_river_flora/margaret_river_flora.ttl index be88fd8e..2c2085e2 100644 --- a/abis_mapping/templates/incidental_occurrence_data/examples/margaret_river_flora/margaret_river_flora.ttl +++ b/abis_mapping/templates/incidental_occurrence_data/examples/margaret_river_flora/margaret_river_flora.ttl @@ -5,6 +5,7 @@ @prefix prov: . @prefix rdf: . @prefix rdfs: . +@prefix schema: . @prefix skos: . @prefix sosa: . @prefix tern: . @@ -920,138 +921,138 @@ tern:hasValue . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of basisOfRecord." ; skos:inScheme ; skos:prefLabel "new basis of record" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of identificationQualifier." ; skos:inScheme ; skos:prefLabel "new identification qualifier" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of kingdom." ; skos:inScheme ; skos:prefLabel "new kingdom" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of preparations." ; skos:inScheme ; skos:prefLabel "Wet (in ethanol or some other preservative)" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of preparations." ; skos:inScheme ; skos:prefLabel "new preparations" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of taxonRank." ; skos:inScheme ; skos:prefLabel "new taxon rank" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:definition "The existence of the organism from this kingdom sampled at a particular place at a particular time." ; skos:inScheme ; skos:prefLabel "new kingdom occurrence" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:definition "A specimen sampled from an organism of this kingdom." ; skos:inScheme ; skos:prefLabel "new kingdom specimen" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of samplingProtocol." ; skos:inScheme ; skos:prefLabel "new sampling protocol" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of sequencingMethod." ; skos:inScheme ; skos:prefLabel "Sanger dideoxy sequencing" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of sequencingMethod." ; skos:inScheme ; skos:prefLabel "new sequencing method" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of threatStatusCheckProtocol." ; skos:inScheme ; skos:prefLabel "Check against Threatened and Priority Fauna List WA available from https://www.dpaw.wa.gov.au/plants-and-animals/threatened-species-and-communities/threatened-animals. Last updated 13 June 2022" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of threatStatusCheckProtocol." ; skos:inScheme ; skos:prefLabel "a random selection" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of establishmentMeans." ; skos:inScheme ; skos:prefLabel "new establishment means" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of lifeStage." ; skos:inScheme ; skos:prefLabel "new life stage" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of occurrenceStatus." ; skos:inScheme ; skos:prefLabel "new occurrence status" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of reproductiveCondition." ; skos:inScheme ; skos:prefLabel "No breeding evident" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of reproductiveCondition." ; skos:inScheme ; skos:prefLabel "new reproductiveCondition" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of sex." ; skos:inScheme ; skos:prefLabel "new sex" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of threatStatus." ; skos:inScheme ; @@ -1529,21 +1530,21 @@ tern:hasValue . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of identificationQualifier." ; skos:inScheme ; skos:prefLabel "?" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of identificationMethod." ; skos:inScheme ; skos:prefLabel "Visually identified in the field (sighting)" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of identificationMethod." ; skos:inScheme ; @@ -2063,9 +2064,9 @@ foaf:name "Stream Environment and Water Pty Ltd" . a tern:Dataset ; - dcterms:description "Example Incidental Occurrence Dataset by Gaia Resources" ; - dcterms:issued "2024-03-13"^^xsd:date ; - dcterms:title "Example Incidental Occurrence Dataset" . + schema:description "Example Incidental Occurrence Dataset by Gaia Resources" ; + schema:dateIssued "2024-03-13"^^xsd:date ; + schema:name "Example Incidental Occurrence Dataset" . [] a rdf:Statement ; geo:hasGeometry [ a geo:Geometry ; diff --git a/abis_mapping/templates/incidental_occurrence_data_v2/examples/margaret_river_flora/margaret_river_flora.ttl b/abis_mapping/templates/incidental_occurrence_data_v2/examples/margaret_river_flora/margaret_river_flora.ttl index 0b092992..3e73edb7 100644 --- a/abis_mapping/templates/incidental_occurrence_data_v2/examples/margaret_river_flora/margaret_river_flora.ttl +++ b/abis_mapping/templates/incidental_occurrence_data_v2/examples/margaret_river_flora/margaret_river_flora.ttl @@ -782,131 +782,131 @@ tern:hasValue . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of basisOfRecord." ; skos:inScheme ; skos:prefLabel "new basis of record" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of identificationQualifier." ; skos:inScheme ; skos:prefLabel "new identification qualifier" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of preparations." ; skos:inScheme ; skos:prefLabel "Wet (in ethanol or some other preservative)" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of preparations." ; skos:inScheme ; skos:prefLabel "new preparations" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of taxonRank." ; skos:inScheme ; skos:prefLabel "new taxon rank" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:definition "The existence of the organism from this kingdom sampled at a particular place at a particular time." ; skos:inScheme ; skos:prefLabel "new kingdom occurrence" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:definition "A specimen sampled from an organism of this kingdom." ; skos:inScheme ; skos:prefLabel "new kingdom specimen" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of samplingProtocol." ; skos:inScheme ; skos:prefLabel "new sampling protocol" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of sequencingMethod." ; skos:inScheme ; skos:prefLabel "Sanger dideoxy sequencing" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of sequencingMethod." ; skos:inScheme ; skos:prefLabel "new sequencing method" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of threatStatusCheckProtocol." ; skos:inScheme ; skos:prefLabel "Check against Threatened and Priority Fauna List WA available from https://www.dpaw.wa.gov.au/plants-and-animals/threatened-species-and-communities/threatened-animals. Last updated 13 June 2022" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of threatStatusCheckProtocol." ; skos:inScheme ; skos:prefLabel "a random selection" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of establishmentMeans." ; skos:inScheme ; skos:prefLabel "new establishment means" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of lifeStage." ; skos:inScheme ; skos:prefLabel "new life stage" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of occurrenceStatus." ; skos:inScheme ; skos:prefLabel "new occurrence status" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of reproductiveCondition." ; skos:inScheme ; skos:prefLabel "No breeding evident" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of reproductiveCondition." ; skos:inScheme ; skos:prefLabel "new reproductiveCondition" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of sex." ; skos:inScheme ; skos:prefLabel "new sex" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of threatStatus." ; skos:inScheme ; @@ -1316,21 +1316,21 @@ tern:hasValue . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of identificationQualifier." ; skos:inScheme ; skos:prefLabel "?" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of identificationMethod." ; skos:inScheme ; skos:prefLabel "Visually identified in the field (sighting)" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of identificationMethod." ; skos:inScheme ; @@ -1844,9 +1844,9 @@ schema:name "Stream Environment and Water Pty Ltd" . a tern:Dataset ; - dcterms:description "Example Incidental Occurrence Dataset by Gaia Resources" ; - dcterms:issued "2024-07-04"^^xsd:date ; - dcterms:title "Example Incidental Occurrence Dataset" . + schema:description "Example Incidental Occurrence Dataset by Gaia Resources" ; + schema:dateIssued "2024-07-04"^^xsd:date ; + schema:name "Example Incidental Occurrence Dataset" . [] a rdf:Statement ; geo:hasGeometry [ a geo:Geometry ; diff --git a/abis_mapping/templates/incidental_occurrence_data_v3/examples/margaret_river_flora/margaret_river_flora.ttl b/abis_mapping/templates/incidental_occurrence_data_v3/examples/margaret_river_flora/margaret_river_flora.ttl index 876611ac..74515d57 100644 --- a/abis_mapping/templates/incidental_occurrence_data_v3/examples/margaret_river_flora/margaret_river_flora.ttl +++ b/abis_mapping/templates/incidental_occurrence_data_v3/examples/margaret_river_flora/margaret_river_flora.ttl @@ -1,4 +1,3 @@ -@prefix dcterms: . @prefix dwc: . @prefix geo: . @prefix prov: . @@ -842,35 +841,35 @@ tern:hasValue . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of basisOfRecord." ; skos:inScheme ; skos:prefLabel "new basis of record" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of identificationQualifier." ; skos:inScheme ; skos:prefLabel "new identification qualifier" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of preparations." ; skos:inScheme ; skos:prefLabel "Wet (in ethanol or some other preservative)" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of preparations." ; skos:inScheme ; skos:prefLabel "new preparations" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of sensitivityCategory." ; skos:inScheme ; @@ -878,103 +877,103 @@ skos:scopeNote "Under the authority of The Department of Biodiversity and Conservation" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of taxonRank." ; skos:inScheme ; skos:prefLabel "new taxon rank" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:definition "The existence of the organism from this kingdom sampled at a particular place at a particular time." ; skos:inScheme ; skos:prefLabel "new kingdom occurrence" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:definition "A specimen sampled from an organism of this kingdom." ; skos:inScheme ; skos:prefLabel "new kingdom specimen" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of samplingProtocol." ; skos:inScheme ; skos:prefLabel "new sampling protocol" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of sequencingMethod." ; skos:inScheme ; skos:prefLabel "Sanger dideoxy sequencing" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of sequencingMethod." ; skos:inScheme ; skos:prefLabel "new sequencing method" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of threatStatusCheckProtocol." ; skos:inScheme ; skos:prefLabel "Check against Threatened and Priority Fauna List WA available from https://www.dpaw.wa.gov.au/plants-and-animals/threatened-species-and-communities/threatened-animals. Last updated 13 June 2022" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of threatStatusCheckProtocol." ; skos:inScheme ; skos:prefLabel "a random selection" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of establishmentMeans." ; skos:inScheme ; skos:prefLabel "new establishment means" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of lifeStage." ; skos:inScheme ; skos:prefLabel "new life stage" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of occurrenceStatus." ; skos:inScheme ; skos:prefLabel "new occurrence status" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of reproductiveCondition." ; skos:inScheme ; skos:prefLabel "No breeding evident" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of reproductiveCondition." ; skos:inScheme ; skos:prefLabel "new reproductiveCondition" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of sex." ; skos:inScheme ; skos:prefLabel "new sex" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of threatStatus." ; skos:inScheme ; @@ -991,7 +990,7 @@ a tern:FeatureOfInterest, tern:Sample ; - dcterms:identifier "https://www.ncbi.nlm.nih.gov/nuccore/MH040616.1", + schema:identifier "https://www.ncbi.nlm.nih.gov/nuccore/MH040616.1", "https://www.ncbi.nlm.nih.gov/nuccore/MH040669.1" ; void:inDataset ; rdfs:comment "sequence-sample" ; @@ -1001,7 +1000,7 @@ a tern:FeatureOfInterest, tern:Sample ; - dcterms:identifier "https://www.ncbi.nlm.nih.gov/nuccore/MH040616.1", + schema:identifier "https://www.ncbi.nlm.nih.gov/nuccore/MH040616.1", "https://www.ncbi.nlm.nih.gov/nuccore/MH040669.1" ; void:inDataset ; rdfs:comment "sequence-sample" ; @@ -1389,21 +1388,21 @@ tern:hasValue . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of identificationQualifier." ; skos:inScheme ; skos:prefLabel "?" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of identificationMethod." ; skos:inScheme ; skos:prefLabel "Visually identified in the field (sighting)" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Incidental-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of identificationMethod." ; skos:inScheme ; @@ -1427,7 +1426,7 @@ tern:featureType . a tern:Sampling ; - dcterms:identifier "1"^^ ; + schema:identifier "1"^^ ; void:inDataset ; geo:hasGeometry _:N0e0e83a7a26f4fcca62261ada6c0d4fc ; rdfs:comment "field-sampling" ; @@ -1440,7 +1439,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "10"^^ ; + schema:identifier "10"^^ ; void:inDataset ; geo:hasGeometry _:N79f6824c52c846ceb15f29b28549f05b ; rdfs:comment "field-sampling" ; @@ -1453,7 +1452,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "11"^^ ; + schema:identifier "11"^^ ; void:inDataset ; geo:hasGeometry _:N2379ecb899cd4525bfb6b87a191f4ff6 ; rdfs:comment "field-sampling" ; @@ -1466,7 +1465,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "12"^^ ; + schema:identifier "12"^^ ; void:inDataset ; geo:hasGeometry _:Na937f9bc156e48609c75ef1da9af7348 ; rdfs:comment "field-sampling" ; @@ -1477,7 +1476,7 @@ sosa:usedProcedure . a tern:Sampling ; - dcterms:identifier "13"^^ ; + schema:identifier "13"^^ ; void:inDataset ; geo:hasGeometry _:Ned844f35df49477896be9eaea11b49a8 ; rdfs:comment "field-sampling" ; @@ -1490,7 +1489,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "14"^^ ; + schema:identifier "14"^^ ; void:inDataset ; geo:hasGeometry _:N6866a0329560486592fd6202a69cadc3 ; geo:hasMetricSpatialAccuracy 2e+01 ; @@ -1505,7 +1504,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "8022FSJMJ079c5cf"^^ ; + schema:identifier "8022FSJMJ079c5cf"^^ ; void:inDataset ; geo:hasGeometry _:Nfcfb1f1420eb4cb3a0095cb95dcb355a ; geo:hasMetricSpatialAccuracy 5e+01 ; @@ -1521,7 +1520,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "ABC123"^^ ; + schema:identifier "ABC123"^^ ; void:inDataset ; geo:hasGeometry _:Ndc3c13c0078641e19c5129267614baa9 ; geo:hasMetricSpatialAccuracy 3e+01 ; @@ -1537,7 +1536,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "2"^^ ; + schema:identifier "2"^^ ; void:inDataset ; geo:hasGeometry _:N185c95d1589d4b69bf26e56179a8d769 ; rdfs:comment "field-sampling" ; @@ -1550,7 +1549,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "3"^^ ; + schema:identifier "3"^^ ; void:inDataset ; geo:hasGeometry _:N21ecbda2e4194054b08e5f090deb9f38 ; rdfs:comment "field-sampling" ; @@ -1563,7 +1562,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "4"^^ ; + schema:identifier "4"^^ ; void:inDataset ; geo:hasGeometry _:Nb8e7b8bb546d41229bcd1e4c4d1b3e39 ; rdfs:comment "field-sampling" ; @@ -1576,7 +1575,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "5"^^ ; + schema:identifier "5"^^ ; void:inDataset ; geo:hasGeometry _:Nd53f920f012d48b486aae11b270293cb ; rdfs:comment "field-sampling" ; @@ -1589,7 +1588,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "6"^^ ; + schema:identifier "6"^^ ; void:inDataset ; geo:hasGeometry _:N6a1c1234a7db45eea39f16c76507e69b ; rdfs:comment "field-sampling" ; @@ -1602,7 +1601,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "7"^^ ; + schema:identifier "7"^^ ; void:inDataset ; geo:hasGeometry _:Nbc8090d67a64447aa33b883b60c103f3 ; rdfs:comment "field-sampling" ; @@ -1615,7 +1614,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "8022FSJMJ079c5cf"^^ ; + schema:identifier "8022FSJMJ079c5cf"^^ ; void:inDataset ; geo:hasGeometry _:N9ddc90b04a6a4ae8a05b0aecc8ddcfd4 ; rdfs:comment "field-sampling" ; @@ -1628,7 +1627,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "9"^^ ; + schema:identifier "9"^^ ; void:inDataset ; geo:hasGeometry _:Nae4fd58a8e484277adf1ed5028d30077 ; rdfs:comment "field-sampling" ; @@ -1863,7 +1862,7 @@ a tern:FeatureOfInterest, tern:Sample ; - dcterms:identifier "MR-456"^^ ; + schema:identifier "MR-456"^^ ; void:inDataset ; dwc:otherCatalogNumbers "BHP2012-7521"^^, "M12378"^^ ; @@ -1875,7 +1874,7 @@ a tern:FeatureOfInterest, tern:Sample ; - dcterms:identifier "MR-457"^^ ; + schema:identifier "MR-457"^^ ; void:inDataset ; dwc:otherCatalogNumbers "BHP2012-7522"^^, "M12379"^^ ; @@ -1920,9 +1919,9 @@ schema:name "Stream Environment and Water Pty Ltd" . a tern:Dataset ; - dcterms:description "Example Incidental Occurrence Dataset by Gaia Resources" ; - dcterms:issued "2024-09-03"^^xsd:date ; - dcterms:title "Example Incidental Occurrence Dataset" . + schema:description "Example Incidental Occurrence Dataset by Gaia Resources" ; + schema:dateIssued "2024-09-03"^^xsd:date ; + schema:name "Example Incidental Occurrence Dataset" . [] a rdf:Statement ; geo:hasGeometry [ a geo:Geometry ; diff --git a/abis_mapping/templates/incidental_occurrence_data_v3/mapping.py b/abis_mapping/templates/incidental_occurrence_data_v3/mapping.py index e765d7b3..65ed4128 100644 --- a/abis_mapping/templates/incidental_occurrence_data_v3/mapping.py +++ b/abis_mapping/templates/incidental_occurrence_data_v3/mapping.py @@ -1261,7 +1261,7 @@ def add_sampling_field( graph.add( ( uri, - rdflib.DCTERMS.identifier, + rdflib.SDO.identifier, rdflib.Literal(row["providerRecordID"], datatype=provider_record_id_source), ) ) @@ -1700,7 +1700,7 @@ def add_sample_field( graph.add( ( uri, - rdflib.DCTERMS.identifier, + rdflib.SDO.identifier, rdflib.Literal(owner_record_id, datatype=owner_record_id_datatype), ) ) @@ -2934,7 +2934,7 @@ def add_sample_sequence( # Loop Through Associated Sequences for identifier in row["associatedSequences"]: # Add Identifier - graph.add((uri, rdflib.DCTERMS.identifier, rdflib.Literal(identifier))) + graph.add((uri, rdflib.SDO.identifier, rdflib.Literal(identifier))) def add_provider_determined_by( self, diff --git a/abis_mapping/templates/survey_metadata/examples/minimal.ttl b/abis_mapping/templates/survey_metadata/examples/minimal.ttl index 00ce1b9e..c4ba779e 100644 --- a/abis_mapping/templates/survey_metadata/examples/minimal.ttl +++ b/abis_mapping/templates/survey_metadata/examples/minimal.ttl @@ -64,21 +64,21 @@ schema:name "NSW Department of Planning, Industry and Environment" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Metadata-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Metadata-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of samplingEffortUnit" ; skos:inScheme ; skos:prefLabel "trapDays" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Metadata-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Metadata-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of targetTaxonomicScope" ; skos:inScheme ; skos:prefLabel "Coleoptera" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Metadata-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Metadata-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of targetTaxonomicScope" ; skos:inScheme ; @@ -153,9 +153,9 @@ "woodland" . a tern:Dataset ; - dcterms:description "Example Systematic Survey Metadata Dataset by Gaia Resources" ; - dcterms:issued "2024-04-09"^^xsd:date ; - dcterms:title "Example Systematic Survey Metadata Dataset" . + schema:description "Example Systematic Survey Metadata Dataset by Gaia Resources" ; + schema:dateIssued "2024-04-09"^^xsd:date ; + schema:name "Example Systematic Survey Metadata Dataset" . [] a rdf:Statement ; geo:hasGeometry [ a geo:Geometry ; diff --git a/abis_mapping/templates/survey_metadata_v2/examples/minimal.ttl b/abis_mapping/templates/survey_metadata_v2/examples/minimal.ttl index 5b602593..648ab003 100644 --- a/abis_mapping/templates/survey_metadata_v2/examples/minimal.ttl +++ b/abis_mapping/templates/survey_metadata_v2/examples/minimal.ttl @@ -1,5 +1,4 @@ @prefix bdr: . -@prefix dcterms: . @prefix geo: . @prefix prov: . @prefix rdf: . @@ -46,8 +45,8 @@ prov:hadRole ] . a bdr:Project ; - dcterms:identifier "COL1" ; - dcterms:title "Disentangling the effects of farmland use, habitat edges, and vegetation structure on ground beetle morphological traits - Summer" ; + schema:identifier "COL1" ; + schema:name "Disentangling the effects of farmland use, habitat edges, and vegetation structure on ground beetle morphological traits - Summer" ; void:inDataset ; schema:hasPart . @@ -58,14 +57,14 @@ schema:name "NSW Department of Planning, Industry and Environment" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Metadata-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Metadata-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of targetTaxonomicScope" ; skos:inScheme ; skos:prefLabel "Coleoptera" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Metadata-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Metadata-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of targetTaxonomicScope" ; skos:inScheme ; @@ -110,9 +109,9 @@ bdr:purpose "Summer sampling for peak insect diversity." ; bdr:target "Coleoptera", "Insecta" ; - dcterms:identifier "COL1"^^, + schema:identifier "COL1"^^, "COL1"^^ ; - dcterms:title "Disentangling the effects of farmland use, habitat edges, and vegetation structure on ground beetle morphological traits - Summer" ; + schema:name "Disentangling the effects of farmland use, habitat edges, and vegetation structure on ground beetle morphological traits - Summer" ; geo:hasGeometry _:N78044c6ac26849cd9b7f14d8331bb8aa ; time:hasTime [ a time:TemporalEntity ; time:hasBeginning [ a time:Instant ; @@ -131,9 +130,9 @@ "woodland" . a tern:Dataset ; - dcterms:description "Example Systematic Survey Metadata Dataset by Gaia Resources" ; - dcterms:issued "2024-04-09"^^xsd:date ; - dcterms:title "Example Systematic Survey Metadata Dataset" . + schema:description "Example Systematic Survey Metadata Dataset by Gaia Resources" ; + schema:dateIssued "2024-04-09"^^xsd:date ; + schema:name "Example Systematic Survey Metadata Dataset" . [] a rdf:Statement ; geo:hasGeometry [ a geo:Geometry ; diff --git a/abis_mapping/templates/survey_metadata_v2/mapping.py b/abis_mapping/templates/survey_metadata_v2/mapping.py index 6799e0d3..56535291 100644 --- a/abis_mapping/templates/survey_metadata_v2/mapping.py +++ b/abis_mapping/templates/survey_metadata_v2/mapping.py @@ -393,9 +393,9 @@ def add_project( graph.add((uri, rdflib.VOID.inDataset, dataset)) # Add (required) project name, id (not required) and purpose (not required). - graph.add((uri, rdflib.DCTERMS.title, rdflib.Literal(project_name))) + graph.add((uri, rdflib.SDO.name, rdflib.Literal(project_name))) if project_id: - graph.add((uri, rdflib.DCTERMS.identifier, rdflib.Literal(project_id))) + graph.add((uri, rdflib.SDO.identifier, rdflib.Literal(project_id))) # Attach survey graph.add((uri, rdflib.SDO.hasPart, survey)) @@ -428,19 +428,19 @@ def add_survey( graph.add((uri, rdflib.PROV.hadPlan, survey_method)) # Add survey name - graph.add((uri, rdflib.DCTERMS.title, rdflib.Literal(row["surveyName"]))) + graph.add((uri, rdflib.SDO.name, rdflib.Literal(row["surveyName"]))) # Add survey ID if (survey_id := row["surveyID"]) is not None: # Add survey id literals per organisation for survey_org in survey_org_objects: id_literal = rdflib.Literal(lexical_or_value=survey_id, datatype=survey_org.datatype) - graph.add((uri, rdflib.DCTERMS.identifier, id_literal)) + graph.add((uri, rdflib.SDO.identifier, id_literal)) # Add survey id as type string if no organisation provided if len(survey_org_objects) == 0: id_literal = rdflib.Literal(survey_id) - graph.add((uri, rdflib.DCTERMS.identifier, id_literal)) + graph.add((uri, rdflib.SDO.identifier, id_literal)) # Add taxonomic coverage if taxonomic_coverage := row["targetTaxonomicScope"]: diff --git a/abis_mapping/templates/survey_occurrence_data/examples/margaret_river_flora/margaret_river_flora.ttl b/abis_mapping/templates/survey_occurrence_data/examples/margaret_river_flora/margaret_river_flora.ttl index 85ba8c2c..183ae1ff 100644 --- a/abis_mapping/templates/survey_occurrence_data/examples/margaret_river_flora/margaret_river_flora.ttl +++ b/abis_mapping/templates/survey_occurrence_data/examples/margaret_river_flora/margaret_river_flora.ttl @@ -772,131 +772,131 @@ tern:hasValue . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of basisOfRecord." ; skos:inScheme ; skos:prefLabel "new basis of record" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of identificationQualifier." ; skos:inScheme ; skos:prefLabel "new identification qualifier" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of preparations." ; skos:inScheme ; skos:prefLabel "Wet (in ethanol or some other preservative)" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of preparations." ; skos:inScheme ; skos:prefLabel "new preparations" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of taxonRank." ; skos:inScheme ; skos:prefLabel "new taxon rank" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:definition "The existence of the organism from this kingdom sampled at a particular place at a particular time." ; skos:inScheme ; skos:prefLabel "new kingdom occurrence" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:definition "A specimen sampled from an organism of this kingdom." ; skos:inScheme ; skos:prefLabel "new kingdom specimen" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of samplingProtocol." ; skos:inScheme ; skos:prefLabel "new sampling protocol" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of sequencingMethod." ; skos:inScheme ; skos:prefLabel "Sanger dideoxy sequencing" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of sequencingMethod." ; skos:inScheme ; skos:prefLabel "new sequencing method" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of threatStatusCheckProtocol." ; skos:inScheme ; skos:prefLabel "Check against Threatened and Priority Fauna List WA available from https://www.dpaw.wa.gov.au/plants-and-animals/threatened-species-and-communities/threatened-animals. Last updated 13 June 2022" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of threatStatusCheckProtocol." ; skos:inScheme ; skos:prefLabel "a random selection" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of establishmentMeans." ; skos:inScheme ; skos:prefLabel "new establishment means" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of lifeStage." ; skos:inScheme ; skos:prefLabel "new life stage" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of occurrenceStatus." ; skos:inScheme ; skos:prefLabel "new occurrence status" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of reproductiveCondition." ; skos:inScheme ; skos:prefLabel "No breeding evident" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of reproductiveCondition." ; skos:inScheme ; skos:prefLabel "new reproductiveCondition" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of sex." ; skos:inScheme ; skos:prefLabel "new sex" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of threatStatus." ; skos:inScheme ; @@ -1294,21 +1294,21 @@ tern:hasValue . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of identificationQualifier." ; skos:inScheme ; skos:prefLabel "?" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of identificationMethod." ; skos:inScheme ; skos:prefLabel "Visually identified in the field (sighting)" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of identificationMethod." ; skos:inScheme ; @@ -1824,9 +1824,9 @@ schema:name "Stream Environment and Water Pty Ltd" . a tern:Dataset ; - dcterms:description "Example Systematic Survey Occurrence Dataset by Gaia Resources" ; - dcterms:issued "2024-07-04"^^xsd:date ; - dcterms:title "Example Systematic Survey Occurrence Dataset" . + schema:description "Example Systematic Survey Occurrence Dataset by Gaia Resources" ; + schema:dateIssued "2024-07-04"^^xsd:date ; + schema:name "Example Systematic Survey Occurrence Dataset" . [] a rdf:Statement ; geo:hasGeometry [ a geo:Geometry ; diff --git a/abis_mapping/templates/survey_occurrence_data/examples/organism_qty.ttl b/abis_mapping/templates/survey_occurrence_data/examples/organism_qty.ttl index 24918d0b..c2de5514 100644 --- a/abis_mapping/templates/survey_occurrence_data/examples/organism_qty.ttl +++ b/abis_mapping/templates/survey_occurrence_data/examples/organism_qty.ttl @@ -95,9 +95,9 @@ tern:featureType . a tern:Dataset ; - dcterms:description "Example Systematic Survey Occurrence Dataset by Gaia Resources" ; - dcterms:issued "2024-07-04"^^xsd:date ; - dcterms:title "Example Systematic Survey Occurrence Dataset" . + schema:description "Example Systematic Survey Occurrence Dataset by Gaia Resources" ; + schema:dateIssued "2024-07-04"^^xsd:date ; + schema:name "Example Systematic Survey Occurrence Dataset" . [] a rdf:Statement ; geo:hasGeometry [ a geo:Geometry ; diff --git a/abis_mapping/templates/survey_occurrence_data_v2/examples/margaret_river_flora/margaret_river_flora.ttl b/abis_mapping/templates/survey_occurrence_data_v2/examples/margaret_river_flora/margaret_river_flora.ttl index a5b00700..a0e74d63 100644 --- a/abis_mapping/templates/survey_occurrence_data_v2/examples/margaret_river_flora/margaret_river_flora.ttl +++ b/abis_mapping/templates/survey_occurrence_data_v2/examples/margaret_river_flora/margaret_river_flora.ttl @@ -1,4 +1,3 @@ -@prefix dcterms: . @prefix dwc: . @prefix geo: . @prefix prov: . @@ -848,131 +847,131 @@ tern:hasValue . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of basisOfRecord." ; skos:inScheme ; skos:prefLabel "new basis of record" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of identificationQualifier." ; skos:inScheme ; skos:prefLabel "new identification qualifier" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of preparations." ; skos:inScheme ; skos:prefLabel "Wet (in ethanol or some other preservative)" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of preparations." ; skos:inScheme ; skos:prefLabel "new preparations" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of taxonRank." ; skos:inScheme ; skos:prefLabel "new taxon rank" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:definition "The existence of the organism from this kingdom sampled at a particular place at a particular time." ; skos:inScheme ; skos:prefLabel "new kingdom occurrence" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:definition "A specimen sampled from an organism of this kingdom." ; skos:inScheme ; skos:prefLabel "new kingdom specimen" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of samplingProtocol." ; skos:inScheme ; skos:prefLabel "new sampling protocol" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of sequencingMethod." ; skos:inScheme ; skos:prefLabel "Sanger dideoxy sequencing" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of sequencingMethod." ; skos:inScheme ; skos:prefLabel "new sequencing method" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of threatStatusCheckProtocol." ; skos:inScheme ; skos:prefLabel "Check against Threatened and Priority Fauna List WA available from https://www.dpaw.wa.gov.au/plants-and-animals/threatened-species-and-communities/threatened-animals. Last updated 13 June 2022" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of threatStatusCheckProtocol." ; skos:inScheme ; skos:prefLabel "a random selection" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of establishmentMeans." ; skos:inScheme ; skos:prefLabel "new establishment means" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of lifeStage." ; skos:inScheme ; skos:prefLabel "new life stage" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of occurrenceStatus." ; skos:inScheme ; skos:prefLabel "new occurrence status" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of reproductiveCondition." ; skos:inScheme ; skos:prefLabel "No breeding evident" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of reproductiveCondition." ; skos:inScheme ; skos:prefLabel "new reproductiveCondition" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of sex." ; skos:inScheme ; skos:prefLabel "new sex" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of threatStatus." ; skos:inScheme ; @@ -989,7 +988,7 @@ a tern:FeatureOfInterest, tern:Sample ; - dcterms:identifier "https://www.ncbi.nlm.nih.gov/nuccore/MH040616.1", + schema:identifier "https://www.ncbi.nlm.nih.gov/nuccore/MH040616.1", "https://www.ncbi.nlm.nih.gov/nuccore/MH040669.1" ; void:inDataset ; rdfs:comment "sequence-sample" ; @@ -999,7 +998,7 @@ a tern:FeatureOfInterest, tern:Sample ; - dcterms:identifier "https://www.ncbi.nlm.nih.gov/nuccore/MH040616.1", + schema:identifier "https://www.ncbi.nlm.nih.gov/nuccore/MH040616.1", "https://www.ncbi.nlm.nih.gov/nuccore/MH040669.1" ; void:inDataset ; rdfs:comment "sequence-sample" ; @@ -1392,14 +1391,14 @@ tern:hasValue . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of identificationQualifier." ; skos:inScheme ; skos:prefLabel "?" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of sensitivityCategory." ; skos:inScheme ; @@ -1407,14 +1406,14 @@ skos:scopeNote "Under the authority of Department of Biodiversity and Conservation" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of identificationMethod." ; skos:inScheme ; skos:prefLabel "Visually identified in the field (sighting)" . a skos:Concept ; - dcterms:source "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; + schema:citation "http://createme.org/dataset/Example-Systematic-Survey-Occurrence-Dataset"^^xsd:anyURI ; skos:broader ; skos:definition "A type of identificationMethod." ; skos:inScheme ; @@ -1444,7 +1443,7 @@ tern:featureType . a tern:Sampling ; - dcterms:identifier "1"^^ ; + schema:identifier "1"^^ ; void:inDataset ; geo:hasGeometry _:N87f3381df8084f2a8d3fc1c4e61f5d1e ; rdfs:comment "field-sampling" ; @@ -1457,7 +1456,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "10"^^ ; + schema:identifier "10"^^ ; void:inDataset ; geo:hasGeometry _:N1bab45f298054f719afe39207a5d908e ; rdfs:comment "field-sampling" ; @@ -1470,7 +1469,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "11"^^ ; + schema:identifier "11"^^ ; void:inDataset ; geo:hasGeometry _:Nd4d3222801704a10b9e00961beddec31 ; rdfs:comment "field-sampling" ; @@ -1483,7 +1482,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "12"^^ ; + schema:identifier "12"^^ ; void:inDataset ; geo:hasGeometry _:N931e6437079a417ea969f44f6def439b ; rdfs:comment "field-sampling" ; @@ -1494,7 +1493,7 @@ sosa:usedProcedure . a tern:Sampling ; - dcterms:identifier "13"^^ ; + schema:identifier "13"^^ ; void:inDataset ; geo:hasGeometry _:Nc234a7e3ddfc43bfa4dd6c0a46b77bd6 ; rdfs:comment "field-sampling" ; @@ -1507,7 +1506,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "14"^^ ; + schema:identifier "14"^^ ; void:inDataset ; geo:hasGeometry _:N81b732d85b71408499ba391f88b06f1d ; geo:hasMetricSpatialAccuracy 2e+01 ; @@ -1522,7 +1521,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "8022FSJMJ079c5cf"^^ ; + schema:identifier "8022FSJMJ079c5cf"^^ ; void:inDataset ; geo:hasGeometry _:N890ce7ee36f94ee19e11461cf0dd61c8 ; geo:hasMetricSpatialAccuracy 5e+01 ; @@ -1540,7 +1539,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "ABC123"^^ ; + schema:identifier "ABC123"^^ ; void:inDataset ; geo:hasGeometry _:N469b0e195a0c4340927e3651ec9f62c0 ; geo:hasMetricSpatialAccuracy 3e+01 ; @@ -1557,7 +1556,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "2"^^ ; + schema:identifier "2"^^ ; void:inDataset ; geo:hasGeometry _:Nb7c2e9e5cff0477a9fe11feb72001172 ; rdfs:comment "field-sampling" ; @@ -1570,7 +1569,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "3"^^ ; + schema:identifier "3"^^ ; void:inDataset ; geo:hasGeometry _:Nea75fc71ec124a7caa06b2f2e8f54ff6 ; rdfs:comment "field-sampling" ; @@ -1583,7 +1582,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "4"^^ ; + schema:identifier "4"^^ ; void:inDataset ; geo:hasGeometry _:N119cf6dc23ad4af0aac181fdcc6d256b ; rdfs:comment "field-sampling" ; @@ -1596,7 +1595,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "5"^^ ; + schema:identifier "5"^^ ; void:inDataset ; geo:hasGeometry _:Na315741015eb40219b1b7e14a7f5f356 ; rdfs:comment "field-sampling" ; @@ -1609,7 +1608,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "6"^^ ; + schema:identifier "6"^^ ; void:inDataset ; geo:hasGeometry _:N5dbbc53329094ce888857067591d7ecc ; rdfs:comment "field-sampling" ; @@ -1622,7 +1621,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "7"^^ ; + schema:identifier "7"^^ ; void:inDataset ; geo:hasGeometry _:N8aea8138122541ebb8e9baaa04a9ead5 ; rdfs:comment "field-sampling" ; @@ -1635,7 +1634,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "8022FSJMJ079c5cf"^^ ; + schema:identifier "8022FSJMJ079c5cf"^^ ; void:inDataset ; geo:hasGeometry _:N83adeff98f1f4b6a9e0ba0068092974f ; rdfs:comment "field-sampling" ; @@ -1648,7 +1647,7 @@ tern:locationDescription "Cowaramup Bay Road" . a tern:Sampling ; - dcterms:identifier "9"^^ ; + schema:identifier "9"^^ ; void:inDataset ; geo:hasGeometry _:Nfa7f247daa3f45dd84b53e2db2f879de ; rdfs:comment "field-sampling" ; @@ -1883,7 +1882,7 @@ a tern:FeatureOfInterest, tern:Sample ; - dcterms:identifier "MR-456"^^ ; + schema:identifier "MR-456"^^ ; void:inDataset ; dwc:otherCatalogNumbers "BHP2012-7521"^^, "M12378"^^, @@ -1896,7 +1895,7 @@ a tern:FeatureOfInterest, tern:Sample ; - dcterms:identifier "MR-457"^^ ; + schema:identifier "MR-457"^^ ; void:inDataset ; dwc:otherCatalogNumbers "BHP2012-7522"^^, "M12379"^^, @@ -1942,9 +1941,9 @@ schema:name "Stream Environment and Water Pty Ltd" . a tern:Dataset ; - dcterms:description "Example Systematic Survey Occurrence Dataset by Gaia Resources" ; - dcterms:issued "2024-10-04"^^xsd:date ; - dcterms:title "Example Systematic Survey Occurrence Dataset" . + schema:description "Example Systematic Survey Occurrence Dataset by Gaia Resources" ; + schema:dateIssued "2024-10-04"^^xsd:date ; + schema:name "Example Systematic Survey Occurrence Dataset" . [] a rdf:Statement ; geo:hasGeometry [ a geo:Geometry ; diff --git a/abis_mapping/templates/survey_occurrence_data_v2/examples/organism_qty.ttl b/abis_mapping/templates/survey_occurrence_data_v2/examples/organism_qty.ttl index 8fdb6ba2..d374643e 100644 --- a/abis_mapping/templates/survey_occurrence_data_v2/examples/organism_qty.ttl +++ b/abis_mapping/templates/survey_occurrence_data_v2/examples/organism_qty.ttl @@ -1,4 +1,3 @@ -@prefix dcterms: . @prefix dwc: . @prefix geo: . @prefix prov: . @@ -77,7 +76,7 @@ tern:featureType . a tern:Sampling ; - dcterms:identifier "A0010"^^ ; + schema:identifier "A0010"^^ ; void:inDataset ; geo:hasGeometry _:N580a5c43d7174be195b050cb7e1631e8 ; rdfs:comment "field-sampling" ; @@ -97,9 +96,9 @@ tern:featureType . a tern:Dataset ; - dcterms:description "Example Systematic Survey Occurrence Dataset by Gaia Resources" ; - dcterms:issued "2024-10-04"^^xsd:date ; - dcterms:title "Example Systematic Survey Occurrence Dataset" . + schema:description "Example Systematic Survey Occurrence Dataset by Gaia Resources" ; + schema:dateIssued "2024-10-04"^^xsd:date ; + schema:name "Example Systematic Survey Occurrence Dataset" . [] a rdf:Statement ; geo:hasGeometry [ a geo:Geometry ; diff --git a/abis_mapping/templates/survey_occurrence_data_v2/mapping.py b/abis_mapping/templates/survey_occurrence_data_v2/mapping.py index 9a43ffec..1c2ce8aa 100644 --- a/abis_mapping/templates/survey_occurrence_data_v2/mapping.py +++ b/abis_mapping/templates/survey_occurrence_data_v2/mapping.py @@ -1467,7 +1467,7 @@ def add_sampling_field( graph.add( ( uri, - rdflib.DCTERMS.identifier, + rdflib.SDO.identifier, rdflib.Literal(row["providerRecordID"], datatype=provider_record_id_source), ) ) @@ -1934,7 +1934,7 @@ def add_sample_field( graph.add( ( uri, - rdflib.DCTERMS.identifier, + rdflib.SDO.identifier, rdflib.Literal(owner_record_id, datatype=owner_record_id_datatype), ) ) @@ -3184,7 +3184,7 @@ def add_sample_sequence( # Loop Through Associated Sequences for identifier in row["associatedSequences"]: # Add Identifier - graph.add((uri, rdflib.DCTERMS.identifier, rdflib.Literal(identifier))) + graph.add((uri, rdflib.SDO.identifier, rdflib.Literal(identifier))) def add_provider_determined_by( self, diff --git a/abis_mapping/templates/survey_site_data/examples/minimal.ttl b/abis_mapping/templates/survey_site_data/examples/minimal.ttl index 9eed746c..ffa5fd8f 100644 --- a/abis_mapping/templates/survey_site_data/examples/minimal.ttl +++ b/abis_mapping/templates/survey_site_data/examples/minimal.ttl @@ -27,9 +27,9 @@ schema:isPartOf . a tern:Dataset ; - dcterms:description "Example Systematic Survey Site Dataset by Gaia Resources" ; - dcterms:issued "2024-04-19"^^xsd:date ; - dcterms:title "Example Systematic Survey Site Dataset" . + schema:description "Example Systematic Survey Site Dataset by Gaia Resources" ; + schema:dateIssued "2024-04-19"^^xsd:date ; + schema:name "Example Systematic Survey Site Dataset" . a tern:Site ; dcterms:identifier "P1"^^ ; diff --git a/abis_mapping/templates/survey_site_data_v2/examples/minimal.ttl b/abis_mapping/templates/survey_site_data_v2/examples/minimal.ttl index 9eed746c..ebf14be6 100644 --- a/abis_mapping/templates/survey_site_data_v2/examples/minimal.ttl +++ b/abis_mapping/templates/survey_site_data_v2/examples/minimal.ttl @@ -1,4 +1,3 @@ -@prefix dcterms: . @prefix geo: . @prefix prov: . @prefix rdf: . @@ -27,13 +26,13 @@ schema:isPartOf . a tern:Dataset ; - dcterms:description "Example Systematic Survey Site Dataset by Gaia Resources" ; - dcterms:issued "2024-04-19"^^xsd:date ; - dcterms:title "Example Systematic Survey Site Dataset" . + schema:description "Example Systematic Survey Site Dataset by Gaia Resources" ; + schema:dateIssued "2024-04-19"^^xsd:date ; + schema:name "Example Systematic Survey Site Dataset" . a tern:Site ; - dcterms:identifier "P1"^^ ; - dcterms:type ; + schema:identifier "P1"^^ ; + schema:additionalType ; void:inDataset ; geo:hasGeometry _:N80cb167ff39346b7b93c2f6d0ae16523, _:Nc7c5f771a61645eaaa59a9a285e09aa4 ; diff --git a/abis_mapping/templates/survey_site_data_v2/mapping.py b/abis_mapping/templates/survey_site_data_v2/mapping.py index dda26256..e27e7a6f 100644 --- a/abis_mapping/templates/survey_site_data_v2/mapping.py +++ b/abis_mapping/templates/survey_site_data_v2/mapping.py @@ -493,7 +493,7 @@ def add_site( # Add siteID dt = site_id_datatype if site_id_datatype is not None else rdflib.XSD.string - graph.add((uri, rdflib.DCTERMS.identifier, rdflib.Literal(site_id, datatype=dt))) + graph.add((uri, rdflib.SDO.identifier, rdflib.Literal(site_id, datatype=dt))) # Add related site if available if (relationship_to_related_site := row["relationshipToRelatedSite"]) and ( @@ -523,7 +523,7 @@ def add_site( site_type_term = site_type_vocab(graph=graph, source=dataset).get(site_type) # Add to site type graph - graph.add((uri, rdflib.DCTERMS.type, site_type_term)) + graph.add((uri, rdflib.SDO.additionalType, site_type_term)) # Add site name if available if site_name: @@ -736,7 +736,7 @@ def add_site_visit( # Add site visit id if site_visit_id := row["siteVisitID"]: - graph.add((uri, rdflib.DCTERMS.identifier, rdflib.Literal(site_visit_id))) + graph.add((uri, rdflib.SDO.identifier, rdflib.Literal(site_visit_id))) # Add temporal information site_visit_start: types.temporal.Timestamp = row["siteVisitStart"] diff --git a/abis_mapping/templates/survey_site_data_v2/validators/shaping.py b/abis_mapping/templates/survey_site_data_v2/validators/shaping.py index 00b6f84b..2df11d8f 100644 --- a/abis_mapping/templates/survey_site_data_v2/validators/shaping.py +++ b/abis_mapping/templates/survey_site_data_v2/validators/shaping.py @@ -173,7 +173,7 @@ def add_site_shape(g: rdflib.Graph, dataset_shape: rdflib.term.Node) -> rdflib.t # Add the site id property site_id_prop = rdflib.BNode() - g.add((site_id_prop, SH.path, rdflib.DCTERMS.identifier)) + g.add((site_id_prop, SH.path, rdflib.SDO.identifier)) g.add((site_id_prop, SH.datatype, rdflib.XSD.string)) g.add((site_id_prop, SH.minCount, rdflib.Literal(1))) g.add((site_id_prop, SH.maxCount, rdflib.Literal(1))) @@ -192,7 +192,7 @@ def add_site_shape(g: rdflib.Graph, dataset_shape: rdflib.term.Node) -> rdflib.t terms_list = rdflib.BNode() terms_list_shape = rdflib.BNode() dcterms_type_opts = rdflib.BNode() - g.add((dcterms_type_prop, SH.path, rdflib.DCTERMS.type)) + g.add((dcterms_type_prop, SH.path, rdflib.SDO.additionalType)) site_type_vocab_values: list[rdflib.term.Node] = [v.iri for v in vocabs.site_type.SiteType.terms if v is not None] rdflib.collection.Collection(g, terms_list, site_type_vocab_values) g.add((terms_list_shape, SH["in"], terms_list)) diff --git a/abis_mapping/templates/survey_site_data_v2/validators/validator.ttl b/abis_mapping/templates/survey_site_data_v2/validators/validator.ttl index eb18c222..99f74f9c 100644 --- a/abis_mapping/templates/survey_site_data_v2/validators/validator.ttl +++ b/abis_mapping/templates/survey_site_data_v2/validators/validator.ttl @@ -1,5 +1,4 @@ @prefix bdr: . -@prefix dcterms: . @prefix geo: . @prefix rdf: . @prefix schema: . @@ -14,7 +13,7 @@ bdr:SiteShape a sh:NodeShape ; sh:property [ sh:datatype xsd:string ; sh:maxCount 1 ; sh:minCount 1 ; - sh:path dcterms:identifier ], + sh:path schema:identifier ], [ sh:class geo:Geometry ; sh:maxCount 2 ; sh:path geo:hasGeometry ; @@ -27,7 +26,7 @@ bdr:SiteShape a sh:NodeShape ; sh:path tern:featureType ], [ sh:maxCount 1 ; sh:minCount 1 ; - sh:path dcterms:type ; + sh:path schema:additionalType ; sh:xone ( [ sh:in ( ) ] bdr:SiteTypeConceptShape ) ], [ sh:datatype xsd:string ; sh:maxCount 1 ; diff --git a/abis_mapping/utils/vocabs.py b/abis_mapping/utils/vocabs.py index 1a2a151f..9cac4808 100644 --- a/abis_mapping/utils/vocabs.py +++ b/abis_mapping/utils/vocabs.py @@ -310,7 +310,7 @@ def get( uri = rdflib.Literal(self.source, datatype=rdflib.XSD.anyURI) # Add Source - self.graph.add((iri, rdflib.DCTERMS.source, uri)) + self.graph.add((iri, rdflib.SDO.citation, uri)) if self.scope_note is not None: self.graph.add((iri, rdflib.SKOS.scopeNote, self.scope_note)) diff --git a/tests/utils/test_vocabs.py b/tests/utils/test_vocabs.py index ed5d04f7..a2cb708d 100644 --- a/tests/utils/test_vocabs.py +++ b/tests/utils/test_vocabs.py @@ -112,16 +112,16 @@ class Vocab(abis_mapping.utils.vocabs.FlexibleVocabulary): graph.serialize(format="ttl").strip() == textwrap.dedent( """ - @prefix dcterms: . + @prefix schema: . @prefix skos: . @prefix xsd: . a skos:Concept ; - dcterms:source "D"^^xsd:anyURI ; skos:broader ; skos:definition "definition" ; skos:inScheme ; - skos:prefLabel "C" . + skos:prefLabel "C" ; + schema:citation "D"^^xsd:anyURI . """ ).strip() )