2018-08-26 23:50:38 +00:00
{ #
2020-08-09 19:21:30 +00:00
This template is NOT used by jekyll, but by the Darwin Core build script
to create the terms/index.md file, which mostly contains html.
2018-08-26 23:50:38 +00:00
#}
2018-10-29 18:47:22 +00:00
---
container: fluid
---
2018-08-26 23:50:38 +00:00
2018-10-08 08:16:04 +00:00
# Darwin Core quick reference guide
2018-08-26 23:50:38 +00:00
2020-08-20 08:53:36 +00:00
This document is intended to be an easy-to-read reference of the currently recommended terms maintained as part of the [Darwin Core standard](https://www.tdwg.org/standards/dwc/). This page itself is not part of the standard. It draws on the term names and definitions from the normative part of the standard and combines them with comments and examples that are not normative, but that are meant to help people to use the terms consistently. Categories such as `Occurrence` and `Event` correspond to Darwin Core classes, which are special category terms used to group sets of terms for convenience. Comprehensive metadata for current and obsolete terms in human readable form are found in a [list of terms document](../list/). [Files with lists of these terms](https://github.com/tdwg/dwc/tree/master/dist) and [their full history](https://github.com/tdwg/dwc/blob/master/vocabulary/term_versions.csv) can be found in the [Darwin Core repository](https://github.com/tdwg/dwc).
2018-08-26 23:50:38 +00:00
2018-10-08 08:16:04 +00:00
{% for class_group in class_groups %}
2018-08-26 23:50:38 +00:00
2018-10-08 08:16:04 +00:00
## {{ class_group.label }}
2018-10-15 11:23:56 +00:00
2019-10-21 14:37:12 +00:00
{% if class_group.label == 'UseWithIRI' %}
For more information on `UseWithIRI`, see [Section 2.5 of the RDF Guide](https://dwc.tdwg.org/rdf/ #25-terms-in-the-dwciri-namespace-normative).
{% endif %}
2018-10-08 08:16:04 +00:00
<div class="my-4">
2018-10-08 07:58:19 +00:00
{% for term in class_group.terms %}
2018-10-15 11:23:56 +00:00
<a class="btn btn-sm btn-outline-secondary m-1" href=" #{{ term.namespace }}:{{ term.label }}">{{ term.label }}</a>
2018-10-08 07:58:19 +00:00
{% endfor %}
2018-10-08 08:16:04 +00:00
</div>
2019-10-21 12:50:11 +00:00
{% if class_group.label != 'Record-level' and class_group.label != 'UseWithIRI' %}
{ # Class #}
2018-10-15 11:23:56 +00:00
<table class="table table-sm table-bordered">
2018-10-08 08:16:04 +00:00
<tbody>
2018-10-15 13:10:15 +00:00
<tr class="table-primary"><th colspan="2">{{ class_group.label }} <span class="badge badge-primary float-right">Class</span></th></tr>
2018-10-15 13:10:02 +00:00
<tr><td class="theme-label">Identifier</td><td><a href="{{ class_group.iri }}">{{ class_group.iri }}</a></td></tr>
<tr><td class="theme-label">Definition</td><td>{{ class_group.definition }}</td></tr>
<tr><td class="theme-label">Comments</td><td>{{ class_group.comments }}</td></tr>
<tr><td class="theme-label">Examples</td><td>{{ class_group.examples }}</td></tr>
2018-10-08 08:16:04 +00:00
</tbody>
</table>
{%endif %}
{% for term in class_group.terms %}
2018-10-15 11:23:56 +00:00
{ # Term #}
<p class="invisible">
<a id="{{ term.namespace }}:{{ term.label }}"></a>{% if term.namespace != "dwciri" %}<a id="{{ term.label }}"></a>{% endif %}
</p>
<table class="table table-sm table-bordered">
2018-10-08 08:16:04 +00:00
<tbody>
2018-10-15 13:10:15 +00:00
<tr class="table-secondary"><th colspan="2">{{ term.label }} <span class="badge badge-secondary float-right">Property</span></th></tr>
2018-10-15 13:10:02 +00:00
<tr><td class="theme-label">Identifier</td><td><a href="{{ term.iri }}">{{ term.iri }}</a></td></tr>
<tr><td class="theme-label">Definition</td><td>{{ term.definition }}</td></tr>
<tr><td class="theme-label">Comments</td><td>{{ term.comments }}</td></tr>
<tr><td class="theme-label">Examples</td><td>{{ term.examples }}</td></tr>
2018-10-08 08:16:04 +00:00
</tbody>
</table>
{% endfor %}
2018-10-08 07:58:19 +00:00
{% endfor %}