
| Creator: | Mikael
Nilsson KMR Group, NADA, KTH (Royal Institute of Technology), Sweden Andy Powell Eduserv Foundation, UK Pete Johnston Eduserv Foundation, UK Ambjörn Naeve KMR Group, NADA, KTH (Royal Institute of Technology), Sweden |
|---|---|
| Date Issued: | 2006-05-30 |
| Identifier: | http://dublincore.org/documents/2006/05/29/dc-rdf/ |
| Replaces: | Not applicable |
| Is Replaced By: | Not applicable |
| Latest Version: | http://dublincore.org/documents/dc-rdf/ |
| Status of Document: | This is a DCMI Working Draft. |
| Description of Document: | This document provides draft recommendations for expressing Dublin Core metadata using RDF, the Resource Description Framework. |
References
Acknowledgements
Appendix A: Examples
This document provides draft recommendations for expressing DC metadata using RDF, the Resource Description Framework. It does this by describing how the features of the DCMI Abstract Model [ABSTRACT-MODEL] are represented using the RDF model, as defined by the RDF Concepts and Abstract Syntax specification [RDF-CONCEPTS]. It does not rely on any specific RDF syntax encoding, though examples using the RDF/XML Syntax Specification [RDF-SYNTAX-GRAMMAR] are provided in Appendix A. This will allow Dublin Core metadata to be encoded using this specification in any RDF encoding syntax or other RDF representation system, such as RDF databases.
Subject to public review and discussion in the context of DCMI process, this Working Draft is intended eventually to replace two legacy DCMI documents:
The abstract model of DCMI metadata is defined in the DCMI Abstract Model (DCAM) specification [ABSTRACT-MODEL], and its definition of Dublin Core metadata descriptions can be summarized as follows:
A description is made up of one or more statements (about one, and only one, resource) and zero or one resource URI (a URI that identifies the resource being described).
Each statement instantiates a property/value pair and is made up of a property URI (a URI that identifies a property), zero or one value URI (a URI that identifies a value of the property), zero or one vocabulary encoding scheme URI (a URI that identifies the class of the value) and zero or more value representations of the value.
The value representation may take the form of a value string or a rich representation.
Each value string is a simple, human-readable string that is a representation of the resource that is the value of the property.
Each value string may have an associated syntax encoding scheme URI that identifies a syntax encoding scheme.
Each value string may have an associated value string language that is an ISO language tag (e.g. en-GB).
Each rich representation is some marked-up text, an image, a video, some audio, etc. or some combination thereof that is a representation of the resource that is the value of the property.
Each value may be the subject of a separate related description.
A description set is a set of one or more descriptions about one or more resources.
A DCMI metadata record is a description set that is instantiated according to one of the DCMI expression specifications (XHTML meta tags, XML, RDF/XML, etc.)
An RDF graph is a set of RDF triples
An RDF triple has three components:
an RDF subject, which is an RDF URI reference or a blank RDF node
an RDF predicate, which is an RDF URI reference
an RDF object, which is an RDF URI reference, a blank RDF node or an RDF literal
An RDF literal can be of two kinds:
an RDF plain literal is a character string with an optional associated language tag describing the language of the character string
We will use diagrams to illustrate RDF graphs. A simple triple may look like in the following figure:
![]() |
| The structure of an RDF triple. In this figure, the RDF object is an RDF typed literal |
While a graph consisting of three triples my look like the following:
![]() |
| An RDF graph consisting of three triples, connected via a blank RDF node. |
For further information on RDF, see the RDF Concepts and Abstract Syntax specification [RDF-CONCEPTS], the RDF Vocabulary Description Language [RDF-SCHEMA], and http://www.w3.org/RDF/.
| Namespace abbreviation | Full namespace URI |
|---|---|
| dc | http://purl.org/dc/elements/1.1/ |
| dcterms | http://purl.org/dc/terms/ |
| dcrdf | http://purl.org/dc/rdf/ |
| rdf | http://www.w3.org/1999/02/22-rdf-syntax-ns# |
| rdfs | http://www.w3.org/2000/01/rdf-schema# |
This section describes how each of the constructs in the DCAM should be represented in RDF. The RDF notions used here are defined in the RDF Concepts and Abstract Syntax specification [RDF-CONCEPTS] and the RDF Vocabulary Description Language [RDF-SCHEMA].
DCAM descriptions and resources are represented in the following way:
A DCAM statement is represented using an RDF triple comprising:
The following diagram illustrates the main features of the RDF representation.
![]() |
| The representation of the fundamental DCAM constructs. The notation "@en" represents an RDF language tag, while "^^ex:subjectEncoding" represents an RDF Datatype. |
A DCAM value URI is represented using the RDF URI Reference of the value RDF node.
A DCAM vocabulary encoding scheme URI is represented using an RDF triple comprising:
an RDF subject that is the value RDF node.
an RDF predicate that is
the RDF URI reference rdf:type
an RDF object with a corresponding RDF URI Reference being the DCAM vocabulary encoding scheme URI
A DCAM value string is represented using an RDF triple comprising:
an RDF subject that is the value RDF node
an RDF
predicate that is the RDF URI reference
dcrdf:valueString
an RDF object that is an instance
of rdfs:Literal (either an RDF plain literal or RDF typed literal), containing
the DCAM value string.
A DCAM value string language is represented using a language tag associated with a RDF plain literal occurring as the RDF object of this RDF triple. The language tag is constructed as defined by RFC-3066, normalized to lowercase.
A DCAM syntax encoding scheme URI is represented using the RDF datatype URI associated with a RDF typed literal occurring as the RDF object of this RDF triple.
As a specific exception to the above representation of DCAM value strings, a DCAM value string may be expressed as an RDF literal in the position of the value RDF node. The following conditions on the DCAM statement need to be met for this to be allowed:
rdfs:Datatype or equals
the class rdfs:Literal.rdfs:Literal,
the DCAM value string may not have an associated DCAM value string
language.If the above conditions are met, an RDF literal value can be used as the value RDF node. Otherwise, a literal value RDF node is NOT allowed.
There are two cases:
rdfs:Literal, an RDF plain literal
is
used. The language tag of this RDF plain literal equals the DCAM value
string language, if any.rdfs:Datatype, an
RDF
typed literal is used. The RDF Datatype URI of the RDF typed literal
equals the DCAM syntax encoding scheme URI.The following diagram illustrates the first case, using RDF plain literals:
| DC-TEXT representation | RDF graph |
|---|---|
@prefix rdfs: < | ![]() |
The following diagram illustrates the second case, using RDF types literals:
| DC-TEXT representation | RDF graph |
|---|---|
@prefix xsd: <http://www.w3.org/2001/XMLSchema | ![]() |
A DCAM rich representation is represented using an RDF triple comprising:
an RDF subject that is the value RDF node
an RDF
predicate that is the URI rdfs:seeAlso
an RDF object that is either
an RDF typed literal of type rdfs:XMLLiteral
containing some XML markup that is the DCAM rich representation.
A DCAM related description is represented using RDF triples originating in the value RDF node. The value RDF node will thus be the root of an RDF graph representing any DCAM statements in the DCAM related description.
Note that there is currently no mechanism in this specification for referencing DCAM related description occurring as RDF triples in a different RDF document/model.
A DCAM description set is represented as an RDF graph that includes one or more DCAM descriptions as described above.
A DCAM record is an RDF graph that is encoded using any of the recognised RDF encoding syntaxes.
RDF supports using "domain" and "range" constraints on RDF properties, for limiting the kinds of resources that a property apply to, and the kinds of resources that may occur as values, respectively. This is not currently part of the DCMI Abstract Model. However, some properties may still come with such constraints, expressed formally in RDF schemas or informally in accompanying documentation. It is strongly recommended that metadata implementors be careful to follow such contraints when they exist, to ensure maximum interoperability. This is even more important in RDF than in other expressions of Dublin Core, as RDF adds a well-defined model for automatic processing of domain and range contraints.
Thanks to Tom Baker, the members of the DC Usage Board and the members of the DC Architecture Working Group for their comments on previous versions of this document.
The following examples use the DC-TEXT syntax [DC-TEXT] for describing examples of Dublin Core metadata. The corresponding RDF graph is then presented, using the RDF/XML syntax [RDF-SYNTAX-GRAMMAR]. Familiarity with the "striped" RDF/XML syntax is assumed. The W3C RDF Validator [RDF-VALIDATOR] service may be used to convert these RDF/XML samples to triples and graphs.
| Description | DC-TEXT representation | RDF/XML representation |
|---|---|---|
| A description with a single statement, which uses a value URI to identify the value. | @prefix dc: <http://purl.org/dc/elements/1.1/> . |
<rdf:RDF xmlns:rdf=" |
| A description with a single statement, which uses a single value string and a vocabulary encoding scheme to describe the value. | @prefix dc: <http://purl.org/dc/elements/1.1/> . |
<rdf:RDF xmlns:rdf=" |
| A description with a single statement, which uses a single language-tagged value string and the vocabulary encoding scheme rdfs:Literal. This example uses the RDF shorthand for plain literals. | @prefix rdfs: < |
<rdf:RDF xmlns:rdf=" |
| A description with a single statement, which uses a single value string using a syntax encoding scheme that equals the vocabulary encoding scheme. This example uses the RDF shorthand for typed literals. | @prefix xsd: <http://www.w3.org/2001/XMLSchema |
<rdf:RDF xmlns:rdf=" |
| A description with a single statement, which uses two value strings, one language tagged and one using a syntax encoding scheme, a vocabulary encoding scheme for the value and a value URI identifying the value. | @prefix dc: <http://purl.org/dc/elements/1.1/> . |
<rdf:RDF xmlns:rdf=" |
| A description with a single statement, which uses a single value string, a vocabulary encoding scheme and a value URI, together with a related description of the value. The related description has a single statement, which only has a value URI. | @prefix dc: <http://purl.org/dc/elements/1.1/> . |
<rdf:RDF xmlns:rdf=" |
| A description with a single statement, which uses a value URI but no resource URI. | @prefix dc: <http://purl.org/dc/elements/1.1/> . |
<rdf:RDF xmlns:rdf=" |
| A description with a single statement, which uses a value string and a vocabulary encoding scheme, but no value URI. A related description of the value has a single statement, which uses a value URI but no resource URI. | @prefix dc: <http://purl.org/dc/elements/1.1/> . |
<rdf:RDF xmlns:rdf=" |
Copyright © 1995-2012 DCMI. All Rights Reserved.