Just so you are aware, there are RDF and SPARQL libraries out there for
Javascript. Which can be used in the JS views in CouchDB when performing
map reduce operations on the data - quite powerful IMHO.