> The ugly stuff you've got from RDFLib looks like NTriples, the > canonical kind of serialisation (I believe NTriples also happens to > be valid N3, though you wouldn't know it from looking at it).
Yes, RDFLib's serialization module for N3 is wanting. To date, CWM's N3 serializer seems to be the most mature of bunch and I had wondered whether it would be worth porting into RDFLib. As for sequences, there was actually a recent thread on RDFLib's mailing list (CC'd on this response) on how best to manage sequences and collections: http://rdflib.net/pipermail/dev/2006-June/000031.html As a result of that thread, Daniel recently checked in a Collections module / class (for RDF collections) which addresses most of this: https://svn.rdflib.net/trunk/rdflib/Collection.py (I had put N3 'beautified' N3 serialization on my RDFLib wishlist some time ago but forgot about it) _______________________________________________ Dev mailing list [email protected] http://rdflib.net/mailman/listinfo/dev
