diff --git a/spec/index.html b/spec/index.html index 8e6c1ce..60c0743 100644 --- a/spec/index.html +++ b/spec/index.html @@ -3124,9 +3124,9 @@
A SPARQL query is executed against an RDF Dataset which represents a collection of +
A SPARQL query is executed against an RDF Dataset [[RDF12-CONCEPTS]] which represents a collection of graphs. An RDF Dataset comprises one graph, the default graph, which does not have a name, and - zero or more named graphs, where each named graph is identified by an IRI. A SPARQL query can + zero or more named graphs, where each named graph is identified by an IRI or a blank node. A SPARQL query can match different parts of the query pattern against different graphs as described in section 13.3 Querying the Dataset.
An RDF Dataset may contain zero named graphs; an RDF Dataset always contains one default @@ -3138,7 +3138,7 @@
The definition of RDF Dataset does not restrict the relationships of named and default +
The definition of RDF Dataset [[RDF12-CONCEPTS]] does not restrict the relationships of named and default graphs. Information can be repeated in different graphs; relationships between graphs can be exposed. Two useful arrangements are:
-# Default graph PREFIX dc: <http://purl.org/dc/elements/1.1/> <http://example.org/bob> dc:publisher "Bob" . <http://example.org/alice> dc:publisher "Alice" . --
-# Named graph: http://example.org/bob -PREFIX foaf: <http://xmlns.com/foaf/0.1/> -_:a foaf:name "Bob" . -_:a foaf:mbox <mailto:bob@oldcorp.example.org> . --
-# Named graph: http://example.org/alice -PREFIX foaf: <http://xmlns.com/foaf/0.1/> +GRAPH <http://example.org/bob> { + _:a foaf:name "Bob" . + _:a foaf:mbox <mailto:bob@oldcorp.example.org> . +} -_:a foaf:name "Alice" . -_:a foaf:mbox <mailto:alice@work.example.org> . +GRAPH <http://example.org/alice> { + _:a foaf:name "Alice" . + _:a foaf:mbox <mailto:alice@work.example.org> . +}
In this example, the default graph contains the names of the publishers of two named @@ -3184,7 +3179,6 @@
-# Default graph PREFIX foaf: <http://xmlns.com/foaf/0.1/> _:x foaf:name "Bob" . @@ -3192,20 +3186,16 @@-Examples of RDF Datasets
_:y foaf:name "Alice" . _:y foaf:mbox <mailto:alice@work.example.org> . -
-# Named graph: http://example.org/bob -PREFIX foaf: <http://xmlns.com/foaf/0.1/> -_:a foaf:name "Bob" . -_:a foaf:mbox <mailto:bob@oldcorp.example.org> . --
-# Named graph: http://example.org/alice -PREFIX foaf: <http://xmlns.com/foaf/0.1/> +GRAPH <http://example.org/bob> { + _:a foaf:name "Bob" . + _:a foaf:mbox <mailto:bob@oldcorp.example.org> . +} -_:a foaf:name "Alice" . -_:a foaf:mbox <mailto:alice@work.example> . +GRAPH <http://example.org/alice> { + _:a foaf:name "Alice" . + _:a foaf:mbox <mailto:alice@work.example> . +}
In an RDF merge, blank nodes in the merged graph are not shared with blank nodes from the graphs being merged.
@@ -7884,12 +7874,12 @@Definition: RDF Dataset
-An RDF dataset is a set:
- { G, (<u1>, G1), (<u2>, G2), . .
- . (<un>, Gn) }
- where G and each Gi are graphs, and each <ui> is an IRI. Each
+
The concept of an RDF Dataset is defined in [[RDF12-CONCEPTS]].
+For the following definitions, we capture each RDF dataset as a set:
+ { G, (<u1>, G1), (<u2>, G2),
+ ... (<un>, Gn) }
+ where G and each Gi are graphs, and each <ui> is an IRI or blank node. Each
<ui> is distinct.
G is called the default graph. (<ui>, Gi) are called named graphs.
@@ -8062,7 +8052,7 @@