Incremental dataload into Jena from multiple files

风格不统一 提交于 2019-12-24 15:34:30

问题


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?


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/20736795/incremental-dataload-into-jena-from-multiple-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!