On 23/03/12 08:51, Erdem Eser Ekinci wrote:
Hi all,
I want to fetch a default graph of a dataset and add it into the locally
stored default graph through SDB. In another meaning I want to merge a
graph with the default graph of graph store.
I've tried the following. But it overrides the existing default graph.
Graph defaultGraph = graphStore.getDefaultGraph();
// add triple to its graph...
defaultGraph.getBulkUpdateHandler().add(graph);
The critical point is that I want to avoid to insert the statements of the
remote graph step by step, because it consumes to much time.
Thanks in advance for your helps...
By "overrides the existing default graph" do you mean it deletes the
existing data? Do you have a complete, minimal example? (versions
numbers of database your using would also be useful.)
This should go via the bulk update handler although it's not a direct
database operation to copy from one SQL table to another.
Andy