---
url: "https://www.w3.org/WAI/ER/Content-in-RDF/"
titulek: "Representing Content in RDF 1.0"
h1: "Representing Content in RDF 1.0"
popis: ""
jazyk: "en"
kanonicka: ""
drobecky: []
zdroj: "live"
wayback_snapshot: ""
stazeno: "2026-09-14 02:57:24"
znaku: 30763
slov: 3800
kodovani: "utf-8"
sha256: "377fe886073f1319c6b0e52069577881de79073c509f53879c81151994660f1f"
---
[contents]
# Representing Content in RDF 1.0
## W3C Editors Draft 2 May 2011
This version:
[http://www.w3.org/WAI/ER/Content/WD-Content-in-RDF10-20110502](https://www.w3.org/WAI/ER/Content/WD-Content-in-RDF10-20110502)
Latest published version:
[http://www.w3.org/TR/Content-in-RDF/](https://www.w3.org/TR/Content-in-RDF/)
Latest internal version:
[http://www.w3.org/WAI/ER/Content-in-RDF/](https://www.w3.org/WAI/ER/Content-in-RDF/)
Previous published version:
[http://www.w3.org/TR/2009/WD-Content-in-RDF10-20091029/](https://www.w3.org/TR/2009/WD-Content-in-RDF10-20091029/)
Previous internal version:
[http://www.w3.org/WAI/ER/Content/WD-Content-in-RDF-1.0-20090625](https://www.w3.org/WAI/ER/Content/WD-Content-in-RDF-1.0-20090625)
Editors:
Johannes Koch (until November 2010 while at Fraunhofer Institute for Applied Information Technology FIT)
Carlos A Velasco, Fraunhofer Institute for Applied Information Technology FIT
Philip Ackermann, Fraunhofer Institute for Applied Information Technology FIT
The terms defined by this document are also provided in [RDF Schema](https://www.w3.org/2011/content) format.
[Copyright](https://www.w3.org/Consortium/Legal/ipr-notice#Copyright) © 2011 [W3C](https://www.w3.org/)® ([MIT](http://www.csail.mit.edu/), [ERCIM](http://www.ercim.org/), [Keio](http://www.keio.ac.jp/)), All Rights Reserved. W3C [liability](https://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer), [trademark](https://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks) and [document use](https://www.w3.org/Consortium/Legal/copyright-documents) rules apply.
---
## Abstract
This document is a specification for a vocabulary to represent content in the Resource Description Framework (RDF). This vocabulary is intended to provide a flexible framework within different usage scenarios to semantically represent any type of content, be it on the Web or in local storage media. For example, it can be used by web quality assurance tools such as web accessibility evaluation tools to record a representation of the assessed web content, including text, images, or other types of formats. In many cases, it can be used together with [HTTP Vocabulary in RDF 1.0](https://www.w3.org/TR/HTTP-in-RDF10/), which allows quality assurance tools to record the HTTP headers that have been exchanged between a client and a server. This is particularly useful for quality assurance testing, conformance claims, and reporting languages like the [W3C Evaluation And Report Language (EARL)](https://www.w3.org/WAI/intro/earl.php).
## Status of this document
*This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the [W3C technical reports index](https://www.w3.org/TR/) at http://www.w3.org/TR/.*
This 2 May 2011 Editors Draft of Representing Content in RDF 1.0 is an update of the previous [Representing Content in RDF Working Draft of 29 October 2009](https://www.w3.org/TR/2009/WD-Content-in-RDF10-20091029/), and it incorporates all comments received since. This document is part of the [W3C Evaluation And Report Language (EARL)](https://www.w3.org/WAI/intro/earl) but can be reused in other contexts too. This document is intended to be published and maintained as a W3C Working Group Note after review and refinement.
The Evaluation and Repair Tools Working Group (ERT WG) believes it has addressed all issues brought forth through previous Working Draft iterations. The Working Group encourages feedback about this document, Representing Content in RDF 1.0, by developers and researchers who have interest in software-supported evaluation and validation of websites, and by developers and researchers who have interest in Semantic Web technologies for content description, annotation, and adaptation. In particular, feedback from the groups involved in the W3C Semantic Web Activity, especially the Semantic Web Coordination Group, the Semantic Web Deployment Working Group, and the Semantic Web Interest Group would be greatly appreciated.
Please send comments on this Representing Content in RDF 1.0 document by **@@@** to [public-earl10-comments@w3.org](mailto:public-earl10-comments@w3.org) (publicly visible [mailing list archive](http://lists.w3.org/Archives/Public/public-earl10-comments/)).
Publication as a Working Draft does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.
This document has been produced by the [Evaluation and Repair Tools Working Group (ERT WG)](https://www.w3.org/WAI/ER/) as part of the [Web Accessibility Initiative (WAI) Technical Activity](https://www.w3.org/WAI/Technical/Activity).
This document was produced by a group operating under the [5 February 2004 W3C Patent Policy](https://www.w3.org/Consortium/Patent-Policy-20040205/). The group does not expect this document to become a W3C Recommendation. W3C maintains a [public list of any patent disclosures](https://www.w3.org/2004/01/pp-impl/32094/status) made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains [Essential Claim(s)](https://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential) must disclose the information in accordance with [section 6 of the W3C Patent Policy](https://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure).
---
## Table of Contents
1. Introduction
- 1.1 Namespaces
- 1.2 Use Cases
2. Classes
- 2.1 Content Class
- 2.1.1 ContentAsBase64
Class
- 2.1.2 ContentAsText
Class
- 2.1.3 ContentAsXML Class
- 2.2 DoctypeDecl Class
3. Properties
- 3.1 bytes Property
- 3.2
characterEncoding
- 3.3 chars Property
- 3.4 declaredEncoding
Property
- 3.5 doctypeName Property
- 3.6 dtDecl Property
- 3.7 internalSubset
Property
- 3.8 leadingMisc Property
- 3.9 publicId Property
- 3.10 rest Property
- 3.11 standalone Property
- 3.12 systemId Property
- 3.13 version Property
4. Usage scenarios
5. Limitations of the vocabulary
### Appendices
1. A practical example
2. Terms
3. Mapping between DOM and Content-in-RDF properties
4. References
5. Contributors
6. Document Changes
---
## 1
Introduction
This document is the specification for a vocabulary
to represent Content in the Resource Description Framework
(RDF). There is a wide variety of scenarios (see section
below) where a representation of any type of content, either on the Web or in
any local storage media, is necessary. This specification provides an
RDF application that allows to present semantically such
content. The vocabulary is built in a flexible manner, thus there are no
limitations known at the time of writing this specification. It also provides
opportunities for extensions to match particular needs of its users.
This document assumes the following background knowledge:
- Basic knowledge of the Extensible Markup Language
( XML ) [ XML ] and its associated
technologies.
- Basic knowledge about the Semantic Web and RDF . For
references, consult [ RDF ], [ RDF-PRIMER ] and [ RDFS ].
The terms defined by this document can be used as part of the [W3C Evaluation And Report Language (EARL)](https://www.w3.org/WAI/intro/earl) and in other contexts too. [Developer Guide for Evaluation and Report Language (EARL) 1.0](https://www.w3.org/TR/EARL10-Guide/) explains how to implement and use EARL, including conformance requirements for software tools.
Although the concepts of the Semantic Web are simple, their
abstraction with RDF is known to bring difficulties to
beginners. It is recommended to read carefully the aforementioned references
and other tutorials found on the Web. It must be also borne in mind that
RDF is primarily targeted to be machine processable, and
therefore, some of its expressions are not very intuitive for developers used
to work with XML only. The examples will be serialized
using the abbreviated RDF/XML
notation.
The keywords **must**,
**required**, **recommended**,
**should**, **may**, and **optional**
are used in accordance with [RFC2119].
For
limitations of this vocabulary, see section 5.
### 1.1 Namespaces
Table 1 presents the namespaces typically used by
this vocabulary. The core namespace has the URI `http://www.w3.org/2011/content#` and the prefix `cnt`.
The prefix notation presents the typical conventions used in the Web and in
this document to denote a given namespace, and can be freely modified.
| Namespace prefix | Namespace URI | Description |
| --- | --- | --- |
| `cnt` | `http://www.w3.org/2011/content#` | Namespace for Representing Content in RDF. |
| `dct` | `http://purl.org/dc/terms/` | Namespace for Dublin Core Metadata Terms. |
| `owl` | `http://www.w3.org/2002/07/owl#` | Namespace for OWL [OWL]. |
| `rdf` | `http://www.w3.org/1999/02/22-rdf-syntax-ns#` | Namespace for RDF [RDF]. |
### 1.2 Use cases
As
stated earlier, this framework is designed in an open way to facilitate
different implementation scenarios. The origin of the application comes from
vocabularies describing testing scenarios like the Evaluation And Report
Language (EARL) [EARL]. Typical
applications could be:
- Applications dealing with retrieval, editing and storage of content.
For example, an archiving application could store in a database annotated
media content that includes a serialization of the media files with this
vocabulary.
- Applications dealing with the exchange of text documents and other
types of media, like Web Services. For example, an AJAX application could
exchange document fragments and images with a Web server to react to
different user actions.
- Applications dealing with the testing and/or repair of content. For
example, an accessibility testing tool could store together with the
results of a compliance test, the tested Web resources to ensure that the
correct version of the tested subject is available to the developers.
## 2
Classes
This section presents a description of the classes of this
RDF vocabulary. We
present every class together with its subclasses. We also include whenever
relevant short snippets and examples.
### 2.1 Content Class
[Editor's note: The Working Group has introduced the use of the properties `dct:hasFormat` and `dct:isFormatOf` to allow different representations of the same content; comments on this approach is welcome.]
The `cnt:Content`
class is an overarching class for any content that could be found on the Web,
in an Intranet or in local storage media, for example. It is recommended
always to use one of its subclasses. There is no restriction within the
vocabulary scope on what can be represented with this class: textual content,
XML files, binary files
(e.g., images or movies), etc.
There are
three subclasses from the `Content` class: `cnt:ContentAsBase64`, `cnt:ContentAsText` and `cnt:ContentAsXML`.
In order
to connect resources with different `cnt:Content` sub-types with
each other, use the `dct:hasFormat` and `dct:isFormatOf`
properties to point to each other. E.g. if there is an
XML resource transmitted via HTTP, the original version would
be a `cnt:ContentAsBase64` resource. But
`cnt:ContentAsText` and `cnt:ContentAsXML` resource
could also be created and point to the `cnt:ContentAsBase64`
resource.
#### Examples
**Example 2.1:** This example shows how to relate derived
resources to the original resource.
```
```
#### Related Properties
- Domain of:
- [`dct:hasFormat`](http://dublincore.org/documents/dcmi-terms/#terms-hasFormat)
- [`dct:isFormatOf`](http://dublincore.org/documents/dcmi-terms/#terms-isFormatOf)
- Range of: none
#### 2.1.1
ContentAsBase64 Class
The `cnt:ContentAsBase64` class
is a subclass of the `cnt:Content`
class for Base64 encoded binary content (as defined by [RFC2045]) and can be used for any type of content,
although its more typical use case is for binary files.
##### Related Properties
- Domain of:
- `cnt:bytes`
- `cnt:characterEncoding`
- Range of: none
##### Examples
**Example 2.2:** This example displays the representation of
the [W3C logo](https://www.w3.org/Icons/w3c_home) as a
`ContentAsBase64` resource. (Note: due to its length, the encoded
string has been chunked until `{...}`.)
```
77+9UE5HDQoaCgAAAA1JSERSAAAASAAAADAIAwAAAO+{...}
```
#### 2.1.2 ContentAsText Class
The
`cnt:ContentAsText` class is a subclass of the `cnt:Content` class for any type of
textual content.
##### Related Properties
- Domain of:
- `cnt:chars`
- `cnt:characterEncoding`
- Range of: none
##### Examples
**Example 2.3:** The following example represents a Cascading
Style Sheet (CSS) file as a `ContentAsText`
resource.
```
UTF-8
body {
color: #000;
background: #fff
}
h1 {
font-size: 1.6em
}
h2 {
font-size: 1.3em
}
```
#### 2.1.3 ContentAsXML Class
The
`cnt:ContentAsXML` class is a subclass of the `cnt:Content` class only for wellformed
XML content.
##### Related
Properties
- Domain of:
- `cnt:characterEncoding`
- `cnt:declaredEncoding`
- `cnt:dtDecl`
- `cnt:leadingMisc`
- `cnt:rest`
- `cnt:standalone`
- `cnt:version`
- Range of: none
See the Mapping between the Document Object
Model (DOM) and the Content-in-RDF vocabulary.
##### Examples
**Example 2.4:** The XHTML page with the
following source code:
```
The title
Some paragraph.
```
could be represented as this `ContentAsXML`
resource.
```
The title
Some paragraph.
```
For the use of
`leadingMisc` and `dtDecl` see Appendix A: A practical example.
### 2.2 DoctypeDecl Class
A document type declaration. This class is normally used in conjunction
with the `ContentAsXML` class,
when the corresponding XML resource contains a document
type declaration. The relation is expressed via the `dtDecl`
property.
#### Related Properties
- Domain of:
- `cnt:doctypeName`
- `cnt:internalSubset`
- `cnt:publicId`
- `cnt:systemId`
- Range of:
- `cnt:dtDecl`
See the Mapping between the Document Object
Model (DOM) and the Content-in-RDF vocabulary.
#### Examples
**Example 2.6:** A typical XHTML 1.0 Strict
document type declaration:
```
```
could be
represented as the following `DoctypeDecl` resource:
```
html
-//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
```
## 3 Properties
This section
presents a description of the properties of this RDF vocabulary.
### 3.1 bytes Property
Character string representing the Base64 encoded byte sequence of the given
content.
Domain:
`cnt:ContentAsBase64`
Range:
Base64 encoded bytes
(`http://www.w3.org/2001/XMLSchema#base64Binary`)
### 3.2 characterEncoding Property
The character encoding.
- When used with `ContentAsBase64` : If the byte sequence was
created from a given character sequence this property can be used to store
the character encoding that was applied to create the byte sequence.
- When used with `ContentAsText` : If the character sequence
was created from a given byte sequence this property can be used to store
the character encoding that was applied to create the character
sequence.
- When used with `ContentAsXML` : If the parser's input
character stream was created from a given byte stream this property can be
used to store the character encoding that was applied to create the
character stream. **Note:** This is the **used** character encoding, not the one declared in an XML declaration.
Domain:
`cnt:Content`
Range:
Literal
### 3.3 chars
Property
The character sequence of the given content.
Domain:
`cnt:ContentAsText`
Range:
Literal
### 3.4 declaredEncoding Property
The
character encoding specified in the XML declaration.
Domain:
`cnt:ContentAsXML`
Range:
Literal
### 3.5
doctypeName Property
The document type name.
Domain:
`cnt:DoctypeDecl`
Range:
Literal
### 3.6 dtDecl
Property
This property relates an XML Content to its Document Type
Declaration.
Domain:
`cnt:ContentAsXML`
Range:
`cnt:DoctypeDecl`
### 3.7
internalSubset Property
The internal subset of a document type
declaration.
Domain:
`cnt:DoctypeDecl`
Range:
Literal
### 3.8
leadingMisc Property
The part of the XML information items
(whitespace, comments and processing instructions) following the
XML declaration and preceding the document type declaration
if there is one.
Domain:
`cnt:ContentAsXML`
Range:
XML Literal
### 3.9 publicId
Property
The formal public identifier of a document type
declaration.
Domain:
`cnt:DoctypeDecl`
Range:
Literal
### 3.10 rest
Property
- The part of the XML information items
following the document type declaration if there is a document type
declaration, or
- the part following the XML declaration if there is
no document type declaration, or
- the whole XML information items if there is neither XML declaration nor document type declaration.
It contains comments, processing instructions and the root
element.
Domain:
`cnt:ContentAsXML`
Range:
XML Literal
### 3.11
standalone Property
The standalone document declaration.
Domain:
`cnt:ContentAsXML`
Range:
Literal
### 3.12 systemId
Property
The system identifier of a document type declaration.
Domain:
`cnt:DoctypeDecl`
Range:
Literal typed as URI
(`http://www.w3.org/2001/XMLSchema#anyURI`)
### 3.13 version
Property
The XML version specified in the
XML declaration.
Domain:
`cnt:ContentAsXML`
Range:
Literal
## 5 Usage
scenarios
We have identified some situations to make clear when to
create which type of content resources. The following are only recommendations
and are non-normative:
### Situation
A: byte sequence of non-text content
This includes images,
multimedia, or other non-text resources. The byte sequence is recorded in
Base64 format and represented as a literal using the `cnt:bytes`
property of the `cnt:ContentAsBase64`. Non-text content should not
be represented using `cnt:ContentAsText`.
### Situation B: byte sequence of text content
with appropriate character encoding information
This includes
HTML, CSS, client-side script, or other
text-based resources. Given the byte sequence of text content
(byteSeq) received from a Web server and an appropriate character
encoding (ce). byteSeq is recorded in Base64 format and
represented as a literal using the `cnt:bytes` property of the
`cnt:ContentAsBase64`.
After transforming the
byteSeq to a character sequence charSeq using character
encoding ce, charSeq is represented as a literal using
the `cnt:chars` property of the `cnt:ContentAsText` and
`ce` as a literal usind the `cnt:characterEncoding`
property.
### Situation C: byte
sequence of text content with inappropriate character encoding
information
Given the byte sequence of text content
(byteSeq) received from a Web server and an inappropriate character
encoding (ce). byteSeq is recorded in Base64 format and
represented as a literal using the `cnt:bytes` property of the
`cnt:ContentAsBase64`. Because transforming byteSeq to a
character sequence charSeq using character encoding ce
fails, no `cnt:ContentAsText` resource can be created.
### Situation D: character sequence of text
content with appropriate character encoding information
Given the
character sequence of text content (charSeq) created in memory and
an appropriate character encoding (ce). A
`cnt:ContentAsText` resource may be created with a
`cnt:chars` property with an object literal created from
`charSeq`. After transforming charSeq to byte sequence
byteSeq using character encoding ce, a
`cnt:ContentAsBase64` resource may be created with
`cnt:bytes` property with an object literal byteSeq and
`cnt:characterEncoding` property with an object literal
ce.
### Situation E: byte
sequence of XML content
with appropriate character encoding information
Given the byte
sequence of wellformed XML content (byteSeq)
received from a Web server and an appropriate character encoding
(ce). `cnt:ContentAsBase64` and
`cnt:ContentAsText` resources may be created as in situation B.
Additionally, an `cnt:ContentAsXML` resource may be created.
### Situation F: Document Object Model
(DOM) changed in memory
Given a
DOM Document in memory, originally created by parsing some
XML source, but afterwards changed by
DOM operations. A `cnt:XMLDecl` resource may be
created from the information in the Document node itself (version,
declaredEncoding and standalone), and a `cnt:DoctypeDecl` resource
from the information in the DocumentType node. A `cnt:ContentAsXML`
resource may be created after serializing the relevant child nodes of the
Document node to create object literals for `cnt:leadingMisc`
(serialize Comment and ProcessingInstruction nodes preceding a DocumentType
node) and `cnt:rest` (serialize nodes following a DocumentType
node). See the Mapping between the Document Object
Model (DOM) and Content-in-RDF properties.
## 6 Limitations of the
vocabulary
The vocabulary provides a framework that allows the
representation of any type of content. Of course, there are many possibilities
for extensions that will allow the inclusion of additional metadata, like,
e.g., that included in some multimedia formats. Typical scenarios
for extensions could be:
- Classes to specify the [Document
Object Model (DOM)](https://www.w3.org/DOM/DOMTR) of XML or
HTML documents.
- Classes to specify the metadata of multimedia content like audio or
image files.
- Properties to ensure the integrity of data by providing some kind of
checksum algorithm.
However, at the point of writing this specification, the Working
Group has decided to provide the basic framework that will support the
immediate needs of vocabularies using this specification like the Evaluation
and Report Language (EARL) [EARL],
leaving the room open for further extensions as new use cases are presented to
us.
## Appendix
A: A practical example
To understand the versatility of the
vocabulary, let us assume we have a given XHTML page containing
an XML declaration, a
comment preceding a document type declaration and some
XHTML elements.
**Example 2.6:** A typical XHTML page.
```
The title
Some paragraph.
```
This page could be represented as simple `ContentAsText`:
```
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!-- this is a comment -->
<!DOCTYPE html "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>The title</title>
</head>
<body>
<p>Some paragraph.</p>
</body>
</html>
```
or likewise as `ContentAsXML`. As the comment
`` precedes the document type
declaration a `cnt:leadingMisc` property is created with its object
literal containing the comment. The document type declaration is modelled as a
`DoctypeDecl` resource and refered to from the
`cnt:ContentAsXML` resource by the `cnt:dtDecl`
property.
```
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
-//W3C//DTD XHTML 1.0 Strict//EN
html
1.0
UTF-8
no
The title
Some paragraph.
```
## Appendix B:
Terms
The following terms are defined by this specification:
### Classes
| Class name | Label | Comment | Refinements | Related properties |
| --- | --- | --- | --- | --- |
| `cnt:Content` | Content | The content. | cnt:ContentAsBase64, cnt:ContentAsText, cnt:ContentAsXML | |
| `cnt:ContentAsBase64` | Base64 Content | The base64 encoded content (can be used for binary content). | - | cnt:bytes, cnt:characterEncoding |
| `cnt:ContentAsText` | Text Content | The text content (can be used for text content). | - | cnt:chars, cnt:characterEncoding |
| `cnt:ContentAsXML` | XML
content | The XML content (can be used for
XML-wellformed content). | - | cnt:version, cnt:declaredEncoding, cnt:standalone, cnt:leadingMisc, cnt:dtDecl, cnt:rest, cnt:characterEncoding |
| `cnt:DoctypeDecl` | Document type declaration | The document type declaration. | - | cnt:doctypeName, cnt:internalSubset, cnt:publicId, cnt:systemId |
### Properties
| Property name | Label | Comment | Domain | Range |
| --- | --- | --- | --- | --- |
| `cnt:bytes` | Base64 encoded byte sequence | The Base64 encoded byte sequence of the content. | `cnt:ContentAsBase64` | `http://www.w3.org/2001/XMLSchema#base64Binary` |
| `cnt:characterEncoding` | Character encoding | The character encoding used to create a character sequence from a
byte sequence or vice versa. | `cnt:Content` | RDF Literal |
| `cnt:chars` | Character sequence | The character sequence of the text content. | `cnt:ContentAsText` | RDF Literal |
| `cnt:declaredEncoding` | XML character encoding | The character encoding declared in the XML
declaration. | `cnt:ContentAsXML` | RDF Literal |
| `cnt:doctypeName` | Document type name | The document type name. | `cnt:DoctypeDecl` | RDF Literal |
| `cnt:dtDecl` | Document type declaration | The document type declaration. | `cnt:ContentAsXML` | `cnt:DoctypeDecl` |
| `cnt:internalSubset` | Internal DTD
subset | The internal document type definition subset within the document
type declarations. | `cnt:DoctypeDecl` | RDF Literal |
| `cnt:leadingMisc` | XML leading misc | The XML content preceding the document type
declaration. | `cnt:ContentAsXML` | XML Literal |
| `cnt:publicId` | Public ID | The document type declarations's public identifier. | `cnt:DoctypeDecl` | RDF Literal |
| `cnt:rest` | XML rest | The XML content following the document type
declaration. | `cnt:ContentAsXML` | XML Literal |
| `cnt:standalone` | XML standalone document declaration | The standalone declaration in the XML
declaration. | `cnt:ContentAsXML` | RDF Literal |
| `cnt:systemId` | System ID | The document type declarations's system identifier (typed:
xsd:anyURI) | `cnt:DoctypeDecl` | `http://www.w3.org/2001/XMLSchema#anyURI` |
| `cnt:version` | XML version | The XML version declared in the
XML declaration. | `cnt:ContentAsXML` | RDF Literal |
## Appendix C: Mapping
between the Document Object Model (DOM) and Content-in-RDF
properties
| DOM property | Content-in-RDF property |
| --- | --- |
| `Document.xmlVersion` | `version` |
| `Document.xmlEncoding` | `declaredEncoding` |
| `Document.xmlStandalone` | `standalone` |
| `Document.doctype` | `dtDecl` |
| `DocumentType.name` | `doctypeName` |
| `DocumentType.publicId` | `publicId` |
| `DocumentType.systemId` | `systemId` |
| `DocumentType.internalSubset` | `internalSubset` |
## Appendix D: References
[EARL]
[Evaluation and Report Language
(EARL) 1.0 Schema](https://www.w3.org/TR/EARL10/). W3C Working Draft 28 April
2009.
`http://www.w3.org/TR/EARL10/`
[RDF]
[Resource
Description Framework (RDF) Model and Syntax
Specification](https://www.w3.org/TR/1999/REC-rdf-syntax-19990222/). W3C Recommendation, 22 February
1999.
`http://www.w3.org/TR/1999/REC-rdf-syntax-19990222/`
[RDF-PRIMER]
[RDF
Primer](https://www.w3.org/TR/rdf-primer/). W3C Recommendation, 10 February
2004.
`http://www.w3.org/TR/rdf-primer/`
[RDFS]
[RDF
Vocabulary Description Language 1.0: RDF Schema](https://www.w3.org/TR/rdf-schema/).
W3C Recommendation 10 February
2004.
`http://www.w3.org/TR/rdf-schema/`
[RDF-XML]
[RDF/XML
Syntax Specification (Revised)](https://www.w3.org/TR/rdf-syntax-grammar/). W3C Recommendation 10 February
2004.
`http://www.w3.org/TR/rdf-syntax-grammar/`
[RFC2119]
Request for Comments: 2119. [Key words for use in RFCs to
Indicate Requirement Levels](http://www.ietf.org/rfc/rfc2119.txt), March 1997 (IETF).
`http://www.ietf.org/rfc/rfc2119.txt`
[RFC2045]
Request for Comments: 2045. [Multipurpose Internet Mail
Extensions (MIME) Part One: Format of Internet Message Bodies](http://www.ietf.org/rfc/rfc2045.txt),
November 1996
(IETF).
`http://www.ietf.org/rfc/rfc2045.txt`
[OWL]
[Web Ontology Language
(OWL) Overview](https://www.w3.org/2004/OWL/) - W3C
[XML]
[Extensible Markup Language
(XML) 1.0 (Fifth Edition)](https://www.w3.org/TR/xml/). W3C Recommendation 26
November 2008.
`http://www.w3.org/TR/xml/`
## Appendix E: Contributors
Contributors to this Working Draft: Shadi Abou-Zahra, Philip Ackermann, Carlos Iglesias, Johannes Koch, Michael Squillace, and Carlos Velasco.
## Appendix F: Document Changes
The following is a list of substantial changes since the
[29 October
2009 Working Draft](https://www.w3.org/TR/2009/WD-Content-in-RDF10-20091029/):
- removed `dct:source` from `Content` class
- added `dct:hasFormat` and `dct:isFormatOf` to `Content` class
- removed conformance section
- class and property tables corrected
- schema and schema references updated
- bytes property given a correct datatype
- minor style corrections