{
// SPARQL/Update
Store store = SDBTestUtils.createInMemoryStore() ;
GraphStore gs = SDBFactory.connectGraphStore(store) ;
UpdateAction.readExecute("update.ru", gs) ;
Iter<Node> iter = Iter.iter(gs.listGraphNodes()) ;
System.out.println(">>>");
for ( Node n : iter)
System.out.println(n);
System.out.println("<<<");
// Does not see new graph.
SSE.write(gs.toDataset()) ;
//
//
// SSE.write(gs.getDefaultGraph()) ;
// IndentedWriter.stdout.println();
System.out.println("-- Get named graph");
SSE.write(gs.getGraph(Node.createURI("http://example/foo"))) ;
IndentedWriter.stdout.println() ;
//
System.out.println("----");
Dataset ds = SDBFactory.connectDataset(store) ;
SSE.write(ds) ;