(Oops, previous version sent too soon)
Rameswara Sashi Kiran Challa wrote:
I want to programmatically (in Java) put the RDF files I get, into
virtuoso. I am planning to use HTTP put. I could make a system call, use
curl and do it on Unix.
How could I do it on Windows ?
There's a load of ways to insert RDF into Virtuoso:
http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtRDFInsert
If you have RDF files, then maybe the easiest would be the ttlp() function:
either put your RDF files in the same directory as the virtuoso database
instance, or edit virtuoso.ini and change DirsAllowed to include the path to
the files, then run ttlp() as documented at
http://docs.openlinksw.com/virtuoso/fn_ttlp.html
For bulk loading, there's
http://docs.openlinksw.com/virtuoso/fn_ttlp_mt_local_file.html as well.
And do I have to start my instance, push my RDF file into virtuoso and
stop the instance every time ?
Virtuoso's a database. Leave it running, then it'll always be available, and
no it won't lose your RDF between restarts!
~Tim
--
Tim Haynes
Product Development Consultant
OpenLink Software
<http://www.openlinksw.com/>
<http://twitter.com/openlink>