From: Joakim S. <joa...@bl...> - 2015-11-09 20:09:06
|
Hi Has anyone tried to export a named graph using ExportKB? After digging on the web I came up with this: String namespace = the sub graph that I want to export tripleStore = (AbstractTripleStore) bd.getQueryEngine().getIndexManager().getResourceLocator().locate( namespace, ITx.UNISOLATED); export = new ExportKB( tripleStore, outFile , RDFFormat.NTRIPLES, false); But I can’t get it to work |