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

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