A crude attempt at https://code.google.com/p/rdf3x/