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

Re: Framing Question (by example)

From: Josh Mandel <Joshua.Mandel@childrens.harvard.edu>
Date: Tue, 22 Nov 2011 19:55:35 -0500
Message-ID: <CANSMLKFSMtD1iY1q94sUfCT-w=b6Ef1jX_MCEw5_TZ9h6LqXhg@mail.gmail.com>
To: Dave Longley <dlongley@digitalbazaar.com>
Cc: "public-linked-json@w3.org" <public-linked-json@w3.org>
Hi Dave,

That's exactly what I'm looking for.  (For what it's worth, if I
change "false" to "true" in your example, the playground appears to
crash.)

Thanks!

  -Josh

On Tue, Nov 22, 2011 at 7:35 PM, Dave Longley
<dlongley@digitalbazaar.com> wrote:
> Josh,
>
> Is this what you're looking for?
>
> http://tinyurl.com/jsonld-framing-a2
>
> -Dave
>
>
> On 11/22/2011 06:48 PM, Josh Mandel wrote:
>> I've asked something like this before on IRC, but I'm having trouble
>> designing a frame to do what I want.  Here's an example where I have
>> defined a four  objects of type LeftNode and RightNode.  Each node
>> "canSee" two other nodes.  I'd like my framed output to represent each
>> Node as its own object (in an array), and to represent its links to
>> other nodes as a list of IRIs under the "canSee" predicate.  But all I
>> can accomplish is either:
>>
>>   * nested outputs (Nodes nested under Nodes)
>>   * canSee lists that are sometimes lists, but sometimes now (as in the
>> link below)
>>
>> Am I trying to do something outside the capabilities of the current
>> Framing API? It's hard for me to rigorously evaluate exactly what's
>> possible and what isn't, without just mucking around.
>>
>> Example at:  http://tinyurl.com/jsonld-framing-q1
>>
>> Thanks for your help!
>>
>>   -Josh
>>
>
>
> --
> Dave Longley
> CTO
> Digital Bazaar, Inc.
>
>
Received on Wednesday, 23 November 2011 00:56:29 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:25:35 GMT