Serd is a lightweight C library for reading and writing RDF in Turtle, NTriples, NQuads, and TriG.
Serd
A lightweight library for working with RDF