2015-01-12 23:35:17 +00:00
<!DOCTYPE html>
<html lang="en">
2015-01-13 11:15:14 +00:00
<head>
2017-09-30 20:34:56 +00:00
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Darwin Core quick reference guide</title>
2017-09-30 21:51:12 +00:00
2017-09-30 20:34:56 +00:00
<!-- CSS -->
<link rel="stylesheet" href="https://dev.tdwg.org/theme/css/main.css">
<style>
body {
position: relative; /* Needed for scrollspy */
}
@media screen and (min-width: 768px) {
#sidebar { position : fixed ; } / * Use fixed sidebar on md screens * /
}
.anchor:before { /* To offset sticky-top navbar */
content: " ";
display: block;
height: 4.4rem;
margin-top: -4.4rem;
visibility: hidden;
}
2017-09-30 21:51:12 +00:00
.table .label {
width: 7rem; /* To align all labels */
2017-09-30 20:34:56 +00:00
}
</style>
2015-01-13 11:15:14 +00:00
</head>
2017-09-30 20:34:56 +00:00
<body data-spy="scroll" data-target=" #sidebar " >
<nav class="navbar navbar-expand-md navbar-dark bg-dark sticky-top">
<div class="container-fluid">
<a class="navbar-brand" href="http://www.tdwg.org">TDWG</a>
2017-09-30 22:56:23 +00:00
<ul class="navbar-nav align-right">
<li class="nav-item">
<a class="nav-link" href="https://github.com/tdwg/dwc">DwC on GitHub</a>
</li>
</ul>
2015-01-13 11:15:14 +00:00
</div>
</nav>
2017-09-30 20:34:56 +00:00
<div class="container-fluid pt-3">
<div class="row">
<div class="col-md-3">
<nav id="sidebar" class="mb-4">
<ul class="nav flex-md-column nav-pills">
2017-10-12 16:28:17 +00:00
#for $ class_group in $ class_groups
2017-09-30 20:34:56 +00:00
<li class="nav-item">
2017-10-12 16:28:17 +00:00
<a class="nav-link py-1" href=" # $ class_group . label "> $ class_group . label </a><!-- anchor to class_group -->
2017-09-30 20:34:56 +00:00
</li>
#end for
</ul>
</nav>
</div>
2015-01-13 11:15:14 +00:00
2017-09-30 20:34:56 +00:00
<div class="col-md-9">
<h1>Darwin Core quick reference guide</h1>
2017-09-30 22:13:59 +00:00
<p class="lead">This page provides a list of all currently recommended terms of the Darwin Core standard. Categories such as <code>Occurrence</code>, <code>Event</code> correspond to Darwin Core classes, which group other terms. Convenient <a href="https://github.com/tdwg/dwc/tree/master/dist"> files of these terms</a> and <a href="https://github.com/tdwg/dwc/blob/master/vocabulary/term_versions.csv"> their full history</a> can be found in the <a href="https://github.com/tdwg/dwc">Darwin Core repository</a>.</p>
2017-09-30 20:34:56 +00:00
2017-10-12 16:28:17 +00:00
#for $ class_group in $ class_groups
<section id=" $ class_group . label " class="anchor mb-4"><!-- anchor to class_group -->
<h2> $ class_group . label </h2>
2017-10-12 16:26:07 +00:00
<div class="my-4">
2017-10-12 16:28:17 +00:00
#for $ term in $ class_group . terms
2017-10-12 16:26:07 +00:00
<a class="btn btn-sm btn-outline-dark m-1" href=" # $ term . namespace : $ term . label "> $ term . label </a><!-- link to term -->
2015-01-13 11:56:52 +00:00
#end for
2017-09-30 20:34:56 +00:00
</div>
2017-10-12 16:28:17 +00:00
#if $ class_group . iri is not None
## The above will exclude the Record-level class_group
2017-09-30 21:51:12 +00:00
<table class="table table-sm border mb-3">
<tbody>
2017-10-12 16:28:17 +00:00
<tr class="table-primary"><th colspan="2"> $ class_group . label <span class="badge badge-primary float-right">Class</span></th></tr>
<tr><td class="label">Identifier</td><td><a href=" $ class_group . iri "> $ class_group . iri </a></td></tr>
<tr><td class="label">Definition</td><td> $ class_group . definition </td></tr>
<tr><td class="label">Comments</td><td> $ class_group . comments </td></tr>
2017-09-30 21:51:12 +00:00
</tbody>
</table>
2015-03-13 14:01:46 +00:00
#end if
2015-01-12 23:53:04 +00:00
2017-10-12 16:28:17 +00:00
#for $ term in $ class_group . terms
2017-10-12 16:26:07 +00:00
<a id=" $ term . namespace : $ term . label " class="anchor"></a><!-- anchor to term -->
2017-09-30 21:51:12 +00:00
<table class="table table-sm border mb-3">
<tbody>
2017-10-12 16:26:07 +00:00
<tr class="table-secondary"><th colspan="2"> $ term . label <span class="badge badge-secondary float-right">Property</span></th></tr>
2017-10-12 16:29:07 +00:00
<tr><td class="label">Identifier</td><td><a href=" $ term . iri "> $ term . iri </a></td></tr>
2017-09-30 21:51:12 +00:00
<tr><td class="label">Definition</td><td> $ term . definition </td></tr>
<tr><td class="label">Comments</td><td> $ term . comments </td></tr>
</tbody>
</table>
2017-09-30 20:34:56 +00:00
#end for
2015-01-13 12:25:25 +00:00
</section>
2015-01-13 11:56:52 +00:00
#end for
</div>
2015-01-13 11:15:14 +00:00
</div>
</div>
2017-09-30 20:34:56 +00:00
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://dev.tdwg.org/theme/js/jquery.min.js"></script>
<script src="https://dev.tdwg.org/theme/js/popper.min.js"></script>
<script src="https://dev.tdwg.org/theme/js/bootstrap.min.js"></script>
2015-01-13 11:15:14 +00:00
</body>
2017-09-30 20:34:56 +00:00
</html>