diff --git a/index.html b/index.html index 7b577680..0ca68cfc 100644 --- a/index.html +++ b/index.html @@ -11309,147 +11309,6 @@
A JSON-LD document, whether embedded in HTML or otherwise,
- may reference a context document by using a string value to @context
.
- This string is interpreted as a URL to an external document from which
- the context is loaded. In JSON-LD 1.1, this external document may also
- be HTML containing a script element
- with the type
attribute set to
- application/ld+json;profile=http://www.w3.org/ns/json-ld#context
.
A processor processing a remote context which results in an HTML document
- MUST locate the first script element
- with the type
attribute set to
- application/ld+json;profile=http://www.w3.org/ns/json-ld#context
,
- or a specific script element targeted using a fragment identifier,
- or the first script element of type application/ld+json
- if no other is found.
Including a context definition within an HTML document provides a means - of documenting the context content, along with other information - such as the vocabulary definition.
- -For example, a context may be defined within an HTML file as follows
- (a subset of the Person context published at https://json-ld.org/contexts/person.html
):
- -- -
Using a previous example, we can reference https://json-ld.org/contexts/person.html
- instead of https://json-ld.org/contexts/person.jsonld
- and a JSON-LD processor will look for the context within the referenced HTML file.
In addition to using the type profile above, a context may be referenced using
- a fragment identifier,
- as described in .
- Otherwise, the first script element
- of type application/ld+json
will be used to find a context.
application/ld+json;profile=http://www.w3.org/ns/json-ld#context
,
- or application/ld+json
is used as the context for further processing.
- This allows a mechanism for documenting the content of a context using HTML.application/ld+json;profile=http://www.w3.org/ns/json-ld#frame
.