W3C home > Mailing lists > Public > www-rdf-dspace@w3.org > January 2004

Loading Jena databases

From: Seaborne, Andy <Andy_Seaborne@hplb.hpl.hp.com>
Date: Fri, 16 Jan 2004 09:47:54 -0000
Message-ID: <E864E95CB35C1C46B72FEA0626A2E808712F54@0-mail-br1.hpl.hp.com>
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.


The DB commands are:

  Create a Jena model in a database. 
  List all models in a databse. 
  Load a file of data into a database. 
  Dump a database 
  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:


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.

Received on Friday, 16 January 2004 04:48:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:13:10 UTC