- From: Seaborne, Andy <Andy_Seaborne@hplb.hpl.hp.com>
- Date: Fri, 16 Jan 2004 09:47:54 -0000
- To: SIMILE public list <www-rdf-dspace@w3.org>
In the call yesterday, there was a question about loading databases and a request for pointers on how to do it. The easiest way is to use some of the command line utilities provided with Jena in the "jena" package. Javadoc: http://jena.sourceforge.net/javadoc/jena/package-summary.html The DB commands are: dbcreate Create a Jena model in a database. dblist List all models in a databse. dbload Load a file of data into a database. dbdump Dump a database dbremove Remove a Jena model and all its data from a database. Use with care. So, create your database as per your choice of database system: http://jena.sourceforge.net/DB/index.html then use dbcreate/dbload to put data into a database. The commands are all very simple but they do do the operations in a single transaction which speeds things up. dbload does stream the RDF into the database (syntax type basd on file extension) so it can read in large datasets. Andy
Received on Friday, 16 January 2004 04:48:57 UTC