return result;
}
private void writeGraph(File directory, Graph graph) throws IOException {
NaturalizedGraph naturalizedGraph = new NaturalizedGraph(graph,
new Naturalizer() {
public Node naturalize(FunctionallyGroundedNode fgNode,
Graph graph) {
Node anonymousNode = new NodeImpl();
graph.add(new TripleImpl(anonymousNode,
new PropertyNodeImpl(