Map<TriplesMapGraph, List<String>> graphTriplesMapsProcessingOrder = new HashMap<TriplesMapGraph, List<String>>();
for(TriplesMapGraph graph : kr2rmlMapping.getAuxInfo().getTriplesMapGraph().getGraphs())
{
TriplesMapGraph copyGraph = graph.copyGraph();
if(null == strategy) {
strategy = new SteinerTreeRootStrategy(new WorksheetDepthRootStrategy());
}
copyGraph.killTriplesMap(tripleMapToKill, strategy);
copyGraph.stopTriplesMap(tripleMapToStop, strategy);
copyGraph.killPredicateObjectMap(POMToKill, strategy);
try{
DFSTriplesMapGraphDAGifier dagifier = new DFSTriplesMapGraphDAGifier();
List<String> triplesMapsProcessingOrder = new LinkedList<String>();
triplesMapsProcessingOrder = dagifier.dagify(copyGraph, strategy);