Re: representing deserialized RDF - N3, JSON-LD, RDFa, XML/RDF

On Dec 11, 2013, at 7:47 AM, Ruben Verborgh <ruben.verborgh@ugent.be> wrote:

>> Turtle is not a standard yet. It's a Candidate Recommendation
> 
> Oh yeah of course, I keep treating the CR as a standard. Shouldn't do that.
> (Still hoping they drop the SPARQL keyword syntax.)
> 
>> That's a valid point. In this specific case I would just define a profile
>> which specifies the structure the document has to adhere to. Since JSON-LD
>> has a profile media type parameter you can even expose that information on
>> the wire.
> 
> Brilliant, that would be all we need.
> Could it be such that:
> - no nesting is allowed (cf. earlier example you posted)
> - no prefixes are allowed
> That would give us simple and fast parsers.
> And those libraries that have full JSON-LD can just use that.

This is essentially expanded flattened form; it's also what the JSON-LD FromRdf algorithm generates. Note, however, that lists are first-level, and don't use first/rest linking.

Gregg

> Best,
> 
> Ruben
> 

Received on Wednesday, 11 December 2013 15:59:31 UTC