Sord is a lightweight C library for storing RDF data in memory. WWW: http://drobilla.net/software/sord/