public static void Main(string[] args) { Console.WriteLine("Start"); string path = @"..\..\..\Databases\"; TGraph gra = new TGraph(path); bool toload = false; if (toload) { TTurtleParser parser = new TTurtleParser(); parser.Load(gra, @"D:\home\FactographDatabases\dataset\dataset1M.ttl"); } else { Tracer(gra); } }
public static void Main(string[] args) { Console.WriteLine("Start"); string path = @"..\..\..\Databases\"; string datasetpath = @"D:\home\FactographDatabases\dataset\"; DateTime tt0 = DateTime.Now; TGraph gra = new TGraph(path); Console.WriteLine("Построение графа: {0} мс.", (DateTime.Now - tt0).Ticks / 10000L); tt0 = DateTime.Now; bool toload = true; if (toload) { tt0 = DateTime.Now; TTurtleParser parser = new TTurtleParser(); parser.Load(gra, datasetpath + "dataset100M.ttl"); Console.WriteLine("TOTAL: {0} мс.", (DateTime.Now - tt0).Ticks / 10000L); tt0 = DateTime.Now; } else { Tracer(gra, datasetpath + @"tracing100th.xml"); } }