I've been chipping away at a project that turned out to really want a triplestore as its backend. One thing led to another, I clambered onto the shoulders of a couple of guys that did most of the spadework for me, and now there's a handy client library for querying a triplestore, as well as adding triples to it and deleting them from it. It's in working order now (ox is based on it), but constructive feedback is always welcome.
It's inherited a BSD licence, so you're free to do with it as you will.
The repo: https://github.com/equill/cl-4store