RDFDataMgr write does not work with milion objects

为君一笑 提交于 2019-12-13 02:54:22

问题


I have java application which works with jena tdb. I have 3 milion objects in the db and when i want to make export on jena i am having problems.

For export i tried with:

RDFDataMgr.write(file, model, Lang.RDFXML);

and also with:

RDFWriter writer = model.getWriter("RDF/XML");
writer.setProperty("allowBadURIs", true);
writer.setProperty("relativeURIs", "");
writer.setProperty("tab", "2");
writer.setProperty("showXmlDeclaration", "true");
writer.write(model, file, null);

But non of this worked. So my question is how can i fix this problem?

来源:https://stackoverflow.com/questions/53555000/rdfdatamgr-write-does-not-work-with-milion-objects

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