Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions spec/example07.nt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<http://www.w3.org/TR/rdf-syntax-grammar> <http://purl.org/dc/elements/1.1/title> "RDF 1.2 XML Syntax" .
_:genid1 <http://example.org/stuff/1.0/fullName> "Dave Beckett" .
_:genid1 <http://example.org/stuff/1.0/homePage> <http://purl.org/net/dajobe/> .
<http://www.w3.org/TR/rdf-syntax-grammar> <http://example.org/stuff/1.0/editor> _:genid1 .
<https://www.w3.org/TR/rdf12-xml/> <http://purl.org/dc/elements/1.1/title> "RDF 1.2 XML Syntax" .
_:genid1 <http://example.org/stuff/1.0/fullName> "Gregg Kellogg" .
_:genid1 <http://example.org/stuff/1.0/homePage> <https://greggkellogg.net/> .
<https://www.w3.org/TR/rdf12-xml/> <http://example.org/stuff/1.0/editor> _:genid1 .
4 changes: 2 additions & 2 deletions spec/example07.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar"
dc:title="RDF 1.2 XML Syntax">
<ex:editor>
<rdf:Description ex:fullName="Dave Beckett">
<ex:homePage rdf:resource="http://purl.org/net/dajobe/" />
<rdf:Description ex:fullName="Gregg Kellogg">
<ex:homePage rdf:resource="https://greggkellogg.net/" />
</rdf:Description>
</ex:editor>
</rdf:Description>
Expand Down
6 changes: 3 additions & 3 deletions spec/example08.nt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<http://www.w3.org/TR/rdf-syntax-grammar> <http://purl.org/dc/elements/1.1/title> "RDF/XML Syntax Specification (Revised)" .
<http://www.w3.org/TR/rdf-syntax-grammar> <http://purl.org/dc/elements/1.1/title> "RDF/XML Syntax Specification (Revised)"@en .
<http://www.w3.org/TR/rdf-syntax-grammar> <http://purl.org/dc/elements/1.1/title> "RDF/XML Syntax Specification (Revised)"@en-us .
<https://www.w3.org/TR/rdf12-xml/> <http://purl.org/dc/elements/1.1/title> "RDF 1.2 XML Syntax" .
<https://www.w3.org/TR/rdf12-xml/> <http://purl.org/dc/elements/1.1/title> "RDF 1.2 XML Syntax"@en .
<https://www.w3.org/TR/rdf12-xml/> <http://purl.org/dc/elements/1.1/title> "RDF 1.2 XML Syntax"@en-us .
<http://example.org/buecher/baum> <http://purl.org/dc/elements/1.1/title> "Der Baum"@de .
<http://example.org/buecher/baum> <http://purl.org/dc/elements/1.1/description> "Das Buch ist au\u00DFergew\u00F6hnlich"@de .
<http://example.org/buecher/baum> <http://purl.org/dc/elements/1.1/title> "The Tree"@en .
6 changes: 3 additions & 3 deletions spec/example08.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<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>
<dc:title>RDF 1.2 XML Syntax</dc:title>
<dc:title xml:lang="en">RDF 1.2 XML Syntax</dc:title>
<dc:title xml:lang="en-US">RDF 1.2 XML Syntax</dc:title>
</rdf:Description>

<rdf:Description rdf:about="http://example.org/buecher/baum" xml:lang="de">
Expand Down
8 changes: 4 additions & 4 deletions spec/example12.nt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<http://www.w3.org/TR/rdf-syntax-grammar> <http://purl.org/dc/elements/1.1/title> "RDF/XML Syntax Specification (Revised)" .
<http://www.w3.org/TR/rdf-syntax-grammar> <http://example.org/stuff/1.0/editor> _:abc .
_:abc <http://example.org/stuff/1.0/fullName> "Dave Beckett" .
_:abc <http://example.org/stuff/1.0/homePage> <http://purl.org/net/dajobe/> .
<https://www.w3.org/TR/rdf12-xml/> <http://purl.org/dc/elements/1.1/title> "RDF 1.2 XML Syntax" .
<https://www.w3.org/TR/rdf12-xml/> <http://example.org/stuff/1.0/editor> _:abc .
_:abc <http://example.org/stuff/1.0/fullName> "Gregg Kellogg" .
_:abc <http://example.org/stuff/1.0/homePage> <https://greggkellogg.net/> .
8 changes: 4 additions & 4 deletions spec/example12.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<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)">
<rdf:Description rdf:about="https://www.w3.org/TR/rdf12-xml/"
dc:title="RDF 1.2 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/"/>
ex:fullName="Gregg Kellogg">
<ex:homePage rdf:resource="https://greggkellogg.net/"/>
</rdf:Description>
</rdf:RDF>
8 changes: 4 additions & 4 deletions spec/example13.nt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<http://www.w3.org/TR/rdf-syntax-grammar> <http://purl.org/dc/elements/1.1/title> "RDF/XML Syntax Specification (Revised)" .
_:genid1 <http://example.org/stuff/1.0/fullName> "Dave Beckett" .
_:genid1 <http://example.org/stuff/1.0/homePage> <http://purl.org/net/dajobe/> .
<http://www.w3.org/TR/rdf-syntax-grammar> <http://example.org/stuff/1.0/editor> _:genid1 .
<https://www.w3.org/TR/rdf12-xml/> <http://purl.org/dc/elements/1.1/title> "RDF 1.2 XML Syntax" .
_:genid1 <http://example.org/stuff/1.0/fullName> "Gregg Kellogg" .
_:genid1 <http://example.org/stuff/1.0/homePage> <https://greggkellogg.net/> .
<https://www.w3.org/TR/rdf12-xml/> <http://example.org/stuff/1.0/editor> _:genid1 .
8 changes: 4 additions & 4 deletions spec/example13.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<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)">
<rdf:Description rdf:about="https://www.w3.org/TR/rdf12-xml/"
dc:title="RDF 1.2 XML Syntax">
<ex:editor rdf:parseType="Resource">
<ex:fullName>Dave Beckett</ex:fullName>
<ex:homePage rdf:resource="http://purl.org/net/dajobe/"/>
<ex:fullName>Gregg Kellogg</ex:fullName>
<ex:homePage rdf:resource="https://greggkellogg.net/"/>
</ex:editor>
</rdf:Description>
</rdf:RDF>
6 changes: 3 additions & 3 deletions spec/example14.nt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<http://www.w3.org/TR/rdf-syntax-grammar> <http://purl.org/dc/elements/1.1/title> "RDF/XML Syntax Specification (Revised)" .
_:genid1 <http://example.org/stuff/1.0/fullName> "Dave Beckett" .
<http://www.w3.org/TR/rdf-syntax-grammar> <http://example.org/stuff/1.0/editor> _:genid1 .
<https://www.w3.org/TR/rdf12-xml/> <http://purl.org/dc/elements/1.1/title> "RDF 1.2 XML Syntax" .
_:genid1 <http://example.org/stuff/1.0/fullName> "Gregg Kellogg" .
<https://www.w3.org/TR/rdf12-xml/> <http://example.org/stuff/1.0/editor> _:genid1 .
6 changes: 3 additions & 3 deletions spec/example14.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<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" />
<rdf:Description rdf:about="https://www.w3.org/TR/rdf12-xml/"
dc:title="RDF 1.2 XML Syntax">
<ex:editor ex:fullName="Gregg Kellogg" />
<!-- Note the ex:homePage property has been ignored for this example -->
</rdf:Description>
</rdf:RDF>
484 changes: 411 additions & 73 deletions spec/figure1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
489 changes: 419 additions & 70 deletions spec/figure2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
69 changes: 35 additions & 34 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ <h3>Node Elements and Property Elements</h3>
alt="One path through the graph for RDF/XML Example 4." />
<figcaption id="figure2-alt">One Path Through the Graph
described in <a href="#example4"></a>
highlighting the path from `&lt;http://www.w3.org/TR/rdf-syntax-grammar>`
to `&lt;http://purl.org/net/dajobe>`.
highlighting the path from `&lt;https://www.w3.org/TR/rdf12-xml/>`
to `&lt;https://greggkellogg.net/>`.
Elements along the path are marked in <strong>bold text</strong>.
</figcaption>
</figure>
Expand All @@ -261,11 +261,11 @@ <h3>Node Elements and Property Elements</h3>
graph corresponds to the node/predicate arc stripes:</p>

<ol>
<li>Node with <a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a> <code>http://www.w3.org/TR/rdf-syntax-grammar</code></li>
<li>Node with <a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a> <code>https://www.w3.org/TR/rdf12-xml/</code></li>
<li>Predicate Arc labeled with <a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a> <code>http://example.org/terms/editor</code></li>
<li>Node with no <a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a></li>
<li>Predicate Arc labeled with <a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a> <code>http://example.org/terms/homePage</code></li>
<li>Node with <a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a> <code>http://purl.org/net/dajobe/</code></li>
<li>Node with <a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a> <code>https://greggkellogg.net/</code></li>
</ol>

<p>In RDF/XML, the sequence of 5 nodes and predicate arcs on
Expand Down Expand Up @@ -304,11 +304,11 @@ <h3>Node Elements and Property Elements</h3>
data-transform="updateExample"
title="Node Elements with IRIs added">
<!--
<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
<rdf:Description rdf:about="https://www.w3.org/TR/rdf12-xml/">
<ex:editor>
<rdf:Description>
<ex:homePage>
<rdf:Description rdf:about="http://purl.org/net/dajobe/">
<rdf:Description rdf:about="https://greggkellogg.net/">
</rdf:Description>
</ex:homePage>
</rdf:Description>
Expand All @@ -329,26 +329,26 @@ <h3>Node Elements and Property Elements</h3>
data-transform="updateExample"
title="Complete description of all graph paths">
<!--
<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
<rdf:Description rdf:about="https://www.w3.org/TR/rdf12-xml/">
<ex:editor>
<rdf:Description>
<ex:homePage>
<rdf:Description rdf:about="http://purl.org/net/dajobe/">
<rdf:Description rdf:about="https://greggkellogg.net/">
</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="https://www.w3.org/TR/rdf12-xml/">
<ex:editor>
<rdf:Description>
<ex:fullName>Dave Beckett</ex:fullName>
<ex:fullName>Gregg Kellogg</ex:fullName>
</rdf:Description>
</ex:editor>
</rdf:Description>

<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
<rdf:Description rdf:about="https://www.w3.org/TR/rdf12-xml/">
<dc:title>RDF 1.2 XML Syntax</dc:title>
</rdf:Description>
-->
Expand All @@ -370,7 +370,7 @@ <h3>Multiple Property Elements</h3>
<p>Taking <a href="#example3"></a>, there are
two <a>node elements</a> that can take multiple <a>property elements</a>.
The subject node with <a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a>
<code>http://www.w3.org/TR/rdf-syntax-grammar</code>
<code>https://www.w3.org/TR/rdf12-xml/</code>
has <a>property elements</a> <code>ex:editor</code> and <code>dc:title</code>
and the <a>node element</a> for the <a data-cite="RDF12-CONCEPTS#dfn-blank-node">blank node</a> can take <code>ex:homePage</code>
and <code>ex:fullName</code>. This abbreviation
Expand All @@ -381,14 +381,14 @@ <h3>Multiple Property Elements</h3>
data-transform="updateExample"
title="Using multiple property elements on a node element">
<!--
<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
<rdf:Description rdf:about="https://www.w3.org/TR/rdf12-xml/">
<ex:editor>
<rdf:Description>
<ex:homePage>
<rdf:Description rdf:about="http://purl.org/net/dajobe/">
<rdf:Description rdf:about="https://greggkellogg.net/">
</rdf:Description>
</ex:homePage>
<ex:fullName>Dave Beckett</ex:fullName>
<ex:fullName>Gregg Kellogg</ex:fullName>
</rdf:Description>
</ex:editor>
<dc:title>RDF 1.2 XML Syntax</dc:title>
Expand All @@ -414,19 +414,19 @@ <h3>Empty Property Elements</h3>

<p>In this example, the <a>property element</a> <code>ex:homePage</code>
contains an empty <a>node element</a> with the <a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a>
<code>http://purl.org/net/dajobe/</code>. This can be replaced with
<code>https://greggkellogg.net/</code>. This can be replaced with
the empty <a>property element</a> form giving the result shown in
<a href="#example5"></a>:</p>

<pre class="example rdf" id="example5"
data-transform="updateExample"
title="Empty property elements">
<!--
<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar">
<rdf:Description rdf:about="https://www.w3.org/TR/rdf12-xml/">
<ex:editor>
<rdf:Description>
<ex:homePage rdf:resource="http://purl.org/net/dajobe/"/>
<ex:fullName>Dave Beckett</ex:fullName>
<ex:homePage rdf:resource="https://greggkellogg.net/"/>
<ex:fullName>Gregg Kellogg</ex:fullName>
</rdf:Description>
</ex:editor>
<dc:title>RDF 1.2 XML Syntax</dc:title>
Expand Down Expand Up @@ -467,11 +467,11 @@ <h3>Property Attributes</h3>
data-transform="updateExample"
title="Replacing property elements with string literal content into property attributes">
<!--
<rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar"
<rdf:Description rdf:about="https://www.w3.org/TR/rdf12-xml/"
dc:title="RDF 1.2 XML Syntax">
<ex:editor>
<rdf:Description ex:fullName="Dave Beckett">
<ex:homePage rdf:resource="http://purl.org/net/dajobe/"/>
<rdf:Description ex:fullName="Gregg Kellogg">
<ex:homePage rdf:resource="https://greggkellogg.net/"/>
</rdf:Description>
</ex:editor>
</rdf:Description>
Expand Down Expand Up @@ -519,11 +519,11 @@ <h3>Completing the Document: Document Element and XML Declaration</h3>
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"
<rdf:Description rdf:about="https://www.w3.org/TR/rdf12-xml/"
dc:title="RDF 1.2 XML Syntax">
<ex:editor>
<rdf:Description ex:fullName="Dave Beckett">
<ex:homePage rdf:resource="http://purl.org/net/dajobe/" />
<rdf:Description ex:fullName="Gregg Kellogg">
<ex:homePage rdf:resource="https://greggkellogg.net/" />
</rdf:Description>
</ex:editor>
</rdf:Description>
Expand Down Expand Up @@ -571,7 +571,7 @@ <h3>Languages: <code>xml:lang</code></h3>
<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">
<rdf:Description rdf:about="https://www.w3.org/TR/rdf12-xml/">
<dc:title>RDF 1.2 XML Syntax</dc:title>
<dc:title xml:lang="en">RDF 1.2 XML Syntax</dc:title>
<dc:title xml:lang="en-US">RDF 1.2 XML Syntax</dc:title>
Expand Down Expand Up @@ -771,13 +771,13 @@ <h3>Identifying Blank Nodes: <code>rdf:nodeID</code></h3>
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"
<rdf:Description rdf:about="https://www.w3.org/TR/rdf12-xml/"
dc:title="RDF 1.2 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="Gregg Kellogg">
<ex:homePage rdf:resource="https://greggkellogg.net/"/>
</rdf:Description>

</rdf:RDF>
Expand Down Expand Up @@ -817,11 +817,11 @@ <h3>Omitting Blank Nodes: <code>rdf:parseType="Resource"</code></h3>
<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"
<rdf:Description rdf:about="https://www.w3.org/TR/rdf12-xml/"
dc:title="RDF 1.2 XML Syntax">
<ex:editor rdf:parseType="Resource">
<ex:fullName>Dave Beckett</ex:fullName>
<ex:homePage rdf:resource="http://purl.org/net/dajobe/"/>
<ex:fullName>Gregg Kellogg</ex:fullName>
<ex:homePage rdf:resource="https://greggkellogg.net/"/>
</ex:editor>
</rdf:Description>
</rdf:RDF>
Expand Down Expand Up @@ -870,9 +870,9 @@ <h3>Omitting Nodes: Property Attributes on an empty Property Element</h3>
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:ex="http://example.org/stuff/1.0/"&gt;

&lt;rdf:Description rdf:about="http://www.w3.org/TR/rdf-syntax-grammar"
&lt;rdf:Description rdf:about="https://www.w3.org/TR/rdf12-xml/"
dc:title="RDF 1.2 XML Syntax"&gt;
&lt;ex:editor ex:fullName="Dave Beckett" /&gt;
&lt;ex:editor ex:fullName="Gregg Kellogg" /&gt;
&lt;!-- Note the ex:homePage property has been ignored for this example --&gt;
&lt;/rdf:Description&gt;

Expand Down Expand Up @@ -4138,6 +4138,7 @@ <h2>Changes between RDF 1.1 and RDF 1.2</h2>
<li>Adds <a href="#section-Syntax-annotations"></a> and rules
for creating <a data-cite="RDF12-CONCEPTS#dfn-reifier">reifiers</a> for <a data-cite="RDF12-CONCEPTS#dfn-triple-term">Triple Terms</a>, allowing them
to be used as the subject or object of other triples.</li>
<li>Unify the examples.</li>
</ul>
</section>

Expand Down
Loading