dwc/docs/rdf/index.md

1446 lines
137 KiB
Markdown
Raw Permalink Normal View History

# Darwin Core RDF guide
Title
: Darwin Core RDF guide
Date version issued
: 2021-07-15
Date created
2018-08-26 22:03:50 +00:00
: 2015-03-27
Part of TDWG Standard
: <http://www.tdwg.org/standards/450>
This version
: <http://rs.tdwg.org/dwc/terms/guides/rdf/2021-07-15>
Latest version
: <http://rs.tdwg.org/dwc/terms/guides/rdf/>
Previous version
: <http://rs.tdwg.org/dwc/terms/guides/rdf/2016-04-25>
Abstract
: This guide is intended to facilitate the use of Darwin Core terms in the Resource Description Framework (RDF). It explains basic features of RDF and provides details of how to expose data in the form of RDF using Darwin Core terms and terms from other key vocabularies. It defines terms in the namespace http://rs.tdwg.org/dwc/iri/ which are intended for use exclusively with non-literal objects.
Contributors
: [Steve Baskauf](https://orcid.org/0000-0003-4365-3135) ([Vanderbilt University Department of Biological Sciences](http://www.wikidata.org/entity/Q78041310)), [John Wieczorek](https://orcid.org/0000-0003-1144-0290) ([VertNet](http://www.wikidata.org/entity/Q98382028)), [John Deck](https://orcid.org/0000-0002-5905-1617) ([Genomic Biodiversity Working Group](http://www.wikidata.org/entity/Q98382041)), [Campbell Webb](https://orcid.org/0000-0003-1031-3249) ([TDWG RDF/OWL Task Group](http://www.wikidata.org/entity/Q4914768)), [Paul J. Morris](http://purl.oclc.org/net/edu.harvard.huh/guid/uuid/5e51de22-d841-4c47-b0c4-d5ad0bd03035) ([Harvard University Herbaria/Museum of Comparative Zoölogy](http://www.wikidata.org/entity/Q51926077)), [Mark Schildhauer](https://orcid.org/0000-0003-0632-7576) ([National Center for Ecological Analysis and Synthesis](http://www.wikidata.org/entity/Q6971323))
Creator
: Darwin Core and RDF/OWL Task Groups
Bibliographic citation
: Darwin Core and RDF/OWL Task Groups. 2021. Darwin Core RDF guide. Biodiversity Information Standards (TDWG). <http://rs.tdwg.org/dwc/terms/guides/rdf/2021-07-15>
## 1 Introduction (non-normative)
Each method of encoding information using [Darwin Core](http://rs.tdwg.org/dwc/index.htm) has a guide explaining how to use the Darwin Core terms in that situation. This is the guide for encoding biodiversity data using the [Resource Description Framework](http://www.w3.org/TR/rdf11-concepts/).
The Darwin Core RDF Guide is targeted toward those who wish to share biodiversity data described by Darwin Core (DwC) properties using RDF. It describes how community best practices for expressing fundamental information about resources using RDF relate to Darwin Core terms, and clarifies how Darwin Core terms should be used in RDF with literal (string) and non-literal (IRI reference) objects. It is not intended to explain the model and syntax of RDF. For a general introduction to RDF in a biodiversity context, see the [Beginner's Guide to RDF](https://github.com/tdwg/rdf/blob/master/Beginners.md). For a more detailed introduction to RDF, see the [RDF Primer](http://www.w3.org/TR/rdf11-primer/).
### 1.1 Status of the content of this document
Sections of this document are explicitly identified as either normative or non-normative. All numbered examples are non-normative, even if they fall within sections designated as normative. Tables may be designated as non-normative, even if they fall within sections designated as normative.
#### 1.1.1 RFC 2119 key words
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD",
"SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to
be interpreted as described in [BCP 14](https://datatracker.ietf.org/doc/html/bcp14)
[[RFC2119]](https://datatracker.ietf.org/doc/html/rfc2119)
[[RFC8174]](https://datatracker.ietf.org/doc/html/rfc8174)
when, and only when, they are written in capitals (as shown here).
### 1.2 Rationale (non-normative)
Darwin Core is a vocabulary that provides terms that can be used to describe the properties and types of entities (known in RDF as "resources") in the biodiversity realm. Darwin Core is a general purpose vocabulary because its terms can be used as part of a number of data transfer systems. RDF differs in several important ways from other data transfer systems for which DwC usage guides exist ([Text Guide](http://rs.tdwg.org/dwc/terms/guides/text/) and [XML Guide](http://rs.tdwg.org/dwc/terms/guides/xml/)). By its nature, RDF is a distributed system. It is assumed that data from one provider will be linked to data from other providers. This also implies that it is always possible to discover new data properties about a particular resource and that those properties may be described using unfamiliar terms. This differs significantly from other data transfer systems where there needs to be a pre-existing agreement (in the form of a federation schema or human-understandable document) between the sender and receiver about the format of the data and the organization and interpretation of the terms within records. Because RDF is intended to facilitate data and metadata discovery by machines (actually computer programs known as semantic clients or just "clients"), the meaning and use of terms needs to be well-defined and discoverable by clients without human intervention. To facilitate cross-referencing of resources among different data providers, resources need to be identified using standardized, machine-understandable, and globally unique identifiers known as internationalized resource identifiers (IRIs). Finally, because anyone can make statements about a resource without agreeing to a pre-determined schema, RDF by its nature is a highly normalized network of relationships, in contrast to typical database tables which are by their nature "flat". Because of these differences, effective use of RDF requires that its users adhere to what are essentially evolving social conventions about identifiers, data transfer protocols, and application of vocabularies. Some of these conventions will be described in the following sections.
### 1.3 Features of RDF (non-normative)
This section describes some of the basic features of RDF. It is not intended as a tutorial on RDF, but rather to provide enough information about the features of RDF to explain why specific guidelines for the use of Darwin Core in RDF are necessary and why an additional Darwin Core namespace has been created.
#### 1.3.1 Serialization and syntax (non-normative)
The RDF model itself is independent of any specific serialization syntax. The following diagram represents a set of facts about an image in a graphical form easily understood by humans.
2018-08-26 23:32:43 +00:00
![](rdf-graphical-example.png)
Each arrow represents a statement about the image, called a "triple" in RDF. The set of triples is called an RDF graph. Resources (represented by ovals) are identified by IRIs. The described resource (in this example the image `<http://bioimages.vanderbilt.edu/kirchoff/ac1490>` at the tail of the arrow) is called the subject of the triple. Properties of the subject resource are identified by term IRIs shown here with their namespaces abbreviated (e.g., `dcterms:` = `http://purl.org/dc/terms/`). The property is called the predicate of the triple. The values of the properties are called the object of the statement, with literal values (consisting of text) represented by rectangles.
This RDF graph can be serialized in a somewhat human-friendly syntax called [Terse RDF Triple Language (Turtle)](http://www.w3.org/TR/turtle/):
```turtle
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix dcterms: <http://purl.org/dc/terms/>.
<http://bioimages.vanderbilt.edu/kirchoff/ac1490>a <http://purl.org/dc/dcmitype/StillImage>;
2018-08-26 22:03:50 +00:00
       dcterms:created "2010-09-01T03:41:31"^^xsd:dateTime;
       dcterms:creator <http://bioimages.vanderbilt.edu/contact/kirchoff#coblea>.
```
Here is the graph in [RDF/XML syntax](http://www.w3.org/TR/rdf-syntax-grammar/):
2018-10-01 19:33:34 +00:00
```xml
2018-08-26 22:03:50 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dcterms="http://purl.org/dc/terms/"
>
 <rdf:Description rdf:about="http://bioimages.vanderbilt.edu/kirchoff/ac1490">
   <rdf:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
   <dcterms:creator rdf:resource="http://bioimages.vanderbilt.edu/contact/kirchoff#coblea"/>
   <dcterms:created rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2010-09-01T03:41:31</dcterms:created>
 </rdf:Description>
</rdf:RDF>
```
In this document, the following formatting conventions will be used. Full IRIs will be enclosed in angle brackets, e.g.,
```
2018-09-29 11:23:16 +00:00
<http://bioimages.vanderbilt.edu/contact/kirchoff#coblea>
```
Abbreviated UIRIs will be shown as `inline code` in the form `namespace:localName`, e.g., `rdf:type`. Namespace abbreviations when shown by themselves will also be shown as `inline code`, e.g., `dwc:`. Examples will be displayed in code blocks.
XML is a widely understood form of RDF serialization. Therefore, all examples given here will be shown as RDF/XML. In most cases, they will also be shown in Turtle. For more detailed information about RDF serialization, see [part 3 of the Beginner's Guide to RDF](https://github.com/tdwg/rdf/blob/master/Beginners3RDFbasics.md) and the references cited there.
#### 1.3.2 Internationalized Resource Identifier (IRI) (non-normative)
Data providers make use of a variety of identifiers to refer to resources they wish to provide. These identifiers might be locally unique within the provider's database, or they might be globally unique. Providers have sought to make their identifiers globally unique through such means as "Darwin Core Triplets" (institutionCode:collectionCode:catalogNumber) and creation of [UUIDs](http://www.iso.org/iso/home/store/catalogue_ics/catalogue_detail_ics.htm?csnumber=62795). However, only identifiers in the form of [IRIs](https://datatracker.ietf.org/doc/html/rfc3987) can be valid subjects of statements (known as RDF triples) in RDF, so neither "Darwin Core Triples" nor UUIDs can be used in unmodified form for that purpose. IRIs are a superset of a narrower form of identifiers known as Uniform Resource Identifiers ([URIs](https://datatracker.ietf.org/doc/html/rfc3986)) that can be used in place of IRIs. This document will refer exclusively to IRIs with the understanding that URIs may be used in place of IRIs.
The most familiar form of IRI is a Uniform Resource Locator (URL) which not only identifies a resource, but also provides information about retrieving an information resource (i.e., a resource that can be transmitted in electronic form), such as text in the form of an HTML web page. In general, IRIs can also identify non-information resources (physical or conceptual entities) that are not transmittable electronically, e.g., `<http://bioimages.vanderbilt.edu/contact/kirchoff#coblea>`, a person. If a client attempts to retrieve a non-information resource by dereferencing its HTTP IRI, a process called [content negotiation](https://datatracker.ietf.org/doc/html/rfc2616#section-12) is used to refer the client to the IRI of an information resource representation of the non-information resource. For humans, this is usually a web page, while for semantic clients (machines) the representation is a document in the form of RDF/XML. For more detailed information about IRIs see [part 1 of the Beginner's Guide to RDF](https://github.com/tdwg/rdf/blob/master/Beginners1URIs.md) and the references cited there.
##### 1.3.2.1 Persistent Identifiers (normative)
Best practices dictate that identifiers (known as persistent identifiers or globally unique identifiers: GUIDs), which are used to identify resources of permanent interest, SHOULD be globally unique, referentially consistent, and persistent ([TDWG Globally Unique Identifiers (GUID) applicability statement:](http://www.tdwg.org/standards/150/)). If those identifiers are to be used to identify subject resources in RDF, they MUST also be in the form of an IRI. This has two implications for data providers.
First, if a non-IRI globally unique identifier is used to identify a subject resource, it MUST be converted to an IRI by making it conform to a well-known IRI scheme (e.g., a [URN or HTTP IRI](http://www.iana.org/assignments/uri-schemes.html)). For example, a UUID can be transformed into a [URN](https://datatracker.ietf.org/doc/html/rfc8141) by prefixing its string representation with `urn:uuid:` as in
```
<urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6>
```
Similarly, [ISBNs can be converted to URNs](https://www.ietf.org/rfc/rfc3187.txt) as shown in Examples 13 and 14. Although these URNs are valid IRIs, they have the disadvantage that they are not actionable (see [Section 1.3.2.2](#1322-http-iris-as-self-resolving-guids-normative)). In contrast, the "Darwin Core triplet"
```
MVZ:Mamm:165861
```
has been turned into an actionable IRI by appending it to the base string `http://arctos.database.museum/guid/`:
```
<http://arctos.database.museum/guid/MVZ:Mamm:165861>
```
Second, if a provider refers to a resource using an URL that provides data about the resource, the provider SHOULD ensure that the URL does not change over time (e.g., if the content moves to a different server, if the directory structure changes, or if a new version of the database is introduced). To improve stability, the information provider MAY use [content negotiation](http://www.w3.org/TR/cooluris/) to redirect the user from a persistent IRI that refers to the resource to the URL of a web page which describes the resource.
2018-09-29 11:23:16 +00:00
For a more detailed introduction to persistent identifiers, see the [GBIF Beginner's Guide to Persistent Identifiers](https://www.gbif.org/document/80575).
Based on the precedent set by the [TDWG LSID Applicability Statement standard](http://www.tdwg.org/standards/150/), it is RECOMMENDED that URN-based IRIs be related to HTTP-proxied equivalents (if they exist) as described in [Section 2.2.3](#223-associating-a-urn-with-its-http-proxied-equivalent-normative).
##### 1.3.2.2 HTTP IRIs as self-resolving GUIDs (normative)
Advocates of principles of [Linked Data](https://www.w3.org/standards/semanticweb/data) prefer to use identifiers that follow the [HTTP IRI scheme](https://datatracker.ietf.org/doc/html/rfc2616/), known as "HTTP IRIs". In addition to being globally unique, such identifiers have the advantage of being dereferenceable using a widely implemented protocol. As such, it is possible to implement HTTP IRIs so that a human end user can obtain information about the resource using a conventional web browser. It is also possible to implement HTTP IRIs so that data (in the form of RDF) describing the resource can be discovered by a semantic client. In recognition of the advantages conferred by HTTP IRIs, the [TDWG GUID Applicability Statement standard](http://www.tdwg.org/standards/150/) specifies in Recommendation 2 that "HTTP GET resolution must be provided for non-self-resolving GUIDs". For this reason, providers of biodiversity information who intend to make data available through RDF SHOULD plan to implement GUIDs that are persistent HTTP IRIs. This is not to the exclusion of other forms of non-self-resolving globally unique identifiers that can be associated with the HTTP IRI using the methods described in [Section 2](#2-implementation-guide) of this guide.
### 1.4 Use of terms in RDF
#### 1.4.1 Well-known vocabularies (non-normative)
Because RDF assumes no pre-existing agreement between data providers and consumers about the terms used as properties to describe resources, the likelihood that a consuming client will "understand" the meaning of an RDF triple will be increased if the provider uses terms from a well-known vocabulary. Some well-known general and biodiversity-related vocabularies are listed in the [Introduction to the Beginner's Guide to RDF](https://github.com/tdwg/rdf/blob/master/Beginners.md#037-biodiversity-related-and-general-vocabularies-and-ontologies). If no well-known term exists to represent a property needed to describe a resource, a data provider MAY "mint" its own term. In that case, the provider SHOULD assign the term an IRI, define the term in RDF, provide clear human-understandable documentation of how the term should be used, provide for dereferencing of the IRI, and commit to the long-term stability of the term IRI and definition.
#### 1.4.2 Appropriate use of terms (normative)
Because of the machine-oriented nature of RDF, a provider MUST assume that a consuming client will not infer any meaning from a statement other than what is directly stated or what can be inferred logically from other statements made about the resources and terms involved in the statement. For example, a provider might use the name of a resource in a triple with the intention that the name represent the resource itself. However, if the term used as the predicate in the triple is designed to refer to resources themselves rather than names of resources, the client may fail to make the connection between the name and the resource itself. Depending on how the term is defined, the client may detect an inconsistency or draw unintended conclusions as described below. Inappropriate use of terms as RDF predicates can have unintended consequences because, unlike text-based data transfer protocols, RDF is designed to allow clients to infer additional facts based on information contained in the definitions of the terms. For example, the definition of the term [`foaf:depicts`](http://xmlns.com/foaf/spec/) contains a statement declaring its domain to be `foaf:Image`. Thus a provider that describes a resource using a `foaf:depicts` property is also implicitly (and perhaps unknowingly) declaring the resource to be an image. Terms that are defined using a form of RDF known as [Web Ontology Language (OWL)](http://www.w3.org/TR/owl2-overview/) can have restrictions placed on their use. For example, declaring a term to be an `owl:ObjectProperty` indicates that it is inconsistent for the value of that property to be a string literal (i.e., the value is expected be an IRI).
For these reasons, terms SHOULD be used as predicates in RDF only after the data provider has carefully examined the documentation and usage guidelines associated with the vocabulary or ontology that defines the term and has determined that use of that term is consistent with the meaning the provider intends to impart to the triple in which the term is to be used as a predicate.
For more detailed information about the implications of using terms that have range, domain, and subproperty declarations in RDF, see [part 4 of the Beginner's Guide to RDF](https://github.com/tdwg/rdf/blob/master/Beginners4Vocabularies.md). For more detailed information about how OWL is used to define complex properties of terms in RDF, see [part 7 of the Beginner's Guide to RDF](https://github.com/tdwg/rdf/blob/master/Beginners7OWL.md).
#### 1.4.3 Use of Darwin Core terms in RDF (normative)
The general Darwin Core vocabulary, whose terms are in the `dwc:` namespace (`http://rs.tdwg.org/dwc/terms/`), is designed primarily to facilitate the transfer of text-based records from relatively "flat" database tables. Because of this, the term recommendations associated with the general vocabulary suggest using text strings to refer to physical and conceptual entities, i.e., names to represent people, citations to represent articles, codes to represent institutions, etc. The several kinds of roles intended for text strings are detailed in [Section 1.5](#15-roles-of-text-strings-as-values-of-properties-in-dwc-namespace-non-normative). When a record has multiple values for a property, the general Darwin Core term definitions specify that the multiple strings be concatenated and delineated in a single field to avoid forcing the creation of a more normalized data structure.
However, in RDF, identification of physical and conceptual entities is generally accomplished by IRI references rather than literals. If there are multiple values for a property, each value MUST be referenced in a separate triple. Thus we face a situation where it is desirable in the context of RDF for certain DwC properties to be represented by one to many triples having non-literal (IRI reference) objects, while the actual definitions of the terms in the general DwC vocabulary that represent those properties specify that a single literal (text string) object be provided.
In a perfect world, all data providers wishing to serve RDF would immediately replace literal references to physical and conceptual resources (names, citations, codes, etc.) with IRI GUIDs that identify those resources and that are reused by other members of the community. However, it is more realistic to assume that, at least initially, many providers will have few (if any) GUIDs available to use as IRI references, so requiring non-literal resources to be referenced exclusively by IRIs would impede the exposure of data in the form of RDF. Therefore, it would be advantageous to provide an alternative set of DwC terms intended for use in RDF with IRI-referenced objects, while continuing to use the general DwC terms for literal objects where providers are unable to convert their existing (string) database fields to IRI references.
This guide introduces the namespace **`dwciri:`** (`http://rs.tdwg.org/dwc/iri/`) whose terms are intended for use with non-literal objects. If a term in the `dwciri:` namespace has an analogue in the `dwc:` namespace with the same local name, the `dwciri:` term SHALL have the same meaning as its `dwc:` counterpart. For example, `dwciri:recordedBy` has the same meaning as `dwc:recordedBy`, but as an RDF predicate `dwciri:recordedBy` is intended to be repeatable and have an IRI-reference object. Providers whose databases include the field `dwc:recordedBy` with records containing concatenated lists of names MAY publish those values immediately as single RDF triples using `dwc:recordedBy` as the predicate and containing one literal object, which is the concatenated list string. In this manner, publication of data as RDF can begin immediately using the `dwc:` terms without the requirement that every resource have an assigned IRI GUID. As the community develops mechanisms for discovering and reusing IRIs, data providers can make the shift to `dwciri:` terms. As a part of their data updating and cleaning process providers or aggregators may eventually parse the strings, search a community IRI repository, and match strings with existing IRIs or create new ones if they do not already exist.
#### 1.4.4 Limitations of this guide (non-normative)
This guide provides general guidance about how Darwin Core property terms can be used as RDF predicates and specifies that Darwin Core class terms should be used in `rdf:type` declarations ([Section 2.3.1.5](#2315-classes-to-be-used-for-type-declarations-of-resources-described-using-darwin-core-normative)). However, the Darwin Core standard does not specify precisely which resources are to be included as instances of its classes nor does it declare domains for its property terms. Although the [Darwin Core Quick Reference Guide](https://dwc.tdwg.org/terms/) suggests which properties might be applied to instances of classes by organizing those property terms under class headings, Darwin Core leaves specific decisions about type declaration and property assignment to community consensus. Some examples that show varying approaches to assigning resources to Darwin Core classes and connecting them with object properties defined outside Darwin Core are provided in the [Darwin Core informative ancillary web page](https://github.com/tdwg/rdf/blob/master/DwCAncillary.md).
### 1.5 Roles of text strings as values of properties in dwc: namespace (non-normative)
When humans communicate in written language, they use strings of text characters to impart meaning. In some cases text strings may have a relatively unambiguous meaning. However, in many cases the exact meaning of a text string will depend on the context in which it is used. Take, for example, the text string "Germany". That string might be intended to refer to a location bounded by some agreed-upon geographical borders. It may be intended to refer to a political entity, i.e., "the government of Germany". It might be intended to refer to an entity that includes all of the inhabitants living with certain geographical borders, i.e., "the people of Germany". It might also be intended to be a name recorded in a certain language. Is "Germany" the same as "Deutschland"? Does "Germany" mean the same thing as the code "DE"? Is "Germany" the same as "Federal Republic of Germany"? The answers to all of these questions depends on what one means by "Germany".
In text-based data transfer systems, text strings are the predominant means by which information is conveyed. It would be a relatively simple matter to simply "translate" existing Darwin Core text-based data into RDF by making every string value be the literal object of a predicate that is the Darwin Core property. But that would not result in RDF that conveys the kind of "meaning" that RDF was designed to impart.
Because text-based systems depend on predetermined understandings about the meanings of data fields, users are not forced to consider carefully the role that the string values are intended to play. However, in RDF one cannot assume that a client will "know what I mean" when a string is provided. For that reason, it is worth examining the kinds of meanings that we intend when we provide string values for Darwin Core properties in the `dwc:` namespace.
#### 1.5.1 Situations where a string is the standard means for encoding a resource (non-normative)
Numbers, dates, and titles are resources that are essentially conceptual, but whose meaning can be imparted rather completely and concisely by a string. This is particularly true if an datatype encoding scheme is specified for the string or if a language attribute is used to indicate the language of the title. In this situation, there is virtually no need to provide additional information about the resource other than the string itself. A literal object is sufficient in itself.
#### 1.5.2 Situations where a string value serves as a proxy for a non-information resource (non-normative)
Humans commonly use name strings to represent resources that are physical or conceptual (i.e., non-information) resources. For example, the string "Vincent van Gogh" is used to represent the person whose name was Vincent van Gogh. If we made the statement "Starry Night" createdBy "Vincent van Gogh", we do not mean that "Starry Night" was created by the name "Vincent van Gogh", but rather that "Starry Night" was created by the person whose name was Vincent van Gogh. For that matter "Starry Night" is the name for a painting and we probably actually mean that the person Vincent van Gogh created the painting rather than the name of the painting (although he probably created both!). Unlike the first situation, such name strings themselves do not contain nearly all of the information that one might want to know about that non-information resource (e.g., date of creation, location during a certain period of time, etc.), but they can serve as an identifier for the resource. In RDF, machine-processable IRIs are preferred over string names as identifiers for resources.
#### 1.5.3 Situations where a string value serves as a keyword to enable searching (non-normative)
Imagine that a person identifies an oak tree as "Quercus alba". The data associated with that identification may provide the property/value pair `dwc:scientificName`=`"Quercus alba"`. This implies that the person asserted that the tree was a representative of a taxon associated with the name _Quercus alba_. The data associated with the identification might also provide the property/value pair `dwc:order`=`"Fagales"`. One might think that this would imply that the person who asserted the identification also asserted that the tree was included in the order Fagales. However, it is likely that the person did not make such an assertion and in fact may have never even heard of the order Fagales. Rather, a database manager subscribing to a particular taxonomic hierarchy asserted that all identifications with a `dwc:scientificName` value of "Quercus alba" will also have a property/value pair of `dwc:order`=`"Fagales`" in order to allow users of the database to search for identifications that were related because they shared the common value for that `dwc:order` property.
The point is that in order to more accurately describe the real situation, there ought to be two separate sets of information: one that asserts that the person identified the tree as a representative of a taxon for which the scientific name "Quercus alba" is applied, and one that asserts the relationship between that taxon and higher taxa such as one to which the name "Fagales" is applied.
#### 1.5.4 Situations where a string value serves as an identifier (non-normative)
A number of Darwin Core properties specify that their values ought be an identifier. There is significant ambiguity in the use of these properties because, depending on the situation, the value may be an identifier for the subject resource itself or it may be the identifier for a resource that is related in some way to the subject resource. In addition, Darwin Core sometimes suggests (but does not require) a GUID as a value, but does not require that the GUID be either an HTTP IRI nor an IRI in general.
#### 1.5.5 Implications for expressing Darwin Core string values as RDF (non-normative)
To facilitate achieving the clarity that RDF makes possible, this guide provides different approaches for each of these four situations in which string values are provided. In the first three situations, the existing term from Darwin Core namespace `dwc:` can be used with a literal value to expose the string value as it currently exists in a text-based database. This allows for the rapid deployment of RDF described in [Section 1.4.3](#143-use-of-darwin-core-terms-in-rdf-normative) and is all that is needed in the first situation ([Section 1.5.1](#151-situations-where-a-string-is-the-standard-means-for-encoding-a-resource-non-normative)). In the second situation ([Section 1.5.2](#152-situations-where-a-string-value-serves-as-a-proxy-for-a-non-information-resource-non-normative)), analogues of the existing `dwc:` terms have been created in the `dwciri:` namespace, which are intended to be used with IRI-references rather than names. In the third situation ([Section 1.5.3](#153-situations-where-a-string-value-serves-as-a-keyword-to-enable-searching-non-normative)), new `dwciri:` terms have been created to relate subject resources to IRI-identified object resources that form part of a hierarchy. If such a hierarchy already exists, the need is eliminated for separate terms ("convenience terms") that relate the subject resource to all parts of the hierarchy, although those terms can still be used if they are convenient for facilitating string searches. The last situation ([Section 1.5.4](#154-situations-where-a-string-value-serves-as-an-identifier-non-normative)) is more complex and a significant part of the implementation guide is devoted to the ways in which RDF ought to be structured to handle various kinds of identifiers.
## 2 Implementation guide
### 2.1 Definitions
#### 2.1.1 Namespace abbreviations used in XML qualified names (QNames) in this document (non-normative)
**Table 1**
vocabulary name | namespace abbreviation | full prefix
--- | --- | ---
2018-10-08 14:54:01 +00:00
Resource Description Framework | rdf: | <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
RDF Schema | rdfs: | <http://www.w3.org/2000/01/rdf-schema#>
XML Schema | xsd: | <http://www.w3.org/2001/XMLSchema#>
Web Ontology Language | owl: | <http://www.w3.org/2002/07/owl#>
Darwin Core terms (string literal objects) | dwc: | <http://rs.tdwg.org/dwc/terms/>
Darwin Core terms (IRI reference objects) | dwciri: | <http://rs.tdwg.org/dwc/iri/>
Dublin Core terms | dcterms: | <http://purl.org/dc/terms/>
Dublin Core legacy terms | dc: | <http://purl.org/dc/elements/1.1/>
Dublin Core type vocabulary | dcmitype: | <http://purl.org/dc/dcmitype/>
FOAF vocabulary | foaf: | <http://xmlns.com/foaf/0.1/>
DBpedia resources | dbres: | <http://dbpedia.org/resource/>
GeoNames Ontology | gn: | <http://www.geonames.org/ontology#>
GeoSciML Geologic Timescale model Ontology | gsml: | <http://resource.geosciml.org/ontology/timescale/gts-30#>
Virtual International Authority File | viaf: | <http://viaf.org/viaf/>
Extensible Metadata Platform Rights Management vocabulary | xmpRights: | <http://ns.adobe.com/xap/1.0/rights/>
For brevity, the examples do not include namespace declarations, nor an `rdf:RDF` container element. If a user wishes to test or validate an example, insert it into the container element defined in [Section 2.1.2](#212-generating-graphical-diagrams-and-triple-tables-for-the-examples-non-normative).
#### 2.1.2 Generating graphical diagrams and triple tables for the examples (non-normative)
The [W3C RDF Validation Service](http://www.w3.org/RDF/Validator/) can be used to generate both a tabular listing and a graphical diagram of the triples that are included in the example XML serializations. Text from the examples can be placed inside the `rdf:RDF` container element below, then pasted into the validator box to generate the desired output.
2018-10-01 19:33:34 +00:00
```xml
2018-08-26 22:03:50 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:dwc="http://rs.tdwg.org/dwc/terms/"
xmlns:dwciri="http://rs.tdwg.org/dwc/iri/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcmitype="http://purl.org/dc/dcmitype/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:dbres="http://dbpedia.org/resource/"
xmlns:gn="http://www.geonames.org/ontology#"
xmlns:gsml="http://resource.geosciml.org/ontology/timescale/gts-30#"
xmlns:viaf="http://viaf.org/viaf/"
>
… resource descriptions go here …
</rdf:RDF>
```
#### 2.1.3 Terminology (non-normative)
"Resource" is a general term for any kind of entity that can be described using RDF. Resources can be physical, conceptual, or digital entities. Statements about resources are made in RDF in the form of ["triples"](http://www.w3.org/TR/2014/NOTE-rdf11-primer-20140624/#section-triple). A triple consists of a subject, a predicate, and an object:
**Table 2**
Subject | Predicate | Object
--- | --- | ---
<http://dbpedia.org/resource/Starry_night> | <http://xmlns.com/foaf/0.1/maker> | <http://viaf.org/viaf/9854560>
dbres:Starry_night | foaf:maker | viaf:9854560
In the second row of Table 2, the full IRIs are given. In the third row, namespace abbreviations are used to shorten the IRIs. The following fragments of RDF show the triple in RDF/XML and Turtle serializations of the triple shown in Table 2:
**Example 1:**
RDF/XML
2018-10-01 19:33:34 +00:00
```xml
2018-08-26 22:03:50 +00:00
<rdf:Description rdf:about="http://dbpedia.org/resource/Starry_night">
     <foaf:maker rdf:resource="http://viaf.org/viaf/9854560"/>
</rdf:Description>
```
Turtle
```turtle
<http://dbpedia.org/resource/Starry_night>
foaf:maker <http://viaf.org/viaf/9854560>.
```
The [Dublin Core Metadata Initiative (DCMI) Abstract Model](https://www.dublincore.org/specifications/dublin-core/abstract-model/), which was designed to be compatible with RDF, describes subject resources using property-value pairs, which correspond to pairs of predicates and objects. When referring to Dublin Core terms (as well as Darwin Core, which is modeled on Dublin Core) "property" is used synonymously with "predicate" and "value" is used synonymously with "object". In Example 1, `foaf:maker` is a property and `viaf:9854560` is the value associated with that property. Predicates have to be identified by IRIs. Objects of triples can be identified in three ways: 1) the object resource can be identified by an IRI reference, 2) the object can be identified by a non-IRI string, in which case it is called a literal, and 3) the object resource can also be left unidentified, in which case it is called a blank node or an anonymous node. Blank nodes are undesirable if it is important that other data providers be able to refer to the resource they represent. However, blank nodes might be preferable if external references to the resource are not relevant, or if the data provider is unable or unwilling to provide a stable IRI to identify the resource. IRI references and blank nodes can be the subjects of RDF triples, but literals cannot.
### 2.2 Subject resources (normative)
If the subject of an RDF triple is identified (i.e., not an anonymous node), it MUST be referenced by an IRI. This section describes how IRI identifiers are referenced in RDF and how non-IRI identifiers SHOULD be associated with the subject of the triple.
#### 2.2.1 Identifying subject resources using IRIs (normative)
The `rdf:about` attribute of the `rdf:Description` element is used in RDF/XML to identify the subject of a triple:
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://arctos.database.museum/guid/MVZ:Mamm:165861">
```
#### 2.2.2 Associating a string identifier with a subject resource (normative)
The Dublin Core term `dcterms:identifier` SHOULD be used to associate a string literal identifier (e.g., UUID, "Darwin Core Triplet", or ARK) with an IRI-identified resource as shown here in RDF/XML:
2018-10-01 19:33:34 +00:00
```xml
2018-08-26 22:03:50 +00:00
<dcterms:identifier>58D31D52-713D-44B4-9FE9-CB2D9249C422</dcterms:identifier>
```
2018-10-01 19:33:34 +00:00
```xml 
<dcterms:identifier>MVZ:Mamm:165861</dcterms:identifier>
```
2018-10-01 19:33:34 +00:00
```xml
<dcterms:identifier>ark:/12025/654xz321</dcterms:identifier>
```
If an HTTP IRI is considered to be the identifier for a subject resource, it MAY be provided as a string literal value for `dcterms:identifier` in addition to using it in the `rdf:about` attribute of the subject resource, as in Example 2:
**Example 2:**
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://bioimages.vanderbilt.edu/kirchoff/b5161">
     <rdf:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
     <dcterms:identifier>http://bioimages.vanderbilt.edu/kirchoff/b5161</dcterms:identifier>
</rdf:Description>
```
#### 2.2.3 Associating a URN with its HTTP-proxied equivalent (normative)
The [TDWG LSID Applicability Statement standard](http://www.tdwg.org/standards/150/) specifies in Recommendation 30 that "The description of all objects identified by an LSID **must** contain an `owl:sameAs`, `owl:equivalentProperty` or `owl:equivalentClass` statement expressing the equivalence between the object identifier in its standard form and its proxy version". This is illustrated by Example 3:
**Example 3:**
RDF/XML
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://biocol.org/urn:lsid:biocol.org:col:35115">
     <owl:sameAs rdf:resource="urn:lsid:biocol.org:col:35115"/>
</rdf:Description>
```
Turtle
```turtle
<http://biocol.org/urn:lsid:biocol.org:col:35115>
owl:sameAs <urn:lsid:biocol.org:col:35115>.
```
Since LSIDs follow the URN IRI scheme, they MAY serve as the subject of any RDF triple. However, it is better to use the http-proxied form as the subject (i.e., the value of the `rdf:about` attribute) in the description of the resource. See the [Darwin Core informative ancillary web page](https://github.com/tdwg/rdf/blob/master/DwCAncillary.md) for more information about implementing LSIDs.
This practice MAY be extended to any URN. For example, `owl:sameAs` can be used to relate the URN `<urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6>` to its HTTP-proxied equivalent `<http://provider.org/f81d4fae-7dec-11d0-a765-00a0c91e6bf6>` in a manner analogous to Example 3.
### 2.3 Predicates (normative)
Most property terms in the Darwin Core vocabulary can be used as predicates in triples to represent properties of subject resources. The full term IRI MUST be used, although with an appropriate namespace declaration the namespace MAY be abbreviated ([Section 2.1.1](#211-namespace-abbreviations-used-in-xml-qualified-names-qnames-in-this-document-non-normative)). RDF does not restrict the source of predicates, therefore Darwin Core terms MAY be mixed with terms from other vocabularies. This includes the important predicate `rdf:type` which is used to indicate the class of which the subject resource is an instance. There is no prohibition in RDF against repeating properties.
#### 2.3.1 Declaring the type of the resource (non-normative)
In RDF, a resource can be characterized by declaring that it is an instance of a class. Indicating that a resource is an instance of a class provides several benefits. It allows a consumer to narrow the results of a search by limiting the search to certain types of resources. It suggests to data providers what sorts of properties should be used to describe a resource. It allows consumers to anticipate what sorts of properties they might expect to be provided for that resource and allows developers to build applications that exploit those expectations. Because of these benefits, RDF provides several built-in mechanisms for asserting class membership, most notably the [`rdf:type` property](http://www.w3.org/TR/rdf-schema/#ch_type), which is used to state that a resource is an instance of a class. There is nothing that prohibits assigning more than one `rdf:type` property to a resource. In fact, there can be a benefit in describing a resource as a member of both a class that has specific meaning within a narrow community and a more well-known class that has a broader meaning and is therefore more likely to be understood by generic clients. For instance, a resource can be typed as both a `dwc:PreservedSpecimen` and a `dcmitype:PhysicalObject`.
##### 2.3.1.1 rdf:type statement (normative)
The predicate `rdf:type` is defined to have an object that is a class. The class MUST be identified by an IRI reference (not by a literal) as in Example 4:
**Example 4:**
RDF/XML
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://bioimages.vanderbilt.edu/baskauf/12226">
     <rdf:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
2018-08-26 22:03:50 +00:00
     <dcterms:created rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2002-06-11T09:37:33</dcterms:created>
</rdf:Description>
```
Turtle:
```turtle
2018-08-26 22:03:50 +00:00
<http://bioimages.vanderbilt.edu/baskauf/12226>
     a dcmitype:StillImage;
2018-08-26 22:03:50 +00:00
     dcterms:created "2002-06-11T09:37:33"^^xsd:dateTime.
```
In Turtle serialization, `rdf:type` MAY be abbreviated as "`a`" (Example 4). In XML serialization, the RDF specification provides an abbreviated way to specify the type of a described resource. This method is called a [typed node element](http://www.w3.org/TR/rdf-syntax-grammar/#section-Syntax-typed-nodes). The `rdf:Description` element is replaced by an element whose name is an XML qualified name that identifies a class of which the described resource is an instance as in Example 5:
**Example 5:**
2018-10-01 19:33:34 +00:00
```xml
<dcmitype:StillImage rdf:about="http://bioimages.vanderbilt.edu/baskauf/12226"> <dcterms:created rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2002-06-11T09:37:33</dcterms:created>
</dcmitype:StillImage>
```
This example serializes the exact same two triples as Example 4. The `rdf:type` triple is implied by the container element name.
##### 2.3.1.2 rdf:type assertion through domain and range declarations (normative)
The [RDF Schema (RDFS) specification](http://www.w3.org/TR/rdf-schema/) defines two terms that assert `rdf:type` implicitly when certain predicates are used. When a predicate `P` having the property
```
P rdfs:domain C
```
is used to describe a subject resource, a client MAY infer that the subject resource is an instance of class `C`. For example, the term `dcterms:bibliographicCitation` is assigned the property
2018-10-01 19:33:34 +00:00
```xml
<rdfs:domain rdf:resource="http://purl.org/dc/terms/BibliographicResource"/>
```
in its definition. If that term were used as the property of a specimen, a client MAY infer that the specimen had `rdf:type` `dcterms:BibliographicResource`:
**Example 6:**
RDF/XML
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://arctos.database.museum/guid/MVZ:Mamm:165861">
     <dcterms:bibliographicCitation>Ctenomys sociabilis (MVZ 165861)</dcterms:bibliographicCitation>
</rdf:Description>
```
Turtle
```turtle
2018-08-26 22:03:50 +00:00
<http://arctos.database.museum/guid/MVZ:Mamm:165861>
     dcterms:bibliographicCitation "Ctenomys sociabilis (MVZ 165861)".
```
When a predicate `P` having the property
```
P rdfs:range C
```
is used with a value, a client MAY infer that the value is an instance of class `C`. The term `dcterms:language` is assigned the property
2018-10-01 19:33:34 +00:00
```xml
<rdfs:range rdf:resource="http://purl.org/dc/terms/LinguisticSystem"/>
```
in its definition. If the object of that term in an RDF triple is a reference to the IRI for English assigned by the [MARC ISO 639-2 Codes for the Representation of Names of Languages](http://id.loc.gov/vocabulary/iso639-2) (Example 7), then it MAY be inferred that `<http://id.loc.gov/vocabulary/iso639-2/eng>` is a `dcterms:LingisticSystem` even though the MARC description in RDF does not assert that directly in its definition.
**Example 7:**
RDF/XML
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://dx.doi.org/10.5962/bhl.title.59991">
     <dcterms:language rdf:resource="http://id.loc.gov/vocabulary/iso639-2/eng"/>
</rdf:Description>
```
Turtle
```turtle
<http://dx.doi.org/10.5962/bhl.title.59991>
dcterms:language <http://id.loc.gov/vocabulary/iso639-2/eng>.
```
No terms defined within the Darwin Core namespace have range or domain declarations. However, some terms imported into Darwin Core from Dublin Core do have domain or range declarations. [Sections 3.2](#32-imported-dublin-core-terms-for-which-only-literal-objects-are-appropriate-normative) and [3.3](#33-imported-dublin-core-terms-that-have-non-literal-objects-and-corresponding-terms-that-have-literal-objects-normative) of this guide give the declared ranges and domains when they are asserted for such terms.
##### 2.3.1.3 Explicit vs. inferred type declarations (normative)
Because the use of a predicate having a range or domain declaration implies the `rdf:type` of a resource, data providers SHOULD exercise caution in using any such term in a non-standard way. For example, if the property `foaf:familyName` were used with a specimen (e.g., to indicate the taxonomic family), that use would imply that the specimen was a `foaf:Person`. However, it cannot be assumed that all clients will perform the reasoning necessary to infer the `rdf:type` declarations implied by range and domain declarations. Therefore, if a data provider feels that it is important for a consumer to know that a resource is an instance of a particular class, the provider SHOULD type the resource using an explicit `rdf:type` triple even if that asserts the same information that could be inferred from a domain or range declaration. For example, if providers of images want to assure that an image will be found in a query for resources having `rdf:type` `foaf:Image`, they SHOULD NOT assume that describing the image using the property `foaf:depicts` will accomplish that because of the range declaration of `foaf:depicts`. It would be safer to include
2018-10-01 19:33:34 +00:00
```xml
2018-08-26 22:03:50 +00:00
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Image"/>
```
in the description of the image. In fact, the provider would probably also want to include
2018-10-01 19:33:34 +00:00
```xml
2018-08-26 22:03:50 +00:00
<rdf:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
```
in the description so that clients searching for instances of either `foaf:Image` or `dcmitype:StillImage` class resources would find the image.
##### 2.3.1.4 Other predicates used to indicate type (normative)
Both the Dublin Core and Darwin Core define terms that can be used to describe the nature of a resource: `dcterms:type` and `dwc:basisOfRecord` respectively. However, using these terms to describe the nature of the subject resource is not a substitute for use of `rdf:type`. The [DCMI notes on RDF semantics](https://www.dublincore.org/specifications/dublin-core/dc-rdf/2008-01-14/#sect-5) RECOMMEND that "applications implementing this specification primarily use and understand `rdf:type` in place of `dcterms:type` when expressing Dublin Core metadata in RDF, as most RDF processors come with built-in knowledge of `rdf:type`." A similar argument could be made for the use of `rdf:type` over `dwc:basisOfRecord`. Including `dc:type`, `dcterms:type`, and `dwc:basisOfRecord` in an RDF description should be considered OPTIONAL, while including `rdf:type` should be considered strongly RECOMMENDED. A `dwciri:` analogue ([Section 2.5](#25-terms-in-the-dwciri-namespace-normative)) of `dwc:basisOfRecord` SHOULD NOT be used. `rdf:type` SHOULD be used instead when the object is an IRI reference. Here is an example that describes a specimen using several of the terms that define the nature of a resource explicitly, including multiple `rdf:type` declarations:
**Example 8:**
RDF/XML
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://arctos.database.museum/guid/MVZ:Mamm:165861">
<rdf:type rdf:resource="http://rs.tdwg.org/dwc/terms/PreservedSpecimen"/>
<rdf:type rdf:resource="http://purl.org/dc/dcmitype/PhysicalObject"/>
<dc:type>PhysicalObject</dc:type>
<dcterms:type rdf:resource="http://purl.org/dc/dcmitype/PhysicalObject"/>
<dwc:basisOfRecord>PreservedSpecimen</dwc:basisOfRecord>
</rdf:Description>
```
Turtle
```turtle
2018-08-26 22:03:50 +00:00
<http://arctos.database.museum/guid/MVZ:Mamm:165861>
     a dwc:PreservedSpecimen,
       dcmitype:PhysicalObject;
     dc:type "PhysicalObject";
     dcterms:type dcmitype:PhysicalObject;
     dwc:basisOfRecord "PreservedSpecimen".
```
Refer to [Sections 2.4.3](#243-object-resources-that-have-been-previously-represented-by-literals-but-which-are-actually-non-literal-resources-non-normative) and [2.5](#25-terms-in-the-dwciri-namespace-normative) for explanations of the distinctions between terms in the `dc:`, `dcterms:`, `dwc:`, and `dwciri:` namespaces.
##### 2.3.1.5 Classes to be used for type declarations of resources described using Darwin Core (normative)
The [TDWG GUID Applicability Statement standard](http://www.tdwg.org/standards/150/) specifies that an object in the biodiversity domain that is identified by a GUID SHOULD be typed using a well-known vocabulary. With this prescription in mind, it SHOULD be considered a best practice to provide information about the type (i.e., class membership) of any resource that is assigned a persistent identifier in the form of an IRI. Since Darwin Core is a well-known vocabulary and a ratified TDWG standard, its classes SHOULD be used for typing in preference to classes in parts of the [TDWG ontology](https://github.com/tdwg/ontology), which are not ratified standards and are effectively deprecated. The human-readable definitions of the Darwin Core classes provide guidance for deciding the types to assign to resources, although community consensus may be necessary to classify some of the more complex kinds of resources. ([Section 1.4.4](#144-limitations-of-this-guide-non-normative))
Any Darwin Core class IRI MAY be used as a value for `rdf:type`, although it is not clear whether `dwc:ResourceRelationship` instances make sense in the context of RDF. The following list summarizes classes included in the Dublin Core type vocabulary that MAY also be used for typing biodiversity-related resources:
2018-10-01 19:33:34 +00:00
```xml
dcmitype:StillImage
```
2018-10-01 19:33:34 +00:00
```xml
dcmitype:MovingImage
```
2018-10-01 19:33:34 +00:00
```xml
dcmitype:Sound
```
2018-10-01 19:33:34 +00:00
```xml
dcmitype:PhysicalObject
```
```xml
dcmitype:Text
```
### 2.4 Object resources (non-normative)
[Section 1.3.1](#131-serialization-and-syntax-non-normative) of the Introduction to this guide shows how the object of an RDF triple can be a expressed as either a string literal or an IRI reference. It is also possible to have non-literal objects that are not identified by an IRI. These are known as blank or anonymous nodes. This section describes how to express objects in each of these three forms. [Section 1.4.3](#143-use-of-darwin-core-terms-in-rdf-normative) and [Section 1.5](#15-roles-of-text-strings-as-values-of-properties-in-dwc-namespace-non-normative) of the Introduction explain the issues involved in exposing data for which values as string literals (e.g., names, citations, and codes) are used as proxies for non-literal resources. This section also discusses strategies for expressing such data as RDF.
#### 2.4.1 Literal object resources (normative)
Some resources such as titles, dates, and numbers MAY be intrinsically expressed as strings. In cases where it is appropriate for the object of a triple to be a string, in RDF/XML the string is placed in a container element whose qualified name is the property:
2018-10-01 19:33:34 +00:00
```xml
2018-08-26 22:03:50 +00:00
<dwc:catalogNumber>s1987-00397</dwc:catalogNumber>
```
##### 2.4.1.1 Typed literals (normative)
Because literals cannot be the subjects of RDF triples, it is not possible to describe the properties of literals extensively in RDF. However, specifying a datatype IRI for a literal provides a mechanism that allows an client to interpret the nature of the resource that the string denotes. (See the [RDF 1.1 Semantics](http://www.w3.org/TR/rdf11-mt/#literals-and-datatypes) and the [RDF 1.1 XML Syntax](http://www.w3.org/TR/rdf-syntax-grammar/#section-Syntax-datatyped-literals) documents for details.)
The rdf datatype attribute indicates that the string conforms to a particular format (integer, date, etc.) that maps the string to its abstract value.
**Example 9:**
RDF/XML
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://bioimages.vanderbilt.edu/hessd/e5240#loc">
     <rdf:type rdf:resource="http://purl.org/dc/terms/Location"/>
2018-08-26 22:03:50 +00:00
     <dwc:decimalLatitude rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">35.857959</dwc:decimalLatitude>
     <dwc:decimalLongitude rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">-86.298055</dwc:decimalLongitude>
     <dwc:coordinateUncertaintyInMeters rdf:datatype="http://www.w3.org/2001/XMLSchema#int">20</dwc:coordinateUncertaintyInMeters>
</rdf:Description>
```
Turtle
```turtle
2018-08-26 22:03:50 +00:00
<http://bioimages.vanderbilt.edu/hessd/e5240#loc>
     a dcterms:Location;
     dwc:decimalLatitude "35.857959"^^xsd:decimal;
2018-08-26 22:03:50 +00:00
     dwc:decimalLongitude "-86.298055"^^xsd:decimal;
     dwc:coordinateUncertaintyInMeters "20"^^xsd:int.
```
If the string expresses information in a particular language, a provider SHOULD include an [`xml:lang` attribute](http://www.w3.org/TR/REC-xml/#sec-lang-tag) to indicate the language of the string through the [RFC 4646 language code](http://www.ietf.org/rfc/rfc4646.txt) for that language. In addition to specifying the language of the string, providing a language tag entails that the described resource has the type `rdf:langString`.
**Example 10:**
RDF/XML
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://dx.doi.org/10.1525/auk.2009.09022">
<dcterms:bibliographicCitation xml:lang="en">S. Claramunt, et al. 2009. Polyphyly of Campylorhamphus, and Description of a New Genus for C. pucherani (Dendrocolaptinae). The Awk 127(2):430-439.</dcterms:bibliographicCitation>
<dcterms:bibliographicCitation xml:lang="es">S. Claramunt, et al. 2009. Polifilia de Campylorhamphus y la Descripción de un Nuevo Género para C. pucherani (Dendrocolaptinae). The Awk 127(2):430-439.</dcterms:bibliographicCitation>
</rdf:Description>
```
Turtle
```turtle
2018-08-26 22:03:50 +00:00
<http://dx.doi.org/10.1525/auk.2009.09022>
     dcterms:bibliographicCitation "S. Claramunt, et al. 2009. Polyphyly of Campylorhamphus, and Description of a New Genus for C. pucherani (Dendrocolaptinae). The Awk 127(2):430-439."@en,
                                   "S. Claramunt, et al. 2009. Polifilia de Campylorhamphus y la Descripción de un Nuevo Género para C. pucherani (Dendrocolaptinae). The Awk 127(2):430-439."@es.
```
In the [RDF 1.1 Semantics](http://www.w3.org/TR/rdf11-mt/#literals-and-datatypes) specification, datatype D-entailment is a direct extension to basic RDF. The [entailment rules in that specification](http://www.w3.org/TR/rdf11-mt/#entailment-rules-informative) establish that literals without explicit datatype attributes or language tags have an implicit datatype `xsd:string`. That also entails that the `rdf:type` of those literals is `xsd:string`. The practical implication of this is that literals that are exposed without datatype attributes or language tags SHOULD be interpreted by clients to be a sequence of characters, and not some other abstract or non-information resource that a human might interpret the sequence of characters to represent. This has practical implications in [Section 2.4.3](#243-object-resources-that-have-been-previously-represented-by-literals-but-which-are-actually-non-literal-resources-non-normative) (where untyped literals are value strings intended to represent non-literal resources) and [Section 2.7](#27-darwin-core-convenience-terms-non-normative) (where untyped literals provide a convenient means for facilitating string-based searches). Although it is likely that many providers may initially choose to expose literals without datatype attributes, they should move towards replacing them with URIs or datatyped literals that accurately represent the type and properties of the resource that the untyped literals are intended to represent.
[Section 3.4](#34-terms-defined-by-darwin-core-that-are-expected-to-be-used-only-with-literal-values-normative) indicates which Darwin Core terms would be appropriately used with values having datatype or language attributes.
##### 2.4.1.2 Terms intended for use with literal objects (normative)
The definitions of some terms make it clear that they SHOULD be used with literal objects. Darwin Core specifically "imports" several [Dublin Core terms](http://dublincore.org/documents/dcmi-terms/) into its vocabulary for use in describing biodiversity data. In some cases, terms in the `dcterms:` namespace have range declarations of `rdfs:Literal` and are therefore understood to be intended for use with literal objects (strings). In some vocabularies, certain terms are understood to have literal objects because in their definitions they are declared to be `owl:Datatype` properties. In the case of Darwin Core terms in the `dwc:` (`http://rs.tdwg.org/dwc/terms/`) namespace, the normative term definitions in RDF do not include any declarations that indicate whether the terms are intended to be used with literal or IRI reference objects. However, because the `dwc:` terms were originally designed to accommodate text and XML data transfer, their definitions generally specify how term values ought to be expressed as string literals. This guide establishes the convention that terms in the `dwc:` namespace SHOULD be restricted to use with literal objects so that their use in RDF will be consistent with their definitions. As discussed in [Section 1.4.3](#143-use-of-darwin-core-terms-in-rdf-normative) and [Section 2.5](#25-terms-in-the-dwciri-namespace-normative), this guide introduces a separate namespace `http://rs.tdwg.org/dwc/iri/` (abbreviated as `dwciri:`) for additional Darwin Core terms that are intended to have objects that are IRI references.
#### 2.4.2 Non-literal object resources (normative)
Resources that are physical or conceptual often cannot be intrinsically represented as string literals and if identified, they are referenced in RDF by IRIs. Digital resources (e.g., images, web pages, etc.) could be represented as literals (the encoded content of the resource), but because many characters would be required to do that, they are usually referenced as independent entities through IRIs. In RDF/XML an IRI reference to a non-literal object MAY be made using the attribute `rdf:resource` in an empty XML element:
2018-10-01 19:33:34 +00:00
```xml
<dcterms:rightsHolder rdf:resource="http://biocol.org/urn:lsid:biocol.org:col:15666"/>
```
A description of the referenced non-literal object might be found within the same document, among data from another provider, or there might be no description of the object. If the RDF document will describe further properties of the non-literal, IRI-identified resource, those properties MAY be placed within an `rdf:Description` container element having an `rdf:about` attribute whose value is the IRI of the resource:
**Example 11:**
2018-10-01 19:33:34 +00:00
```xml
<dcterms:rightsHolder>
     <rdf:Description rdf:about="http://biocol.org/urn:lsid:biocol.org:col:15666"> <dcterms:identifier>FSU</dcterms:identifier>
     </rdf:Description>
<dcterms:rightsHolder>
```
If the non-literal object is not identified by an IRI (i.e., it is a blank node), its properties MAY be placed within an `rdf:Description` container element that has no `rdf:about` attribute and which is itself within a container element for the property:
**Example 12:**
2018-10-01 19:33:34 +00:00
```xml
<dcterms:rightsHolder>
     <rdf:Description>
           <dcterms:title xml:lang="en">Trustees of the University of Lavonia</dcterms:title>
     </rdf:Description>
<dcterms:rightsHolder>
```
##### 2.4.2.1 When should non-literal object resources be described within the same document? (non-normative)
There are positive and negative aspects to describing a resource within the same document that references it. If the IRI is not dereferenceable, either because the IRI is not a type that can be dereferenced by HTTP (e.g., a URN) or because the issuer of the IRI is temporarily or permanently failing to respond to HTTP calls, then providing minimal information about the resource in the referencing document may be beneficial. For example, if a property referred to a printed book that had an ISBN but no HTTP IRI, as in:
**Example 13:**
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://bioimages.vanderbilt.edu/taxon/30148-gleason1991">
     <dcterms:references rdf:resource="urn:isbn:0893273651"/>
</rdf:Description>
```
a description providing basic publication data such as:
**Example 14:**
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="urn:isbn:0893273651">
     <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Document"/>
2018-08-26 22:03:50 +00:00
     <dcterms:date rdf:datatype="http://www.w3.org/2001/XMLSchema#gYear">1991</dcterms:date>
     <dcterms:title xml:lang="en">Manual of Vascular Plants of Northeastern United States and Adjacent Canada</dcterms:title>
     <dc:creator>Gleason, Henry A. and Arthur Cronquist</dc:creator>
</rdf:Description>
```
could be included as part of the document that references the ISBN in URN form. The RDF shown in Examples 13 and 14 could be represented in Turtle as:
```turtle
2018-08-26 22:03:50 +00:00
<http://bioimages.vanderbilt.edu/taxon/30148-gleason1991>dcterms:references <urn:isbn:0893273651>.
<urn:isbn:0893273651>
     a foaf:Document;
     dcterms:date "1991"^^xsd:gYear;
     dcterms:title "Manual of Vascular Plants of Northeastern United States and Adjacent Canada"@en;
     dc:creator "Gleason, Henry A. and Arthur Cronquist".
```
However, if the IRI references an object resource whose data are being actively managed by another provider, then any data which are included in the referencing document might become outdated. In that case, it is probably better to simply link the IRI, and let the consumer of the referring document dereference the IRI to retrieve the most up-to-date data about the object resource. In this example:
**Example 15:**
RDF/XML
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://www.morphbank.net/?id=541608">
     <rdf:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
     <dcterms:rightsHolder rdf:resource="http://biocol.org/urn:lsid:biocol.org:col:15666"/>
</rdf:Description>
```
Turtle
```turtle
2018-08-26 22:03:50 +00:00
<http://www.morphbank.net/?id=541608>a dcmitype:StillImage;
     dcterms:rightsHolder <http://biocol.org/urn:lsid:biocol.org:col:15666>.
```
the rights holder object IRI is managed by an institution other than the image owner. That institution might update the data associated with the IRI at any time. So it would probably be best to simply let consumers retrieve data about the rights holder through dereferencing the IRI.
###### 2.4.2.1.1 Objects identified by LSIDs (normative)
In the previous example, the HTTP IRI used as the object of the `dcterms:rightsHolder` property was an HTTP-proxied form of an LSID. Because an LSID is a URN and therefore a type of IRI, the RDF specification does not prohibit the use of an LSID as an IRI referenced object. However, the TDWG LSID Applicability Guide standard dictates that LSIDs MUST NOT be used as the object of RDF triples (Recommendation 31 of the [GUID applicability statement](http://www.tdwg.org/standards/150/)) because a client would not necessarily be able to dereference the LSID to discover additional information about the object resource. The HTTP-proxied version of the LSID SHOULD be used instead (see [Section 2.2.3](#223-associating-a-urn-with-its-http-proxied-equivalent-normative)). See the [Darwin Core informative ancillary web page](https://github.com/tdwg/rdf/blob/master/DwCAncillary.md) for more information about using LSIDs in RDF.
##### 2.4.2.2 Objects which are blank (anonymous) nodes (non-normative)
2018-08-26 22:03:50 +00:00
Under most circumstances, it is desirable to refer to a non-literal object resource by an IRI because omitting an IRI reference makes it impossible to associate an external reference with the object resource. In the following example:
**Example 16:**
RDF/XML
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://museum.org/accession/12312">
     <dcterms:isReferencedBy> <rdf:Description>
               <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Document"/>
               <dcterms:date rdf:datatype="http://www.w3.org/2001/XMLSchema#gYear">2003</dcterms:date>
2018-08-26 22:03:50 +00:00
               <dcterms:title xml:lang="en">Collection notes</dcterms:title>
               <dc:creator>Joe Curator</dc:creator> </rdf:Description>
     </dcterms:isReferencedBy>
</rdf:Description>
```
Turtle
```turtle
2018-08-26 22:03:50 +00:00
<http://museum.org/accession/12312>
     dcterms:isReferencedBy [a foaf:Document ;
                         dcterms:date "2003"^^xsd:gYear ;
                         dcterms:title "Collection notes"@en ;
2018-08-26 22:03:50 +00:00
                         dc:creator "Joe Curator"].
```
the described subject resource refers to an object resource that is not identified with an IRI, that is, an object resource represented by a blank node. From the properties of the unidentified resource we know that the object resource is a `foaf:Document` from 2003 entitled "Collection notes" and created by Joe Curator. By using a blank node to represent the resource, the properties of that resource can be described and collectively associated with the `dcterms:references` property without requiring the data provider to mint an IRI for that resource. The data provider may feel that there is no need for another provider to refer to that resource, or the provider may be unwilling or unable to maintain a separate identifier for the resource. For example, in Example 12, the data provider may not have had access to an IRI identifier for the Trustees of the University of Lavonia and might not be interested in taking on the job of assigning one. At some future point, the provider could replace the blank node with an IRI reference if an IRI for the Trustees of the University of Lavonia were discovered.
#### 2.4.3 Object resources that have been previously represented by literals but which are actually non-literal resources (non-normative)
In databases the names of entities have frequently been used to represent the entities themselves. For example, the name of a person is often used as a proxy for the person, or an abbreviation for a language has been used to represent the language itself. Prior to the creation of the DCMI Abstract Model, many data that were described using terms in the legacy Dublin Core namespace `dc:` (`http://purl.org/dc/elements/1.1/`) followed the historical practice of using the name of an entity to represent a non-literal entity. Extending this practice to RDF would result in representations such as this:
**Example 17:**
RDF/XML
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://dbpedia.org/resource/Starry_night">
     <dc:creator>Vincent van Gogh</dc:creator>
</rdf:Description>
```
Turtle
```turtle
2018-08-26 22:03:50 +00:00
<http://dbpedia.org/resource/Starry_night>
     dc:creator "Vincent van Gogh".
```
2018-09-29 02:31:54 +00:00
However, over time, the community of RDF users has come to consider it a best practice to distinguish between a string (such as a name) and the thing that the string represents (see [Using Dublin Core Creator](https://web.archive.org/web/20140805081802/http://wiki.foaf-project.org:80/w/UsingDublinCoreCreator)). To make the distinction between strings and the resources they represent, there has been an effort to clarify whether particular terms should be used with literal objects, or with IRI reference objects.
##### 2.4.3.1 Literal values for non-literal resources in Dublin Core (normative)
The introduction of the DCMI Abstract Model (DCAM) and subsequent guidelines for the use of [Dublin Core terms in RDF](https://www.dublincore.org/specifications/dublin-core/dc-rdf/2008-01-14/#sect-4) were intended to clarify the [use of Dublin Core terms with literal and non-literal objects](https://www.dublincore.org/specifications/dublin-core/dc-rdf-notes/2008-01-14/#sect-3). In particular, ranges were declared for terms in the `dcterms:` namespace (`http://purl.org/dc/terms/`) with the intention of clarifying whether each term was intended for use with a literal or a non-literal value. For example, `dcterms:bibliographicCitation` has the range `rdfs:Literal`, while `dcterms:creator` has range `dcterms:Agent`. Because the term `dcterms:creator` has a non-literal range, it SHOULD be used with an object that is an IRI reference as illustrated in the following example:
**Example 18:**
RDF/XML
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://dbpedia.org/resource/Starry_night">
     <dcterms:creator rdf:resource="http://viaf.org/viaf/9854560"/>
</rdf:Description>
```
Turtle
```turtle
2018-08-26 22:03:50 +00:00
<http://dbpedia.org/resource/Starry_night>dcterms:creator <http://viaf.org/viaf/9854560>.
```
The [Dublin Core RDF guidelines](https://www.dublincore.org/specifications/dublin-core/dc-rdf/2008-01-14/#sect-4) provided a mechanism using the term `rdf:value` to permit legacy string literal data to be associated with Dublin Core terms in the `dcterms:` namespace that were not intended for use with literal objects. Using this mechanism, a non-literal resource could be represented by a blank node having an `rdf:value` property whose value was the legacy string literal. This value is known as a "value string". However, the mechanism that involves using `rdf:value` as a predicate has not been widely implemented. At the time when the `dcterms:` terms were defined, terms in the `dc:` namespace were left without range declarations. Thus it has been considered [acceptable in the Dublin Core community](http://web.archive.org/web/20161120174206/http://wiki.dublincore.org/index.php/User_Guide/Publishing_Metadata#Legacy_namespace) to use the `dc:` namespace terms with legacy string literals (i.e., value strings) as shown in Example 15. Many providers of non-RDF data may have used literal values for terms in the `dcterms:` namespace that have non-literal ranges. Note that all terms in the `dcterms:` namespace that have corresponding terms in the `dc:` namespace (i.e., terms with identical local names sensu [Best Practices Recipes](http://www.w3.org/TR/swbp-vocab-pub/#naming)) are [declared to be `rdfs:subPropertyOf` those `dc:` namespace terms](http://web.archive.org/web/20190303000113/http://dublincore.org/usage/decisions/2008/dcterms-changes/#sect-2). So if a data provider's non-RDF database contains string values for terms in the `dcterms:` namespace having non-literal ranges, they SHOULD expose those literals in RDF as values of corresponding `dc:` terms.
##### 2.4.3.2 Literal values for non-literal resources in Darwin Core (normative)
Because there are many legacy data composed of string values of `dwc:` namespace (`http://rs.tdwg.org/dwc/terms/`) terms whose objects actually represent non-literal entities (i.e., value strings sensu DCAM), it is likely that many providers will at least initially expose such data in RDF as string literals served directly from their existing databases, e.g., [R2RML](http://www.w3.org/TR/r2rml/). To make it possible for the legacy data to be exposed as RDF while also ensuring that the meaning of those data is preserved, in RDF the literal value of an existing Darwin Core term in the `dwc:` namespace SHOULD have the same structure as that described in the term's description, as in Example 19.
**Example 19:**
RDF/XML
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://arctos.database.museum/guid/MVZ:Mamm:115956">
     <dwc:recordedBy>Oliver P. Pearson | Anita K. Pearson</dwc:recordedBy>
</rdf:Description>
```
Turtle
```turtle
2018-08-26 22:03:50 +00:00
<http://arctos.database.museum/guid/MVZ:Mamm:115956>
     dwc:recordedBy "Oliver P. Pearson | Anita K. Pearson".
```
The terms in the `dwc:` namespace SHOULD NOT be used for IRI reference objects, even if the term definition suggests that the object resource is of a non-literal type. Instead, IRI reference objects SHOULD be used with terms in the `dwciri:` namespace as defined by this guide in [Section 2.5](#25-terms-in-the-dwciri-namespace-normative). When a string value is provided as the object of a `dwc:` namespace term whose definition suggests that the object is of a non-literal type, that string is understood to be serving as a value string.
### 2.5 Terms in the dwciri: namespace (normative)
Terms in the namespace `dwciri:` (`http://rs.tdwg.org/dwc/iri/`) are intended for use with IRI reference objects and MUST NOT be used with literal objects. They MAY be used with blank node objects, although in most cases this will probably be unnecessary.
#### 2.5.1 Definition of dwciri: terms (normative)
If a term in the `dwciri:` namespace has a corresponding term with the same [local name](http://www.w3.org/TR/swbp-vocab-pub/#naming) in the `dwc:` namespace, the `dwciri:` namespace term is defined to have the same meaning as its `dwc:` namespace term analogue. In defining a `dwciri:` term that has a `dwc:` analogue, the definition of the `dwc:` term is understood to be modified in the following ways:
- when a `dwciri:` term is used as an RDF predicate, its non-literal object SHALL be identified by an IRI reference rather than a string literal
- the object of the `dwciri:` term predicate SHOULD be a single resource. If the `dwc:` term definition specifies that multiple values should be a concatenated list, the resource described by a `dwciri:` property SHOULD be the subject of a triple for each value on the list. Alternatively, a single triple MAY be used to describe the subject if the object is a single resource composed of component resources described using additional RDF triples.
Several terms in the `dwciri:` namespace do not have `dwc:` namespace analogues (`dwciri:inCollection`, `dwciri:toTaxon`, `dwciri:inDescribedPlace`, `dwciri:earliestGeochronologicalEra`, `dwciri:latestGeochronologicalEra`, `dwciri:fromLithostratigraphicUnit`, and `dwciri:inDataset`). Their definitions are given in [Section 3.6](#36-dwciri-terms-having-local-names-that-dont-correspond-to-terms-in-the-dwc-darwin-core-namespace-normative).
#### 2.5.2 Using terms in the Darwin Core dwciri: namespace with non-literal objects identified by IRI references (non-normative)
The following example shows how the data from Example 19 could be expressed if IRIs were available to identify the persons whose names composed the literal:
**Example 20:**
RDF/XML
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://arctos.database.museum/guid/MVZ:Mamm:115956">
     <dwciri:recordedBy rdf:resource="http://viaf.org/viaf/263074474"/>
     <dwciri:recordedBy rdf:resource="http://museum-x.org/personnel/akp"/>
</rdf:Description>
```
Turtle
```turtle
2018-08-26 22:03:50 +00:00
<http://arctos.database.museum/guid/MVZ:Mamm:115956>dwciri:recordedBy <http://viaf.org/viaf/263074474>,
                       <http://museum-x.org/personnel/akp>.
```
where `<http://viaf.org/viaf/263074474>` is a persistent IRI identifier for the person whose name is "Oliver P. Pearson" and `<http://museum-x.org/personnel/akp>` is a persistent IRI identifier for the person whose name is "Anita K. Pearson".
#### 2.5.3 Expectation of clients encountering RDF containing dwc: and dwciri: terms (normative)
A client that encounters a triple having a term from the `dwciri:` namespace as its predicate SHOULD expect the object of the triple to be an IRI reference and subsequently MAY be able to dereference that IRI to obtain additional information about the entity that it represents. A client encountering a triple having a term from the `dwc:` namespace SHOULD be prepared to accept a literal object, although it is possible that some data providers unaware of this guide might have used `dwc:` terms with IRI references as `rdf:resource` attributes. Application developers should be flexible in their expectations for the values of properties from the `dwc:` namespace.
### 2.6 Darwin Core ID terms and RDF (normative)
Darwin Core contains a number of "ID" terms intended to designate identifiers, e.g., `dwc:occurrenceID`, `dwc:identificationID`, `dwc:locationID`, etc. The "ID" terms provide two functions, specifying the class of the resource and indicating that value of the term is an identifier. These functions are illustrated by the non-RDF XML below, which is part of a hypothetical example provided in the [Darwin Core XML Guide ](http://rs.tdwg.org/dwc/terms/guides/xml/):
**Example 21:**
2018-08-26 22:03:50 +00:00
(non-RDF)
```
<dwc:Identification>
     <dwc:identificationID>http://guid.mvz.org/identifications/23459</dwc:identificationID>
     <dwc:identifiedBy>Richard Sage</dwc:identifiedBy>
     <dwc:dateIdentified>2000</dwc:dateIdentified>
2018-08-26 22:03:50 +00:00
     <dwc:taxonID>urn:lsid:catalogueoflife.org:taxon:d79c11aa-29c1-102b-9a4a-00304854f820:col20120721</dwc:taxonID>
</dwc:Identification>
```
This example could also be represented by the following database table in which each record (row) represents an `dwc:Identification` instance and in which each column represents a property of the `dwc:Identification` instance as indicated by the column heading:
**Table 3** (non-normative)
dwc:identificationID | dwc:identifiedBy | dwc:dateIdentified | dwc:taxonID
--- | --- | --- | ---
"http://guid.mvz.org/identifications/23459" | "Richard Sage" | "2000" | "urn:lsid:catalogueoflife.org:taxon:d79c11aa-29c1-102b-9a4a-00304854f820:col20120721"
In Example 21 and Table 3, the "ID" terms are used to specify both the identifier of a resource that is the subject of the record itself (using the term `dwc:identificationID`) and to specify an object resource related to the subject resource by a foreign key (using the term `dwc:taxonID`). Because the ID terms are not designated to be used with subjects or objects specifically, the resource they identify must be made clear by the context in which they are used. In the case of the database table, a pre-existing understanding between the data provider and consumer would indicate that the rows of the table represent `dwc:Identification` instances and therefore the `dwc:identificationID` property would provide the identifier of the subject and any other ID terms would refer to object resources that are related to that particular identification instance. In the XML example, the type of the subject resource is made clear through the record's container element and hence a consumer would know that the `dwc:identificationID` property referred to the subject resource. In RDF, the two functions (specifying type and referencing an identifier) are handled separately using `rdf:type` declarations ([Section 2.3.1](#231-declaring-the-type-of-the-resource-non-normative)) and defined mechanisms for expressing the identifier of the subject resource ([Section 2.2](#22-subject-resources-normative)). Because these mechanisms are well-known best practices outside TDWG, they SHOULD be used rather than using the Darwin Core ID terms, which MUST NOT be used when data are expressed as RDF. The following example shows an appropriate way to express the information in Example 21 as RDF:
**Example 22:**
RDF/XML
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://guid.mvz.org/identifications/23459">
     <rdf:type rdf:resource="http://rs.tdwg.org/dwc/terms/Identification"/>
     <dcterms:identifier>http://guid.mvz.org/identifications/23459</dcterms:identifier>
     <dwc:identifiedBy>Richard Sage</dwc:identifiedBy>
2018-08-26 22:03:50 +00:00
     <dwc:dateIdentified rdf:datatype="http://www.w3.org/2001/XMLSchema#gYear">2000</dwc:dateIdentified>
     <dwciri:toTaxon rdf:resource="http://lsid.tdwg.org/urn:lsid:catalogueoflife.org:taxon:d79c11aa-29c1-102b-9a4a-00304854f820:col20120721"/>
</rdf:Description>
```
Turtle:
```turtle
2018-08-26 22:03:50 +00:00
<http://guid.mvz.org/identifications/23459>a dwc:Identification;
     dcterms:identifier "http://guid.mvz.org/identifications/23459";
     dwc:identifiedBy "Richard Sage";
     dwc:dateIdentified "2000"^^xsd:gYear;
2018-08-26 22:03:50 +00:00
     dwciri:toTaxon <http://lsid.tdwg.org/urn:lsid:catalogueoflife.org:taxon:d79c11aa-29c1-102b-9a4a-00304854f820:col20120721>.
```
The following points about the Example 22 should be noted:
1. In RDF/XML use the `rdf:about` attribute of an `rdf:Description` element to specify an IRI identifier used with the subject ID term, i.e., the value of `dwc:identificationID` is an HTTP IRI and SHOULD therefore be used with the `rdf:about` attribute. The `dcterms:identifier` property MAY also be used to express the primary identifier for the subject resource as a literal. In Example 22, the HTTP IRI is considered the primary identifier for the Identification instance so it is included as a string value of `dcterms:identifier` as well as the IRI of the subject resource. Refer to [Section 2.2.1](#221-identifying-subject-resources-using-iris-normative) and [2.2.2](#222-associating-a-string-identifier-with-a-subject-resource-normative) for more details.
2. Data providers who want to relate a subject resource to related non-literal resources SHOULD use [object properties](http://www.w3.org/TR/owl-primer/#Object_Properties) (i.e., properties that relate IRI-identified instances to other IRI-identified instances) from a well-known vocabulary or ontology. Darwin Core does not generally define object properties that connect its core classes and in those cases users will have to find object properties outside of Darwin Core (see the [Darwin Core informative ancillary web page](https://github.com/tdwg/rdf/blob/master/DwCAncillary.md)] for examples). In this example, the term `dwciri:toTaxon` (see [Section 2.7.4](#274-description-of-a-taxonomic-entity-normative)) is used to relate the `dwc:Identification` instance to a taxon instance. (Please note that this is for illustration purposes only and this guide takes no position on the nature of taxa or taxon concepts or whether the resource used in this example is actually a taxon or not.)
3. If an identified object of a triple is a non-literal resource ([Section 2.4.2](#242-non-literal-object-resources-normative)), RDF REQUIRES that it be referenced by an IRI. Although the UUID "d79c11aa-29c1-102b-9a4a-00304854f820:col20120721" is a globally unique and hopefully persistent identifier for the taxon, it is not an IRI. Catalog of Life has created an IRI from the UUID in the form of an LSID:
2018-10-01 19:33:34 +00:00
```xml
2018-08-26 22:03:50 +00:00
<urn:lsid:catalogueoflife.org:taxon:d79c11aa-29c1-102b-9a4a-00304854f820:col20120721>
```
so expressing the object reference as
2018-10-01 19:33:34 +00:00
```xml
2018-08-26 22:03:50 +00:00
<dwciri:toTaxon rdf:resource="urn:lsid:catalogueoflife.org:taxon:d79c11aa-29c1-102b-9a4a-00304854f820:col20120721"/>
```
would be valid RDF. However, best practices ([Section 2.4.2.1.1](#24211-objects-identified-by-lsids-normative)) specify that when LSIDs are the objects of triples, they SHOULD be in HTTP-proxied form. In Example 22, the LSID is proxied using the TDWG LSID resolver.
4. The class of the subject identification instance (`dwc:Identification`) is asserted explicitly using `rdf:type`. The type of the object taxon instance is not stated directly - a client would need to dereference the IRI to discover it.
#### 2.6.1 Unintended consequences of using Darwin Core ID terms in RDF (non-normative)
*Note added in 2021-07-15 version:*
*When the Darwin Core vocabulary was brought into conformance with the [Standards Documentation Specification](http://rs.tdwg.org/sds/doc/specification/), in order to comply with [Section 4.4.2.2](http://rs.tdwg.org/sds/doc/specification/#44-vocabularies-term-lists-and-terms), all subproperty declarations were removed from the term metadata. Therefore, the effects described in this section are no longer entailed by RDF metadata describing any Darwin Core terms. This explanation has been retained to explain part of the rationale for why ID terms were not recommended for use with RDF in the original specification.*
The previous section showed that using a Darwin Core ID term to indicate the identifier associated with the subject resource is not necessary because there are well-known means in RDF (the `rdf:about` attribute and the `dcterms:identifier` property) for exposing the subjects identifier. However, as shown below, using a Darwin Core ID term to identify an object resource (as shown in the non-RDF XML Example 21) would actually be problematic. In its normative definition, each Darwin Core ID term is declared to be `rdfs:subPropertyOf` `dcterms:identifier`. In RDF, the purpose of a subproperty declaration is to allow a client with reasoning capability to infer a triple containing a broader (and presumably more well-known) property. In the terminology of Dublin Core, the "ID" term is a [qualifier](https://www.dublincore.org/specifications/dublin-core/usageguide/qualifiers/) which "refines" a basic Dublin Core term and the process of inferring a broader meaning from a more specific term is called a "dumb-down" operation. If a provider attempting to expose the data of Table 3 as RDF used the `dwc:taxonID` term as a property of the identification as shown in the (incorrect) Example 23:
**Example 23:**
RDF/XML (incorrect usage)
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://guid.mvz.org/identifications/23459">
<rdf:type rdf:resource="http://rs.tdwg.org/dwc/terms/Identification"/>
<dwc:identifiedBy>Richard Sage</dwc:identifiedBy>
<dwc:dateIdentified rdf:datatype="http://www.w3.org/2001/XMLSchema#gYear">2000</dwc:dateIdentified>
<dwc:taxonID>http://lsid.tdwg.org/urn:lsid:catalogueoflife.org:taxon:d79c11aa-29c1-102b-9a4a-00304854f820:col20120721</dwc:taxonID>
</rdf:Description>
```
Turtle (incorrect usage)
```turtle
2018-08-26 22:03:50 +00:00
<http://guid.mvz.org/identifications/23459>
     a dwc:Identification;
     dwc:identifiedBy "Richard Sage";
     dwc:dateIdentified "2000"^^xsd:gYear;
2018-08-26 22:03:50 +00:00
     dwc:taxonID "http://lsid.tdwg.org/urn:lsid:catalogueoflife.org:taxon:d79c11aa-29c1-102b-9a4a-00304854f820:col20120721".
```
there would be an undesired effect if a client unfamiliar with Darwin Core performed a "dumb-down" operation (i.e., fell back to the broader meaning of the `dwc:taxonID` term as `dcterms:identifier`). The client would infer the triple:
**Table 4**
Subject | Predicate | Object
--- | --- | ---
<http://guid.mvz.org/identifications/23459> | dcterms:identifier | "http://lsid.tdwg.org/urn:lsid:catalogueoflife.org:taxon:d79c11aa-29c1-102b-9a4a-00304854f820:col20120721"
where the value of the `dwc:taxonID` term was the identifier of the subject resource rather than of the object resource as intended by the data provider. This is why data providers will generally need to look outside Darwin Core for object properties that can be used to relate instances of one class to instances of another instead of using the Darwin Core ID terms.
### 2.7 Darwin Core convenience terms (non-normative)
2018-08-26 22:03:50 +00:00
In several situations, providers of Darwin Core text-based data use a set of hierarchical property/value pairs to unambiguously specify a resource. For example, a database record for a resource collected at N 36.4024°, W 87.02219° might contain the following data:
**Table 5**
dwc:decimalLatitude | dwc:decimalLongitude | dwc:geodeticDatum | dwc:continent | dwc:country | dwc:stateProvince | dwc:county
--- | --- | --- | --- | --- | --- | ---
"36.4024" | "-87.02219" | "EPSG:4326" | "North America" | "United States" | "Tennessee" | "Robertson"
The data unambiguously specifies the lowest level political subdivision (Robertson County) by including the higher level political subdivisions in the hierarchy and thus differentiates it from other places that are second-order administrative divisions identified by the string "Robertson" (e.g., Robertson County, Texas, US or Robertson County, Kentucky, US). Darwin Core terms that are used to form a hierarchy of literal values are called convenience terms.
#### 2.7.1 What purpose do convenience terms serve? (non-normative)
When expressing the data about resources collected in Robertson County in RDF, it really isnt necessary to indicate in every record that North America is a parent feature of the United States, that the United States is a parent feature of Tennessee, and that Tennessee is a parent feature of Robertson County. It is only necessary to link the record to an IRI for Robertson County such as `<http://sws.geonames.org/4653638/>` and a semantic client can discover the parent features by traversing the `gn:parentFeature` property of features included in the hierarchy. Once a client has discovered the higher level parts of the hierarchy in which it is interested, no additional retrieval of data about the hierarchy is required.
2018-08-26 22:03:50 +00:00
In general, it should not be necessary for a data provider to recreate hierarchical RDF relationships that have already been expressed by a centralized service. For that reason, this guide does not describe best-practices for expressing such relationships in RDF. Nevertheless, there are several reasons why it may be convenient for a data provider to expose literal values from existing text-based data:
- the provider may be unable or unwilling to discover and link to an IRI for the lowest level of the hierarchy, yet wish to facilitate future discovery of such IRIs through string matching by applications or aggregators.
2018-09-29 02:31:54 +00:00
- the provider may want to facilitate simple string-based queries (e.g., [SPARQL](http://www.w3.org/TR/sparql11-query/)) at any level of the hierarchy.
- the provider may wish to make it easier for consuming applications to create human-friendly representations of the data in which presenting the string hierarchy would be meaningful.
#### 2.7.2 Literal convenience terms versus a single object property reference (normative)
There are several groups of convenience terms in the `dwc:` namespace which MAY be used to provide literal values for the purposes listed above ([Section 3.6](#36-dwciri-terms-having-local-names-that-dont-correspond-to-terms-in-the-dwc-darwin-core-namespace-normative)). In the case of each of these groups, it is not expected that a provider will link to IRI references for each level in the hierarchy. Therefore, `dwciri:` analogues are not defined for those convenience terms from the `dwc:` namespace. Rather, for each category of convenience terms, there is a single `dwciri:` namespace term (having no analogue in the `dwc:` namespace; [Section 3.7](#37-dwc-namespace-terms-that-have-analogues-in-the-dwciri-namespace-normative)) that MAY be used to link to the lowest available level in the hierarchy with the understanding that the RDF of the object resource will provide links to other IRIs for higher levels of the hierarchy. Such `dwciri:` terms MAY refer to any level in the hierarchy if there is uncertainty about the identity of lower levels, or if lower levels do not exist.
**Table 6**
2018-08-26 04:11:26 +00:00
Category of convenience term | Object property | Category of object resource | rdf:type of example resource
--- | --- | --- | ---
ownership of collection item (Section 2.7.3) | dwciri:inCollection | collection | not specified
description of a taxonomic entity (Section 2.7.4) | dwciri:toTaxon | taxon concept; taxon name usage | dwc:Taxon
2018-08-26 04:11:26 +00:00
names of geographic subdivisions (Section 2.7.5) | dwciri:inDescribedPlace | geographic place | gn:Feature
chronostratographic (geological timescale) description (Section 2.7.6) | dwciri:earliestGeochronologicalEra dwciri:latestGeochronologicalEra | geochronological time period | gsml:GeochronologicEra
lithostratigraphy descriptors (Section 2.7.7) | dwciri:fromLithostratigraphicUnit | lithostratigraphic unit | not specified
#### 2.7.3 Ownership of a collection item (normative)
Historically, the set of values for `dwc:institutionCode`, `dwc:collectionCode`, and `dwc:catalogNumber` (a "Darwin Core triplet") has been used to identify a collection item and to indicate the owning institution and collection within that institution as shown in Table 7.
**Table 7** (non-normative)
2018-08-26 04:11:26 +00:00
dwc:basisOfRecord | dwc:institutionCode | dwc:collectionCode | dwc:catalogNumber | dwc:collectionID
--- | --- | --- | --- | ---
"PreservedSpecimen" | "MVZ" | "Mamm" | "115956" | "http://grbio.org/cool/0rht-pj95"
In RDF, unique identification of collection items is done through the IRI, which acts as a globally unique identifier for that item. The Darwin Core triplet properties may still be provided as literal values, but ownership/control of the collection item SHOULD be indicated using `dwciri:inCollection` with an HTTP IRI as the IRI-reference object. For physical specimens, the recommended best practice is to use a collection IRI from a collections registry such as an HTTP IRI from the [GBIF Registry of Scientific Collections](https://www.gbif.org/grscicoll). Example 24 illustrates this for the data from Table 7.
**Example 24:**
RDF/XML
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://arctos.database.museum/guid/MVZ:Mamm:115956">
     <rdf:type rdf:resource="http://rs.tdwg.org/dwc/terms/PreservedSpecimen"/>
     <dwc:institutionCode>MVZ</dwc:institutionCode>
     <dwc:collectionCode>Mamm</dwc:collectionCode>
     <dwc:catalogNumber>115956</dwc:catalogNumber>
     <dwciri:inCollection rdf:resource="http://grbio.org/cool/0rht-pj95"/>
</rdf:Description>
2018-08-26 04:11:26 +00:00
```
Turtle
2018-08-26 04:11:26 +00:00
```turtle
2018-08-26 22:03:50 +00:00
<http://arctos.database.museum/guid/MVZ:Mamm:115956>a dwc:PreservedSpecimen;
     dwc:collectionCode "Mamm";
     dwc:institutionCode "MVZ";
     dwc:catalogNumber "115956";
     dwciri:inCollection <http://grbio.org/cool/0rht-pj95>.
2018-08-26 04:11:26 +00:00
```
#### 2.7.4 Description of a taxonomic entity (normative)
The consensus embodied in the [TDWG Taxon Concept Transfer Schema (TCS) standard](http://www.tdwg.org/standards/117/) is that identification instances refer to taxon concept instances. Therefore it would be a best practice to describe taxonomic entities in RDF as taxon concepts sensu TCS. However, because the TCS standard is an XML schema, it is not directly translatable to RDF. It is considered to be out of the scope of this document to specify how taxon concepts should be rendered as RDF. Nevertheless, Darwin Core does define many convenience terms listed under the `dwc:Taxon` class that can be used as properties of `dwc:Identification` instances ([Section 3.5](#35-darwin-core-convenience-terms-that-are-expected-to-be-used-only-with-literal-values-normative)).
It might be argued that these convenience terms would more appropriately be properties of a `dwc:Taxon` instance. However, the object properties necessary to relate `dwc:Taxon` instances to name entities, references, parent taxa, and child taxa do not exist and the exact relationship between taxonomic entities such as taxon concepts, protonyms, taxon name usages, etc. has not been established using RDF. So the creation of functional `dwc:Taxon` instances described using RDF is not possible at the present time. Therefore this document establishes the convention that convenience terms for taxonomic entities SHOULD be properties of `dwc:Identification`. The task of describing taxonomic entities using RDF will have to be an effort outside of Darwin Core. This guide does establish the object property `dwciri:toTaxon` for use in relating a Darwin Core identification instance to a taxonomic entity as defined elsewhere.
Consider the following hypothetical example where Takuma Yun identified a spider to the species _Hersilia yaeyamaensis_ using information in Tanikawa (1999). The data about this identification was listed in a database as shown in Table 8.
**Table 8** (non-normative)
2018-08-26 04:11:26 +00:00
dwc:identificationID | dwc:identifiedBy | dwc:order | dwc:family | dwc:genus | dwc:specificEpithet | dwc:nameAccordingToID
--- | --- | --- | --- | --- | --- | ---
"75C9EA16-72B1-44C9-AD40-3C3A41323A09" | "Takuma Yun" | "Araneae" | "Hersiliidae" | "Hersilia" | "yaeyamaensis" | "75C9EA16-72B1-44C9-AD40-3C3D41323AB9"
In this example, a best practice would be to link the identification instance to a taxon instance of _Hersilia yaeyamaensis_ sec. Tanikawa 1999 using the object property `dwciri:toTaxon` as shown in Example 22. However, the data provider may be uninterested, or unable to mint or discover a taxon instance to which the identification instance can be linked. The provider may simply wish to make it easier to discover the identification instance and be unconcerned about the taxonomic relationships that might be asserted for concepts that may be defined for the listed name components. In that case the provider can use the following RDF:
**Example 25:**
RDF/XML
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://museum.or.jp/9AC9BD26-8B41-458A-AA35-503A4527D009">
     <rdf:type rdf:resource="http://rs.tdwg.org/dwc/terms/Identification"/>
     <dwc:identifiedBy>Takuma Yun</dwc:identifiedBy>
     <dwc:order>Araneae</dwc:order>
     <dwc:family>Hersiliidae</dwc:family>
     <dwc:genus>Hersilia</dwc:genus>
     <dwc:specificEpithet>yaeyamaensis</dwc:specificEpithet>
     <dwc:nameAccordingTo>Tanikawa 1999</dwc:nameAccordingTo>
</rdf:Description>
2018-08-26 04:11:26 +00:00
```
Turtle:
2018-08-26 04:11:26 +00:00
```turtle
2018-08-26 22:03:50 +00:00
<http://museum.or.jp/9AC9BD26-8B41-458A-AA35-503A4527D009>
     a dwc:Identification;
     dwc:identifiedBy "Takuma Yun";
     dwc:order "Araneae";
     dwc:family "Hersiliidae";
     dwc:genus "Hersilia";
     dwc:specificEpithet "yaeyamaensis";
     dwc:nameAccordingTo "Tanikawa 1999".
2018-08-26 04:11:26 +00:00
```
In the example, providing the triple
2018-10-01 19:33:34 +00:00
```xml
<http://museum.or.jp/9AC9BD26-8B41-458A-AA35-503A4527D009> dwc:order  "Araneae"
2018-08-26 04:11:26 +00:00
```
should not be taken to imply that Takuma Yun asserted that the spider he identified was classified within the order Araneae, nor should the RDF be assumed to imply that Takuma Yun asserted that Aranaeae is the name of a parent taxon of the genus _Hersilia_. Those sorts of assertions would need to be made using more complex RDF and a more expressive vocabulary outside of Darwin Core. The RDF simply makes it easier to search for spider identifications having `dwc:order` of "Araneae", `dcw:genus` of "Hersilia", and a specific epithet of "yaeyamaensis". If it can be determined (perhaps at a later time) that the taxon described by the convenience terms corresponds to a particular IRI-identified instance, the identification instance can be linked to it using an object property, e.g.,
2018-10-01 19:33:34 +00:00
```xml
2018-08-26 22:03:50 +00:00
<http://muse.or.jp/9AC9BD26-8B41-458A-AA35-503A4527D009> dwciri:toTaxon <http://zoobank.org/75C9EA16-72B1-44C9-AD40-3C3D41323AB9>
2018-08-26 04:11:26 +00:00
```
#### 2.7.5 Names of geographic subdivisions (normative)
The data from Table 5 can be expressed as shown in Example 26. The term `dwciri:inDescribedPlace` SHOULD be used as an object property to link the `dcterms:Location` instance to an IRI for the lowest known geographic subdivision which applies to the locality. `dwc:locality` MAY also be used to provide a string literal description of the specific description of the place.
**Example 26:**
RDF/XML
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://bioimages.vanderbilt.edu/baskauf/00001#loc">
     <rdf:type rdf:resource="http://purl.org/dc/terms/Location"/>
2018-08-26 22:03:50 +00:00
     <dwc:decimalLatitude rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">36.4024</dwc:decimalLatitude>
     <dwc:decimalLongitude rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">-87.02219</dwc:decimalLongitude>
     <dwc:geodeticDatum>EPSG:4326</dwc:geodeticDatum>
     <dwc:continent>North America</dwc:continent>
     <dwc:country>United States</dwc:country>
     <dwc:stateProvince>Tennessee</dwc:stateProvince>
     <dwc:county>Robertson</dwc:county>
     <dwciri:inDescribedPlace rdf:resource="http://sws.geonames.org/4653638/"/>
</rdf:Description>
2018-08-26 04:11:26 +00:00
```
Turtle
2018-08-26 04:11:26 +00:00
```turtle
2018-08-26 22:03:50 +00:00
<http://bioimages.vanderbilt.edu/baskauf/00001#loc>a dcterms:Location;
     dwc:decimalLatitude "36.4024"^^xsd:decimal;
2018-08-26 22:03:50 +00:00
     dwc:decimalLongitude "-87.02219"^^xsd:decimal;
     dwc:geodeticDatum "EPSG:4326";
     dwc:continent "North America";
     dwc:country "United States";
     dwc:stateProvince "Tennessee";
     dwc:county "Robertson";
     dwciri:inDescribedPlace <http://sws.geonames.org/4653638/>.
2018-08-26 04:11:26 +00:00
```
Because generic RDF places no restrictions on repeating properties, a `dcterms:Location` instance could have multiple `dwciri:inDescribedPlace` properties if the location is included within several described geographic subdivisions. For example, a particular location could be included within `<http://sws.geonames.org/4626068/>` (The Great Smoky Mountains National Park, which straddles two states) and `<http://sws.geonames.org/4656568/>` (Sevier County, Tennessee, US, which is the lowest level political subdivision).
#### 2.7.6 Chronostratographic (geological timescale) descriptors (normative)
The following example is taken from <http://dx.doi.org/10.1098/rsbl.2011.0228>, which involves the geological context of a fossil serving as a holotype for a species description. In this example (Table 9), there is a single value given for the Epoch (Middle Jurassic), so the values for each of the `earliest.../latest...` stratigraphic timescale term pairs SHOULD be the same.
**Table 9** (non-normative)
2018-08-26 04:11:26 +00:00
dwc:formation | dwc:earliestEonOrLowestEonothem dwc:latestEonOrHighestEonothem | dwc:earliestEraOrLowestErathem dwc:latestEraOrHighestErathem | dwc:earliestPeriodOrLowestSystem dwc:latestPeriodOrHighestSystem | dwc:earliestEpochOrLowestSeries dwc:latestEpochOrHighestSeries
--- | --- | --- | --- | ---
"Jiu-longshan" | "Phanerozoic" | "Mesozoic" | "Jurassic" | "Middle"
Example 27 shows how this can be rendered as RDF using the Darwin Core stratigraphic timescale terms as convenience terms.
**Example 27:**
RDF/XML
2018-10-01 19:33:34 +00:00
```xml
2018-08-26 22:03:50 +00:00
<rdf:Description rdf:about="http://paleo.cnu.edu.cn/ara/nn2010008#context"> <rdf:type rdf:resource="http://rs.tdwg.org/dwc/terms/GeologicalContext"/> <dwc:formation>Jiu-longshan</dwc:formation> <dwc:earliestEonOrLowestEonothem>Phanerozoic</dwc:earliestEonOrLowestEonothem> <dwc:latestEonOrHighestEonothem>Phanerozoic</dwc:latestEonOrHighestEonothem> <dwc:earliestEraOrLowestErathem>Mesozoic</dwc:earliestEraOrLowestErathem> <dwc:latestEraOrHighestErathem>Mesozoic</dwc:latestEraOrHighestErathem> <dwc:earliestPeriodOrLowestSystem>Jurassic</dwc:earliestPeriodOrLowestSystem> <dwc:latestPeriodOrHighestSystem>Jurassic</dwc:latestPeriodOrHighestSystem> <dwc:earliestEpochOrLowestSeries>Middle</dwc:earliestEpochOrLowestSeries> <dwc:latestEpochOrHighestSeries>Middle</dwc:latestEpochOrHighestSeries> <dwciri:earliestGeochronologicalEra rdf:resource="http://resource.geosciml.org/classifier/ics/ischart/MiddleJurassic"/> <dwciri:latestGeochronologicalEra rdf:resource="http://resource.geosciml.org/classifier/ics/ischart/MiddleJurassic"/>
</rdf:Description>
2018-08-26 04:11:26 +00:00
```
Turtle
2018-08-26 04:11:26 +00:00
```turtle
2018-08-26 22:03:50 +00:00
<http://paleo.cnu.edu.cn/ara/nn2010008#context>a dwc:GeologicalContext;
     dwc:formation "Jiu-longshan";
     dwc:earliestEonOrLowestEonothem "Phanerozoic";
     dwc:latestEonOrHighestEonothem "Phanerozoic";
     dwc:earliestEraOrLowestErathem "Mesozoic";
     dwc:latestEraOrHighestErathem "Mesozoic";
     dwc:earliestPeriodOrLowestSystem "Jurassic";
     dwc:latestPeriodOrHighestSystem "Jurassic";
     dwc:earliestEpochOrLowestSeries "Middle";
     dwc:latestEpochOrHighestSeries "Middle";
2018-08-26 22:03:50 +00:00
     dwciri:earliestGeochronologicalEra <http://resource.geosciml.org/classifier/ics/ischart/MiddleJurassic>;
     dwciri:latestGeochronologicalEra <http://resource.geosciml.org/classifier/ics/ischart/MiddleJurassic>.
2018-08-26 04:11:26 +00:00
```
In this example, the object properties `dwciri:earliestGeochronologicalEra` and `dwciri:latestGeochronologicalEra` link to an IRI that identifies an instance of the `gsml:GeochronologicEra` class which uses SKOS to relate the Middle Jurassic epoch to higher levels in the geochronological hierarchy.
#### 2.7.7 Lithostratigraphy descriptors (normative)
Since lithostratigraphic units are hierarchical, the pattern followed with the other hierarchical convenience terms applies to the Darwin Core lithostratigraphic terms categorized under the `dwc:GeologicalContext` class (`dwc:group`, `dwc:formation`, `dwc:member`, and `dwc:bed`). The object property `dwciri:fromLithostratigraphicUnit` SHOULD be used to link the IRI for a lithostratigraphic unit at the lowest appropriate level.
### 2.8 Darwin Core association terms (non-normative)
Darwin Core contains a number of terms whose local name begins with "associated" (`dwc:associatedMedia`, `dwc:associatedOccurrences`, etc.), which are referred to as "association terms" in this guide. Because these terms were designed to link the subject resource to one or more related resources within a flat, text-based data system, they need special handling to represent their values as IRI-reference objects.
#### 2.8.1 What is the purpose of association terms? (non-normative)
The information encoded by a Darwin Core association term property/value pair can be broken down into three components:
- a link to a related resource
- a designation of the type of the related resource
- (for some terms) a description of the nature of the relationship including its direction
The related resource is designated by some sort of identifier present in the literal value. The type of the related resource is implied by the second part of the local name (e.g., "Media", "Occurrences", etc.). The definitions of some of the terms (`dwc:associatedTaxa`, `dwc:associatedOccurrences`, and `dwc:associatedOrganisms`) also specify that the nature of the association with the subject resource should also be included in the literal value ("sibling of", "predator of ", etc.).
#### 2.8.2 Expressing Darwin Core association terms as RDF with literal values (normative)
A database might contain the information shown in Table 10.
**Table 10** (non-normative)
2018-08-26 04:11:26 +00:00
dwc:organismID | dwc:associatedOrganisms | dwc:associatedMedia
--- | --- | ---
"http://bioimages.vanderbilt.edu/ind-durandp/dd343" | "sibling of AX3467" | "http://bioimages.vanderbilt.edu/durandp/dd343 &#124; http://bioimages.vanderbilt.edu/durandp/dd344"
These data MAY be serialized as RDF using the `dwc:` namespace literal value terms `dwc:associatedOrganisms` and `dwc:associatedMedia` as shown in Example 28.
**Example 28:**
RDF/XML
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://bioimages.vanderbilt.edu/ind-durandp/dd343">
     <rdf:type rdf:resource="http://rs.tdwg.org/dwc/terms/Organism"/> <dwc:associatedOrganisms>sibling of AX3467</dwc:associatedOrganisms>
     <dwc:associatedMedia>http://bioimages.vanderbilt.edu/durandp/dd343 | http://bioimages.vanderbilt.edu/durandp/dd344</dwc:associatedMedia>
</rdf:Description>
2018-08-26 04:11:26 +00:00
```
Turtle:
2018-08-26 04:11:26 +00:00
```turtle
2018-08-26 22:03:50 +00:00
<http://bioimages.vanderbilt.edu/ind-durandp/dd343>
     a dwc:Organism;
     dwc:associatedOrganisms "sibling of AX3467";
     dwc:associatedMedia "http://bioimages.vanderbilt.edu/durandp/dd343 | http://bioimages.vanderbilt.edu/durandp/dd344".
2018-08-26 04:11:26 +00:00
```
Because the values of the association terms are literals, a consuming client would need to carry out additional processing to determine the identity of the associated resources referenced in the literals. In the case of the value for `dwc:associatedOrgansims`, the client would have to determine that the substring "AX3467" was an identifier for the organism and determine the nature of the relationship represented by the substring "sibling of". In the case of the value for `dwc:associatedMedia`, the client would need to parse the identifiers included in the value string, then determine that those substrings were IRIs.
The advantage of presenting the literal values of Darwin Core association properties via RDF as in Example 28 is that a provider could easily expose existing data with little effort. The disadvantage is that there would be a significant processing burden on consuming clients. It is possible that some literal values would be uninterpretable without additional information from another source. For example, how can the organism identified by "AX3467" be distinguished globally from other organisms that might have also been assigned the identifier "AX3467"?
#### 2.8.3 Expressing Darwin Core association terms as RDF with URI references (normative)
Because a Darwin Core association term property/value pair actually encodes two or more discrete "facts", it is probably better to represent the information contained in that property/value pair by more than a single triple.
The well-known Dublin Core term `dcterms:relation` (`<http://purl.org/dc/terms/relation>`) MAY be used to link related resources. `dcterms:relation` does not specify the exact nature of the relationship, although it has a number of declared subproperties that more precisely specify kinds and directions of the relationships (for example: `dcterms:hasPart`, `dcterms:isPartOf`, `dcterms:hasFormat`, `dcterms:isFormatOf`, `dcterms:references`, `dcterms:isVersionOf`, etc.). So `dcterms:relation` is a generic term that MAY be used to indicate that a resource has an unspecified association with some other resource.
The term `rdf:type` ([Section 2.3.1](#231-declaring-the-type-of-the-resource-non-normative)) is the standard property for indicating the type of a resource in RDF. So it SHOULD be used to declare the type of the object resource of a Darwin Core association term property/value pair.
The nature and direction of the association between the subject and object resource MAY be described more precisely if an appropriate term exists for that purpose. For example, in many cases, the relationship between a subject and object resource that are linked by `dwc:associatedMedia` is depiction. Thus the well known term `foaf:depiction` MAY be used to link two resources in lieu of, or in addition to `dcterms:relation`.
2018-08-26 22:03:50 +00:00
Example 29 shows how the data presented in Table 10 may be expressed as RDF using URI-reference properties instead of Darwin Core association properties.
**Example 29:**
RDF/XML
2018-10-01 19:33:34 +00:00
```xml
<rdf:Description rdf:about="http://bioimages.vanderbilt.edu/ind-durandp/dd343">
     <rdf:type rdf:resource="http://rs.tdwg.org/dwc/terms/Organism"/>
     <dcterms:relation rdf:resource="http://museum.org/individuals/ax3467"/>
     <dcterms:relation rdf:resource="http://bioimages.vanderbilt.edu/durandp/dd343"/>
     <foaf:depiction rdf:resource="http://bioimages.vanderbilt.edu/durandp/dd343"/>
     <dcterms:relation rdf:resource="http://bioimages.vanderbilt.edu/durandp/dd344"/>
     <foaf:depiction rdf:resource="http://bioimages.vanderbilt.edu/durandp/dd344"/>
</rdf:Description>
<rdf:Description rdf:about="http://museum.org/individuals/ax3467">
     <dcterms:identifier>AX3467</dcterms:identifier>
     <rdf:type rdf:resource="http://rs.tdwg.org/dwc/terms/Organism"/>
</rdf:Description>
<rdf:Description rdf:about="http://bioimages.vanderbilt.edu/durandp/dd343">
     <rdf:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
</rdf:Description>
<rdf:Description rdf:about="http://bioimages.vanderbilt.edu/durandp/dd344">
     <rdf:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
</rdf:Description>
2018-08-26 04:11:26 +00:00
```
Turtle:
2018-08-26 04:11:26 +00:00
```turtle
2018-08-26 22:03:50 +00:00
<http://bioimages.vanderbilt.edu/ind-durandp/dd343>a dwc:Organism;
     dcterms:relation <http://museum.org/individuals/ax3467>;
     dcterms:relation <http://bioimages.vanderbilt.edu/durandp/dd343>;
     foaf:depiction <http://bioimages.vanderbilt.edu/durandp/dd343>;
     dcterms:relation <http://bioimages.vanderbilt.edu/durandp/dd344>;
     foaf:depiction <http://bioimages.vanderbilt.edu/durandp/dd345>.
<http://museum.org/individuals/ax3467>
     dcterms:identifier "AX3467";
     a dwc:Organism.
2018-08-26 22:03:50 +00:00
<http://bioimages.vanderbilt.edu/durandp/dd343>
     a dcmitype:StillImage.
2018-08-26 22:03:50 +00:00
<http://bioimages.vanderbilt.edu/durandp/dd344>
     a dcmitype:StillImage.
2018-08-26 04:11:26 +00:00
```
Notes:
2018-08-26 22:03:50 +00:00
1. Because there is no well-known term for expressing the relationship "sibling of", the nature of the relation between the two associated organisms was not represented in the triples.
2. In this example, both of the associated media items were depictions of the subject organism, so `foaf:depiction` was used to indicate that. However, it is likely that many associated media items will not depict the subject resource. For example, specimen labels do not depict specimens with which they are associated, nor do still images of habitats depict organisms with which they are associated. Therefore, there is a need for more expressive terms to describe these types of relations more precisely. However, creating such terms is beyond the scope of this guide.
#### 2.8.4 Querying for associated resources (non-normative)
If the strategy outlined in [Section 2.8.3](#283-expressing-darwin-core-association-terms-as-rdf-with-uri-references-normative) were used, resources associated with a subject resource could be discovered using a [SPARQL query](http://www.w3.org/TR/sparql11-query/) similar to Example 30. In that example, <iri1> is the IRI of a subject resource, and `dcmitype:StillImage` is the type of associated media that would be discovered.
**Example 30:**
SPARQL
2018-08-26 04:11:26 +00:00
```sparql
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX dcmitype: <http://purl.org/dc/dcmitype/>
SELECT ?resource WHERE {
 <iri1> dcterms:relation ?resource.
 ?resource a dcmitype:StillImage.
 }
```
### 2.9 MeasurementOrFact instances (normative)
Darwin Core provides a mechanism for expressing measurements and factual information associated with resources that are described using Darwin Core. Terms from the `dwc:` namespace that are organized in the `dwc:MeasurementOrFact` class were designed to express this information using string values in "flat" files. The information MAY be also expressed as RDF using a combination of literal value `dwc:` namespace terms and IRI value `dwciri:` terms. It is likely that this information could also be mapped to more expressive terms. However, that sort of translation is beyond the scope of this guide.
Measurement properties MAY be grouped as part of a `dwc:MeasurementOrFact` instance as shown in Example 31. In order for that instance to have meaning, it MUST be linked to some other resource that is the measured entity. In Example 31, the measurement took place when the occurrence of an organism was documented by its collection as a preserved specimen. The measurement was of a part of the documented organism. Given that the organism itself was preserved, the measurement also applies to the corresponding part of the specimen. Darwin Core does not provide the object properties that would be required to describe precisely how the `dwc:MeasurementOrFact` instance was related to the `dwc:Occurrence` instance, the `dwc:Organism` whose occurrence was recorded, or the `dwc:PreservedSpecimen` that was collected. In the example, `dcterms:relation` was used to link the `dwc:MeasurementOrFact` instance to the `dwc:Occurrence` instance that was the subject of the database record that served as the source of the data serialized as RDF in Example 31. It is possible for providers to link `dwc:MeasurementOrFact` instances using more expressive object properties outside of Darwin Core. See the [Darwin Core informative ancillary web page](https://github.com/tdwg/rdf/blob/master/DwCAncillary.md) for more information.
**Example 31**
RDF/XML
2018-10-01 19:33:34 +00:00
```xml
<dwc:Occurrence rdf:about="http://mczbase.mcz.harvard.edu/guid/MCZ:Mamm:67231">
2018-10-01 14:21:33 +00:00
<dcterms:relation>
<dwc:MeasurementOrFact>
<dwc:measurementType>tail length</dwc:measurementType>
<dwciri:measurementType rdf:resource="http://purl.obolibrary.org/obo/VT_0002758"/>
<dwc:measurementValue rdf:datatype="http://www.w3.org/2001/XMLSchema#int">25</dwc:measurementValue>
2018-10-01 14:21:33 +00:00
<dwc:measurementUnit>mm</dwc:measurementUnit>
<dwciri:measurementUnit rdf:resource="https://www.wikidata.org/wiki/Q174789"/>
<dwc:measurementAccuracy rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">0.5</dwc:measurementAccuracy>
<dwc:measurementDeterminedDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2009-08-22</dwc:measurementDeterminedDate>
2018-10-01 14:21:33 +00:00
<dwc:measurementDeterminedBy>Ryan B Stephens</dwc:measurementDeterminedBy>
<dwciri:measurementDeterminedBy rdf:resource="https://orcid.org/0000-0001-8524-9873" />
2018-10-01 14:21:33 +00:00
<dwc:measurementMethod>unspecified</dwc:measurementMethod>
<dwciri:measurementMethod rdf:resource="http://purl.obolibrary.org/obo/MMO_0000160" />
2018-10-01 14:21:33 +00:00
<dwc:measurementRemarks xml:lang="en">Accuracy from significant digits.</dwc:measurementRemarks>
</dwc:MeasurementOrFact>
</dcterms:relation>
</dwc:Occurrence>
2018-08-26 04:11:26 +00:00
```
Turtle
2018-08-26 04:11:26 +00:00
```turtle
2018-08-26 22:03:50 +00:00
<http://mczbase.mcz.harvard.edu/guid/MCZ:Mamm:67231> a dwc:Occurrence;
     dcterms:relation [a dwc:MeasurementOrFact ;
          dwc:measurementType "tail length" ;
2018-08-26 22:03:50 +00:00
          dwciri:measurementType <http://purl.obolibrary.org/obo/VT_0002758> ;
          dwc:measurementValue "25"^^xsd:int ;
          dwc:measurementUnit "mm" ;
          dwciri:measurementUnit <https://www.wikidata.org/wiki/Q174789> ;
          dwc:measurementAccuracy "0.5"^^xsd:decimal ;
2018-08-26 22:03:50 +00:00
          dwc:measurementDeterminedDate "2009-08-22"^^xsd:date ;
          dwc:measurementDeterminedBy "Ryan B Stephens" ;
          dwciri:measurementDeterminedBy <https://orcid.org/0000-0001-8524-9873> ;
          dwc:measurementMethod "unspecified" ;
2018-08-26 22:03:50 +00:00
          dwciri:measurementMethod <http://purl.obolibrary.org/obo/MMO_0000160> ;
          dwc:measurementRemarks "Accuracy from significant digits."@en].
2018-08-26 04:11:26 +00:00
```
## 3 Term reference (normative)
This section organizes terms from Darwin Core and other key vocabularies according to their use in RDF. If the use of a term has additional restrictions or implications (e.g., domain and range assertions), they are noted. RECOMMENDED formats and values are given when appropriate.
### 3.1 Non-Darwin Core terms needed to express fundamental properties in RDF (normative)
2018-08-26 04:11:26 +00:00
term | Notes
--- | ---
rdf:type | Used to indicate the class of which the resource is an instance. Resources SHOULD be typed using `rdf:type`, whereas type declarations using `dcterms:type` and `dwc:basisOfRecord` are OPTIONAL. See [Section 2.3.1.5](#2315-classes-to-be-used-for-type-declarations-of-resources-described-using-darwin-core-normative) for recommended classes to be used with biodiversity resources.
dcterms:identifier | Used to relate string literal identifiers to the subject resource. This MAY include string representations of IRIs if they are considered the identifier for the resource.
2018-08-26 04:11:26 +00:00
dcterms:relation | Used to link subject and object resources that have an unspecified association.
### 3.2 Imported Dublin Core terms for which only literal objects are appropriate (normative)
2018-08-26 04:11:26 +00:00
term | domain | range
--- | --- | ---
2018-10-08 20:09:34 +00:00
dcterms:modified | --- | rdfs:Literal[^1]
2018-08-26 04:11:26 +00:00
dcterms:bibliographicCitation | dcterms:BibliographicResource | rdfs:Literal
2021-08-05 02:15:40 +00:00
[^1]: Recommended format is [ISO 8601-1:2019](http://en.wikipedia.org/wiki/ISO_8601). See notes on date terms in [Section 3.4](#34-terms-defined-by-darwin-core-that-are-expected-to-be-used-only-with-literal-values-normative) for further information.
### 3.3 Imported Dublin Core terms that have non-literal objects and corresponding terms that have literal objects (normative)
| Term intended for use in RDF with non-literal objects[^2] | range | RECOMMENDED values[^3] | Term intended for use in RDF with literal objects |
| --- | --- | --- | --- |
| dcterms:language | dcterms:LinguisticSystem | MARC ISO 639-2 language IRI | dc:language |
2018-10-08 20:09:34 +00:00
| dcterms:license[^4] | dcterms:LicenseDocument | Creative Commons license IRI | xmpRights:UsageTerms[^5] |
| dcterms:type | rdfs:Class | DCMI Type Vocabulary | dc:type |
2018-10-08 20:09:34 +00:00
| dcterms:rightsHolder | dcterms:Agent | IRI for the agent owning or managing the rights. | xmpRights:Owner[^6] |
| dcterms:accessRights | dcterms:RightsStatement | A custom RDF rights statement MAY be created describing who can access the resource or an indication of its security status. | No literal object analogue exists for this term. The string value MAY be expressed as a property of a blank node.[^7] |
| dcterms:references | --- | IRI for a publication (preferably an HTTP-proxied DOI) related to the subject resource. | Use `dwc:identificationReferences` for a reference consulted in making an taxonomic identification and `dwc:associatedReferences` for references related to occurrences. |
2018-10-08 20:09:34 +00:00
[^2]: None of these `dcterms:` namespace terms have domain declarations.
2018-10-08 20:09:34 +00:00
[^3]: For recommended controlled values, see the document "Sources of well-known controlled value IRIs", accessible from the [Darwin Core informative ancillary web page](https://github.com/tdwg/rdf/blob/master/DwCAncillary.md)
2018-10-08 20:09:34 +00:00
[^4]: For more information about linking a creative work to its license, see the document "Sources of well-known controlled value IRIs", accessible from the [Darwin Core informative ancillary web page](https://github.com/tdwg/rdf/blob/master/DwCAncillary.md)
2018-10-08 20:09:34 +00:00
[^5]: DCMI does not provide a literal object analogue of `dcterms:license`. [Audubon Core](https://www.tdwg.org/standards/ac/) recommends `xmpRights:UsageTerms` for literals.
2018-10-08 20:09:34 +00:00
[^6]: DCMI does not provide a literal object analogue of `dcterms:rightsHolder`. [Audubon Core](https://www.tdwg.org/standards/ac/) recommends `xmpRights:Owner` for literals. However, since `xmpRights:Owner` is defined by the [XMP specification](https://wwwimages2.adobe.com/content/dam/acom/en/devnet/xmp/pdfs/XMP%20SDK%20Release%20cc-2016-08/XMPSpecificationPart1.pdf) as "a list of legal owners of the resource", it can only be used to specify the rights owner, not an agent managing the rights.
2018-10-08 20:09:34 +00:00
[^7]: See the [DCMI accessRights guidelines](http://wiki.dublincore.org/index.php/User_Guide/Publishing_Metadata#dcterms:accessRights) for an example.
### 3.4 Terms defined by Darwin Core that are expected to be used only with literal values (normative)
2018-08-26 04:11:26 +00:00
Darwin Core term | Notes on expressing as RDF
--- | ---
`dwc:eventDate`<br>`dwc:georeferencedDate`<br>`dwc:dateIdentified`<br>`dwc:relationshipEstablishedDate`<br>`dwc:measurementDeterminedDate` | Best practice as specified in the term definition recommends that they SHOULD be formatted according to [ISO 8601-1:2019](https://en.wikipedia.org/wiki/ISO_8601). There is no defined [XML Schema datatype](https://www.w3.org/TR/xmlschema11-2/) that corresponds exactly to ISO 8601-1:2019, therefore the entire set of possible values cannot be specified using an `rdf:datatype` attribute. The [XML Schema dateTime datatype](https://www.w3.org/TR/xmlschema11-2/#dateTime) (`xsd:dateTime`) which is effectively a subset of ISO 8601-1:2019, MAY be used as an `rdf:datatype` attribute. However, `xsd:dateTime` requires the complete series of year, month, day, hour, second (e.g., 002-10-10T12:00:00) and does not permit listing only part of this hierarchy (e.g., only the year) as is allowed in ISO 8601-1:2019.
`dwc:eventTime` | It is RECOMMENDED that the format described by [ISO 8601-1:2019](https://en.wikipedia.org/wiki/ISO_8601) be used. As with the date terms, there is no [XML Schema datatype](https://www.w3.org/TR/xmlschema11-2/) that includes all of the possible values allowed in ISO 8601-1:2019, so there is no generic `rdf:datatype` attribute that would apply to all possible instances. The [XML Schema dateTime datatype](https://www.w3.org/TR/xmlschema11-2/#dateTime) (`xsd:time`) which is effectively a subset of ISO 8601-1:2019 MAY be used as an `rdf:datatype` attribute although it is limited to values that include hours, minutes, and seconds (e.g., 13:07:56-05:00).
`dwc:individualCount`<br>`dwc:decimalLatitude`<br>`dwc:decimalLongitude`<br>`dwc:coordinatePrecision`<br>`dwc:pointRadiusSpatialFit`<br>`dwc:coordinateUncertaintyInMeters`<br>`dwc:minimumElevationInMeters`<br>`dwc:maximumElevationInMeters`<br>`dwc:minimumDepthInMeters`<br>`dwc:maximumDepthInMeters`<br>`dwc:minimumDistanceAboveSurfaceInMeters`<br>`dwc:maximumDistanceAboveSurfaceInMeters`<br>`dwc:startDayOfYear`<br>`dwc:endDayOfYear`<br>`dwc:year`<br>`dwc:month`<br>`dwc:day`<br>`dwc:footprintSpatialFit`<br>`dwc:measurementAccuracy` | These terms are expected to have literal values that are numeric. Therefore, an `rdf:datatype` attribute describing the form of the number SHOULD be used.
`dwc:occurrenceRemarks`<br>`dwc:eventRemarks`<br>`dwc:locationRemarks`<br>`dwc:georeferenceRemarks`<br>`dwc:identificationRemarks`<br>`dwc:taxonRemarks`<br>`dwc:organismRemarks`<br>`dwc:relationshipRemarks`<br>`dwc:measurementRemarks` | Because these are remarks, they SHOULD have literal values with an `xml:lang` attribute.
`dwc:catalogNumber`<br>`dwc:samplingEffort`<br>`dwc:organismName`<br>`dwc:verbatimIdentification`<br>`dwc:verbatimEventDate`<br>`dwc:verbatimLocality`<br>`dwc:verbatimElevation`<br>`dwc:verbatimCoordinates`<br>`dwc:verbatimLatitude`<br>`dwc:verbatimLongitude`<br>`dwc:verbatimDepth`<br>`dwc:verbatumTaxonRank` | Based on their term definitions, these terms SHOULD have untyped literal values.
`dwc:otherCatalogNumbers` | There is no simple mapping because of the kinds of identifiers people use and variety of relationships that there may be among identifiers. For non-IRI identifiers expressed as string values, the string MAY be provided as a literal value of `dwc:otherCatalogNumbers`. Whether this is preferable to providing multiple `dwc:catalogNumber` properties may depend on community practice. `owl:sameAs` MAY be used to associate other IRI identifiers with the subject IRI if that is appropriate.
`dwc:basisOfRecord` | MUST be used only with literal value strings consisting of the local name component of Darwin Core class IRIs. Use `rdf:type` to refer to IRIs that describe the type of the resource.
`dwc:dynamicProperties` | Expected to contain JSON as a literal. Communities of practice MAY choose to use other vocabularies or develop their own vocabularies to express this sort of content directly as RDF.
### 3.5 Darwin Core convenience terms that are expected to be used only with literal values (normative)
See [Section 2.7](#27-darwin-core-convenience-terms-non-normative) for more information on "convenience" terms.
2018-08-26 04:11:26 +00:00
Darwin Core term | Notes
--- | ---
`dwc:collectionCode`<br>`dwc:institutionCode`<br>`dwc:ownerInstitutionCode` | The subject resource MAY be any resource that is part of a collection. As an alternative, the object property `dwciri:inCollection` MAY be used to link the subject resource to an IRI for the collection containing the institution that owns or controls the resource.
`dwc:kingdom`<br>`dwc:phylum`<br>`dwc:class`<br>`dwc:order`<br>`dwc:family`<br>`dwc:subfamily`<br>`dwc:genus`<br>`dwc:genericName`<br>`dwc:subgenus`<br>`dwc:infragenericEpithet`<br>`dwc:specificEpithet`<br>`dwc:infraspecificEpithet`<br>`dwc:cultivarEpithet`<br>`dwc:higherClassification`<br>`dwc:vernacularName`<br>`dwc:nameAccordingTo`<br>`dwc:scientificName`<br>`dwc:taxonRank`<br>`dwc:scientificNameAuthorship`<br>`dwc:nomenclaturalStatus`<br>`dwc:namePublishedIn`<br>`dwc:namePublishedInYear`<br>`dwc:nomenclaturalCode`<br>`dwc:originalNameUsage`<br>`dwc:taxonomicStatus`<br>`dwc:parentNameUsage`<br>`dwc:acceptedNameUsage` | The subject resource SHOULD be a `dwc:Identification` instance. See [Section 2.7.4](#274-description-of-a-taxonomic-entity-normative) for a discussion of why it NOT RECOMMENDED to use these as properties of `dwc:Taxon` instances. The object property `dwciri:toTaxon` MAY be used as an alternative to link the subject `dwc:Identification` instance to a taxonomic entity such as a taxon, taxon concept, or taxon name usage. It is likely that these taxonomic entities will have a complex structure that differentiates among name entities, name strings, application of a name to a concept, that expresses parent/child and set relationships among entities, and that tracks provenance information about the names, references, and concepts. The flat nature of text-based Darwin Core cannot represent such a complex structure and it is beyond the scope of this guide to describe them.
`dwc:higherGeography`<br>`dwc:continent`<br>`dwc:waterBody`<br>`dwc:islandGroup`<br>`dwc:island`<br>`dwc:countryCode`<br>`dwc:country`<br>`dwc:stateProvince`<br>`dwc:county`<br>`dwc:municipality`<br>`dwc:locality` | The subject resource SHOULD be a `dcterms:Location` instance. The object property `dwciri:inDescribedPlace` MAY be used as an alternative to link the subject resource to a standardized place described as part of a hierarchy. See [Section 2.7.5](#275-names-of-geographic-subdivisions-normative) for details. It is likely that providers will want to provide a text value for `dwc:locality` even if `dwciri:inDescribedPlace` is used to replace the other hierarchical convenience terms in this category. This is because it is unlikely that a place description at this most specific level (e.g., "15 km N of Essen") would be represented by a standardized IRI-identified place instance. There is no `dwciri:` analogue of `dwc:locality` because if an IRI-identified place were available to represent the locality, the term `dwciri:inDescribedPlace` would be used to link to it.
`dwc:earliestEonOrLowestEonothem`<br>`dwc:latestEonOrHighestEonothem`<br>`dwc:earliestEraOrLowestErathem`<br>`dwc:latestEraOrHighestErathem`<br>`dwc:earliestPeriodOrLowestSystem`<br>`dwc:latestPeriodOrHighestSystem`<br>`dwc:earliestEpochOrLowestSeries`<br>`dwc:latestEpochOrHighestSeries`<br>`dwc:earliestAgeOrLowestStage`<br>`dwc:latestAgeOrHighestStage` | The subject resource SHOULD be a `dwc:GeologicalContext` instance. The object properties `dwciri:earliestGeochronologicalEra` and `dwciri:latestGeochronologicalEra` MAY be used as an alternative as described in [Section 3.6](#36-dwciri-terms-having-local-names-that-dont-correspond-to-terms-in-the-dwc-darwin-core-namespace-normative). See [Section 2.7.6](#276-chronostratographic-geological-timescale-descriptors-normative) for details.
`dwc:lithostratigraphicTerms`<br>`dwc:group`<br>`dwc:formation`<br>`dwc:member`<br>`dwc:bed` | The subject resource SHOULD be a `dwc:GeologicalContext` instance. The object property `dwciri:fromLithostratigraphicUnit` MAY be used as an alternative to link the subject resource to the lowest appropriate unit of a lithostratigraphic hierarchy.
### 3.6 `dwciri:` terms having local names that dont correspond to terms in the `dwc:` Darwin Core namespace (normative)
2018-08-26 04:11:26 +00:00
Darwin Core term | Notes
--- | ---
`dwciri:inCollection` | MAY be used to link any subject resource that is part of a scientific collection to the collection containing the resource. RECOMMENDED best practice is to use IRIs from the [GBIF Registry of Scientific Collections](https://www.gbif.org/grscicoll). See [Section 2.7.3](#273-ownership-of-a-collection-item-normative) for usage details.
`dwciri:toTaxon` | MAY be used to link a `dwc:Identification` instance subject to a taxonomic entity such as a taxon, taxon concept, or taxon name usage. See [Section 2.7.4](#274-description-of-a-taxonomic-entity-normative) for usage details.
`dwciri:inDescribedPlace` | MAY be used to link a `dcterms:Location` instance subject to the lowest level standardized hierarchically-described resource. It is expected that such resources will be linked to higher levels in the hierarchy by the organization minting the IRI. RECOMMENDED best practice is to use IRIs from the [GeoNames geographical database](https://www.geonames.org/). See [Section 2.7.5](#275-names-of-geographic-subdivisions-normative) for usage details.
`dwciri:earliestGeochronologicalEra`<br>`dwciri:latestGeochronologicalEra` | MAY be used to link a `dwc:GeologicalContext` instance to chronostratigraphic time periods at the lowest possible level in a standardized hierarchy. Use `dwciri:earliestGeochronologicalEra` to point to the earliest possible geological time period from which the cataloged item was collected and the object property `dwciri:latestGeochronologicalEra` to point to the latest possible geological time period from which the cataloged item was collected. The organization minting the IRI should link those time periods to higher levels in the hierarchy. RECOMMENDED best practice is to use IRIs defined by the [International Commission on Stratigraphy](http://www.stratigraphy.org/). See [Section 2.7.6](#276-chronostratographic-geological-timescale-descriptors-normative) for usage details.
`dwciri:fromLithostratigraphicUnit` | MAY be used to link a `dwc:GeologicalContext` instance to an IRI-identified lithostratigraphic unit at the lowest possible level in a hierarchy. It is expected that such resources will be linked to higher levels in the hierarchy by the organization minting the IRI. See [Section 2.7.7](#277-lithostratigraphy-descriptors-normative) for usage details.
`dwciri:inDataset` | This object property is provided to link a subject dataset record to the dataset which contains it. A string literal name of the dataset MAY be provided using the term `dwc:datasetName`.
### 3.7 `dwc:` namespace terms that have analogues in the `dwciri:` namespace (normative)
Darwin Core term having a `dwciri:` analogue with the same local name | Notes on the `dwciri:` analogues
2018-08-26 04:11:26 +00:00
--- | ---
`dwc:recordedBy`<br>`dwc:identifiedBy`<br>`dwc:georeferencedBy`<br>`dwc:measurementDeterminedBy` | The object is an agent; the value SHOULD be a well-known IRI such as those referenced in the list of sources of controlled values in the [Darwin Core informative ancillary web page](https://github.com/tdwg/rdf/blob/master/DwCAncillary.md).
`dwc:locationAccordingTo` | The object is an agent or publication. The value SHOULD be a well-known IRI, such as an HTTP-proxied DOI.
`dwc:georeferenceProtocol`<br>`dwc:georeferenceSources`<br>`dwc:samplingProtocol` | The object is a published or well-known reference; the value SHOULD be an IRI version (preferably HTTP proxied) of doi, isbn, issn, etc. if available.
`dwc:sex`<br>`dwc:lifeStage`<br>`dwc:reproductiveCondition`<br>`dwc:establishmentMeans`<br>`dwc:behavior`<br>`dwc:occurrenceStatus`<br>`dwc:disposition`<br>`dwc:verbatimCoordinateSystem`<br>`dwc:verbatimSRS`<br>`dwc:geodeticDatum`<br>`dwc:verticalDatum`<br>`dwc:georeferenceVerificationStatus`<br>`dwc:footprintWKT`<br>`dwc:footprintSRS`<br>`dwc:lowestBiostratigraphicZone`<br>`dwc:highestBiostratigraphicZone`<br>`dwc:identificationVerificationStatus`<br>`dwc:identificationQualifier`<br>`dwc:preparations`<br>`dwc:typeStatus`<br>`dwc:measurementType`<br>`dwc:measurementValue`<br>`dwc:measurementUnit`<br>`dwc:measurementMethod` | RECOMMENDED best practice is to use a controlled vocabulary if one is available.
`dwc:informationWithheld`<br>`dwc:dataGeneralizations`<br>`dwc:habitat` | If the object property (`dwciri:` analogue) is used rather than the `dwc:` property, the object property SHOULD point to a stable resource, which might be a controlled vocabulary.
2018-10-01 19:28:01 +00:00
`dwc:fieldNumber`<br>`dwc:fieldNotes` | `dwciri:fieldNumber` is an object property whose subject is a (possibly IRI-identified) resource that is the field notes and whose object is a `dwc:Event` instance. `dwciri:fieldNotes` is an object property whose subject is a `dwc:Event` instance and whose object is a (possibly IRI-identified) resource that is the field notes.
`dwc:recordNumber` | `dwciri:recordNumber` is an object property whose subject is an occurrence and whose object is a (possibly IRI-identified) resource that is the field notes.
### 3.8 Darwin Core terms for which this guide does not recommend the use of a `dwciri: object` property (normative)
2018-08-26 04:11:26 +00:00
Darwin Core term | Notes
--- | ---
`dwc:relationshipOfResource`<br>`dwc:relationshipAccordingTo` | The non-RDF use of terms organized under the `dwc:ResourceRelationship` class depends on values for `dwc:resourceID`, `relationshipOfResourceID`, and `dwc:relatedResourceID`, terms which cannot be used in RDF for reasons discussed in [Section 2.6](#26-darwin-core-id-terms-and-rdf-normative). As of November 2014, the RDF/OWL Task Group is seeking a way to express resource relationships as RDF. For the present, `dwciri:` analogues have not been adopted for these two terms. See the [Darwin Core informative ancillary web page](https://github.com/tdwg/rdf/blob/master/DwCAncillary.md) for further discussion.
`dwc:associatedOccurrences`<br>`dwc:associatedMedia`<br>`dwc:associatedSequences`<br>`dwc:associatedTaxa`<br>`dwc:associatedOrganisms` | Properties used MAY be `dcterms:relation` and `rdf:type`, or terms that indicate more specific relationships as described in [Section 2.8](#28-darwin-core-association-terms-non-normative) (Darwin Core association terms).
`dwc:previousIdentifications` | There is no consensus object property for associating identifications with resources of other classes. From whatever scheme you have chosen to provide object properties, you SHOULD use same object property as used for the most recent identification but provide an earlier dwc:dateIdentified value.
2021-08-04 22:25:59 +00:00
`dwc:organismScope` | Use `rdf:type` with a non-literal object. See the comment at <http://rs.tdwg.org/dwc/terms/organismScope>.
### 3.9 Chronometric Age extension `chrono:` terms that have analogues in the `chronoiri:` namespace (normative)
The [Chronometric Age vocabulary](http://rs.tdwg.org/dwc/doc/chrono/) extends the core Darwin Core vocabulary. It has a separate namespace for IRI-valued terms, `chronoiri:`, which operates analogously to the `dwciri:` namespace.
2021-08-04 22:25:59 +00:00
Chronometric Age term having a `chronoiri:` analogue with the same local name | Notes on the `chronoiri:` analogues
--- | ---
`chrono:chronometricAgeDeterminedBy` | The object is an agent; the value SHOULD be a well-known IRI such as those referenced in the list of sources of controlled values in the [Darwin Core informative ancillary web page](https://github.com/tdwg/rdf/blob/master/DwCAncillary.md).
`chrono:chronometricAgeConversionProtocol`<br>`chrono:chronometricAgeProtocol`<br>`chrono:chronometricAgeUncertaintyMethod` | The object is a published or well-known reference; the value SHOULD be an IRI version (preferably HTTP proxied) of doi, isbn, issn, etc. if available.
`chrono:earliestChronometricAgeReferenceSystem`<br>`chrono:latestChronometricAgeReferenceSystem`<br>`chrono:materialDated` | RECOMMENDED best practice is to use a controlled vocabulary if one is available.