Nick Lothian
Nick Lothian

Reputation: 1443

Incremental dataload into Jena from multiple files

I want to use tdbloader2 to load multiple files into a TDB datastore.

The first one goes fine, but any subsequent loads seem to delete the data that was loaded from previous files.

How do I avoid this?

Upvotes: 2

Views: 430

Answers (2)

Nick Lothian
Nick Lothian

Reputation: 1443

It turns out that tdbloader2 takes standard unix wildcard patterns so I can do:

tdbloader2 --loc <db location> */*

Still not sure how to do a subsequent load of further data though.

Upvotes: 1

AndyS
AndyS

Reputation: 16630

tdbloader (not tdbloader2) will incrementally load data. tdbloader2 only works for an empty store.

Both accept multiple files as well.

Or you can use the SPARQL Update to add data.

Or you can use the SPARQL Graph Store Protocol with Fuseki to add data.

Upvotes: 4

Related Questions