Skip to content

Commit 0d509df

Browse files
authored
Merge pull request #454 from json-ld/respec-updates
Respec updates
2 parents 89f571e + 6b43e1c commit 0d509df

File tree

4 files changed

+110
-102
lines changed

4 files changed

+110
-102
lines changed

spec/latest/common/terms.html

Lines changed: 29 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<section>
33
<h1>General Terminology</h1>
44
<p>This document uses the following terms as defined in JSON [[!RFC7159]]. Refer
5-
to the <em>JSON Grammar</em> section in [[!RFC7159]] for formal definitions.</p>
5+
to the <a data-cite="rfc7159#section-2">JSON Grammar section</a> in [[!RFC7159]] for formal definitions.</p>
66

77
<dl class="termlist">
88
<dt><dfn data-lt="arrays">array</dfn></dt><dd>
@@ -13,15 +13,15 @@ <h1>General Terminology</h1>
1313
the collection is <em>unordered</em> by default. While order is
1414
preserved in regular JSON arrays, it is not in regular JSON-LD arrays
1515
unless specifically defined (see
16-
<cite><a href="http://www.w3.org/TR/json-ld/#sets-and-lists" class="externalDFN">Sets and Lists</a></cite> in
16+
<a data-cite="JSON-LD#sets-and-lists" class="externalDFN">Sets and Lists</a> in
1717
the JSON-LD specification [[JSON-LD]]).</dd>
1818
<dt><dfn data-lt="JSON objects">JSON object</dfn></dt><dd>
1919
In the JSON serialization, an object structure is represented as a pair of curly brackets surrounding zero or
2020
more key-value pairs. A key is a <a>string</a>. A single colon comes after
2121
each key, separating the key from the value. A single comma separates a value
2222
from a following key. In JSON-LD the keys in an object MUST be unique.
2323
In the <em>abstract representation</em> a <a>JSON object</a> is equivalent to a
24-
<a href="http://www.w3.org/TR/WebIDL/#dfn-dictionary" class="externalDFN"><dfn data-lt="dictionaries">dictionary</dfn></a> (see [[WebIDL-2]]).</dd>
24+
<a data-cite="WebIDL#dfn-dictionary" class="externalDFN"><dfn data-lt="dictionaries">dictionary</dfn></a> (see [[WebIDL]]).</dd>
2525
<dt><dfn>null</dfn></dt><dd>
2626
The use of the <a>null</a> value within JSON-LD is used to
2727
ignore or reset values. A key-value pair in the <code>@context</code> where
@@ -37,9 +37,9 @@ <h1>General Terminology</h1>
3737
that the octal and hexadecimal formats are not used and that leading
3838
zeros are not allowed.
3939
In the <em>abstract representation</em>, a <a>number</a> is equivalent to either
40-
a <a href="http://www.w3.org/TR/WebIDL/#dfn-long" class="externalDFN">long</a>
41-
or <a href="http://www.w3.org/TR/WebIDL/#dfn-double" class="externalDFN">double</a>, depending
42-
on if the number has a non-zero fractional part (see [[WebIDL-2]]).</dd>
40+
a <a data-cote="WebIDL#idl-long" class="externalDFN">long</a>
41+
or <a data-cite="WebIDL#idl-double" class="externalDFN">double</a>, depending
42+
on if the number has a non-zero fractional part (see [[WebIDL]]).</dd>
4343
<dt><dfn>scalar</dfn></dt><dd>
4444
A scalar is either a JSON <a>string</a>, <a>number</a>, <a>true</a>,
4545
or <a>false</a>.</dd>
@@ -49,14 +49,14 @@ <h1>General Terminology</h1>
4949
character is represented as a single character string.</dd>
5050
<dt><dfn>true</dfn> and <dfn>false</dfn></dt><dd>
5151
Values that are used to express one of two possible
52-
<a href="http://www.w3.org/TR/WebIDL/#idl-boolean" class="externalDFN">boolean</a> states.</dd>
52+
<a data-cite="WebIDL#idl-boolean" class="externalDFN">boolean</a> states.</dd>
5353
</dl>
5454

5555
<p>Furthermore, the following terminology is used throughout this document:</p>
5656

5757
<dl class="termlist">
5858
<dt><dfn data-lt="absolute IRIs">absolute IRI</dfn></dt><dd>
59-
An absolute <a>IRI</a> is defined in [[!RFC3987]] containing a <em>scheme</em> along with a <em>path</em> and
59+
An <a data-cite="rfc3987#section-1.3">absolute IRI</a>> is defined in [[!RFC3987]] containing a <em>scheme</em> along with a <em>path</em> and
6060
optional <em>query</em> and fragment segments.</dd>
6161
<dt><dfn data-lt="base IRIs">base IRI</dfn></dt><dd>
6262
The <a>base IRI</a> is an <a>absolute IRI</a> established in the <a>context</a>,
@@ -79,9 +79,9 @@ <h1>General Terminology</h1>
7979
each IRI contained within a common vocabulary identified by <a>prefix</a>.</dd>
8080
<dt><dfn data-lt="contexts">context</dfn></dt><dd>
8181
A a set of rules for interpreting a <a>JSON-LD document</a> as specified in
82-
<cite><a href="http://www.w3.org/TR/json-ld/#the-context">The Context</a></cite> of the [[JSON-LD]] specification.</dd>
82+
<cite><a data-cite="JSON-LD#the-context">The Context</a> of the [[JSON-LD]] specification.</dd>
8383
<dt><dfn>datatype IRI</dfn></dt><dd>
84-
A <a href="http://www.w3.org/TR/rdf11-concepts/#dfn-datatype-iri" class="externalDFN">datatype IRI</a>
84+
A <a data-cite="rdf11-concepts#dfn-datatype-iri" class="externalDFN">datatype IRI</a>
8585
as specified by [[RDF11-CONCEPTS]].</dd>
8686
<dt><dfn>default graph</dfn></dt><dd>
8787
The default graph is the only graph in a JSON-LD document which has no <a>graph name</a>.
@@ -132,7 +132,7 @@ <h1>General Terminology</h1>
132132
an <a>array</a> of zero or more of the above possibilities.
133133
</dd>
134134
<dt><dfn data-lt="IRIs|Internationalized Resource Identifier"><abbr title="Internationalized Resource Identifier">IRI</abbr></dfn></dt><dd>
135-
An Internationalized Resource Identifier as described in [[!RFC3987]].</dd>
135+
An <a data-cite="rfc3987">Internationalized Resource Identifier</a> as described in [[!RFC3987]].</dd>
136136
<dt><dfn data-lt="JSON-LD documents">JSON-LD document</dfn></dt><dd>
137137
A <a>JSON-LD document</a> is a serialization of a collection of
138138
<a>graphs</a> and comprises exactly one
@@ -143,7 +143,7 @@ <h1>General Terminology</h1>
143143
<a>language-tagged string</a>.</dd>
144144
<dt><dfn data-lt="keywords">keyword</dfn></dt><dd>
145145
A JSON key that is specific to JSON-LD, specified in the JSON-LD Syntax specification [[!JSON-LD]]
146-
in the section titled <cite><a href="http://www.w3.org/TR/json-ld/#syntax-tokens-and-keywords">Syntax Tokens and Keywords</a></cite>.</dd>
146+
in the section titled <a data-cite="JSON-LD#syntax-tokens-and-keywords">Syntax Tokens and Keywords</a>.</dd>
147147
<dt><dfn data-lt="language maps">language map</dfn></dt><dd>
148148
An <a>language map</a> is a <a>JSON object</a> value of a <a>term</a> defined with
149149
<code>@container</code> set to <code>@language</code>, whose keys MUST be <a>strings</a> representing
@@ -155,17 +155,17 @@ <h1>General Terminology</h1>
155155
<dt><dfn data-lt="language-tagged strings">language-tagged string</dfn></dt><dd>
156156
A <a>language-tagged string</a> consists of a string and a non-empty language
157157
tag as defined by [[!BCP47]]. The language tag MUST be well-formed according to
158-
<a href="http://tools.ietf.org/html/bcp47#section-2.2.9">section 2.2.9 Classes of Conformance</a>
158+
<a data-cite="bcp47#section-2.2.9">section 2.2.9 Classes of Conformance</a>
159159
of [[!BCP47]], and is normalized to lowercase.</dd>
160160
<dt><dfn>Linked Data</dfn></dt><dd>
161161
A set of documents, each containing a representation of a <a>linked data graph</a>.</dd>
162162
<dt><dfn data-lt="graph|graphs">linked data graph</dfn></dt><dd>
163163
A labeled directed graph, i.e., a set of <a>nodes</a>
164164
connected by <a>edges</a>,
165-
as specified in the <cite><a href="http://www.w3.org/TR/json-ld/#data-model">Data Model</a></cite>
165+
as specified in the <a data-cite="JSON-LD#data-model">Data Model</a>
166166
section of the JSON-LD specification [[!JSON-LD]].
167167
A <a>linked data graph</a> is a generalized representation of a
168-
<cite><a href="http://www.w3.org/TR/rdf11-concepts/#dfn-rdf-graph">RDF graph</a></cite>
168+
<a data-cite="rdf11-concepts#dfn-rdf-graph">RDF graph</a>
169169
as defined in [[!RDF-CONCEPTS]].</dd>
170170
<dt><dfn data-lt="lists">list</dfn></dt><dd>
171171
A <a>list</a> is an ordered sequence of <a>IRIs</a>,
@@ -184,7 +184,6 @@ <h1>General Terminology</h1>
184184
A <a>nested property</a> is a <a>property</a> which is contained within an object referenced by
185185
a semantically meaningless <em>nesting property</em>.
186186
</dd>
187-
(the <a>graph name</a>) and a <a>graph</a>.</dd>
188187
<dt><dfn data-lt="nodes">node</dfn></dt><dd>
189188
Every <a>node</a> is an <a>IRI</a>, a <a>blank node</a>,
190189
a <a>JSON-LD value</a>, or a <a>list</a>.
@@ -216,29 +215,29 @@ <h1>General Terminology</h1>
216215
A piece of information that contains four items; a <a>subject</a>, a <a>property</a>,
217216
an <a>object</a>, and a <a>graph name</a>.</dd>
218217
<dt><dfn>RDF collection</dfn></dt><dd>
219-
A <a href="http://www.w3.org/TR/rdf-schema/#ch_collectionvocab" class="externalDFN">collection</a>
218+
A <a data-cite="rdf-schema#ch_collectionvocab" class="externalDFN">collection</a>
220219
as specified by [[RDF-SCHEMA]].</dd>
221220
<dt><dfn>RDF dataset</dfn></dt><dd>
222-
A <a href="http://www.w3.org/TR/rdf11-concepts/#dfn-rdf-dataset" class="externalDFN">dataset</a>
221+
A <a data-cite="rdf11-concepts#dfn-rdf-dataset" class="externalDFN">dataset</a>
223222
as specified by [[RDF11-CONCEPTS]] representing a collection of
224-
<a href="http://www.w3.org/TR/rdf11-concepts/#dfn-rdf-graph">RDF graphs</a>.</dd>
223+
<a data-cite="rdf11-concepts#dfn-rdf-graph">RDF graphs</a>.</dd>
225224
<dt><dfn data-lt="RDF literals">RDF literal</dfn></dt><dd>
226-
A <a href="http://www.w3.org/TR/rdf11-concepts/#dfn-literal" class="externalDFN">literal</a>
225+
A <a data-cite="rdf11-concepts#dfn-literal" class="externalDFN">literal</a>
227226
as specified by [[RDF11-CONCEPTS]].</dd>
228227
<dt><dfn>RDF object</dfn></dt><dd>
229-
An <a href="http://www.w3.org/TR/rdf11-concepts/#dfn-object" class="externalDFN">object</a>
228+
An <a data-cite="rdf11-concepts#dfn-object" class="externalDFN">object</a>
230229
as specified by [[RDF11-CONCEPTS]].</dd>
231-
<dt><dfn data-lt="predicate|RDF predicates">RDF predicate</dfn></dt><dd>
232-
A <a href="http://www.w3.org/TR/rdf11-concepts/#dfn-predicate" class="externalDFN">predicate</a>
230+
<dt><dfn data-lt="predicate|predicates|RDF predicates">RDF predicate</dfn></dt><dd>
231+
A <a data-cite="rdf11-concepts#dfn-predicate" class="externalDFN">predicate</a>
233232
as specified by [[RDF11-CONCEPTS]].</dd>
234233
<dt><dfn>RDF resource</dfn></dt><dd>
235-
A <a href="http://www.w3.org/TR/rdf11-concepts/#dfn-resource" class="externalDFN">resource</a>
234+
A <a data-cite="rdf11-concepts#dfn-resource" class="externalDFN">resource</a>
236235
as specified by [[RDF11-CONCEPTS]].</dd>
237236
<dt><dfn>RDF subject</dfn></dt><dd>
238-
A <a href="http://www.w3.org/TR/rdf11-concepts/#dfn-subject" class="externalDFN">subject</a>
237+
A <a data-cite="rdf11-concepts#dfn-subject" class="externalDFN">subject</a>
239238
as specified by [[RDF11-CONCEPTS]].</dd>
240239
<dt><dfn data-lt="triple|triples|RDF triples">RDF triple</dfn></dt><dd>
241-
A <a href="http://www.w3.org/TR/rdf11-concepts/#dfn-rdf-triple" class="externalDFN">triple</a>
240+
A <a data-cite="rdf11-concepts#dfn-rdf-triple" class="externalDFN">triple</a>
242241
as specified by [[RDF11-CONCEPTS]].</dd>
243242
<dt><dfn data-lt="relative IRIs">relative IRI</dfn></dt><dd>
244243
A relative IRI is an <a>IRI</a> that is relative to some other <a>absolute IRI</a>.</dd>
@@ -265,8 +264,8 @@ <h1>General Terminology</h1>
265264
are merged with the map value when expanding.</dd>
266265
<dt><dfn>typed literal</dfn></dt><dd>
267266
A <a>typed literal</a> is a <a>literal</a> with an associated <a>IRI</a>
268-
which indicates the literal's datatype. See <cite><a
269-
href="http://www.w3.org/TR/rdf11-concepts/#dfn-typed-literal">languaged-tagged literal</a></cite> in [[!RDF-CONCEPTS]].</dd>
267+
which indicates the literal's datatype. See <a
268+
data-cite="rdf11-concepts#dfn-typed-literal">languaged-tagged literal</a> in [[!RDF-CONCEPTS]].</dd>
270269
<dt><dfn data-lt="typed values">typed value</dfn></dt><dd>
271270
A <a>typed value</a> consists of a value, which is a <a>string</a>, and a type,
272271
which is an <a>IRI</a>.</dd>
@@ -321,7 +320,7 @@ <h1>Algorithm Terms</h1>
321320
A <a>JSON-LD Processor</a> is a system which can perform the algorithms defined in [[JSON-LD-API]].</dd>
322321
<dt><dfn>map of flattened subjects</dfn></dt><dd>
323322
A map of subjects that is the result of the
324-
<a href="https://www.w3.org/TR/json-ld-api/#node-map-generation">Node Map Generation algorithm</a>.</dd>
323+
<a data-cite="JSON-LD-API#node-map-generation">Node Map Generation algorithm</a>.</dd>
325324
<dt><dfn>object embed flag</dfn></dt><dd>
326325
A flag specifying that <a>node objects</a> should be directly embedded in the output,
327326
instead of being referred to by their <a>IRI</a>.</dd>
@@ -338,7 +337,7 @@ <h1>Algorithm Terms</h1>
338337
<a>JSON object</a>.</dd>
339338
<dt><dfn data-lt="promises">promise</dfn></dt><dd>
340339
A <em>promise</em> is an object that represents the eventual result of a single asynchronous operation.
341-
Promises are defined in [[!promises-guide]].</dd>
340+
<a data-cite="ecmascript-6.0#sec-promise-objects">Promises</a> are defined in [[ECMASCRIPT-6.0]].</dd>
342341
<dt><dfn>require all flag</dfn></dt><dd>
343342
A flag specifying that all properties present in the <a>input frame</a>
344343
MUST either have a default value or be present in the <a>JSON-LD

0 commit comments

Comments
 (0)