mirror of https://github.com/tdwg/dwc.git
Amendments following review of resulting XML files by GBIF.
This commit is contained in:
parent
841e24368c
commit
b6db7023cd
|
@ -16,7 +16,7 @@
|
||||||
__author__ = "John Wieczorek"
|
__author__ = "John Wieczorek"
|
||||||
__copyright__ = "Copyright 2021 Rauthiflor LLC"
|
__copyright__ = "Copyright 2021 Rauthiflor LLC"
|
||||||
__filename__ = 'build_extension.py'
|
__filename__ = 'build_extension.py'
|
||||||
__version__ = f'{__filename__} 2021-08-16T17:29-03:00'
|
__version__ = f'{__filename__} 2021-08-17T20:40-03:00'
|
||||||
|
|
||||||
import io
|
import io
|
||||||
import os
|
import os
|
||||||
|
@ -513,7 +513,7 @@ def main():
|
||||||
s += f'python {__filename__}'
|
s += f'python {__filename__}'
|
||||||
s += ' -x ./occurrence_core.tmpl'
|
s += ' -x ./occurrence_core.tmpl'
|
||||||
s += ' -i ./occurrence_core_list.csv'
|
s += ' -i ./occurrence_core_list.csv'
|
||||||
s += ' -o ../ext/dwc_occurrence_2021-08_16.xml'
|
s += ' -o ../ext/dwc_occurrence_2021-08-16.xml'
|
||||||
s += ' -t ../vocabulary/term_versions.csv'
|
s += ' -t ../vocabulary/term_versions.csv'
|
||||||
print(s)
|
print(s)
|
||||||
return
|
return
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
dc:title='Darwin Core Event'
|
dc:title='Darwin Core Event'
|
||||||
name='Event' namespace='http://rs.tdwg.org/dwc/terms/'
|
name='Event' namespace='http://rs.tdwg.org/dwc/terms/'
|
||||||
rowType='http://rs.tdwg.org/dwc/terms/Event'
|
rowType='http://rs.tdwg.org/dwc/terms/Event'
|
||||||
dc:issued="2021-07-15"
|
dc:issued='2021-07-15'
|
||||||
dc:relation='https://dwc.tdwg.org/terms/#event'
|
dc:subject=''
|
||||||
|
dc:relation='http://rs.tdwg.org/dwc/terms/Event'
|
||||||
dc:description='The category of information pertaining to an action that occurs at some location during some time.'>
|
dc:description='The category of information pertaining to an action that occurs at some location during some time.'>
|
||||||
|
|
|
@ -4,11 +4,11 @@
|
||||||
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
|
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
|
||||||
xmlns:dc='http://purl.org/dc/terms/'
|
xmlns:dc='http://purl.org/dc/terms/'
|
||||||
xsi:schemaLocation='http://rs.gbif.org/extension/ http://rs.gbif.org/schema/extension.xsd'
|
xsi:schemaLocation='http://rs.gbif.org/extension/ http://rs.gbif.org/schema/extension.xsd'
|
||||||
dc:title='Darwin Core Occurrence'
|
dc:title='Extended Measurement or Facts'
|
||||||
name='ExtendedMeasurementOrFact' namespace='http://rs.tdwg.org/dwc/terms/'
|
name='ExtendedMeasurementOrFacts' namespace='http://rs.tdwg.org/dwc/terms/'
|
||||||
rowType='http://rs.tdwg.org/dwc/terms/MeasurementOrFact'
|
rowType='http://rs.tdwg.org/dwc/terms/MeasurementOrFact'
|
||||||
dc:issued='2021-07-15'
|
dc:issued='2021-07-15'
|
||||||
dc:subject='dwc:Taxon dwc:Event'
|
dc:subject='dwc:Occurrence dwc:Event dwc:Taxon'
|
||||||
dc:relation='https://dwc.tdwg.org/terms/#measurementorfact'
|
dc:relation='http://rs.tdwg.org/dwc/terms/MeasurementOrFact'
|
||||||
dc:description='Extended support for measurements or facts, allowing links to any Core plus to records in an Occurrence Extension. For example, when used with an Event Core, this extension can be used to store measurements or facts related to a biological occurrence (through the built-in occurrenceID), to environmental measurements or facts, and to sampling method attributes. This extension includes dwciri terms that can be used for IRI-based identifiers to values in controlled vocabularies for measurementType, measurementValue, and measurementUnit.'>
|
dc:description='Extended support for measurements or facts, allowing links to any Core plus to records in an Occurrence Extension. For example, when used with an Event Core, this extension can be used to store measurements or facts related to a biological occurrence (through the built-in occurrenceID), to environmental measurements or facts, and to sampling method attributes. This extension includes dwciri terms that can be used for IRI-based identifiers to values in controlled vocabularies for measurementType, measurementValue, and measurementUnit.'>
|
||||||
|
|
|
@ -4,9 +4,10 @@
|
||||||
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
|
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
|
||||||
xmlns:dc='http://purl.org/dc/terms/'
|
xmlns:dc='http://purl.org/dc/terms/'
|
||||||
xsi:schemaLocation='http://rs.gbif.org/extension/ http://rs.gbif.org/schema/extension.xsd'
|
xsi:schemaLocation='http://rs.gbif.org/extension/ http://rs.gbif.org/schema/extension.xsd'
|
||||||
dc:title="Darwin Core Identification History"
|
dc:title='Darwin Core Identification History'
|
||||||
name="Identification" namespace="http://rs.tdwg.org/dwc/terms/"
|
name='Identification' namespace='http://rs.tdwg.org/dwc/terms/'
|
||||||
rowType="http://rs.tdwg.org/dwc/terms/Identification"
|
rowType='http://rs.tdwg.org/dwc/terms/Identification'
|
||||||
dc:issued='2021-07-15'
|
dc:issued='2021-07-15'
|
||||||
dc:relation='https://dwc.tdwg.org/terms/#identification'
|
dc:subject='dwc:Occurrence'
|
||||||
dc:description="Support for multiple identifications (determinations) of species Occurrences. All identifications including the most current one should be listed, while the current one should also be repeated in the Occurrence Core.">
|
dc:relation='http://rs.tdwg.org/dwc/terms/Identification'
|
||||||
|
dc:description='Support for multiple identifications (determinations) of species Occurrences. All identifications including the most current one should be listed, while the current one should also be repeated in the Occurrence Core.'>
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
|
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
|
||||||
xmlns:dc='http://purl.org/dc/terms/'
|
xmlns:dc='http://purl.org/dc/terms/'
|
||||||
xsi:schemaLocation='http://rs.gbif.org/extension/ http://rs.gbif.org/schema/extension.xsd'
|
xsi:schemaLocation='http://rs.gbif.org/extension/ http://rs.gbif.org/schema/extension.xsd'
|
||||||
dc:title="Darwin Core Measurement Or Facts"
|
dc:title='Darwin Core Measurement or Facts'
|
||||||
name='MeasurementOrFact' namespace='http://rs.tdwg.org/dwc/terms/'
|
name='MeasurementOrFacts' namespace='http://rs.tdwg.org/dwc/terms/'
|
||||||
rowType='http://rs.tdwg.org/dwc/terms/MeasurementOrFact'
|
rowType='http://rs.tdwg.org/dwc/terms/MeasurementOrFact'
|
||||||
dc:issued='2021-07-15'
|
dc:issued='2021-07-15'
|
||||||
dc:subject='dwc:Occurrence dwc:Event dwc:Taxon'
|
dc:subject='dwc:Occurrence dwc:Event dwc:Taxon'
|
||||||
dc:relation='https://dwc.tdwg.org/terms/#measurementorfact'
|
dc:relation='http://rs.tdwg.org/dwc/terms/MeasurementOrFact'
|
||||||
dc:description='Support for measurements or facts, allowing links to any type of Core.'>
|
dc:description='Support for measurements or facts, allowing links to any type of Core.'>
|
||||||
|
|
|
@ -8,6 +8,6 @@
|
||||||
name='Occurrence' namespace='http://rs.tdwg.org/dwc/terms/'
|
name='Occurrence' namespace='http://rs.tdwg.org/dwc/terms/'
|
||||||
rowType='http://rs.tdwg.org/dwc/terms/Occurrence'
|
rowType='http://rs.tdwg.org/dwc/terms/Occurrence'
|
||||||
dc:issued='2021-07-15'
|
dc:issued='2021-07-15'
|
||||||
dc:subject='dwc:Taxon dwc:Event'
|
dc:subject='dwc:Event dwc:Taxon'
|
||||||
dc:relation='https://dwc.tdwg.org/terms/#occurrence'
|
dc:relation='http://rs.tdwg.org/dwc/terms/Occurrence'
|
||||||
dc:description='The category of information pertaining to the existence of an Organism (sensu http://rs.tdwg.org/dwc/terms/Organism) at a particular place at a particular time.'>
|
dc:description='The category of information pertaining to the existence of an Organism (sensu http://rs.tdwg.org/dwc/terms/Organism) at a particular place at a particular time.'>
|
||||||
|
|
|
@ -8,6 +8,6 @@
|
||||||
name='Occurrence' namespace='http://rs.tdwg.org/dwc/iri/'
|
name='Occurrence' namespace='http://rs.tdwg.org/dwc/iri/'
|
||||||
rowType='http://rs.tdwg.org/dwc/terms/Occurrence'
|
rowType='http://rs.tdwg.org/dwc/terms/Occurrence'
|
||||||
dc:issued='2021-07-15'
|
dc:issued='2021-07-15'
|
||||||
dc:subject='dwc:Taxon dwc:Event'
|
dc:subject='dwc:Occurrence dwc:Event dwc:Taxon'
|
||||||
dc:relation='https://dwc.tdwg.org/terms/#occurrence'
|
dc:relation='http://rs.tdwg.org/dwc/terms/Occurrence'
|
||||||
dc:description='Additional IRI terms for the category of information pertaining to the existence of an Organism (sensu http://rs.tdwg.org/dwc/terms/Organism) at a particular place at a particular time.'>
|
dc:description='Additional IRI terms for the category of information pertaining to the existence of an Organism (sensu http://rs.tdwg.org/dwc/terms/Organism) at a particular place at a particular time.'>
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
|
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
|
||||||
xmlns:dc='http://purl.org/dc/terms/'
|
xmlns:dc='http://purl.org/dc/terms/'
|
||||||
xsi:schemaLocation='http://rs.gbif.org/extension/ http://rs.gbif.org/schema/extension.xsd'
|
xsi:schemaLocation='http://rs.gbif.org/extension/ http://rs.gbif.org/schema/extension.xsd'
|
||||||
dc:title="Darwin Core Resource Relationship"
|
dc:title='Darwin Core Resource Relationship'
|
||||||
name="ResourceRelationship" namespace="http://rs.tdwg.org/dwc/terms/"
|
name='ResourceRelationship' namespace='http://rs.tdwg.org/dwc/terms/'
|
||||||
rowType="http://rs.tdwg.org/dwc/terms/ResourceRelationship"
|
rowType='http://rs.tdwg.org/dwc/terms/ResourceRelationship'
|
||||||
dc:issued='2021-07-15'
|
dc:issued='2021-07-15'
|
||||||
dc:subject='dwc:Occurrence dwc:Event dwc:Taxon'
|
dc:subject='dwc:Occurrence dwc:Event dwc:Taxon'
|
||||||
dc:relation='https://dwc.tdwg.org/terms/#resourcerelationship'
|
dc:relation='http://rs.tdwg.org/dwc/terms/ResourceRelationship'
|
||||||
dc:description='Support for relationships between resources in the Core, in an extension, or external to the data set. The identifiers for subject (resourceID) and object (relatedResourceID) may exist in the dataset or be accessible via an externally resolvable identifier'>
|
dc:description='Support for relationships between resources in the Core, in an extension, or external to the data set. The identifiers for subject (resourceID) and object (relatedResourceID) may exist in the dataset or be accessible via an externally resolvable identifier'>
|
||||||
|
|
Loading…
Reference in New Issue