--- a/rdf-xml/index.html Mon Dec 09 18:03:12 2013 +0100
+++ b/rdf-xml/index.html Mon Dec 09 19:54:13 2013 +0100
@@ -404,7 +404,7 @@
<a href="#section-Syntax-blank-nodes">2.10</a>):</p>
<pre class="example" id="example3">
-<strong><-- Complete description of all graph paths</strong>
+<strong>Complete description of all graph paths</strong>
<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
<ex:editor>
@@ -495,19 +495,19 @@
the empty property element form giving the result shown in
<a href="#example5">Example 5</a>:</p>
- <pre class="example" id"example5">
- <!-- Empty property elements -->
+<pre class="example" id"example5">
+<strong>Empty property elements</strong>
- <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:fullName>Dave Beckett</ex:fullName>
- </rdf:Description>
- </ex:editor>
- <dc:title>RDF/XML Syntax Specification (Revised)</dc:title>
- </rdf:Description>
- </pre>
+<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:fullName>Dave Beckett</ex:fullName>
+ </rdf:Description>
+ </ex:editor>
+ <dc:title>RDF/XML Syntax Specification (Revised)</dc:title>
+</rdf:Description>
+</pre>
</section>
@@ -538,19 +538,18 @@
property elements. These can be replaced with property attributes
giving the result shown in <a href="#example6">Example 6</a>:</p>
- <pre class="example" id="example6">
- <!-- Replacing property elements with string literal
- content into property attributes -->
+<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/XML Syntax Specification (Revised)">
- <ex:editor>
- <rdf:Description ex:fullName="Dave Beckett">
- <ex:homePage rdf:resource="http://purl.org/net/dajobe/"/>
- </rdf:Description>
- </ex:editor>
- </rdf:Description>
- </pre>
+<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar"
+ dc:title="RDF/XML Syntax Specification (Revised)">
+ <ex:editor>
+ <rdf:Description ex:fullName="Dave Beckett">
+ <ex:homePage rdf:resource="http://purl.org/net/dajobe/"/>
+ </rdf:Description>
+ </ex:editor>
+</rdf:Description>
+</pre>
</section>
@@ -587,6 +586,7 @@
<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/XML Syntax Specification (Revised)">
<ex:editor>
@@ -595,6 +595,7 @@
</rdf:Description>
</ex:editor>
</rdf:Description>
+
</rdf:RDF>
</pre>
@@ -625,27 +626,28 @@
<p>Some examples of marking content languages for RDF properties are shown in
<a href="#example8">Example 8</a>:</p>
- <pre class="example" id="example8">
- <strong>Complete example of <code>xml:lang</code></a>
- (<a href="example08.rdf">example08.rdf</a> output <a href="example08.nt">example08.nt</a>)
- -->
-
- <?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/XML Syntax Specification (Revised)</dc:title>
- <dc:title xml:lang="en">RDF/XML Syntax Specification (Revised)</dc:title>
- <dc:title xml:lang="en-US">RDF/XML Syntax Specification (Revised)</dc:title>
- </rdf:Description>
-
- <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>
- </rdf:Description>
- </rdf:RDF>
- </pre>
+<pre class="example" id="example8">
+<strong>Complete example of <code>xml:lang</code>
+(<a href="example08.rdf">example08.rdf</a> output <a href="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">
+ <dc:title>RDF/XML Syntax Specification (Revised)</dc:title>
+ <dc:title xml:lang="en">RDF/XML Syntax Specification (Revised)</dc:title>
+ <dc:title xml:lang="en-US">RDF/XML Syntax Specification (Revised)</dc:title>
+ </rdf:Description>
+
+ <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>
+ </rdf:Description>
+
+</rdf:RDF>
+</pre>
</section>
@@ -673,23 +675,24 @@
content beginning <code>a:Box</code>.
</p>
- <pre class="example" id="example9">
- <strong>Example 9: Complete example of <code>rdf:parseType="Literal"</code>
- (<a href="example09.rdf">example09.rdf</a> output <a href="example09.nt">example09.nt</a>)
- -->
+<pre class="example" id="example9">
+<strong>Complete example of <code>rdf:parseType="Literal"</code>
+(<a href="example09.rdf">example09.rdf</a> output <a href="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" /></a:Box>
- </ex:prop>
- </rdf:Description>
- </rdf:RDF>
- </pre>
+<?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>
+
+</rdf:RDF>
+</pre>
</section>
@@ -727,22 +730,20 @@
XML Schema [[!XML-SCHEMA2]] datatype >code>int</code>.
</p>
- <pre class="example" id="example10">
- <!-- Complete example of <code>rdf:datatype</code></a>
- (<a href="example10.rdf">example10.rdf</a> output <a href="example10.nt">example10.nt</a>)
- -->
+<pre class="example" id="example10">
+<strong>Complete example of <code>rdf:datatype</code>
+(<a href="example10.rdf">example10.rdf</a> output <a href="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>
- </rdf:Description>
-
- </rdf:RDF>
-
- </pre>
+<?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>
</section>
@@ -776,30 +777,27 @@
about the blank node.</p>
- <div class="exampleOuter">
- <div class="figure"><a id="example11">Example 11: Complete RDF/XML description of graph using <code>rdf:nodeID</code> identifying the blank node</a> (<a href="example11.rdf">example11.rdf</a> output <a href="example11.nt">example11.nt</a>)</div>
- <div class="exampleInner">
- <pre class="example" id="example">
-
- <?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/XML Syntax Specification (Revised)">
- <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:RDF>
-
- </pre>
- </div>
- </div>
+<pre class="example" id="example11">
+<strong>Complete RDF/XML description of graph using <code>rdf:nodeID</code> identifying the blank node
+(<a href="example11.rdf">example11.rdf</a> output <a href="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/XML Syntax Specification (Revised)">
+ <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:RDF>
+</pre>
+
</section>
<!-- parsetype resource -->
@@ -874,26 +872,24 @@
<code>ex:editor</code> property element. The result is shown in
<a href="#example13">Example 13</a>.</p>
- <div class="exampleOuter">
- <div class="figure"><a id="example13">Example 13: Complete example of property attributes on an empty property element</a> (<a href="example13.rdf">example13.rdf</a> output <a href="example13.nt">example13.nt</a>)</div>
-
- <div class="exampleInner">
- <pre class="example" id="example">
- <?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/XML Syntax Specification (Revised)">
- <ex:editor ex:fullName="Dave Beckett" />
+<pre class="example" id="example13">
+<strong>Complete example of property attributes on an empty property element
+(<a href="example13.rdf">example13.rdf</a> output <a href="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/XML Syntax Specification (Revised)">
+ <ex:editor ex:fullName="Dave Beckett" />
<!-- Note the ex:homePage property has been ignored for this example -->
- </rdf:Description>
-
- </rdf:RDF>
-
- </pre>
- </div>
- </div>
+ </rdf:Description>
+
+</rdf:RDF>
+</pre>
+
</section>
<!-- typed nodes -->
@@ -923,42 +919,38 @@
<p>For example, the RDF/XML in <a href="#example14">Example 14</a>
could be written as shown in <a href="#example15">Example 15</a>.</p>
- <div class="exampleOuter">
- <div class="figure"><a id="example14">Example 14: Complete example with <code>rdf:type</code></a> (<a href="example14.rdf">example14.rdf</a> output <a href="example14.nt">example14.nt</a>)</div>
- <div class="exampleInner">
- <pre class="example" id="example">
- <?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>
- </div>
-
- <div class="exampleOuter">
- <div class="figure"><a id="example15">Example 15: Complete example using a typed node element to replace an <code>rdf:type</code></a> (<a href="example15.rdf">example15.rdf</a> output <a href="example15.nt">example15.nt</a>)</div>
- <div class="exampleInner">
- <pre class="example" id="example">
-
- <?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>
- </rdf:RDF>
-
- </pre>
- </div>
- </div>
+<pre class="example" id="example14">
+<strong>Complete example with <code>rdf:type</code>
+(<a href="example14.rdf">example14.rdf</a> output <a href="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"/>
+ <dc:title>A marvelous thing</dc:title>
+ </rdf:Description>
+</rdf:RDF>
+</pre>
+
+<pre class="example" id="example15">
+<strong>Complete example using a typed node element to replace an <code>rdf:type</code>
+(<a href="example15.rdf">example15.rdf</a> output <a href="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">
+ <dc:title>A marvelous thing</dc:title>
+ </ex:Document>
+
+</rdf:RDF>
+</pre>
+
</section>
<!-- xml base -->
@@ -999,23 +991,22 @@
IRI
<code>http://example.org/here/fruit/apple</code>.</p>
- <div class="exampleOuter">
- <div class="figure"><a id="example16">Example 16: Complete example using <code>rdf:ID</code> and <code>xml:base</code> for shortening URIs </a> (<a href="example16.rdf">example16.rdf</a> output <a href="example16.nt">example16.nt</a>)</div>
-
- <div class="exampleInner">
- <pre class="example" id="example">
- <?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>
- </div>
+<pre class="example" id="example16">
+<strong>Complete example using <code>rdf:ID</code> and <code>xml:base</code> for shortening URIs
+(<a href="example16.rdf">example16.rdf</a> output <a href="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"/>
+ </rdf:Description>
+
+</rdf:RDF>
+</pre>
+
</section>
<!-- list elements -->
@@ -1039,44 +1030,40 @@
property elements appear in XML — the document order is significant.
The equivalent RDF/XML to <a href="#example17">Example 17</a> written
in this form is shown in <a href="#example18">Example 18</a>.
-
</p>
- <div class="exampleOuter">
- <div class="figure"><a id="example17">Example 17: Complex example using RDF list properties</a> (<a href="example17.rdf">example17.rdf</a> output <a href="example17.nt">example17.nt</a>)</div>
- <div class="exampleInner">
- <pre class="example" id="example">
- <?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>
- </div>
-
- <div class="exampleOuter">
- <div class="figure"><a id="example18">Example 18: Complete example using <code>rdf:li</code> property element for list properties</a> (<a href="example18.rdf">example18.rdf</a> output <a href="example18.nt">example18.nt</a>)</div>
-
- <div class="exampleInner">
- <pre class="example" id="example">
- <?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>
- </div>
+<pre class="example" id="example17">
+<strong>Complex example using RDF list properties
+(<a href="example17.rdf">example17.rdf</a> output <a href="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"/>
+ </rdf:Seq>
+
+</rdf:RDF>
+</pre>
+
+<pre class="example" id="example18">
+<strong>Complete example using <code>rdf:li</code> property element for list properties
+(<a href="example18.rdf">example18.rdf</a> output <a href="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"/>
+ </rdf:Seq>
+
+</rdf:RDF>
+</pre>
+
</section>
<!-- parsetype collection -->
@@ -1101,26 +1088,25 @@
nodes elements at the end of the <code>ex:hasFruit</code>
property element using this form.</p>
- <div class="exampleOuter">
- <div class="figure"><a id="example19">Example 19: Complete example of a RDF collection of nodes using <code>rdf:parseType="Collection"</code></a> (<a href="example19.rdf">example19.rdf</a> output <a href="example19.nt">example19.nt</a>)</div>
-
- <div class="exampleInner">
- <pre class="example" id="example">
- <?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>
- </rdf:RDF>
- </pre>
- </div>
- </div>
+<pre class="example" id="example19">
+<strong>Complete example of a RDF collection of nodes using <code>rdf:parseType="Collection"</code>
+(<a href="example19.rdf">example19.rdf</a> output <a href="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"/>
+ </ex:hasFruit>
+ </rdf:Description>
+
+</rdf:RDF>
+</pre>
+
</section>
<!-- reification -->
@@ -1145,29 +1131,25 @@
</p>
<p><a href="#example20">Example 20</a> shows a <code>rdf:ID</code>
-
being used to reify a triple made from the <code>ex:prop</code>
property element giving the reified triple the
IRI <code>http://example.org/triples/#triple1</code>.</p>
- <div class="exampleOuter">
- <div class="figure"><a id="example20">Example 20: Complete example of <code>rdf:ID</code> reifying a property element</a> (<a href="example20.rdf">example20.rdf</a> output <a href="example20.nt">example20.nt</a>)</div>
-
- <div class="exampleInner">
- <pre class="example" id="example">
- <?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>
- </div>
+<pre class="example" id="exampl20">
+<strong>Complete example of <code>rdf:ID</code> reifying a property element
+(<a href="example20.rdf">example20.rdf</a> output <a href="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>
+ </rdf:Description>
+
+</rdf:RDF>
+</pre>
+
</section>
</section>
@@ -1205,7 +1187,7 @@
RFC 3023 [[!RFC-3023]], section 8.18.
</p>
- <p class="note"><strong>(Informative)</strong>
+ <p class="note"><strong>(Informative): </strong>
For the state of the MIME type registration, consult
IANA MIME Media Types [[IANA-MEDIA-TYPES]]
</p>
@@ -1229,7 +1211,7 @@
<h3>The RDF Namespace and Vocabulary</h3>
- <p class="note"><strong>(Informative):</strong>
+ <p class="note"><strong>(Informative): </strong>
The names <code>aboutEach</code> and <code>aboutEachPrefix</code> were removed
from the language and the RDF vocabulary by the RDF Core Working Group.
See the resolution of issues
@@ -1238,7 +1220,7 @@
for further information.
</p>
- <p class="note"><strong>(Informative):</strong>
+ <p class="note"><strong>(Informative): </strong>
The names <code>List</code>, <code>first</code>,
<code>rest</code> and <code>nil</code> were added for issue
@@ -1309,7 +1291,6 @@
and it has a IRI of the concatenation of the
<a href="#rdf-ns-uri" class="termref"><span class="arrow">·</span>RDF namespace URI reference<span class="arrow">·</span></a> and <em>name</em>.
For example, <code>rdf:type</code> has the IRI
-
<code>http://www.w3.org/1999/02/22-rdf-syntax-ns#type</code></p>
</section>
@@ -1318,22 +1299,19 @@
<section id="section-Identifiers">
<h3>Identifiers</h3>
- <p>The
- <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-rdf-graph">RDF Graph</a>
- (<a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/">RDF Concepts and Abstract Syntax</a> Section 3)
+ <p>The RDF Concepts document [[RDF11-CONCEPTS]]
defines three types of nodes and one type of predicate:</p>
<dl>
<dt>IRI nodes and predicates</dt>
<dd>
- <p>IRIs (<a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/">RDF Concepts and Abstract Syntax</a> Section 3.1)
+ <p><a href="http://www.w3.org/TR/rdf11-concepts/#section-IRIs">IRIs</a>
can be either:</p>
<ul>
<li>given as XML attribute values interpreted as relative
URI references that are resolved against the in-scope base URI
as described in <a href="#section-baseURIs">section 5.3</a>
-
to give absolute IRIs</li>
<li>transformed from XML namespace-qualified element and attribute names
(QNames)</li>
@@ -1354,7 +1332,6 @@
<p>The <a href="#idAttr"><code>rdf:ID</code></a> values
are transformed into
-
IRIs
by appending the attribute value to the result of appending
"#" to the in-scope base URI which is defined in
@@ -1362,23 +1339,21 @@
</dd>
<dt>Literal nodes (always object nodes)</dt>
- <dd><p>
- <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-literal">RDF literals</a> (<a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/">RDF Concepts and Abstract Syntax</a> 6.5) are either
- <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-plain-literal">plain literals</a> (ibid),
- or
-
- <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-typed-literal">typed literals</a> (ibid).
- The latter includes <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-rdf-XMLLiteral">XML literals</a> (ibid section 5, <cite>XML Content within an RDF graph</cite>).
- </p>
+ <dd>
+ <a href="http://www.w3.org/TR/rdf11-concepts/#section-Graph-Literal">Literals</a>
+ always have a datatype. Language-tagged strings get
+ the datatype <code>rdf:langString</code>. When there is no
+ language tag or datatype specified the literal is assumed to have the datatype
+ <code>xsd:string<code>.
</dd>
<dt>Blank Node Identifiers</dt>
- <dd><p><a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-blank-node">Blank nodes</a> have distinct identity in the RDF graph.
+ <dd><p><a href="http://www.w3.org/TR/rdf11-concepts/#section-blank-nodes">Blank nodes</a>
+ have distinct identity in the RDF graph.
When the graph is written in a syntax such as RDF/XML, these
blank nodes may need graph-local identifiers and a syntax
in order to preserve this distinction. These local identifiers are called
- <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-blank-node-id">blank node identifiers</a>
-
+ blank node identifiers
and are used in RDF/XML as values of the <code>rdf:nodeID</code> attribute
with the syntax given in <a href="#nodeIdAttr">Production nodeIdAttr</a>.
Blank node identifiers in RDF/XML are scoped to the XML Information Set
@@ -1386,7 +1361,8 @@
<p>If no blank node identifier is given explicitly as an
<code>rdf:nodeID</code> attribute value then one will need to be
- generated (using generated-blank-node-id, see section <a href="#section-Infoset-Grammar-Action">6.3.3</a>).
+ generated (using generated-blank-node-id, see section <a
+ href="#section-Infoset-Grammar-Action">6.3.3</a>).
Such generated blank node
identifiers must not clash with any blank node identifiers derived
from <code>rdf:nodeID</code> attribute values. This can be
@@ -1406,7 +1382,7 @@
<!-- uri resolution -->
<section id="section-baseURIs">
- <h3>Resolving URIs</h3>
+ <h3>Resolving IRIs</h3>
<p>RDF/XML supports
XML Base [[XML-BASE]]
@@ -1426,44 +1402,31 @@
fragment identifier alone, such as <code>#foo</code>, or the empty
string <code>""</code> into an
IRI. In RDF/XML, a fragment identifier
- is transformed into a
- IRI
+ is transformed into an IRI
by appending the fragment identifier to the in-scope base URI. The
empty string is transformed
- into an
- IRI
- by substituting the in-scope base URI.
- </p>
-
- <p class="note"><strong>Test:</strong>
- Indicated by
- <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test001.rdf">test001.rdf</a> and
- <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test001.nt">test001.nt</a>
+ into an IRI by substituting the in-scope base URI.
</p>
<p class="note"><strong>Test:</strong>
Indicated by
+ <ul>
+ <li>
+ <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test001.rdf">test001.rdf</a> and
+ <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test001.nt">test001.nt</a></li>
+ <li>
<a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test004.rdf">test004.rdf</a> and
- <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test004.nt">test004.nt</a>
- </p>
-
- <p class="note"><strong>Test:</strong>
- Indicated by
+ <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test004.nt">test004.nt</a></li>
+ <li>
<a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test008.rdf">test008.rdf</a> and
- <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test008.nt">test008.nt</a>
- </p>
-
- <p class="note"><strong>Test:</strong>
- Indicated by
+ <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test008.nt">test008.nt</a></li>
+ <li>
<a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test013.rdf">test013.rdf</a> and
- <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test013.nt">test013.nt</a>
- </p>
-
- <p class="note"><strong>Test:</strong>
- Indicated by
+ <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test013.nt">test013.nt</a></li>
+ <li>
<a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test016.rdf">test016.rdf</a> and
- <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test016.nt">test016.nt</a>
- </p>
+ <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/xmlbase/test016.nt">test016.nt</a></li>
+ </ul></p>
<p>An empty same document reference ""
resolves against the URI part of the base URI; any fragment part