W3C home > Mailing lists > Public > public-rdf-comments@w3.org > August 2012

Updates to JSON-LD specifications

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Sun, 19 Aug 2012 15:14:33 -0400
Message-ID: <50313B19.7050509@digitalbazaar.com>
To: RDF WG Public Comments <public-rdf-comments@w3.org>
In order to try to make sure that folks in the RDF Working Group are
aware of the changes made to the JSON-LD specifications, I will be
summarizing updates to the spec on this mailing list on a periodic basis.

Here's a high-level of what has been changed in the last month:

* Added a normative JSON-LD Grammar as requested by Andy Seaborne.
* Made a number of editorial changes based on Steve Speicher.
* Numerous changes to the API specification, including how to
  implement the API in asynchronous and synchronous programming
  environments, automatic native type conversion from RDF,
  and updates to the option passing mechanism.
* Support for property generators (single term to multiple predicate
  expansion, requested by Drupal community).
* Support for language maps (requested by Drupal and Wikidata
  communities)
* Re-introduced support for @vocab.
* A number of editorial fixes requested by the public, or
  determined to be important by the editors for understanding.

What follows is a complete changelog to the JSON-LD specifications since
the FPWD of both documents on July 12th 2012.

 * Added section outlining the focus on Linked Data and not RDF.

https://github.com/json-ld/json-ld.org/commit/b6cdb369c813b1f630d7e9fd29807a4505fc42c8
 * Added more explanation about the context-sensitivity for @type.

https://github.com/json-ld/json-ld.org/commit/cf4bde9a704a48e37a468ee8519719c8819ac866
 * Added example for setting multiple types for a subject.

https://github.com/json-ld/json-ld.org/commit/a8366dc1ca6a8aed2003f6c9c576a94448b34a89
 * Fixed bug for issue #133 - allow language maps to contain non-string
values.

https://github.com/json-ld/json-ld.org/commit/dd4d876c48ee3acb4024c3d5dcb46f97e8f24ef8
 * Update the language map grammar section. Added issue about non-string
values of a language map tag (e.g. SKOS-XL objects).

https://github.com/json-ld/json-ld.org/commit/aed9d8a2e4dce9a0a9486c5d6aacf066e3f2740b
 * Updated JSON-LD Syntax metadata to reflect Editors Draft status.

https://github.com/json-ld/json-ld.org/commit/4a7e4537215fc4666d7560c9973bcad824171c0d
 * Implemented useNativeTypes in fromRDF(). Close issue #150.

https://github.com/json-ld/json-ld.org/commit/15239f904be6b77428699462133848ae292bfa7e
 * Added text to allow language maps in section A.1.

https://github.com/json-ld/json-ld.org/commit/b1e2161135e089ed906ddc8fb8a94bad7d2f5204
 * Added section on Property Generators to resolve issue #142.

https://github.com/json-ld/json-ld.org/commit/88632b5b31101ecb0a3c6239add8fbacde5631bc
 * Added spec text to support language maps. Closes issue #133.

https://github.com/json-ld/json-ld.org/commit/e54949f71efd2fcc4ff0e485017d1038fad42a28
 * Clarify that a term definition must either be a string or an expanded
term definition.

https://github.com/json-ld/json-ld.org/commit/920c15e41ffe859a3665ee091064170029df6d69
 * Update expanded term grammar to MUST NOT contain any other keys,
rather than SHOULD NOT.

https://github.com/json-ld/json-ld.org/commit/72d098d2183aa8d33dac0c15edee47eeeaa598f1
 * Update set/list grammar definition to include the specific allowed
values. For sets, this includes sets of sets and sets of lists.

https://github.com/json-ld/json-ld.org/commit/41254127aaf1c4fc4dfc0d00acf3124531828cf1
 * Minor fixes to JSON-LD Grammar section, resolves ISSUE #114.

https://github.com/json-ld/json-ld.org/commit/2565c515a11a087c6180a30d28ab86365360e1ff
 * Make the options API parameter nullable

https://github.com/json-ld/json-ld.org/commit/881e462784d92095421422408a9a5de9a72a2a04
 * Introduce useNativeTypes flag

https://github.com/json-ld/json-ld.org/commit/4d30b15781fc3064daf6b8f8d6204b7a17ce2876
 * Fix noType/notType flag name inconsistency by renaming it to useRdfType

https://github.com/json-ld/json-ld.org/commit/8f6156608d72793653807117fa4e7d8168044bb0
 * Remove initial context

https://github.com/json-ld/json-ld.org/commit/e300ee646f1c082b1124a78204a638daf8b29c77
 * Make clear that synchronous API calls MUST return the result as
return value

https://github.com/json-ld/json-ld.org/commit/425fcbd4aa47f5eab31255b769f422a22e477cea
 * Handle relative IRIs in IRI expansion algorithm

https://github.com/json-ld/json-ld.org/commit/8a0461188ea953864816a4450926951879012707
 * Add note to allow synchronous APIs

https://github.com/json-ld/json-ld.org/commit/6c219c515deecc85c509e5968c673f275bf5e06f
 * Add @vocab to the IRI compaction algorithm (before considering
Compact IRIs).

https://github.com/json-ld/json-ld.org/commit/92313c769d70241b4ee7a80c0d9a4f7e940db4fb
 * Add grammar for @vocab, and allow @vocab to be set to null, erasing
it from a previous context.

https://github.com/json-ld/json-ld.org/commit/59e091e45609d2467a43cab61d415566c75b3f82
 * Reintroduce @vocab

https://github.com/json-ld/json-ld.org/commit/a2b449d134654799b8f028713e7b656710fbcf56
 * Set the value space of @type to string(s)

https://github.com/json-ld/json-ld.org/commit/89860334477b37d26f5f08829bf227bc4647cd8a
 * Specify what happens to multiple lists when compacted to one term

https://github.com/json-ld/json-ld.org/commit/8c1513145644ca442b559ee6b32f25eee5a3828f
 * Remove Dave Longley as editor from the API spec

https://github.com/json-ld/json-ld.org/commit/f8d2b5bb65ed6e2ba139319d4079ecc20fef17c2
 * Clarify data round-tripping issues and update canonical form of
xsd:double

https://github.com/json-ld/json-ld.org/commit/fb6631cb6be32d3f8dbcfa3cf4aa4e7a69b4c6c7
 * Formalized JSON-LD grammar.

https://github.com/json-ld/json-ld.org/commit/9f4d8df9867ce78e989f3160daba7632cbbc6576
 * Rename URL datatype to IRI as it is used to represent IRIs

https://github.com/json-ld/json-ld.org/commit/be477e3d77a0b0ece79faf35bcc519aa74791031
 * Define default values of JsonLdOptions

https://github.com/json-ld/json-ld.org/commit/0115f25acc15536fc1a6ab1d8525c450c1b2b052

-- manu

-- 
Manu Sporny (skype: msporny, twitter: manusporny)
Founder/CEO - Digital Bazaar, Inc.
blog: Which is better - RDFa Lite or Microdata?
http://manu.sporny.org/2012/mythical-differences/
Received on Sunday, 19 August 2012 19:15:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:29:53 UTC