RDF/Turtle parser and serialiser and simple in-memory RDF store
An in-memory RDF triple store and RDF/Turtle parser/serialiser. The library provides a 100% spec-compliant RDF/Turtle parser with fair performance; an RDF/Turtle serialiser; and a simple single-graph datastore capable of doing reasonably quick indexed lookups (but not SPARQL queries). The Turtle parser passes all current W3C spec tests at the time of writing. The serialiser successfully serialises all of the test files (plus some additional tests) such that they can be parsed in again. An example program and a file conversion utility are included.
Dependencies: sml-utf8, sml-trie
Project link: https://hg.sr.ht/~cannam/sml-ttl