delete: <?xml version="1.0" encoding="utf-8"?> delete: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> delete: <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> insert: <!DOCTYPE html> insert: <html lang="en" typeof="bibo:Document w3p:REC" about="" property="dcterms:language" content="en" prefix="bibo: http://purl.org/ontology/bibo/ w3p: http://www.w3.org/2001/02pd/rec54#" xmlns="http://www.w3.org/1999/xhtml"> delete: <meta name="rcsid" content="$Id: diff.html,v 1.1 2014-02-18 12:45:25 ivan Exp $"/> insert: <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <span class="delete">RDF/XML </span> <span class="insert">RDF 1.1 XML </span> Syntax <span class="delete">Specification (Revised) </span> delete: <link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/W3C-REC" /> insert: <style> insert: <style> insert: <style> insert: <link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/W3C-REC" /> delete: <body> delete: <div class="head"> insert: <body class="h-entry" role="document" id="respecDocument"> insert: <div class="head" role="contentinfo" id="respecHeader"> delete: <h2 class="nonum"> delete: <a id="abstract" name="abstract"> insert: <section id="abstract" class="introductory" property="dcterms:abstract" datatype="" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h2 aria-level="1" role="heading" id="h2_abstract">

Abstract delete: </a>

delete: <p> The Resource Description Framework ( delete: <abbr title="Resource Description Framework"> RDF delete: </abbr> ) is a general-purpose language for representing information in the Web. delete: </p>

This document defines an delete: <a href="http://www.w3.org/TR/2000/REC-xml-20001006"> XML delete: </a> syntax for RDF called RDF/XML in terms of delete: <a href="http://www.w3.org/TR/1999/REC-xml-names-19990114/"> Namespaces in XML delete: </a> , the delete: <a href="http://www.w3.org/TR/2001/REC-xml-infoset-20011024/"> XML, the XML Information Set delete: </a> and delete: <a href="http://www.w3.org/TR/2001/REC-xmlbase-20010627/"> and XML Base delete: </a> . The delete: <a href="#section-Infoset-Grammar"> formal grammar delete: </a> for the syntax is annotated with actions generating triples of the delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-rdf-graph"> RDF graph delete: </a> as defined in delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/"> RDF Concepts and Abstract Syntax delete: </a> . The triples are written using the delete: <a href="http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/#ntriples"> N-Triples delete: </a> RDF graph serializing format which enables more precise recording of the mapping in a machine processable form. The mappings are recorded as tests cases, gathered and published in delete: <a href="http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/"> RDF Test Cases delete: </a> . delete: </p> delete: <div class="status"> delete: <h2 class="nonum"> delete: <a id="status" name="status"> Base. insert: </p>

insert: </section>
insert: <section class="introductory" id="sotd" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h2 aria-level="1" role="heading" id="h2_sotd">

Status of this This Document delete: </a>

delete: <p> This document has been reviewed by W3C Members and other interested parties, and it has been endorsed by the Director as a delete: <a href="http://www.w3.org/2003/06/Process-20030618/tr.html#RecsW3C"> W3C Recommendation delete: </a> . W3C's role in making the Recommendation is to draw attention to the specification and to promote its widespread deployment. This enhances the functionality and interoperability of the Web. delete: </p> delete: <p> This is one document in a delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#section-Introduction"> set of six delete: </a> ( delete: <a href="http://www.w3.org/TR/2004/REC-rdf-primer-20040210/"> Primer delete: </a> , delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/"> Concepts delete: </a> , delete: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/"> Syntax delete: </a> , delete: <a href="http://www.w3.org/TR/2004/REC-rdf-mt-20040210/"> Semantics delete: </a> , delete: <a href="http://www.w3.org/TR/2004/REC-rdf-schema-20040210/"> Vocabulary delete: </a> , and delete: <a href="http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/"> Test Cases delete: </a> ) intended to jointly replace the original Resource Description Framework specifications, delete: <a href="http://www.w3.org/TR/1999/REC-rdf-syntax-19990222/"> RDF Model and Syntax (1999 Recommendation) delete: </a> and delete: <a href="http://www.w3.org/TR/2000/CR-rdf-schema-20000327/"> RDF Schema (2000 Candidate Recommendation) delete: </a> . It has been developed by the delete: <a href="http://www.w3.org/2001/sw/RDFCore/"> RDF Core Working Group delete: </a> as part of the delete: <a href="http://www.w3.org/2001/sw/"> W3C Semantic Web Activity delete: </a> ( delete: <a href="http://www.w3.org/2001/sw/Activity"> Activity Statement delete: </a> , delete: <a href="http://www.w3.org/2002/11/swv2/charters/RDFCoreWGCharter"> Group Charter delete: </a> ) for publication on 10 February 2004. delete: </p> delete: <p> Changes to this document since the delete: <a href="http://www.w3.org/TR/2003/PR-rdf-syntax-grammar-20031215/" shape="rect"> Proposed Recommendation Working Draft delete: </a> are detailed in the delete: <a href="#changes" shape="rect"> change log delete: </a> . delete: </p> delete: <p> The public is invited to send comments to delete: <a href="mailto:www-rdf-comments@w3.org"> www-rdf-comments@w3.org delete: </a> ( delete: <a href="http://lists.w3.org/Archives/Public/www-rdf-comments/"> archive delete: </a> ) and to participate in general discussion of related technology on delete: <a href="mailto:www-rdf-interest@w3.org" shape="rect"> www-rdf-interest@w3.org delete: </a> ( delete: <a href="http://lists.w3.org/Archives/Public/www-rdf-interest/" shape="rect"> archive delete: </a> ). delete: </p> delete: <p> A list of delete: <a href="http://www.w3.org/2001/sw/RDFCore/impls"> implementations delete: </a> is available. delete: </p> delete: <p> The W3C maintains a list of delete: <a href="http://www.w3.org/2001/sw/RDFCore/ipr-statements" rel="disclosure"> any patent disclosures related to this work delete: </a> . delete: </p>

This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current insert: <abbr title="World Wide Web Consortium"> W3C insert: </abbr> publications and the latest revision of this technical report can be found in the insert: <abbr title="World Wide Web Consortium"> W3C insert: </abbr> technical reports index at http://www.w3.org/TR/.

delete: </div> delete: <hr /> delete: <div class="toc"> delete: <h2 class="nonum"> delete: <a id="contents" name="contents"> insert: <p>

This document is an edited version of the 2004 RDF XML Syntax Specification Recommendation. The purpose of this revision is to make this document available as part of the RDF 1.1 document set. Changes are limited to revised references, terminology updates, and adaptations to the introduction. The technical content of the document is unchanged, except for the fact that the datatype XMLLiiteral is marked as non-normative in RDF 1.1. The (non-normative) algorithm for parsing XMLLiteral ( insert: <a href="#parseTypeLiteralPropertyElt"> Sec. 7.2.17 insert: </a> ) has been updated to be in line with the current state of XML technology. Details of the changes are listed in the insert: <a href="#changes-rdf11"> Changes insert: </a> section. Since the edits to this document do not invalidate previous implementations the Director decided no new implementation report was required. insert: </p>

insert: <p>

This document was published by the insert: <a href="http://www.w3.org/2011/rdf-wg/"> RDF Working Group insert: </a> as a Recommendation. If you wish to make comments regarding this document, please send them to insert: <a href="mailto:public-rdf-comments@w3.org"> public-rdf-comments@w3.org insert: </a> ( insert: <a href="mailto:public-rdf-comments-request@w3.org?subject=subscribe"> subscribe insert: </a> , insert: <a href="http://lists.w3.org/Archives/Public/public-rdf-comments/"> archives insert: </a> ). All comments are welcome. insert: </p>

insert: <p>

This document has been reviewed by insert: <abbr title="World Wide Web Consortium"> W3C insert: </abbr> Members, by software developers, and by other insert: <abbr title="World Wide Web Consortium"> W3C insert: </abbr> groups and interested parties, and is endorsed by the Director as a insert: <abbr title="World Wide Web Consortium"> W3C insert: </abbr> Recommendation. It is a stable document and may be used as reference material or cited from another document. insert: <abbr title="World Wide Web Consortium"> W3C insert: </abbr> 's role in making the Recommendation is to draw attention to the specification and to promote its widespread deployment. This enhances the functionality and interoperability of the Web. insert: </p>

insert: <p>

This document was produced by a group operating under the insert: <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/" rel="w3p:patentRules" about="" id="sotd_patent"> 5 February 2004 insert: <abbr title="World Wide Web Consortium"> W3C insert: </abbr> Patent Policy insert: </a> . insert: <abbr title="World Wide Web Consortium"> W3C insert: </abbr> maintains a insert: <a rel="disclosure" href="http://www.w3.org/2004/01/pp-impl/46168/status"> public list of any patent disclosures insert: </a> 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 insert: <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential"> Essential Claim(s) insert: </a> must disclose the information in accordance with insert: <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure"> section 6 of the insert: <abbr title="World Wide Web Consortium"> W3C insert: </abbr> Patent Policy insert: </a> . insert: </p>

insert: </section>
insert: <section id="toc">
insert: <h2 class="introductory" aria-level="1" role="heading" id="h2_toc">

Table of Contents delete: </a>

delete: <p class="toc"> 1 delete: <a href="#section-Introduction"> insert: <ul class="toc" role="directory" id="respecContents"> insert: </section>
insert: <section id="section-Introduction" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h2 aria-level="1" role="heading" id="h2_section-Introduction">

insert: <span class="secno"> 1. insert: </span> Introduction delete: </a> delete: <a id="section-Syntax-more" name="section-Syntax-more"> delete: </a>

This document defines the delete: <a href="http://www.w3.org/TR/2000/REC-xml-20001006"> XML delete: </a> delete: <a href="#ref-xml"> [XML] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-XML10"> XML10 insert: </a> insert: </cite> ] syntax for RDF graphs which was originally defined in the delete: <a href="http://www.w3.org/TR/1999/REC-rdf-syntax-19990222/"> RDF Model & Syntax delete: </a> delete: <a href="#ref-rdfms"> [RDF-MS] delete: </a> W3C Recommendation. Subsequent implementations of this syntax and comparison of the resulting RDF graphs have shown that there was ambiguity — implementations generated different graphs and certain syntax forms were not widely implemented. graphs.

This document revises the delete: <a href="http://www.w3.org/TR/1999/REC-rdf-syntax-19990222/#grammar"> original RDF/XML grammar delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-RDFMS"> RDFMS insert: </a> insert: </cite> ] in terms of delete: <a href="http://www.w3.org/TR/2001/REC-xml-infoset-20011024/"> XML Information Set delete: </a> delete: <a href="#ref-xml-infoset"> [INFOSET] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-XML-INFOSET"> XML-INFOSET insert: </a> insert: </cite> ] information items which moves away from the rather low-level details of XML, such as particular forms of empty elements. This allows the grammar to be more precisely recorded and the mapping from the XML syntax to the RDF Graph more clearly shown. The mapping to the RDF graph is done by emitting statements in the form defined N-Triples [ insert: <cite> insert: <a class="bibref" href="#bib-N-TRIPLES"> N-TRIPLES insert: </a> insert: </cite> ] format. insert: </p>

insert: <p>

This document is part of the suite of RDF 1.1 documents. Other documents in the delete: <a href="http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/#ntriples"> N-Triples delete: </a> section of delete: <a href="http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/"> RDF Test Cases delete: </a> delete: <a href="#ref-rdf-tests"> [RDF-TESTS] delete: </a> which creates an RDF graph, that has semantics defined by delete: <a href="http://www.w3.org/TR/2004/REC-rdf-mt-20040210/"> RDF Semantics delete: </a> delete: <a href="#ref-rdf-semantics"> [RDF-SEMANTICS] delete: </a> . delete: </p> delete: <p> The complete specification of RDF consists of a number of documents: this suite are:

For a longer introduction to the RDF/XML syntax with a historical perspective, see delete: <a href="http://www.w3.org/2001/10/stripes/"> RDF: "RDF: Understanding the Striped RDF/XML Syntax delete: </a> delete: <a href="#ref-stripedrdf"> [STRIPEDRDF] delete: </a> . delete: </p> delete: <h2> delete: <a id="section-Syntax" name="section-Syntax"> 2 Syntax" [ insert: <cite> insert: <a class="bibref" href="#bib-STRIPEDRDF"> STRIPEDRDF insert: </a> insert: </cite> ]. insert: </p>

insert: </section>
insert: <section id="section-Syntax" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h2 aria-level="1" role="heading" id="h2_section-Syntax">

insert: <span class="secno"> 2. insert: </span> An XML Syntax for RDF delete: </a>

This section introduces the RDF/XML syntax, describes how it encodes RDF graphs and explains this with examples. If there is any conflict between this informal description and the formal description of the syntax and grammar in sections 6 Syntax Data Model and 7 RDF/XML Grammar , the latter two sections take precedence.

delete: <h3> delete: <a id="section-Syntax-intro" name="section-Syntax-intro"> insert: <section id="section-Syntax-intro" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-Syntax-intro">

insert: <span class="secno"> 2.1 insert: </span> Introduction delete: </a>

The delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/"> RDF Concepts and Abstract Syntax delete: </a> delete: <a href="#ref-rdf-concepts"> [RDF-CONCEPTS] delete: </a> document [ insert: <cite> insert: <a class="bibref" href="#bib-RDF11-CONCEPTS"> RDF11-CONCEPTS insert: </a> insert: </cite> ] defines the delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#section-data-model"> RDF Graph data model delete: </a> (Section 3.1) and the delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#section-Graph-syntax"> and the RDF Graph abstract syntax delete: </a> (Section 6). syntax. Along with the delete: <a href="http://www.w3.org/TR/2004/REC-rdf-mt-20040210/"> RDF Semantics delete: </a> delete: <a href="#ref-rdf-semantics"> [RDF-SEMANTICS] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-RDF11-MT"> RDF11-MT insert: </a> insert: </cite> ] this provides an abstract syntax with a formal semantics for it. The RDF graph has delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-node"> insert: <em> nodes delete: </a> insert: </em> and labeled directed arcs that link pairs of nodes and this is represented as a set of delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-rdf-triple"> RDF triples delete: </a> where each triple contains a subject node , predicate and object node . Nodes are delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> , delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-literal"> RDF literals delete: </a> IRIs, literals, or are delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-blank-node"> blank nodes delete: </a> . nodes. Blank nodes may be given a document-local, non- delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> document-local identifier called a delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-blank-node-id"> blank node identifier delete: </a> . identifier. Predicates are delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> IRIs and can be interpreted as either a relationship between the two nodes or as defining an attribute value (object node) for some subject node.

In order to encode the graph in XML, the nodes and predicates have to be represented in XML terms element names, attribute names, element contents and attribute values. RDF/XML uses XML QNames as defined in delete: <a href="http://www.w3.org/TR/1999/REC-xml-names-19990114/"> Namespaces in XML delete: </a> delete: <a href="#ref-namespaces"> [XML-NS] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-XML-NAMES"> XML-NAMES insert: </a> insert: </cite> ] to represent delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> . IRIs. All QNames have a namespace name which is a URI reference an IRI and a short local name . In addition, QNames can either have a short prefix or be declared with the default namespace declaration and have none (but still have a namespace name)

The delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI represented by a QName is determined by appending the local name part of the QName after the namespace name (URI reference) (IRI) part of the QName. This is used to shorten the delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> IRI of all predicates and some nodes. delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> IRIs identifying subject and object nodes can also be stored as XML attribute values. delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-literal"> RDF literals delete: </a> , which can only be object nodes, become either XML element text content or XML attribute values.

A graph can be considered a collection of paths of the form node, predicate arc, node, predicate arc, node, predicate arc, ... node which cover the entire graph. In RDF/XML these turn into sequences of elements inside elements which alternate between elements for nodes and predicate arcs. This has been called a series of node/arc stripes. The node at the start of the sequence turns into the outermost element, the next predicate arc turns into a child element, and so on. The stripes generally start at the top of an RDF/XML document and always begin with nodes.

Several RDF/XML examples are given in the following sections building up to complete RDF/XML documents. Example 7 is the first complete RDF/XML document.

delete: <h3> delete: <a id="section-Syntax-node-property-elements" name="section-Syntax-node-property-elements"> insert: </section>
insert: <section id="section-Syntax-node-property-elements" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-Syntax-node-property-elements">

insert: <span class="secno"> 2.2 insert: </span> Node Elements and Property Elements delete: </a>

delete: <div class="figure"> delete: <img src="figure1.png" alt="Graph for RDF/XML Example" height="202" width="600" /> delete: <br /> delete: <a id="figure1" name="figure1"> Figure 1: insert: <figure id="figure1">
insert: <img alt="Graph for RDF/XML Example" src="figure1.png" /> Graph for RDF/XML Example insert: <figcaption>
Fig. insert: <span class="figno"> 1 insert: </span> insert: <span class="fig-title"> Graph for RDF/XML Example delete: </a> ( SVG version ) delete: </div> insert: </span> insert: </figcaption>
insert: </figure>

An RDF graph is given in delete: <a href="#figure1"> insert: <a href="#figure1" class="fig-ref"> Figure 1 where the nodes are represented as ovals and contain their delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> IRIs where they have them, all the predicate arcs are labeled with delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> and delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-plain-literal"> plain literal delete: </a> IRIs and string literals nodes have been written in rectangles.

If we follow one node, predicate arc ... , node path through the graph shown in delete: <a href="#figure2"> insert: <a href="#figure2" class="fig-ref"> Figure 2 :

delete: <div class="figure"> delete: <img src="figure2.png" alt="One Path Through the Graph" height="212" width="600" /> delete: <br /> delete: <a id="figure2" name="figure2"> Figure 2: insert: <figure id="figure2">
insert: <img alt="One Path Through the Graph" src="figure2.png" /> One Path Through the Graph insert: <figcaption>
Fig. insert: <span class="figno"> 2 insert: </span> insert: <span class="fig-title"> One Path Through the Graph delete: </a> ( SVG version ) delete: </div> insert: </span> insert: </figcaption>
insert: </figure>

The left hand side of the delete: <a href="#figure2"> insert: <a href="#figure2" class="fig-ref"> Figure 2 graph corresponds to the node/predicate arc stripes:

  1. Node with delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI http://www.w3.org/TR/rdf-syntax-grammar
  2. Predicate Arc labeled with delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI http://example.org/terms/editor
  3. Node with no delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI
  4. Predicate Arc labeled with delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI http://example.org/terms/homePage
  5. Node with delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI http://purl.org/net/dajobe/

In RDF/XML, the sequence of 5 nodes and predicate arcs on the left hand side of delete: <a href="#figure2"> insert: <a href="#figure2" class="fig-ref"> Figure 2 corresponds to the usage of five XML elements of two types, for the graph nodes and predicate arcs. These are conventionally called node elements and property elements respectively. In the striping shown in Example 1 , rdf:Description is the node element (used three times for the three nodes) and ex:editor and ex:homePage are the two property elements.

delete: <div class="exampleOuter"> delete: <div class="figure"> delete: <a id="example1" name="example1"> insert: <div class="example">
insert: <div class="example-title">
insert: <span> Example 1: 1 insert: </span> insert: </div>
insert: <pre id="example1" class="example">
 insert: <strong>  Striped RDF/XML (  delete: <span class="nodeStripe"> nodes  delete: </span> and  delete: <span class="arcStripe"> (nodes and  predicate arcs  delete: </span> )  delete: </a> arcs)  insert: </strong>  insert: <code>  <rdf:Description>  insert: </code>  <ex:editor>  insert: <code>  <rdf:Description>  insert: </code>  <ex:homePage>  insert: <code>  <rdf:Description>  insert: </code>  insert: <code>  </rdf:Description>  insert: </code>  </ex:homePage>  insert: <code>  </rdf:Description>  insert: </code>  </ex:editor>  insert: <code>  </rdf:Description>  insert: </code>  insert: </pre> 
delete: <div class="exampleInner"> delete: <div class="preExample"> delete: <code> delete: <span class="nodeStripe"> <rdf:Description> delete: </span> delete: <br />    delete: <span class="arcStripe"> <ex:editor> delete: </span> delete: <br />      delete: <span class="nodeStripe"> <rdf:Description> delete: </span> delete: <br />        delete: <span class="arcStripe"> <ex:homePage> delete: </span> delete: <br />          delete: <span class="nodeStripe"> <rdf:Description> delete: </span> delete: <br />          delete: <span class="nodeStripe"> </rdf:Description> delete: </span> delete: <br />        delete: <span class="arcStripe"> </ex:homePage> delete: </span> delete: <br />      delete: <span class="nodeStripe"> </rdf:Description> delete: </span> delete: <br />    delete: <span class="arcStripe"> </ex:editor> delete: </span> delete: <br /> delete: <span class="nodeStripe"> </rdf:Description> delete: </span> delete: <br /> delete: </code> delete: </div> delete: </div> delete: </div>

The delete: <a href="#figure2"> insert: <a href="#figure2" class="fig-ref"> Figure 2 graph consists of some nodes that are delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> IRIs (and others that are not) and this can be added to the RDF/XML using the rdf:about attribute on node elements to give the result in Example 2 :

delete: <div class="exampleOuter"> delete: <div class="figure"> delete: <a id="example2" name="example2"> insert: <div class="example">
insert: <div class="example-title">
insert: <span> Example 2: 2 insert: </span> insert: </div>
insert: <pre id="example2" class="example">
 insert: <strong>  Node Elements with RDF URI references  IRIs  added delete: </a> delete: </div> delete: <div class="exampleInner"> delete: <pre> insert: </strong>  <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">  rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">  <ex:editor> <rdf:Description> <ex:homePage> <rdf:Description rdf:about="http://purl.org/net/dajobe/">  rdf:about="http://purl.org/net/dajobe/">  </rdf:Description> </ex:homePage> </rdf:Description> </ex:editor> </rdf:Description> 
delete: </div>

Adding the other two paths through the delete: <a href="#figure1"> insert: <a href="#figure1" class="fig-ref"> Figure 1 graph to the RDF/XML in Example 2 gives the result in Example 3 (this example fails to show that the blank node is shared between the two paths, see 2.10 ):

delete: <div class="exampleOuter"> delete: <div class="figure"> delete: <a id="example3" name="example3"> insert: <div class="example">
insert: <div class="example-title">
insert: <span> Example 3: 3 insert: </span> insert: </div>
insert: <pre id="example3" class="example">
 insert: <strong>  Complete description of all graph paths delete: </a> delete: </div> delete: <div class="exampleInner"> delete: <pre> insert: </strong>  <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">  rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">  <ex:editor> <rdf:Description> <ex:homePage> <rdf:Description rdf:about="http://purl.org/net/dajobe/">  rdf:about="http://purl.org/net/dajobe/">  </rdf:Description> </ex:homePage> </rdf:Description> </ex:editor> </rdf:Description> <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">  rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">  <ex:editor> <rdf:Description> <ex:fullName>Dave Beckett</ex:fullName> </rdf:Description> </ex:editor> </rdf:Description> <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar"> <dc:title>RDF/XML Syntax Specification (Revised)</dc:title>  rdf:about="http://www.w3.org/TR/rdf-syntax-grammar"> <dc:title>RDF 1.1 XML Syntax</dc:title>  </rdf:Description> 
delete: </div> delete: <h3> delete: <a id="section-Syntax-multiple-property-elements" name="section-Syntax-multiple-property-elements"> insert: </section>
insert: <section id="section-Syntax-multiple-property-elements" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-Syntax-multiple-property-elements">

insert: <span class="secno"> 2.3 insert: </span> Multiple Property Elements delete: </a>

There are several abbreviations that can be used to make common uses easier to write down. In particular, it is common that a subject node in the RDF graph has multiple outgoing predicate arcs. RDF/XML provides an abbreviation for the corresponding syntax when a node element about a resource has multiple property elements. This can be abbreviated by using multiple child property elements inside the node element describing the subject node.

Taking Example 3 , there are two node elements that can take multiple property elements. The subject node with URI reference IRI http://www.w3.org/TR/rdf-syntax-grammar has property elements ex:editor and ex:title and the node element for the blank node can take ex:homePage and ex:fullName . This abbreviation gives the result shown in Example 4 (this example does show that there is a single blank node):

delete: <div class="exampleOuter"> delete: <div class="figure"> delete: <a id="example4" name="example4"> insert: <div class="example">
insert: <div class="example-title">
insert: <span> Example 4: 4 insert: </span> insert: </div>
insert: <pre id="example4" class="example">
 insert: <strong>  Using multiple property elements on a node element delete: </a> delete: </div> delete: <div class="exampleInner"> delete: <pre> insert: </strong>  <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">  rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">  <ex:editor> <rdf:Description> <ex:homePage> <rdf:Description rdf:about="http://purl.org/net/dajobe/">  rdf:about="http://purl.org/net/dajobe/">  </rdf:Description> </ex:homePage> <ex:fullName>Dave Beckett</ex:fullName> </rdf:Description> </ex:editor> <dc:title>RDF/XML Syntax Specification (Revised)</dc:title>  <dc:title>RDF 1.1 XML Syntax</dc:title>  </rdf:Description> 
delete: </div> delete: <h3> delete: <a id="section-Syntax-empty-property-elements" name="section-Syntax-empty-property-elements"> insert: </section>
insert: <section id="section-Syntax-empty-property-elements" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-Syntax-empty-property-elements">

insert: <span class="secno"> 2.4 insert: </span> Empty Property Elements delete: </a>

When a predicate arc in an RDF graph points to an object node which has no further predicate arcs, which appears in RDF/XML as an empty node element <rdf:Description rdf:about="..."> rdf:about="..."> </rdf:Description> (or <rdf:Description rdf:about="..." rdf:about="..." /> ) this form can be shortened. This is done by using the delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI of the object node as the value of an XML attribute rdf:resource on the containing property element and making the property element empty.

In this example, the property element ex:homePage contains an empty node element with the delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI http://purl.org/net/dajobe/ . This can be replaced with the empty property element form giving the result shown in Example 5 :

delete: <div class="exampleOuter"> delete: <div class="figure"> delete: <a id="example5" name="example5"> insert: <div class="example">
insert: <div class="example-title">
insert: <span> Example 5: 5 insert: </span> insert: </div>
insert: <pre id="example5" class="example">
 insert: <strong>  Empty property elements delete: </a> delete: </div> delete: <div class="exampleInner"> delete: <pre> insert: </strong>  <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">  rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">  <ex:editor> <rdf:Description> <ex:homePage rdf:resource="http://purl.org/net/dajobe/"/>  rdf:resource="http://purl.org/net/dajobe/"/>  <ex:fullName>Dave Beckett</ex:fullName> </rdf:Description> </ex:editor> <dc:title>RDF/XML Syntax Specification (Revised)</dc:title>  <dc:title>RDF 1.1 XML Syntax</dc:title>  </rdf:Description> 
delete: </div> delete: <h3> delete: <a id="section-Syntax-property-attributes" name="section-Syntax-property-attributes"> insert: </section>
insert: <section id="section-Syntax-property-attributes" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-Syntax-property-attributes">

insert: <span class="secno"> 2.5 insert: </span> Property Attributes delete: </a>

When a property element's content is string literal, it may be possible to use it as an XML attribute on the containing node element. This can be done for multiple properties on the same node element only if the property element name is not repeated (required by XML attribute names are unique on an XML element) and any in-scope xml:lang on the property element's string literal (if any) are the same (see Section 2.7 ) This abbreviation is known as a Property Attribute and can be applied to any node element.

This abbreviation can also be used when the property element is rdf:type and it has an rdf:resource attribute the value of which is interpreted as a delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI object node.

In Example 5 :, there are two property elements with string literal content, the dc:title and ex:fullName property elements. These can be replaced with property attributes giving the result shown in Example 6 :

delete: <div class="exampleOuter"> delete: <div class="figure"> delete: <a id="example6" name="example6"> insert: <div class="example">
insert: <div class="example-title">
insert: <span> Example 6: 6 insert: </span> insert: </div>
insert: <pre id="example6" class="example">
 insert: <strong>  Replacing property elements with string literal content into property attributes delete: </a> delete: </div> delete: <div class="exampleInner"> delete: <pre> insert: </strong>  <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar" dc:title="RDF/XML Syntax Specification (Revised)">  rdf:about="http://www.w3.org/TR/rdf-syntax-grammar" dc:title="RDF 1.1 XML Syntax">  <ex:editor> <rdf:Description ex:fullName="Dave Beckett">  ex:fullName="Dave Beckett">  <ex:homePage rdf:resource="http://purl.org/net/dajobe/"/>  rdf:resource="http://purl.org/net/dajobe/"/>  </rdf:Description> </ex:editor> </rdf:Description> 
delete: </div> delete: <h3> delete: <a id="section-Syntax-complete-document" name="section-Syntax-complete-document"> insert: </section>
insert: <section id="section-Syntax-complete-document" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-Syntax-complete-document">

insert: <span class="secno"> 2.6 insert: </span> Completing the Document: Document Element and XML Declaration delete: </a>

To create a complete RDF/XML document, the serialization of the graph into XML is usually contained inside an rdf:RDF XML element which becomes the top-level XML document element. Conventionally the rdf:RDF element is also used to declare the XML namespaces that are used, although that is not required. When there is only one top-level node element inside rdf:RDF , the rdf:RDF can be omitted although any XML namespaces must still be declared.

The XML specification also permits an XML declaration at the top of the document with the XML version and possibly the XML content encoding. This is optional but recommended.

Completing the RDF/XML could be done for any of the correct complete graph examples from Example 4 onwards but taking the smallest Example 6 and adding the final components, gives a complete RDF/XML representation of the original delete: <a href="#figure1"> insert: <a href="#figure1" class="fig-ref"> Figure 1 graph in Example 7 :

delete: <div class="exampleOuter"> delete: <div class="figure"> delete: <a id="example7" name="example7"> insert: <div class="example">
insert: <div class="example-title">
insert: <span> Example 7: 7 insert: </span> insert: </div>
insert: <pre id="example7" class="example">
 insert: <strong>  Complete RDF/XML description of Figure 1 graph delete: </a> ( delete: <a href="example07.rdf"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example07.rdf">  example07.rdf  ,  output delete: <a href="example07.nt"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example07.nt">  example07.nt  ) delete: </div> delete: <div class="exampleInner"> delete: <pre> insert: </strong>  <?xml version="1.0"?>  version="1.0"?>  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ex="http://example.org/stuff/1.0/">  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ex="http://example.org/stuff/1.0/">  <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar" dc:title="RDF/XML Syntax Specification (Revised)">  rdf:about="http://www.w3.org/TR/rdf-syntax-grammar" dc:title="RDF1.1 XML Syntax">  <ex:editor> <rdf:Description ex:fullName="Dave Beckett">  ex:fullName="Dave Beckett">  <ex:homePage rdf:resource="http://purl.org/net/dajobe/"  rdf:resource="http://purl.org/net/dajobe/"  /> </rdf:Description> </ex:editor> </rdf:Description> </rdf:RDF> 
delete: </div>

It is possible to omit rdf:RDF in Example 7 above since there is only one rdf:Description inside rdf:RDF but this is not shown here.

delete: <h3> delete: <a id="section-Syntax-languages" name="section-Syntax-languages"> insert: </section>
insert: <section id="section-Syntax-languages" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-Syntax-languages">

insert: <span class="secno"> 2.7 insert: </span> Languages: xml:lang delete: </a>

RDF/XML permits the use of the xml:lang attribute as defined by 2.12 Language Identification of delete: <a href="http://www.w3.org/TR/2000/REC-xml-20001006"> XML 1.0 delete: </a> delete: <a href="#ref-xml"> [XML] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-XML10"> XML10 insert: </a> insert: </cite> ] to allow the identification of content language. The xml:lang attribute can be used on any node element or property element to indicate that the included content is in the given language. Typed literals which includes XML literals are not affected by this attribute. The most specific in-scope language present (if any) is applied to property element string literal content or property attribute values. The xml:lang="" xml:lang="" form indicates the absence of a language identifier.

Some examples of marking content languages for RDF properties are shown in Example 8 :

delete: <div class="exampleOuter"> delete: <div class="figure"> delete: <a id="example8" name="example8"> insert: <div class="example">
insert: <div class="example-title">
insert: <span> Example 8: 8 insert: </span> insert: </div>
insert: <pre id="example8" class="example">
 insert: <strong>  Complete example of  xml:lang  delete: </a> ( delete: <a href="example08.rdf"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example08.rdf">  example08.rdf  ,  output delete: <a href="example08.nt"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example08.nt">  example08.nt  ) delete: </div> delete: <div class="exampleInner"> delete: <pre> insert: </strong>  <?xml version="1.0" encoding="utf-8"?>  version="1.0" encoding="utf-8"?>  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">  <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar"> <dc:title>RDF/XML Syntax Specification (Revised)</dc:title>  rdf:about="http://www.w3.org/TR/rdf-syntax-grammar"> <dc:title>RDF 1.1 XML Syntax</dc:title>  <dc:title xml:lang="en">RDF/XML Syntax Specification (Revised)</dc:title>  xml:lang="en">RDF 1.1 XML Syntax</dc:title>  <dc:title xml:lang="en-US">RDF/XML Syntax Specification (Revised)</dc:title>  xml:lang="en-US">RDF 1.1 XML Syntax</dc:title>  </rdf:Description> <rdf:Description rdf:about="http://example.org/buecher/baum" xml:lang="de">  rdf:about="http://example.org/buecher/baum" xml:lang="de">  <dc:title>Der Baum</dc:title> <dc:description>Das Buch ist außergewöhnlich</dc:description> <dc:title xml:lang="en">The  xml:lang="en">The  Tree</dc:title> </rdf:Description> </rdf:RDF> 
delete: </div> delete: <h3> delete: <a id="section-Syntax-XML-literals" name="section-Syntax-XML-literals"> insert: </section>
insert: <section class="informative" id="section-Syntax-XML-literals" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-Syntax-XML-literals">

insert: <span class="secno"> 2.8 insert: </span> XML Literals: rdf:parseType="Literal" delete: </code> delete: </a> rdf:parseType="Literal" insert: </code>

insert: <p>

insert: <em> This section is non-normative. insert: </em> insert: </p>

RDF allows delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-rdf-XMLLiteral"> XML literals delete: </a> ( delete: <a href="#ref-rdf-concepts"> [RDF-CONCEPTS] delete: </a> Section 5, delete: <cite> XML Content within an RDF graph delete: </cite> ) [RDF11-CONCEPTS] to be given as the object node of a predicate. These are written in RDF/XML as content of a property element (not a property attribute) and indicated using the rdf:parseType="Literal" rdf:parseType="Literal" attribute on the containing property element.

An example of writing an XML literal is given in Example 9 where there is a single RDF triple with the subject node delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI http://example.org/item01 , the predicate delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI http://example.org/stuff/1.0/prop (from ex:prop ) and the object node with XML literal content beginning a:Box .

delete: <div class="exampleOuter"> delete: <div class="figure"> delete: <a id="example9" name="example9"> insert: <div class="example">
insert: <div class="example-title">
insert: <span> Example 9: 9 insert: </span> insert: </div>
insert: <pre id="example9" class="example">
 insert: <strong>  Complete example of  rdf:parseType="Literal"  delete: </code> delete: </a> rdf:parseType="Literal"  insert: </code>  ( delete: <a href="example09.rdf"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example09.rdf">  example09.rdf  ,  output delete: <a href="example09.nt"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example09.nt">  example09.nt  ) delete: </div> delete: <div class="exampleInner"> delete: <pre> insert: </strong>  <?xml version="1.0"?>  version="1.0"?>  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ex="http://example.org/stuff/1.0/">  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ex="http://example.org/stuff/1.0/">  <rdf:Description rdf:about="http://example.org/item01">  rdf:about="http://example.org/item01">  <ex:prop rdf:parseType="Literal" xmlns:a="http://example.org/a#"><a:Box required="true">  rdf:parseType="Literal" xmlns:a="http://example.org/a#"> <a:Box required="true">  <a:widget size="10"  size="10"  /> <a:grommit id="23" /></a:Box>  id="23" /> </a:Box>  </ex:prop> </rdf:Description> </rdf:RDF> 
delete: </div> delete: <h3> delete: <a id="section-Syntax-datatyped-literals" name="section-Syntax-datatyped-literals"> insert: </section>
insert: <section id="section-Syntax-datatyped-literals" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-Syntax-datatyped-literals">

insert: <span class="secno"> 2.9 insert: </span> Typed Literals: rdf:datatype delete: </a>

RDF allows delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-typed-literal"> typed literals delete: </a> to be given as the object node of a predicate. Typed literals consist of a literal string and a datatype delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> . IRI. These are written in RDF/XML using the same syntax for literal string nodes in the property element form (not property attribute) but with an additional rdf:datatype=" rdf:datatype=" datatypeURI " " attribute on the property element. Any delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI can be used in the attribute.

An example of an RDF delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-typed-literal"> typed literal delete: </a> is given in Example 10 where there is a single RDF triple with the subject node delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI http://example.org/item01 , the predicate delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI http://example.org/stuff/1.0/size (from ex:size ) and the object node with the delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-typed-literal"> typed literal delete: </a> ("123", ("123", http://www.w3.org/2001/XMLSchema#int ) to be interpreted as an delete: <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/"> W3C XML Schema delete: </a> delete: <a href="#ref-xml-schema2"> [XML-SCHEMA2] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-XMLSCHEMA-2"> XMLSCHEMA-2 insert: </a> insert: </cite> ] datatype int. delete: </p> delete: <div class="exampleOuter"> delete: <div class="figure"> delete: <a id="example10" name="example10"> insert: <code> int insert: </code> . insert: </p>

insert: <div class="example">
insert: <div class="example-title">
insert: <span> Example 10: 10 insert: </span> insert: </div>
insert: <pre id="example10" class="example">
 insert: <strong>  Complete example of  rdf:datatype  delete: </a> ( delete: <a href="example10.rdf"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example10.rdf">  example10.rdf  ,  output delete: <a href="example10.nt"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example10.nt">  example10.nt  ) delete: </div> delete: <div class="exampleInner"> delete: <pre> insert: </strong>  <?xml version="1.0"?>  version="1.0"?>  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ex="http://example.org/stuff/1.0/">  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ex="http://example.org/stuff/1.0/">  <rdf:Description rdf:about="http://example.org/item01">  rdf:about="http://example.org/item01">  <ex:size rdf:datatype="http://www.w3.org/2001/XMLSchema#int">123</ex:size>  rdf:datatype="http://www.w3.org/2001/XMLSchema#int">123</ex:size>  </rdf:Description> </rdf:RDF> 
delete: </div> delete: <h3> delete: <a id="section-Syntax-blank-nodes" name="section-Syntax-blank-nodes"> insert: </section>
insert: <section id="section-Syntax-blank-nodes" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-Syntax-blank-nodes">

insert: <span class="secno"> 2.10 insert: </span> Identifying Blank Nodes: rdf:nodeID delete: </a>

delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-blank-node"> Blank nodes delete: </a> in the RDF graph are distinct but have no delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI identifier. It is sometimes required that the same graph delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-blank-node"> blank node delete: </a> is referred to in the RDF/XML in multiple places, such as at the subject and object of several RDF triples. In this case, a delete: <em> delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-blank-node-id"> blank node identifier delete: </a> delete: </em> can be given to the delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-blank-node"> blank node delete: </a> for identifying it in the document. Blank node identifiers in RDF/XML are scoped to the containing XML Information Set document information item . A delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-blank-node-id"> blank node identifier delete: </a> is used on a node element to replace rdf:about=" delete: </code> delete: <em> RDF URI reference delete: </em> delete: <code> " rdf:about=" insert: </code> insert: <em> IRI insert: </em> insert: <code> " or on a property element to replace rdf:resource=" delete: </code> delete: <em> RDF URI reference delete: </em> delete: <code> " rdf:resource=" insert: </code> insert: <em> IRI insert: </em> insert: <code> " with rdf:nodeID=" delete: </code> delete: <em> delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-blank-node-id"> rdf:nodeID=" insert: </code> insert: <em> blank node identifier delete: </a> delete: </em> delete: <code> " insert: </em> insert: <code> " in both cases.

Taking Example 7 and explicitly giving a delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-blank-node-id"> blank node identifier delete: </a> of abc to the blank node in it gives the result shown in Example 11 . The second rdf:Description property element is about the blank node.

delete: <div class="exampleOuter"> delete: <div class="figure"> delete: <a id="example11" name="example11"> insert: <div class="example">
insert: <div class="example-title">
insert: <span> Example 11: 11 insert: </span> insert: </div>
insert: <pre id="example11" class="example">
 insert: <strong>  Complete RDF/XML description of graph using  rdf:nodeID  identifying the blank node delete: </a> ( delete: <a href="example11.rdf"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example11.rdf">  example11.rdf  ,  output delete: <a href="example11.nt"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example11.nt">  example11.nt  ) delete: </div> delete: <div class="exampleInner"> delete: <pre> insert: </strong>  <?xml version="1.0"?>  version="1.0"?>  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ex="http://example.org/stuff/1.0/">  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ex="http://example.org/stuff/1.0/">  <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar" dc:title="RDF/XML Syntax Specification (Revised)">  rdf:about="http://www.w3.org/TR/rdf-syntax-grammar" dc:title="RDF 1.1 XML Syntax">  <ex:editor rdf:nodeID="abc"/>  rdf:nodeID="abc"/>  </rdf:Description> <rdf:Description rdf:nodeID="abc" ex:fullName="Dave Beckett">  rdf:nodeID="abc" ex:fullName="Dave Beckett">  <ex:homePage rdf:resource="http://purl.org/net/dajobe/"/>  rdf:resource="http://purl.org/net/dajobe/"/>  </rdf:Description> </rdf:RDF> 
delete: </div> delete: <h3> delete: <a id="section-Syntax-parsetype-resource" name="section-Syntax-parsetype-resource"> insert: </section>
insert: <section id="section-Syntax-parsetype-resource" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-Syntax-parsetype-resource">

insert: <span class="secno"> 2.11 insert: </span> Omitting Blank Nodes: rdf:parseType="Resource" delete: </code> delete: </a> rdf:parseType="Resource" insert: </code>

delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-blank-node"> Blank nodes delete: </a> (not delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI nodes) in RDF graphs can be written in a form that allows the <rdf:Description> </rdf:Description> pair to be omitted. The omission is done by putting an rdf:parseType="Resource" rdf:parseType="Resource" attribute on the containing property element that turns the property element into a property-and-node element, which can itself have both property elements and property attributes. Property attributes and the rdf:nodeID attribute are not permitted on property-and-node elements.

Taking the earlier Example 7 , the contents of the ex:editor property element could be alternatively done in this fashion to give the form shown in Example 12 :

delete: <div class="exampleOuter"> delete: <div class="figure"> delete: <a id="example12" name="example12"> insert: <div class="example">
insert: <div class="example-title">
insert: <span> Example 12: 12 insert: </span> insert: </div>
insert: <pre id="example12" class="example">
 insert: <strong>  Complete example using  rdf:parseType="Resource"  delete: </code> delete: </a> rdf:parseType="Resource"  insert: </code>  ( delete: <a href="example12.rdf"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example12.rdf">  example12.rdf  output  delete: <a href="example12.nt"> , output:  insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example12.nt">  example12.nt  ) delete: </div> delete: <div class="exampleInner"> delete: <pre> insert: </strong>  <?xml version="1.0"?>  version="1.0"?>  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ex="http://example.org/stuff/1.0/">  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ex="http://example.org/stuff/1.0/">  <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar" dc:title="RDF/XML Syntax Specification (Revised)">  rdf:about="http://www.w3.org/TR/rdf-syntax-grammar" dc:title="RDF 1.1 XML Syntax">  <ex:editor rdf:parseType="Resource">  rdf:parseType="Resource">  <ex:fullName>Dave Beckett</ex:fullName> <ex:homePage rdf:resource="http://purl.org/net/dajobe/"/>  rdf:resource="http://purl.org/net/dajobe/"/>  </ex:editor> </rdf:Description> </rdf:RDF> 
delete: </div> delete: <h3> delete: <a id="section-Syntax-property-attributes-on-property-element" name="section-Syntax-property-attributes-on-property-element"> insert: </section>
insert: <section id="section-Syntax-property-attributes-on-property-element" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-Syntax-property-attributes-on-property-element">

insert: <span class="secno"> 2.12 insert: </span> Omitting Nodes: Property Attributes on an empty Property Element delete: </a>

If all of the property elements on a blank node element have string literal values with the same in-scope xml:lang value (if present) and each of these property elements appears at most once and there is at most one rdf:type property element with a delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI object node, these can be abbreviated by moving them to be property attributes on the containing property element which is made an empty element.

Taking the earlier Example 5 , the ex:editor property element contains a blank node element with two property elements ex:fullname and ex:homePage . ex:homePage is not suitable here since it does not have a string literal value, so it is being ignored for the purposes of this example. The abbreviated form removes the ex:fullName property element and adds a new property attribute ex:fullName with the string literal value of the deleted property element to the ex:editor property element. The blank node element becomes implicit in the now empty ex:editor property element. The result is shown in Example 13 .

delete: <div class="exampleOuter"> delete: <div class="figure"> delete: <a id="example13" name="example13"> insert: <div class="example">
insert: <div class="example-title">
insert: <span> Example 13: 13 insert: </span> insert: </div>
insert: <pre id="example13" class="example">
 insert: <strong>  Complete example of property attributes on an empty property element delete: </a> ( delete: <a href="example13.rdf"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example13.rdf">  example13.rdf  ,  output delete: <a href="example13.nt"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example13.nt">  example13.nt  ) delete: </div> delete: <div class="exampleInner"> delete: <pre> insert: </strong>  <?xml version="1.0"?>  version="1.0"?>  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ex="http://example.org/stuff/1.0/">  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ex="http://example.org/stuff/1.0/">  <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar" dc:title="RDF/XML Syntax Specification (Revised)">  rdf:about="http://www.w3.org/TR/rdf-syntax-grammar" dc:title="RDF 1.1 XML Syntax">  <ex:editor ex:fullName="Dave Beckett"  ex:fullName="Dave Beckett"  /> <!-- Note the ex:homePage property has been ignored for this example --> </rdf:Description> </rdf:RDF> 
delete: </div> delete: <h3> delete: <a id="section-Syntax-typed-nodes" name="section-Syntax-typed-nodes"> insert: </section>
insert: <section id="section-Syntax-typed-nodes" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-Syntax-typed-nodes">

insert: <span class="secno"> 2.13 insert: </span> Typed Node Elements delete: </a>

It is common for RDF graphs to have rdf:type predicates from subject nodes. These are conventionally called typed nodes in the graph, or typed node elements in the RDF/XML. RDF/XML allows this triple to be expressed more concisely. by replacing the rdf:Description node element name with the namespaced-element corresponding to the delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI of the value of the type relationship. There may, of course, be multiple rdf:type predicates but only one can be used in this way, the others must remain as property elements or property attributes.

The typed node elements are commonly used in RDF/XML with the built-in classes in the RDF vocabulary : rdf:Seq , rdf:Bag , rdf:Alt , rdf:Statement , rdf:Property and rdf:List .

For example, the RDF/XML in Example 14 could be written as shown in Example 15 .

delete: <div class="exampleOuter"> delete: <div class="figure"> delete: <a id="example14" name="example14"> insert: <div class="example">
insert: <div class="example-title">
insert: <span> Example 14: 14 insert: </span> insert: </div>
insert: <pre id="example14" class="example">
 insert: <strong>  Complete example with  rdf:type  delete: </a> ( delete: <a href="example14.rdf"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example14.rdf">  example14.rdf  ,  output delete: <a href="example14.nt"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example14.nt">  example14.nt  ) delete: </div> delete: <div class="exampleInner"> delete: <pre> insert: </strong>  <?xml version="1.0"?>  version="1.0"?>  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ex="http://example.org/stuff/1.0/">  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ex="http://example.org/stuff/1.0/">  <rdf:Description rdf:about="http://example.org/thing">  rdf:about="http://example.org/thing">  <rdf:type rdf:resource="http://example.org/stuff/1.0/Document"/>  rdf:resource="http://example.org/stuff/1.0/Document"/>  <dc:title>A marvelous thing</dc:title> </rdf:Description> </rdf:RDF> 
insert: <div class="example">
insert: <div class="example-title">
insert: <span> Example 15 insert: </span>
delete: <div class="exampleOuter"> delete: <div class="figure"> delete: <a id="example15" name="example15"> Example 15: insert: <pre id="example15" class="example">
 insert: <strong>  Complete example using a typed node element to replace an  rdf:type  delete: </a> ( delete: <a href="example15.rdf"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example15.rdf">  example15.rdf  ,  output delete: <a href="example15.nt"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example15.nt">  example15.nt  ) delete: </div> delete: <div class="exampleInner"> delete: <pre> insert: </strong>  <?xml version="1.0"?>  version="1.0"?>  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ex="http://example.org/stuff/1.0/">  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ex="http://example.org/stuff/1.0/">  <ex:Document rdf:about="http://example.org/thing">  rdf:about="http://example.org/thing">  <dc:title>A marvelous thing</dc:title> </ex:Document> </rdf:RDF> 
delete: </div> delete: <h3> delete: <a id="section-Syntax-ID-xml-base" name="section-Syntax-ID-xml-base"> insert: </section>
insert: <section id="section-Syntax-ID-xml-base" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-Syntax-ID-xml-base">

insert: <span class="secno"> 2.14 insert: </span> Abbreviating URIs: rdf:ID and xml:base delete: </a>

RDF/XML allows further abbreviating delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> IRIs in XML attributes in two ways. The XML Infoset provides a base URI attribute xml:base that sets the base URI for resolving relative delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> , IRIs, otherwise the base URI is that of the document. The base URI applies to all RDF/XML attributes that deal with delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> IRIs which are rdf:about , rdf:resource , rdf:ID and rdf:datatype .

The rdf:ID attribute on a node element (not property element, that has another meaning) can be used instead of rdf:about and gives a relative delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI equivalent to # concatenated with the rdf:ID attribute value. So for example if rdf:ID="name" rdf:ID="name" , that would be equivalent to rdf:about="#name" rdf:about="#name" . rdf:ID provides an additional check since the same name can only appear once in the scope of an xml:base value (or document, if none is given), so is useful for defining a set of distinct, related terms relative to the same delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> . IRI.

Both forms require a base URI to be known, either from an in-scope xml:base or from the URI of the RDF/XML document.

Example 16 shows abbreviating the node delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI of http://example.org/here/#snack using an xml:base of http://example.org/here/ and an rdf:ID on the rdf:Description node element. The object node of the ex:prop predicate is an absolute delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI resolved from the rdf:resource XML attribute value using the in-scope base URI to give the delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI http://example.org/here/fruit/apple .

delete: <div class="exampleOuter"> delete: <div class="figure"> delete: <a id="example16" name="example16"> insert: <div class="example">
insert: <div class="example-title">
insert: <span> Example 16: 16 insert: </span> insert: </div>
insert: <pre id="example16" class="example">
 insert: <strong>  Complete example using  rdf:ID  and  xml:base  for shortening URIs delete: </a> ( delete: <a href="example16.rdf"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example16.rdf">  example16.rdf  ,  output delete: <a href="example16.nt"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example16.nt">  example16.nt  ) delete: </div> delete: <div class="exampleInner"> delete: <pre> insert: </strong>  <?xml version="1.0"?>  version="1.0"?>  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ex="http://example.org/stuff/1.0/" xml:base="http://example.org/here/">  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ex="http://example.org/stuff/1.0/" xml:base="http://example.org/here/">  <rdf:Description rdf:ID="snack">  rdf:ID="snack">  <ex:prop rdf:resource="fruit/apple"/>  rdf:resource="fruit/apple"/>  </rdf:Description> </rdf:RDF> 
delete: </div> delete: <h3> delete: <a id="section-Syntax-list-elements" name="section-Syntax-list-elements"> insert: </section>
insert: <section id="section-Syntax-list-elements" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-Syntax-list-elements">

insert: <span class="secno"> 2.15 insert: </span> Container Membership Property Elements: rdf:li and rdf:_ n delete: </a>

RDF has a set of container membership properties and corresponding property elements that are mostly used with instances of the rdf:Seq , rdf:Bag and rdf:Alt classes which may be written as typed node elements. The list properties are rdf:_1 , rdf:_2 etc. and can be written as property elements or property attributes as shown in Example 17 . There is an rdf:li special property element that is equivalent to rdf:_1 , rdf:_2 in order, explained in detail in section 7.4 . The mapping to the container membership properties is always done in the order that the rdf:li special property elements appear in XML the document order is significant. The equivalent RDF/XML to Example 17 written in this form is shown in Example 18 .

delete: <div class="exampleOuter"> delete: <div class="figure"> delete: <a id="example17" name="example17"> insert: <div class="example">
insert: <div class="example-title">
insert: <span> Example 17: 17 insert: </span> insert: </div>
insert: <pre id="example17" class="example">
 insert: <strong>  Complex example using RDF list properties delete: </a> ( delete: <a href="example17.rdf"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example17.rdf">  example17.rdf  ,  output delete: <a href="example17.nt"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example17.nt">  example17.nt  ) delete: </div> delete: <div class="exampleInner"> delete: <pre> insert: </strong>  <?xml version="1.0"?>  version="1.0"?>  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">  <rdf:Seq rdf:about="http://example.org/favourite-fruit">  rdf:about="http://example.org/favourite-fruit">  <rdf:_1 rdf:resource="http://example.org/banana"/>  rdf:resource="http://example.org/banana"/>  <rdf:_2 rdf:resource="http://example.org/apple"/>  rdf:resource="http://example.org/apple"/>  <rdf:_3 rdf:resource="http://example.org/pear"/>  rdf:resource="http://example.org/pear"/>  </rdf:Seq> </rdf:RDF> 
insert: <div class="example">
insert: <div class="example-title">
insert: <span> Example 18 insert: </span>
delete: <div class="exampleOuter"> delete: <div class="figure"> delete: <a id="example18" name="example18"> Example 18: insert: <pre id="example18" class="example">
 insert: <strong>  Complete example using  rdf:li  property element for list properties delete: </a> ( delete: <a href="example18.rdf"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example18.rdf">  example18.rdf  ,  output delete: <a href="example18.nt"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example18.nt">  example18.nt  ) delete: </div> delete: <div class="exampleInner"> delete: <pre> insert: </strong>  <?xml version="1.0"?>  version="1.0"?>  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">  <rdf:Seq rdf:about="http://example.org/favourite-fruit">  rdf:about="http://example.org/favourite-fruit">  <rdf:li rdf:resource="http://example.org/banana"/>  rdf:resource="http://example.org/banana"/>  <rdf:li rdf:resource="http://example.org/apple"/>  rdf:resource="http://example.org/apple"/>  <rdf:li rdf:resource="http://example.org/pear"/>  rdf:resource="http://example.org/pear"/>  </rdf:Seq> </rdf:RDF> 
delete: </div> delete: <h3> delete: <a id="section-Syntax-parsetype-Collection" name="section-Syntax-parsetype-Collection"> insert: </section>
insert: <section id="section-Syntax-parsetype-Collection" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-Syntax-parsetype-Collection">

insert: <span class="secno"> 2.16 insert: </span> Collections: rdf:parseType="Collection" delete: </code> delete: </a> rdf:parseType="Collection" insert: </code>

RDF/XML allows an rdf:parseType="Collection" rdf:parseType="Collection" attribute on a property element to let it contain multiple node elements. These contained node elements give the set of subject nodes of the collection. This syntax form corresponds to a set of triples connecting the collection of subject nodes, the exact triples generated are described in detail in Section 7.2.19 Production parseTypeCollectionPropertyElt . The collection construction is always done in the order that the node elements appear in the XML document. Whether the order of the collection of nodes is significant is an application issue and not defined here.

Example 19 shows a collection of three nodes elements at the end of the ex:hasFruit property element using this form.

delete: <div class="exampleOuter"> delete: <div class="figure"> delete: <a id="example19" name="example19"> insert: <div class="example">
insert: <div class="example-title">
insert: <span> Example 19: 19 insert: </span> insert: </div>
insert: <pre id="example19" class="example">
 insert: <strong>  Complete example of a RDF collection of nodes using  rdf:parseType="Collection"  delete: </code> delete: </a> rdf:parseType="Collection"  insert: </code>  ( delete: <a href="example19.rdf"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example19.rdf">  example19.rdf  ,  output delete: <a href="example19.nt"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example19.nt">  example19.nt  ) delete: </div> delete: <div class="exampleInner"> delete: <pre> insert: </strong>  <?xml version="1.0"?>  version="1.0"?>  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ex="http://example.org/stuff/1.0/">  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ex="http://example.org/stuff/1.0/">  <rdf:Description rdf:about="http://example.org/basket">  rdf:about="http://example.org/basket">  <ex:hasFruit rdf:parseType="Collection">  rdf:parseType="Collection">  <rdf:Description rdf:about="http://example.org/banana"/>  rdf:about="http://example.org/banana"/>  <rdf:Description rdf:about="http://example.org/apple"/>  rdf:about="http://example.org/apple"/>  <rdf:Description rdf:about="http://example.org/pear"/>  rdf:about="http://example.org/pear"/>  </ex:hasFruit> </rdf:Description> </rdf:RDF> 
delete: </div> delete: <h3> delete: <a id="section-Syntax-reifying" name="section-Syntax-reifying"> insert: </section>
insert: <section id="section-Syntax-reifying" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-Syntax-reifying">

insert: <span class="secno"> 2.17 insert: </span> Reifying Statements: rdf:ID delete: </a>

The rdf:ID attribute can be used on a property element to reify the triple that it generates (See section 7.3 Reification Rules for the full details). The identifier for the triple should be constructed as a delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI made from the relative URI reference IRI # concatenated with the rdf:ID attribute value, resolved against the in-scope base URI. So for example if rdf:ID="triple" rdf:ID="triple" , that would be equivalent to the delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI formed from relative URI reference IRI #triple against the base URI. Each ( rdf:ID attribute value, base URI) pair has to be unique in an RDF/XML document, see constraint-id .

Example 20 shows a rdf:ID being used to reify a triple made from the ex:prop property element giving the reified triple the delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI http://example.org/triples/#triple1 .

delete: <div class="exampleOuter"> delete: <div class="figure"> delete: <a id="example20" name="example20"> insert: <div class="example">
insert: <div class="example-title">
insert: <span> Example 20: 20 insert: </span> insert: </div>
insert: <pre id="example20" class="example">
 insert: <strong>  Complete example of  rdf:ID  reifying a property element delete: </a> ( delete: <a href="example20.rdf"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example20.rdf">  example20.rdf  ,  output delete: <a href="example20.nt"> insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example20.nt">  example20.nt  ) delete: </div> delete: <div class="exampleInner"> delete: <pre> insert: </strong>  <?xml version="1.0"?>  version="1.0"?>  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ex="http://example.org/stuff/1.0/" xml:base="http://example.org/triples/">  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ex="http://example.org/stuff/1.0/" xml:base="http://example.org/triples/">  <rdf:Description rdf:about="http://example.org/">  rdf:about="http://example.org/">  <ex:prop rdf:ID="triple1">blah</ex:prop>  rdf:ID="triple1">blah</ex:prop>  </rdf:Description> </rdf:RDF> 
delete: </div> delete: <h2> delete: <a id="section-Terminology" name="section-Terminology"> 3 insert: </section>
insert: </section>
insert: <section id="section-Terminology" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h2 aria-level="1" role="heading" id="h2_section-Terminology">

insert: <span class="secno"> 3. insert: </span> Terminology delete: </a>

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" " insert: <em class="rfc2119" title="MUST"> MUST insert: </em> ", " insert: <em class="rfc2119" title="MUST NOT"> MUST NOT insert: </em> ", " insert: <em class="rfc2119" title="REQUIRED"> REQUIRED insert: </em> ", " insert: <em class="rfc2119" title="SHALL"> SHALL insert: </em> ", " insert: <em class="rfc2119" title="SHALL NOT"> SHALL NOT insert: </em> ", " insert: <em class="rfc2119" title="SHOULD"> SHOULD insert: </em> ", " insert: <em class="rfc2119" title="SHOULD NOT"> SHOULD NOT insert: </em> ", " insert: <em class="rfc2119" title="RECOMMENDED"> RECOMMENDED insert: </em> ", " insert: <em class="rfc2119" title="MAY"> MAY insert: </em> ", and " insert: <em class="rfc2119" title="OPTIONAL"> OPTIONAL insert: </em> " in this document are to be interpreted as described in delete: <a href="http://www.ietf.org/rfc/rfc2119.txt"> RFC 2119 delete: </a> delete: <a href="#ref-keywords"> [KEYWORDS] delete: </a> . [ insert: <cite> insert: <a class="bibref" href="#bib-RFC2119"> RFC2119 insert: </a> insert: </cite> ].

All use of string without further qualification refers to a Unicode delete: <a href="#ref-unicode"> [UNICODE] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-UNICODE"> UNICODE insert: </a> insert: </cite> ] character string; a sequence of characters represented by a code point in Unicode. (Such as defined in delete: <a href="#ref-charmod"> [CHARMOD] delete: </a> in section delete: <a href="http://www.w3.org/TR/2003/WD-charmod-20030822/#sec-Strings"> 3.4 Strings delete: </a> ). delete: </p> delete: <h2> delete: <a id="section-MIME-Type" name="section-MIME-Type"> 4 insert: </p>

insert: </section>
insert: <section id="section-MIME-Type" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h2 aria-level="1" role="heading" id="h2_section-MIME-Type">

insert: <span class="secno"> 4. insert: </span> RDF MIME Type, File Extension and Macintosh File Type delete: </a>

The Internet media type / MIME type for RDF/XML is " application/rdf+xml " — see delete: <a href="http://www.ietf.org/rfc/rfc3023.txt"> RFC 3023 delete: </a> delete: <a href="#ref-rfc3023"> [RFC-3023] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-RFC3023"> RFC3023 insert: </a> insert: </cite> ], section 8.18.

delete: <p> insert: <div class="note-title" aria-level="2" role="heading" id="h_note_1">
insert: <span> Note insert: </span> insert: </div>
insert: <p class="">

Registration Note (Informative): For the state of the MIME type registration, consult delete: <a href="http://www.iana.org/assignments/media-types/"> IANA MIME Media Types delete: </a> delete: <a href="#ref-iana-media-types"> [IANA-MEDIA-TYPES] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-IANA-MEDIA-TYPES"> IANA-MEDIA-TYPES insert: </a> insert: </cite> ]

It is recommended that RDF/XML files have the extension ".rdf" ".rdf" (all lowercase) on all platforms.

It is recommended that RDF/XML files stored on Macintosh HFS file systems be given a file type of "rdf " "rdf " (all lowercase, with a space character as the fourth letter).

delete: <h2> delete: <a id="section-Global" name="section-Global"> 5 insert: </section>
insert: <section id="section-Global" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h2 aria-level="1" role="heading" id="h2_section-Global">

insert: <span class="secno"> 5. insert: </span> Global Issues delete: </a>

delete: <h3> delete: <a id="section-Namespace" name="section-Namespace"> insert: <section id="section-Namespace" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-Namespace">

insert: <span class="secno"> 5.1 insert: </span> The RDF Namespace and Vocabulary delete: </a>

delete: <div class="note"> delete: <p> delete: <strong> Note (Informative): delete: </strong> insert: <p>

The names delete: <code> aboutEach delete: </code> and delete: <code> aboutEachPrefix delete: </code> were removed from the language and the RDF vocabulary by the RDF Core Working Group. See the resolution of issues delete: <a href="http://www.w3.org/2000/03/rdf-tracking/#rdfms-abouteach"> rdfms-abouteach delete: </a> and delete: <a href="http://www.w3.org/2000/03/rdf-tracking/#rdfms-abouteachprefix"> rdfms-abouteachprefix delete: </a> for further information. delete: </p> delete: </div> delete: <div class="note"> delete: <p> delete: <strong> Note (Informative): delete: </strong> The names delete: <code> List delete: </code> , delete: <code> first delete: </code> , delete: <code> rest delete: </code> and delete: <code> nil delete: </code> were added for issue delete: <a href="http://www.w3.org/2000/03/rdf-tracking/#rdfms-seq-representation"> rdfms-seq-representation delete: </a> . The names delete: <code> XMLLiteral delete: </code> and delete: <code> datatype delete: </code> were added to support RDF datatyping. The name delete: <code> nodeID delete: </code> was added for issue delete: <a href="http://www.w3.org/2000/03/rdf-tracking/#rdfms-syntax-incomplete"> rdfms-syntax-incomplete delete: </a> . See the delete: <a href="http://www.w3.org/2000/03/rdf-tracking/"> RDF Core Issues List delete: </a> for further information. delete: </p> delete: </div> delete: <p> The delete: <span class="termdef"> delete: <a id="rdf-ns-uri" name="rdf-ns-uri"> insert: <dfn id="rdf-ns-uri"> RDF namespace URI reference delete: </a> delete: </span> IRI insert: </dfn> (or namespace name) is http://www.w3.org/1999/02/22-rdf-syntax-ns# and is typically used in XML with the prefix rdf although other prefix strings may be used. The delete: <span class="termdef"> delete: <a id="rdf-vocabulary" name="rdf-vocabulary"> insert: <dfn id="rdf-vocabulary"> RDF Vocabulary delete: </a> delete: </span> insert: </dfn> is identified by this namespace name and consists of the following names only:

Syntax names not concepts

RDF Description ID about parseType resource li nodeID datatype

Class names

Seq Bag Alt Statement Property XMLLiteral List

Property names

subject predicate object type value first rest _ n
where n is a decimal integer greater than zero with no leading zeros.

Resource names

nil

Any other names are not defined and insert: <em class="rfc2119" title="SHOULD"> SHOULD insert: </em> generate a warning when encountered, but should otherwise behave normally.

Within RDF/XML documents it is not permitted to use XML namespaces whose namespace name is the delete: <a href="#rdf-ns-uri" class="termref"> insert: <a class="termref" href="#rdf-ns-uri"> · RDF namespace URI reference IRI · concatenated with additional characters.

Throughout this document the terminology rdf: name will be used to indicate name is from the RDF vocabulary and it has a delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI of the concatenation of the delete: <a href="#rdf-ns-uri" class="termref"> insert: <a class="termref" href="#rdf-ns-uri"> · RDF namespace URI reference IRI · and name . For example, rdf:type has the delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI http://www.w3.org/1999/02/22-rdf-syntax-ns#type

delete: <h3> delete: <a id="section-Identifiers" name="section-Identifiers"> insert: </section>
insert: <section id="section-Identifiers" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-Identifiers">

insert: <span class="secno"> 5.2 insert: </span> Identifiers delete: </a>

The delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-rdf-graph"> RDF Graph delete: </a> ( delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/"> RDF Concepts and Abstract Syntax delete: </a> Section 3) document [ insert: <cite> insert: <a class="bibref" href="#bib-RDF11-CONCEPTS"> RDF11-CONCEPTS insert: </a> insert: </cite> ] defines the three types of nodes and one type of RDF data that can act as node and/or predicate:

delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> nodes and predicates IRI

delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> ( delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/"> RDF Concepts and Abstract Syntax delete: </a> Section 3.1) IRIs can act as node (both subject and object) and as predicate. insert: </p>

insert: <p>

insert: <a href="http://www.w3.org/TR/rdf11-concepts/#section-IRIs"> IRIs insert: </a> can be either:

  • given as XML attribute values interpreted as relative URI references IRIs that are resolved against the in-scope base URI as described in section 5.3 to give absolute delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> IRIs
  • transformed from XML namespace-qualified element and attribute names (QNames)
  • transformed from rdf:ID attribute values.

Within RDF/XML, XML QNames are transformed into delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> IRIs by appending the XML local name to the namespace name (URI reference). (IRI). For example, if the XML namespace prefix foo has namespace name (URI reference) (IRI) http://example.org/somewhere/ then the QName foo:bar would correspond to the RDF URI reference IRI http://example.org/somewhere/bar . Note that this restricts which delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> IRIs can be made and the same URI IRI can be given in multiple ways.

The rdf:ID values are transformed into delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> IRIs by appending the attribute value to the result of appending "#" "#" to the in-scope base URI which is defined in Section 5.3 Resolving URIs IRIs

Literal nodes (always object nodes)

delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-literal"> RDF literals delete: </a> ( delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/"> RDF Concepts and Abstract Syntax delete: </a> 6.5) are either delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-plain-literal"> plain literals delete: </a> (ibid), Literals can only act as object nodes. insert: </p>

insert: <p>

insert: <a href="http://www.w3.org/TR/rdf11-concepts/#section-Graph-Literal"> Literals insert: </a> always have a datatype. Language-tagged strings get the datatype insert: <code> rdf:langString insert: </code> . When there is no language tag or delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-typed-literal"> typed literals delete: </a> (ibid). The latter includes delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-rdf-XMLLiteral"> XML literals delete: </a> (ibid section 5, delete: <cite> XML Content within an RDF graph delete: </cite> ). datatype specified the literal is assumed to have the datatype insert: <code> xsd:string insert: </code> .

Blank Node Identifiers

delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-blank-node"> Blank nodes can act as subject node and as object node. insert: </p>

insert: <p>

insert: <a href="http://www.w3.org/TR/rdf11-concepts/#section-blank-nodes"> Blank nodes have distinct identity in the RDF graph. When the graph is written in a syntax such as RDF/XML, these blank nodes may need graph-local identifiers and a syntax in order to preserve this distinction. These local identifiers are called delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-blank-node-id"> blank node identifiers delete: </a> and are used in RDF/XML as values of the rdf:nodeID attribute with the syntax given in Production nodeIdAttr . Blank node identifiers in RDF/XML are scoped to the XML Information Set document information item .

If no blank node identifier is given explicitly as an rdf:nodeID attribute value then one will need to be generated (using generated-blank-node-id, see section 6.3.3 ). Such generated blank node identifiers must not clash with any blank node identifiers derived from rdf:nodeID attribute values. This can be implemented by any method that preserves the distinct identity of all the blank nodes in the graph, that is, the same blank node identifier is not given for different blank nodes. One possible method would be to add a constant prefix to all the rdf:nodeID attribute values and ensure no generated blank node identifiers ever used that prefix. Another would be to map all rdf:nodeID attribute values to new generated blank node identifiers and perform that mapping on all such values in the RDF/XML document.

delete: <h3> delete: <a id="section-baseURIs" name="section-baseURIs"> insert: </section>
insert: <section id="section-baseURIs" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-baseURIs">

insert: <span class="secno"> 5.3 insert: </span> Resolving URIs delete: </a> IRIs

RDF/XML supports delete: <a href="http://www.w3.org/TR/2001/REC-xmlbase-20010627/"> XML Base delete: </a> delete: <a href="#ref-xml-base"> [XML-BASE] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-XMLBASE"> XMLBASE insert: </a> insert: </cite> ] which defines a delete: <a href="#eventterm-element-base-uri" class="termref"> insert: <a class="termref" href="#eventterm-element-base-uri"> · base-uri · accessor for each · root event · and · element event · . Relative URI references IRIs are resolved into delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> IRIs according to the algorithm specified in delete: <a href="http://www.w3.org/TR/2001/REC-xmlbase-20010627/"> XML Base delete: </a> delete: <a href="#ref-xml-base"> [XML-BASE] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-XMLBASE"> XMLBASE insert: </a> insert: </cite> ] (and RFC 2396). These specifications do not specify an algorithm for resolving a fragment identifier alone, such as #foo , or the empty string "" "" into an delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> . IRI. In RDF/XML, a fragment identifier is transformed into a delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> an IRI by appending the fragment identifier to the in-scope base URI. The empty string is transformed into an delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI by substituting the in-scope base URI.

delete: <p> insert: <div class="note-title" aria-level="3" role="heading" id="h_note_2">
insert: <span> Note insert: </span> insert: </div>
insert: <p class="">

insert: <strong> Test: insert: </strong> indicated by: insert: <br />
insert: <a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test001.rdf"> test001.rdf insert: </a> and insert: <a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test001.nt"> test001.nt insert: </a> insert: <br />
insert: <a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test004.rdf"> test004.rdf insert: </a> and insert: <a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test004.nt"> test004.nt insert: </a> insert: <br />
insert: <a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test008.rdf"> test008.rdf insert: </a> and insert: <a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test008.nt"> test008.nt insert: </a> insert: <br />
insert: <a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test013.rdf"> test013.rdf insert: </a> and insert: <a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test013.nt"> test013.nt insert: </a> insert: <br />
insert: <a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test016.rdf"> test016.rdf insert: </a> and insert: <a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test016.nt"> test016.nt insert: </a> insert: </p>

insert: </div>
insert: <p>

An empty same document reference "" resolves against the URI part of the base URI; any fragment part is ignored. See Uniform Resource Identifiers (URI) [ insert: <cite> insert: <a class="bibref" href="#bib-RFC3986"> RFC3986 insert: </a> insert: </cite> ]. insert: </p>

insert: <div class="note">
insert: <div class="note-title" aria-level="3" role="heading" id="h_note_3">
insert: <span> Note insert: </span> insert: </div>
insert: <p class="">

Test: Indicated by delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test001.rdf"> test001.rdf delete: </a> and delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test001.nt"> test001.nt insert: <a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test013.rdf"> test013.rdf insert: </a> and insert: <a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test013.nt"> test013.nt

delete: <p> delete: <strong> Test: delete: </strong> Indicated by delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test004.rdf"> test004.rdf delete: </a> and delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test004.nt"> test004.nt delete: </a> delete: </p> insert: <div class="note-title" aria-level="3" role="heading" id="h_note_4">
insert: <span> Note insert: </span>
delete: <div class="note"> delete: <p> delete: <strong> Test: delete: </strong> Indicated by delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test008.rdf"> test008.rdf delete: </a> and delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test008.nt"> test008.nt delete: </a> delete: </p> delete: </div> delete: <div class="note"> delete: <p> delete: <strong> Test: delete: </strong> Indicated by delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test013.rdf"> test013.rdf delete: </a> and delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test013.nt"> test013.nt delete: </a> delete: </p> delete: </div> delete: <div class="note"> delete: <p> delete: <strong> Test: delete: </strong> Indicated by delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test016.rdf"> test016.rdf delete: </a> and delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test016.nt"> test016.nt delete: </a> delete: </p> delete: </div> delete: <p> An empty same document reference "" resolves against the URI part of the base URI; any fragment part is ignored. See delete: <a href="http://www.isi.edu/in-notes/rfc2396.txt"> Uniform Resource Identifiers (URI) delete: </a> delete: <a href="#ref-uri"> [URIS] delete: </a> section 4.2 delete: </p> delete: <div class="note"> delete: <p> delete: <strong> Test: delete: </strong> Indicated by delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test013.rdf"> test013.rdf delete: </a> and delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test013.nt"> test013.nt delete: </a> delete: </p> delete: </div> delete: <div class="note"> delete: <p> insert: <p class="">

Implementation Note (Informative): When using a hierarchical base URI that has no path component (/), it must be added before using as a base URI for resolving.

delete: <p> insert: <div class="note-title" aria-level="3" role="heading" id="h_note_5">
insert: <span> Note insert: </span> insert: </div>
insert: <p class="">

Test: Indicated by delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test011.rdf"> insert: <a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test011.rdf"> test011.rdf and delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test011.nt"> insert: <a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test011.nt"> test011.nt

delete: <h3> delete: <a id="section-constraints" name="section-constraints"> insert: </section>
insert: <section id="section-constraints" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-constraints">

insert: <span class="secno"> 5.4 insert: </span> Constraints delete: </a>

delete: <strong> delete: <a id="constraint-id" name="constraint-id"> insert: <dfn id="constraint-id"> constraint-id delete: </a> delete: </strong> delete: <br /> insert: </dfn>

Each application of production idAttr matches an attribute. The pair formed by the delete: <a href="#eventterm-attribute-string-value" class="termref"> insert: <a class="termref" href="#eventterm-attribute-string-value"> · string-value · accessor of the matched attribute and the delete: <a href="#eventterm-element-base-uri" class="termref"> insert: <a class="termref" href="#eventterm-element-base-uri"> · base-uri · accessor of the matched attribute is unique within a single RDF/XML document.

The syntax of the names must match the rdf-id production .

delete: <p> insert: <div class="note-title" aria-level="3" role="heading" id="h_note_6">
insert: <span> Note insert: </span> insert: </div>
insert: <p class="">

Test: Indicated by delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test014.rdf"> insert: <a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test014.rdf"> test014.rdf and delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test014.nt"> insert: <a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test014.nt"> test014.nt

delete: <h3> delete: <a id="section-conformance" name="section-conformance"> insert: </section>
insert: <section id="section-conformance" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-conformance">

insert: <span class="secno"> 5.5 insert: </span> Conformance delete: </a>

Definition: delete: <br />
An delete: <span class="termdef"> delete: <a id="dfn-rdf-document" name="dfn-rdf-document"> insert: <dfn id="dfn-rdf-document"> RDF Document delete: </a> delete: </span> insert: </dfn> is a serialization of an RDF Graph into a concrete syntax.
Definition:
An delete: <span class="termdef"> delete: <a name="dfn-rdf-xml-document"> insert: <dfn id="dfn-rdf-xml-document"> RDF/XML Document delete: </a> delete: </span> insert: </dfn> is an delete: <a href="#dfn-rdf-document" class="termref"> insert: <a class="termref" href="#dfn-rdf-document"> RDF Document written in the recommended XML transfer syntax for RDF as defined in this document.
Conformance:
An delete: <a href="#dfn-rdf-xml-document" class="termref"> insert: <a class="termref" href="#dfn-rdf-xml-document"> RDF/XML Document is a delete: <span class="termdef"> delete: <a name="dfn-conforming-rdf-xml-document"> insert: <dfn id="dfn-conforming-document"> conforming RDF/XML document delete: </a> delete: </span> insert: </dfn> if it adheres to the specification defined in this document.
delete: <h2> delete: <a id="section-Data-Model" name="section-Data-Model"> 6 insert: </section>
insert: </section>
insert: <section id="section-Data-Model" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h2 aria-level="1" role="heading" id="h2_section-Data-Model">

insert: <span class="secno"> 6. insert: </span> Syntax Data Model delete: </a>

insert: <div>

This document specifies the syntax of RDF/XML as a grammar on an alphabet of symbols. The symbols are called events in the style of the delete: <a href="#ref-xpath"> [XPATH] delete: </a>   XPATH   Information Set Mapping . A sequence of events is normally derived from an XML document, in which case they are in document order as defined below in Section 6.2 Information Set Mapping . The sequence these events form are intended to be similar to the sequence of events produced by the delete: <a href="#ref-sax"> [SAX2] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-SAX"> SAX insert: </a> insert: </cite> ] XML API from the same XML document. Sequences of events may be checked against the grammar to determine whether they are or are not syntactically well-formed RDF/XML.

The grammar productions may include actions which fire when the production is recognized. Taken together these actions define a transformation from any syntactically well-formed RDF/XML sequence of events into an RDF graph represented in the delete: <a href="http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/#ntriples"> N-Triples delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-N-TRIPLES"> N-TRIPLES insert: </a> insert: </cite> ] language.

The model given here illustrates one way to create a representation of an delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-rdf-graph"> RDF Graph delete: </a> from an RDF/XML document. It does not mandate any implementation method any other method that results in a representation of the same delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-rdf-graph"> RDF Graph delete: </a> may be used.

In particular:

The syntax does not support non-well-formed XML documents, nor documents that otherwise do not have an XML Information Set; for example, that do not conform to delete: <a href="http://www.w3.org/TR/1999/REC-xml-names-19990114/"> Namespaces in XML delete: </a> delete: <a href="#ref-namespaces"> [XML-NS] delete: </a> . [ insert: <cite> insert: <a class="bibref" href="#bib-XML-NAMES"> XML-NAMES insert: </a> insert: </cite> ].

The Infoset requires support for delete: <a href="http://www.w3.org/TR/2001/REC-xmlbase-20010627/"> XML Base delete: </a> delete: <a href="#ref-xml-base"> [XML-BASE] delete: </a> . [ insert: <cite> insert: <a class="bibref" href="#bib-XMLBASE"> XMLBASE insert: </a> insert: </cite> ]. RDF/XML uses the information item property [base URI], discussed in section 5.3

This specification requires an XML Information Set delete: <a href="#ref-xml-infoset"> [INFOSET] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-XML-INFOSET"> XML-INFOSET insert: </a> insert: </cite> ] which supports at least the following information items and properties for RDF/XML:

document information item
[document element], [children], [base URI]
element information item
[local name], [namespace name], [children], [attributes], [parent], [base URI]
attribute information item
[local name], [namespace name], [normalized value]
character information item
[character code]

There is no mapping of the following items to data model events:

delete: <dl> delete: <dt> insert: <ul>

Other information items and properties have no mapping to syntax data model events.

Element information items with reserved XML Names (See Name in XML 1.0 ) are not mapped to data model element events. These are all those with property [prefix] beginning with xml (case independent comparison) and all those with [prefix] property having no value and which have [local name] beginning with xml (case independent comparison).

All information items contained inside XML elements matching the parseTypeLiteralPropertyElt production form delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-rdf-XMLLiteral"> XML literals delete: </a> and do not follow this mapping. See parseTypeLiteralPropertyElt for further information.

This section is intended to satisfy the requirements for Conformance in the delete: <a href="#ref-xml-infoset"> [INFOSET] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-XML-INFOSET"> XML-INFOSET insert: </a> insert: </cite> ] specification. It specifies the information items and properties that are needed to implement this specification.

delete: <h3> delete: <a id="section-Nodes" name="section-Nodes"> insert: </div>
insert: <section id="section-Nodes" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-Nodes">

insert: <span class="secno"> 6.1 insert: </span> Events delete: </a>

There are nine types of event defined in the following subsections. Most events are constructed from an Infoset information item (except for URI reference IRI , blank node , plain literal and typed literal ). The effect of an event constructor is to create a new event with a unique identity, distinct from all other events. Events have accessor operations on them and most have the string-value accessor that may be a static value or computed.

delete: <h3> delete: <a id="section-root-node" name="section-root-node"> insert: <section id="section-root-node" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_section-root-node">

insert: <span class="secno"> 6.1.1 insert: </span> Root Event delete: </a> delete: </h3> insert: </h4>

Constructed from a document information item and takes the following accessors and values.

delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-root-document-element" name="eventterm-root-document-element"> insert: <dt id="eventterm-root-document-element">
document-element delete: </a> delete: </span> delete: <br />
Set to the value of document information item property [document-element].
delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-root-children" name="eventterm-root-children"> insert: <dt id="eventterm-root-children">
children delete: </a> delete: </span> delete: <br />
Set to the value of document information item property [children].
delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-root-base-uri" name="eventterm-root-base-uri"> insert: <dt id="eventterm-root-base-uri">
base-uri delete: </a> delete: </span> delete: <br />
Set to the value of document information item property [base URI].
delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-root-language" name="eventterm-root-language"> insert: <dt id="eventterm-root-language">
language delete: </a> delete: </span> delete: <br />
Set to the empty string.
delete: <h3> delete: <a id="section-element-node" name="section-element-node"> insert: </section>
insert: <section id="section-element-node" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_section-element-node">

insert: <span class="secno"> 6.1.2 insert: </span> Element Event delete: </a> delete: </h3> insert: </h4>

Constructed from an element information item and takes the following accessors and values:

delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-element-local-name" name="eventterm-element-local-name"> insert: <dt id="eventterm-element-local-name">
local-name delete: </a> delete: </span> delete: <br />
Set to the value of element information item property [local name].
delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-element-namespace-name" name="eventterm-element-namespace-name"> insert: <dt id="eventterm-element-namespace-name">
namespace-name delete: </a> delete: </span> delete: <br />
Set to the value of element information item property [namespace name].
delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-element-children" name="eventterm-element-children"> insert: <dt id="eventterm-element-children">
children delete: </a> delete: </span> delete: <br />
Set to the value of element information item property [children].
delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-element-base-uri" name="eventterm-element-base-uri"> insert: <dt id="eventterm-element-parent">
parent insert: </dt>
insert: <dd>
Set to the value of element information item property [parent]. insert: </dd>
insert: <dt id="eventterm-element-base-uri">
base-uri delete: </a> delete: </span> delete: <br />
Set to the value of element information item property [base URI].
delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-element-attributes" name="eventterm-element-attributes"> insert: <dt id="eventterm-element-attributes">
attributes delete: </a> delete: </span> delete: <br />

Made from the value of element information item property [attributes] which is a set of attribute information items.

If this set contains an attribute information item xml:lang ( [namespace name] property with the value "http://www.w3.org/XML/1998/namespace" "http://www.w3.org/XML/1998/namespace" and [local name] property value "lang") "lang") it is removed from the set of attribute information items and the delete: <a href="#eventterm-element-language" class="termref"> insert: <a class="termref" href="#eventterm-element-language"> · language · accessor is set to the [normalized-value] property of the attribute information item.

All remaining reserved XML Names (See (see Name in XML 1.0 ) are now removed from the set. These are, all attribute information items in the set with property [prefix] beginning with xml (case independent comparison) and all attribute information items with [prefix] property having no value and which have [local name] beginning with xml (case independent comparison) are removed. Note that the [base URI] accessor is computed by XML Base before any xml:base attribute information item is deleted.

The remaining set of attribute information items are then used to construct a new set of Attribute Events which is assigned as the value of this accessor.

delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-element-URI" name="eventterm-element-URI"> insert: <dt id="eventterm-element-URI">
URI delete: </a> delete: </span> delete: <br />
Set to the string value of the concatenation of the value of the namespace-name accessor and the value of the local-name accessor.
delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-element-URI-string-value" name="eventterm-element-URI-string-value"> insert: <dt id="eventterm-element-URI-string-value">
URI-string-value delete: </a> delete: </span> delete: <br />

The value is the concatenation of the following in this order "<", "<", the escaped value of the delete: <a href="#eventterm-element-URI" class="termref"> insert: <a class="termref" href="#eventterm-element-URI"> · URI · accessor and ">". ">".

The escaping of the delete: <a href="#eventterm-element-URI" class="termref"> insert: <a class="termref" href="#eventterm-element-URI"> · URI · accessor uses the N-Triples escapes for URI references as described in 3.3 URI References. IRIs [[N_TRIPLES]].

delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-element-liCounter" name="eventterm-element-liCounter"> insert: <dt id="eventterm-element-liCounter">
li-counter delete: </a> delete: </span> delete: <br />
Set to the integer value 1.
delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-element-language" name="eventterm-element-language"> insert: <dt id="eventterm-element-language">
language delete: </a> delete: </span> delete: <br />
Set from the delete: <a href="#eventterm-element-attributes" class="termref"> insert: <a class="termref" href="#eventterm-element-attributes"> · attributes · as described above. If no value is given from the attributes, the value is set to the value of the language accessor on the parent event (either a Root Event or an Element Event ), which may be the empty string.
delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-element-subject" name="eventterm-element-subject"> insert: <dt id="eventterm-element-subject">
subject delete: </a> delete: </span> delete: <br />
Has no initial value. Takes a value that is an Identifier event. This accessor is used on elements that deal with one node in the RDF graph, this generally being the subject of a statement.
delete: <h3> delete: <a id="section-end-element-node" name="section-end-element-node"> insert: </section>
insert: <section id="section-end-element-node" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_section-end-element-node">

insert: <span class="secno"> 6.1.3 insert: </span> End Element Event delete: </a> delete: </h3> insert: </h4>

Has no accessors. Marks the end of the containing element in the sequence.

delete: <h3> delete: <a id="section-attribute-node" name="section-attribute-node"> insert: </section>
insert: <section id="section-attribute-node" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_section-attribute-node">

insert: <span class="secno"> 6.1.4 insert: </span> Attribute Event delete: </a> delete: </h3> insert: </h4>

Constructed from an attribute information item and takes the following accessors and values:

delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-attribute-local-name" name="eventterm-attribute-local-name"> insert: <dt id="eventterm-attribute-local-name">
local-name delete: </a> delete: </span> delete: <br />
Set to the value of attribute information item property [local name].
delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-attribute-namespace-name" name="eventterm-attribute-namespace-name"> insert: <dt id="eventterm-attribute-namespace-name">
namespace-name delete: </a> delete: </span> delete: <br />
Set to the value of attribute information item property [namespace name].
delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-attribute-string-value" name="eventterm-attribute-string-value"> insert: <dt id="eventterm-attribute-string-value">
string-value delete: </a> delete: </span> delete: <br />
Set to the value of the attribute information item property [normalized value] as specified by delete: <a href="#ref-xml"> [XML] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-XML10"> XML10 insert: </a> insert: </cite> ] (if an attribute whose normalized value is a zero-length string, then the string-value is also a zero-length string).
delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-attribute-URI" name="eventterm-attribute-URI"> insert: <dt id="eventterm-attribute-URI">
URI delete: </a> delete: </span> delete: <br />

If delete: <a href="#eventterm-attribute-namespace-name" class="termref"> insert: <a class="termref" href="#eventterm-attribute-namespace-name"> · namespace-name · is present, set to a string value of the concatenation of the value of the delete: <a href="#eventterm-attribute-namespace-name" class="termref"> insert: <a class="termref" href="#eventterm-attribute-namespace-name"> · namespace-name · accessor and the value of the delete: <a href="#eventterm-attribute-local-name" class="termref"> insert: <a class="termref" href="#eventterm-attribute-local-name"> · local-name · accessor. Otherwise if delete: <a href="#eventterm-attribute-local-name" class="termref"> insert: <a class="termref" href="#eventterm-attribute-local-name"> · local-name · is ID , about , resource , parseType or type , set to a string value of the concatenation of the delete: <a href="#rdf-ns-uri" class="termref"> insert: <a class="termref" href="#rdf-ns-uri"> · RDF namespace URI reference IRI · and the value of the delete: <a href="#eventterm-attribute-local-name" class="termref"> insert: <a class="termref" href="#eventterm-attribute-local-name"> · local-name · accessor. Other non-namespaced delete: <a href="#eventterm-attribute-local-name" class="termref"> insert: <a class="termref" href="#eventterm-attribute-local-name"> · local-name · accessor values are forbidden.

The support for a limited set of non-namespaced names is insert: <em class="rfc2119" title="REQUIRED"> REQUIRED insert: </em> and intended to allow RDF/XML documents specified in delete: <a href="#ref-rdfms"> [RDF-MS] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-RDFMS"> RDFMS insert: </a> insert: </cite> ] to remain valid; new documents insert: <em class="rfc2119" title="SHOULD NOT"> SHOULD NOT insert: </em> use these unqualified attributes and applications insert: <em class="rfc2119" title="MAY"> MAY insert: </em> choose to warn when the unqualified form is seen in a document.

The construction of delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> IRIs from XML attributes can generate the same delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> IRIs from different XML attributes. This can cause ambiguity in the grammar when matching attribute events (such as when rdf:about and about XML attributes are both present). Documents that have this are illegal.

delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-attribute-URI-string-value" name="eventterm-attribute-URI-string-value"> insert: <dt id="eventterm-attribute-URI-string-value">
URI-string-value delete: </a> delete: </span> delete: <br />

The value is the concatenation of the following in this order "<", "<", the escaped value of the delete: <a href="#eventterm-attribute-URI" class="termref"> insert: <a class="termref" href="#eventterm-attribute-URI"> · URI · accessor and ">". ">".

The escaping of the delete: <a href="#eventterm-attribute-URI" class="termref"> insert: <a class="termref" href="#eventterm-attribute-URI"> · URI · accessor uses the N-Triples escapes for URI references as described in 3.3 URI References. IRIs [ insert: <cite> insert: <a class="bibref" href="#bib-N-TRIPLES"> N-TRIPLES insert: </a> insert: </cite> ].

delete: <h3> delete: <a id="section-text-node" name="section-text-node"> insert: </section>
insert: <section id="section-text-node" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_section-text-node">

insert: <span class="secno"> 6.1.5 insert: </span> Text Event delete: </a> delete: </h3> insert: </h4>

Constructed from a sequence of one or more consecutive character information items . Has the single accessor:

delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-text-string-value" name="eventterm-text-string-value"> insert: <dt id="eventterm-text-string-value">
string-value delete: </a> delete: </span> delete: <br />
Set to the value of the string made from concatenating the [ character code ] property of each of the character information items.
delete: <h3> delete: <a id="section-identifier-node" name="section-identifier-node"> insert: </section>
insert: <section id="section-identifier-node" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_section-identifier-node">

insert: <span class="secno"> 6.1.6 URI Reference insert: </span> IRI Event delete: </a> delete: </h3> delete: <p> delete: <a id="eventterm-identifier-identifier-type" name="eventterm-identifier-identifier-type"> delete: </a> insert: </h4>

insert: <p id="eventterm-identifier-identifier-type">

An event for a delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> IRIs which has the following accessors:

delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-identifier-identifier" name="eventterm-identifier-identifier"> insert: <dt id="eventterm-identifier-identifier">
identifier delete: </a> delete: </span> delete: <br />
Takes a string value used as an delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> . IRI.
delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-identifier-string-value" name="eventterm-identifier-string-value"> insert: <dt id="eventterm-identifier-string-value">
string-value delete: </a> delete: </span> delete: <br />

The value is the concatenation of "<", "<", the escaped value of the delete: <a href="#eventterm-identifier-identifier" class="termref"> insert: <a class="termref" href="#eventterm-identifier-identifier"> · identifier · accessor and ">" ">"

The escaping of the delete: <a href="#eventterm-identifier-identifier" class="termref"> insert: <a class="termref" href="#eventterm-identifier-identifier"> · identifier · accessor value uses the delete: <a href="http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/#ntriples"> N-Triples delete: </a> escapes for URI references as described in delete: <a href="http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/#sec-uri-encoding"> 3.3 URI References delete: </a> . IRIs [ insert: <cite> insert: <a class="bibref" href="#bib-N-TRIPLES"> N-TRIPLES insert: </a> insert: </cite> ].

These events are constructed by giving a value for the delete: <a href="#eventterm-identifier-identifier" class="termref"> insert: <a class="termref" href="#eventterm-identifier-identifier"> · identifier · accessor.

For further information on identifiers in the RDF graph, see section 5.2 .

delete: <h3> delete: <a id="section-blank-nodeid-event" name="section-blank-nodeid-event"> insert: </section>
insert: <section id="section-blank-nodeid-event" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_section-blank-nodeid-event">

insert: <span class="secno"> 6.1.7 insert: </span> Blank Node Identifier Event delete: </a> delete: </h3> insert: </h4>

An event for a delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-blank-node-id"> blank node identifier delete: </a> which has the following accessors:

delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-blanknodeid-identifier" name="eventterm-blanknodeid-identifier"> insert: <dt id="eventterm-blanknodeid-identifier">
identifier delete: </a> delete: </span> delete: <br />
Takes a string value.
delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-blanknodeid-string-value" name="eventterm-blanknodeid-string-value"> insert: <dt id="eventterm-blanknodeid-string-value">
string-value delete: </a> delete: </span> delete: <br />
The value is a function of the value of the delete: <a href="#eventterm-blanknodeid-identifier" class="termref"> insert: <a class="termref" href="#eventterm-blanknodeid-identifier"> · identifier · accessor. The value begins with "_:" "_:" and the entire value insert: <em class="rfc2119" title="MUST"> MUST insert: </em> match the delete: <a href="http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/#ntriples"> N-Triples delete: </a> delete: <a href="http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/#nodeID"> nodeID insert: <a href="http://www.w3.org/TR/n-triples/#grammar-production-BLANK_NODE_LABEL"> BLANK_NODE_LABELD production. The function insert: <em class="rfc2119" title="MUST"> MUST insert: </em> preserve distinct blank node identity as discussed in in section 5.2 Identifiers .

These events are constructed by giving a value for the delete: <a href="#eventterm-blanknodeid-identifier" class="termref"> insert: <a class="termref" href="#eventterm-blanknodeid-identifier"> · identifier · accessor.

For further information on identifiers in the RDF graph, see section 5.2 .

delete: <h3> delete: <a id="section-literal-node" name="section-literal-node"> insert: </section>
insert: <section id="section-literal-node" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_section-literal-node">

insert: <span class="secno"> 6.1.8 insert: </span> Plain Literal Event delete: </a> delete: </h3> insert: </h4>

insert: <div class="note">
insert: <div class="note-title" aria-level="4" role="heading" id="h_note_7">
insert: <span> Note insert: </span> insert: </div>
insert: <p class="">

RDF/XML plain literals are in RDF 1.1 treated as syntactic sugar for a literal with datatype insert: <code> xsd:string insert: </code> (in case no language tag is present) or as a literal with datatype insert: <code> rdf:langString insert: </code> (in case a language tag is present). The mapping to N-Triples as defined in this subsection is not affected by this change. insert: </p>

insert: </div>

An event for a delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-plain-literal"> plain literal delete: </a> which can have the following accessors:

delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-literal-literal-value" name="eventterm-literal-literal-value"> insert: <dt id="eventterm-literal-literal-value">
literal-value delete: </a> delete: </span> delete: <br />
Takes a string value.
delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-literal-literal-language" name="eventterm-literal-literal-language"> insert: <dt id="eventterm-literal-literal-language">
literal-language delete: </a> delete: </span> delete: <br />
Takes a string value used as a delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-language-identifier"> language tag delete: </a> in an RDF plain literal.
delete: <dt> delete: <span class="termdef"> delete: <a id="eventterm-literal-string-value" name="eventterm-literal-string-value"> insert: <dt id="eventterm-literal-string-value">
string-value delete: </a> delete: </span> delete: <br />

The value is calculated from the other accessors as follows.

If delete: <a href="#eventterm-literal-literal-language" class="termref"> insert: <a class="termref" href="#eventterm-literal-literal-language"> · literal-language · is the empty string then the value is the concatenation of """ """ (1 double quote), the escaped value of the delete: <a href="#eventterm-literal-literal-value" class="termref"> insert: <a class="termref" href="#eventterm-literal-literal-value"> · literal-value · accessor and """ """ (1 double quote).

Otherwise the value is the concatenation of """ """ (1 double quote), the escaped value of the delete: <a href="#eventterm-literal-literal-value" class="termref"> insert: <a class="termref" href="#eventterm-literal-literal-value"> · literal-value · accessor ""@" ""@" (1 double quote and a '@'), and the value of the delete: <a href="#eventterm-literal-literal-language" class="termref"> insert: <a class="termref" href="#eventterm-literal-literal-language"> · literal-language · accessor.

The escaping of the delete: <a href="#eventterm-literal-literal-value" class="termref"> insert: <a class="termref" href="#eventterm-literal-literal-value"> · literal-value · accessor value uses the delete: <a href="http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/#ntriples"> N-Triples delete: </a> escapes for strings as described in delete: <a href="http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/#ntrip_strings"> 3.2 Strings delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-N-TRIPLES"> N-TRIPLES insert: </a> insert: </cite> ] for escaping certain characters such as ".

These events are constructed by giving values for the delete: <a href="#eventterm-literal-literal-value" class="termref"> insert: <a class="termref" href="#eventterm-literal-literal-value"> · literal-value · and delete: <a href="#eventterm-literal-literal-language" class="termref"> insert: <a class="termref" href="#eventterm-literal-literal-language"> · literal-language · accessors.

delete: <p> insert: <div class="note-title" aria-level="4" role="heading" id="h_note_8">
insert: <span> Note insert: </span> insert: </div>
insert: <p id="literal-comb-char-note1" class="">

Interoperability Note (Informative): delete: <a id="literal-comb-char-note1" name="literal-comb-char-note1"> delete: </a> Literals beginning with a Unicode combining character are allowed however they may cause interoperability problems. See delete: <a href="#ref-charmod"> [CHARMOD] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-CHARMOD"> CHARMOD insert: </a> insert: </cite> ] for further information.

delete: <h3> delete: <a id="section-xml-literal-node" name="section-xml-literal-node"> delete: </a> delete: <a id="section-typed-literal-node" name="section-typed-literal-node"> insert: </section>
insert: <section id="section-typed-literal-node" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_section-typed-literal-node">

insert: <span class="secno"> 6.1.9 insert: </span> Typed Literal Event delete: </a> delete: </h3> insert: </h4>

An event for a delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-typed-literal"> typed literal delete: </a> which can have the following accessors:

delete: <dt> delete: <a id="eventterm-xmlliteral-literal-value" name="eventterm-xmlliteral-literal-value"> delete: </a> delete: <span class="termdef"> delete: <a id="eventterm-typedliteral-literal-value" name="eventterm-typedliteral-literal-value"> insert: <dt id="eventterm-typedliteral-literal-value">
literal-value delete: </a> delete: </span> delete: <br />
Takes a string value.
delete: <dt> delete: <a id="eventterm-literal-literal-datatype" name="eventterm-literal-literal-datatype"> delete: </a> delete: <span class="termdef"> delete: <a id="eventterm-typedliteral-literal-datatype" name="eventterm-typedliteral-literal-datatype"> insert: <dt id="eventterm-typedliteral-literal-datatype">
literal-datatype delete: </a> delete: </span> delete: <br />
Takes a string value used as an delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> . IRI.
delete: <dt> delete: <a id="eventterm-xmlliteral-string-value" name="eventterm-xmlliteral-string-value"> delete: </a> delete: <span class="termdef"> delete: <a id="eventterm-typedliteral-string-value" name="eventterm-typedliteral-string-value"> insert: <dt id="eventterm-typedliteral-string-value">
string-value delete: </a> delete: </span> delete: <br />

The value is the concatenation of the following in this order """ """ (1 double quote), the escaped value of the delete: <a href="#eventterm-typedliteral-literal-value" class="termref"> insert: <a class="termref" href="#eventterm-typedliteral-literal-value"> · literal-value · accessor, """ """ (1 double quote), "^^<", "^^<", the escaped value of the delete: <a href="#eventterm-typedliteral-literal-datatype" class="termref"> insert: <a class="termref" href="#eventterm-typedliteral-literal-datatype"> · literal-datatype · accessor and ">". ">".

The escaping of the delete: <a href="#eventterm-typedliteral-literal-value" class="termref"> insert: <a class="termref" href="#eventterm-typedliteral-literal-value"> · literal-value · accessor value uses the delete: <a href="http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/#ntriples"> N-Triples delete: </a> escapes for strings as described in delete: <a href="http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/#ntrip_strings"> 3.2 Strings delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-N-TRIPLES"> N-TRIPLES insert: </a> insert: </cite> ] for escaping certain characters such as ". The escaping of the delete: <a href="#eventterm-typedliteral-literal-datatype" class="termref"> insert: <a class="termref" href="#eventterm-typedliteral-literal-datatype"> · literal-datatype · accessor value must use the delete: <a href="http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/#ntriples"> N-Triples delete: </a> escapes for URI references as described in delete: <a href="http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/#sec-uri-encoding"> 3.3 URI References delete: </a> . IRI [ insert: <cite> insert: <a class="bibref" href="#bib-N-TRIPLES"> N-TRIPLES insert: </a> insert: </cite> ].

These events are constructed by giving values for the delete: <a href="#eventterm-typedliteral-literal-value" class="termref"> insert: <a class="termref" href="#eventterm-typedliteral-literal-value"> · literal-value · and delete: <a href="#eventterm-typedliteral-literal-datatype" class="termref"> insert: <a class="termref" href="#eventterm-typedliteral-literal-datatype"> · literal-datatype · accessors.

delete: <p> insert: <div class="note-title" aria-level="4" role="heading" id="h_note_9">
insert: <span> Note insert: </span> insert: </div>
insert: <p class="" id="literal-comb-char-note2">

Interoperability Note (Informative): delete: <a id="literal-comb-char-note2" name="literal-comb-char-note2"> delete: </a> Literals beginning with a Unicode combining character are allowed however they may cause interoperability problems. See delete: <a href="#ref-charmod"> [CHARMOD] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-CHARMOD"> CHARMOD insert: </a> insert: </cite> ] for further information.

delete: <p> insert: <div class="note-title" aria-level="4" role="heading" id="h_note_10">
insert: <span> Note insert: </span> insert: </div>
insert: <p id="literal-white-space-normalization-note" class="">

Implementation Note (Informative): delete: <a id="literal-white-space-normalization-note" name="literal-white-space-normalization-note"> delete: </a> In delete: <a href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/"> XML Schema (part 1) delete: </a> delete: <a href="#ref-xml-schema1"> [XML-SCHEMA1] delete: </a> , [ insert: <cite> insert: <a class="bibref" href="#bib-XMLSCHEMA-1"> XMLSCHEMA-1 insert: </a> insert: </cite> ], white space normalization occurs during validation according to the value of the whiteSpace facet. The syntax mapping used in this document occurs after this, so the whiteSpace facet formally has no further effect.

delete: <h3> delete: <a id="section-Infoset-Conformance" name="section-Infoset-Conformance"> delete: </a> delete: <a id="section-Infoset-Mapping" name="section-Infoset-Mapping"> insert: </section>
insert: </section>
insert: <section id="section-Infoset-Mapping" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 id="section-Infoset-Conformance" aria-level="2" role="heading">

insert: <span class="secno"> 6.2 insert: </span> Information Set Mapping delete: </a>

To transform the Infoset into the sequence of events in document order , each information item is transformed as described above to generate a tree of events with accessors and values. Each element event is then replaced as described below to turn the tree of events into a sequence in document order.

  1. The original element event
  2. The value of the children accessor recursively transformed, a possibly empty ordered list of events.
  3. An end element event
delete: <h3> delete: <a id="section-Notation-Forms" name="section-Notation-Forms"> delete: </a> delete: <a id="section-Infoset-Grammar-Notation" name="section-Infoset-Grammar-Notation"> insert: </section>
insert: <section id="section-Infoset-Grammar-Notation" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 id="section-Notation-Forms" aria-level="2" role="heading">

insert: <span class="secno"> 6.3 insert: </span> Grammar Notation delete: </a>

The following notation is used to describe matching the sequence of data model events as given in Section 6 and the actions to perform for the matches. The RDF/XML grammar is defined in terms of mapping from these matched data model events to triples, using notation of the form:

number event-type event-content

action ...

delete: <a href="http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/#ntriples"> N-Triples delete: </a>

where the event-content is an expression matching event-types (as defined in Section 6.1 ), using notation given in the following sections. The number is used for reference purposes. The grammar action may include generating new triples to the graph, written in delete: <a href="http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/#ntriples"> N-Triples delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-N-TRIPLES"> N-TRIPLES insert: </a> insert: </cite> ] format.

The following sections describe the general notation used and that for event matching and actions.

delete: <h4> delete: <a id="section-Infoset-Grammar-General" name="section-Infoset-Grammar-General"> insert: <section id="section-Infoset-Grammar-General" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_section-Infoset-Grammar-General">

insert: <span class="secno"> 6.3.1 insert: </span> Grammar General Notation delete: </a>

delete: <table border="1" summary="This table describes the general notation used the grammar."> delete: <caption> Grammar General Notation. delete: </caption> insert: <table> insert: <tbody>insert: </tbody>
Notation Meaning
event . accessor The value of an event accessor.
rdf: X A URI as defined in section 5.1 .
"ABC" "ABC" A string of characters A, B, C in order.
delete: <h4> delete: <a id="section-Infoset-Grammar-Matching" name="section-Infoset-Grammar-Matching"> insert: </section>
insert: <section id="section-Infoset-Grammar-Matching" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_section-Infoset-Grammar-Matching">

insert: <span class="secno"> 6.3.2 insert: </span> Grammar Event Matching Notation delete: </a>

delete: <table border="1" summary="This table describes the event matching notation used in the following sections to match sequences of syntax data model events."> delete: <caption> Grammar Event Matching Notation. delete: </caption> insert: <table> insert: <tbody>insert: </tbody>
Notation Meaning
A == B Event accessor A matches expression B.
A != B A is not equal to B.
A | B | ... The A, B, ... terms are alternatives.
A - B The terms in A excluding all the terms in B.
delete: <a id="anyURI" name="anyURI"> insert: <dfn id="anyURI"> anyURI delete: </a> insert: </dfn> . Any URI.
delete: <a id="anyString" name="anyString"> insert: <dfn id="anyString"> anyString delete: </a> insert: </dfn> . Any string.
list(item1, item2, ...); list() An ordered list of events. An empty list.
set(item1, item2, ...); set() An unordered set of events. An empty set.
* Zero or more of preceding term.
? Zero or one of preceding term.
+ One or more of preceding term.
root(acc1 == value1,
    acc2     acc2 == value2, ...)
Match a Root Event with accessors.
start-element(acc1 == value1,
    acc2     acc2 == value2, ...)
children
end-element()
Match a sequence of Element Event with accessors, a possibly empty list of events as element content and an End Element Event .
attribute(acc1 == value1,
    acc2     acc2 == value2, ...)
Match an Attribute Event with accessors.
text() Match a Text Event .
delete: <h4> delete: <a id="section-Infoset-Grammar-Action" name="section-Infoset-Grammar-Action"> insert: </section>
insert: <section id="section-Infoset-Grammar-Action" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_section-Infoset-Grammar-Action">

insert: <span class="secno"> 6.3.3 insert: </span> Grammar Action Notation delete: </a>

delete: <table border="1" summary="This table describes the grammar actions notation used in the following sections to perform triple generation from syntax data model events."> delete: <caption> Grammar Action Notation. delete: </caption> insert: <table> insert: <tbody>insert: </tbody>
Notation Meaning
A := B Assigns A the value B.
concat(A, B, ..) A string created by concatenating the terms in order.
resolve( e , s ) A string created by interpreting string s as a relative URI reference IRI to the delete: <a href="#eventterm-element-base-uri" class="termref"> insert: <a class="termref" href="#eventterm-element-base-uri"> · base-uri · accessor of delete: <a href="#section-element-node"> insert: <a href="#section-element-node" class="sec-ref"> insert: <span class="secno"> 6.1.2 insert: </span> insert: <span class="sec-title"> Element Event insert: </span> e as defined in Section 5.3 Resolving URIs . The resulting string represents an delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> . IRI.
generated-blank-node-id() A string value for a new distinct generated delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-blank-node-id"> blank node identifier delete: </a> as defined in section 5.2 Identifiers .
event . accessor := value Sets an event accessor to the given value.
uri(identifier := value) Create a new URI Reference Event .
bnodeid(identifier := value) Create a new Blank Node Identifier Event . See also section 5.2 Identifiers .
literal(literal-value := string,
    literal-language     literal-language := language, ...)
Create a new Plain Literal Event .
typed-literal(literal-value := string, ...) Create a new Typed Literal Event .
delete: <h2> delete: <a id="section-Infoset-Grammar" name="section-Infoset-Grammar"> 7 insert: </section>
insert: </section>
insert: </section>
insert: <section id="section-Infoset-Grammar" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h2 aria-level="1" role="heading" id="h2_section-Infoset-Grammar">

insert: <span class="secno"> 7. insert: </span> RDF/XML Grammar delete: </a>

delete: <h3> delete: <a id="section-grammar-summary" name="section-grammar-summary"> insert: <section id="section-grammar-summary" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-grammar-summary">

insert: <span class="secno"> 7.1 insert: </span> Grammar summary delete: </a>

delete: <tr valign="top">insert: <tbody>insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>delete: <tr valign="top">insert: <tr>insert: </tbody>
7.2.2 coreSyntaxTerms rdf:RDF | rdf:ID | rdf:about | rdf:parseType | rdf:resource | rdf:nodeID | rdf:datatype
7.2.3 syntaxTerms coreSyntaxTerms | rdf:Description | rdf:li
7.2.4 oldTerms rdf:aboutEach | rdf:aboutEachPrefix | rdf:bagID
7.2.5 nodeElementURIs anyURI - ( coreSyntaxTerms | rdf:li | oldTerms )
7.2.6 propertyElementURIs anyURI - ( coreSyntaxTerms | rdf:Description | oldTerms )
7.2.7 propertyAttributeURIs anyURI - ( coreSyntaxTerms | rdf:Description | rdf:li | oldTerms )
7.2.8 doc root( document-element == RDF , children == list( RDF ))
7.2.9 RDF start-element( URI == rdf:RDF , attributes == set())
nodeElementList
end-element()
7.2.10 nodeElementList ws * ( nodeElement ws * )*
7.2.11 nodeElement start-element( URI == nodeElementURIs
          attributes == set(( idAttr | nodeIdAttr | aboutAttr  )?, )?, propertyAttr *))
propertyEltList
end-element()
7.2.12 ws A text event matching white space defined by delete: <a href="#ref-xml"> [XML] delete: </a> XML [ insert: <cite> insert: <a class="bibref" href="#bib-XML10"> XML10 insert: </a> insert: </cite> ] definition White Space Rule [3] S in section Common Syntactic Constructs
7.2.13 propertyEltList ws * ( propertyElt ws * ) *
7.2.14 propertyElt resourcePropertyElt | literalPropertyElt | parseTypeLiteralPropertyElt | parseTypeResourcePropertyElt | parseTypeCollectionPropertyElt | parseTypeOtherPropertyElt | emptyPropertyElt
7.2.15 resourcePropertyElt start-element( URI == propertyElementURIs ), attributes == set( idAttr ?))
ws * nodeElement ws *
end-element()
7.2.16 literalPropertyElt start-element( URI == propertyElementURIs ), attributes == set( idAttr ?, datatypeAttr ?))
text()
end-element()
7.2.17 parseTypeLiteralPropertyElt start-element( URI == propertyElementURIs ), attributes == set( idAttr ?, parseLiteral ))
literal
end-element()
7.2.18 parseTypeResourcePropertyElt start-element( URI == propertyElementURIs ), attributes == set( idAttr ?, parseResource ))
propertyEltList
end-element()
7.2.19 parseTypeCollectionPropertyElt start-element( URI == propertyElementURIs ), attributes == set( idAttr ?, parseCollection ))
nodeElementList
end-element()
7.2.20 parseTypeOtherPropertyElt start-element( URI == propertyElementURIs ), attributes == set( idAttr ?, parseOther ))
propertyEltList
end-element()
7.2.21 emptyPropertyElt start-element( URI == propertyElementURIs ), attributes == set( idAttr ?, ( resourceAttr | nodeIdAttr | insert: <a href="#datatypeAttr"> datatypeAttr insert: </a> )?, propertyAttr *))
end-element()
7.2.22 idAttr attribute( URI == rdf:ID , string-value == rdf-id )
7.2.23 nodeIdAttr attribute( URI == rdf:nodeID , string-value == rdf-id )
7.2.24 aboutAttr attribute( URI == rdf:about , string-value == URI-reference )
7.2.25 propertyAttr attribute( URI == propertyAttributeURIs , string-value == anyString )
7.2.26 resourceAttr attribute( URI == rdf:resource , string-value == URI-reference )
7.2.27 datatypeAttr attribute( URI == rdf:datatype , string-value == URI-reference )
7.2.28 parseLiteral attribute( URI == rdf:parseType , string-value == "Literal") "Literal")
7.2.29 parseResource attribute( URI == rdf:parseType , string-value == "Resource") "Resource")
7.2.30 parseCollection attribute( URI == rdf:parseType , string-value == "Collection") "Collection")
7.2.31 parseOther attribute( URI == rdf:parseType , delete: <a href="#eventterm-attribute-string-value"> insert: <a href="#eventterm-attribute-string-value"> string-value == anyString - ("Resource" ("Resource" | "Literal" "Literal" | "Collection") "Collection") )
7.2.32 URI-reference An delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> . IRI.
7.2.33 literal Any XML element content that is allowed according to delete: <a href="#ref-xml"> [XML] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-XML10"> XML10 insert: </a> insert: </cite> ] definition Content of Elements Rule [43] content . in section 3.1 Start-Tags, End-Tags, and Empty-Element Tags
7.2.34 rdf-id An attribute delete: <a href="#eventterm-attribute-string-value" class="termref"> insert: <a class="termref" href="#eventterm-attribute-string-value"> · string-value · matching any legal delete: <a href="#ref-namespaces"> [XML-NS] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-XML-NAMES"> XML-NAMES insert: </a> insert: </cite> ] token NCName
delete: <h3> delete: <a id="section-grammar-productions" name="section-grammar-productions"> insert: </section>
insert: <section id="section-grammar-productions" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-grammar-productions">

insert: <span class="secno"> 7.2 insert: </span> Grammar Productions delete: </a>

delete: <h4> delete: <a id="start" name="start"> insert: <section id="start" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_start">

insert: <span class="secno"> 7.2.1 insert: </span> Grammar start delete: </a>

If the RDF/XML is a standalone XML document (identified by presentation as an application/rdf+xml RDF MIME type object, or by some other means) then the grammar may start with production doc or production nodeElement .

If the content is known to be RDF/XML by context, such as when RDF/XML is embedded inside other XML content, then the grammar can either start at Element Event     RDF (only when an element is legal at that point in the XML) or at production nodeElementList (only when element content is legal, since this is a list of elements). For such embedded RDF/XML, the delete: <a href="#eventterm-element-base-uri" class="termref"> insert: <a class="termref" href="#eventterm-element-base-uri"> · base-uri · value on the outermost element must be initialized from the containing XML since no Root Event     will be available. Note that if such embedding occurs, the grammar may be entered several times but no state is expected to be preserved.

delete: <h4> delete: <a id="coreSyntaxTerms" name="coreSyntaxTerms"> insert: </section>
insert: <section id="coreSyntaxTerms" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_coreSyntaxTerms">

insert: <span class="secno"> 7.2.2 insert: </span> Production coreSyntaxTerms delete: </a>

rdf:RDF | rdf:ID | rdf:about | rdf:parseType | rdf:resource | rdf:nodeID | rdf:datatype

A subset of the syntax terms from the RDF vocabulary in section 5.1 which are used in RDF/XML.

delete: <h4> delete: <a id="syntaxTerms" name="syntaxTerms"> insert: </section>
insert: <section id="syntaxTerms" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_syntaxTerms">

insert: <span class="secno"> 7.2.3 insert: </span> Production syntaxTerms delete: </a>

coreSyntaxTerms | rdf:Description | rdf:li

All the syntax terms from the RDF vocabulary in section 5.1 which are used in RDF/XML.

delete: <h4> delete: <a id="bagIdAttr" name="bagIdAttr"> delete: </a> delete: <a id="section-Bag-Expand" name="section-Bag-Expand"> delete: </a> delete: <a id="oldTerms" name="oldTerms"> insert: </section>
insert: <section id="oldTerms" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 id="section-Bag-Expand" aria-level="3" role="heading">

insert: <span class="secno"> 7.2.4 insert: </span> Production oldTerms delete: </a>

rdf:aboutEach | rdf:aboutEachPrefix | rdf:bagID

These are the names from the RDF vocabulary that have been withdrawn from the language. See the resolutions of Issue rdfms-aboutEach-on-object , Issue rdfms-abouteachprefix and Last Call Issue timbl-01 for further information.

delete: <p> insert: <div class="note-title" aria-level="4" role="heading" id="h_note_11">
insert: <span> Note insert: </span> insert: </div>
insert: <p class="">

Error Test: Indicated by delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-abouteach/error001.rdf"> insert: <a href="http://www.w3.org/2013/RDFXMLTests/rdfms-abouteach/error001.rdf"> error001.rdf and delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-abouteach/error002.rdf"> insert: <a href="http://www.w3.org/2013/RDFXMLTests/rdfms-abouteach/error002.rdf"> error002.rdf

delete: <h4> delete: <a id="nodeElementURIs" name="nodeElementURIs"> insert: </section>
insert: <section id="nodeElementURIs" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_nodeElementURIs">

insert: <span class="secno"> 7.2.5 insert: </span> Production nodeElementURIs delete: </a>

The delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> IRIs that are allowed on node elements.

delete: <h4> delete: <a id="propertyElementURIs" name="propertyElementURIs"> insert: </section>
insert: <section id="propertyElementURIs" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_propertyElementURIs">

insert: <span class="secno"> 7.2.6 insert: </span> Production propertyElementURIs delete: </a>

anyURI - ( coreSyntaxTerms | rdf:Description | oldTerms )

The URIs that are allowed on property elements.

delete: <h4> delete: <a id="propertyAttributeURIs" name="propertyAttributeURIs"> insert: </section>
insert: <section id="propertyAttributeURIs" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_propertyAttributeURIs">

insert: <span class="secno"> 7.2.7 insert: </span> Production propertyAttributeURIs delete: </a>

anyURI - ( coreSyntaxTerms | rdf:Description | rdf:li | oldTerms )

The delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI references delete: </a> IRIs that are allowed on property attributes.

delete: <h4> delete: <a id="doc" name="doc"> insert: </section>
insert: <section id="doc" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_doc">

insert: <span class="secno"> 7.2.8 insert: </span> Production doc delete: </a>

root( document-element == RDF ,
          children == list( RDF ))

delete: <h4> delete: <a id="RDF" name="RDF"> insert: </section>
insert: <section id="RDF" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_RDF">

insert: <span class="secno"> 7.2.9 insert: </span> Production RDF delete: </a>

start-element( URI == rdf:RDF ,
          attributes == set())
nodeElementList
end-element()

delete: <h4> delete: <a id="nodeElementList" name="nodeElementList"> insert: </section>
insert: <section id="nodeElementList" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_nodeElementList">

insert: <span class="secno"> 7.2.10 insert: </span> Production nodeElementList delete: </a>

delete: <h4> delete: <a id="description" name="description"> delete: </a> delete: <a id="typedNode" name="typedNode"> delete: </a> delete: <a id="nodeElement" name="nodeElement"> insert: </section>
insert: <section id="nodeElement" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 id="typedNode" aria-level="3" role="heading">

insert: <span class="secno"> 7.2.11 insert: </span> Production nodeElement delete: </a>

start-element( URI == nodeElementURIs
          attributes == set(( idAttr | nodeIdAttr | aboutAttr  )?, )?, propertyAttr *))
propertyEltList
end-element()

For node element e , the processing of some of the attributes has to be done before other work such as dealing with children events or other attributes. These can be processed in any order:

If e . subject is empty, then e . subject := bnodeid( identifier := generated-blank-node-id()).

The following can then be performed in any order:

    delete: <li> delete: <a id="nodeElementStatement1" name="nodeElementStatement1"> delete: </a> insert: <li id="nodeElementStatement1">
  • If e . URI != rdf:Description then the following statement is added to the graph:

    e . subject . string-value <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> e . URI-string-value .

  • delete: <li> delete: <a id="nodeElementStatement2" name="nodeElementStatement2"> delete: </a> insert: <li id="nodeElementStatement2">
  • If there is an attribute a in propertyAttr with a . URI == rdf:type then u :=uri(identifier:=resolve( e insert: </em> , insert: <em> a . string-value )) and the following tiple triple is added to the graph:

    e . subject . string-value <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> u . string-value .

  • delete: <li> delete: <a id="nodeElementStatement3" name="nodeElementStatement3"> delete: </a> insert: <li id="nodeElementStatement3">
  • For each attribute a matching propertyAttr (and not rdf:type ), the Unicode string a . string-value insert: <em class="rfc2119" title="SHOULD"> SHOULD insert: </em> be in Normal Form C delete: <a href="#ref-nfc"> [NFC] delete: </a> , [ insert: <cite> insert: <a class="bibref" href="#bib-NFC"> NFC insert: </a> insert: </cite> ], o := literal( literal-value := a . string-value , literal-language := e . language ) and the following statement is added to the graph:
  • delete: <li> delete: <a id="nodeElementStatement4" name="nodeElementStatement4"> delete: </a> insert: <li id="nodeElementStatement4">
  • Handle the propertyEltList children events in document order.
delete: <h4> delete: <a id="ws" name="ws"> insert: </section>
insert: <section id="ws" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_ws">

insert: <span class="secno"> 7.2.12 insert: </span> Production ws delete: </a>

A text event matching white space defined by delete: <a href="#ref-xml"> [XML] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-XML10"> XML10 insert: </a> insert: </cite> ] definition White Space Rule [3] S in section Common Syntactic Constructs

delete: <h4> delete: <a id="propertyEltList" name="propertyEltList"> insert: </section>
insert: <section id="propertyEltList" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_propertyEltList">

insert: <span class="secno"> 7.2.13 insert: </span> Production propertyEltList delete: </a>

delete: <h4> delete: <a id="propertyElt" name="propertyElt"> insert: </section>
insert: <section id="propertyElt" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_propertyElt">

insert: <span class="secno"> 7.2.14 insert: </span> Production propertyElt delete: </a>

If element e has e . URI = rdf:li then apply the list expansion rules on element e .parent in section 7.4 to give a new URI u and e . URI := u .

The action of this production must be done before the actions of any sub-matches ( delete: <a href="#resourcePropertyElt"> insert: <a href="#resourcePropertyElt"> resourcePropertyElt ... emptyPropertyElt ). Alternatively the result must be equivalent to as if it this action was performed first, such as performing as the first action of all of the sub-matches.

delete: <h4> delete: <a id="resourcePropertyElt" name="resourcePropertyElt"> insert: </section>
insert: <section id="resourcePropertyElt" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_resourcePropertyElt">

insert: <span class="secno"> 7.2.15 insert: </span> Production resourcePropertyElt delete: </a>

start-element( URI == propertyElementURIs ),
          attributes == set( idAttr ?))
ws * nodeElement ws *
end-element()

For element e , and the single contained nodeElement n , first n must be processed using production nodeElement . Then the following statement is added to the graph:

If the rdf:ID attribute a is given, the above statement is reified with i := uri( identifier := resolve( e , concat("#", concat("#", a . string-value ))) using the reification rules in section 7.3 and e . subject := i

delete: <h4> delete: <a id="literalPropertyElt" name="literalPropertyElt"> insert: </section>
insert: <section id="literalPropertyElt" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_literalPropertyElt">

insert: <span class="secno"> 7.2.16 insert: </span> Production literalPropertyElt delete: </a>

start-element( URI == propertyElementURIs ),
          attributes == set( idAttr ?, datatypeAttr ?))
text()
end-element()

Note that the empty literal case is defined in production emptyPropertyElt .

For element e , and the text event t . The Unicode string t . string-value insert: <em class="rfc2119" title="SHOULD"> SHOULD insert: </em> be in Normal Form C delete: <a href="#ref-nfc"> [NFC] delete: </a> . [ insert: <cite> insert: <a class="bibref" href="#bib-NFC"> NFC insert: </a> insert: </cite> ]. If the rdf:datatype attribute d is given then o := typed-literal( literal-value := t . string-value , literal-datatype := d . string-value ) otherwise o := literal( literal-value := t . string-value , literal-language := e . language ) and the following statement is added to the graph:

If the rdf:ID attribute a is given, the above statement is reified with i := uri( identifier := resolve( e , concat("#", concat("#", a . string-value ))) using the reification rules in section 7.3 and e . subject := i .

delete: <h4> delete: <a id="parseTypeLiteralPropertyElt" name="parseTypeLiteralPropertyElt"> insert: </section>
insert: <section class="informative" id="parseTypeLiteralPropertyElt" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_parseTypeLiteralPropertyElt">

insert: <span class="secno"> 7.2.17 insert: </span> Production parseTypeLiteralPropertyElt delete: </a>

insert: <p>

insert: <em> This section is non-normative. insert: </em> insert: </p>

start-element( URI == propertyElementURIs ),
          attributes == set( idAttr ?, parseLiteral ))
literal
end-element()

For element e and the literal l that is the rdf:parseType="Literal" rdf:parseType="Literal" content. l is not transformed by the syntax data model mapping into events (as noted in section 6 Syntax Data Model ) but remains an XML Infoset of XML Information items.

l is transformed into the lexical form of an delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-rdf-XMLLiteral"> insert: <a href="http://www.w3.org/TR/rdf11-concepts/#dfn-rdf-xmlliteral"> XML literal in the RDF graph x (a Unicode string) by the following algorithm. This does not mandate any implementation method any other method that gives the same result may be used.

  1. Use l to construct an insert: <a href="http://www.w3.org/TR/xpath-datamodel-30/#sequences"> XPath delete: <a href="#ref-xpath"> [XPATH] delete: </a> delete: <a href="http://www.w3.org/TR/1999/REC-xpath-19991116#infoset"> node-set delete: </a> (a delete: <a href="http://www.w3.org/TR/2002/REC-xml-exc-c14n-20020718/#def-document-subset"> document subset delete: </a> ) sequence insert: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-XPATH-DATAMODEL-30"> XPATH-DATAMODEL-30 insert: </a> insert: </cite> ].
  2. Apply delete: <a href="http://www.w3.org/TR/2002/REC-xml-exc-c14n-20020718/"> Exclusive XML Canonicalization insert: <a href="http://www.w3.org/TR/xpath-functions-30/#func-serialize"> http://www.w3.org/TR/xpath-functions-30/#func-serialize [ delete: <a href="#ref-xml-xc14n"> XML-XC14N delete: </a> ]) with comments and with empty delete: <a href="http://www.w3.org/TR/2002/REC-xml-exc-c14n-20020718/#def-InclusiveNamespaces-PrefixList"> InclusiveNamespaces PrefixList delete: </a> insert: <cite> insert: <a class="bibref" href="#bib-XPATH-FUNCTIONS-30"> XPATH-FUNCTIONS-30 insert: </a> insert: </cite> ] to this node-set sequence to give a sequence of octets delete: <em> s delete: </em> delete: </li> delete: <li> This sequence of octets delete: <em> s delete: </em> can be considered to be a UTF-8 encoding of some Unicode string an xsd:string x (sequence of Unicode characters) .
  3. The Unicode string x is used as the lexical form of l
  4. This Unicode string x insert: <em class="rfc2119" title="SHOULD"> SHOULD insert: </em> be in NFC Normal Form C delete: <a href="#ref-nfc"> [NFC] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-NFC"> NFC insert: </a> insert: </cite> ]

Then o := typed-literal( literal-value := x , literal-datatype := http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral ) and the following statement is added to the graph:

delete: <p> insert: <div class="note-title" aria-level="4" role="heading" id="h_note_12">
insert: <span> Note insert: </span> insert: </div>
insert: <p class="">

Test: Empty literal case indicated by delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-empty-property-elements/test009.rdf"> insert: <a href="http://www.w3.org/2013/RDFXMLTests/rdfms-empty-property-elements/test009.rdf"> test009.rdf and delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-empty-property-elements/test009.nt"> insert: <a href="http://www.w3.org/2013/RDFXMLTests/rdfms-empty-property-elements/test009.nt"> test009.nt

If the rdf:ID attribute a is given, the above statement is reified with i := uri( identifier := resolve( e , concat("#", concat("#", a . string-value ))) using the reification rules in section 7.3 and e . subject := i .

delete: <h4> delete: <a id="parseTypeResourcePropertyElt" name="parseTypeResourcePropertyElt"> insert: </section>
insert: <section id="parseTypeResourcePropertyElt" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_parseTypeResourcePropertyElt">

insert: <span class="secno"> 7.2.18 insert: </span> Production parseTypeResourcePropertyElt delete: </a>

start-element( URI == propertyElementURIs ),
          attributes == set( idAttr ?, parseResource ))
propertyEltList
end-element()

For element e with possibly empty element content c .

n := bnodeid( identifier := generated-blank-node-id()).

Add the following statement to the graph:

delete: <p> insert: <div class="note-title" aria-level="4" role="heading" id="h_note_13">
insert: <span> Note insert: </span> insert: </div>
insert: <p class="">

Test: Indicated by delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-empty-property-elements/test004.rdf"> insert: <a href="http://www.w3.org/2013/RDFXMLTests/rdfms-empty-property-elements/test004.rdf"> test004.rdf and delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-empty-property-elements/test004.nt"> insert: <a href="http://www.w3.org/2013/RDFXMLTests/rdfms-empty-property-elements/test004.nt"> test004.nt

If the rdf:ID attribute a is given, the statement above is reified with i := uri( identifier := resolve( e , concat("#", concat("#", a . string-value ))) using the reification rules in section 7.3 and e . subject := i .

If the element content c is not empty, then use event n to create a new sequence of events as follows:

start-element( URI := rdf:Description ,
          subject := n ,
          attributes := set())
c
end-element()

Then process the resulting sequence using production nodeElement .

delete: <h4> delete: <a id="parseTypeCollectionPropertyElt" name="parseTypeCollectionPropertyElt"> insert: </section>
insert: <section id="parseTypeCollectionPropertyElt" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_parseTypeCollectionPropertyElt">

insert: <span class="secno"> 7.2.19 insert: </span> Production parseTypeCollectionPropertyElt delete: </a>

start-element( URI == propertyElementURIs ),
          attributes == set( idAttr ?, parseCollection ))
nodeElementList
end-element()

For element event e with possibly empty nodeElementList l . Set s :=list().

For each element event f in l , n := bnodeid( identifier := generated-blank-node-id()) and append n to s to give a sequence of events.

If s is not empty, n is the first event identifier in s and the following statement is added to the graph:

otherwise the following statement is added to the graph:

e .parent. subject . string-value e . URI-string-value <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .

If the rdf:ID attribute a is given, either of the the above statements is reified with i := uri( identifier := resolve( e , concat("#", concat("#", a . string-value ))) using the reification rules in section 7.3 .

If s is empty, no further work is performed.

For each event n in s and the corresponding element event f in l , the following statement is added to the graph:

n . string-value <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> f . string-value .

For each consecutive and overlapping pair of events ( n , o ) in s , the following statement is added to the graph:

n . string-value <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> o . string-value .

If s is not empty, n is the last event identifier in s , the following statement is added to the graph:

n . string-value <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .

delete: <h4> delete: <a id="parseTypeOtherPropertyElt" name="parseTypeOtherPropertyElt"> insert: </section>
insert: <section id="parseTypeOtherPropertyElt" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_parseTypeOtherPropertyElt">

insert: <span class="secno"> 7.2.20 insert: </span> Production parseTypeOtherPropertyElt delete: </a>

start-element( URI == propertyElementURIs ),
          attributes == set( idAttr ?, parseOther ))
propertyEltList
end-element()

All rdf:parseType attribute values other than the strings "Resource", "Literal" "Resource", "Literal" or "Collection" "Collection" are treated as if the value was "Literal". "Literal". This production matches and acts as if production parseTypeLiteralPropertyElt was matched. No extra triples are generated for other rdf:parseType values.

delete: <h4> delete: <a id="emptyPropertyElt" name="emptyPropertyElt"> insert: </section>
insert: <section id="emptyPropertyElt" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_emptyPropertyElt">

insert: <span class="secno"> 7.2.21 insert: </span> Production emptyPropertyElt delete: </a>

start-element( URI == propertyElementURIs ),
          attributes == set( idAttr ?, ( resourceAttr | nodeIdAttr insert: </a> | insert: <a href="#datatypeAttr"> datatypeAttr )?, propertyAttr *))
end-element()

  • If there are no attributes or only the optional rdf:ID attribute i then o := literal( literal-value :="", :="", literal-language := e . language ) and the following statement is added to the graph:

    and then if i is given, the above statement is reified with uri( identifier := resolve( e , concat("#", concat("#", i . string-value ))) using the reification rules in section 7.3 .

    delete: <p> insert: <div class="note-title" aria-level="4" role="heading" id="h_note_14">
    insert: <span> Note insert: </span> insert: </div>
    insert: <p class="">

    Test: Indicated by delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-empty-property-elements/test002.rdf"> insert: <a href="http://www.w3.org/2013/RDFXMLTests/rdfms-empty-property-elements/test002.rdf"> test002.rdf and delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-empty-property-elements/test002.nt"> insert: <a href="http://www.w3.org/2013/RDFXMLTests/rdfms-empty-property-elements/test002.nt"> test002.nt

    delete: <p> insert: <div class="note-title" aria-level="4" role="heading" id="h_note_15">
    insert: <span> Note insert: </span> insert: </div>
    insert: <p class="">

    Test: Indicated by delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-empty-property-elements/test005.rdf"> insert: <a href="http://www.w3.org/2013/RDFXMLTests/rdfms-empty-property-elements/test005.rdf"> test005.rdf and delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-empty-property-elements/test005.nt"> insert: <a href="http://www.w3.org/2013/RDFXMLTests/rdfms-empty-property-elements/test005.nt"> test005.nt

  • Otherwise

    The following are done in any order:

    • For all propertyAttr attributes a (in any order)

      delete: <p> insert: <div class="note-title" aria-level="4" role="heading" id="h_note_16">
      insert: <span> Note insert: </span> insert: </div>
      insert: <p class="">

      Test: Indicated by delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-empty-property-elements/test013.rdf"> insert: <a href="http://www.w3.org/2013/RDFXMLTests/rdfms-empty-property-elements/test013.rdf"> test013.rdf and delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-empty-property-elements/test013.nt"> insert: <a href="http://www.w3.org/2013/RDFXMLTests/rdfms-empty-property-elements/test013.nt"> test013.nt

      delete: <p> insert: <div class="note-title" aria-level="4" role="heading" id="h_note_17">
      insert: <span> Note insert: </span> insert: </div>
      insert: <p class="">

      Test: Indicated by delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-empty-property-elements/test014.rdf"> insert: <a href="http://www.w3.org/2013/RDFXMLTests/rdfms-empty-property-elements/test014.rdf"> test014.rdf and delete: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-empty-property-elements/test014.nt"> insert: <a href="http://www.w3.org/2013/RDFXMLTests/rdfms-empty-property-elements/test014.nt"> test014.nt

    • Add the following statement to the graph:

      and then if rdf:ID attribute i is given, the above statement is reified with uri( identifier := resolve( e , concat("#", concat("#", i . string-value ))) using the reification rules in section 7.3 .

delete: <h4> delete: <a id="idAboutAttr" name="idAboutAttr"> delete: </a> delete: <a id="idAttr" name="idAttr"> insert: </section>
insert: <section id="idAttr" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 id="idAboutAttr" aria-level="3" role="heading">

insert: <span class="secno"> 7.2.22 insert: </span> Production idAttr delete: </a>

attribute( URI == rdf:ID ,
          string-value == rdf-id )

Constraint: : constraint-id applies to the values of rdf:ID attributes

delete: <h4> delete: <a id="nodeIdAttr" name="nodeIdAttr"> insert: </section>
insert: <section id="nodeIdAttr" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_nodeIdAttr">

insert: <span class="secno"> 7.2.23 insert: </span> Production nodeIdAttr delete: </a>

attribute( URI == rdf:nodeID ,
          string-value == rdf-id )

delete: <h4> delete: <a id="aboutAttr" name="aboutAttr"> insert: </section>
insert: <section id="aboutAttr" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_aboutAttr">

insert: <span class="secno"> 7.2.24 insert: </span> Production aboutAttr delete: </a>

attribute( URI == rdf:about ,
          string-value == URI-reference )

delete: <h4> delete: <a id="propAttr" name="propAttr"> delete: </a> delete: <a id="typeAttr" name="typeAttr"> delete: </a> delete: <a id="propertyAttr" name="propertyAttr"> insert: </section>
insert: <section id="propertyAttr" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 id="propAttr" aria-level="3" role="heading">

insert: <span class="secno"> 7.2.25 insert: </span> Production propertyAttr delete: </a>

attribute( URI == propertyAttributeURIs ,
          string-value == anyString )

delete: <h4> delete: <a id="resourceAttr" name="resourceAttr"> insert: </section>
insert: <section id="resourceAttr" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_resourceAttr">

insert: <span class="secno"> 7.2.26 insert: </span> Production resourceAttr delete: </a>

attribute( URI == rdf:resource ,
          string-value == URI-reference )

delete: <h4> delete: <a id="datatypeAttr" name="datatypeAttr"> insert: </section>
insert: <section id="datatypeAttr" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_datatypeAttr">

insert: <span class="secno"> 7.2.27 insert: </span> Production datatypeAttr delete: </a>

attribute( URI == rdf:datatype ,
          string-value == URI-reference )

delete: <h4> delete: <a id="parseLiteral" name="parseLiteral"> insert: </section>
insert: <section id="parseLiteral" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_parseLiteral">

insert: <span class="secno"> 7.2.28 insert: </span> Production parseLiteral delete: </a>

attribute( URI == rdf:parseType ,
          string-value == "Literal") "Literal")

delete: <h4> delete: <a id="parseResource" name="parseResource"> insert: </section>
insert: <section id="parseResource" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_parseResource">

insert: <span class="secno"> 7.2.29 insert: </span> Production parseResource delete: </a>

attribute( URI == rdf:parseType ,
          string-value == "Resource") "Resource")

delete: <h4> delete: <a id="parseCollection" name="parseCollection"> insert: </section>
insert: <section id="parseCollection" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_parseCollection">

insert: <span class="secno"> 7.2.30 insert: </span> Production parseCollection delete: </a>

attribute( URI == rdf:parseType ,
          string-value == "Collection") "Collection")

delete: <h4> delete: <a id="parseOther" name="parseOther"> insert: </section>
insert: <section id="parseOther" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_parseOther">

insert: <span class="secno"> 7.2.31 insert: </span> Production parseOther delete: </a>

attribute( URI == rdf:parseType ,
     delete: <a href="#eventterm-attribute-string-value">      insert: <a href="#eventterm-attribute-string-value"> string-value == anyString - ("Resource" ("Resource" | "Literal" "Literal" | "Collection") "Collection") )

delete: <h4> delete: <a id="URI-reference" name="URI-reference"> insert: </section>
insert: <section id="URI-reference" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_URI-reference">

insert: <span class="secno"> 7.2.32 insert: </span> Production URI-reference delete: </a> IRI

An delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> . IRI.

delete: <h4> delete: <a id="literal" name="literal"> insert: </section>
insert: <section id="literal" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_literal">

insert: <span class="secno"> 7.2.33 insert: </span> Production literal delete: </a>

Any XML element content that is allowed according to delete: <a href="#ref-xml"> [XML] delete: </a> XML definition Content of Elements Rule [43] content . in section 3.1 Start-Tags, End-Tags, and Empty-Element Tags

The string-value for the resulting event is discussed in delete: <a href="#parseTypeLiteralPropertyElt"> insert: <a href="#parseTypeLiteralPropertyElt"> section 7.2.17 .

delete: <h4> delete: <a id="rdf-id" name="rdf-id"> insert: </section>
insert: <section id="rdf-id" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h4 aria-level="3" role="heading" id="h4_rdf-id">

insert: <span class="secno"> 7.2.34 insert: </span> Production rdf-id delete: </a>

An attribute delete: <a href="#eventterm-attribute-string-value" class="termref"> insert: <a class="termref" href="#eventterm-attribute-string-value"> · string-value · matching any legal delete: <a href="#ref-namespaces"> [XML-NS] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-XML-NAMES"> XML-NAMES insert: </a> insert: </cite> ] token NCName

delete: <h3> delete: <a id="section-Reification" name="section-Reification"> insert: </section>
insert: </section>
insert: <section id="section-Reification" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-Reification">

insert: <span class="secno"> 7.3 insert: </span> Reification Rules delete: </a>

For the given URI reference IRI event r and the statement with terms s , p and o corresponding to the N-Triples:

s p o .

add the following statements to the graph:

r . string-value <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> s .
r . string-value <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> p .
r . string-value <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> o .
r . string-value <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .

delete: <h3> delete: <a id="section-List-Expand" name="section-List-Expand"> insert: </section>
insert: <section id="section-List-Expand" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-List-Expand">

insert: <span class="secno"> 7.4 insert: </span> List Expansion Rules delete: </a>

For the given element e , create a new delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-URI-reference"> RDF URI reference delete: </a> IRI u := concat("http://www.w3.org/1999/02/22-rdf-syntax-ns#_", concat("http://www.w3.org/1999/02/22-rdf-syntax-ns#_", e . li-counter ), increment the e . li-counter property by 1 and return u .

delete: <h2> delete: <a id="section-Serialising" name="section-Serialising"> 8 insert: </section>
insert: </section>
insert: <section id="section-Serialising" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h2 aria-level="1" role="heading" id="h2_section-Serialising">

insert: <span class="secno"> 8. insert: </span> Serializing an RDF Graph to RDF/XML delete: </a>

There are some delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-rdf-graph"> RDF Graphs delete: </a> as defined in delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/"> RDF Concepts and Abstract Syntax delete: </a> that [ insert: <cite> insert: <a class="bibref" href="#bib-RDF11-CONCEPTS"> RDF11-CONCEPTS insert: </a> insert: </cite> ]that cannot be serialized in RDF/XML. These are those that:

Use property names that cannot be turned into XML namespace-qualified names.
An XML namespace-qualified name ( delete: <a href="http://www.w3.org/TR/REC-xml-names/#dt-qname"> insert: <a href="http://www.w3.org/TR/REC-xml-names/#ns-qualnames"> QName ) has restrictions on the legal characters such that not all property URIs can be expressed as these names. It is recommended that implementors of RDF serializers, in order to break a URI into a namespace name and a local name, split it after the last XML non- NCName character, ensuring that the first character of the name is a Letter or '_'. If the URI ends in a non- NCName character then throw a "this "this graph cannot be serialized in RDF/XML" RDF/XML" exception or error.
Use inappropriate reserved names as properties
For example, a property with the same URI as any of the syntaxTerms production.
insert: <dt>
Use the insert: <code> rdf:HTML insert: </code> datatype insert: </dt>
insert: <dd>
This datatype as introduced in RDF 1.1 [ insert: <cite> insert: <a class="bibref" href="#bib-RDF11-CONCEPTS"> RDF11-CONCEPTS insert: </a> insert: </cite> ]. insert: </dd>
delete: <p> insert: <div class="note-title" aria-level="2" role="heading" id="h_note_18">
insert: <span> Note insert: </span> insert: </div>
insert: <p class="">

Implementation Note (Informative): When an RDF graph is serialized to RDF/XML and has an XML Schema Datatype (XSD), it insert: <em class="rfc2119" title="SHOULD"> SHOULD insert: </em> be written in a form that does not require whitespace processing. XSD support is NOT required by RDF or RDF/XML so this is optional.

delete: <h2> delete: <a id="section-rdf-in-HTML" name="section-rdf-in-HTML"> 9 Using RDF/XML with HTML and XHTML delete: </a> delete: </h2> delete: <p> If RDF/XML is embedded inside HTML or XHTML this can add many new elements and attributes, many of which will not be in the appropriate DTD. This embedding causes validation against the DTD to fail. The obvious solution of changing or extending the DTD is not practical for most uses. This problem has been analyzed extensively by Sean B. Palmer in delete: <a href="http://infomesh.net/2002/rdfinhtml/"> RDF in HTML: Approaches delete: </a> delete: <a href="#ref-rdf-in-xhtml"> [RDF-IN-XHTML] delete: </a> and it concludes that there is no single embedding method that satisfies all applications and remains simple. delete: </p> delete: <p> The recommended approach is to not embed RDF/XML in HTML/XHTML but rather to use delete: <code> <link> delete: </code> element in the delete: <code> <head> delete: </code> element of the HTML/HTML to point at a separate RDF/XML document. This approach has been used for several years by the delete: <a href="http://www.dublincore.org/"> Dublin Core Metadata Initiative (DCMI) delete: </a> on its Web site. delete: </p> delete: <p> To use this technique, the delete: <code> <link> delete: </code> element delete: <code> href delete: </code> should point at the URI of the RDF/XML content and the delete: <code> type delete: </code> attribute should be used with the value of delete: <code> "application/rdf+xml" delete: </code> , the proposed MIME type for RDF/XML, see delete: <a href="#section-MIME-Type"> Section 4 delete: </a> delete: </p> delete: <p> The value of the delete: <code> rel delete: </code> attribute may also be set to indicate the relationship; this is an application dependent value. The DCMI has used and recommended delete: <code> rel="meta" delete: </code> when linking in delete: <a href="http://www.ietf.org/rfc/rfc2731.txt"> RFC 2731 — Encoding Dublin Core Metadata in HTML delete: </a> delete: <a href="#ref-rfc2731"> [RFC-2731] delete: </a> however delete: <code> rel="alternate" delete: </code> may also be appropriate. See delete: <a href="http://www.w3.org/TR/html401/types.html#type-links"> HTML 4.01 link types delete: </a> , delete: <a href="http://www.w3.org/TR/xhtml-modularization/abstraction.html#dt_LinkTypes"> XHTML Modularization — LinkTypes delete: </a> and delete: <a href="http://www.w3.org/TR/xhtml2/abstraction.html#dt_LinkTypes"> XHTML 2.0 — LinkTypes delete: </a> for further information on the values that may be appropriate for the different versions of HTML. delete: </p> delete: <p> delete: <a href="#example21"> Example 21 delete: </a> shows using this method with the delete: <code> link delete: </code> tag inside an XHTML document to link to an external RDF/XML document. delete: </p> delete: <div class="exampleOuter"> delete: <div class="figure"> delete: <a id="example21" name="example21"> Example 21: Using delete: <code> link delete: </code> in XHTML with an external RDF/XML document delete: </a> ( delete: <a href="example21.html"> example21.html delete: </a> linking to delete: <a href="example21.rdf"> example21.rdf delete: </a> ) delete: </div> delete: <div class="exampleInner"> delete: <pre> <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//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>My document</title> <meta http-equiv="Content-type" content='text/html; charset="utf-8"' /> <link rel="alternate" type="application/rdf+xml" title="RDF Version" href="example21.rdf" /> </head> <body> <h1>My document</h1> </body> </html> delete: </pre> delete: </div> delete: </div> delete: <h2 class="nonum"> delete: <a id="section-rdf-in-SVG" name="section-rdf-in-SVG"> delete: </a> 10 insert: </section>
insert: <section class="informative" id="section-rdf-in-SVG" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h2 aria-level="1" role="heading" id="h2_section-rdf-in-SVG">

insert: <span class="secno"> 9. insert: </span> Using RDF/XML with SVG (Informative)

insert: <p>

insert: <em> This section is non-normative. insert: </em> insert: </p>

There is a standardized approach for associating RDF compatible metadata with SVG the metadata element which was explicitly designed for this purpose as defined in Section 21 Metadata of the Scalable Vector Graphics (SVG) 1.0 Specification delete: <a href="#ref-svg"> [SVG] delete: </a> [ insert: <cite> insert: <a class="bibref" href="#bib-SVG10"> SVG10 insert: </a> insert: </cite> ] and Section 21 Metadata of the Scalable Vector Graphics (SVG) 1.1 Specification delete: <a href="#ref-svg11"> [SVG11] delete: </a> . [ insert: <cite> insert: <a class="bibref" href="#bib-SVG11"> SVG11 insert: </a> insert: </cite> ].

This document contains two example graphs in SVG with such embedded RDF/XML inside the metadata element: figure 1 and figure 2 .

delete: <h2 class="nonum"> delete: <a id="section-Acknowledgments" name="section-Acknowledgments"> delete: </a> 11 insert: </section>
insert: <section class="appendix informative" id="section-Acknowledgments" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h2 aria-level="1" role="heading" id="h2_section-Acknowledgments">

insert: <span class="secno"> A. insert: </span> Acknowledgments (Informative)

insert: <p>

insert: <em> This section is non-normative. insert: </em> insert: </p>

insert: <p>

Gavin Carothers provided the RDF 1.1 update for the insert: <a href="#parseTypeLiteralPropertyElt"> Production parseTypeLiteralPropertyElt insert: </a> . Ivan Herman provided valuable comments and reworked Figs 1 and 2. insert: </p>

insert: <p>

This specification is a product of extended deliberations by the members of the RDFcore Working Group and the RDF and RDF Schema Working Group. insert: </p>

The following people provided valuable contributions to the document:

This document is a product of extended deliberations by the RDF Core working group, whose members have included: Art Barstow (W3C) ( insert: <abbr title="World Wide Web Consortium"> W3C insert: </abbr> ) Dave Beckett (ILRT), Dan Brickley (W3C/ILRT), ( insert: <abbr title="World Wide Web Consortium"> W3C insert: </abbr> /ILRT), Dan Connolly (W3C), ( insert: <abbr title="World Wide Web Consortium"> W3C insert: </abbr> ), Jeremy Carroll (Hewlett Packard), Ron Daniel (Interwoven Inc), Bill dehOra (InterX), Jos De Roo (AGFA), Jan Grant (ILRT), Graham Klyne (Clearswift and Nine by Nine), Frank Manola (MITRE Corporation), Brian McBride (Hewlett Packard), Eric Miller (W3C), ( insert: <abbr title="World Wide Web Consortium"> W3C insert: </abbr> ), Stephen Petschulat (IBM), Patrick Stickler (Nokia), Aaron Swartz (HWG), Mike Dean (BBN Technologies / Verizon), R. V. Guha (Alpiri Inc), Pat Hayes (IHMC), Sergey Melnik (Stanford University), Martyn Horner (Profium Ltd).

This specification also draws upon an earlier RDF Model and Syntax document edited by Ora Lassilla and Ralph Swick, and RDF Schema edited by Dan Brickley and R. V. Guha. RDF and RDF Schema Working group members who contributed to this earlier work are: Nick Arnett (Verity), Tim Berners-Lee (W3C), ( insert: <abbr title="World Wide Web Consortium"> W3C insert: </abbr> ), Tim Bray (Textuality), Dan Brickley (ILRT / University of Bristol), Walter Chang (Adobe), Sailesh Chutani (Oracle), Dan Connolly (W3C), ( insert: <abbr title="World Wide Web Consortium"> W3C insert: </abbr> ), Ron Daniel (DATAFUSION), Charles Frankston (Microsoft), Patrick Gannon (CommerceNet), RV Guha (Epinions, previously of Netscape Communications), Tom Hill (Apple Computer), Arthur van Hoff (Marimba), Renato Iannella (DSTC), Sandeep Jain (Oracle), Kevin Jones, (InterMind), Emiko Kezuka (Digital Vision Laboratories), Joe Lapp (webMethods Inc.), Ora Lassila (Nokia Research Center), Andrew Layman (Microsoft), Ralph LeVan (OCLC), John McCarthy (Lawrence Berkeley National Laboratory), Chris McConnell (Microsoft), Murray Maloney (Grif), Michael Mealling (Network Solutions), Norbert Mikula (DataChannel), Eric Miller (OCLC), Jim Miller (W3C, ( insert: <abbr title="World Wide Web Consortium"> W3C insert: </abbr> , emeritus), Frank Olken (Lawrence Berkeley National Laboratory), Jean Paoli (Microsoft), Sri Raghavan (Digital/Compaq), Lisa Rein (webMethods Inc.), Paul Resnick (University of Michigan), Bill Roberts (KnowledgeCite), Tsuyoshi Sakata (Digital Vision Laboratories), Bob Schloss (IBM), Leon Shklar (Pencom Web Works), David Singer (IBM), Wei (William) Song (SISU), Neel Sundaresan (IBM), Ralph Swick (W3C), ( insert: <abbr title="World Wide Web Consortium"> W3C insert: </abbr> ), Naohiko Uramoto (IBM), Charles Wicksteed (Reuters Ltd.), Misha Wolf (Reuters Ltd.), Lauren Wood (SoftQuad).

delete: <h2 class="nonum"> delete: <a id="section-References" name="section-References"> delete: </a> 12 References insert: </section>
insert: <section class="appendix informative" id="changes-rdf11" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h2 aria-level="1" role="heading" id="h2_changes-rdf11">

insert: <span class="secno"> B. insert: </span> Changes since 2004 Recommendation

delete: <h3> delete: <a id="section-Normative-References" name="section-Normative-References"> delete: </a> Normative References delete: </h3> delete: <dl> delete: <dt> delete: <a id="ref-rdfms" name="ref-rdfms"> [RDF-MS] delete: </a> delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.w3.org/TR/1999/REC-rdf-syntax-19990222/"> Resource Description Framework (RDF) Model and Syntax Specification delete: </a> delete: </cite> , O. Lassila and R. Swick, Editors. World Wide Web Consortium. 22 February 1999. insert: <p>

insert: <em> This section is non-normative. insert: </em> insert: </p>

insert: <p>

Changes for RDF 1.1 Recommendation insert: </p>

insert: <ul> insert: <p>

Changes for RDF 1.1 Proposed Edited Recommendation: insert: </p>

insert: <ol>
    insert: <li>
  1. Conversion to ReSpec. insert: </li>
  2. insert: <li>
  3. RDF 2004 errata handling: insert: <ol>
      insert: <li>
    1. Replaced hard-coded reference to XML and Unicode versions ( insert: <a href="http://www.w3.org/2011/rdf-wg/wiki/TF-RDF-XML#Change_2:_hard_coded_reference_to_XML_and_Unicode_versions"> background info insert: </a> ) insert: </li>
    2. insert: <li>
    3. Corrected the resolve action with the signature resolve(e, s) ( insert: <a href="http://www.w3.org/2011/rdf-wg/wiki/TF-RDF-XML#Change_3:_signature_resolve.28e.2C_s.29"> background info insert: </a> ) insert: </li>
    4. insert: <li>
    5. Added parent accessor to element events ( insert: <a href="http://www.w3.org/2011/rdf-wg/wiki/TF-RDF-XML#Change_4:_missing_parent_accessor"> background info insert: </a> ) insert: </li>
    6. insert: <li>
    7. Allow datatyped empty literals ( insert: <a href="http://www.w3.org/2011/rdf-wg/wiki/TF-RDF-XML#Change_5:_datatyped_empty_literals"> background info insert: </a> ) insert: </li>
    8. insert: <li>
    9. Removed ID and datatype exclusion on literal property ( insert: <a href="http://www.w3.org/2011/rdf-wg/wiki/TF-RDF-XML#Change_6:_ID_and_datatype_exclusion_on_literal_property"> background info insert: </a> ) insert: </li>
    10. insert: </ol>
    insert: </li>
  4. insert: <li>
  5. Adapted and shortened introduction to reflect RDF 1.1 insert: </li>
  6. insert: <li>
  7. Updated references to RDF 1.1 documents insert: </li>
  8. insert: <li>
  9. Replaced "(RDF) URI reference" with "IRI" insert: </li>
  10. insert: <li>
  11. Removed Section on embedding RDF/XML into HTML insert: </li>
  12. insert: <li>
  13. Removed "Specification" from the title to bring it in line with other RDF 1.1 document titles insert: </li>
  14. insert: <li>
  15. Updated references to other documents insert: </li>
  16. insert: <li>
  17. Changed links in Sec. 2 examples from relative URI to absolute URI; same for RELAX schema in Appendix. insert: </li>
  18. insert: <li>
  19. Added note to section on plain-literal event insert: </li>
  20. insert: <li>
  21. Updated link to QName definition in XML-NAMES insert: </li>
  22. insert: <li>
  23. Added diff with 2004 Recommendation insert: </li>
  24. insert: <li>
  25. Sections concerning insert: <code> rdf:XMLLiteral insert: </code> ( insert: <a href="#section-Syntax-XML-literals"> Sec. 2.8 insert: </a> and insert: <a href="#parseTypeLiteralPropertyElt"> Sec. 7.2.17 insert: </a> ) marked as non-normative. insert: </li>
  26. insert: <li>
  27. Adapted insert: <a href="#parseTypeLiteralPropertyElt"> Production parseTypeLiteralPropertyElt insert: </a> to cater for the non-normative status of insert: <code> rdf:XMLLiteral insert: </code> . insert: </li>
  28. insert: <li>
  29. Improved version is http://www.w3.org/TR/1999/REC-rdf-syntax-19990222. The delete: <a href="http://www.w3.org/TR/REC-rdf-syntax/"> latest version of of Figs. 1 and 2 (with same content) insert: </li>
  30. insert: <li>
  31. Removed old changes section insert: </li>
  32. insert: <li>
  33. Informative notes at start of Sec. 5.1 removed, as these have become irrelevant. insert: </li>
  34. insert: <li>
  35. Added new datatype insert: <code> rdf:HTML insert: </code> to the list of things that cannot be serialized in RDF/XML. insert: </li>
  36. insert: <li>
  37. Replaced the link to 2004 N-Triples insert: <code> nodeID insert: </code> production to the RDF M&S delete: </a> is available at http://www.w3.org/TR/REC-rdf-syntax. delete: </dd> delete: <dt> delete: <a id="ref-xml" name="ref-xml"> [XML] delete: </a> delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.w3.org/TR/2000/REC-xml-20001006"> Extensible Markup Language (XML) 1.0, Second Edition delete: </a> delete: </cite> , T. Bray, J. Paoli, C.M. Sperberg-McQueen and E. Maler, Editors. World Wide Web Consortium. 6 October 2000. This version is http://www.w3.org/TR/2000/REC-xml-20001006. delete: <a href="http://www.w3.org/TR/REC-xml"> latest version of XML delete: </a> is available at http://www.w3.org/TR/REC-xml. delete: </dd> delete: <dt> delete: <a id="ref-namespaces" name="ref-namespaces"> [XML-NS] delete: </a> delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.w3.org/TR/1999/REC-xml-names-19990114/"> Namespaces in XML delete: </a> delete: </cite> , T. Bray, D. Hollander and A. Layman, Editors. World Wide Web Consortium. 14 January 1999. This version is http://www.w3.org/TR/1999/REC-xml-names-19990114. The delete: <a href="http://www.w3.org/TR/REC-xml-names/"> latest version of Namespaces in XML delete: </a> is available at http://www.w3.org/TR/REC-xml-names. delete: </dd> delete: <dt> delete: <a id="ref-xml-infoset" name="ref-xml-infoset"> [INFOSET] delete: </a> delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.w3.org/TR/2001/REC-xml-infoset-20011024/"> XML Information Set delete: </a> delete: </cite> , J. Cowan and R. Tobin, Editors. World Wide Web Consortium. 24 October 2001. This version is http://www.w3.org/TR/2001/REC-xml-infoset-20011024. The delete: <a href="http://www.w3.org/TR/xml-infoset/"> latest version of XML Information set delete: </a> is available at http://www.w3.org/TR/xml-infoset. delete: </dd> delete: <dt> delete: <a id="ref-uri" name="ref-uri"> [URIS] delete: </a> delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.isi.edu/in-notes/rfc2396.txt"> RFC 2396 — Uniform Resource Identifiers (URI): Generic Syntax delete: </a> delete: </cite> , T. Berners-Lee, R. Fielding and L. Masinter, IETF, August 1998. This document is http://www.isi.edu/in-notes/rfc2396.txt. delete: </dd> delete: <dt> delete: <a id="ref-rdf-concepts" name="ref-rdf-concepts"> delete: </a> [RDF-CONCEPTS] delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/"> Resource Description Framework (RDF): Concepts and Abstract Syntax delete: </a> delete: </cite> , Klyne G., Carroll J. (Editors), W3C Recommendation, 10 February 2004. delete: <a href ="http://www.w3.org/TR/2004/REC-rdf-primer-20040210/"> This version delete: </a> is http://www.w3.org/TR/2004/REC-rdf-primer-20040210/. The delete: <a href="http://www.w3.org/TR/rdf-concepts/"> latest version delete: </a> is http://www.w3.org/TR/rdf-concepts/. delete: </dd> delete: <dt> delete: <a id="ref-rdf-tests" name="ref-rdf-tests"> delete: </a> [RDF-TESTS] delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/"> RDF Test Cases delete: </a> delete: </cite> , Grant J., Beckett D. (Editors), W3C Recommendation, 10 February 2004. delete: <a href = "http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/"> This version delete: </a> is http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/. The delete: <a href="http://www.w3.org/TR/rdf-testcases/"> latest version delete: </a> is http://www.w3.org/TR/rdf-testcases/. delete: </dd> delete: <dt> delete: <a id="ref-keywords" name="ref-keywords"> [KEYWORDS] delete: </a> delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.ietf.org/rfc/rfc2119.txt"> RFC 2119 — Key words for use in RFCs to Indicate Requirement Levels delete: </a> delete: </cite> , S. Bradner, IETF. March 1997. This document is http://www.ietf.org/rfc/rfc2119.txt. delete: </dd> delete: <dt> delete: <a id="ref-rfc3023" name="ref-rfc3023"> [RFC-3023] delete: </a> delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.ietf.org/rfc/rfc3023.txt"> RFC 3023 — XML Media Types delete: </a> delete: </cite> , M. Murata, S. St.Laurent, D.Kohn, IETF. January 2001. This document is http://www.ietf.org/rfc/rfc3023.txt. delete: </dd> delete: <dt> delete: <a id="ref-iana-media-types" name="ref-iana-media-types"> [IANA-MEDIA-TYPES] delete: </a> delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.iana.org/assignments/media-types/"> MIME Media Types delete: </a> delete: </cite> , The Internet Assigned Numbers Authority (IANA). This document is http://www.iana.org/assignments/media-types/ . The delete: <a href="http://www.w3.org/2001/sw/RDFCore/mediatype-registration"> registration for delete: <code> application/rdf+xml delete: </code> delete: </a> is archived at http://www.w3.org/2001/sw/RDFCore/mediatype-registration . delete: </dd> delete: <dt> delete: <a id="ref-xml-base" name="ref-xml-base"> [XML-BASE] delete: </a> delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.w3.org/TR/2001/REC-xmlbase-20010627/"> XML Base delete: </a> delete: </cite> , J. Marsh, Editor, W3C Recommendation. World Wide Web Consortium, 27 June 2001. This version of XML Base is http://www.w3.org/TR/2001/REC-xmlbase-20010627. The delete: <a href="http://www.w3.org/TR/xmlbase/"> latest version of XML Base delete: </a> is at http://www.w3.org/TR/xmlbase. delete: </dd> delete: <dt> delete: <a id="ref-xml-xc14n" name="ref-xml-xc14n"> [XML-XC14N] delete: </a> delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.w3.org/TR/2002/REC-xml-exc-c14n-20020718/"> Exclusive XML Canonicalization Version 1.0 delete: </a> delete: </cite> , J. Boyer, D.E. Eastlake 3rd, J. Reagle, Authors/Editors. W3C Recommendation. World Wide Web Consortium, 18 July 2002. This version of Exclusive XML Canonicalization is http://www.w3.org/TR/2002/REC-xml-exc-c14n-20020718. The delete: <a href="http://www.w3.org/TR/xml-exc-c14n/"> latest version of Canonical XML delete: </a> is at http://www.w3.org/TR/xml-exc-c14n. delete: </dd> delete: <dt> delete: <a id="ref-unicode" name="ref-unicode"> [UNICODE] delete: </a> delete: </dt> delete: <dd> delete: <cite> The Unicode Standard, Version 3 delete: </cite> , The Unicode Consortium, Addison-Wesley, 2000. ISBN 0-201-61633-5, as updated from time to time by the publication of new versions. (See delete: <a href="http://www.unicode.org/unicode/standard/versions/"> http://www.unicode.org/unicode/standard/versions/ delete: </a> for the latest version and additional information on versions of the standard and of the Unicode Character Database). delete: </dd> delete: <dt> delete: <a id="ref-nfc" name="ref-nfc"> [NFC] delete: </a> delete: </dt> delete: <dd> delete: <a href="http://www.unicode.org/unicode/reports/tr15/"> delete: <cite> Unicode Normalization Forms, delete: </cite> delete: </a> Unicode Standard Annex #15, Mark Davis, Martin Dürst. (See delete: <a href="http://www.unicode.org/unicode/reports/tr15/"> http://www.unicode.org/unicode/reports/tr15/ delete: </a> for the latest version). delete: </dd> delete: </dl> delete: <h3> delete: <a id="section-Informative-References" name="section-Informative-References"> delete: </a> Informational References delete: </h3> delete: <dl> delete: <dt> delete: <a id="ref-charmod" name="ref-charmod"> [CHARMOD] delete: </a> delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.w3.org/TR/2002/WD-charmod-20020220/"> Character Model for the World Wide Web 1.0 delete: </a> delete: </cite> , M. Dürst, F. Yergeau, R. Ishida, M. Wolf, A. Freytag, T Texin, Editors, World Wide Web Consortium Working Draft, work in progress, 20 February 2002. This version of the Character Model is http://www.w3.org/TR/2002/WD-charmod-20020220. The delete: <a href="http://www.w3.org/TR/charmod/"> latest version of the Character Model delete: </a> is at http://www.w3.org/TR/charmod. delete: </dd> delete: <dt> delete: <a id="ref-rdf-semantics" name="ref-rdf-semantics"> delete: </a> [RDF-SEMANTICS] delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.w3.org/TR/2004/REC-rdf-mt-20040210/"> RDF Semantics delete: </a> delete: </cite> , Hayes P. (Editor), W3C Recommendation, 10 February 2004. delete: <a href = "http://www.w3.org/TR/2004/REC-rdf-mt-20040210/"> This version delete: </a> is http://www.w3.org/TR/2004/REC-rdf-mt-20040210/. The delete: <a href="http://www.w3.org/TR/rdf-mt/"> latest version delete: </a> is http://www.w3.org/TR/rdf-mt/. delete: </dd> delete: <dt> delete: <a id="ref-rdf-primer" name="ref-rdf-primer"> [RDF-PRIMER] delete: </a> delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.w3.org/TR/2004/REC-rdf-primer-20040210/"> RDF Primer delete: </a> delete: </cite> , F. Manola, E. Miller, Editors, W3C Recommendation, 10 February 2004. delete: <a href="http://www.w3.org/TR/2004/REC-rdf-primer-20040210/"> This version delete: </a> is http://www.w3.org/TR/2004/REC-rdf-primer-20040210/. The delete: <a href="http://www.w3.org/TR/rdf-primer/"> latest version delete: </a> is at http://www.w3.org/TR/rdf-primer/. delete: </dd> delete: <dt> delete: <a id="ref-rdf-vocabulary" name="ref-rdf-vocabulary"> delete: </a> [RDF-VOCABULARY] delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.w3.org/TR/2004/REC-rdf-schema-20040210/"> RDF Vocabulary Description Language 1.0: RDF Schema delete: </a> delete: </cite> , Brickley D., Guha R.V. (Editors), W3C Recommendation, 10 February 2004. delete: <a href="http://www.w3.org/TR/2004/REC-rdf-schema-20040210/"> This version delete: </a> is http://www.w3.org/TR/2004/REC-rdf-schema-20040210/. The delete: <a href="http://www.w3.org/TR/rdf-schema/"> latest version delete: </a> is http://www.w3.org/TR/rdf-schema/. delete: </dd> delete: <dt> delete: <a id="ref-stripedrdf" name="ref-stripedrdf"> [STRIPEDRDF] delete: </a> delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.w3.org/2001/10/stripes/"> RDF: Understanding the Striped RDF/XML Syntax delete: </a> delete: </cite> , D. Brickley, W3C, 2001. This document is http://www.w3.org/2001/10/stripes/. delete: </dd> delete: <dt> delete: <a id="ref-svg" name="ref-svg"> [SVG] delete: </a> delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.w3.org/TR/2001/REC-SVG-20010904/"> Scalable Vector Graphics (SVG) 1.0 Specification delete: </a> delete: </cite> , J. Ferraiolo (editor), 4 September 2001, W3C Recommendation. This version of SVG is http://www.w3.org/TR/2001/REC-SVG-20010904. The delete: <a href="http://www.w3.org/TR/SVG/"> latest version of SVG delete: </a> is at http://www.w3.org/TR/SVG. delete: </dd> delete: <dt> delete: <a id="ref-svg11" name="ref-svg11"> [SVG11] delete: </a> delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.w3.org/TR/2003/REC-SVG11-20030114/"> Scalable Vector Graphics (SVG) 1.1 Specification delete: </a> delete: </cite> , J. Ferraiolo, J. FUJISAWA, D. Jackson (editors), 14 January 2003, W3C Recommendation. This version of SVG is http://www.w3.org/TR/2003/REC-SVG11-20030114/. The delete: <a href="http://www.w3.org/TR/SVG11/"> latest version of SVG delete: </a> is at http://www.w3.org/TR/SVG11. delete: </dd> delete: <dt> delete: <a id="ref-xpath" name="ref-xpath"> [XPATH] delete: </a> delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.w3.org/TR/1999/REC-xpath-19991116"> XML Path Language (XPath) Version 1.0 delete: </a> delete: </cite> , J. Clark and S. DeRose, Editors. World Wide Web Consortium, 16 November 1999. This version of XPath is http://www.w3.org/TR/1999/REC-xpath-19991116. The delete: <a href="http://www.w3.org/TR/xpath"> latest version of XPath delete: </a> is at http://www.w3.org/TR/xpath. delete: </dd> delete: <dt> delete: <a id="ref-sax" name="ref-sax"> [SAX2] delete: </a> delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://sax.sourceforge.net/"> SAX Simple API for XML, version 2 delete: </a> delete: </cite> , D. Megginson, SourceForge, 5 May 2000. This document is http://sax.sourceforge.net/. delete: </dd> delete: <dt> delete: <a id="ref-unparsing" name="ref-unparsing"> [UNPARSING] delete: </a> delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.hpl.hp.com/techreports/2001/HPL-2001-294.html"> Unparsing RDF/XML delete: </a> delete: </cite> , J. J. Carroll, HP Labs Technical Report, HPL-2001-294, 2001. This document is available at http://www.hpl.hp.com/techreports/2001/HPL-2001-294.html. delete: </dd> delete: <dt> delete: <a id="ref-relaxng" name="ref-relaxng"> [RELAXNG] delete: </a> delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.oasis-open.org/committees/relax-ng/spec-20011203.html"> RELAX NG Specification delete: </a> delete: </cite> , James Clark and MURATA Makoto, Editors, OASIS Committee Specification, 3 December 2001. This version of RELAX NG is http://www.oasis-open.org/committees/relax-ng/spec-20011203.html. The delete: <a href="http://www.oasis-open.org/committees/relax-ng/spec.html"> latest version of the RELAX NG Specification delete: </a> is at http://www.oasis-open.org/committees/relax-ng/spec.html. delete: </dd> delete: <dt> delete: <a id="ref-relaxng-nx" name="ref-relaxng-nx"> [RELAXNG-COMPACT] delete: </a> delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html"> RELAX NG Compact Syntax delete: </a> delete: </cite> , James Clark, Editor. OASIS Committee Specification, 21 November 2002. This document is http://www.oasis-open.org/committees/relax-ng/compact-20021121.html. delete: </dd> delete: <dt> delete: <a id="ref-rdf-in-xhtml" name="ref-rdf-in-xhtml"> [RDF-IN-XHTML] delete: </a> delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://infomesh.net/2002/rdfinhtml/"> RDF in HTML: Approaches delete: </a> delete: </cite> , Sean B. Palmer, 2002 delete: </dd> delete: <dt> delete: <a id="ref-rfc2731" name="ref-rfc2731"> [RFC-2731] delete: </a> delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.ietf.org/rfc/rfc2731.txt"> RFC 2731 — Encoding Dublin Core Metadata in HTML delete: </a> delete: </cite> , John Kunze, DCMI, December 1999. delete: </dd> delete: <dt> delete: <a id="ref-xml-schema1" name="ref-xml-schema1"> delete: </a> [XML-SCHEMA1] delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/"> XML Schema Part 1: Structures delete: </a> delete: </cite> , H.S. Thompson, D. Beech, M. Maloney, N. Mendelsohn, Editors, World Wide Web Consortium Recommendation, 2 May 2001. This version of XML Schema Part 1: Structures is http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/. The delete: <a href="http://www.w3.org/TR/xmlschema-1/"> latest version of XML Schema Part 1: Structures delete: </a> is at http://www.w3.org/TR/xmlschema-1. delete: </dd> delete: <dt> delete: <a id="ref-xml-schema2" name="ref-xml-schema2"> delete: </a> [XML-SCHEMA2] delete: </dt> delete: <dd> delete: <cite> delete: <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/"> XML Schema Part 2: Datatypes delete: </a> delete: </cite> , P.V. Biron, A. Malhotra, Editors, World Wide Web Consortium Recommendation, 2 May 2001. This version of XML Schema Part 2: Datatypes is http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/. The delete: <a href="http://www.w3.org/TR/xmlschema-2/"> latest version of XML Schema Part 2: Datatypes delete: </a> is at http://www.w3.org/TR/xmlschema-2. delete: </dd> delete: </dl> delete: <hr /> delete: <h2> delete: <a id="section-Schemas" name="section-Schemas"> delete: </a> A N-Triples insert: <code> BLANK_NODE_LABEL insert: </code> production. insert: </li>
  38. insert: </ol>
insert: </section>
insert: <section class="appendix informative" id="section-Schemas" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h2 aria-level="1" role="heading" id="h2_section-Schemas">

insert: <span class="secno"> C. insert: </span> Syntax Schemas (Informative)

insert: <p>

insert: <em> This section is non-normative. insert: </em> insert: </p>

This appendix contains XML schemas for validating RDF/XML forms. These are example schemas for information only and are not part of this specification.

delete: <h3> delete: <a id="section-RELAXNG-Schema" name="section-RELAXNG-Schema"> delete: </a> A.1 RELAX NG insert: <section class="informative" id="section-RELAXNG-Schema" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_section-RELAXNG-Schema">

insert: <span class="secno"> C.1 insert: </span> RELAX NG Compact Schema (Informative)

insert: <em> This section is non-normative. insert: </em> insert: </p>

insert: <p>

This is an insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/rdfxml.rnc"> example schema in RELAX NG RELAX NG Compact insert: </a> (for ease of reading) for RDF/XML. Applications can also use the delete: <a href="rdfxml.rng"> RELAX NG insert: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/rdfxml.rng"> RELAX NG XML version . These formats are described in delete: <a href="http://www.oasis-open.org/committees/relax-ng/spec-20011203.html"> RELAX NG delete: </a> ( delete: <a href="#ref-relaxng"> [RELAXNG] delete: </a> ) and delete: <a href="http://www.thaiopensource.com/relaxng/compact/"> RELAX NG RELAX NG [ insert: <cite> insert: <a class="bibref" href="#bib-RELAXNG"> RELAXNG insert: </a> insert: </cite> ] and RELAX NG Compact delete: </a> ( delete: <a href="#ref-relaxng-nx"> [RELAXNG-COMPACT] delete: </a> ). [ insert: <cite> insert: <a class="bibref" href="#bib-RELAXNG-COMPACT"> RELAXNG-COMPACT insert: </a> insert: </cite> ].

delete: <p> delete: <strong> Note: delete: </strong> insert: <div class="note-title" aria-level="3" role="heading" id="h_note_19">
insert: <span> Note insert: </span> insert: </div>
insert: <p class="">

The RNGC schema has been updated to attempt to match the grammar but this has not been checked or used to validate RDF/XML.

delete: <div class="exampleOuter"> delete: <div class="figure"> delete: <a href="rdfxml.rnc"> RELAX NG Compact Schema for RDF/XML delete: </a> delete: </div> delete: <div class="exampleInner">
 # # RELAX NG Compact Schema for RDF/XML Syntax # # This schema is for information only and NON-NORMATIVE # # It is based on one originally written by James Clark in # http://lists.w3.org/Archives/Public/www-rdf-comments/2001JulSep/0248.html # and updated with later changes. # namespace local = ""  ""  namespace rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"  "http://www.w3.org/1999/02/22-rdf-syntax-ns#"  datatypes xsd = "http://www.w3.org/2001/XMLSchema-datatypes"  "http://www.w3.org/2001/XMLSchema-datatypes"  start = doc # I cannot seem to do this in RNGC so they are expanded in-line # coreSyntaxTerms = rdf:RDF | rdf:ID | rdf:about | rdf:parseType | rdf:resource | rdf:nodeID | rdf:datatype # syntaxTerms = coreSyntaxTerms | rdf:Description | rdf:li # oldTerms = rdf:aboutEach | rdf:aboutEachPrefix | rdf:bagID # nodeElementURIs = * - ( coreSyntaxTerms | rdf:li | oldTerms ) # propertyElementURIs = * - ( coreSyntaxTerms | rdf:Description | oldTerms ) # propertyAttributeURIs = * - ( coreSyntaxTerms | rdf:Description | rdf:li | oldTerms ) # Also needed to allow rdf:li on all property element productions # since we can't capture the rdf:li rewriting to rdf_<n> in relaxng # Need to add these explicitly xmllang = attribute xml:lang { text } xmlbase = attribute xml:base { text } # and to forbid every other xml:* attribute, element doc = RDF | nodeElement RDF = element rdf:RDF { xmllang?, xmlbase?, nodeElementList } nodeElementList = nodeElement* # Should be something like: # ws* , ( nodeElement , ws* )* # but RELAXNG does this by default, ignoring whitespace separating tags. nodeElement = element * - ( local:* | rdf:RDF | rdf:ID | rdf:about | rdf:parseType | rdf:resource | rdf:nodeID | rdf:datatype | rdf:li | rdf:aboutEach | rdf:aboutEachPrefix | rdf:bagID ) { (idAttr | nodeIdAttr | aboutAttr )?, xmllang?, xmlbase?, propertyAttr*, propertyEltList } # It is not possible to say "and  "and  not things # beginning with _ in the rdf: namespace"  namespace"  in RELAX NG. ws = " "  " "  # Not used in this RELAX NG schema; but should be any legal XML # whitespace defined by http://www.w3.org/TR/2000/REC-xml-20001006#NT-S propertyEltList = propertyElt* # Should be something like: # ws* , ( propertyElt , ws* )* # but RELAXNG does this by default, ignoring whitespace separating tags. propertyElt = resourcePropertyElt | literalPropertyElt | parseTypeLiteralPropertyElt | parseTypeResourcePropertyElt | parseTypeCollectionPropertyElt | parseTypeOtherPropertyElt | emptyPropertyElt resourcePropertyElt = element * - ( local:* | rdf:RDF | rdf:ID | rdf:about | rdf:parseType | rdf:resource | rdf:nodeID | rdf:datatype | rdf:Description | rdf:aboutEach | rdf:aboutEachPrefix | rdf:bagID | xml:* ) { idAttr?, xmllang?, xmlbase?, nodeElement } literalPropertyElt = element * - ( local:* | rdf:RDF | rdf:ID | rdf:about | rdf:parseType | rdf:resource | rdf:nodeID | rdf:datatype | rdf:Description | rdf:aboutEach | rdf:aboutEachPrefix | rdf:bagID | xml:* ) { (idAttr | datatypeAttr )?,  idAttr? , datatypeAttr?,  xmllang?, xmlbase?, text } parseTypeLiteralPropertyElt = element * - ( local:* | rdf:RDF | rdf:ID | rdf:about | rdf:parseType | rdf:resource | rdf:nodeID | rdf:datatype | rdf:Description | rdf:aboutEach | rdf:aboutEachPrefix | rdf:bagID | xml:* ) { idAttr?, parseLiteral, xmllang?, xmlbase?, literal } parseTypeResourcePropertyElt = element * - ( local:* | rdf:RDF | rdf:ID | rdf:about | rdf:parseType | rdf:resource | rdf:nodeID | rdf:datatype | rdf:Description | rdf:aboutEach | rdf:aboutEachPrefix | rdf:bagID | xml:* ) { idAttr?, parseResource, xmllang?, xmlbase?, propertyEltList } parseTypeCollectionPropertyElt = element * - ( local:* | rdf:RDF | rdf:ID | rdf:about | rdf:parseType | rdf:resource | rdf:nodeID | rdf:datatype | rdf:Description | rdf:aboutEach | rdf:aboutEachPrefix | rdf:bagID | xml:* ) { idAttr?, xmllang?, xmlbase?, parseCollection, nodeElementList } parseTypeOtherPropertyElt = element * - ( local:* | rdf:RDF | rdf:ID | rdf:about | rdf:parseType | rdf:resource | rdf:nodeID | rdf:datatype | rdf:Description | rdf:aboutEach | rdf:aboutEachPrefix | rdf:bagID | xml:* ) { idAttr?, xmllang?, xmlbase?, parseOther, any } emptyPropertyElt = element * - ( local:* | rdf:RDF | rdf:ID | rdf:about | rdf:parseType | rdf:resource | rdf:nodeID | rdf:datatype | rdf:Description | rdf:aboutEach | rdf:aboutEachPrefix | rdf:bagID | xml:* ) { idAttr?, (resourceAttr | nodeIdAttr)?,  nodeIdAttr | datatypeAttr )?,  xmllang?, xmlbase?, propertyAttr* } idAttr = attribute rdf:ID { IDsymbol } nodeIdAttr = attribute rdf:nodeID { IDsymbol } aboutAttr = attribute rdf:about { URI-reference } propertyAttr = attribute * - ( local:* | rdf:RDF | rdf:ID | rdf:about | rdf:parseType | rdf:resource | rdf:nodeID | rdf:datatype | rdf:li | rdf:Description | rdf:aboutEach | rdf:aboutEachPrefix | rdf:bagID | xml:* ) { string } resourceAttr = attribute rdf:resource { URI-reference } datatypeAttr = attribute rdf:datatype { URI-reference } parseLiteral = attribute rdf:parseType { "Literal"  "Literal"  } parseResource = attribute rdf:parseType { "Resource"  "Resource"  } parseCollection = attribute rdf:parseType { "Collection"  "Collection"  } parseOther = attribute rdf:parseType { text } URI-reference = string literal = any IDsymbol = xsd:NMTOKEN any = mixed { element * { attribute * { text }*, any }* } 
delete: </div> delete: </div> delete: <h2> delete: <a id="changes" name="changes"> delete: </a> delete: <a id="section-Changes" name="section-Changes"> B Revisions since Draft 10 insert: </section>
insert: </section>
insert: <section class="appendix" id="references" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h2 aria-level="1" role="heading" id="h2_references">

insert: <span class="secno"> D. insert: </span> References insert: </h2>

insert: <section id="normative-references" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_normative-references">

insert: <span class="secno"> D.1 insert: </span> Normative references insert: </h3>

insert: <dl class="bibliography" about="">
insert: <dt id="bib-JSON-LD">
[JSON-LD] insert: </dt>
insert: <dd rel="dcterms:requires">
Manu Sporny, Gregg Kellogg, Markus Lanthaler, Editors. insert: <cite> insert: <a href="http://www.w3.org/TR/json-ld/"> JSON-LD 1.0 insert: </a> insert: </cite> . 16 January 2014. W3C Recommendation. URL: insert: <a href="http://www.w3.org/TR/json-ld/"> http://www.w3.org/TR/json-ld/ insert: </a> insert: </dd>
insert: <dt id="bib-N-TRIPLES">
[N-TRIPLES] insert: </dt>
insert: <dd rel="dcterms:requires">
Gavin Carothers, Andy Seabourne. insert: <cite> insert: <a href="http://www.w3.org/TR/2014/REC-n-triples-20140225/"> RDF 1.1 N-Triples insert: </a> insert: </cite> . W3C Recommendation, 25 February 2014. URL: insert: <a href="http://www.w3.org/TR/2014/REC-n-triples-20140225/"> http://www.w3.org/TR/2014/REC-n-triples-20140225/ insert: </a> . The latest edition is available at insert: <a href="http://www.w3.org/TR/n-triples/"> http://www.w3.org/TR/n-triples/ insert: </a> insert: </dd>
insert: <dt id="bib-RDF11-CONCEPTS">
[RDF11-CONCEPTS] insert: </dt>
insert: <dd rel="dcterms:requires">
Richard Cyganiak, David Wood, Markus Lanthaler. insert: <cite> insert: <a href="http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/"> RDF 1.1 Concepts and Abstract Syntax. insert: </a> insert: </cite> W3C Recommendation, 25 February 2014. URL: insert: <a href="http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/"> http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/ insert: </a> . The latest edition is available at insert: <a href="http://www.w3.org/TR/rdf11-concepts/"> http://www.w3.org/TR/rdf11-concepts/ insert: </a> insert: </dd>
insert: <dt id="bib-RDF11-MT">
[RDF11-MT] insert: </dt>
insert: <dd rel="dcterms:requires">
Patrick J. Hayes, Peter F. Patel-Schneider. insert: <cite> insert: <a href="http://www.w3.org/TR/2014/REC-rdf11-mt-20140225/"> RDF 1.1 Semantics. insert: </a> insert: </cite> W3C Recommendation, 25 February 2014. URL: insert: <a href="http://www.w3.org/TR/2014/REC-rdf11-mt-20140225/"> http://www.w3.org/TR/2014/REC-rdf11-mt-20140225/ insert: </a> . The latest edition is available at insert: <a href="http://www.w3.org/TR/rdf11-mt/"> http://www.w3.org/TR/rdf11-mt/ insert: </a> insert: </dd>
insert: <dt id="bib-RDF11-SCHEMA">
[RDF11-SCHEMA] insert: </dt>
insert: <dd rel="dcterms:requires">
Dan Brickley, R. V. Guha. insert: <cite> insert: <a href="http://www.w3.org/TR/2014/REC-rdf-schema-20140225/"> RDF Schema 1.1 insert: </a> insert: </cite> . W3C Recommendation, 25 February 2014. URL: insert: <a href="http://www.w3.org/TR/2014/REC-rdf-schema-20140225/"> http://www.w3.org/TR/2014/REC-rdf-schema-20140225/ insert: </a> . The latest published version is available at insert: <a href="http://www.w3.org/TR/rdf-schema/"> http://www.w3.org/TR/rdf-schema/ insert: </a> . insert: </dd>
insert: <dt id="bib-RDFA-PRIMER">
[RDFA-PRIMER] insert: </dt>
insert: <dd rel="dcterms:requires">
Ivan Herman; Ben Adida; Manu Sporny; Mark Birbeck. insert: <a href="http://www.w3.org/TR/rdfa-primer/"> insert: <cite> RDFa 1.1 Primer - Second Edition insert: </cite> insert: </a> . 22 August 2013. W3C Note. URL: insert: <a href="http://www.w3.org/TR/rdfa-primer/"> http://www.w3.org/TR/rdfa-primer/ insert: </a> insert: </dd>
insert: <dt id="bib-RFC3023">
[RFC3023] insert: </dt>
insert: <dd rel="dcterms:requires">
M. Murata; S. St.Laurent; D. Kohn. insert: <a href="http://www.ietf.org/rfc/rfc3023.txt"> insert: <cite> XML Media Types (RFC 3023) insert: </cite> insert: </a> . January 2001. RFC. URL: insert: <a href="http://www.ietf.org/rfc/rfc3023.txt"> http://www.ietf.org/rfc/rfc3023.txt insert: </a> insert: </dd>
insert: <dt id="bib-TRIG">
[TRIG] insert: </dt>
insert: <dd rel="dcterms:requires">
Gavin Carothers, Andy Seaborne. insert: <cite> insert: <a href="http://www.w3.org/TR/2014/REC-trig-20140225/"> TriG: RDF Dataset Language insert: </a> insert: </cite> . W3C Recommendation, 25 February 2014. URL: insert: <a href="http://www.w3.org/TR/2014/REC-trig-20140225/"> http://www.w3.org/TR/2014/REC-trig-20140225/ insert: </a> . The latest edition is available at insert: <a href="http://www.w3.org/TR/trig/"> http://www.w3.org/TR/trig/ insert: </a> insert: </dd>
insert: <dt id="bib-TURTLE">
[TURTLE] insert: </dt>
insert: <dd rel="dcterms:requires">
Eric Prud'hommeaux, Gavin Carothers. insert: <cite> insert: <a href="http://www.w3.org/TR/2014/REC-turtle-20140225/"> RDF 1.1 Turtle: Terse RDF Triple Language. insert: </a> insert: </cite> W3C Recommendation, 25 February 2014. URL: insert: <a href="http://www.w3.org/TR/2014/REC-turtle-20140225/"> http://www.w3.org/TR/2014/REC-turtle-20140225/ insert: </a> . The latest edition is available at insert: <a href="http://www.w3.org/TR/turtle/"> http://www.w3.org/TR/turtle/ insert: </a> insert: </dd>
insert: <dt id="bib-XML-INFOSET">
[XML-INFOSET] insert: </dt>
insert: <dd rel="dcterms:requires">
John Cowan; Richard Tobin. insert: <a href="http://www.w3.org/TR/xml-infoset"> insert: <cite> XML Information Set (Second Edition) insert: </cite> insert: </a> . 4 February 2004. W3C Recommendation. URL: insert: <a href="http://www.w3.org/TR/xml-infoset"> http://www.w3.org/TR/xml-infoset insert: </a> insert: </dd>
insert: <dt id="bib-XML-NAMES">
[XML-NAMES] insert: </dt>
insert: <dd rel="dcterms:requires">
Tim Bray; Dave Hollander; Andrew Layman; Richard Tobin; Henry Thompson et al. insert: <a href="http://www.w3.org/TR/xml-names"> insert: <cite> Namespaces in XML 1.0 (Third Edition) insert: </cite> insert: </a> . 8 December 2009. W3C Recommendation. URL: insert: <a href="http://www.w3.org/TR/xml-names"> http://www.w3.org/TR/xml-names insert: </a> insert: </dd>
insert: <dt id="bib-XML10">
[XML10] insert: </dt>
insert: <dd rel="dcterms:requires">
Tim Bray; Jean Paoli; Michael Sperberg-McQueen; Eve Maler; François Yergeau et al. insert: <a href="http://www.w3.org/TR/xml"> insert: <cite> Extensible Markup Language (XML) 1.0 (Fifth Edition) insert: </cite> insert: </a> . 26 November 2008. W3C Recommendation. URL: insert: <a href="http://www.w3.org/TR/xml"> http://www.w3.org/TR/xml insert: </a> insert: </dd>
insert: <dt id="bib-XMLSCHEMA-2">
[XMLSCHEMA-2] insert: </dt>
insert: <dd rel="dcterms:requires">
Paul V. Biron; Ashok Malhotra. insert: <a href="http://www.w3.org/TR/xmlschema-2/"> insert: <cite> XML Schema Part 2: Datatypes Second Edition insert: </cite> insert: </a> . 28 October 2003 (Informative) delete: </a> delete: </h2> delete: <p> Changes since delete: <a href="http://www.w3.org/TR/2003/WD-rdf-syntax-grammar-20031010/"> 10 October 2003 delete: </a> second last call working draft delete: </p> delete: <p> These are are divided into non-editorial and editorial. The non-editorial changes also list consquential editorial changes. Editorial changes are those which do not result in any change in the meaning of an RDF document or the behaviour of an RDF application. delete: </p> delete: <h3> delete: <a id="section-Changes-non-editorial" name="section-Changes-non-editorial"> Appendix B.1: Non-Editorial Revisions delete: </a> delete: </h3> delete: <p> None delete: </p> delete: <h3> delete: <a id="section-Changes-editorial" name="section-Changes-editorial"> Appendix B.2: Editorial Revisions delete: </a> delete: </h3> delete: <dl> delete: <dt> German Translation delete: </dt> delete: <dd> Fix the German in delete: <a href="#example8"> Example 8 delete: </a> in section delete: <a href="#section-Syntax-languages"> 2.7 delete: </a> after the delete: <a href="http://lists.w3.org/Archives/Public/www-rdf-comments/2003OctDec/0215.html"> comment by Benjamin Nowack delete: </a> delete: </dd> delete: <dt> No property attributes on rdf:parseType="Resource" delete: </dt> delete: <dd> delete: <a href="#section-Syntax-property-attributes"> 2.5 delete: </a> Update to reflect the syntax definition that property attributes cannot be used with delete: <code> rdf:parseType="Resource" delete: </code> as pointed out by delete: <a href="http://lists.w3.org/Archives/Public/www-rdf-comments/2003OctDec/0074.html"> comment by Sabadello 2003-10-30 delete: </a> delete: </dd> delete: <dt> URI Encoding delete: </dt> delete: <dd> delete: <a href="#section-identifier-node"> 6.1.6 delete: </a> , delete: <a href="#section-literal-node"> 6.1.8 delete: </a> , delete: <a href="#section-typed-literal-node"> 6.1.9 delete: </a> after delete: <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2003Nov/0006.html"> proposal by Jeremy Carroll delete: </a> delete: <br /> delete: <a href="#section-element-node"> 6.1.2 delete: </a> , delete: <a href="#section-attribute-node"> 6.1.4 delete: </a> Added element/attribute URI-string-value accessors delete: <br /> delete: <a href="#nodeElement"> 7.2.11 delete: </a> , delete: <a href="#emptyPropertyElt"> 7.2.21 delete: </a> Added use of new uri event for the delete: <code> rdf:type delete: </code> cases delete: <br /> delete: <a href="#nodeElement"> 7.2.11 delete: </a> (<e.URI> and <a.URI>), delete: <a href="#resourcePropertyElt"> 7.2.15 delete: </a> (<e.URI>) delete: <a href="#literalPropertyElt"> 7.2.16 delete: </a> (<e.URI>) delete: <a href="#parseTypeLiteralPropertyElt"> 7.2.17 delete: </a> (<e.URI>) delete: <a href="#parseTypeResourcePropertyElt"> 7.2.18 delete: </a> (<e.URI>) delete: <a href="#parseTypeCollectionPropertyElt"> 7.2.19 delete: </a> (<e.URI> twice) delete: <a href="#emptyPropertyElt"> 7.2.21 delete: </a> (<e.URI> twice, <a.URI> once) changed from X.URI to X.URI-string-value (anywhere "<"..">" appeared in the grammar action without a hardcoded URI reference) delete: <br /> delete: <a href="#URI-reference"> 7.2.32 delete: </a> Replace action wording with "An RDF URI reference" delete: <br/> All changed as outlined in delete: <a href="http://lists.w3.org/Archives/Public/www-rdf-comments/2003OctDec/0100.html"> proposal 2003-10-06 delete: </a> after delete: <a href="http://lists.w3.org/Archives/Public/www-rdf-comments/2003OctDec/0068.html"> comment by Patel-Schneider 2003-10-29 2004. W3C Recommendation. URL: insert: <a href="http://www.w3.org/TR/xmlschema-2/"> http://www.w3.org/TR/xmlschema-2/
delete: <h3> delete: <a id="section-Changes-none" name="section-Changes-none"> Appendix B.3: Issues requiring no document revisions delete: </a> insert: </section>
insert: <section id="informative-references" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
insert: <h3 aria-level="2" role="heading" id="h3_informative-references">

insert: <span class="secno"> D.2 insert: </span> Informative references

delete: <p> None delete: </p> delete: <p> delete: <a id="section-Changes2" name="section-Changes2"> delete: </a> delete: <a id="section-Changes2-non-editorial" name="section-Changes2-non-editorial"> delete: </a> delete: <a id="section-Changes2-editorial" name="section-Changes2-editorial"> delete: </a> delete: </p> delete: <hr /> delete: <div class="metadata"> delete: <p> delete: <a href="metadata.rdf"> delete: <img src="http://www.w3.org/RDF/icons/rdf_metadata_button.40" alt="RDF/XML Metadata" /> delete: </a> delete: </p> delete: </div> insert: <dl class="bibliography" about="">
insert: <dt id="bib-CHARMOD">
[CHARMOD] insert: </dt>
insert: <dd rel="dcterms:references">
Martin Dürst; François Yergeau; Richard Ishida; Misha Wolf; Tex Texin et al. insert: <a href="http://www.w3.org/TR/charmod/"> insert: <cite> Character Model for the World Wide Web 1.0: Fundamentals insert: </cite> insert: </a> . 15 February 2005. W3C Recommendation. URL: insert: <a href="http://www.w3.org/TR/charmod/"> http://www.w3.org/TR/charmod/ insert: </a> insert: </dd>
insert: <dt id="bib-IANA-MEDIA-TYPES">
[IANA-MEDIA-TYPES] insert: </dt>
insert: <dd rel="dcterms:references">
insert: <cite> insert: <a href="http://www.iana.org/assignments/media-types/"> MIME Media Types insert: </a> insert: </cite> . The Internet Assigned Numbers Authority (IANA). The registration for application/rdf+xml is archived at insert: <a href="http://www.w3.org/2001/sw/RDFCore/mediatype-registration"> http://www.w3.org/2001/sw/RDFCore/mediatype-registration insert: </a> . insert: </dd>
insert: <dt id="bib-NFC">
[NFC] insert: </dt>
insert: <dd rel="dcterms:references">
M. Davis, Ken Whistler. insert: <a href="http://www.unicode.org/reports/tr15/"> insert: <cite> TR15, Unicode Normalization Forms. insert: </cite> insert: </a> . 17 September 2010, URL: insert: <a href="http://www.unicode.org/reports/tr15/"> http://www.unicode.org/reports/tr15/ insert: </a> insert: </dd>
insert: <dt id="bib-RDFMS">
[RDFMS] insert: </dt>
insert: <dd rel="dcterms:references">
Ora Lassila; Ralph R. Swick. insert: <cite> insert: <a href="http://www.w3.org/TR/1999/REC-rdf-syntax-19990222/"> Resource Description Framework (RDF) Model and Syntax Specification insert: </a> insert: </cite> . 22 February 1999. W3C Recommendation. URL: insert: <a href="http://www.w3.org/TR/1999/REC-rdf-syntax-19990222/"> http://www.w3.org/TR/1999/REC-rdf-syntax-19990222 insert: </a> . insert: </dd>
insert: <dt id="bib-RELAXNG">
[RELAXNG] insert: </dt>
insert: <dd rel="dcterms:references">
James Clark and Murata Makoto, editors. insert: <cite> insert: <a href="http://www.oasis-open.org/committees/relax-ng/spec-20011203.html"> RELAX NG Specification insert: </a> insert: </cite> . OASIS Committee Specification, 3 December 2001. Latest version: insert: <a href="http://www.oasis-open.org/committees/relax-ng/spec.html"> http://www.oasis-open.org/committees/relax-ng/spec.html insert: </a> . insert: </dd>
insert: <dt id="bib-RELAXNG-COMPACT">
[RELAXNG-COMPACT] insert: </dt>
insert: <dd rel="dcterms:references">
James Clark, editor. insert: <cite> insert: <a href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html"> RELAX NG Compact Syntax insert: </a> insert: </cite> . OASIS Committee Specification, 21 November 2002. URI: insert: <a href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html"> http://www.oasis-open.org/committees/relax-ng/compact-20021121.html insert: </a> . insert: </dd>
insert: <dt id="bib-RFC2119">
[RFC2119] insert: </dt>
insert: <dd rel="dcterms:references">
S. Bradner. insert: <a href="http://www.ietf.org/rfc/rfc2119.txt"> insert: <cite> Key words for use in RFCs to Indicate Requirement Levels. insert: </cite> insert: </a> March 1997. Internet RFC 2119. URL: insert: <a href="http://www.ietf.org/rfc/rfc2119.txt"> http://www.ietf.org/rfc/rfc2119.txt insert: </a> insert: </dd>
insert: <dt id="bib-RFC3986">
[RFC3986] insert: </dt>
insert: <dd rel="dcterms:references">
T. Berners-Lee; R. Fielding; L. Masinter. insert: <a href="http://www.ietf.org/rfc/rfc3986.txt"> insert: <cite> Uniform Resource Identifier (URI): Generic Syntax (RFC 3986) insert: </cite> insert: </a> . January 2005. RFC. URL: insert: <a href="http://www.ietf.org/rfc/rfc3986.txt"> http://www.ietf.org/rfc/rfc3986.txt insert: </a> insert: </dd>
insert: <dt id="bib-SAX">
[SAX] insert: </dt>
insert: <dd rel="dcterms:references">
D. Megginson, et al. insert: <a href="http://www.megginson.com/downloads/SAX/"> insert: <cite> SAX: The Simple API for XML insert: </cite> insert: </a> . May 1998. URL: insert: <a href="http://www.megginson.com/downloads/SAX/"> http://www.megginson.com/downloads/SAX/ insert: </a> insert: </dd>
insert: <dt id="bib-STRIPEDRDF">
[STRIPEDRDF] insert: </dt>
insert: <dd rel="dcterms:references">
D. Brickley. insert: <cite> insert: <a href="http://www.w3.org/2001/10/stripes/"> RDF: Understanding the Striped RDF/XML Syntax insert: </a> . W3C, 2001. URI: insert: <a href="http://www.w3.org/2001/10/stripes/"> http://www.w3.org/2001/10/stripes/ insert: </a> . insert: </cite> insert: </dd>
insert: <dt id="bib-SVG10">
[SVG10] insert: </dt>
insert: <dd rel="dcterms:references">
Jon Ferraiolo. insert: <a href="http://www.w3.org/TR/SVG/"> insert: <cite> Scalable Vector Graphics (SVG) 1.0 Specification insert: </cite> insert: </a> . 4 September 2001. W3C Recommendation. URL: insert: <a href="http://www.w3.org/TR/SVG/"> http://www.w3.org/TR/SVG/ insert: </a> insert: </dd>
insert: <dt id="bib-SVG11">
[SVG11] insert: </dt>
insert: <dd rel="dcterms:references">
Erik Dahlström; Patrick Dengler; Anthony Grasso; Chris Lilley; Cameron McCormack; Doug Schepers; Jonathan Watt; Jon Ferraiolo; Jun Fujisawa; Dean Jackson et al. insert: <a href="http://www.w3.org/TR/SVG11/"> insert: <cite> Scalable Vector Graphics (SVG) 1.1 (Second Edition) insert: </cite> insert: </a> . 16 August 2011. W3C Recommendation. URL: insert: <a href="http://www.w3.org/TR/SVG11/"> http://www.w3.org/TR/SVG11/ insert: </a> insert: </dd>
insert: <dt id="bib-UNICODE">
[UNICODE] insert: </dt>
insert: <dd rel="dcterms:references">
insert: <a href="http://www.unicode.org/versions/latest/"> insert: <cite> The Unicode Standard insert: </cite> insert: </a> . URL: insert: <a href="http://www.unicode.org/versions/latest/"> http://www.unicode.org/versions/latest/ insert: </a> insert: </dd>
insert: <dt id="bib-XMLBASE">
[XMLBASE] insert: </dt>
insert: <dd rel="dcterms:references">
Jonathan Marsh; Richard Tobin. insert: <a href="http://www.w3.org/TR/xmlbase/"> insert: <cite> XML Base (Second Edition) insert: </cite> insert: </a> . 28 January 2009. W3C Recommendation. URL: insert: <a href="http://www.w3.org/TR/xmlbase/"> http://www.w3.org/TR/xmlbase/ insert: </a> insert: </dd>
insert: <dt id="bib-XMLSCHEMA-1">
[XMLSCHEMA-1] insert: </dt>
insert: <dd rel="dcterms:references">
Henry Thompson; David Beech; Murray Maloney; Noah Mendelsohn et al. insert: <a href="http://www.w3.org/TR/xmlschema-1/"> insert: <cite> XML Schema Part 1: Structures Second Edition insert: </cite> insert: </a> . 28 October 2004. W3C Recommendation. URL: insert: <a href="http://www.w3.org/TR/xmlschema-1/"> http://www.w3.org/TR/xmlschema-1/ insert: </a> insert: </dd>
insert: <dt id="bib-XPATH">
[XPATH] insert: </dt>
insert: <dd rel="dcterms:references">
James Clark; Steven DeRose. insert: <a href="http://www.w3.org/TR/xpath"> insert: <cite> XML Path Language (XPath) Version 1.0 insert: </cite> insert: </a> . 16 November 1999. W3C Recommendation. URL: insert: <a href="http://www.w3.org/TR/xpath"> http://www.w3.org/TR/xpath insert: </a> insert: </dd>
insert: <dt id="bib-XPATH-DATAMODEL-30">
[XPATH-DATAMODEL-30] insert: </dt>
insert: <dd rel="dcterms:references">
Norman Walsh; Anders Berglund; John Snelson. insert: <a href="http://www.w3.org/TR/xpath-datamodel-30/"> insert: <cite> XQuery and XPath Data Model 3.0 insert: </cite> insert: </a> . 22 October 2013. W3C Proposed Recommendation. URL: insert: <a href="http://www.w3.org/TR/xpath-datamodel-30/"> http://www.w3.org/TR/xpath-datamodel-30/ insert: </a> insert: </dd>
insert: <dt id="bib-XPATH-FUNCTIONS-30">
[XPATH-FUNCTIONS-30] insert: </dt>
insert: <dd rel="dcterms:references">
Michael Kay. insert: <a href="http://www.w3.org/TR/xpath-functions-30/"> insert: <cite> XPath and XQuery Functions and Operators 3.0 insert: </cite> insert: </a> . 22 October 2013. W3C Proposed Recommendation. URL: insert: <a href="http://www.w3.org/TR/xpath-functions-30/"> http://www.w3.org/TR/xpath-functions-30/ insert: </a> insert: </dd>
insert: </dl>
insert: </section>
insert: </section>