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

RE: Convert also "partial" lists from RDF to JSON-LD

From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Fri, 5 Jul 2013 13:17:18 +0200
To: <public-linked-json@w3.org>
Cc: "'RDF WG'" <public-rdf-wg@w3.org>
Message-ID: <00e801ce7971$37573310$a6059930$@lanthaler@gmx.net>
On Friday, July 05, 2013 12:45 PM, Niklas Lindström wrote:
> On Fri, Jul 5, 2013 at 12:02 PM, Markus wrote:
>>  [
>>    {
>>      "@id": "http://example.com/",
>>      "rdf:first": "A",
>>      "rdf:rest": { "@list": [ "B", "C", "D" ] }
>>    },
>>    {
>>       "@id": "_:b0",
>>       "rdf:first": "B"
>>       "rdf:rest": { "@id": "_:b1" }
>>    },
>>    ...
>>  ]
>
> Detail: in the second example (how it is currently), first
> object, you meant "rdf:rest": "_:b0", right?

Yes of course... stupid copy-paste error.


>> Arguably changing that would result in a nicer result. This might also be
a
>> quite elegant solution for the OpenAnnotation people. I think we could
>> threat this change as an algorithmic bug fix (meaning, no need for
another
>> LC).
>>
>> I've created ISSUE-277 for this:
>>  https://github.com/json-ld/json-ld.org/issues/277
>>
>>
>> Thoughts?
>
> I agree. I actually thought it was supposed to behave this way, so I'd 
> certainly consider it a bug fix.

OK


--
Markus Lanthaler
@markuslanthaler
Received on Friday, 5 July 2013 11:17:53 UTC

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