diff --git a/spec/index.html b/spec/index.html index ee4d284b..545c3aaa 100644 --- a/spec/index.html +++ b/spec/index.html @@ -149,14 +149,47 @@
There can be four kinds of nodes in an +
There are four kinds of nodes that can be in an RDF graph: IRIs, literals, blank nodes, and triple terms.
- + +From this definition, it follows that when one term appears in multiple + triples, these are simply multiple occurrences of that same term. For + example, in a graph containing two triples (here expressed in common + set and + tuple notation, and + using abstract names as distinct terms):
+
+ { (R1, P1, R3),
+ (R2, P2, R3) }
+
+ the term R3 is the same single term used twice, and there are five terms + in total. This is more readily shown in two-dimensional graph diagrams, + where one single node can simply be connected from or to multiple other + nodes using labelled arcs.
+This abstract data model can be encoded in different ways while + preserving the same stucture, as described in [[[#rdf-documents]]].
+ +The basis for concrete RDF syntaxes is the structure of the + abstract data model, + called the abstract syntax; + summarized in the following two tables.
+| Production | +Defined as | +
|---|---|
| RDF graph | +a set of zero or more triples | +
| triple | +a 3-tuple of + a subject, a predicate, and an object | +
| subject | +either an IRI + or a Blank node | +
| predicate | +an IRI | +
| object | +either an IRI + or a Blank node + or a Literal + or a triple | +
| Production | +Defined as | +
|---|---|
| RDF dataset | +a pair of a default graph + and a set of zero or more named graphs | +
| default graph | +an RDF graph | +
| named graph | +a pair of + a graph name and an RDF graph | +
| graph name | +either an IRI + or a Blank node | +
An IRI in the RDF abstract syntax - +
An IRI in the RDF abstract syntax MUST be resolved per [[RFC3986]] and MUST NOT be a relative reference. An IRI MAY contain a fragment identifier. @@ -1006,10 +1103,10 @@
Some concrete syntaxes MAY support +
Some concrete syntaxes support
simple literals consisting of only a
lexical form without any datatype IRI, language tag, or base direction.
- Simple literals are syntactic sugar for abstract syntax
+ Simple literals are syntactic sugar for abstract syntax
literals
with the datatype IRI
http://www.w3.org/2001/XMLSchema#string
diff --git a/spec/rdf-graph-arcs.svg b/spec/rdf-graph-arcs.svg
new file mode 100644
index 00000000..144a906b
--- /dev/null
+++ b/spec/rdf-graph-arcs.svg
@@ -0,0 +1,35 @@
+
diff --git a/spec/rdf-graph.svg b/spec/rdf-graph.svg
index 9d6f00eb..089bfd78 100644
--- a/spec/rdf-graph.svg
+++ b/spec/rdf-graph.svg
@@ -1,4 +1,4 @@
-