RDFLib/rdflib — pull request #216 by mammadori (2012-06-06 12:49:29+00:00)
Title: Trig serialized based on Turtle

Hi,
I implemented a basic Trig serializer support, it is based on TurtleSerializer instead of ntriples as the one available in the trig named branch; it also is very handy if you need to keep track of default graph without resorting to nquads, which is really verbose and does not handle IRI but just URI.

The result is a valid trig output that could be ingested in e.g. virtuoso.