diff --git a/index.html b/index.html index 7b577680..0ca68cfc 100644 --- a/index.html +++ b/index.html @@ -11309,147 +11309,6 @@

Graph Containers

- -

Using an HTML document as a Context

-

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.

-
@@ -13443,10 +13302,6 @@

Changes since JSON-LD Community Group Final Report

  • Term definitions with keys which are of the form of a compact IRI or absolute IRI MUST NOT expand to an IRI other than the expansion of the key itself.
  • Define different processor modes: pure JSON Processor, event-based JSON processor, and full Processor.
  • -
  • For a full Processor, if a retrieved context URL returns an HTML document, the first script element - of type 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.
  • A frame may also be located within an HTML document, identified using type application/ld+json;profile=http://www.w3.org/ns/json-ld#frame.
  • Term definitions can now be protected,