From 3b86218cd58f000889a61a067a0259cbcd05b14c Mon Sep 17 00:00:00 2001
From: Dominik Tomaszuk
Date: Mon, 15 Sep 2025 22:28:14 +0200
Subject: [PATCH 1/5] unify the examples
---
spec/index.html | 46 +++++++++++++++++++++++-----------------------
1 file changed, 23 insertions(+), 23 deletions(-)
diff --git a/spec/index.html b/spec/index.html
index 23e537b..6703aaa 100644
--- a/spec/index.html
+++ b/spec/index.html
@@ -304,11 +304,11 @@ Node Elements and Property Elements
data-transform="updateExample"
title="Node Elements with IRIs added">
@@ -381,14 +381,14 @@ Multiple Property Elements
data-transform="updateExample"
title="Using multiple property elements on a node element">
+
+
+
+
+ https://www.w3.org/TR/rdf12-xml/
+ RDF 1.2 XML Syntax
+ http://purl.org/dc/elements/1.1/title
+
+
+
+ https://greggkellogg.net/
+ http://www.example.org/terms/homePage
+ http://www.example.org/terms/editor
+
+
+
+ Gregg Kellogg
+ http://www.example.org/terms/fullName
+
+
+
diff --git a/spec/figure2.svg b/spec/figure2.svg
index b26c2ce..f5042a9 100644
--- a/spec/figure2.svg
+++ b/spec/figure2.svg
@@ -1,70 +1,419 @@
-
-
- Example RDF Graph used in the "RDF 1.2 XML Syntax" Recommendation
- The diagram displays the following triples in N-Triple syntax (with the angular brackets replaced to avoid syntax issues in the present description)
- [http://www.w3.org/TR/rdf-syntax-grammar] [http://purl.org/dc/elements/1.1/title] "RDF 1.2 XML Syntax" .
- [http://www.w3.org/TR/rdf-syntax-grammar] [http://www.example.org/terms/editor] _:b1 .
- _:b1 [http://www.example.org/terms/homePage] [http://purl.org/net/dajobe] .
- _:b1 [http://www.example.org/terms/fullName] "Dave Beckett" .
- The second and third triples are highlighted
- (using a different color and in bold text).
-
-
-
-
- Graph RDF/XML Example 2
- 2023-02-08
- image/svg+xml
-
-
-
- The diagram displays the following triples in N-Triple syntax (with the angular brackets replaced to avoid syntax issues in the present description)
- [http://www.w3.org/TR/rdf-syntax-grammar] [http://purl.org/dc/elements/1.1/title] "RDF 1.2 XML Syntax" .
- [http://www.w3.org/TR/rdf-syntax-grammar] [http://www.example.org/terms/editor] _:b1 .
- _:b1 [http://www.example.org/terms/homePage] [http://purl.org/net/dajobe] .
- _:b1 [http://www.example.org/terms/fullName] "Dave Beckett" .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ Example RDF Graph used in the "RDF 1.2 XML Syntax" Recommendation
+ The diagram displays the following triples in N-Triple syntax (with the angular brackets replaced to avoid syntax issues in the present description)
+ [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://www.example.org/terms/editor] _:b1 .
+ _:b1 [http://www.example.org/terms/homePage] [https://greggkellogg.net/] .
+ _:b1 [http://www.example.org/terms/fullName] "Gregg Kellogg" .
+ The second and third triples are highlighted (using a different color).
+
+
+
+
+ Graph RDF/XML Example 2
+ 2025-12-13
+ image/svg+xml
+
+
+
+ The diagram displays the following triples in N-Triple syntax (with the angular brackets replaced to avoid syntax issues in the present description)
+ [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://www.example.org/terms/editor] _:b1 .
+ _:b1 [http://www.example.org/terms/homePage] [https://greggkellogg.net/] .
+ _:b1 [http://www.example.org/terms/fullName] "Gregg Kellogg" .
+ The second and third triples are highlighted (using a different color).
+
+
+
+ Example RDF Graph used in the "RDF 1.2 XML Syntax" Recommendation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ https://www.w3.org/TR/rdf12-xml/
+ RDF 1.2 XML Syntax
+ http://purl.org/dc/elements/1.1/title
+
+
+
+ https://greggkellogg.net/
+ http://www.example.org/terms/homePage
+ http://www.example.org/terms/editor
+
+
+
+ Gregg Kellogg
+ http://www.example.org/terms/fullName
+
+
+
From 57bb690c75eb0ebe3404ca42ec0cdbd4615b9e6a Mon Sep 17 00:00:00 2001
From: Dominik Tomaszuk
Date: Thu, 18 Dec 2025 10:13:10 +0100
Subject: [PATCH 3/5] change the spec file and example files
---
spec/example07.nt | 8 ++++----
spec/example07.rdf | 4 ++--
spec/example08.nt | 6 +++---
spec/example08.rdf | 6 +++---
spec/example12.nt | 8 ++++----
spec/example12.rdf | 8 ++++----
spec/example13.nt | 8 ++++----
spec/example13.rdf | 8 ++++----
spec/example14.nt | 6 +++---
spec/example14.rdf | 6 +++---
spec/index.html | 20 ++++++++++----------
11 files changed, 44 insertions(+), 44 deletions(-)
diff --git a/spec/example07.nt b/spec/example07.nt
index 1f570f2..5479382 100644
--- a/spec/example07.nt
+++ b/spec/example07.nt
@@ -1,4 +1,4 @@
- "RDF 1.2 XML Syntax" .
-_:genid1 "Dave Beckett" .
-_:genid1 .
- _:genid1 .
+ "RDF 1.2 XML Syntax" .
+_:genid1 "Gregg Kellogg" .
+_:genid1 .
+ _:genid1 .
diff --git a/spec/example07.rdf b/spec/example07.rdf
index 6520676..65bad98 100644
--- a/spec/example07.rdf
+++ b/spec/example07.rdf
@@ -5,8 +5,8 @@
-
-
+
+
diff --git a/spec/example08.nt b/spec/example08.nt
index a0892fd..2960c56 100644
--- a/spec/example08.nt
+++ b/spec/example08.nt
@@ -1,6 +1,6 @@
- "RDF/XML Syntax Specification (Revised)" .
- "RDF/XML Syntax Specification (Revised)"@en .
- "RDF/XML Syntax Specification (Revised)"@en-us .
+ "RDF 1.2 XML Syntax" .
+ "RDF 1.2 XML Syntax"@en .
+ "RDF 1.2 XML Syntax"@en-us .
"Der Baum"@de .
"Das Buch ist au\u00DFergew\u00F6hnlich"@de .
"The Tree"@en .
diff --git a/spec/example08.rdf b/spec/example08.rdf
index 4974387..745e724 100644
--- a/spec/example08.rdf
+++ b/spec/example08.rdf
@@ -2,9 +2,9 @@
- RDF/XML Syntax Specification (Revised)
- RDF/XML Syntax Specification (Revised)
- RDF/XML Syntax Specification (Revised)
+ RDF 1.2 XML Syntax
+ RDF 1.2 XML Syntax
+ RDF 1.2 XML Syntax
diff --git a/spec/example12.nt b/spec/example12.nt
index e198a02..4c9de25 100644
--- a/spec/example12.nt
+++ b/spec/example12.nt
@@ -1,4 +1,4 @@
- "RDF/XML Syntax Specification (Revised)" .
- _:abc .
-_:abc "Dave Beckett" .
-_:abc .
+ "RDF 1.2 XML Syntax" .
+ _:abc .
+_:abc "Gregg Kellogg" .
+_:abc .
diff --git a/spec/example12.rdf b/spec/example12.rdf
index 73ca564..1972f53 100644
--- a/spec/example12.rdf
+++ b/spec/example12.rdf
@@ -2,13 +2,13 @@
-
+
-
+ ex:fullName="Gregg Kellogg">
+
diff --git a/spec/example13.nt b/spec/example13.nt
index dd954f3..5479382 100644
--- a/spec/example13.nt
+++ b/spec/example13.nt
@@ -1,4 +1,4 @@
- "RDF/XML Syntax Specification (Revised)" .
-_:genid1 "Dave Beckett" .
-_:genid1 .
- _:genid1 .
+ "RDF 1.2 XML Syntax" .
+_:genid1 "Gregg Kellogg" .
+_:genid1 .
+ _:genid1 .
diff --git a/spec/example13.rdf b/spec/example13.rdf
index be34647..008184d 100644
--- a/spec/example13.rdf
+++ b/spec/example13.rdf
@@ -2,11 +2,11 @@
-
+
- Dave Beckett
-
+ Gregg Kellogg
+
diff --git a/spec/example14.nt b/spec/example14.nt
index 956fcc8..002043d 100644
--- a/spec/example14.nt
+++ b/spec/example14.nt
@@ -1,3 +1,3 @@
- "RDF/XML Syntax Specification (Revised)" .
-_:genid1 "Dave Beckett" .
- _:genid1 .
+ "RDF 1.2 XML Syntax" .
+_:genid1 "Gregg Kellogg" .
+ _:genid1 .
diff --git a/spec/example14.rdf b/spec/example14.rdf
index 8fb5f08..c782ec7 100644
--- a/spec/example14.rdf
+++ b/spec/example14.rdf
@@ -2,9 +2,9 @@
-
-
+
+
diff --git a/spec/index.html b/spec/index.html
index 6703aaa..d423e7e 100644
--- a/spec/index.html
+++ b/spec/index.html
@@ -251,7 +251,7 @@ Node Elements and Property Elements
alt="One path through the graph for RDF/XML Example 4." />
One Path Through the Graph
described in
- highlighting the path from `<http://www.w3.org/TR/rdf-syntax-grammar>`
+ highlighting the path from `<https://www.w3.org/TR/rdf12-xml/>`
to `<http://purl.org/net/dajobe>`.
Elements along the path are marked in bold text .
@@ -261,11 +261,11 @@ Node Elements and Property Elements
graph corresponds to the node/predicate arc stripes:
- Node with IRI http://www.w3.org/TR/rdf-syntax-grammar
+ Node with IRI https://www.w3.org/TR/rdf12-xml/
Predicate Arc labeled with IRI http://example.org/terms/editor
Node with no IRI
Predicate Arc labeled with IRI http://example.org/terms/homePage
- Node with IRI http://purl.org/net/dajobe/
+ Node with IRI https://greggkellogg.net/
In RDF/XML, the sequence of 5 nodes and predicate arcs on
@@ -370,7 +370,7 @@
Multiple Property Elements
Taking , there are
two node elements that can take multiple property elements .
The subject node with IRI
- http://www.w3.org/TR/rdf-syntax-grammar
+ https://www.w3.org/TR/rdf12-xml/
has property elements ex:editor and dc:title
and the node element for the blank node can take ex:homePage
and ex:fullName. This abbreviation
@@ -414,7 +414,7 @@
Empty Property Elements
In this example, the property element ex:homePage
contains an empty node element with the IRI
- http://purl.org/net/dajobe/. This can be replaced with
+ https://greggkellogg.net/. This can be replaced with
the empty property element form giving the result shown in
:
@@ -467,7 +467,7 @@ Property Attributes
data-transform="updateExample"
title="Replacing property elements with string literal content into property attributes">