--- a/rdf-xml/Overview.html Thu Feb 20 23:26:56 2014 +0100
+++ b/rdf-xml/Overview.html Thu Feb 20 15:12:55 2014 -0800
@@ -1,7 +1,7 @@
<!DOCTYPE html>
-<html lang="en" typeof="bibo:Document w3p:REC" about="" property="dcterms:language" content="en">
+<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">
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>RDF 1.1 XML Syntax</title>
@@ -198,12 +198,14 @@
}
-</style><link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/W3C-REC"><!--[if lt IE 9]><script src='https://www.w3.org/2008/site/js/html5shiv.js'></script><![endif]--></head>
+</style><link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/W3C-REC" />
+<!--[if lt IE 9]><script src='https://www.w3.org/2008/site/js/html5shiv.js'></script><![endif]-->
+</head>
<body class="h-entry" style="" role="document" id="respecDocument"><div class="head" role="contentinfo" id="respecHeader">
<p>
- <a href="http://www.w3.org/"><img width="72" height="48" src="https://www.w3.org/Icons/w3c_home" alt="W3C"></a>
+ <a href="http://www.w3.org/"><img width="72" height="48" src="https://www.w3.org/Icons/w3c_home" alt="W3C" /></a>
</p>
<h1 class="title p-name" id="title" property="dcterms:title">RDF 1.1 XML Syntax</h1>
@@ -297,7 +299,7 @@
</p>
- <hr>
+ <hr />
</div>
<section id="abstract" class="introductory" property="dcterms:abstract" datatype="" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter"><h2 aria-level="1" role="heading" id="h2_abstract">Abstract</h2>
@@ -388,12 +390,14 @@
-</section><section id="toc"><h2 class="introductory" aria-level="1" role="heading" id="h2_toc">Table of Contents</h2><ul class="toc" role="directory" id="respecContents"><li class="tocline"><a href="#section-Introduction" class="tocxref"><span class="secno">1. </span>Introduction</a></li><li class="tocline"><a href="#section-Syntax" class="tocxref"><span class="secno">2. </span>An XML Syntax for RDF</a><ul class="toc"><li class="tocline"><a href="#section-Syntax-intro" class="tocxref"><span class="secno">2.1 </span>Introduction</a></li><li class="tocline"><a href="#section-Syntax-node-property-elements" class="tocxref"><span class="secno">2.2 </span>Node Elements and Property Elements</a></li><li class="tocline"><a href="#section-Syntax-multiple-property-elements" class="tocxref"><span class="secno">2.3 </span>Multiple Property Elements</a></li><li class="tocline"><a href="#section-Syntax-empty-property-elements" class="tocxref"><span class="secno">2.4 </span>Empty Property Elements</a></li><li class="tocline"><a href="#section-Syntax-property-attributes" class="tocxref"><span class="secno">2.5 </span>Property Attributes</a></li><li class="tocline"><a href="#section-Syntax-complete-document" class="tocxref"><span class="secno">2.6 </span>Completing the Document: Document Element and XML Declaration</a></li><li class="tocline"><a href="#section-Syntax-languages" class="tocxref"><span class="secno">2.7 </span>Languages: <code>xml:lang</code></a></li><li class="tocline"><a href="#section-Syntax-XML-literals" class="tocxref"><span class="secno">2.8 </span>XML Literals: <code>rdf:parseType="Literal"</code></a></li><li class="tocline"><a href="#section-Syntax-datatyped-literals" class="tocxref"><span class="secno">2.9 </span>Typed Literals: <code>rdf:datatype</code></a></li><li class="tocline"><a href="#section-Syntax-blank-nodes" class="tocxref"><span class="secno">2.10 </span>Identifying Blank Nodes: <code>rdf:nodeID</code></a></li><li class="tocline"><a href="#section-Syntax-parsetype-resource" class="tocxref"><span class="secno">2.11 </span>Omitting Blank Nodes: <code>rdf:parseType="Resource"</code></a></li><li class="tocline"><a href="#section-Syntax-property-attributes-on-property-element" class="tocxref"><span class="secno">2.12 </span>Omitting Nodes: Property Attributes on an empty Property Element</a></li><li class="tocline"><a href="#section-Syntax-typed-nodes" class="tocxref"><span class="secno">2.13 </span>Typed Node Elements</a></li><li class="tocline"><a href="#section-Syntax-ID-xml-base" class="tocxref"><span class="secno">2.14 </span>Abbreviating URIs: <code>rdf:ID</code> and <code>xml:base</code></a></li><li class="tocline"><a href="#section-Syntax-list-elements" class="tocxref"><span class="secno">2.15 </span>Container Membership Property Elements: <code>rdf:li</code> and <code>rdf:_</code><em>n</em></a></li><li class="tocline"><a href="#section-Syntax-parsetype-Collection" class="tocxref"><span class="secno">2.16 </span>Collections: <code>rdf:parseType="Collection"</code></a></li><li class="tocline"><a href="#section-Syntax-reifying" class="tocxref"><span class="secno">2.17 </span>Reifying Statements: <code>rdf:ID</code></a></li></ul></li><li class="tocline"><a href="#section-Terminology" class="tocxref"><span class="secno">3. </span>Terminology</a></li><li class="tocline"><a href="#section-MIME-Type" class="tocxref"><span class="secno">4. </span>RDF MIME Type, File Extension and Macintosh File Type</a></li><li class="tocline"><a href="#section-Global" class="tocxref"><span class="secno">5. </span>Global Issues</a><ul class="toc"><li class="tocline"><a href="#section-Namespace" class="tocxref"><span class="secno">5.1 </span>The RDF Namespace and Vocabulary</a></li><li class="tocline"><a href="#section-Identifiers" class="tocxref"><span class="secno">5.2 </span>Identifiers</a></li><li class="tocline"><a href="#section-baseURIs" class="tocxref"><span class="secno">5.3 </span>Resolving IRIs</a></li><li class="tocline"><a href="#section-constraints" class="tocxref"><span class="secno">5.4 </span>Constraints</a></li><li class="tocline"><a href="#section-conformance" class="tocxref"><span class="secno">5.5 </span>Conformance</a></li></ul></li><li class="tocline"><a href="#section-Data-Model" class="tocxref"><span class="secno">6. </span>Syntax Data Model</a><ul class="toc"><li class="tocline"><a href="#section-Nodes" class="tocxref"><span class="secno">6.1 </span>Events</a><ul class="toc"><li class="tocline"><a href="#section-root-node" class="tocxref"><span class="secno">6.1.1 </span>Root Event</a></li><li class="tocline"><a href="#section-element-node" class="tocxref"><span class="secno">6.1.2 </span>Element Event</a></li><li class="tocline"><a href="#section-end-element-node" class="tocxref"><span class="secno">6.1.3 </span>End Element Event</a></li><li class="tocline"><a href="#section-attribute-node" class="tocxref"><span class="secno">6.1.4 </span>Attribute Event</a></li><li class="tocline"><a href="#section-text-node" class="tocxref"><span class="secno">6.1.5 </span>Text Event</a></li><li class="tocline"><a href="#section-identifier-node" class="tocxref"><span class="secno">6.1.6 </span>IRI Event</a></li><li class="tocline"><a href="#section-blank-nodeid-event" class="tocxref"><span class="secno">6.1.7 </span>Blank Node Identifier Event</a></li><li class="tocline"><a href="#section-literal-node" class="tocxref"><span class="secno">6.1.8 </span>Plain Literal Event</a></li><li class="tocline"><a href="#section-typed-literal-node" class="tocxref"><span class="secno">6.1.9 </span>Typed Literal Event</a></li></ul></li><li class="tocline"><a href="#section-Infoset-Mapping" class="tocxref"><span class="secno">6.2 </span>Information Set Mapping</a></li><li class="tocline"><a href="#section-Infoset-Grammar-Notation" class="tocxref"><span class="secno">6.3 </span>Grammar Notation</a><ul class="toc"><li class="tocline"><a href="#section-Infoset-Grammar-General" class="tocxref"><span class="secno">6.3.1 </span>Grammar General Notation</a></li><li class="tocline"><a href="#section-Infoset-Grammar-Matching" class="tocxref"><span class="secno">6.3.2 </span>Grammar Event Matching Notation</a></li><li class="tocline"><a href="#section-Infoset-Grammar-Action" class="tocxref"><span class="secno">6.3.3 </span>Grammar Action Notation</a></li></ul></li></ul></li><li class="tocline"><a href="#section-Infoset-Grammar" class="tocxref"><span class="secno">7. </span>RDF/XML Grammar</a><ul class="toc"><li class="tocline"><a href="#section-grammar-summary" class="tocxref"><span class="secno">7.1 </span>Grammar summary</a></li><li class="tocline"><a href="#section-grammar-productions" class="tocxref"><span class="secno">7.2 </span>Grammar Productions</a><ul class="toc"><li class="tocline"><a href="#start" class="tocxref"><span class="secno">7.2.1 </span>Grammar start</a></li><li class="tocline"><a href="#coreSyntaxTerms" class="tocxref"><span class="secno">7.2.2 </span>Production coreSyntaxTerms</a></li><li class="tocline"><a href="#syntaxTerms" class="tocxref"><span class="secno">7.2.3 </span>Production syntaxTerms</a></li><li class="tocline"><a href="#oldTerms" class="tocxref"><span class="secno">7.2.4 </span>Production oldTerms</a></li><li class="tocline"><a href="#nodeElementURIs" class="tocxref"><span class="secno">7.2.5 </span>Production nodeElementURIs</a></li><li class="tocline"><a href="#propertyElementURIs" class="tocxref"><span class="secno">7.2.6 </span>Production propertyElementURIs</a></li><li class="tocline"><a href="#propertyAttributeURIs" class="tocxref"><span class="secno">7.2.7 </span>Production propertyAttributeURIs</a></li><li class="tocline"><a href="#doc" class="tocxref"><span class="secno">7.2.8 </span>Production doc</a></li><li class="tocline"><a href="#RDF" class="tocxref"><span class="secno">7.2.9 </span>Production RDF</a></li><li class="tocline"><a href="#nodeElementList" class="tocxref"><span class="secno">7.2.10 </span>Production nodeElementList</a></li><li class="tocline"><a href="#nodeElement" class="tocxref"><span class="secno">7.2.11 </span>Production nodeElement</a></li><li class="tocline"><a href="#ws" class="tocxref"><span class="secno">7.2.12 </span>Production ws</a></li><li class="tocline"><a href="#propertyEltList" class="tocxref"><span class="secno">7.2.13 </span>Production propertyEltList</a></li><li class="tocline"><a href="#propertyElt" class="tocxref"><span class="secno">7.2.14 </span>Production propertyElt</a></li><li class="tocline"><a href="#resourcePropertyElt" class="tocxref"><span class="secno">7.2.15 </span>Production resourcePropertyElt</a></li><li class="tocline"><a href="#literalPropertyElt" class="tocxref"><span class="secno">7.2.16 </span>Production literalPropertyElt</a></li><li class="tocline"><a href="#parseTypeLiteralPropertyElt" class="tocxref"><span class="secno">7.2.17 </span>Production parseTypeLiteralPropertyElt</a></li><li class="tocline"><a href="#parseTypeResourcePropertyElt" class="tocxref"><span class="secno">7.2.18 </span>Production parseTypeResourcePropertyElt</a></li><li class="tocline"><a href="#parseTypeCollectionPropertyElt" class="tocxref"><span class="secno">7.2.19 </span>Production parseTypeCollectionPropertyElt</a></li><li class="tocline"><a href="#parseTypeOtherPropertyElt" class="tocxref"><span class="secno">7.2.20 </span>Production parseTypeOtherPropertyElt</a></li><li class="tocline"><a href="#emptyPropertyElt" class="tocxref"><span class="secno">7.2.21 </span>Production emptyPropertyElt</a></li><li class="tocline"><a href="#idAttr" class="tocxref"><span class="secno">7.2.22 </span>Production idAttr</a></li><li class="tocline"><a href="#nodeIdAttr" class="tocxref"><span class="secno">7.2.23 </span>Production nodeIdAttr</a></li><li class="tocline"><a href="#aboutAttr" class="tocxref"><span class="secno">7.2.24 </span>Production aboutAttr</a></li><li class="tocline"><a href="#propertyAttr" class="tocxref"><span class="secno">7.2.25 </span>Production propertyAttr</a></li><li class="tocline"><a href="#resourceAttr" class="tocxref"><span class="secno">7.2.26 </span>Production resourceAttr</a></li><li class="tocline"><a href="#datatypeAttr" class="tocxref"><span class="secno">7.2.27 </span>Production datatypeAttr</a></li><li class="tocline"><a href="#parseLiteral" class="tocxref"><span class="secno">7.2.28 </span>Production parseLiteral</a></li><li class="tocline"><a href="#parseResource" class="tocxref"><span class="secno">7.2.29 </span>Production parseResource</a></li><li class="tocline"><a href="#parseCollection" class="tocxref"><span class="secno">7.2.30 </span>Production parseCollection</a></li><li class="tocline"><a href="#parseOther" class="tocxref"><span class="secno">7.2.31 </span>Production parseOther</a></li><li class="tocline"><a href="#URI-reference" class="tocxref"><span class="secno">7.2.32 </span>Production IRI</a></li><li class="tocline"><a href="#literal" class="tocxref"><span class="secno">7.2.33 </span>Production literal</a></li><li class="tocline"><a href="#rdf-id" class="tocxref"><span class="secno">7.2.34 </span>Production rdf-id</a></li></ul></li><li class="tocline"><a href="#section-Reification" class="tocxref"><span class="secno">7.3 </span>Reification Rules</a></li><li class="tocline"><a href="#section-List-Expand" class="tocxref"><span class="secno">7.4 </span>List Expansion Rules</a></li></ul></li><li class="tocline"><a href="#section-Serialising" class="tocxref"><span class="secno">8. </span>Serializing an RDF Graph to RDF/XML</a></li><li class="tocline"><a href="#section-rdf-in-SVG" class="tocxref"><span class="secno">9. </span>Using RDF/XML with SVG</a></li><li class="tocline"><a href="#section-Acknowledgments" class="tocxref"><span class="secno">A. </span>Acknowledgments</a></li><li class="tocline"><a href="#changes-rdf11" class="tocxref"><span class="secno">B. </span>Changes since 2004 Recommendation</a></li><li class="tocline"><a href="#section-Schemas" class="tocxref"><span class="secno">C. </span>Syntax Schemas</a><ul class="toc"><li class="tocline"><a href="#section-RELAXNG-Schema" class="tocxref"><span class="secno">C.1 </span>RELAX NG Compact Schema</a></li></ul></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno">D. </span>References</a><ul class="toc"><li class="tocline"><a href="#normative-references" class="tocxref"><span class="secno">D.1 </span>Normative references</a></li><li class="tocline"><a href="#informative-references" class="tocxref"><span class="secno">D.2 </span>Informative references</a></li></ul></li></ul></section>
+</section><section id="toc"><h2 class="introductory" aria-level="1" role="heading" id="h2_toc">Table of Contents</h2><ul class="toc" role="directory" id="respecContents"><li class="tocline"><a href="#section-Introduction" class="tocxref"><span class="secno">1. </span>Introduction</a></li><li class="tocline"><a href="#section-Syntax" class="tocxref"><span class="secno">2. </span>An XML Syntax for RDF</a><ul class="toc"><li class="tocline"><a href="#section-Syntax-intro" class="tocxref"><span class="secno">2.1 </span>Introduction</a></li><li class="tocline"><a href="#section-Syntax-node-property-elements" class="tocxref"><span class="secno">2.2 </span>Node Elements and Property Elements</a></li><li class="tocline"><a href="#section-Syntax-multiple-property-elements" class="tocxref"><span class="secno">2.3 </span>Multiple Property Elements</a></li><li class="tocline"><a href="#section-Syntax-empty-property-elements" class="tocxref"><span class="secno">2.4 </span>Empty Property Elements</a></li><li class="tocline"><a href="#section-Syntax-property-attributes" class="tocxref"><span class="secno">2.5 </span>Property Attributes</a></li><li class="tocline"><a href="#section-Syntax-complete-document" class="tocxref"><span class="secno">2.6 </span>Completing the Document: Document Element and XML Declaration</a></li><li class="tocline"><a href="#section-Syntax-languages" class="tocxref"><span class="secno">2.7 </span>Languages: <code>xml:lang</code></a></li><li class="tocline"><a href="#section-Syntax-XML-literals" class="tocxref"><span class="secno">2.8 </span>XML Literals: <code>rdf:parseType="Literal"</code></a></li><li class="tocline"><a href="#section-Syntax-datatyped-literals" class="tocxref"><span class="secno">2.9 </span>Typed Literals: <code>rdf:datatype</code></a></li><li class="tocline"><a href="#section-Syntax-blank-nodes" class="tocxref"><span class="secno">2.10 </span>Identifying Blank Nodes: <code>rdf:nodeID</code></a></li><li class="tocline"><a href="#section-Syntax-parsetype-resource" class="tocxref"><span class="secno">2.11 </span>Omitting Blank Nodes: <code>rdf:parseType="Resource"</code></a></li><li class="tocline"><a href="#section-Syntax-property-attributes-on-property-element" class="tocxref"><span class="secno">2.12 </span>Omitting Nodes: Property Attributes on an empty Property Element</a></li><li class="tocline"><a href="#section-Syntax-typed-nodes" class="tocxref"><span class="secno">2.13 </span>Typed Node Elements</a></li><li class="tocline"><a href="#section-Syntax-ID-xml-base" class="tocxref"><span class="secno">2.14 </span>Abbreviating URIs: <code>rdf:ID</code> and <code>xml:base</code></a></li><li class="tocline"><a href="#section-Syntax-list-elements" class="tocxref"><span class="secno">2.15 </span>Container Membership Property Elements: <code>rdf:li</code> and <code>rdf:_</code><em>n</em></a></li><li class="tocline"><a href="#section-Syntax-parsetype-Collection" class="tocxref"><span class="secno">2.16 </span>Collections: <code>rdf:parseType="Collection"</code></a></li><li class="tocline"><a href="#section-Syntax-reifying" class="tocxref"><span class="secno">2.17 </span>Reifying Statements: <code>rdf:ID</code></a></li></ul></li><li class="tocline"><a href="#section-Terminology" class="tocxref"><span class="secno">3. </span>Terminology</a></li><li class="tocline"><a href="#section-MIME-Type" class="tocxref"><span class="secno">4. </span>RDF MIME Type, File Extension and Macintosh File Type</a></li><li class="tocline"><a href="#section-Global" class="tocxref"><span class="secno">5. </span>Global Issues</a><ul class="toc"><li class="tocline"><a href="#section-Namespace" class="tocxref"><span class="secno">5.1 </span>The RDF Namespace and Vocabulary</a></li><li class="tocline"><a href="#section-Identifiers" class="tocxref"><span class="secno">5.2 </span>Identifiers</a></li><li class="tocline"><a href="#section-baseURIs" class="tocxref"><span class="secno">5.3 </span>Resolving IRIs</a></li><li class="tocline"><a href="#section-constraints" class="tocxref"><span class="secno">5.4 </span>Constraints</a></li><li class="tocline"><a href="#section-conformance" class="tocxref"><span class="secno">5.5 </span>Conformance</a></li></ul></li><li class="tocline"><a href="#section-Data-Model" class="tocxref"><span class="secno">6. </span>Syntax Data Model</a><ul class="toc"><li class="tocline"><a href="#section-Nodes" class="tocxref"><span class="secno">6.1 </span>Events</a><ul class="toc"><li class="tocline"><a href="#section-root-node" class="tocxref"><span class="secno">6.1.1 </span>Root Event</a></li><li class="tocline"><a href="#section-element-node" class="tocxref"><span class="secno">6.1.2 </span>Element Event</a></li><li class="tocline"><a href="#section-end-element-node" class="tocxref"><span class="secno">6.1.3 </span>End Element Event</a></li><li class="tocline"><a href="#section-attribute-node" class="tocxref"><span class="secno">6.1.4 </span>Attribute Event</a></li><li class="tocline"><a href="#section-text-node" class="tocxref"><span class="secno">6.1.5 </span>Text Event</a></li><li class="tocline"><a href="#section-identifier-node" class="tocxref"><span class="secno">6.1.6 </span>IRI Event</a></li><li class="tocline"><a href="#section-blank-nodeid-event" class="tocxref"><span class="secno">6.1.7 </span>Blank Node Identifier Event</a></li><li class="tocline"><a href="#section-literal-node" class="tocxref"><span class="secno">6.1.8 </span>Plain Literal Event</a></li><li class="tocline"><a href="#section-typed-literal-node" class="tocxref"><span class="secno">6.1.9 </span>Typed Literal Event</a></li></ul></li><li class="tocline"><a href="#section-Infoset-Mapping" class="tocxref"><span class="secno">6.2 </span>Information Set Mapping</a></li><li class="tocline"><a href="#section-Infoset-Grammar-Notation" class="tocxref"><span class="secno">6.3 </span>Grammar Notation</a><ul class="toc"><li class="tocline"><a href="#section-Infoset-Grammar-General" class="tocxref"><span class="secno">6.3.1 </span>Grammar General Notation</a></li><li class="tocline"><a href="#section-Infoset-Grammar-Matching" class="tocxref"><span class="secno">6.3.2 </span>Grammar Event Matching Notation</a></li><li class="tocline"><a href="#section-Infoset-Grammar-Action" class="tocxref"><span class="secno">6.3.3 </span>Grammar Action Notation</a></li></ul></li></ul></li><li class="tocline"><a href="#section-Infoset-Grammar" class="tocxref"><span class="secno">7. </span>RDF/XML Grammar</a><ul class="toc"><li class="tocline"><a href="#section-grammar-summary" class="tocxref"><span class="secno">7.1 </span>Grammar summary</a></li><li class="tocline"><a href="#section-grammar-productions" class="tocxref"><span class="secno">7.2 </span>Grammar Productions</a><ul class="toc"><li class="tocline"><a href="#start" class="tocxref"><span class="secno">7.2.1 </span>Grammar start</a></li><li class="tocline"><a href="#coreSyntaxTerms" class="tocxref"><span class="secno">7.2.2 </span>Production coreSyntaxTerms</a></li><li class="tocline"><a href="#syntaxTerms" class="tocxref"><span class="secno">7.2.3 </span>Production syntaxTerms</a></li><li class="tocline"><a href="#oldTerms" class="tocxref"><span class="secno">7.2.4 </span>Production oldTerms</a></li><li class="tocline"><a href="#nodeElementURIs" class="tocxref"><span class="secno">7.2.5 </span>Production nodeElementURIs</a></li><li class="tocline"><a href="#propertyElementURIs" class="tocxref"><span class="secno">7.2.6 </span>Production propertyElementURIs</a></li><li class="tocline"><a href="#propertyAttributeURIs" class="tocxref"><span class="secno">7.2.7 </span>Production propertyAttributeURIs</a></li><li class="tocline"><a href="#doc" class="tocxref"><span class="secno">7.2.8 </span>Production doc</a></li><li class="tocline"><a href="#RDF" class="tocxref"><span class="secno">7.2.9 </span>Production RDF</a></li><li class="tocline"><a href="#nodeElementList" class="tocxref"><span class="secno">7.2.10 </span>Production nodeElementList</a></li><li class="tocline"><a href="#nodeElement" class="tocxref"><span class="secno">7.2.11 </span>Production nodeElement</a></li><li class="tocline"><a href="#ws" class="tocxref"><span class="secno">7.2.12 </span>Production ws</a></li><li class="tocline"><a href="#propertyEltList" class="tocxref"><span class="secno">7.2.13 </span>Production propertyEltList</a></li><li class="tocline"><a href="#propertyElt" class="tocxref"><span class="secno">7.2.14 </span>Production propertyElt</a></li><li class="tocline"><a href="#resourcePropertyElt" class="tocxref"><span class="secno">7.2.15 </span>Production resourcePropertyElt</a></li><li class="tocline"><a href="#literalPropertyElt" class="tocxref"><span class="secno">7.2.16 </span>Production literalPropertyElt</a></li><li class="tocline"><a href="#parseTypeLiteralPropertyElt" class="tocxref"><span class="secno">7.2.17 </span>Production parseTypeLiteralPropertyElt</a></li><li class="tocline"><a href="#parseTypeResourcePropertyElt" class="tocxref"><span class="secno">7.2.18 </span>Production parseTypeResourcePropertyElt</a></li><li class="tocline"><a href="#parseTypeCollectionPropertyElt" class="tocxref"><span class="secno">7.2.19 </span>Production parseTypeCollectionPropertyElt</a></li><li class="tocline"><a href="#parseTypeOtherPropertyElt" class="tocxref"><span class="secno">7.2.20 </span>Production parseTypeOtherPropertyElt</a></li><li class="tocline"><a href="#emptyPropertyElt" class="tocxref"><span class="secno">7.2.21 </span>Production emptyPropertyElt</a></li><li class="tocline"><a href="#idAttr" class="tocxref"><span class="secno">7.2.22 </span>Production idAttr</a></li><li class="tocline"><a href="#nodeIdAttr" class="tocxref"><span class="secno">7.2.23 </span>Production nodeIdAttr</a></li><li class="tocline"><a href="#aboutAttr" class="tocxref"><span class="secno">7.2.24 </span>Production aboutAttr</a></li><li class="tocline"><a href="#propertyAttr" class="tocxref"><span class="secno">7.2.25 </span>Production propertyAttr</a></li><li class="tocline"><a href="#resourceAttr" class="tocxref"><span class="secno">7.2.26 </span>Production resourceAttr</a></li><li class="tocline"><a href="#datatypeAttr" class="tocxref"><span class="secno">7.2.27 </span>Production datatypeAttr</a></li><li class="tocline"><a href="#parseLiteral" class="tocxref"><span class="secno">7.2.28 </span>Production parseLiteral</a></li><li class="tocline"><a href="#parseResource" class="tocxref"><span class="secno">7.2.29 </span>Production parseResource</a></li><li class="tocline"><a href="#parseCollection" class="tocxref"><span class="secno">7.2.30 </span>Production parseCollection</a></li><li class="tocline"><a href="#parseOther" class="tocxref"><span class="secno">7.2.31 </span>Production parseOther</a></li><li class="tocline"><a href="#URI-reference" class="tocxref"><span class="secno">7.2.32 </span>Production IRI</a></li><li class="tocline"><a href="#literal" class="tocxref"><span class="secno">7.2.33 </span>Production literal</a></li><li class="tocline"><a href="#rdf-id" class="tocxref"><span class="secno">7.2.34 </span>Production rdf-id</a></li></ul></li><li class="tocline"><a href="#section-Reification" class="tocxref"><span class="secno">7.3 </span>Reification Rules</a></li><li class="tocline"><a href="#section-List-Expand" class="tocxref"><span class="secno">7.4 </span>List Expansion Rules</a></li></ul></li><li class="tocline"><a href="#section-Serialising" class="tocxref"><span class="secno">8. </span>Serializing an RDF Graph to RDF/XML</a></li><li class="tocline"><a href="#section-rdf-in-SVG" class="tocxref"><span class="secno">9. </span>Using RDF/XML with SVG</a></li><li class="tocline"><a href="#section-Acknowledgments" class="tocxref"><span class="secno">A. </span>Acknowledgments</a></li><li class="tocline"><a href="#changes-rdf11" class="tocxref"><span class="secno">B. </span>Changes since 2004 Recommendation</a></li><li class="tocline"><a href="#section-Schemas" class="tocxref"><span class="secno">C. </span>Syntax Schemas</a><ul class="toc"><li class="tocline"><a href="#section-RELAXNG-Schema" class="tocxref"><span class="secno">C.1 </span>RELAX NG Compact Schema</a></li></ul></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno">D. </span>References</a><ul class="toc"><li class="tocline"><a href="#normative-references" class="tocxref"><span class="secno">D.1 </span>Normative references</a></li><li class="tocline"><a href="#informative-references" class="tocxref"><span class="secno">D.2 </span>Informative references</a></li></ul></li></ul></section>
<section id="section-Introduction" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
- <!--OddPage--><h2 aria-level="1" role="heading" id="h2_section-Introduction"><span class="secno">1. </span>Introduction</h2>
+
+<!--OddPage-->
+<h2 aria-level="1" role="heading" id="h2_section-Introduction"><span class="secno">1. </span>Introduction</h2>
<p>This document defines the
XML [<cite><a class="bibref" href="#bib-XML10">XML10</a></cite>] syntax for RDF graphs. </p>
@@ -411,10 +415,10 @@
<ul>
<li>A document describing the basic concepts underlying RDF, as
- well as abstract syntax ("RDF Concepts and Abstract Syntax")
+ well as abstract syntax ("RDF Concepts and Abstract Syntax")
[<cite><a class="bibref" href="#bib-RDF11-CONCEPTS">RDF11-CONCEPTS</a></cite>]</li>
<li>A document describing the formal model-theoretic semantics
- of RDF ("RDF Semantics") [<cite><a class="bibref" href="#bib-RDF11-MT">RDF11-MT</a></cite>]</li>
+ of RDF ("RDF Semantics") [<cite><a class="bibref" href="#bib-RDF11-MT">RDF11-MT</a></cite>]</li>
<li>Specifications of concrete syntaxes for RDF:
<ul>
<li>Turtle [<cite><a class="bibref" href="#bib-TURTLE">TURTLE</a></cite>] and TriG [<cite><a class="bibref" href="#bib-TRIG">TRIG</a></cite>]</li>
@@ -426,17 +430,21 @@
provides a data-modeling vocabulary for RDF data. </li>
</ul>
<p>For a longer introduction to the RDF/XML syntax with a historical
- perspective, see "RDF: Understanding the Striped RDF/XML
- Syntax" [<cite><a class="bibref" href="#bib-STRIPEDRDF">STRIPEDRDF</a></cite>].</p>
+ perspective, see "RDF: Understanding the Striped RDF/XML
+ Syntax" [<cite><a class="bibref" href="#bib-STRIPEDRDF">STRIPEDRDF</a></cite>].</p>
</section>
- <!-- FIRST PART : THE SYNTAX -->
+
+<!-- FIRST PART : THE SYNTAX -->
+
<section id="section-Syntax" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
- <!--OddPage--><h2 aria-level="1" role="heading" id="h2_section-Syntax"><span class="secno">2. </span>An XML Syntax for RDF</h2>
+
+<!--OddPage-->
+<h2 aria-level="1" role="heading" id="h2_section-Syntax"><span class="secno">2. </span>An XML Syntax for RDF</h2>
<p>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
@@ -446,7 +454,9 @@
latter two sections take precedence.
</p>
- <!-- intro -->
+
+<!-- intro -->
+
<section id="section-Syntax-intro" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-Syntax-intro"><span class="secno">2.1 </span>Introduction</h3>
@@ -515,13 +525,15 @@
</section>
- <!-- node and property elements -->
+
+<!-- node and property elements -->
+
<section id="section-Syntax-node-property-elements" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-Syntax-node-property-elements"><span class="secno">2.2 </span>Node Elements and Property Elements</h3>
<figure id="figure1">
- <img src="figure1.png" alt="Graph for RDF/XML Example">
+ <img src="figure1.png" alt="Graph for RDF/XML Example" />
<figcaption>Fig. <span class="figno">1</span> <span class="fig-title">Graph for RDF/XML Example (<a href="figure1.svg">SVG version</a>)</span></figcaption>
</figure>
@@ -536,7 +548,7 @@
</p>
<figure id="figure2">
- <img src="figure2.png" alt="One Path Through the Graph">
+ <img src="figure2.png" alt="One Path Through the Graph" />
<figcaption>Fig. <span class="figno">2</span> <span class="fig-title">One Path Through the Graph (<a href="figure2.svg">SVG version</a>)</span></figcaption>
</figure>
@@ -588,11 +600,11 @@
<div class="example"><div class="example-title"><span>Example 2</span></div><pre class="example" id="example2"><strong>Node Elements with IRIs added</strong>
-<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
+<rdf:Description 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:Description rdf:about="http://purl.org/net/dajobe/">
</rdf:Description>
</ex:homePage>
</rdf:Description>
@@ -609,18 +621,18 @@
<div class="example"><div class="example-title"><span>Example 3</span></div><pre class="example" id="example3"><strong>Complete description of all graph paths</strong>
-<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
+<rdf:Description 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:Description 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:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
<ex:editor>
<rdf:Description>
<ex:fullName>Dave Beckett</ex:fullName>
@@ -628,13 +640,15 @@
</ex:editor>
</rdf:Description>
-<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
+<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
<dc:title>RDF 1.1 XML Syntax</dc:title>
</rdf:Description></pre></div>
</section>
- <!-- multiple properties -->
+
+<!-- multiple properties -->
+
<section id="section-Syntax-multiple-property-elements" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-Syntax-multiple-property-elements"><span class="secno">2.3 </span>Multiple Property Elements</h3>
@@ -659,11 +673,11 @@
<div class="example"><div class="example-title"><span>Example 4</span></div><pre class="example" id="example4"><strong>Using multiple property elements on a node element</strong>
-<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
+<rdf:Description 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:Description rdf:about="http://purl.org/net/dajobe/">
</rdf:Description>
</ex:homePage>
<ex:fullName>Dave Beckett</ex:fullName>
@@ -674,15 +688,17 @@
</section>
- <!-- empty property elements -->
+
+<!-- empty property elements -->
+
<section id="section-Syntax-empty-property-elements" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-Syntax-empty-property-elements"><span class="secno">2.4 </span>Empty Property Elements</h3>
<p>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
- <code><rdf:Description rdf:about="..."></code>
+ <code><rdf:Description rdf:about="..."></code>
<code></rdf:Description></code>
- (or <code><rdf:Description rdf:about="..." /></code>)
+ (or <code><rdf:Description rdf:about="..." /></code>)
this form can be shortened. This is done by using the
IRI of the object node as the value of an XML attribute <code>rdf:resource</code>
on the containing property element and making the property element empty.
@@ -697,10 +713,10 @@
<div class="example"><div class="example-title"><span>Example 5</span></div><pre class="example" id="example5"><strong>Empty property elements</strong>
-<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
+<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
<ex:editor>
<rdf:Description>
- <ex:homePage rdf:resource="http://purl.org/net/dajobe/"/>
+ <ex:homePage rdf:resource="http://purl.org/net/dajobe/"/>
<ex:fullName>Dave Beckett</ex:fullName>
</rdf:Description>
</ex:editor>
@@ -709,7 +725,9 @@
</section>
- <!-- empty property attributes -->
+
+<!-- empty property attributes -->
+
<section id="section-Syntax-property-attributes" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-Syntax-property-attributes"><span class="secno">2.5 </span>Property Attributes</h3>
@@ -738,18 +756,20 @@
<div class="example"><div class="example-title"><span>Example 6</span></div><pre class="example" id="example6"><strong>Replacing property elements with string literal content into property attributes</strong>
-<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar"
- dc:title="RDF 1.1 XML Syntax">
+<rdf:Description 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:homePage rdf:resource="http://purl.org/net/dajobe/"/>
+ <rdf:Description ex:fullName="Dave Beckett">
+ <ex:homePage rdf:resource="http://purl.org/net/dajobe/"/>
</rdf:Description>
</ex:editor>
</rdf:Description></pre></div>
</section>
- <!-- complete rdf/xml document -->
+
+<!-- complete rdf/xml document -->
+
<section id="section-Syntax-complete-document" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-Syntax-complete-document"><span class="secno">2.6 </span>Completing the Document: Document Element and XML Declaration</h3>
@@ -777,16 +797,16 @@
<div class="example"><div class="example-title"><span>Example 7</span></div><pre class="example" id="example7"><strong>Complete RDF/XML description of Figure 1 graph
(<a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example07.rdf">example07.rdf</a>, output <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example07.nt">example07.nt</a>)</strong>
-<?xml 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/">
-
- <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar"
- dc:title="RDF1.1 XML Syntax">
+<?xml 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/">
+
+ <rdf:Description 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:homePage rdf:resource="http://purl.org/net/dajobe/" />
+ <rdf:Description ex:fullName="Dave Beckett">
+ <ex:homePage rdf:resource="http://purl.org/net/dajobe/" />
</rdf:Description>
</ex:editor>
</rdf:Description>
@@ -799,7 +819,9 @@
is not shown here.</p>
</section>
- <!-- language attribute -->
+
+<!-- language attribute -->
+
<section id="section-Syntax-languages" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-Syntax-languages"><span class="secno">2.7 </span>Languages: <code>xml:lang</code></h3>
@@ -814,7 +836,7 @@
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 <code>xml:lang=""</code> form
+ property attribute values. The <code>xml:lang=""</code> form
indicates the absence of a language identifier.</p>
<p>Some examples of marking content languages for RDF properties are shown in
@@ -823,35 +845,37 @@
<div class="example"><div class="example-title"><span>Example 8</span></div><pre class="example" id="example8"><strong>Complete example of <code>xml:lang</code>
(<a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example08.rdf">example08.rdf</a>, output <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example08.nt">example08.nt</a>)</strong>
-<?xml 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/">
-
- <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
+<?xml 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/">
+
+ <rdf:Description 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 1.1 XML Syntax</dc:title>
- <dc:title xml:lang="en-US">RDF 1.1 XML Syntax</dc:title>
+ <dc:title xml:lang="en">RDF 1.1 XML Syntax</dc:title>
+ <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:Description 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 Tree</dc:title>
+ <dc:title xml:lang="en">The Tree</dc:title>
</rdf:Description>
</rdf:RDF></pre></div>
</section>
- <!-- XML Literal -->
+
+<!-- XML Literal -->
+
<section id="section-Syntax-XML-literals" class="informative" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
- <h3 aria-level="2" role="heading" id="h3_section-Syntax-XML-literals"><span class="secno">2.8 </span>XML Literals: <code>rdf:parseType="Literal"</code></h3><p><em>This section is non-normative.</em></p>
+ <h3 aria-level="2" role="heading" id="h3_section-Syntax-XML-literals"><span class="secno">2.8 </span>XML Literals: <code>rdf:parseType="Literal"</code></h3><p><em>This section is non-normative.</em></p>
<p>RDF allows XML literals [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
- <code>rdf:parseType="Literal"</code> attribute on the containing
+ <code>rdf:parseType="Literal"</code> attribute on the containing
property element.
</p>
@@ -866,18 +890,18 @@
content beginning <code>a:Box</code>.
</p>
-<div class="example"><div class="example-title"><span>Example 9</span></div><pre class="example" id="example9"><strong>Complete example of <code>rdf:parseType="Literal"</code>
+<div class="example"><div class="example-title"><span>Example 9</span></div><pre class="example" id="example9"><strong>Complete example of <code>rdf:parseType="Literal"</code>
(<a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example09.rdf">example09.rdf</a>, output <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example09.nt">example09.nt</a>)</strong>
-<?xml 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/">
-
- <rdf:Description rdf:about="http://example.org/item01">
- <ex:prop rdf:parseType="Literal" xmlns:a="http://example.org/a#">
- <a:Box required="true">
- <a:widget size="10" />
- <a:grommit id="23" />
+<?xml 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/">
+
+ <rdf:Description rdf:about="http://example.org/item01">
+ <ex:prop rdf:parseType="Literal" xmlns:a="http://example.org/a#">
+ <a:Box required="true">
+ <a:widget size="10" />
+ <a:grommit id="23" />
</a:Box>
</ex:prop>
</rdf:Description>
@@ -886,7 +910,9 @@
</section>
- <!-- datatyped literals -->
+
+<!-- datatyped literals -->
+
<section id="section-Syntax-datatyped-literals" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-Syntax-datatyped-literals"><span class="secno">2.9 </span>Typed Literals: <code>rdf:datatype</code></h3>
@@ -896,7 +922,7 @@
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
- <code>rdf:datatype="</code><em>datatypeURI</em><code>"</code>
+ <code>rdf:datatype="</code><em>datatypeURI</em><code>"</code>
attribute on the property element. Any
IRI can be used in the attribute.
</p>
@@ -911,7 +937,7 @@
<code>http://example.org/stuff/1.0/size</code> (from
<code>ex:size</code>) and the object node with the
typed literal
- ("123", <code>http://www.w3.org/2001/XMLSchema#int</code>)
+ ("123", <code>http://www.w3.org/2001/XMLSchema#int</code>)
to be interpreted as an
XML Schema [<cite><a class="bibref" href="#bib-XMLSCHEMA-2">XMLSCHEMA-2</a></cite>] datatype <code>int</code>.
</p>
@@ -919,19 +945,21 @@
<div class="example"><div class="example-title"><span>Example 10</span></div><pre class="example" id="example10"><strong>Complete example of <code>rdf:datatype</code>
(<a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example10.rdf">example10.rdf</a>, output <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example10.nt">example10.nt</a>)</strong>
-<?xml 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/">
-
- <rdf:Description rdf:about="http://example.org/item01">
- <ex:size rdf:datatype="http://www.w3.org/2001/XMLSchema#int">123</ex:size>
+<?xml 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/">
+
+ <rdf:Description rdf:about="http://example.org/item01">
+ <ex:size rdf:datatype="http://www.w3.org/2001/XMLSchema#int">123</ex:size>
</rdf:Description>
</rdf:RDF></pre></div>
</section>
- <!-- blank nodes -->
+
+<!-- blank nodes -->
+
<section id="section-Syntax-blank-nodes" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-Syntax-blank-nodes"><span class="secno">2.10 </span>Identifying Blank Nodes: <code>rdf:nodeID</code></h3>
@@ -946,11 +974,11 @@
<a href="http://www.w3.org/TR/xml-infoset/#infoitem.document">document information item</a>.
A blank node identifier is used
on a node element to replace
- <code>rdf:about="</code><em>IRI</em><code>"</code>
+ <code>rdf:about="</code><em>IRI</em><code>"</code>
or on a property element to replace
- <code>rdf:resource="</code><em>IRI</em><code>"</code>
-
- with <code>rdf:nodeID="</code><em>blank node identifier</em><code>"</code>
+ <code>rdf:resource="</code><em>IRI</em><code>"</code>
+
+ with <code>rdf:nodeID="</code><em>blank node identifier</em><code>"</code>
in both cases.</p>
<p>Taking <a href="#example7">Example 7</a> and explicitly giving
@@ -963,34 +991,36 @@
<div class="example"><div class="example-title"><span>Example 11</span></div><pre class="example" id="example11"><strong>Complete RDF/XML description of graph using <code>rdf:nodeID</code> identifying the blank node
(<a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example11.rdf">example11.rdf</a>, output <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example11.nt">example11.nt</a>)</strong>
-<?xml 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/">
-
- <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar"
- dc:title="RDF 1.1 XML Syntax">
- <ex:editor rdf:nodeID="abc"/>
+<?xml 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/">
+
+ <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar"
+ dc:title="RDF 1.1 XML Syntax">
+ <ex:editor rdf:nodeID="abc"/>
</rdf:Description>
- <rdf:Description rdf:nodeID="abc" ex:fullName="Dave Beckett">
- <ex:homePage rdf:resource="http://purl.org/net/dajobe/"/>
+ <rdf:Description rdf:nodeID="abc" ex:fullName="Dave Beckett">
+ <ex:homePage rdf:resource="http://purl.org/net/dajobe/"/>
</rdf:Description>
</rdf:RDF></pre></div>
</section>
- <!-- parsetype resource -->
+
+<!-- parsetype resource -->
+
<section id="section-Syntax-parsetype-resource" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
- <h3 aria-level="2" role="heading" id="h3_section-Syntax-parsetype-resource"><span class="secno">2.11 </span>Omitting Blank Nodes: <code>rdf:parseType="Resource"</code></h3>
+ <h3 aria-level="2" role="heading" id="h3_section-Syntax-parsetype-resource"><span class="secno">2.11 </span>Omitting Blank Nodes: <code>rdf:parseType="Resource"</code></h3>
<p>Blank nodes (not IRI nodes) in RDF graphs can be written
in a form that allows the
<code><rdf:Description></code>
<code></rdf:Description></code> pair to be omitted.
The omission is done by putting an
- <code>rdf:parseType="Resource"</code>
+ <code>rdf:parseType="Resource"</code>
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.
@@ -1004,25 +1034,27 @@
could be alternatively done in this fashion to give
the form shown in <a href="#example12">Example 12</a>:</p>
-<div class="example"><div class="example-title"><span>Example 12</span></div><pre class="example" id="example12"><strong>Complete example using <code>rdf:parseType="Resource"</code>
+<div class="example"><div class="example-title"><span>Example 12</span></div><pre class="example" id="example12"><strong>Complete example using <code>rdf:parseType="Resource"</code>
(<a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example12.rdf">example12.rdf</a>, output: <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example12.nt">example12.nt</a>)</strong>
-<?xml 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/">
- <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar"
- dc:title="RDF 1.1 XML Syntax">
- <ex:editor rdf:parseType="Resource">
+<?xml 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/">
+ <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar"
+ dc:title="RDF 1.1 XML Syntax">
+ <ex:editor rdf:parseType="Resource">
<ex:fullName>Dave Beckett</ex:fullName>
- <ex:homePage rdf:resource="http://purl.org/net/dajobe/"/>
+ <ex:homePage rdf:resource="http://purl.org/net/dajobe/"/>
</ex:editor>
</rdf:Description>
</rdf:RDF></pre></div>
</section>
- <!-- attributes on property elements -->
+
+<!-- attributes on property elements -->
+
<section id="section-Syntax-property-attributes-on-property-element" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-Syntax-property-attributes-on-property-element"><span class="secno">2.12 </span>Omitting Nodes: Property Attributes on an empty Property Element</h3>
@@ -1054,14 +1086,14 @@
<div class="example"><div class="example-title"><span>Example 13</span></div><pre class="example" id="example13"><strong>Complete example of property attributes on an empty property element
(<a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example13.rdf">example13.rdf</a>, output <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example13.nt">example13.nt</a>)</strong>
-<?xml 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/">
-
- <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar"
- dc:title="RDF 1.1 XML Syntax">
- <ex:editor ex:fullName="Dave Beckett" />
+<?xml 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/">
+
+ <rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar"
+ dc:title="RDF 1.1 XML Syntax">
+ <ex:editor ex:fullName="Dave Beckett" />
<!-- Note the ex:homePage property has been ignored for this example -->
</rdf:Description>
@@ -1069,7 +1101,9 @@
</section>
- <!-- typed nodes -->
+
+<!-- typed nodes -->
+
<section id="section-Syntax-typed-nodes" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-Syntax-typed-nodes"><span class="secno">2.13 </span>Typed Node Elements</h3>
@@ -1099,13 +1133,13 @@
<div class="example"><div class="example-title"><span>Example 14</span></div><pre class="example" id="example14"><strong>Complete example with <code>rdf:type</code>
(<a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example14.rdf">example14.rdf</a>, output <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example14.nt">example14.nt</a>)</strong>
-<?xml 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/">
-
- <rdf:Description rdf:about="http://example.org/thing">
- <rdf:type rdf:resource="http://example.org/stuff/1.0/Document"/>
+<?xml 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/">
+
+ <rdf:Description rdf:about="http://example.org/thing">
+ <rdf:type rdf:resource="http://example.org/stuff/1.0/Document"/>
<dc:title>A marvelous thing</dc:title>
</rdf:Description>
</rdf:RDF></pre></div>
@@ -1113,12 +1147,12 @@
<div class="example"><div class="example-title"><span>Example 15</span></div><pre class="example" id="example15"><strong>Complete example using a typed node element to replace an <code>rdf:type</code>
(<a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example15.rdf">example15.rdf</a>, output <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example15.nt">example15.nt</a>)</strong>
-<?xml 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/">
-
- <ex:Document rdf:about="http://example.org/thing">
+<?xml 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/">
+
+ <ex:Document rdf:about="http://example.org/thing">
<dc:title>A marvelous thing</dc:title>
</ex:Document>
@@ -1126,7 +1160,9 @@
</section>
- <!-- xml base -->
+
+<!-- xml base -->
+
<section id="section-Syntax-ID-xml-base" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-Syntax-ID-xml-base"><span class="secno">2.14 </span>Abbreviating URIs: <code>rdf:ID</code> and <code>xml:base</code></h3>
@@ -1142,8 +1178,8 @@
element, that has another meaning) can be used instead of
<code>rdf:about</code> and gives a relative IRI equivalent to <code>#</code>
concatenated with the <code>rdf:ID</code> attribute value. So for
- example if <code>rdf:ID="name"</code>, that would be equivalent
- to <code>rdf:about="#name"</code>. <code>rdf:ID</code> provides an additional
+ example if <code>rdf:ID="name"</code>, that would be equivalent
+ to <code>rdf:about="#name"</code>. <code>rdf:ID</code> provides an additional
check since the same <em>name</em> can only appear once in the
scope of an <code>xml:base</code> value (or document, if none is given),
so is useful for defining a set of distinct,
@@ -1166,20 +1202,22 @@
<div class="example"><div class="example-title"><span>Example 16</span></div><pre class="example" id="example16"><strong>Complete example using <code>rdf:ID</code> and <code>xml:base</code> for shortening URIs
(<a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example16.rdf">example16.rdf</a>, output <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example16.nt">example16.nt</a>)</strong>
-<?xml 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/">
-
- <rdf:Description rdf:ID="snack">
- <ex:prop rdf:resource="fruit/apple"/>
+<?xml 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/">
+
+ <rdf:Description rdf:ID="snack">
+ <ex:prop rdf:resource="fruit/apple"/>
</rdf:Description>
</rdf:RDF></pre></div>
</section>
- <!-- list elements -->
+
+<!-- list elements -->
+
<section id="section-Syntax-list-elements" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-Syntax-list-elements"><span class="secno">2.15 </span>Container Membership Property Elements: <code>rdf:li</code> and <code>rdf:_</code><em>n</em></h3>
@@ -1205,13 +1243,13 @@
<div class="example"><div class="example-title"><span>Example 17</span></div><pre class="example" id="example17"><strong>Complex example using RDF list properties
(<a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example17.rdf">example17.rdf</a>, output <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example17.nt">example17.nt</a>)</strong>
-<?xml version="1.0"?>
-<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
-
- <rdf:Seq rdf:about="http://example.org/favourite-fruit">
- <rdf:_1 rdf:resource="http://example.org/banana"/>
- <rdf:_2 rdf:resource="http://example.org/apple"/>
- <rdf:_3 rdf:resource="http://example.org/pear"/>
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+
+ <rdf:Seq rdf:about="http://example.org/favourite-fruit">
+ <rdf:_1 rdf:resource="http://example.org/banana"/>
+ <rdf:_2 rdf:resource="http://example.org/apple"/>
+ <rdf:_3 rdf:resource="http://example.org/pear"/>
</rdf:Seq>
</rdf:RDF></pre></div>
@@ -1219,24 +1257,26 @@
<div class="example"><div class="example-title"><span>Example 18</span></div><pre class="example" id="example18"><strong>Complete example using <code>rdf:li</code> property element for list properties
(<a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example18.rdf">example18.rdf</a>, output <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example18.nt">example18.nt</a>)</strong>
-<?xml version="1.0"?>
-<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
-
- <rdf:Seq rdf:about="http://example.org/favourite-fruit">
- <rdf:li rdf:resource="http://example.org/banana"/>
- <rdf:li rdf:resource="http://example.org/apple"/>
- <rdf:li rdf:resource="http://example.org/pear"/>
+<?xml version="1.0"?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+
+ <rdf:Seq rdf:about="http://example.org/favourite-fruit">
+ <rdf:li rdf:resource="http://example.org/banana"/>
+ <rdf:li rdf:resource="http://example.org/apple"/>
+ <rdf:li rdf:resource="http://example.org/pear"/>
</rdf:Seq>
</rdf:RDF></pre></div>
</section>
- <!-- parsetype collection -->
+
+<!-- parsetype collection -->
+
<section id="section-Syntax-parsetype-Collection" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
- <h3 aria-level="2" role="heading" id="h3_section-Syntax-parsetype-Collection"><span class="secno">2.16 </span>Collections: <code>rdf:parseType="Collection"</code></h3>
-
- <p>RDF/XML allows an <code>rdf:parseType="Collection"</code>
+ <h3 aria-level="2" role="heading" id="h3_section-Syntax-parsetype-Collection"><span class="secno">2.16 </span>Collections: <code>rdf:parseType="Collection"</code></h3>
+
+ <p>RDF/XML allows an <code>rdf:parseType="Collection"</code>
attribute on a property element to let it contain multiple node
elements. These contained node elements give the set of subject
@@ -1254,18 +1294,18 @@
nodes elements at the end of the <code>ex:hasFruit</code>
property element using this form.</p>
-<div class="example"><div class="example-title"><span>Example 19</span></div><pre class="example" id="example19"><strong>Complete example of a RDF collection of nodes using <code>rdf:parseType="Collection"</code>
+<div class="example"><div class="example-title"><span>Example 19</span></div><pre class="example" id="example19"><strong>Complete example of a RDF collection of nodes using <code>rdf:parseType="Collection"</code>
(<a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example19.rdf">example19.rdf</a>, output <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example19.nt">example19.nt</a>)</strong>
-<?xml 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/">
-
- <rdf:Description rdf:about="http://example.org/basket">
- <ex:hasFruit rdf:parseType="Collection">
- <rdf:Description rdf:about="http://example.org/banana"/>
- <rdf:Description rdf:about="http://example.org/apple"/>
- <rdf:Description rdf:about="http://example.org/pear"/>
+<?xml 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/">
+
+ <rdf:Description rdf:about="http://example.org/basket">
+ <ex:hasFruit rdf:parseType="Collection">
+ <rdf:Description rdf:about="http://example.org/banana"/>
+ <rdf:Description rdf:about="http://example.org/apple"/>
+ <rdf:Description rdf:about="http://example.org/pear"/>
</ex:hasFruit>
</rdf:Description>
@@ -1273,7 +1313,9 @@
</section>
- <!-- reification -->
+
+<!-- reification -->
+
<section id="section-Syntax-reifying" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-Syntax-reifying"><span class="secno">2.17 </span>Reifying Statements: <code>rdf:ID</code></h3>
@@ -1287,7 +1329,7 @@
<code>#</code> concatenated with the <code>rdf:ID</code> attribute
value, resolved against the in-scope base URI. So for example if
- <code>rdf:ID="triple"</code>, that would be equivalent to the IRI
+ <code>rdf:ID="triple"</code>, that would be equivalent to the IRI
formed from relative IRI <code>#triple</code> against the base URI.
Each (<code>rdf:ID</code> attribute value, base URI)
pair has to be unique in an RDF/XML document,
@@ -1302,12 +1344,12 @@
<div class="example"><div class="example-title"><span>Example 20</span></div><pre class="example" id="example20"><strong>Complete example of <code>rdf:ID</code> reifying a property element
(<a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example20.rdf">example20.rdf</a>, output <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/example20.nt">example20.nt</a>)</strong>
-<?xml 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/">
- <rdf:Description rdf:about="http://example.org/">
- <ex:prop rdf:ID="triple1">blah</ex:prop>
+<?xml 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/">
+ <rdf:Description rdf:about="http://example.org/">
+ <ex:prop rdf:ID="triple1">blah</ex:prop>
</rdf:Description>
</rdf:RDF></pre></div>
@@ -1317,14 +1359,18 @@
</section>
- <!-- SECOND PART : TERMINILOGY -->
+
+<!-- SECOND PART : TERMINILOGY -->
+
<section id="section-Terminology" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
- <!--OddPage--><h2 aria-level="1" role="heading" id="h2_section-Terminology"><span class="secno">3. </span>Terminology</h2>
-
- <p>The key words "<em class="rfc2119" title="MUST">MUST</em>", "<em class="rfc2119" title="MUST NOT">MUST NOT</em>", "<em class="rfc2119" title="REQUIRED">REQUIRED</em>", "<em class="rfc2119" title="SHALL">SHALL</em>", "<em class="rfc2119" title="SHALL
+
+<!--OddPage-->
+<h2 aria-level="1" role="heading" id="h2_section-Terminology"><span class="secno">3. </span>Terminology</h2>
+
+ <p>The key words "<em class="rfc2119" title="MUST">MUST</em>", "<em class="rfc2119" title="MUST NOT">MUST NOT</em>", "<em class="rfc2119" title="REQUIRED">REQUIRED</em>", "<em class="rfc2119" title="SHALL">SHALL</em>", "<em class="rfc2119" title="SHALL
NOT">SHALL
- NOT</em>", "<em class="rfc2119" title="SHOULD">SHOULD</em>", "<em class="rfc2119" title="SHOULD NOT">SHOULD NOT</em>", "<em class="rfc2119" title="RECOMMENDED">RECOMMENDED</em>", "<em class="rfc2119" title="MAY">MAY</em>", and "<em class="rfc2119" title="OPTIONAL">OPTIONAL</em>" in
+ NOT</em>", "<em class="rfc2119" title="SHOULD">SHOULD</em>", "<em class="rfc2119" title="SHOULD NOT">SHOULD NOT</em>", "<em class="rfc2119" title="RECOMMENDED">RECOMMENDED</em>", "<em class="rfc2119" title="MAY">MAY</em>", and "<em class="rfc2119" title="OPTIONAL">OPTIONAL</em>" in
this document are to be interpreted as described in
RFC 2119 [<cite><a class="bibref" href="#bib-RFC2119">RFC2119</a></cite>].</p>
@@ -1336,10 +1382,14 @@
</p></section>
- <!-- THIRD PART : MIME Type -->
+
+<!-- THIRD PART : MIME Type -->
+
<section id="section-MIME-Type" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
- <!--OddPage--><h2 aria-level="1" role="heading" id="h2_section-MIME-Type"><span class="secno">4. </span>RDF MIME Type, File Extension and Macintosh File Type</h2>
+
+<!--OddPage-->
+<h2 aria-level="1" role="heading" id="h2_section-MIME-Type"><span class="secno">4. </span>RDF MIME Type, File Extension and Macintosh File Type</h2>
<p>The Internet media type / MIME type for RDF/XML is
<code>application/rdf+xml</code> —
@@ -1352,20 +1402,26 @@
</p></div>
<p>It is recommended that RDF/XML files have the extension
- <code>".rdf"</code> (all lowercase) on all platforms.</p>
+ <code>".rdf"</code> (all lowercase) on all platforms.</p>
<p>It is recommended that RDF/XML files stored on Macintosh HFS file
- systems be given a file type of <code>"rdf "</code>
+ systems be given a file type of <code>"rdf "</code>
(all lowercase, with a space character as the fourth letter).</p>
</section>
- <!-- FOURTH PART : Global Issues -->
+
+<!-- FOURTH PART : Global Issues -->
+
<section id="section-Global" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
- <!--OddPage--><h2 aria-level="1" role="heading" id="h2_section-Global"><span class="secno">5. </span>Global Issues</h2>
-
- <!-- namespace -->
+
+<!--OddPage-->
+<h2 aria-level="1" role="heading" id="h2_section-Global"><span class="secno">5. </span>Global Issues</h2>
+
+
+<!-- namespace -->
+
<section id="section-Namespace" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-Namespace"><span class="secno">5.1 </span>The RDF Namespace and Vocabulary</h3>
@@ -1395,7 +1451,7 @@
<dt>Property names</dt>
<dd>
<p>
- <code>subject predicate object type value first rest _</code><em>n</em><br>
+ <code>subject predicate object type value first rest _</code><em>n</em><br />
where <em>n</em> is a decimal integer greater than zero with no leading zeros.
</p>
</dd>
@@ -1427,7 +1483,9 @@
</section>
- <!-- identifiers -->
+
+<!-- identifiers -->
+
<section id="section-Identifiers" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-Identifiers"><span class="secno">5.2 </span>Identifiers</h3>
@@ -1470,7 +1528,7 @@
are transformed into
IRIs
by appending the attribute value to the result of appending
- "#" to the in-scope base URI which is defined in
+ "#" to the in-scope base URI which is defined in
<a href="#section-baseURIs">Section 5.3 Resolving IRIs</a></p>
</dd>
@@ -1520,7 +1578,9 @@
</section>
- <!-- uri resolution -->
+
+<!-- uri resolution -->
+
<section id="section-baseURIs" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-baseURIs"><span class="secno">5.3 </span>Resolving IRIs</h3>
@@ -1535,7 +1595,7 @@
according to the algorithm specified in [<cite><a class="bibref" href="#bib-XMLBASE">XMLBASE</a></cite>] (and RFC 2396).
These specifications do not specify an algorithm for resolving a
fragment identifier alone, such as <code>#foo</code>, or the empty
- string <code>""</code> into an
+ string <code>""</code> into an
IRI. In RDF/XML, a fragment identifier
is transformed into an IRI
by appending the fragment identifier to the in-scope base URI. The
@@ -1544,24 +1604,18 @@
</p>
<div class="note"><div class="note-title" aria-level="3" role="heading" id="h_note_2"><span>Note</span></div><p class=""><strong>Test:</strong>
- indicated by: <br>
+ indicated by: <br />
<a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test001.rdf">test001.rdf</a> and
<a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test001.nt">test001.nt</a>
- <br>
+ <br />
<a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test004.rdf">test004.rdf</a> and
<a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test004.nt">test004.nt</a>
- <br>
+ <br />
<a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test008.rdf">test008.rdf</a> and
<a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test008.nt">test008.nt</a>
- <br>
- <a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test013.rdf">test013.rdf</a> and
- <a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test013.nt">test013.nt</a>
- <br>
- <a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test016.rdf">test016.rdf</a> and
- <a href="http://www.w3.org/2013/RDFXMLTests/xmlbase/test016.nt">test016.nt</a>
</p></div>
- <p>An empty same document reference ""
+ <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) [<cite><a class="bibref" href="#bib-RFC3986">RFC3986</a></cite>].
@@ -1587,7 +1641,9 @@
</section>
- <!-- constraints -->
+
+<!-- constraints -->
+
<section id="section-constraints" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-constraints"><span class="secno">5.4 </span>Constraints</h3>
@@ -1615,7 +1671,9 @@
</section>
- <!-- conformance -->
+
+<!-- conformance -->
+
<section id="section-conformance" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-conformance"><span class="secno">5.5 </span>Conformance</h3>
@@ -1625,12 +1683,12 @@
<a href="http://www.w3.org/TR/rdf-concepts/#dfn-rdf-graph">RDF Graph</a>
into a concrete syntax.</dd>
- <dt>Definition:<br></dt>
+ <dt>Definition:<br /></dt>
<dd>An <dfn id="dfn-rdf-xml-document">RDF/XML Document</dfn> is an
<a href="#dfn-rdf-document" class="termref">RDF Document</a> written in the
XML syntax for RDF as defined in this document.</dd>
- <dt>Conformance:<br></dt>
+ <dt>Conformance:<br /></dt>
<dd>An <a href="#dfn-rdf-xml-document" class="termref">RDF/XML Document</a> is a
<dfn id="dfn-conforming-document">conforming RDF/XML document</dfn>
if it adheres to the specification defined in this document.</dd>
@@ -1640,16 +1698,20 @@
</section>
- <!-- FIFTH PART : Data Model -->
+
+<!-- FIFTH PART : Data Model -->
+
<section id="section-Data-Model" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
- <!--OddPage--><h2 aria-level="1" role="heading" id="h2_section-Data-Model"><span class="secno">6. </span>Syntax Data Model</h2>
+
+<!--OddPage-->
+<h2 aria-level="1" role="heading" id="h2_section-Data-Model"><span class="secno">6. </span>Syntax Data Model</h2>
<div>
<p>This document specifies the syntax of RDF/XML as a grammar on an
alphabet of symbols. The symbols are called <em>events</em> in the
- style of the XPATH
+ style of the XPATH
<a href="http://www.w3.org/TR/xpath#infoset">Information Set Mapping</a>.
A sequence of events is normally derived from an XML document, in
which case they are in document order as defined below in
@@ -1759,7 +1821,9 @@
</p>
</div>
- <!-- events -->
+
+<!-- events -->
+
<section id="section-Nodes" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-Nodes"><span class="secno">6.1 </span>Events</h3>
@@ -1774,7 +1838,9 @@
and most have the <em>string-value</em> accessor that may be a static value
or computed.</p>
- <!-- root event -->
+
+<!-- root event -->
+
<section id="section-root-node" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_section-root-node"><span class="secno">6.1.1 </span>Root Event</h4>
@@ -1794,7 +1860,9 @@
</dl>
</section>
- <!-- root event -->
+
+<!-- root event -->
+
<section id="section-element-node" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_section-element-node"><span class="secno">6.1.2 </span>Element Event</h4>
@@ -1827,8 +1895,8 @@
<p>If this set contains an attribute information item <code>xml:lang</code> (
[namespace name] property with the value
- "http://www.w3.org/XML/1998/namespace" and
- [local name] property value "lang")
+ "http://www.w3.org/XML/1998/namespace" and
+ [local name] property value "lang")
it is removed from the set of attribute information items and the
<a href="#eventterm-element-language" class="termref"><span class="arrow">·</span>language<span class="arrow">·</span></a> accessor is set to the
[normalized-value] property of the attribute information item.</p>
@@ -1859,10 +1927,10 @@
<dt id="eventterm-element-URI-string-value">URI-string-value</dt>
<dd>
- <p>The value is the concatenation of the following in this order "<",
+ <p>The value is the concatenation of the following in this order "<",
the escaped value of the
<a href="#eventterm-element-URI" class="termref"><span class="arrow">·</span>URI<span class="arrow">·</span></a>
- accessor and ">".</p>
+ accessor and ">".</p>
<p>The escaping of the
<a href="#eventterm-element-URI" class="termref"><span class="arrow">·</span>URI<span class="arrow">·</span></a>
@@ -1895,7 +1963,9 @@
</section>
- <!-- end element event -->
+
+<!-- end element event -->
+
<section id="section-end-element-node" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_section-end-element-node"><span class="secno">6.1.3 </span>End Element Event</h4>
@@ -1904,7 +1974,9 @@
</section>
- <!-- attribute event -->
+
+<!-- attribute event -->
+
<section id="section-attribute-node" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_section-attribute-node"><span class="secno">6.1.4 </span>Attribute Event</h4>
@@ -1957,10 +2029,10 @@
<dt id="eventterm-attribute-URI-string-value">URI-string-value</dt>
<dd>
- <p>The value is the concatenation of the following in this order "<",
+ <p>The value is the concatenation of the following in this order "<",
the escaped value of the
<a href="#eventterm-attribute-URI" class="termref"><span class="arrow">·</span>URI<span class="arrow">·</span></a>
- accessor and ">".</p>
+ accessor and ">".</p>
<p>The escaping of the
<a href="#eventterm-attribute-URI" class="termref"><span class="arrow">·</span>URI<span class="arrow">·</span></a>
@@ -1973,7 +2045,9 @@
</section>
- <!-- text event -->
+
+<!-- text event -->
+
<section id="section-text-node" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_section-text-node"><span class="secno">6.1.5 </span>Text Event</h4>
@@ -1992,7 +2066,9 @@
</section>
- <!-- uri reference event -->
+
+<!-- uri reference event -->
+
<section id="section-identifier-node" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_section-identifier-node"><span class="secno">6.1.6 </span>IRI Event</h4>
@@ -2004,8 +2080,8 @@
<dd>Takes a string value used as an IRI.</dd>
<dt id="eventterm-identifier-string-value">string-value</dt>
- <dd><p>The value is the concatenation of "<", the escaped
- value of the <a href="#eventterm-identifier-identifier" class="termref"><span class="arrow">·</span>identifier<span class="arrow">·</span></a> accessor and ">"</p>
+ <dd><p>The value is the concatenation of "<", the escaped
+ value of the <a href="#eventterm-identifier-identifier" class="termref"><span class="arrow">·</span>identifier<span class="arrow">·</span></a> accessor and ">"</p>
<p>The escaping of the <a href="#eventterm-identifier-identifier" class="termref"><span class="arrow">·</span>identifier<span class="arrow">·</span></a> accessor value
uses the N-Triples escapes for IRIs [<cite><a class="bibref" href="#bib-N-TRIPLES">N-TRIPLES</a></cite>]. </p>
@@ -2023,7 +2099,9 @@
</section>
- <!-- blank node identifier event -->
+
+<!-- blank node identifier event -->
+
<section id="section-blank-nodeid-event" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_section-blank-nodeid-event"><span class="secno">6.1.7 </span>Blank Node Identifier Event</h4>
@@ -2039,7 +2117,7 @@
<dt id="eventterm-blanknodeid-string-value">string-value</dt>
<dd>The value is a function of the value of the
<a href="#eventterm-blanknodeid-identifier" class="termref"><span class="arrow">·</span>identifier<span class="arrow">·</span></a> accessor.
- The value begins with "_:" and the entire value <em class="rfc2119" title="MUST">MUST</em> match the
+ The value begins with "_:" and the entire value <em class="rfc2119" title="MUST">MUST</em> match the
N-Triples
<a href="http://www.w3.org/TR/n-triples/#grammar-production-BLANK_NODE_LABEL">BLANK_NODE_LABELD</a> production.
The function <em class="rfc2119" title="MUST">MUST</em> preserve distinct blank node identity as
@@ -2057,7 +2135,9 @@
</section>
- <!-- plain literal event -->
+
+<!-- plain literal event -->
+
<section id="section-literal-node" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_section-literal-node"><span class="secno">6.1.8 </span>Plain Literal Event</h4>
@@ -2082,21 +2162,21 @@
<dd><p>The value is calculated from the other accessors as follows.</p>
<p>If <a href="#eventterm-literal-literal-language" class="termref"><span class="arrow">·</span>literal-language<span class="arrow">·</span></a> is the empty string
- then the value is the concatenation of """ (1 double quote),
+ then the value is the concatenation of """ (1 double quote),
the escaped value of the
<a href="#eventterm-literal-literal-value" class="termref"><span class="arrow">·</span>literal-value<span class="arrow">·</span></a> accessor
- and """ (1 double quote).</p>
-
- <p>Otherwise the value is the concatenation of """ (1 double quote),
+ and """ (1 double quote).</p>
+
+ <p>Otherwise the value is the concatenation of """ (1 double quote),
the escaped value of the
<a href="#eventterm-literal-literal-value" class="termref"><span class="arrow">·</span>literal-value<span class="arrow">·</span></a> accessor
- ""@" (1 double quote and a '@'),
+ ""@" (1 double quote and a '@'),
and the value of the
<a href="#eventterm-literal-literal-language" class="termref"><span class="arrow">·</span>literal-language<span class="arrow">·</span></a> accessor.</p>
<p>The escaping of the <a href="#eventterm-literal-literal-value" class="termref"><span class="arrow">·</span>literal-value<span class="arrow">·</span></a> accessor value uses the N-Triples
escapes for strings as described in [<cite><a class="bibref" href="#bib-N-TRIPLES">N-TRIPLES</a></cite>]
- for escaping certain characters such as ". </p>
+ for escaping certain characters such as ". </p>
</dd>
</dl>
@@ -2113,7 +2193,9 @@
</section>
- <!-- typed literal event -->
+
+<!-- typed literal event -->
+
<section id="section-typed-literal-node" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_section-typed-literal-node"><span class="secno">6.1.9 </span>Typed Literal Event</h4>
@@ -2128,19 +2210,19 @@
<dt id="eventterm-typedliteral-string-value">string-value</dt>
<dd><p>The value is the concatenation of the following in this order
- """ (1 double quote),
+ """ (1 double quote),
the escaped value of the
<a href="#eventterm-typedliteral-literal-value" class="termref"><span class="arrow">·</span>literal-value<span class="arrow">·</span></a> accessor,
- """ (1 double quote), "^^<",
+ """ (1 double quote), "^^<",
the escaped value of the
<a href="#eventterm-typedliteral-literal-datatype" class="termref"><span class="arrow">·</span>literal-datatype<span class="arrow">·</span></a> accessor
- and ">".
+ and ">".
</p>
<p>The escaping of the <a href="#eventterm-typedliteral-literal-value" class="termref"><span class="arrow">·</span>literal-value<span class="arrow">·</span></a> accessor value
uses the N-Triples
escapes for strings [<cite><a class="bibref" href="#bib-N-TRIPLES">N-TRIPLES</a></cite>]
- for escaping certain characters such as ".
+ for escaping certain characters such as ".
The escaping of the <a href="#eventterm-typedliteral-literal-datatype" class="termref"><span class="arrow">·</span>literal-datatype<span class="arrow">·</span></a> accessor value
must use the N-Triples escapes for IRI [<cite><a class="bibref" href="#bib-N-TRIPLES">N-TRIPLES</a></cite>].</p>
@@ -2171,7 +2253,9 @@
</section>
- <!-- infoset mapping -->
+
+<!-- infoset mapping -->
+
<section id="section-Infoset-Mapping" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 id="section-Infoset-Conformance" aria-level="2" role="heading"><span class="secno">6.2 </span>Information Set Mapping</h3>
@@ -2192,7 +2276,9 @@
</section>
- <!-- grammar notation -->
+
+<!-- grammar notation -->
+
<section id="section-Infoset-Grammar-Notation" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 id="section-Notation-Forms" aria-level="2" role="heading"><span class="secno">6.3 </span>Grammar Notation</h3>
@@ -2232,7 +2318,9 @@
for event matching and actions.</p>
- <!-- general grammar notation -->
+
+<!-- general grammar notation -->
+
<section id="section-Infoset-Grammar-General" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_section-Infoset-Grammar-General"><span class="secno">6.3.1 </span>Grammar General Notation</h4>
@@ -2251,7 +2339,7 @@
<td>A URI as defined in <a href="#section-Namespace">section 5.1</a>.</td>
</tr>
<tr>
- <td>"ABC"</td>
+ <td>"ABC"</td>
<td>A string of characters A, B, C in order.</td>
</tr>
@@ -2259,7 +2347,9 @@
</section>
- <!-- grammar event matching notation -->
+
+<!-- grammar event matching notation -->
+
<section id="section-Infoset-Grammar-Matching" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_section-Infoset-Grammar-Matching"><span class="secno">6.3.2 </span>Grammar Event Matching Notation</h4>
@@ -2317,16 +2407,16 @@
<td>One or more of preceding term.</td>
</tr>
<tr>
- <td>root(acc1 == value1,<br>
-
- acc2 == value2, ...)</td>
+ <td>root(acc1 == value1,<br />
+
+ acc2 == value2, ...)</td>
<td>Match a <a href="#section-root-node">Root Event</a> with accessors.
</td>
</tr>
<tr>
- <td>start-element(acc1 == value1,<br>
- acc2 == value2, ...)<br>
- <em>children</em><br>
+ <td>start-element(acc1 == value1,<br />
+ acc2 == value2, ...)<br />
+ <em>children</em><br />
end-element()</td>
<td>Match a sequence of
@@ -2336,8 +2426,8 @@
</td>
</tr>
<tr>
- <td>attribute(acc1 == value1,<br>
- acc2 == value2, ...)</td>
+ <td>attribute(acc1 == value1,<br />
+ acc2 == value2, ...)</td>
<td>Match an <a href="#section-attribute-node">Attribute Event</a>
with accessors.</td>
@@ -2350,7 +2440,9 @@
</section>
- <!-- grammar action notation -->
+
+<!-- grammar action notation -->
+
<section id="section-Infoset-Grammar-Action" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_section-Infoset-Grammar-Action"><span class="secno">6.3.3 </span>Grammar Action Notation</h4>
@@ -2399,8 +2491,8 @@
<td>Create a new <a href="#section-blank-nodeid-event">Blank Node Identifier Event</a>. See also section <a href="#section-Identifiers">5.2 Identifiers</a>.</td>
</tr>
<tr>
- <td>literal(literal-value := string,<br>
- literal-language := language, ...)</td>
+ <td>literal(literal-value := string,<br />
+ literal-language := language, ...)</td>
<td>Create a new <a href="#section-literal-node">Plain Literal Event</a>.</td>
</tr>
@@ -2413,12 +2505,18 @@
</section>
</section>
- <!-- SIXTH PART : RDF/XML grammar -->
+
+<!-- SIXTH PART : RDF/XML grammar -->
+
<section id="section-Infoset-Grammar" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
- <!--OddPage--><h2 aria-level="1" role="heading" id="h2_section-Infoset-Grammar"><span class="secno">7. </span>RDF/XML Grammar</h2>
+
+<!--OddPage-->
+<h2 aria-level="1" role="heading" id="h2_section-Infoset-Grammar"><span class="secno">7. </span>RDF/XML Grammar</h2>
- <!-- grammar summary -->
+
+<!-- grammar summary -->
+
<section id="section-grammar-summary" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-grammar-summary"><span class="secno">7.1 </span>Grammar summary</h3>
@@ -2454,8 +2552,8 @@
</tr>
<tr>
<td><a href="#RDF">7.2.9</a> <a href="#RDF">RDF</a></td> <td>start-element(<a href="#eventterm-element-URI">URI</a> == <code>rdf:RDF</code>,
- <a href="#eventterm-element-attributes">attributes</a> == set())<br>
- <a href="#nodeElementList">nodeElementList</a><br>
+ <a href="#eventterm-element-attributes">attributes</a> == set())<br />
+ <a href="#nodeElementList">nodeElementList</a><br />
end-element()</td>
</tr>
@@ -2464,10 +2562,10 @@
</tr>
<tr>
- <td><a href="#nodeElement">7.2.11</a> <a href="#nodeElement">nodeElement</a></td> <td>start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#nodeElementURIs">nodeElementURIs</a><br>
- <a href="#eventterm-element-attributes">attributes</a> == set((<a href="#idAttr">idAttr</a> | <a href="#nodeIdAttr">nodeIdAttr</a> | <a href="#aboutAttr">aboutAttr</a> )?, <a href="#propertyAttr">propertyAttr</a>*))<br>
-
- <a href="#propertyEltList">propertyEltList</a><br>
+ <td><a href="#nodeElement">7.2.11</a> <a href="#nodeElement">nodeElement</a></td> <td>start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#nodeElementURIs">nodeElementURIs</a><br />
+ <a href="#eventterm-element-attributes">attributes</a> == set((<a href="#idAttr">idAttr</a> | <a href="#nodeIdAttr">nodeIdAttr</a> | <a href="#aboutAttr">aboutAttr</a> )?, <a href="#propertyAttr">propertyAttr</a>*))<br />
+
+ <a href="#propertyEltList">propertyEltList</a><br />
end-element()</td>
</tr>
<tr>
@@ -2496,50 +2594,50 @@
<tr>
<td><a href="#resourcePropertyElt">7.2.15</a> <a href="#resourcePropertyElt">resourcePropertyElt</a></td> <td>start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#propertyElementURIs">propertyElementURIs</a> ),
- <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?))<br>
- <a href="#ws">ws</a>* <a href="#nodeElement">nodeElement</a> <a href="#ws">ws</a>*<br>
+ <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?))<br />
+ <a href="#ws">ws</a>* <a href="#nodeElement">nodeElement</a> <a href="#ws">ws</a>*<br />
end-element()</td>
</tr>
<tr>
<td><a href="#literalPropertyElt">7.2.16</a> <a href="#literalPropertyElt">literalPropertyElt</a></td> <td>start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#propertyElementURIs">propertyElementURIs</a> ),
- <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, <a href="#datatypeAttr">datatypeAttr</a>?))<br>
-
- <a href="#section-text-node">text()</a><br>
+ <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, <a href="#datatypeAttr">datatypeAttr</a>?))<br />
+
+ <a href="#section-text-node">text()</a><br />
end-element()</td>
</tr>
<tr>
<td><a href="#parseTypeLiteralPropertyElt">7.2.17</a> <a href="#parseTypeLiteralPropertyElt">parseTypeLiteralPropertyElt</a></td> <td>start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#propertyElementURIs">propertyElementURIs</a> ),
- <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, <a href="#parseLiteral">parseLiteral</a>))<br>
- <a href="#literal">literal</a><br>
+ <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, <a href="#parseLiteral">parseLiteral</a>))<br />
+ <a href="#literal">literal</a><br />
end-element()</td>
</tr>
<tr>
<td><a href="#parseTypeResourcePropertyElt">7.2.18</a> <a href="#parseTypeResourcePropertyElt">parseTypeResourcePropertyElt</a></td> <td>start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#propertyElementURIs">propertyElementURIs</a> ),
- <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, <a href="#parseResource">parseResource</a>))<br>
- <a href="#propertyEltList">propertyEltList</a><br>
+ <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, <a href="#parseResource">parseResource</a>))<br />
+ <a href="#propertyEltList">propertyEltList</a><br />
end-element()</td>
</tr>
<tr>
<td><a href="#parseTypeCollectionPropertyElt">7.2.19</a> <a href="#parseTypeCollectionPropertyElt">parseTypeCollectionPropertyElt</a></td> <td>start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#propertyElementURIs">propertyElementURIs</a> ),
- <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, <a href="#parseCollection">parseCollection</a>))<br>
- <a href="#nodeElementList">nodeElementList</a><br>
+ <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, <a href="#parseCollection">parseCollection</a>))<br />
+ <a href="#nodeElementList">nodeElementList</a><br />
end-element()</td>
</tr>
<tr>
<td><a href="#parseTypeOtherPropertyElt">7.2.20</a> <a href="#parseTypeOtherPropertyElt">parseTypeOtherPropertyElt</a></td> <td>start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#propertyElementURIs">propertyElementURIs</a> ),
- <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, <a href="#parseOther">parseOther</a>))<br>
- <a href="#propertyEltList">propertyEltList</a><br>
+ <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, <a href="#parseOther">parseOther</a>))<br />
+ <a href="#propertyEltList">propertyEltList</a><br />
end-element()</td>
</tr>
<tr>
<td><a href="#emptyPropertyElt">7.2.21</a> <a href="#emptyPropertyElt">emptyPropertyElt</a></td> <td>start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#propertyElementURIs">propertyElementURIs</a> ),
- <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, ( <a href="#resourceAttr">resourceAttr</a> | <a href="#nodeIdAttr">nodeIdAttr</a> | <a href="#datatypeAttr">datatypeAttr</a> )?, <a href="#propertyAttr">propertyAttr</a>*))<br>
+ <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, ( <a href="#resourceAttr">resourceAttr</a> | <a href="#nodeIdAttr">nodeIdAttr</a> | <a href="#datatypeAttr">datatypeAttr</a> )?, <a href="#propertyAttr">propertyAttr</a>*))<br />
end-element()</td>
</tr>
@@ -2575,22 +2673,22 @@
</tr>
<tr>
<td><a href="#parseLiteral">7.2.28</a> <a href="#parseLiteral">parseLiteral</a></td> <td>attribute(<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:parseType</code>,
- <a href="#eventterm-attribute-string-value">string-value</a> == "Literal")</td>
+ <a href="#eventterm-attribute-string-value">string-value</a> == "Literal")</td>
</tr>
<tr>
<td><a href="#parseResource">7.2.29</a> <a href="#parseResource">parseResource</a></td> <td>attribute(<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:parseType</code>,
- <a href="#eventterm-attribute-string-value">string-value</a> == "Resource")</td>
+ <a href="#eventterm-attribute-string-value">string-value</a> == "Resource")</td>
</tr>
<tr>
<td><a href="#parseCollection">7.2.30</a> <a href="#parseCollection">parseCollection</a></td> <td>attribute(<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:parseType</code>,
- <a href="#eventterm-attribute-string-value">string-value</a> == "Collection")</td>
+ <a href="#eventterm-attribute-string-value">string-value</a> == "Collection")</td>
</tr>
<tr>
<td><a href="#parseOther">7.2.31</a> <a href="#parseOther">parseOther</a></td> <td>attribute(<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:parseType</code>,
- <a href="#eventterm-attribute-string-value">string-value</a> == <a href="#anyString">anyString</a> - ("Resource" | "Literal" | "Collection") )</td>
+ <a href="#eventterm-attribute-string-value">string-value</a> == <a href="#anyString">anyString</a> - ("Resource" | "Literal" | "Collection") )</td>
</tr>
<tr>
<td><a href="#URI-reference">7.2.32</a> <a href="#URI-reference">URI-reference</a></td> <td>An IRI.</td>
@@ -2617,11 +2715,15 @@
</div></div>
</section>
- <!-- grammar productions -->
+
+<!-- grammar productions -->
+
<section id="section-grammar-productions" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-grammar-productions"><span class="secno">7.2 </span>Grammar Productions</h3>
- <!-- grammar start -->
+
+<!-- grammar start -->
+
<section id="start" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_start"><span class="secno">7.2.1 </span>Grammar start</h4>
@@ -2635,7 +2737,7 @@
<p>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 <a href="#section-element-node">Element Event</a>
+ at <a href="#section-element-node">Element Event</a>
<a href="#RDF">RDF</a>
(only when an element is legal at that point in the XML)
or at production <a href="#nodeElementList">nodeElementList</a>
@@ -2644,12 +2746,14 @@
<a href="#eventterm-element-base-uri" class="termref"><span class="arrow">·</span>base-uri<span class="arrow">·</span></a>
value on the outermost element must be initialized from the containing
XML since no
- <a href="#section-root-node">Root Event</a> will be available.
+ <a href="#section-root-node">Root Event</a> will be available.
Note that if such embedding occurs, the grammar may be entered
several times but no state is expected to be preserved.</p>
</section>
- <!-- core syntax terms -->
+
+<!-- core syntax terms -->
+
<section id="coreSyntaxTerms" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_coreSyntaxTerms"><span class="secno">7.2.2 </span>Production coreSyntaxTerms</h4>
@@ -2664,7 +2768,9 @@
</p>
</section>
- <!-- syntax terms -->
+
+<!-- syntax terms -->
+
<section id="syntaxTerms" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_syntaxTerms"><span class="secno">7.2.3 </span>Production syntaxTerms</h4>
@@ -2679,7 +2785,9 @@
</p>
</section>
- <!-- old terms -->
+
+<!-- old terms -->
+
<section id="oldTerms" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 id="section-Bag-Expand" aria-level="3" role="heading"><span class="secno">7.2.4 </span>Production oldTerms</h4>
@@ -2703,7 +2811,9 @@
</p></div>
</section>
- <!-- node element uri -->
+
+<!-- node element uri -->
+
<section id="nodeElementURIs" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_nodeElementURIs"><span class="secno">7.2.5 </span>Production nodeElementURIs</h4>
@@ -2715,7 +2825,9 @@
<p>The IRIs that are allowed on node elements.</p>
</section>
- <!-- property element URIs -->
+
+<!-- property element URIs -->
+
<section id="propertyElementURIs" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_propertyElementURIs"><span class="secno">7.2.6 </span>Production propertyElementURIs</h4>
@@ -2727,7 +2839,9 @@
<p>The URIs that are allowed on property elements.</p>
</section>
- <!-- property attribute URIs -->
+
+<!-- property attribute URIs -->
+
<section id="propertyAttributeURIs" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_propertyAttributeURIs"><span class="secno">7.2.7 </span>Production propertyAttributeURIs</h4>
@@ -2739,31 +2853,37 @@
<p>The IRIs that are allowed on property attributes.</p>
</section>
- <!-- production doc -->
+
+<!-- production doc -->
+
<section id="doc" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_doc"><span class="secno">7.2.8 </span>Production doc</h4>
<div class="productionOuter"><div class="productionInner"><p>
- root(<a href="#eventterm-root-document-element">document-element</a> == <a href="#RDF">RDF</a>,<br>
-
- <a href="#eventterm-root-children">children</a> == list(<a href="#RDF">RDF</a>))
+ root(<a href="#eventterm-root-document-element">document-element</a> == <a href="#RDF">RDF</a>,<br />
+
+ <a href="#eventterm-root-children">children</a> == list(<a href="#RDF">RDF</a>))
</p></div></div>
</section>
- <!-- production RDF -->
+
+<!-- production RDF -->
+
<section id="RDF" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_RDF"><span class="secno">7.2.9 </span>Production RDF</h4>
<div class="productionOuter"><div class="productionInner"><p>
- start-element(<a href="#eventterm-element-URI">URI</a> == <code>rdf:RDF</code>,<br>
-
- <a href="#eventterm-element-attributes">attributes</a> == set())<br>
- <a href="#nodeElementList">nodeElementList</a><br>
+ start-element(<a href="#eventterm-element-URI">URI</a> == <code>rdf:RDF</code>,<br />
+
+ <a href="#eventterm-element-attributes">attributes</a> == set())<br />
+ <a href="#nodeElementList">nodeElementList</a><br />
end-element()
</p></div></div>
</section>
- <!-- node element list -->
+
+<!-- node element list -->
+
<section id="nodeElementList" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_nodeElementList"><span class="secno">7.2.10 </span>Production nodeElementList</h4>
@@ -2773,15 +2893,17 @@
</p></div></div>
</section>
- <!-- production node element -->
+
+<!-- production node element -->
+
<section id="nodeElement" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 id="typedNode" aria-level="3" role="heading"><span class="secno">7.2.11 </span>Production nodeElement</h4>
<div class="productionOuter"><div class="productionInner"><p>
- start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#nodeElementURIs">nodeElementURIs</a><br>
- <a href="#eventterm-element-attributes">attributes</a> == set((<a href="#idAttr">idAttr</a> | <a href="#nodeIdAttr">nodeIdAttr</a> | <a href="#aboutAttr">aboutAttr</a> )?, <a href="#propertyAttr">propertyAttr</a>*))<br>
-
- <a href="#propertyEltList">propertyEltList</a><br>
+ start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#nodeElementURIs">nodeElementURIs</a><br />
+ <a href="#eventterm-element-attributes">attributes</a> == set((<a href="#idAttr">idAttr</a> | <a href="#nodeIdAttr">nodeIdAttr</a> | <a href="#aboutAttr">aboutAttr</a> )?, <a href="#propertyAttr">propertyAttr</a>*))<br />
+
+ <a href="#propertyEltList">propertyEltList</a><br />
end-element()
</p></div></div>
@@ -2794,7 +2916,7 @@
<li>If there is an attribute <em>a</em> with
<em>a</em>.<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:ID</code>, then
- <em>e</em>.<a href="#eventterm-element-subject">subject</a> := uri(<a href="#eventterm-identifier-identifier">identifier</a> := resolve(<em>e</em>, concat("#", <em>a</em>.<a href="#eventterm-attribute-string-value">string-value</a>))).</li>
+ <em>e</em>.<a href="#eventterm-element-subject">subject</a> := uri(<a href="#eventterm-identifier-identifier">identifier</a> := resolve(<em>e</em>, concat("#", <em>a</em>.<a href="#eventterm-attribute-string-value">string-value</a>))).</li>
<li>If there is an attribute <em>a</em> with
<em>a</em>.<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:nodeID</code>, then
@@ -2862,7 +2984,9 @@
</ul>
</section>
- <!-- production ws -->
+
+<!-- production ws -->
+
<section id="ws" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_ws"><span class="secno">7.2.12 </span>Production ws</h4>
@@ -2875,7 +2999,9 @@
</p></div></div>
</section>
- <!-- property elt list -->
+
+<!-- property elt list -->
+
<section id="propertyEltList" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_propertyEltList"><span class="secno">7.2.13 </span>Production propertyEltList</h4>
@@ -2884,7 +3010,9 @@
</p></div></div>
</section>
- <!-- property elt -->
+
+<!-- property elt -->
+
<section id="propertyElt" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_propertyElt"><span class="secno">7.2.14 </span>Production propertyElt</h4>
@@ -2916,15 +3044,17 @@
</p>
</section>
- <!-- resource property element -->
+
+<!-- resource property element -->
+
<section id="resourcePropertyElt" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_resourcePropertyElt"><span class="secno">7.2.15 </span>Production resourcePropertyElt</h4>
<div class="productionOuter"><div class="productionInner"><p>
- start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#propertyElementURIs">propertyElementURIs</a> ),<br>
- <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?))<br>
-
- <a href="#ws">ws</a>* <a href="#nodeElement">nodeElement</a> <a href="#ws">ws</a>*<br>
+ start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#propertyElementURIs">propertyElementURIs</a> ),<br />
+ <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?))<br />
+
+ <a href="#ws">ws</a>* <a href="#nodeElement">nodeElement</a> <a href="#ws">ws</a>*<br />
end-element()
</p></div></div>
@@ -2935,28 +3065,30 @@
Then the following statement is added to the graph:</p>
<div class="ntripleOuter"><div class="ntripleInner"><p>
- <code> <em>e</em>.parent.<a href="#eventterm-element-subject">subject</a>.<a href="#eventterm-identifier-string-value">string-value</a> <em>e</em>.<a href="#eventterm-element-URI-string-value">URI-string-value</a> <em>n</em>.<a href="#eventterm-element-subject">subject</a>.<a href="#eventterm-identifier-string-value">string-value</a> .</code>
+ <code> <em>e</em>.parent.<a href="#eventterm-element-subject">subject</a>.<a href="#eventterm-identifier-string-value">string-value</a> <em>e</em>.<a href="#eventterm-element-URI-string-value">URI-string-value</a> <em>n</em>.<a href="#eventterm-element-subject">subject</a>.<a href="#eventterm-identifier-string-value">string-value</a> .</code>
</p></div></div>
<p>If the <code>rdf:ID</code> attribute <em>a</em> is given, the above
statement is reified with
- <em>i</em> := uri(<a href="#eventterm-identifier-identifier">identifier</a> := resolve(<em>e</em>, concat("#", <em>a</em>.<a href="#eventterm-attribute-string-value">string-value</a>)))
+ <em>i</em> := uri(<a href="#eventterm-identifier-identifier">identifier</a> := resolve(<em>e</em>, concat("#", <em>a</em>.<a href="#eventterm-attribute-string-value">string-value</a>)))
using the reification rules in
<a href="#section-Reification">section 7.3</a>
and <em>e</em>.<a href="#eventterm-element-subject">subject</a> := <em>i</em></p>
</section>
- <!-- literal property element -->
+
+<!-- literal property element -->
+
<section id="literalPropertyElt" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_literalPropertyElt"><span class="secno">7.2.16 </span>Production literalPropertyElt</h4>
<div class="productionOuter"><div class="productionInner"><p>
- start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#propertyElementURIs">propertyElementURIs</a> ),<br>
-
- <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, <a href="#datatypeAttr">datatypeAttr</a>?))<br>
- <a href="#section-text-node">text()</a><br>
+ start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#propertyElementURIs">propertyElementURIs</a> ),<br />
+
+ <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, <a href="#datatypeAttr">datatypeAttr</a>?))<br />
+ <a href="#section-text-node">text()</a><br />
end-element()
</p></div></div>
@@ -2980,29 +3112,31 @@
<p>If the <code>rdf:ID</code> attribute <em>a</em> is given, the above
statement is reified with
- <em>i</em> := uri(<a href="#eventterm-identifier-identifier">identifier</a> := resolve(<em>e</em>, concat("#", <em>a</em>.<a href="#eventterm-attribute-string-value">string-value</a>)))
+ <em>i</em> := uri(<a href="#eventterm-identifier-identifier">identifier</a> := resolve(<em>e</em>, concat("#", <em>a</em>.<a href="#eventterm-attribute-string-value">string-value</a>)))
using the reification rules in
<a href="#section-Reification">section 7.3</a>
and <em>e</em>.<a href="#eventterm-element-subject">subject</a> := <em>i</em>.</p>
</section>
- <!-- parse type literal property element -->
+
+<!-- parse type literal property element -->
+
<section id="parseTypeLiteralPropertyElt" class="informative" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_parseTypeLiteralPropertyElt"><span class="secno">7.2.17 </span>Production parseTypeLiteralPropertyElt</h4><p><em>This section is non-normative.</em></p>
<div class="productionOuter"><div class="productionInner"><p>
- start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#propertyElementURIs">propertyElementURIs</a> ),<br>
- <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, <a href="#parseLiteral">parseLiteral</a>))<br>
- <a href="#literal">literal</a><br>
+ start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#propertyElementURIs">propertyElementURIs</a> ),<br />
+ <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, <a href="#parseLiteral">parseLiteral</a>))<br />
+ <a href="#literal">literal</a><br />
end-element()
</p></div></div>
<p>For element <em>e</em> and the literal <em>l</em>
- that is the <code>rdf:parseType="Literal"</code> content.
+ that is the <code>rdf:parseType="Literal"</code> content.
<em>l</em> is not transformed by the syntax data model mapping into events
(as noted in section <a href="#section-Data-Model">6 Syntax Data Model</a>)
but remains an XML Infoset of XML Information items.</p>
@@ -3014,7 +3148,8 @@
method — any other method that gives the same result may be used.</p>
<ol>
- <!-- old algorithm
+
+<!-- old algorithm
<li>Use <em>l</em> to construct an XPath <a
href="http://www.w3.org/TR/1999/REC-xpath-19991116#infoset">node-set</a>
(a <a href="http://www.w3.org/TR/2002/REC-xml-exc-c14n-20020718/#def-document-subset">document
@@ -3030,6 +3165,7 @@
a UTF-8 encoding of some Unicode string <em>x</em> (sequence
of Unicode characters)</li>
-->
+
<li>Use <em>l</em> to construct an <a href="http://www.w3.org/TR/xpath-datamodel-30/#sequences">XPath
sequence</a> [<cite><a class="bibref" href="#bib-XPATH-DATAMODEL-30">XPATH-DATAMODEL-30</a></cite>].</li>
<li>Apply <a href="http://www.w3.org/TR/xpath-functions-30/#func-serialize">http://www.w3.org/TR/xpath-functions-30/#func-serialize</a> [<cite><a class="bibref" href="#bib-XPATH-FUNCTIONS-30">XPATH-FUNCTIONS-30</a></cite>]
@@ -3056,21 +3192,23 @@
<p>If the <code>rdf:ID</code> attribute <em>a</em> is given, the above
statement is reified with
- <em>i</em> := uri(<a href="#eventterm-identifier-identifier">identifier</a> := resolve(<em>e</em>, concat("#", <em>a</em>.<a href="#eventterm-attribute-string-value">string-value</a>)))
+ <em>i</em> := uri(<a href="#eventterm-identifier-identifier">identifier</a> := resolve(<em>e</em>, concat("#", <em>a</em>.<a href="#eventterm-attribute-string-value">string-value</a>)))
using the reification rules in
<a href="#section-Reification">section 7.3</a>
and <em>e</em>.<a href="#eventterm-element-subject">subject</a> := <em>i</em>.</p>
</section>
- <!-- parse type resource property element -->
+
+<!-- parse type resource property element -->
+
<section id="parseTypeResourcePropertyElt" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_parseTypeResourcePropertyElt"><span class="secno">7.2.18 </span>Production parseTypeResourcePropertyElt</h4>
<div class="productionOuter"><div class="productionInner"><p>
- start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#propertyElementURIs">propertyElementURIs</a> ),<br>
- <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, <a href="#parseResource">parseResource</a>))<br>
-
- <a href="#propertyEltList">propertyEltList</a><br>
+ start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#propertyElementURIs">propertyElementURIs</a> ),<br />
+ <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, <a href="#parseResource">parseResource</a>))<br />
+
+ <a href="#propertyEltList">propertyEltList</a><br />
end-element()
</p></div></div>
@@ -3095,7 +3233,7 @@
<p>If the <code>rdf:ID</code> attribute <em>a</em> is given, the
statement above is reified with
- <em>i</em> := uri(<a href="#eventterm-identifier-identifier">identifier</a> := resolve(<em>e</em>, concat("#", <em>a</em>.<a href="#eventterm-attribute-string-value">string-value</a>)))
+ <em>i</em> := uri(<a href="#eventterm-identifier-identifier">identifier</a> := resolve(<em>e</em>, concat("#", <em>a</em>.<a href="#eventterm-attribute-string-value">string-value</a>)))
using the reification rules in
<a href="#section-Reification">section 7.3</a>
and <em>e</em>.<a href="#eventterm-element-subject">subject</a> := <em>i</em>.</p>
@@ -3103,11 +3241,11 @@
<p>If the element content <em>c</em> is not empty, then use event
<em>n</em> to create a new sequence of events as follows:</p>
<div class="productionOuter"><div class="productionInner"><p>
- start-element(<a href="#eventterm-element-URI">URI</a> := <code>rdf:Description</code>,<br>
-
- <a href="#eventterm-element-subject">subject</a> := <em>n</em>,<br>
- <a href="#eventterm-element-attributes">attributes</a> := set())<br>
- <em>c</em><br>
+ start-element(<a href="#eventterm-element-URI">URI</a> := <code>rdf:Description</code>,<br />
+
+ <a href="#eventterm-element-subject">subject</a> := <em>n</em>,<br />
+ <a href="#eventterm-element-attributes">attributes</a> := set())<br />
+ <em>c</em><br />
end-element()
</p></div></div>
@@ -3117,15 +3255,17 @@
<a href="#nodeElementList">nodeElement</a>.</p>
</section>
- <!-- parse type collection property element -->
+
+<!-- parse type collection property element -->
+
<section id="parseTypeCollectionPropertyElt" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_parseTypeCollectionPropertyElt"><span class="secno">7.2.19 </span>Production parseTypeCollectionPropertyElt</h4>
<div class="productionOuter"><div class="productionInner"><p>
- start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#propertyElementURIs">propertyElementURIs</a> ),<br>
-
- <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, <a href="#parseCollection">parseCollection</a>))<br>
- <a href="#nodeElementList">nodeElementList</a><br>
+ start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#propertyElementURIs">propertyElementURIs</a> ),<br />
+
+ <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, <a href="#parseCollection">parseCollection</a>))<br />
+ <a href="#nodeElementList">nodeElementList</a><br />
end-element()
</p></div></div>
@@ -3154,7 +3294,7 @@
<p>If the <code>rdf:ID</code> attribute <em>a</em> is given,
either of the the above statements is reified with
- <em>i</em> := uri(<a href="#eventterm-identifier-identifier">identifier</a> := resolve(<em>e</em>, concat("#", <em>a</em>.<a href="#eventterm-attribute-string-value">string-value</a>)))
+ <em>i</em> := uri(<a href="#eventterm-identifier-identifier">identifier</a> := resolve(<em>e</em>, concat("#", <em>a</em>.<a href="#eventterm-attribute-string-value">string-value</a>)))
using the reification rules in
<a href="#section-Reification">section 7.3</a>.
@@ -3187,35 +3327,39 @@
</p></div></div>
</section>
- <!-- parse type other property element -->
+
+<!-- parse type other property element -->
+
<section id="parseTypeOtherPropertyElt" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_parseTypeOtherPropertyElt"><span class="secno">7.2.20 </span>Production parseTypeOtherPropertyElt</h4>
<div class="productionOuter"><div class="productionInner"><p>
- start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#propertyElementURIs">propertyElementURIs</a> ),<br>
- <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, <a href="#parseOther">parseOther</a>))<br>
-
- <a href="#propertyEltList">propertyEltList</a><br>
+ start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#propertyElementURIs">propertyElementURIs</a> ),<br />
+ <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, <a href="#parseOther">parseOther</a>))<br />
+
+ <a href="#propertyEltList">propertyEltList</a><br />
end-element()
</p></div></div>
<p>All <code>rdf:parseType</code> attribute values other than the strings
- "Resource", "Literal" or "Collection" are treated as if the value was
- "Literal". This production matches and acts as if production
+ "Resource", "Literal" or "Collection" are treated as if the value was
+ "Literal". This production matches and acts as if production
<a href="#parseTypeLiteralPropertyElt">parseTypeLiteralPropertyElt</a>
was matched.
No extra triples are generated for other <code>rdf:parseType</code> values.
</p>
</section>
- <!-- empty property element -->
+
+<!-- empty property element -->
+
<section id="emptyPropertyElt" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_emptyPropertyElt"><span class="secno">7.2.21 </span>Production emptyPropertyElt</h4>
<div class="productionOuter"><div class="productionInner"><p>
- start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#propertyElementURIs">propertyElementURIs</a> ),<br>
- <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, ( <a href="#resourceAttr">resourceAttr</a> | <a href="#nodeIdAttr">nodeIdAttr</a> | <a href="#datatypeAttr">datatypeAttr</a> )?, <a href="#propertyAttr">propertyAttr</a>*))<br>
+ start-element(<a href="#eventterm-element-URI">URI</a> == <a href="#propertyElementURIs">propertyElementURIs</a> ),<br />
+ <a href="#eventterm-element-attributes">attributes</a> == set(<a href="#idAttr">idAttr</a>?, ( <a href="#resourceAttr">resourceAttr</a> | <a href="#nodeIdAttr">nodeIdAttr</a> | <a href="#datatypeAttr">datatypeAttr</a> )?, <a href="#propertyAttr">propertyAttr</a>*))<br />
end-element()
</p></div></div>
@@ -3225,7 +3369,7 @@
<li>
<p>If there are no attributes <strong>or</strong> only the
optional <code>rdf:ID</code> attribute <em>i</em>
- then <em>o</em> := literal(<a href="#eventterm-literal-literal-value">literal-value</a>:="", <a href="#eventterm-literal-literal-language">literal-language</a> := <em>e</em>.<a href="#eventterm-element-language">language</a>)
+ then <em>o</em> := literal(<a href="#eventterm-literal-literal-value">literal-value</a>:="", <a href="#eventterm-literal-literal-language">literal-language</a> := <em>e</em>.<a href="#eventterm-element-language">language</a>)
and the following statement is added to the graph:</p>
<div class="ntripleOuter"><div class="ntripleInner"><p>
@@ -3234,7 +3378,7 @@
</p></div></div>
<p>and then if <em>i</em> is given, the above statement is reified with
- uri(<a href="#eventterm-identifier-identifier">identifier</a> := resolve(<em>e</em>, concat("#", <em>i</em>.<a href="#eventterm-attribute-string-value">string-value</a>)))
+ uri(<a href="#eventterm-identifier-identifier">identifier</a> := resolve(<em>e</em>, concat("#", <em>i</em>.<a href="#eventterm-attribute-string-value">string-value</a>)))
using the reification rules in
<a href="#section-Reification">section 7.3</a>.</p>
@@ -3328,7 +3472,7 @@
<p>and then if <code>rdf:ID</code> attribute <em>i</em> is given, the above statement is
reified with
- uri(<a href="#eventterm-identifier-identifier">identifier</a> := resolve(<em>e</em>, concat("#", <em>i</em>.<a href="#eventterm-identifier-string-value">string-value</a>)))
+ uri(<a href="#eventterm-identifier-identifier">identifier</a> := resolve(<em>e</em>, concat("#", <em>i</em>.<a href="#eventterm-identifier-string-value">string-value</a>)))
using the reification rules in
<a href="#section-Reification">section 7.3</a>.</p>
@@ -3340,121 +3484,145 @@
</ul>
</section>
- <!-- id attribute -->
+
+<!-- id attribute -->
+
<section id="idAttr" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 id="idAboutAttr" aria-level="3" role="heading"><span class="secno">7.2.22 </span>Production idAttr</h4>
- <!-- idAboutAttr one has gone; id is closest thing replacing it -->
+
+<!-- idAboutAttr one has gone; id is closest thing replacing it -->
+
<div class="productionOuter"><div class="productionInner"><p>
- attribute(<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:ID</code>,<br>
-
- <a href="#eventterm-attribute-string-value">string-value</a> == <a href="#rdf-id">rdf-id</a>)
+ attribute(<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:ID</code>,<br />
+
+ <a href="#eventterm-attribute-string-value">string-value</a> == <a href="#rdf-id">rdf-id</a>)
</p></div></div>
<p><strong>Constraint:</strong>: <a href="#constraint-id">constraint-id</a>
applies to the values of <code>rdf:ID</code> attributes</p>
</section>
- <!-- node id attribute -->
+
+<!-- node id attribute -->
+
<section id="nodeIdAttr" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_nodeIdAttr"><span class="secno">7.2.23 </span>Production nodeIdAttr</h4>
<div class="productionOuter"><div class="productionInner"><p>
- attribute(<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:nodeID</code>,<br>
- <a href="#eventterm-attribute-string-value">string-value</a> == <a href="#rdf-id">rdf-id</a>)
-
- </p></div></div>
- </section>
-
- <!-- about attribute -->
- <section id="aboutAttr" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
- <h4 aria-level="3" role="heading" id="h4_aboutAttr"><span class="secno">7.2.24 </span>Production aboutAttr</h4>
-
- <div class="productionOuter"><div class="productionInner"><p>
- attribute(<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:about</code>,<br>
- <a href="#eventterm-attribute-string-value">string-value</a> == <a href="#URI-reference">URI-reference</a>)
+ attribute(<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:nodeID</code>,<br />
+ <a href="#eventterm-attribute-string-value">string-value</a> == <a href="#rdf-id">rdf-id</a>)
</p></div></div>
</section>
- <!-- property attribute -->
- <section id="propertyAttr" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
- <h4 id="propAttr" aria-level="3" role="heading"><span class="secno">7.2.25 </span>Production propertyAttr</h4>
+
+<!-- about attribute -->
+
+ <section id="aboutAttr" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
+ <h4 aria-level="3" role="heading" id="h4_aboutAttr"><span class="secno">7.2.24 </span>Production aboutAttr</h4>
<div class="productionOuter"><div class="productionInner"><p>
- attribute(<a href="#eventterm-attribute-URI">URI</a> == <a href="#propertyAttributeURIs">propertyAttributeURIs</a>,<br>
- <a href="#eventterm-attribute-string-value">string-value</a> == <a href="#anyString">anyString</a>)
+ attribute(<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:about</code>,<br />
+ <a href="#eventterm-attribute-string-value">string-value</a> == <a href="#URI-reference">URI-reference</a>)
</p></div></div>
</section>
- <!-- resource attribute -->
+
+<!-- property attribute -->
+
+ <section id="propertyAttr" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
+ <h4 id="propAttr" aria-level="3" role="heading"><span class="secno">7.2.25 </span>Production propertyAttr</h4>
+
+ <div class="productionOuter"><div class="productionInner"><p>
+ attribute(<a href="#eventterm-attribute-URI">URI</a> == <a href="#propertyAttributeURIs">propertyAttributeURIs</a>,<br />
+ <a href="#eventterm-attribute-string-value">string-value</a> == <a href="#anyString">anyString</a>)
+
+ </p></div></div>
+ </section>
+
+
+<!-- resource attribute -->
+
<section id="resourceAttr" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_resourceAttr"><span class="secno">7.2.26 </span>Production resourceAttr</h4>
<div class="productionOuter"><div class="productionInner"><p>
- attribute(<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:resource</code>,<br>
- <a href="#eventterm-attribute-string-value">string-value</a> == <a href="#URI-reference">URI-reference</a>)
+ attribute(<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:resource</code>,<br />
+ <a href="#eventterm-attribute-string-value">string-value</a> == <a href="#URI-reference">URI-reference</a>)
</p></div></div>
</section>
- <!-- datatype attribute -->
+
+<!-- datatype attribute -->
+
<section id="datatypeAttr" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_datatypeAttr"><span class="secno">7.2.27 </span>Production datatypeAttr</h4>
<div class="productionOuter"><div class="productionInner"><p>
- attribute(<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:datatype</code>,<br>
- <a href="#eventterm-attribute-string-value">string-value</a> == <a href="#URI-reference">URI-reference</a>)
+ attribute(<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:datatype</code>,<br />
+ <a href="#eventterm-attribute-string-value">string-value</a> == <a href="#URI-reference">URI-reference</a>)
</p></div></div>
</section>
- <!-- parse literal -->
+
+<!-- parse literal -->
+
<section id="parseLiteral" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_parseLiteral"><span class="secno">7.2.28 </span>Production parseLiteral</h4>
<div class="productionOuter"><div class="productionInner"><p>
- attribute(<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:parseType</code>,<br>
- <a href="#eventterm-attribute-string-value">string-value</a> == "Literal")
+ attribute(<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:parseType</code>,<br />
+ <a href="#eventterm-attribute-string-value">string-value</a> == "Literal")
</p></div></div>
</section>
- <!-- parse resource -->
+
+<!-- parse resource -->
+
<section id="parseResource" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_parseResource"><span class="secno">7.2.29 </span>Production parseResource</h4>
<div class="productionOuter"><div class="productionInner"><p>
- attribute(<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:parseType</code>,<br>
- <a href="#eventterm-attribute-string-value">string-value</a> == "Resource")
+ attribute(<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:parseType</code>,<br />
+ <a href="#eventterm-attribute-string-value">string-value</a> == "Resource")
</p></div></div>
</section>
- <!-- parse collection -->
+
+<!-- parse collection -->
+
<section id="parseCollection" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_parseCollection"><span class="secno">7.2.30 </span>Production parseCollection</h4>
<div class="productionOuter"><div class="productionInner"><p>
- attribute(<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:parseType</code>,<br>
- <a href="#eventterm-attribute-string-value">string-value</a> == "Collection")
+ attribute(<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:parseType</code>,<br />
+ <a href="#eventterm-attribute-string-value">string-value</a> == "Collection")
</p></div></div>
</section>
- <!-- parse other -->
+
+<!-- parse other -->
+
<section id="parseOther" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_parseOther"><span class="secno">7.2.31 </span>Production parseOther</h4>
<div class="productionOuter"><div class="productionInner"><p>
- attribute(<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:parseType</code>,<br>
- <a href="#eventterm-attribute-string-value">string-value</a> == <a href="#anyString">anyString</a> - ("Resource" | "Literal" | "Collection") )
+ attribute(<a href="#eventterm-attribute-URI">URI</a> == <code>rdf:parseType</code>,<br />
+ <a href="#eventterm-attribute-string-value">string-value</a> == <a href="#anyString">anyString</a> - ("Resource" | "Literal" | "Collection") )
</p></div></div>
</section>
- <!-- URI reference -->
+
+<!-- URI reference -->
+
<section id="URI-reference" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_URI-reference"><span class="secno">7.2.32 </span>Production IRI</h4>
@@ -3463,7 +3631,9 @@
</p></div></div>
</section>
- <!-- litteral -->
+
+<!-- litteral -->
+
<section id="literal" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_literal"><span class="secno">7.2.33 </span>Production literal</h4>
@@ -3483,7 +3653,9 @@
</div></div>
</section>
- <!-- RDF id -->
+
+<!-- RDF id -->
+
<section id="rdf-id" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h4 aria-level="3" role="heading" id="h4_rdf-id"><span class="secno">7.2.34 </span>Production rdf-id</h4>
@@ -3498,7 +3670,9 @@
</section>
- <!-- reification rules -->
+
+<!-- reification rules -->
+
<section id="section-Reification" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-Reification"><span class="secno">7.3 </span>Reification Rules</h3>
@@ -3512,21 +3686,23 @@
<p>add the following statements to the graph:</p>
<div class="ntripleOuter"><div class="ntripleInner"><p>
- <code><em>r</em>.<a href="#eventterm-identifier-string-value">string-value</a> <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <em>s</em> .</code><br>
-
- <code><em>r</em>.<a href="#eventterm-identifier-string-value">string-value</a> <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <em>p</em> .</code><br>
- <code><em>r</em>.<a href="#eventterm-identifier-string-value">string-value</a> <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <em>o</em> .</code><br>
-
- <code><em>r</em>.<a href="#eventterm-identifier-string-value">string-value</a> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .</code><br>
+ <code><em>r</em>.<a href="#eventterm-identifier-string-value">string-value</a> <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <em>s</em> .</code><br />
+
+ <code><em>r</em>.<a href="#eventterm-identifier-string-value">string-value</a> <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <em>p</em> .</code><br />
+ <code><em>r</em>.<a href="#eventterm-identifier-string-value">string-value</a> <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <em>o</em> .</code><br />
+
+ <code><em>r</em>.<a href="#eventterm-identifier-string-value">string-value</a> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement> .</code><br />
</p></div></div>
</section>
- <!-- expansion rules -->
+
+<!-- expansion rules -->
+
<section id="section-List-Expand" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
<h3 aria-level="2" role="heading" id="h3_section-List-Expand"><span class="secno">7.4 </span>List Expansion Rules</h3>
<p>For the given element <em>e</em>, create a new IRI <em>u</em> :=
- concat("http://www.w3.org/1999/02/22-rdf-syntax-ns#_",
+ concat("http://www.w3.org/1999/02/22-rdf-syntax-ns#_",
<em>e</em>.<a href="#eventterm-element-liCounter">li-counter</a>),
increment the
@@ -3536,15 +3712,19 @@
</section>
- <!-- SEVENTH PART : serialising -->
+
+<!-- SEVENTH PART : serialising -->
+
<section id="section-Serialising" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
- <!--OddPage--><h2 aria-level="1" role="heading" id="h2_section-Serialising"><span class="secno">8. </span>Serializing an RDF Graph to RDF/XML</h2>
+
+<!--OddPage-->
+<h2 aria-level="1" role="heading" id="h2_section-Serialising"><span class="secno">8. </span>Serializing an RDF Graph to RDF/XML</h2>
<p>There are some RDF Graphs as defined in
[<cite><a class="bibref" href="#bib-RDF11-CONCEPTS">RDF11-CONCEPTS</a></cite>]that cannot be serialized in RDF/XML. These are those that:</p>
<dl>
- <dt>Use property names that cannot be turned into XML namespace-qualified names.<br></dt>
+ <dt>Use property names that cannot be turned into XML namespace-qualified names.<br /></dt>
<dd>An XML namespace-qualified name
(<a href="http://www.w3.org/TR/REC-xml-names/#ns-qualnames">QName</a>)
has restrictions on the legal characters such that not all property URIs
@@ -3556,11 +3736,11 @@
<a href="http://www.w3.org/TR/REC-xml#NT-Letter">Letter</a> or '_'.
If the URI ends in a
non-<a href="http://www.w3.org/TR/REC-xml-names/#NT-NCName">NCName</a>
- character then throw a "this graph cannot be serialized in RDF/XML"
+ character then throw a "this graph cannot be serialized in RDF/XML"
exception or error.
</dd>
- <dt>Use inappropriate reserved names as properties<br></dt>
+ <dt>Use inappropriate reserved names as properties<br /></dt>
<dd>For example, a property with the same URI as any of the
<a href="#syntaxTerms">syntaxTerms</a> production.
</dd>
@@ -3580,9 +3760,13 @@
</section>
- <!-- NINETH PART : RDF XML with SVG -->
+
+<!-- NINETH PART : RDF XML with SVG -->
+
<section id="section-rdf-in-SVG" class="informative" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
- <!--OddPage--><h2 aria-level="1" role="heading" id="h2_section-rdf-in-SVG"><span class="secno">9. </span>Using RDF/XML with SVG</h2><p><em>This section is non-normative.</em></p>
+
+<!--OddPage-->
+<h2 aria-level="1" role="heading" id="h2_section-rdf-in-SVG"><span class="secno">9. </span>Using RDF/XML with SVG</h2><p><em>This section is non-normative.</em></p>
<p>There is a standardized approach for associating RDF compatible
metadata with SVG — the metadata element which was explicitly
@@ -3611,9 +3795,13 @@
</p>
</section>
- <!-- TENTH PART : Acknowledgments -->
+
+<!-- TENTH PART : Acknowledgments -->
+
<section id="section-Acknowledgments" class="appendix informative" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
- <!--OddPage--><h2 aria-level="1" role="heading" id="h2_section-Acknowledgments"><span class="secno">A. </span>Acknowledgments</h2><p><em>This section is non-normative.</em></p>
+
+<!--OddPage-->
+<h2 aria-level="1" role="heading" id="h2_section-Acknowledgments"><span class="secno">A. </span>Acknowledgments</h2><p><em>This section is non-normative.</em></p>
<p>Gavin Carothers provided the RDF 1.1 update for the <a href="#parseTypeLiteralPropertyElt">Production
parseTypeLiteralPropertyElt</a>. Ivan Herman provided valuable
@@ -3672,10 +3860,14 @@
</section>
<section id="changes-rdf11" class="appendix informative" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
- <!--OddPage--><h2 aria-level="1" role="heading" id="h2_changes-rdf11"><span class="secno">B. </span>Changes since 2004 Recommendation</h2><p><em>This section is non-normative.</em></p>
-
- <p>The following changes were made for the RDF 1.1 Edited
- Recommendation version of this document:</p>
+
+<!--OddPage-->
+<h2 aria-level="1" role="heading" id="h2_changes-rdf11"><span class="secno">B. </span>Changes since 2004 Recommendation</h2><p><em>This section is non-normative.</em></p>
+ <p>Changes for RDF 1.1 Recommendation</p>
+ <ul>
+ <li>No changes.</li>
+ </ul>
+ <p>Changes for RDF 1.1 Proposed Edited Recommendation:</p>
<ol>
<li>Conversion to ReSpec.</li>
<li>RDF 2004 errata handling:
@@ -3693,9 +3885,9 @@
</ol></li>
<li>Adapted and shortened introduction to reflect RDF 1.1</li>
<li>Updated references to RDF 1.1 documents</li>
- <li>Replaced "(RDF) URI reference" with "IRI"</li>
+ <li>Replaced "(RDF) URI reference" with "IRI"</li>
<li>Removed Section on embedding RDF/XML into HTML</li>
- <li>Removed "Specification" from the title to bring it in
+ <li>Removed "Specification" from the title to bring it in
line with other RDF 1.1 document titles</li>
<li>Updated references to other documents</li>
<li>Changed links in Sec. 2 examples from relative URI to
@@ -3724,26 +3916,32 @@
</section>
- <!-- TWELVETH PART : Syntax Schemas -->
+
+<!-- TWELVETH PART : Syntax Schemas -->
+
<section id="section-Schemas" class="appendix informative" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
- <!--OddPage--><h2 aria-level="1" role="heading" id="h2_section-Schemas"><span class="secno">C. </span>Syntax Schemas</h2><p><em>This section is non-normative.</em></p>
+
+<!--OddPage-->
+<h2 aria-level="1" role="heading" id="h2_section-Schemas"><span class="secno">C. </span>Syntax Schemas</h2><p><em>This section is non-normative.</em></p>
<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.</p>
- <!-- Compact Schema -->
+
+<!-- Compact Schema -->
+
<section id="section-RELAXNG-Schema" class="informative" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
- <h3 aria-level="2" role="heading" id="h3_section-RELAXNG-Schema"><span class="secno">C.1 </span>RELAX NG Compact Schema</h3><p><em>This section is non-normative.</em></p>
+ <h3 aria-level="2" role="heading" id="h3_section-RELAXNG-Schema"><span class="secno">C.1 </span>RELAX NG Compact Schema</h3><p><em>This section is non-normative.</em></p>
<p>This is an <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/rdfxml.rnc">example
schema in
- RELAX NG Compact</a> (for ease of reading)
+ RELAX NG Compact</a> (for ease of reading)
for RDF/XML. Applications can also use the
- <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/rdfxml.rng">RELAX NG XML version</a>.
+ <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/rdfxml.rng">RELAX NG XML version</a>.
These formats are described in
- RELAX NG [<cite><a class="bibref" href="#bib-RELAXNG">RELAXNG</a></cite>]
- and RELAX NG Compact [<cite><a class="bibref" href="#bib-RELAXNG-COMPACT">RELAXNG-COMPACT</a></cite>].</p>
+ RELAX NG [<cite><a class="bibref" href="#bib-RELAXNG">RELAXNG</a></cite>]
+ and RELAX NG Compact [<cite><a class="bibref" href="#bib-RELAXNG-COMPACT">RELAXNG-COMPACT</a></cite>].</p>
<div class="note"><div class="note-title" aria-level="3" role="heading" id="h_note_19"><span>Note</span></div><p class="">
The RNGC schema has been updated to attempt to match the grammar but
@@ -3760,9 +3958,9 @@
# and updated with later changes.
#
- namespace local = ""
- namespace rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- datatypes xsd = "http://www.w3.org/2001/XMLSchema-datatypes"
+ namespace local = ""
+ namespace rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ datatypes xsd = "http://www.w3.org/2001/XMLSchema-datatypes"
start = doc
@@ -3805,11 +4003,11 @@
(idAttr | nodeIdAttr | aboutAttr )?, xmllang?, xmlbase?, propertyAttr*, propertyEltList
}
- # It is not possible to say "and not things
- # beginning with _ in the rdf: namespace" in RELAX NG.
+ # It is not possible to say "and not things
+ # beginning with _ in the rdf: 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
@@ -3923,17 +4121,17 @@
parseLiteral =
attribute rdf:parseType {
- "Literal"
+ "Literal"
}
parseResource =
attribute rdf:parseType {
- "Resource"
+ "Resource"
}
parseCollection =
attribute rdf:parseType {
- "Collection"
+ "Collection"
}
parseOther =
@@ -3958,7 +4156,10 @@
</section>
-<section id="references" class="appendix" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter"><!--OddPage--><h2 aria-level="1" role="heading" id="h2_references"><span class="secno">D. </span>References</h2><section id="normative-references" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter"><h3 aria-level="2" role="heading" id="h3_normative-references"><span class="secno">D.1 </span>Normative references</h3><dl class="bibliography" about=""><dt id="bib-JSON-LD">[JSON-LD]</dt><dd rel="dcterms:requires">Manu Sporny, Gregg Kellogg, Markus Lanthaler, Editors. <cite><a href="http://www.w3.org/TR/json-ld/">JSON-LD 1.0</a></cite>. 16 January 2014. W3C Recommendation. URL: <a href="http://www.w3.org/TR/json-ld/">http://www.w3.org/TR/json-ld/</a>
+
+<section id="references" class="appendix" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter">
+<!--OddPage-->
+<h2 aria-level="1" role="heading" id="h2_references"><span class="secno">D. </span>References</h2><section id="normative-references" typeof="bibo:Chapter" resource="#ref" rel="bibo:Chapter"><h3 aria-level="2" role="heading" id="h3_normative-references"><span class="secno">D.1 </span>Normative references</h3><dl class="bibliography" about=""><dt id="bib-JSON-LD">[JSON-LD]</dt><dd rel="dcterms:requires">Manu Sporny, Gregg Kellogg, Markus Lanthaler, Editors. <cite><a href="http://www.w3.org/TR/json-ld/">JSON-LD 1.0</a></cite>. 16 January 2014. W3C Recommendation. URL: <a href="http://www.w3.org/TR/json-ld/">http://www.w3.org/TR/json-ld/</a>
</dd><dt id="bib-N-TRIPLES">[N-TRIPLES]</dt><dd rel="dcterms:requires">Gavin Carothers, Andy Seabourne. <cite><a href="http://www.w3.org/TR/2014/REC-n-triples-20140225/">RDF 1.1 N-Triples</a></cite>. W3C Recommendation, 25 February 2014. URL: <a href="http://www.w3.org/TR/2014/REC-n-triples-20140225/">http://www.w3.org/TR/2014/REC-n-triples-20140225/</a>. The latest edition is available at <a href="http://www.w3.org/TR/n-triples/">http://www.w3.org/TR/n-triples/</a>
</dd><dt id="bib-RDF11-CONCEPTS">[RDF11-CONCEPTS]</dt><dd rel="dcterms:requires">Richard Cyganiak, David Wood, Markus Lanthaler. <cite><a href="http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/">RDF 1.1 Concepts and Abstract Syntax.</a></cite> W3C Recommendation, 25 February 2014. URL: <a href="http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/">http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/</a>. The latest edition is available at <a href="http://www.w3.org/TR/rdf11-concepts/">http://www.w3.org/TR/rdf11-concepts/</a>
</dd><dt id="bib-RDF11-MT">[RDF11-MT]</dt><dd rel="dcterms:requires">Patrick J. Hayes, Peter F. Patel-Schneider. <cite><a href="http://www.w3.org/TR/2014/REC-rdf11-mt-20140225/">RDF 1.1 Semantics.</a></cite> W3C Recommendation, 25 February 2014. URL: <a href="http://www.w3.org/TR/2014/REC-rdf11-mt-20140225/">http://www.w3.org/TR/2014/REC-rdf11-mt-20140225/</a>. The latest edition is available at <a href="http://www.w3.org/TR/rdf11-mt/">http://www.w3.org/TR/rdf11-mt/</a>