diff --git a/docs/rdf/2016-04-25.md b/docs/rdf/2016-04-25.md new file mode 100644 index 0000000..a12779d --- /dev/null +++ b/docs/rdf/2016-04-25.md @@ -0,0 +1,1423 @@ +# Darwin Core RDF guide + +Title +: Darwin Core RDF guide + +Date version issued +: 2016-04-25 + +Date created +: 2015-03-27 + +Part of TDWG Standard +: + +This version +: + +Latest version +: + +Previous version +: + +Replaced by +: + +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 (TDWG RDF/OWL Task Group), John Wieczorek (TDWG Darwin Core Task Group), John Deck (Genomic Biodiversity Working Group), Campbell Webb (TDWG RDF/OWL Task Group), Paul J. Morris (Harvard University Herbaria/Museum of Comparative Zoölogy), Mark Schildhauer (National Center for Ecological Analysis and Synthesis) (KUNHM) + +Creator +: Darwin Core and RDF/OWL Task Groups + +Bibliographic citation +: Darwin Core and RDF/OWL Task Groups. 2016. Darwin Core RDF guide. Biodiversity Information Standards (TDWG). + +## 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.2 Rationale (non-normative) + +Darwin Core is a vocabulary which 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 must 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 must be well-defined and discoverable by clients without human intervention. To facilitate cross-referencing of resources among different data providers, resources must 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 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. + +![](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 `` 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: . +@prefix xsd: . +@prefix dcterms: . +a ; +       dcterms:created "2010-09-01T03:41:31"^^xsd:dateTime; +       dcterms:creator . +``` + +Here is the graph in [RDF/XML syntax](http://www.w3.org/TR/rdf-syntax-grammar/): + +```xml + + +    +    +   2010-09-01T03:41:31 + +``` + +In this document, the following formatting conventions will be used. Full IRIs will be enclosed in angle brackets, e.g., + +``` + +``` + +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 in italics, 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 may be locally unique within the provider's database, or they may 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](http://tools.ietf.org/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) that can be used in place of [IRIs](http://tools.ietf.org/html/rfc3986). 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 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. However, in general IRIs may identify non-information resources (physical or conceptual entities) that are not transmittable electronically, e.g., ``, a person. If a client attempts to retrieve a non-information resource by dereferencing its HTTP IRI, a process called [content negotiation](http://tools.ietf.org/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 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](http://tools.ietf.org/html/rfc4122) by prefixing its string representation with `urn:uuid:` as in + +``` + +``` + +Similarly, [ISBNs can be converted to URNs](http://tools.ietf.org/html/rfc3187) 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/`: + +``` + +``` + +Second, if a provider refers to a resource using an URL that provides data about the resource, the provider should take care to 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). It may be preferable to use [content negotiation](http://www.w3.org/TR/cooluris/) to redirect the user from a persistent IRI which refers to the resource, to the URL of a web page which describes the resource. + +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](http://linkeddata.org/) prefer to use identifiers which follow the [HTTP IRI scheme](http://tools.ietf.org/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 which describes a resource using a `foaf:depicts` property is also implicitly (and perhaps unknowingly) declaring the resource to be an image. Terms which are defined using a form of RDF known as [Web Ontology Language (OWL)](http://www.w3.org/TR/owl2-overview/) may 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 should 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 which defines the term and has determined that use of that term is consistent with the meaning which 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 recommend 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 should 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 which 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 which 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 having the same local name, the `dwciri:` term will 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 can 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 should 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 should be included as instances of its classes nor does it declare domains for its property terms. Although the [Darwin Core Quick Reference Guide](http://rs.tdwg.org/dwc/terms/index.htm) 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 which 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 may 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 may be intended to refer to an entity that includes all of the inhabitants living with certain geographical borders. It may 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 which 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 at 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 may 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" should 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 should be two separate sets of information: one which asserts that the person identified the tree as a representative of a taxon for which the scientific name "Quercus alba" is applied, and one which asserts the relationship between that taxa 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 should 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 recommends (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 required 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 which form part of a hierarchy. If such a hierarchy already exists, the need is eliminated for separate terms ("convenience terms") which 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 should 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 +--- | --- | --- +Resource Description Framework | rdf: | +RDF Schema | rdfs: | +XML Schema | xsd: | +Web Ontology Language | owl: | +Darwin Core terms (string literal objects) | dwc: | +Darwin Core terms (IRI reference objects) | dwciri: | +Dublin Core terms | dcterms: | +Dublin Core legacy terms | dc: | +Dublin Core type vocabulary | dcmitype: | +FOAF vocabulary | foaf: | +DBpedia resources | dbres: | +GeoNames Ontology | gn: | +GeoSciML Geologic Timescale model Ontology | gsml: | +Virtual International Authority File | viaf: | +Extensible Metadata Platform Rights Management vocabulary | xmpRights: | + +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. + +```xml + + +… resource descriptions go here … + +``` + +#### 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 +--- | --- | --- + | | +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 shows the triple in RDF/XML and Turtle serializations of the triple shown in Table 2: + +**Example 1:** + +RDF/XML + +```xml + +      + +``` + +Turtle + +```turtle + + foaf:maker . +``` + +The [Dublin Core Metadata Initiative (DCMI) Abstract Model](http://dublincore.org/documents/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 must be identified by IRIs. Objects of triples may 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 may 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: + +```xml + +``` + +#### 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: + +```xml +58D31D52-713D-44B4-9FE9-CB2D9249C422 +``` + +```xml  +MVZ:Mamm:165861 +``` + +```xml +ark:/12025/654xz321 +``` + +If an HTTP IRI is considered to be the identifier for a subject resource, it is acceptable to present it 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:** + +```xml + +      +     http://bioimages.vanderbilt.edu/kirchoff/b5161 + +``` + +#### 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 + +```xml + +      + +``` + +Turtle + +```turtle + + owl:sameAs . +``` + +Since LSIDs follow the URN IRI scheme, they can 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 can be extended to any URN. For example, `owl:sameAs` can be used to relate the URN `` to its HTTP-proxied equivalent `` in a manner analogous to Example 3. + +### 2.3 Predicates (normative) + +Most 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 can 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 can 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 may 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 may be a benefit in describing a resource as a member of both a class which has specific meaning within a narrow community and a more well-known class which has a broader meaning and is therefore more likely to be understood by generic clients. For instance, a resource may 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 should be identified by an IRI reference (not by a literal) as in Example 4: + +**Example 4:** + +RDF/XML + +```xml + +      +     2002-06-11T09:37:33 + +``` + +Turtle: + +```turtle + +     a dcmitype:StillImage; +     dcterms:created "2002-06-11T09:37:33"^^xsd:dateTime. +``` + +In Turtle serialization, `rdf:type` can 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:** + +```xml + 2002-06-11T09:37:33 + +``` + +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 can infer that the subject resource is an instance of class `C`. For example, the term `dcterms:bibliographicCitation` is assigned the property + +```xml + +``` + +in its definition. If that term were used as the property of a specimen, a client could infer that the specimen had `rdf:type` `dcterms:BibliographicResource`: + +**Example 6:** + +RDF/XML + +```xml + +     Ctenomys sociabilis (MVZ 165861) + +``` + +Turtle + +```turtle + +     dcterms:bibliographicCitation "Ctenomys sociabilis (MVZ 165861)". +``` + +When a predicate `P` having the property + +``` +P rdfs:range C +``` + +is used with a value, a client can infer that the value is an instance of class `C`. The term `dcterms:language` is assigned the property + +```xml + +``` + +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 can be inferred that `` is a `dcterms:LingisticSystem` even though the MARC description in RDF does not assert that directly in its definition. + +**Example 7:** + +RDF/XML + +```xml + +      + +``` + +Turtle + +```turtle + + dcterms:language . +``` + +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 gives 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 + +```xml + +``` + +in the description of the image. In fact, the provider would probably also want to include + +```xml + +``` + +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](http://dublincore.org/documents/dc-rdf/#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 highly recommended. A `dwciri:` analogue ([Section 2.5](#25-terms-in-the-dwciri-namespace-normative)) of `dwc:basisOfRecord` should not be used. Use `rdf:type` 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 + +```xml + + + + PhysicalObject + + PreservedSpecimen + +``` + +Turtle + +```turtle + +     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 an explanation of the distinction 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 recommendation 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 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 (but which are not part of Darwin Core) that should also be used for typing biodiversity-related resources: + +```xml +dcmitype:StillImage +``` + +```xml +dcmitype:MovingImage +``` + +```xml +dcmitype:Sound +``` + +```xml +dcmitype:PhysicalObject +``` + +### 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 explains 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 can 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: + +```xml +s1987-00397 +``` + +##### 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 + +```xml + +      +     35.857959 +     -86.298055 +     20 + +``` + +Turtle + +```turtle + +     a dcterms:Location; +     dwc:decimalLatitude "35.857959"^^xsd:decimal; +     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 + +```xml + + S. Claramunt, et al. 2009. Polyphyly of Campylorhamphus, and Description of a New Genus for C. pucherani (Dendrocolaptinae). The Awk 127(2):430-439. + 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. + +``` + +Turtle + +```turtle + +     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 required 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 should be used with literal or IRI reference objects. (Exceptions to this are the various date-related terms, which inherit the range `rdfs:Literal` because they are `rdfs:subPropertyOf` `dcterms:date`.) However, because the `dwc:` terms were originally designed to accommodate text and XML data transfer, their definitions generally specify how term values should 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 which 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 can be made using the attribute `rdf:resource` in an empty XML element: + +```xml + +``` + +A description of the referenced non-literal object may be found within the same document, among data from another provider, or there may be no description of the object. If the RDF document will describe further properties of the non-literal, IRI-identified resource, those properties can be placed within an `rdf:Description` container element having an `rdf:about` attribute whose value is the IRI of the resource: + +**Example 11:** + +```xml + +      FSU +      + +``` + +If the non-literal object is not identified by an IRI (i.e., it is a blank node), its properties can 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:** + +```xml + +      +           Trustees of the University of Lavonia +      + +``` + +##### 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 which had an ISBN but no HTTP IRI, as in: + +**Example 13:** + +```xml + +      + +``` + +a description providing basic publication data such as: + +**Example 14:** + +```xml + +      +     1991 +     Manual of Vascular Plants of Northeastern United States and Adjacent Canada +     Gleason, Henry A. and Arthur Cronquist + +``` + +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 +dcterms:references . + +     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 may 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 + +```xml + +      +      + +``` + +Turtle + +```turtle +a dcmitype:StillImage; +     dcterms:rightsHolder . +``` + +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) + +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 + +```xml + +      +                +               2003 +               Collection notes +               Joe Curator +      + +``` + +Turtle + +```turtle + +     dcterms:isReferencedBy [a foaf:Document ; +                         dcterms:date "2003"^^xsd:gYear ; +                         dcterms:title "Collection notes"@en ; +                         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 which 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 + +```xml + +     Vincent van Gogh + +``` + +Turtle + +```turtle + +     dc:creator "Vincent van Gogh". +``` + +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](http://dublincore.org/documents/dc-rdf/#sect-4) were intended to clarify the [use of Dublin Core terms with literal and non-literal objects](http://dublincore.org/documents/2008/01/14/dc-rdf-notes/#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 + +```xml + +      + +``` + +Turtle + +```turtle +dcterms:creator . +``` + +The [Dublin Core RDF guidelines](http://dublincore.org/documents/dc-rdf/#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 which 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://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://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, it is appropriate to 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 + +```xml + +     Oliver P. Pearson | Anita K. Pearson + +``` + +Turtle + +```turtle + +     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 should NOT be used with literal objects. They may also 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 will be identified by an IRI reference rather than a string literal +- the object of the `dwciri:` term predicate will 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 can 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 + +```xml + +      +      + +``` + +Turtle + +```turtle +dwciri:recordedBy , +                       . +``` + +where `` is a persistent IRI identifier for the person whose name is "Oliver P. Pearson" and `` 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 can 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 may 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 an example provided in the [Darwin Core XML Guide ](http://rs.tdwg.org/dwc/terms/guides/xml/index.htm): + +**Example 21:** + +(non-RDF) + +``` + +     http://guid.mvz.org/identifications/23459 +     Richard Sage +     2000 +     urn:lsid:catalogueoflife.org:taxon:d79c11aa-29c1-102b-9a4a-00304854f820:col20120721 + +``` + +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 which 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 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 + +```xml + +      +     http://guid.mvz.org/identifications/23459 +     Richard Sage +     2000 +      + +``` + +Turtle: + +```turtle +a dwc:Identification; +     dcterms:identifier "http://guid.mvz.org/identifications/23459"; +     dwc:identifiedBy "Richard Sage"; +     dwc:dateIdentified "2000"^^xsd:gYear; +     dwciri:toTaxon . +``` + +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 can therefore be used with the `rdf:about` attribute. The `dcterms:identifier` property can 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 which 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: + +```xml + +``` + +so expressing the object reference as + +```xml + +``` + +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) + +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 subject’s 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](http://dublincore.org/documents/usageguide/qualifiers.shtml) 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) + +```xml + + + Richard Sage + 2000 + http://lsid.tdwg.org/urn:lsid:catalogueoflife.org:taxon:d79c11aa-29c1-102b-9a4a-00304854f820:col20120721 + +``` + +Turtle (incorrect usage) + +```turtle + +     a dwc:Identification; +     dwc:identifiedBy "Richard Sage"; +     dwc:dateIdentified "2000"^^xsd:gYear; +     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 +--- | --- | --- + | 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) + +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 isn’t 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 `` 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. + +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. +- 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 can 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 can 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** + +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 use | dwc:Taxon +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) + +dwc:basisOfRecord | dwc:institutionCode | dwc:collectionCode | dwc:catalogNumber | dwc:collectionID +--- | --- | --- | --- | --- +"PreservedSpecimen" | "MVZ" | "Mamm" | "115956" | "urn:lsid:biocol.org:col:34904" + +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-proxied LSID from the [Global Registry of Biorepositories](http://grbio.org/). Example 24 illustrates this for the data from Table 7. + +**Example 24:** + +RDF/XML + +```xml + +      +     MVZ +     Mamm +     115956 +      + +``` + +Turtle + +```turtle +a dwc:PreservedSpecimen; +     dwc:collectionCode "Mamm"; +     dwc:institutionCode "MVZ"; +     dwc:catalogNumber "115956"; +     dwciri:inCollection . +``` + +#### 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 uses, 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 must 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 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) + +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 + +```xml + +      +     Takuma Yun +     Araneae +     Hersiliidae +     Hersilia +     yaeyamaensis +     Tanikawa 1999 + +``` + +Turtle: + +```turtle + +     a dwc:Identification; +     dwc:identifiedBy "Takuma Yun"; +     dwc:order "Araneae"; +     dwc:family "Hersiliidae"; +     dwc:genus "Hersilia"; +     dwc:specificEpithet "yaeyamaensis"; +     dwc:nameAccordingTo "Tanikawa 1999". +``` + +In the example, providing the triple + +```xml + dwc:order  "Araneae" +``` + +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 for users who are looking for spider identifications to search for them by looking for 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., + +```xml + dwciri:toTaxon +``` + +#### 2.7.5 Names of geographic subdivisions (normative) + +The data from Table 5 can be expressed as shown in Example 26. In the example, the term `dwciri:inDescribedPlace` is 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` could also be used to provide a string literal description of the specific description of the place. + +**Example 26:** + +RDF/XML + +```xml + +      +     36.4024 +     -87.02219 +     EPSG:4326 +     North America +     United States +     Tennessee +     Robertson +      + +``` + +Turtle + +```turtle +a dcterms:Location; +     dwc:decimalLatitude "36.4024"^^xsd:decimal; +     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 . +``` + +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 `` (The Great Smoky Mountains National Park which straddles two states) and `` (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 , 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 are the same. + +**Table 9** (non-normative) + +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 + +```xml + Jiu-longshan Phanerozoic Phanerozoic Mesozoic Mesozoic Jurassic Jurassic Middle Middle + +``` + +Turtle + +```turtle +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"; +     dwciri:earliestGeochronologicalEra ; +     dwciri:latestGeochronologicalEra . +``` + +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` can 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) + +dwc:organismID | dwc:associatedOrganisms | dwc:associatedMedia +--- | --- | --- +"http://bioimages.vanderbilt.edu/ind-durandp/dd343" | "sibling of AX3467" | "http://bioimages.vanderbilt.edu/durandp/dd343 | http://bioimages.vanderbilt.edu/durandp/dd344" + +These data can 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 + +```xml + +      sibling of AX3467 +     http://bioimages.vanderbilt.edu/durandp/dd343 | http://bioimages.vanderbilt.edu/durandp/dd344 + +``` + +Turtle: + +```turtle + +     a dwc:Organism; +     dwc:associatedOrganisms "sibling of AX3467"; +     dwc:associatedMedia "http://bioimages.vanderbilt.edu/durandp/dd343 | http://bioimages.vanderbilt.edu/durandp/dd344". +``` + +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` (``) can 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 can 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` can be used to link two resources in lieu of, or in addition to `dcterms:relation`. + +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 + +```xml + +      +      +      +      +      +      + + +     AX3467 +      + + +      + + +      + +``` + +Turtle: + +```turtle +a dwc:Organism; +     dcterms:relation ; +     dcterms:relation ; +     foaf:depiction ; +     dcterms:relation ; +     foaf:depiction . + +     dcterms:identifier "AX3467"; +     a dwc:Organism. + +     a dcmitype:StillImage. + +     a dcmitype:StillImage. +``` + +Notes: + +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, is the IRI of a subject resource, and `dcmitype:StillImage` is the type of associated media that would be discovered. + +**Example 30:** + +SPARQL + +```sparql +PREFIX dcterms: +PREFIX dcmitype: +SELECT ?resource WHERE { +  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 can 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 can 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 + +```xml + + + + tail length + + 25 + mm + + 0.5 + 2009-08-22 + Ryan B Stephens + + unspecified + + Accuracy from significant digits. + + + +``` + +Turtle + +```turtle + a dwc:Occurrence; +     dcterms:relation [a dwc:MeasurementOrFact ; +          dwc:measurementType "tail length" ; +          dwciri:measurementType ; +          dwc:measurementValue "25"^^xsd:int ; +          dwc:measurementUnit "mm" ; +          dwciri:measurementUnit ; +          dwc:measurementAccuracy "0.5"^^xsd:decimal ; +          dwc:measurementDeterminedDate "2009-08-22"^^xsd:date ; +          dwc:measurementDeterminedBy "Ryan B Stephens" ; +          dwciri:measurementDeterminedBy ; +          dwc:measurementMethod "unspecified" ; +          dwciri:measurementMethod ; +          dwc:measurementRemarks "Accuracy from significant digits."@en]. +``` + +## 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) + +term | Notes +--- | --- +rdf:type | Used to indicate the class of which the resource is an instance. It is considered a best practice to type resources 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 can include string representations of IRIs if they are considered the identifier for the resource. +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) + +term | domain | range +--- | --- | --- +dcterms:modified | --- | rdfs:Literal[^1] +dcterms:bibliographicCitation | dcterms:BibliographicResource | rdfs:Literal + +[^1]: Recommended format is [ISO 8601:2004(E)](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 | +| dcterms:license[^4] | dcterms:LicenseDocument | Creative Commons license IRI | xmpRights:UsageTerms[^5] | +| dcterms:type | rdfs:Class | DCMI Type Vocabulary | dc:type | +| 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 could 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 can 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. | + +[^2]: None of these `dcterms:` namespace terms have domain declarations. + +[^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) + +[^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) + +[^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. + +[^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. + +[^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) + +Darwin Core term | Notes on expressing as RDF +--- | --- +`dwc:eventDate`
`dwc:georeferencedDate`
`dwc:dateIdentified`
`dwc:relationshipEstablishedDate`
`dwc:measurementDeterminedDate` | These date terms have range `rdfs:Literal`[^8]. Best practice as specified in the term definition recommends that they should be formatted according to [ISO 8601:2004(E)](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:2004(E), 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:2004(E), 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:2004(E). +`dwc:eventTime` | It is recommended that the format described by [ISO 8601:2004(E)](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:2004(E), 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:2004(E) 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`
`dwc:decimalLatitude`
`dwc:decimalLongitude`
`dwc:coordinatePrecision`
`dwc:pointRadiusSpatialFit`
`dwc:coordinateUncertaintyInMeters`
`dwc:minimumElevationInMeters`
`dwc:maximumElevationInMeters`
`dwc:minimumDepthInMeters`
`dwc:maximumDepthInMeters`
`dwc:minimumDistanceAboveSurfaceInMeters`
`dwc:maximumDistanceAboveSurfaceInMeters`
`dwc:startDayOfYear`
`dwc:endDayOfYear`
`dwc:year`
`dwc:month`
`dwc:day`
`dwc:footprintSpatialFit`
`dwc:measurementValue`
`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`
`dwc:eventRemarks`
`dwc:locationRemarks`
`dwc:georeferenceRemarks`
`dwc:identificationRemarks`
`dwc:taxonRemarks`
`dwc:organismRemarks`
`dwc:relationshipRemarks`
`dwc:measurementRemarks` | Because these are remarks, they are expected to have literal values with an `xml:lang` attribute. +`dwc:catalogNumber`
`dwc:samplingEffort`
`dwc:organismName`
`dwc:verbatimEventDate`
`dwc:verbatimLocality`
`dwc:verbatimElevation`
`dwc:verbatimCoordinates`
`dwc:verbatimLatitude`
`dwc:verbatimLongitude`
`dwc:verbatimDepth`
`dwc:verbatumTaxonRank` | Based on their term definitions, these terms are expected to 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` | Use 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 might choose to use other vocabularies or develop their own vocabularies to express this sort of content directly as RDF. + +[^8]: No Darwin Core terms defined by Darwin Core (as opposed to those imported from Dublin Core) have domain or range declarations as a part of their definitions. However, the five terms in the `dwc:` namespace listed in the table above are defined to be `rdfs:subPropertyOf` of `dcterms:date`, which has the range `rdfs:Literal`. Under the extensional entailment rule ext4 listed in section 7.3.1 of the [RDF Semantics 2004 W3C Recommendation](http://www.w3.org/TR/2004/REC-rdf-mt-20040210/#RDFSExtRules), these terms can be inferred to have the range `rdfs:Literal`. However, the [RDF 1.1 Semantics W3C Recommendation](http://www.w3.org/TR/rdf11-mt/) does not include these extensional entailment rules. Nevertheless, it is reasonable to expect that date properties should have literal values, with datatype attributes whenever possible. + +### 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. + +Darwin Core term | Notes +--- | --- +`dwc:collectionCode`
`dwc:institutionCode`
`dwc:ownerInstitutionCode` | The subject resource can be any resource that is part of a collection. As an alternative, use the object property `dwciri:inCollection` to link the subject resource to an IRI for the collection containing the institution that owns or controls the resource. +`dwc:kingdom`
`dwc:phylum`
`dwc:class`
`dwc:order`
`dwc:family`
`dwc:genus`
`dwc:subgenus`
`dwc:specificEpithet`
`dwc:infraspecificEpithet`
`dwc:higherClassification`
`dwc:vernacularName`
`dwc:nameAccordingTo`
`dwc:scientificName`
`dwc:taxonRank`
`dwc:scientificNameAuthorship`
`dwc:nomenclaturalStatus`
`dwc:namePublishedIn`
`dwc:namePublishedInYear`
`dwc:nomenclaturalCode`
`dwc:originalNameUsage`
`dwc:taxonomicStatus`
`dwc:parentNameUsage`
`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. As an alternative, use the object property `dwciri:toTaxon` to link the subject `dwc:Identification` instance to a taxonomic entity such as a taxon, taxon concept, or taxon name use. It is likely that these taxonomic entities will have a complex structure which differentiates among name entities, name strings, application of a name to a concept, which expresses parent/child and set relationships among entities, and which 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`
`dwc:continent`
`dwc:waterBody`
`dwc:islandGroup`
`dwc:island`
`dwc:countryCode`
`dwc:country`
`dwc:stateProvince`
`dwc:county`
`dwc:municipality`
`dwc:locality` | The subject resource should be a `dcterms:Location` instance. As an alternative, use the object property `dwciri:inDescribedPlace` 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`
`dwc:latestEonOrHighestEonothem`
`dwc:earliestEraOrLowestErathem`
`dwc:latestEraOrHighestErathem`
`dwc:earliestPeriodOrLowestSystem`
`dwc:latestPeriodOrHighestSystem`
`dwc:earliestEpochOrLowestSeries`
`dwc:latestEpochOrHighestSeries`
`dwc:earliestAgeOrLowestStage`
`dwc:latestAgeOrHighestStage` | The subject resource should be a `dwc:GeologicalContext` instance. As an alternative, use the object properties `dwciri:earliestGeochronologicalEra` and `dwciri:latestGeochronologicalEra` 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`
`dwc:group`
`dwc:formation`
`dwc:member`
`dwc:bed` | The subject resource should be a `dwc:GeologicalContext` instance. As an alternative, use the object property `dwciri:fromLithostratigraphicUnit` to link the subject resource to the lowest appropriate unit of a lithostratigraphic hierarchy. + +### 3.6 `dwciri:` terms having local names that don’t correspond to terms in the `dwc:` Darwin Core namespace (normative) + +Darwin Core term | Notes +--- | --- +`dwciri:inCollection` | Use to link any subject resource that is part of a collection to the collection containing the resource. Recommended best practice is to use IRIs from [Global Registry of Biorepositories](http://grbio.org/). For details, see the list of sources of controlled values in the [Darwin Core informative ancillary web page](https://github.com/tdwg/rdf/blob/master/DwCAncillary.md). See [Section 2.7.3](#273-ownership-of-a-collection-item-normative) for usage details. +`dwciri:toTaxon` | Use to link a `dwc:Identification` instance subject to a taxonomic entity such as a taxon, taxon concept, or taxon name use. See [Section 2.7.4](#274-description-of-a-taxonomic-entity-normative) for usage details. +`dwciri:inDescribedPlace` | Use 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/). For details, see the list of sources of controlled values in the [Darwin Core informative ancillary web page](https://github.com/tdwg/rdf/blob/master/DwCAncillary.md). See [Section 2.7.5](#275-names-of-geographic-subdivisions-normative) for usage details. +`dwciri:earliestGeochronologicalEra`
`dwciri:latestGeochronologicalEra` | Use 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/). For details, see the list of sources of controlled values in the [Darwin Core informative ancillary web page](https://github.com/tdwg/rdf/blob/master/DwCAncillary.md). See [Section 2.7.6](#276-chronostratographic-geological-timescale-descriptors-normative) for usage details. +`dwciri:fromLithostratigraphicUnit` | Use 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 can 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 +--- | --- +`dwc:recordedBy`
`dwc:identifiedBy`
`dwc:georeferencedBy`
`dwc:measurementDeterminedBy` | The object is an agent; use 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. Use a well-known IRI when possible, such as an HTTP-proxied DOI. +`dwc:georeferenceProtocol`
`dwc:georeferenceSources`
`dwc:samplingProtocol` | The object is a published or well-known reference; use an IRI version (preferably HTTP proxied) of doi, isbn, issn, etc. if available. +`dwc:sex`
`dwc:lifeStage`
`dwc:reproductiveCondition`
`dwc:establishmentMeans`
`dwc:behavior`
`dwc:occurrenceStatus`
`dwc:disposition`
`dwc:verbatimCoordinateSystem`
`dwc:verbatimSRS`
`dwc:geodeticDatum`
`dwc:georeferenceVerificationStatus`
`dwc:footprintWKT`
`dwc:footprintSRS`
`dwc:lowestBiostratigraphicZone`
`dwc:highestBiostratigraphicZone`
`dwc:identificationVerificationStatus`
`dwc:identificationQualifier`
`dwc:preparations`
`dwc:typeStatus`
`dwc:measurementType`
`dwc:measurementUnit`
`dwc:measurementMethod` | Recommended best practice is to use a controlled vocabulary if one is available. +`dwc:informationWithheld`
`dwc:dataGeneralizations`
`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. +`dwc:fieldNumber`
`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) + +Darwin Core term | Notes +--- | --- +`dwc:relationshipOfResource`
`dwc:relationshipAccordingTo` | The non-RDF use of terms organized under the `dwc:ResourceRelationship` class depends on values for `dwc:resourceID` 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`
`dwc:associatedMedia`
`dwc:associatedSequences`
`dwc:associatedTaxa`
`dwc:associatedOrganisms` | Use `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, use same object property as used for the most recent identification but provide an earlier dwc:dateIdentified value. +`dwc:organismScope` | Use `rdf:type` with a non-literal object. See the comment at http://rs.tdwg.org/dwc/terms/organismScope. diff --git a/docs/rdf/index.md b/docs/rdf/index.md index 9b8f8fc..86b09cd 100644 --- a/docs/rdf/index.md +++ b/docs/rdf/index.md @@ -4,7 +4,7 @@ Title : Darwin Core RDF guide Date version issued -: 2016-04-25 +: 2021-07-15 Date created : 2015-03-27 @@ -13,13 +13,13 @@ Part of TDWG Standard : This version -: +: Latest version : Previous version -: +: 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. @@ -31,7 +31,7 @@ Creator : Darwin Core and RDF/OWL Task Groups Bibliographic citation -: Darwin Core and RDF/OWL Task Groups. 2015. Darwin Core RDF guide. Biodiversity Information Standards (TDWG). +: Darwin Core and RDF/OWL Task Groups. 2015. Darwin Core RDF guide. Biodiversity Information Standards (TDWG). ## 1 Introduction (non-normative) @@ -1366,7 +1366,7 @@ Darwin Core term | Notes on expressing as RDF --- | --- `dwc:eventDate`
`dwc:georeferencedDate`
`dwc:dateIdentified`
`dwc:relationshipEstablishedDate`
`dwc:measurementDeterminedDate` | These date terms have range `rdfs:Literal`[^8]. Best practice as specified in the term definition recommends that they should be formatted according to [ISO 8601:2004(E)](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:2004(E), 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:2004(E), 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:2004(E). `dwc:eventTime` | It is recommended that the format described by [ISO 8601:2004(E)](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:2004(E), 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:2004(E) 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`
`dwc:decimalLatitude`
`dwc:decimalLongitude`
`dwc:coordinatePrecision`
`dwc:pointRadiusSpatialFit`
`dwc:coordinateUncertaintyInMeters`
`dwc:minimumElevationInMeters`
`dwc:maximumElevationInMeters`
`dwc:minimumDepthInMeters`
`dwc:maximumDepthInMeters`
`dwc:minimumDistanceAboveSurfaceInMeters`
`dwc:maximumDistanceAboveSurfaceInMeters`
`dwc:startDayOfYear`
`dwc:endDayOfYear`
`dwc:year`
`dwc:month`
`dwc:day`
`dwc:footprintSpatialFit`
`dwc:measurementValue`
`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:individualCount`
`dwc:decimalLatitude`
`dwc:decimalLongitude`
`dwc:coordinatePrecision`
`dwc:pointRadiusSpatialFit`
`dwc:coordinateUncertaintyInMeters`
`dwc:minimumElevationInMeters`
`dwc:maximumElevationInMeters`
`dwc:minimumDepthInMeters`
`dwc:maximumDepthInMeters`
`dwc:minimumDistanceAboveSurfaceInMeters`
`dwc:maximumDistanceAboveSurfaceInMeters`
`dwc:startDayOfYear`
`dwc:endDayOfYear`
`dwc:year`
`dwc:month`
`dwc:day`
`dwc:footprintSpatialFit`
`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`
`dwc:eventRemarks`
`dwc:locationRemarks`
`dwc:georeferenceRemarks`
`dwc:identificationRemarks`
`dwc:taxonRemarks`
`dwc:organismRemarks`
`dwc:relationshipRemarks`
`dwc:measurementRemarks` | Because these are remarks, they are expected to have literal values with an `xml:lang` attribute. `dwc:catalogNumber`
`dwc:samplingEffort`
`dwc:organismName`
`dwc:verbatimEventDate`
`dwc:verbatimLocality`
`dwc:verbatimElevation`
`dwc:verbatimCoordinates`
`dwc:verbatimLatitude`
`dwc:verbatimLongitude`
`dwc:verbatimDepth`
`dwc:verbatumTaxonRank` | Based on their term definitions, these terms are expected to 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. @@ -1405,7 +1405,7 @@ Darwin Core term having a `dwciri:` analogue with the same local name | Notes on `dwc:recordedBy`
`dwc:identifiedBy`
`dwc:georeferencedBy`
`dwc:measurementDeterminedBy` | The object is an agent; use 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. Use a well-known IRI when possible, such as an HTTP-proxied DOI. `dwc:georeferenceProtocol`
`dwc:georeferenceSources`
`dwc:samplingProtocol` | The object is a published or well-known reference; use an IRI version (preferably HTTP proxied) of doi, isbn, issn, etc. if available. -`dwc:sex`
`dwc:lifeStage`
`dwc:reproductiveCondition`
`dwc:establishmentMeans`
`dwc:behavior`
`dwc:occurrenceStatus`
`dwc:disposition`
`dwc:verbatimCoordinateSystem`
`dwc:verbatimSRS`
`dwc:geodeticDatum`
`dwc:georeferenceVerificationStatus`
`dwc:footprintWKT`
`dwc:footprintSRS`
`dwc:lowestBiostratigraphicZone`
`dwc:highestBiostratigraphicZone`
`dwc:identificationVerificationStatus`
`dwc:identificationQualifier`
`dwc:preparations`
`dwc:typeStatus`
`dwc:measurementType`
`dwc:measurementUnit`
`dwc:measurementMethod` | Recommended best practice is to use a controlled vocabulary if one is available. +`dwc:sex`
`dwc:lifeStage`
`dwc:reproductiveCondition`
`dwc:establishmentMeans`
`dwc:behavior`
`dwc:occurrenceStatus`
`dwc:disposition`
`dwc:verbatimCoordinateSystem`
`dwc:verbatimSRS`
`dwc:geodeticDatum`
`dwc:verticalDatum`
`dwc:georeferenceVerificationStatus`
`dwc:footprintWKT`
`dwc:footprintSRS`
`dwc:lowestBiostratigraphicZone`
`dwc:highestBiostratigraphicZone`
`dwc:identificationVerificationStatus`
`dwc:identificationQualifier`
`dwc:preparations`
`dwc:typeStatus`
`dwc:measurementType`
`dwc:measurementValue`
`dwc:measurementUnit`
`dwc:measurementMethod` | Recommended best practice is to use a controlled vocabulary if one is available. `dwc:informationWithheld`
`dwc:dataGeneralizations`
`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. `dwc:fieldNumber`
`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.