readAndUpdateTripleIterator(triples);
triples = newSourceGraph.find(ANY_SUBJECT_NODE, ANY_PREDICATE_NODE, ANY_OBJECT_NODE).iterator();
try {
mapper.createNewTriples(triples);
} catch (Exception e) {
throw new GraphException("Cannot create new triples.", e);
} finally {
triples.close();
}
return mapper.getGraph();
}