diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e8ed14d..ffef056 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,11 +20,12 @@ jobs: - name: Install dependencies run: bundle install - - name: "Verify common files are consistent" - run: | - git remote add -f b https://github.com/w3c/json-ld-wg.git - git remote update - git diff --exit-code remotes/b/main -- common + # Remove temorarily + #- name: "Verify common files are consistent" + # run: | + # git remote add -f b https://github.com/w3c/json-ld-wg.git + # git remote update + # git diff --exit-code remotes/b/main -- common - name: Verify examples are consistent run: bundle exec rake test diff --git a/common/terms.html b/common/terms.html index 9660e67..934ddea 100644 --- a/common/terms.html +++ b/common/terms.html @@ -66,34 +66,13 @@ -
Terms imported from [[[RFC3987]]] [[RFC3987]]
+Terms imported from [[[RDF12-CONCEPTS]]] [[RDF12-CONCEPTS]], [[[RDF12-SCHEMA]]] [[RDF12-SCHEMA]], and [[[LINKED-DATA]]] [[LINKED-DATA]]
@type
,
- and values of terms defined to be vocabulary relative
- are resolved relative to the vocabulary mapping,
- not the base IRI.Terms imported from [[[RDF11-CONCEPTS]]] [[RDF11-CONCEPTS]], [[[RDF-SCHEMA]]] [[RDF-SCHEMA]], and [[[LINKED-DATA]]] [[LINKED-DATA]]
-_:
._:
.@type
,
+ and values of terms defined to be vocabulary relative
+ are resolved relative to the vocabulary mapping,
+ not the base IRI.JSON-LD is designed to be usable directly as JSON, with no knowledge of RDF - [[RDF11-CONCEPTS]]. It is also designed to be usable as RDF - in conjunction with other Linked Data technologies like SPARQL [[SPARQL11-OVERVIEW]]. + [[RDF12-CONCEPTS]]. It is also designed to be usable as RDF + in conjunction with other Linked Data technologies like SPARQL [[SPARQL12-CONCEPTS]]. Developers who require any of the facilities listed above or need to serialize an RDF graph or Dataset in a JSON-based syntax will find JSON-LD of interest. People @@ -480,7 +480,7 @@
Linked Data, and the Web in general, uses IRIs - (Internationalized Resource Identifiers as described in [[RFC3987]]) for unambiguous + (Internationalized Resource Identifiers as described in [[RDF12-CONCEPTS]]) for unambiguous identification. The idea is to use IRIs to assign unambiguous identifiers to data that may be of use to other developers. It is useful for terms, @@ -1105,12 +1105,12 @@
IRIs (Internationalized Resource Identifiers - [[RFC3987]]) are fundamental to Linked Data as that is how most +
IRIs (Internationalized Resource Identifiers + [[RDF12-CONCEPTS]]) are fundamental to Linked Data as that is how most nodes and properties are identified. In JSON-LD, IRIs may be represented as an IRI reference. - An IRI is defined in [[RFC3987]] as containing a + An IRI is defined in [[RDF12-CONCEPTS]] as containing a scheme along with path and optional query and fragment segments. A relative IRI reference is an IRI that is relative to some other IRI. @@ -1122,7 +1122,7 @@
urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6
.
Properties, values of @type
,
@@ -3532,7 +3532,7 @@
The values of @type
are unordered, so if multiple
types are listed, the order that type-scoped contexts are applied is based on
- code point ordering.
For example, consider the following semantically equivalent examples. The first example, shows how properties and types can define their own @@ -11211,7 +11211,7 @@
If JSON-LD content is extracted as RDF [[RDF11-CONCEPTS]], it MUST be expanded into an +
If JSON-LD content is extracted as RDF [[RDF12-CONCEPTS]], it MUST be expanded into an RDF Dataset using the Deserialize JSON-LD to RDF Algorithm [[JSON-LD11-API]]. Unless a specific script is targeted @@ -11517,7 +11517,7 @@
JSON-LD is a serialization format for Linked Data based on JSON. It is therefore important to distinguish between the syntax, which is defined by JSON in [[RFC8259]], and the data model which is - an extension of the RDF data model [[RDF11-CONCEPTS]]. + an extension of the RDF data model [[RDF12-CONCEPTS]]. The precise details of how JSON-LD relates to the RDF data model are given in .
@@ -11527,7 +11527,7 @@JSON-LD documents MAY contain data @@ -11817,8 +11817,8 @@
:
)
and SHOULD be restricted to the form of
- isegment-nz-nc
- as defined in [[RFC3987]].
+ isegment-nz-nc
+ as defined in [[RDF12-CONCEPTS]].
To avoid forward-compatibility issues, a term SHOULD NOT start
with an @
character
@@ -12684,12 +12684,12 @@
JSON-LD is a - concrete RDF syntax - as described in [[RDF11-CONCEPTS]]. Hence, a JSON-LD document is both an + concrete RDF syntax + as described in [[RDF12-CONCEPTS]]. Hence, a JSON-LD document is both an RDF document and a JSON document and correspondingly represents an - instance of an RDF data model. However, JSON-LD also extends the RDF data + instance of an RDF data model. However, JSON-LD also extends the RDF data model to optionally allow JSON-LD to serialize - generalized RDF Datasets. + generalized RDF Datasets. The JSON-LD extensions to the RDF data model are:
false
. The JSON-LD 1.1 Processing Algorithms and API specification [[JSON-LD11-API]]
defines the conversion rules
between JSON's native data types and RDF's counterparts to allow round-tripping.Summarized, these differences mean that JSON-LD is capable of serializing any RDF graph or dataset and most, but not all, JSON-LD documents can be directly - interpreted as RDF as described in RDF 1.1 Concepts [[RDF11-CONCEPTS]].
+ interpreted as RDF as described in RDF 1.1 Concepts [[RDF12-CONCEPTS]].Authors are strongly encouraged to avoid labeling properties using blank node identifiers, instead, consider one of the following mechanisms:
@@ -12734,8 +12734,8 @@urn:example:1
, see [[?URN]], orThe normative algorithms for interpreting JSON-LD as RDF and serializing @@ -12744,7 +12744,7 @@
Even though JSON-LD serializes RDF Datasets, it can - also be used as a graph source. + also be used as a graph source. In that case, a consumer MUST only use the default graph and ignore all named graphs. This allows servers to expose data in languages such as Turtle and JSON-LD using HTTP content negotiation.
@@ -13508,8 +13508,8 @@When processing the "profile" media type parameter, it is important to note that its value contains one or more URIs and not IRIs. In some cases it might therefore be necessary to convert between IRIs and URIs as specified in - section 3 Relationship between IRIs and URIs - of [[RFC3987]].
+ URIs and IRIs + of [[RDF12-CONCEPTS]].Fragment identifiers used with application/ld+json are treated as in RDF syntaxes, as per - RDF 1.1 Concepts and Abstract Syntax - [[RDF11-CONCEPTS]].
+ RDF 1.1 Concepts and Abstract Syntax + [[RDF12-CONCEPTS]].This registration is an update to the original definition for application/ld+json @@ -13617,7 +13617,7 @@
The following section is based on the requirements defined in - .
+ .Fragment identifiers used with +ld+json are treated as in RDF syntaxes, as per - RDF 1.1 Concepts and Abstract Syntax - [[RDF11-CONCEPTS]]. + [[[RDF12-CONCEPTS]]] [[RDF12-CONCEPTS]].
@@ -13773,11 +13772,11 @@@prefix
entry with the value true
. The 1.0 algorithm has
been updated to only consider terms that map to a value that ends with a URI
- gen-delim character.@container
set to @graph
are interpreted as
implicitly named graphs, where the associated graph name is
@@ -13878,6 +13877,7 @@