+ public static String prettyPrintResource(ReadGraph graph, Resource resource) throws Exception {
+ TransferableGraphSource source = makeTGSource(graph, resource);
+ TransferableGraph1 tg = TransferableGraphs.create(graph, source);
+ GraphRefactoringUtils.fixOntologyExport(tg);
+ return PrettyPrintTG.print(tg);
+ }
+