Skip to content

Commit 4300f58

Browse files
pchampingkellogg
authored andcommitted
a number of small editorial changes
1 parent c3ca1d5 commit 4300f58

File tree

2 files changed

+27
-26
lines changed

2 files changed

+27
-26
lines changed

common/terms.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@
8686
is a string that can be used as an identifier for a <a>blank node</a> within the scope of a JSON-LD document.
8787
Blank node identifiers begin with <code>_:</code>.</dd>
8888
<dt><dfn>compact IRI</dfn></dt><dd>
89-
A compact IRI is has the form of <a>prefix</a>:<em>suffix</em>
89+
A compact IRI has the form of <a>prefix</a>:<em>suffix</em>
9090
and is used as a way of expressing an <a>IRI</a> without needing to define separate <a>term</a> definitions
9191
for each IRI contained within a common vocabulary identified by <a>prefix</a>.</dd>
9292
<dt><dfn>context</dfn></dt><dd>
9393
A set of rules for interpreting a <a>JSON-LD document</a>
94-
as specified in <a data-cite="JSON-LD11#the-context">The Context</a> of the JSON-LD Syntax specification [[JSON-LD11]].</dd>
94+
as specified in the <a data-cite="JSON-LD11#the-context">The Context</a> section of the JSON-LD Syntax specification [[JSON-LD11]].</dd>
9595
<dt><dfn>datatype IRI</dfn></dt><dd>
9696
A <a data-cite="RDF11-CONCEPTS#dfn-datatype-iri" class="externalDFN">datatype IRI</a>
9797
as specified by [[RDF11-CONCEPTS]].</dd>
@@ -142,18 +142,18 @@
142142
a <a>node object</a> or a <a>value object</a>
143143
in the input.</dd>
144144
<dt><dfn>graph name</dfn></dt><dd>
145-
The <a>IRI</a> identifying a <a data-cite="RDF11-CONCEPTS#dfn-graph-name" class="externalDFN">named graph</a>.</dd>
145+
The <a>IRI</a> or <a>blank node</a> identifying a <a data-cite="RDF11-CONCEPTS#dfn-graph-name" class="externalDFN">named graph</a>.</dd>
146146
<dt class="changed"><dfn>id map</dfn></dt><dd class="changed">
147147
An <a>id map</a> is a <a>dictionary</a> value of a <a>term</a>
148-
defined with <code>@container</code> set to <code>@id</code>,
149-
whose keys are interpreted as <a>IRIs</a> representing
150-
the <code>@id</code> of the associated <a>node object</a>;
151-
value MUST be a <a>node object</a>.
152-
If the value contains a key expanding to <code>@id</code>,
153-
it's value MUST be equivalent to the referencing key.</dd>
148+
defined with <code>@container</code> set to <code>@id</code>.
149+
The values of the <a>id map</a> MUST be a <a>node objects</a>,
150+
and its keys are interpreted as <a>IRIs</a> representing
151+
the <code>@id</code> of the associated <a>node object</a>.
152+
If a value in the <a>id map</a> contains a key expanding to <code>@id</code>,
153+
it's value MUST be equivalent to the referencing key in the <a>id map</a>.</dd>
154154
<dt class="changed"><dfn>graph object</dfn></dt><dd class="changed">
155155
A <a>graph object</a> represents a <a>named graph</a>
156-
represented as the value of a <a>dictionary member</a> within a <a>node object</a>.
156+
as the value of a <a>dictionary member</a> within a <a>node object</a>.
157157
When expanded, a graph object MUST have an <code>@graph</code> <a>member</a>,
158158
and MAY also have <code>@id</code>, and <code>@index</code> <a>members</a>.
159159
A <dfn class="preserve">simple graph object</dfn>
@@ -240,7 +240,7 @@
240240
<dt><dfn>nested property</dfn></dt><dd>
241241
A <a>nested property</a> is a key in a <a>node object</a>
242242
whose value is a <a>dictionary</a> containing <a>members</a> which are treated as if they were values of the <a>node object</a>.
243-
The <a>nested property</a> itself is semantically meaningless used only to create a sub-structure within a <a>node object</a>.
243+
The <a>nested property</a> itself is semantically meaningless and used only to create a sub-structure within a <a>node object</a>.
244244
</dd>
245245
<dt><dfn>node</dfn></dt><dd>
246246
Every <a data-cite="RDF11-CONCEPTS#dfn-node" class="externalDFN">node</a> is an <a>IRI</a>,

index.html

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ <h2>Design Goals and Rationale</h2>
394394
<dd>A JSON-LD document is always a valid JSON document. This ensures that
395395
all of the standard JSON libraries work seamlessly with JSON-LD documents.</dd>
396396
<dt>Expressiveness</dt>
397-
<dd>The syntax serializes directed graphs. This ensures that almost
397+
<dd>The syntax serializes labeled directed graphs. This ensures that almost
398398
every real world data model can be expressed.</dd>
399399
<dt>Terseness</dt>
400400
<dd>The JSON-LD syntax is very terse and human readable, requiring as
@@ -435,7 +435,7 @@ <h2>Data Model Overview</h2>
435435
such as a <a>string</a>, <a>number</a>,
436436
<a>typed values</a> (like dates and times)
437437
or an <a>IRI</a>.</p>
438-
<p class="changed">Within a directed graph, nodes with may
438+
<p class="changed">Within a directed graph, nodes may
439439
be <em>unnamed</em>, i.e., not identified by an <a>IRI</a> or representing
440440
data such as <a>strings</a> or <a>numbers</a>. Such nodes are called <a>blank nodes</a>,
441441
and may be identified using a <a>blank node identifier</a>.
@@ -966,7 +966,7 @@ <h2>The Context</h2>
966966
<a href="#sets-and-lists">ordered values</a>, and
967967
<a href="#nested-properties">nested properties</a>.
968968
More advanced features related to the JSON-LD Context are covered in
969-
section <a href="#advanced-concepts" class="sectionRef"></a>.</p>
969+
<a href="#advanced-concepts" class="sectionRef"></a>.</p>
970970
</section>
971971

972972
<section class="informative">
@@ -981,7 +981,7 @@ <h2>IRIs</h2>
981981
<em>scheme</em> along with <em>path</em> and optional <em>query</em> and
982982
<em>fragment</em> segments. A <a>relative IRI</a> is an IRI
983983
that is relative to some other <a>absolute IRI</a>.
984-
In JSON-LD, with exceptions are as described below, all <a>relative IRIs</a>
984+
In JSON-LD, with exceptions that are as described below, all <a>relative IRIs</a>
985985
are resolved relative to the <a>base IRI</a>.</p>
986986

987987
<p class="note">As noted in <a href="#how-to-read-this-document" class="sectionRef"></a>,
@@ -1279,7 +1279,7 @@ <h2>Uses of JSON Objects</h2>
12791279
<li><a>Numbers</a>, which describe literal numeric values,</li>
12801280
<li><a>Strings</a>, which may describe literal string values, or be used as the keys in a <a>JSON object</a>.</li>
12811281
<li><a>Boolean</a> <code>true</code> and <code>false</code>, which describe literal boolean values,</li>
1282-
<li><code>Null</code>, which describes the absense of a value,</li>
1282+
<li><code>null</code>, which describes the absense of a value,</li>
12831283
<li><a>Arrays</a>, which describe an ordered set of values of any type, and</li>
12841284
<li><a>JSON objects</a>, which provide a set of <a>dictionary members</a>, relating keys with values.</li>
12851285
</ul>
@@ -1363,7 +1363,7 @@ <h2>Specifying the Type</h2>
13631363
given <a>node object</a>, or the property for which a node is a value. For
13641364
example, in the <em>schema.org</em> vocabulary, the <em>givenName</em>
13651365
property is associated with a <em>Person</em>. Therefore, one may reason that
1366-
if a <a>node object</a> contains the property <em>firstName</em>, that the
1366+
if a <a>node object</a> contains the property <em>givenName</em>, that the
13671367
type is a <em>Person</em>; making this explicit with <code>@type</code> helps
13681368
to clarify the association.</p>
13691369

@@ -1578,7 +1578,7 @@ <h1>Advanced Concepts</h1>
15781578
describe such value typing.</p></dd>
15791579
<dt>Value ordering</dt>
15801580
<dd><p>In JSON, a property with an array value implies an implicit order;
1581-
arrays in JSON-LD do not provide an ordering of the contained elements by
1581+
arrays in JSON-LD do not convey any ordering of the contained elements by
15821582
default, unless defined using embedded structures or through a context
15831583
definition. See <a href="#sets-and-lists" class="sectionRef"></a> for a
15841584
further discussion.</p></dd>
@@ -2539,7 +2539,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
25392539
The <a>prefix</a> is a <a>term</a> taken from the
25402540
<a>active context</a> and is a short string identifying a
25412541
particular <a>IRI</a> in a JSON-LD document. For example, the
2542-
prefix <code>foaf</code> may be used as a short hand for the
2542+
prefix <code>foaf</code> may be used as a shorthand for the
25432543
Friend-of-a-Friend vocabulary, which is identified using the <a>IRI</a>
25442544
<code>http://xmlns.com/foaf/0.1/</code>. A developer may append
25452545
any of the FOAF vocabulary terms to the end of the prefix to specify a short-hand
@@ -3859,7 +3859,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
38593859
The use of <a>JSON literals</a> creates blobs of data which are not available for interpretation.
38603860
It is for use only in the rare cases that JSON cannot be represented as JSON-LD.</p>
38613861

3862-
<p>When a term is defined with <code>@type</code> <code>@json</code>,
3862+
<p>When a term is defined with <code>@type</code> set to <code>@json</code>,
38633863
a JSON-LD processor will treat the value as a <a>JSON literal</a>,
38643864
rather than interpreting it further as JSON-LD.
38653865
In the <a>expanded document form</a>, such JSON will become the value of <code>@value</code> within a <a>value object</a>
@@ -4241,12 +4241,12 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
42414241
42424242
ex1:barney ex2:mnemonic "the sidekick" .
42434243
4244-
[ ex2:fred ex1:barney, ex1:barney] .
4244+
[] ex2:fred ex1:barney, ex1:barney.
42454245
-->
42464246
</pre>
42474247
</aside>
42484248

4249-
<p class="note">The triple <code>[ ex2:fred ex1:barney, ex1:barney] .</code> is emitted twice,
4249+
<p class="note">The triple <code>[] ex2:fred ex1:barney .</code> is emitted twice,
42504250
but exists only once in an output dataset, as it is a duplicate triple.</p>
42514251

42524252
<p>Terms may also be defined using <a>absolute IRIs</a>
@@ -4567,7 +4567,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
45674567

45684568
<p>A JSON-LD author can express multiple values in a compact way by using
45694569
<a>arrays</a>. Since graphs do not describe ordering for links
4570-
between nodes, arrays in JSON-LD do not provide an ordering of the
4570+
between nodes, arrays in JSON-LD do not convey any ordering of the
45714571
contained elements by default. This is exactly the opposite from regular JSON
45724572
arrays, which are ordered by default. For example, consider the following
45734573
simple document:</p>
@@ -4993,8 +4993,9 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
49934993
<p>The implementation of <a>lists</a> in RDF depends on linking anonymous nodes
49944994
together using the properties <code>rdf:first</code> and
49954995
<code>rdf:rest</code>, with the end of the list defined as the resource
4996-
<code>rdf:nil</code>. This can be represented as statments, as the "statements"
4997-
tab illustrates.</p>
4996+
<code>rdf:nil</code>, as the "statements" tab illustrates.
4997+
This allows order to be represented within an unordered set of statements.
4998+
</p>
49984999

49995000
<p>Both JSON-LD and Turtle provide shortcuts for representing ordered lists.</p>
50005001

@@ -5276,7 +5277,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
52765277
</aside>
52775278

52785279
<p>This describes the use of this <a>array</a> as being unordered,
5279-
and order is maintained when processing a document. By default,
5280+
and order may change when processing a document. By default,
52805281
arrays of values are unordered, but this may be made explicit by
52815282
setting <code>@container</code> to <code>@set</code> in the <a>context</a>:
52825283

0 commit comments

Comments
 (0)