Add code for hashing RDF triples to SPO vectors.

Uses raptor2 lib for parsing of RDF data.