W3C home > Mailing lists > Public > public-linked-json@w3.org > July 2011

Re: JSON-LD Playground

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Sun, 10 Jul 2011 20:30:25 -0400
Message-ID: <4E1A4421.8040908@digitalbazaar.com>
To: Linked JSON <public-linked-json@w3.org>
On 07/10/2011 01:55 PM, Gregg Kellogg wrote:
> Manu, this is great!

Glad you enjoyed it. :) It was a team effort - Dave Longley wrote the
JSON-LD processor in JavaScript and Dave Lehn and Mike Johnson provided
implementation feedback and testing. :)

> 1) The Turtle output could be a bit better, I think the only reason to
> show Turtle is that it makes the graph easier to understand.

Yes, definitely. I implemented the JSON-LD to TURTLE conversion
mechanism in about an hour or two. There are a number of optimizations
that could be made, but I decided to keep it the same as the output is
in normalized order and could help us debug the normalization algorithm
if issues crop up with it.

If anybody would like to take a crack at optimizing the TURTLE output,
the code is here:


> 2) Is there a framing spec for JSON-LD? I like the concept of using the
> structure from a template document to control chaining/framing output.

There will be one eventually. We have the algorithm written on our
internal wiki. We wanted to make sure that it was implementable and
simple enough before placing it into the JSON-LD spec. There were also
concerns about making JSON-LD "too complicated", so we kept it out for
now. I'll see if the DB guys think we should integrate it this week.
Query-by-example is a pretty useful concept - we might think of moving
this work over to the RDFa API getProjection() mechanism (Projection

--  manu

Manu Sporny (skype: msporny, twitter: manusporny)
President/CEO - Digital Bazaar, Inc.
blog: PaySwarm Developer Tools and Demo Released
Received on Monday, 11 July 2011 00:30:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:30 UTC