Rdflib.js, how to serialize the data into turtle (.ttl) format?

Viewed 1580

How can I serialize RDF in turtle using rdflib.js? There's not much documentation. I can use:

Serializer.statementsToN3(destination);

to serialize into the N3 format, but not much besides that. I've tried altering the aforementioned command to stuff like statementsToTtl/Turtle/TURTLE/TTL, but nothing seems to work.

1 Answers
Related