You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Bryan Berg <bb...@spawar.navy.mil> on 2011/04/18 19:11:12 UTC

tdb question - importing rdf graph

Greetings.

I am working with TDB for persistent rdf storage.

I am uncertain how to use the TDB to import an existing rdf file into 
the TDB repository.

I have been looking at the examples.

Thank you for any assistance,

Bryan

Re: tdb question - importing rdf graph

Posted by Damian Steer <d....@bristol.ac.uk>.
On 18 Apr 2011, at 18:11, Bryan Berg wrote:

> Greetings.
> 
> I am working with TDB for persistent rdf storage.
> 
> I am uncertain how to use the TDB to import an existing rdf file into the TDB repository.
> 
> I have been looking at the examples.
> 
> Thank you for any assistance,
> 
> Bryan

From the command line:

<http://openjena.org/wiki/TDB/Commands>

From java, get a model from the store:

<http://openjena.org/wiki/TDB/JavaAPI>

then load as for any model:

<http://jena.sourceforge.net/tutorial/RDF_API/#ch-Reading%20RDF>

Damian