Skip to content

Commit 2512407

Browse files
committed
Update references to RFC3987 with RDF12-CONCEPTS.
Updates other RDF references to RDF 1.2 versions. Depends on an update to RDF12-CONCEPTS to export the "IRI reference" term. Temporarily skips the check for consistence of common files. Fixes #355.
1 parent cee83dc commit 2512407

File tree

3 files changed

+82
-86
lines changed

3 files changed

+82
-86
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ jobs:
2020
- name: Install dependencies
2121
run: bundle install
2222

23-
- name: "Verify common files are consistent"
24-
run: |
25-
git remote add -f b https://github.com/w3c/json-ld-wg.git
26-
git remote update
27-
git diff --exit-code remotes/b/main -- common
23+
# Remove temorarily
24+
#- name: "Verify common files are consistent"
25+
# run: |
26+
# git remote add -f b https://github.com/w3c/json-ld-wg.git
27+
# git remote update
28+
# git diff --exit-code remotes/b/main -- common
2829

2930
- name: Verify examples are consistent
3031
run: bundle exec rake test

common/terms.html

Lines changed: 40 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -66,102 +66,98 @@
6666
</dd>
6767
</dl>
6868

69-
<p>Terms imported from [[[RFC3987]]] [[RFC3987]]</p>
69+
<p>Terms imported from [[[RDF12-CONCEPTS]]] [[RDF12-CONCEPTS]], [[[RDF12-SCHEMA]]] [[RDF12-SCHEMA]], and [[[LINKED-DATA]]] [[LINKED-DATA]]</p>
7070
<dl class="termlist" data-sort>
71-
<dt><dfn data-cite="RFC3987#section-2" data-lt="Internationalized Resource Identifier" class="preserve"><abbr title="Internationalized Resource Identifier">IRI</abbr></dfn></dt><dd>
72-
The absolute form of an <a>IRI</a> containing a <em>scheme</em> along with a <em>path</em>
73-
and optional <em>query</em> and <em>fragment</em> segments.</dd>
74-
<dt><dfn data-cite="RFC3987#section-1.3" class="preserve">IRI reference</dfn></dt><dd>
75-
Denotes the common usage of an <a>Internationalized Resource Identifier</a>.
76-
An <a>IRI reference</a> may be absolute or
77-
<a data-lt="relative IRI reference">relative</a>.
78-
However, the "IRI" that results from such a reference only includes absolute <a>IRIs</a>;
79-
any <a>relative IRI references</a> are resolved to their absolute form.</dd>
80-
<dt><dfn data-cite="RFC3987#section-6.5" class="preserve">relative IRI reference</dfn></dt><dd>
81-
A relative IRI reference is an <a>IRI reference</a> that is relative to some other <a>IRI</a>,
82-
typically the <a>base IRI</a> of the document.
83-
Note that <a>properties</a>,
84-
values of <code>@type</code>,
85-
and values of <a>terms</a> defined to be <em>vocabulary relative</em>
86-
are resolved relative to the <a>vocabulary mapping</a>,
87-
not the <a>base IRI</a>.</dd>
88-
</dl>
89-
90-
<p>Terms imported from [[[RDF11-CONCEPTS]]] [[RDF11-CONCEPTS]], [[[RDF-SCHEMA]]] [[RDF-SCHEMA]], and [[[LINKED-DATA]]] [[LINKED-DATA]]</p>
91-
<dl class="termlist" data-sort>
92-
<dt><dfn data-cite="RDF11-CONCEPTS#dfn-base-iri" class="preserve">base IRI</dfn></dt><dd>
71+
<dt><dfn data-cite="RDF12-CONCEPTS#dfn-base-iri" class="preserve">base IRI</dfn></dt><dd>
9372
The <a>base IRI</a> is an <a>IRI</a> established in the <a>context</a>,
9473
or is based on the <a>JSON-LD document</a> location.
9574
The <a>base IRI</a> is used to turn <a>relative IRI references</a> into <a>IRIs</a>.</dd>
96-
<dt><dfn data-cite="RDF11-CONCEPTS#dfn-blank-node" class="preserve">blank node</dfn></dt><dd>
75+
<dt><dfn data-cite="RDF12-CONCEPTS#dfn-blank-node" class="preserve">blank node</dfn></dt><dd>
9776
A <a>node</a> in a <a>graph</a> that is neither an <a>IRI</a>,
9877
nor a <a>literal</a>.
9978
A <a>blank node</a> does not contain
10079
a de-referenceable identifier because it is either ephemeral in nature
10180
or does not contain information that needs to be linked to from outside of the <a>linked data graph</a>.
10281
In JSON-LD,
10382
a blank node is assigned an identifier starting with the prefix <code>_:</code>.</dd>
104-
<dt><dfn data-cite="RDF11-CONCEPTS#dfn-blank-node-identifier" class="preserve">blank node identifier</dfn></dt><dd>
83+
<dt><dfn data-cite="RDF12-CONCEPTS#dfn-blank-node-identifier" class="preserve">blank node identifier</dfn></dt><dd>
10584
A <a>blank node identifier</a>
10685
is a string that can be used as an identifier for a <a>blank node</a> within the scope of a JSON-LD document.
10786
Blank node identifiers begin with <code>_:</code>.</dd>
108-
<dt><dfn data-cite="RDF11-CONCEPTS#dfn-rdf-dataset" data-lt="RDF dataset" class="preserve">dataset</dfn></dt><dd>
87+
<dt><dfn data-cite="RDF12-CONCEPTS#dfn-rdf-dataset" data-lt="RDF dataset" class="preserve">dataset</dfn></dt><dd>
10988
A <a>dataset</a>
110-
representing a collection of <a data-cite="RDF11-CONCEPTS#dfn-rdf-graph">RDF graphs</a>
89+
representing a collection of <a data-cite="RDF12-CONCEPTS#dfn-rdf-graph">RDF graphs</a>
11190
including exactly one <a>default graph</a> and zero or more <a>named graphs</a>.</dd>
112-
<dt><dfn data-cite="RDF11-CONCEPTS#dfn-datatype-iri" class="preserve">datatype IRI</dfn></dt><dd>
91+
<dt><dfn data-cite="RDF12-CONCEPTS#dfn-datatype-iri" class="preserve">datatype IRI</dfn></dt><dd>
11392
A <a>datatype IRI</a> is an <a>IRI</a> identifying a datatype that determines how the lexical form maps to a
114-
<a data-cite="RDF11-CONCEPTS#dfn-literal-value">literal value</a>.</dd>
115-
<dt><dfn data-cite="RDF11-CONCEPTS#dfn-default-graph" class="preserve">default graph</dfn></dt><dd>
93+
<a data-cite="RDF12-CONCEPTS#dfn-literal-value">literal value</a>.</dd>
94+
<dt><dfn data-cite="RDF12-CONCEPTS#dfn-default-graph" class="preserve">default graph</dfn></dt><dd>
11695
The <a>default graph</a> of a <a>dataset</a> is an <a>RDF graph</a> having no <a data-lt="graph name">name</a>, which may be empty.</dd>
117-
<dt><dfn data-cite="RDF11-CONCEPTS#dfn-graph-name" class="preserve">graph name</dfn></dt><dd>
96+
<dt><dfn data-cite="RDF12-CONCEPTS#dfn-graph-name" class="preserve">graph name</dfn></dt><dd>
11897
The <a>IRI</a> or <a>blank node</a> identifying a <a>named graph</a>.</dd>
119-
<dt><dfn data-cite="RDF11-CONCEPTS#dfn-language-tagged-string" class="preserve">language-tagged string</dfn></dt><dd>
98+
<dt><dfn data-cite="RDF12-CONCEPTS#dfn-language-tagged-string" class="preserve">language-tagged string</dfn></dt><dd>
12099
A <a>language-tagged string</a>
121100
consists of a string and a non-empty language tag
122101
as defined by [[BCP47]].
123-
The <dfn data-cite="RDF11-CONCEPTS#dfn-language-tag">language tag</dfn> must be well-formed
102+
The <dfn data-cite="RDF12-CONCEPTS#dfn-language-tag">language tag</dfn> must be well-formed
124103
according to <a data-cite="BCP47#section-2.2.9">section 2.2.9 Classes of Conformance</a> of [[BCP47]].
125104
<span class="changed note">Processors may normalize <a>language tags</a> to lowercase.</span>
126105
</dd>
127106
<dt><dfn data-cite="LINKED-DATA" data-no-xref="" class="preserve">Linked Data</dfn></dt><dd>
128107
A set of documents, each containing a representation of a <a>linked data graph</a> or <a>dataset</a>.</dd>
129-
<dt><dfn data-cite="RDF11-CONCEPTS#dfn-rdf-graph" data-lt="linked data graph|graph" class="preserve">RDF graph</dfn></dt><dd>
108+
<dt><dfn data-cite="RDF12-CONCEPTS#dfn-rdf-graph" data-lt="linked data graph|graph" class="preserve">RDF graph</dfn></dt><dd>
130109
A labeled directed <a>graph</a>,
131110
i.e., a set of <a>nodes</a> connected by directed-arcs.
132111
Also called <a>linked data graph</a>.
133112
</dd>
134-
<dt><dfn data-cite="RDF-SCHEMA#ch_collectionvocab" data-lt="collection|RDF collection" class="preserve">list</dfn></dt><dd>
113+
<dt><dfn data-cite="RDF12-SCHEMA#ch_collectionvocab" data-lt="collection|RDF collection" class="preserve">list</dfn></dt><dd>
135114
A <a>list</a> is an ordered sequence of <a>IRIs</a>, <a>blank nodes</a>, and <a>literals</a>.</dd>
136-
<dt><dfn data-cite="RDF11-CONCEPTS#dfn-literal" data-lt="RDF literal" class="preserve">literal</dfn></dt><dd>
115+
<dt><dfn data-cite="RDF12-CONCEPTS#dfn-literal" data-lt="RDF literal" class="preserve">literal</dfn></dt><dd>
137116
An <a>object</a> expressed as a value such as a <a>string</a> or <a>number</a>.
138117
Implicitly or explicitly includes a <a>datatype IRI</a> and, if the datatype is `rdf:langString`, an optional <a>language tag</a>.</dd>
139-
<dt><dfn data-cite="RDF11-CONCEPTS#dfn-named-graph" class="preserve">named graph</dfn></dt><dd>
118+
<dt><dfn data-cite="RDF12-CONCEPTS#dfn-named-graph" class="preserve">named graph</dfn></dt><dd>
140119
A <a>named graph</a>
141120
is a <a>linked data graph</a> that is identified by an <a>IRI</a> or <a>blank node</a>.</dd>
142-
<dt><dfn data-cite="RDF11-CONCEPTS#dfn-node" class="preserve">node</dfn></dt><dd>
121+
<dt><dfn data-cite="RDF12-CONCEPTS#dfn-node" class="preserve">node</dfn></dt><dd>
143122
A <a>node</a> in an <a>RDF graph</a>, either the <a>subject</a> and <a>object</a> of at least one <a>triple</a>.
144123
Note that a <a>node</a> can play both roles (<a>subject</a> and <a>object</a>) in a <a>graph</a>, even in the same <a>triple</a>.</dd>
145-
<dt><dfn data-cite="RDF11-CONCEPTS#dfn-object" class="preserve">object</dfn></dt><dd>
124+
<dt><dfn data-cite="RDF12-CONCEPTS#dfn-object" class="preserve">object</dfn></dt><dd>
146125
An <a>object</a> is a <a>node</a> in a <a>linked data graph</a>
147126
with at least one incoming edge.</dd>
148-
<dt><dfn data-cite="RDF11-CONCEPTS#dfn-property" class="preserve">property</dfn></dt><dd>
127+
<dt><dfn data-cite="RDF12-CONCEPTS#dfn-property" class="preserve">property</dfn></dt><dd>
149128
The name of a directed-arc in a <a>linked data graph</a>.
150129
Every <a>property</a> is directional
151130
and is labeled with an <a>IRI</a> or a <a>blank node identifier</a>.
152131
Whenever possible, a <a>property</a> should be labeled with an <a>IRI</a>.
153132
<div class="note">The use of <a>blank node identifiers</a> to label properties is obsolete,
154133
and may be removed in a future version of JSON-LD.</div>
155-
Also, see <dfn data-cite="RDF11-CONCEPTS#dfn-predicate" class="preserve">predicate</dfn> in [[RDF11-CONCEPTS]].</dd>
156-
<dt><dfn data-cite="RDF11-CONCEPTS#dfn-resource" class="preserve">resource</dfn></dt><dd>
134+
Also, see <dfn data-cite="RDF12-CONCEPTS#dfn-predicate" class="preserve">predicate</dfn> in [[RDF12-CONCEPTS]].</dd>
135+
<dt><dfn data-cite="RDF12-CONCEPTS#dfn-resource" class="preserve">resource</dfn></dt><dd>
157136
A <a>resource</a> denoted by an <a>IRI</a>, a <a>blank node</a> or <a>literal</a> representing something in the world (the "universe of discourse").</dd>
158-
<dt><dfn data-cite="RDF11-CONCEPTS#dfn-rdf-triple" class="preserve">triple</dfn></dt><dd>
137+
<dt><dfn data-cite="RDF12-CONCEPTS#dfn-rdf-triple" class="preserve">triple</dfn></dt><dd>
159138
A component of an <a>RDF graph</a> including a <a>subject</a>, <a>predicate</a>, and <a>object</a>, which represents
160139
a node-arc-node segment of an <a>RDF graph</a>.</dd>
161-
<dt><dfn data-cite="RDF11-CONCEPTS#dfn-subject" class="preserve">subject</dfn></dt><dd>
140+
<dt><dfn data-cite="RDF12-CONCEPTS#dfn-subject" class="preserve">subject</dfn></dt><dd>
162141
A <a>subject</a> is a <a>node</a> in a <a>linked data graph</a>
163142
with at least one outgoing edge,
164143
related to an <a>object</a> node through a <a>property</a>.</dd>
144+
<dt><dfn data-cite="RDF12-CONCEPTS#dfn-iri" data-lt="Internationalized Resource Identifier" class="preserve"><abbr title="Internationalized Resource Identifier">IRI</abbr></dfn></dt><dd>
145+
The absolute form of an <a>IRI</a> containing a <em>scheme</em> along with a <em>path</em>
146+
and optional <em>query</em> and <em>fragment</em> segments.</dd>
147+
<dt><dfn data-cite="RDF12-CONCEPTS#dfn-iri-reference" class="preserve">IRI reference</dfn></dt><dd>
148+
Denotes the common usage of an <a>Internationalized Resource Identifier</a>.
149+
An <a>IRI reference</a> may be absolute or
150+
<a data-lt="relative IRI reference">relative</a>.
151+
However, the "IRI" that results from such a reference only includes absolute <a>IRIs</a>;
152+
any <a>relative IRI references</a> are resolved to their absolute form.</dd>
153+
<dt><dfn data-cite="RDF12-CONCEPTS#dfn-relative-iri" class="preserve">relative IRI reference</dfn></dt><dd>
154+
A relative IRI reference is an <a>IRI reference</a> that is relative to some other <a>IRI</a>,
155+
typically the <a>base IRI</a> of the document.
156+
Note that <a>properties</a>,
157+
values of <code>@type</code>,
158+
and values of <a>terms</a> defined to be <em>vocabulary relative</em>
159+
are resolved relative to the <a>vocabulary mapping</a>,
160+
not the <a>base IRI</a>.</dd>
165161
</dl>
166162
</section>
167163

0 commit comments

Comments
 (0)