public static void main( String[] args )
throws SailException, RDFParseException, RDFHandlerException, FileNotFoundException, IOException
{
Neo4jGraph neo = new Neo4jGraph("dbpedia4neo");
Sail sail = new GraphSail(neo);
CommitManager manager = TransactionalGraphHelper.createCommitManager(neo, 10000);
for (String file: args) {
System.out.println("Loading " + file + ": ");
loadFile(file, sail.getConnection(), sail.getValueFactory(), manager);
System.out.print('\n');
}
manager.close();
sail.shutDown();
}