@@ -394,7 +394,7 @@ <h2>Design Goals and Rationale</h2>
394
394
< dd > A JSON-LD document is always a valid JSON document. This ensures that
395
395
all of the standard JSON libraries work seamlessly with JSON-LD documents.</ dd >
396
396
< 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
398
398
every real world data model can be expressed.</ dd >
399
399
< dt > Terseness</ dt >
400
400
< dd > The JSON-LD syntax is very terse and human readable, requiring as
@@ -435,7 +435,7 @@ <h2>Data Model Overview</h2>
435
435
such as a < a > string</ a > , < a > number</ a > ,
436
436
< a > typed values</ a > (like dates and times)
437
437
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
439
439
be < em > unnamed</ em > , i.e., not identified by an < a > IRI</ a > or representing
440
440
data such as < a > strings</ a > or < a > numbers</ a > . Such nodes are called < a > blank nodes</ a > ,
441
441
and may be identified using a < a > blank node identifier</ a > .
@@ -966,7 +966,7 @@ <h2>The Context</h2>
966
966
< a href ="#sets-and-lists "> ordered values</ a > , and
967
967
< a href ="#nested-properties "> nested properties</ a > .
968
968
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 >
970
970
</ section >
971
971
972
972
< section class ="informative ">
@@ -981,7 +981,7 @@ <h2>IRIs</h2>
981
981
< em > scheme</ em > along with < em > path</ em > and optional < em > query</ em > and
982
982
< em > fragment</ em > segments. A < a > relative IRI</ a > is an IRI
983
983
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 >
985
985
are resolved relative to the < a > base IRI</ a > .</ p >
986
986
987
987
< 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>
1279
1279
< li > < a > Numbers</ a > , which describe literal numeric values,</ li >
1280
1280
< li > < a > Strings</ a > , which may describe literal string values, or be used as the keys in a < a > JSON object</ a > .</ li >
1281
1281
< 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 >
1283
1283
< li > < a > Arrays</ a > , which describe an ordered set of values of any type, and</ li >
1284
1284
< li > < a > JSON objects</ a > , which provide a set of < a > dictionary members</ a > , relating keys with values.</ li >
1285
1285
</ ul >
@@ -1363,7 +1363,7 @@ <h2>Specifying the Type</h2>
1363
1363
given < a > node object</ a > , or the property for which a node is a value. For
1364
1364
example, in the < em > schema.org</ em > vocabulary, the < em > givenName</ em >
1365
1365
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
1367
1367
type is a < em > Person</ em > ; making this explicit with < code > @type</ code > helps
1368
1368
to clarify the association.</ p >
1369
1369
@@ -1578,7 +1578,7 @@ <h1>Advanced Concepts</h1>
1578
1578
describe such value typing.</ p > </ dd >
1579
1579
< dt > Value ordering</ dt >
1580
1580
< 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
1582
1582
default, unless defined using embedded structures or through a context
1583
1583
definition. See < a href ="#sets-and-lists " class ="sectionRef "> </ a > for a
1584
1584
further discussion.</ p > </ dd >
@@ -2539,7 +2539,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
2539
2539
The < a > prefix</ a > is a < a > term</ a > taken from the
2540
2540
< a > active context</ a > and is a short string identifying a
2541
2541
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
2543
2543
Friend-of-a-Friend vocabulary, which is identified using the < a > IRI</ a >
2544
2544
< code > http://xmlns.com/foaf/0.1/</ code > . A developer may append
2545
2545
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>
3859
3859
The use of < a > JSON literals</ a > creates blobs of data which are not available for interpretation.
3860
3860
It is for use only in the rare cases that JSON cannot be represented as JSON-LD.</ p >
3861
3861
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 > ,
3863
3863
a JSON-LD processor will treat the value as a < a > JSON literal</ a > ,
3864
3864
rather than interpreting it further as JSON-LD.
3865
3865
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>
4241
4241
4242
4242
ex1:barney ex2:mnemonic "the sidekick" .
4243
4243
4244
- [ ex2:fred ex1:barney, ex1:barney] .
4244
+ [] ex2:fred ex1:barney, ex1:barney.
4245
4245
-->
4246
4246
</ pre >
4247
4247
</ aside >
4248
4248
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,
4250
4250
but exists only once in an output dataset, as it is a duplicate triple.</ p >
4251
4251
4252
4252
< 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>
4567
4567
4568
4568
< p > A JSON-LD author can express multiple values in a compact way by using
4569
4569
< 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
4571
4571
contained elements by default. This is exactly the opposite from regular JSON
4572
4572
arrays, which are ordered by default. For example, consider the following
4573
4573
simple document:</ p >
@@ -4993,8 +4993,9 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
4993
4993
< p > The implementation of < a > lists</ a > in RDF depends on linking anonymous nodes
4994
4994
together using the properties < code > rdf:first</ code > and
4995
4995
< 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 >
4998
4999
4999
5000
< p > Both JSON-LD and Turtle provide shortcuts for representing ordered lists.</ p >
5000
5001
@@ -5276,7 +5277,7 @@ <h3>Using the Document Base for the Default Vocabulary</h3>
5276
5277
</ aside >
5277
5278
5278
5279
< 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,
5280
5281
arrays of values are unordered, but this may be made explicit by
5281
5282
setting < code > @container</ code > to < code > @set</ code > in the < a > context</ a > :
5282
5283
0 commit comments