return parseNTriples(getInputStream(file));
}
public Graph parseNTriples(final InputStream stream) {
final LineHandler lineHandler = ntriplesFactory.createParser(graph, mapFactory);
final GraphLineParser lineParser = new GraphLineParser(graph, lineHandler);
tryParse(lineParser, stream);
return graph;
}