Skip to content

Commit c5c49a5

Browse files
committed
Distinguish between a graph object, and a node object that can also describe a named graph.
1 parent 79a4d32 commit c5c49a5

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

common/terms.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@
160160
is a <a>graph object</a> which does not have an <code>@id</code> <a>member</a>.
161161
Note that <a>node objects</a> may have a <code>@graph</code> member,
162162
but are not considered <a>graph objects</a> if they include any other <a>members</a>.
163-
A top-level object consisting of <code>@graph</code> is also not a <a>graph object</a>.</dd>
163+
A top-level object consisting of <code>@graph</code> is also not a <a>graph object</a>.
164+
Note that a <a>node object</a> may also represent a <a>named graph</a> it it includes other properties.</dd>
164165
<dt><dfn>index map</dfn></dt><dd>
165166
An <a>index map</a> is a <a>dictionary</a> value of a <a>term</a>
166167
defined with <code>@container</code> set to <code>@index</code>,

index.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,9 +1333,12 @@ <h2>Uses of JSON Objects</h2>
13331333
</dl>
13341334
</dd>
13351335
<dt><a>Graph objects</a></dt><dd>
1336-
A Graph object is much like a <a>node object</a>, except that it defines a <a>named graph</a>.
1336+
A <a>graph object</a> is much like a <a>node object</a>, except that it defines a <a>named graph</a>.
13371337
See <a class="sectionRef" href="#named-graphs"></a> for more information,
13381338
and <a class="sectionRef" href="#graph-objects"></a> for the normative definition.
1339+
A <a>node object</a> may also describe a <a>named graph</a>, in addition to other properties
1340+
defined on the node. The notable difference is that a <a>graph object</a> only describes
1341+
a <a>named graph</a>.
13391342
</dd>
13401343
<dt><a>Context Definitions</a></dt><dd>
13411344
A Context Definition uses the <a>JSON object</a> form, but is not itself data in a <a>linked data graph</a>.
@@ -9982,7 +9985,7 @@ <h2>Node Objects</h2>
99829985
<h2>Graph Objects</h2>
99839986

99849987
<p>A <a>graph object</a> represents a <a>named graph</a>, which MAY include
9985-
include an explicit <a>graph name</a>.
9988+
an explicit <a>graph name</a>.
99869989
A <a>dictionary</a> is a <a>graph object</a> if
99879990
it exists outside of a JSON-LD <a>context</a>,
99889991
it is not a <a>node object</a>,

0 commit comments

Comments
 (0)