Friday, May 20, 2011

A few Virtuoso commands I learned today

Virtuoso is not new to me (e.g. using it for the ChEMBL-RDF SPARQL end point). The Debian package is, though. But the only big problem here was to figure out where the db ended up, though that did not really matter in the end. What did matter, is that Virtuoso is not happy about long resource URIs, so I had to cut down on links out to rdf.openmolecules.net. Another difference is that is that the isql command is called isql-vt and the default values are not really useful for large amount of triples. But in the end I had a working test system at my laptop.

And, I learned two new isql command, on top of the two (DB.DBA.RDF_LOAD_RDFXML_MT and DB.DBA.TTLP) I learned before. For of all, is how to empty a database (which I did so far by killing the running instance, deleting the .db files, and restart :):