RE: Conversion of lists of lists to JSON-LD

On Wednesday, May 01, 2013 9:52 PM, Gregg Kellogg wrote:
> > I also fixed a number of other bugs, e.g., properties other than
> > rdf:first/rdf:rest are being lost for list nodes in the currently
> > specified algorithm. It also converts lists identified by a IRI
> > and thus looses the IRI.
> 
> This seems wrong to me. The RDF Collection syntactic sugar in all other
> serializations requires that the list be well-formed, and have all
> BNode subjects. If a list is not well-formed, has anything other than a
> BNode subject, or contains properties other than rdf:first and rdf:rest
> (and possibly rdf:type of rdf:List), it should not use the list syntax,
> but should revert back to basic object representation, IMO.

Exactly. Perhaps my email was not clear. The algorithm defined in the
current spec has those bugs. My implementation fixes them.



--
Markus Lanthaler
@markuslanthaler

Received on Wednesday, 1 May 2013 20:09:51 UTC