How could I store multiple ontologies in TDB

前端 未结 2 876
被撕碎了的回忆
被撕碎了的回忆 2021-01-22 06:34

I am working on a project which need to save multiple ontologies in one TDB. I tried to do it in my own way, but it didn\'t work. Help me please..If you know how to use TDB , co

2条回答
  •  佛祖请我去吃肉
    2021-01-22 07:28

    Which version of Jena?

    Try putting the transaction on the dataset.

    dataset.begin(ReadWrite.WRITE) ;
    

    see http://jena.apache.org/documentation/tdb/tdb_transactions.html

提交回复
热议问题