예제 #1
0
        private static void RunAllLUBMByOne()
        {
            var Store = new StoreCascadingInt("../../../Databases/int based/");

            if (false)
            {
                Store.Clear();
                foreach (
                    var owlFile in
                    new DirectoryInfo(@"C:\Users\Admin\Source\Repos\RDF-Store-Polar-DB-Lab\Testing\examples\lubm")
                    .GetFiles("*.owl"))
                {
                    Store.AddFromXml(XElement.Load(owlFile.FullName));
                }
            }
            else
            {
                Console.WriteLine(Store.table.Elements().Count());
                //   Store.ActivateCache();
                Store.Start();
            }
            for (int i = 0; i < 14; i++)
            {
                SparqlTesting.OneLUMB(Store, i + 1, 100);
            }
        }
예제 #2
0
        private static void RunAllBerlinByOne()
        {
            var Store = new StoreCascadingInt("../../../Databases/int based/");

            Performance.ComputeTime(() => Store.ReloadFrom(Config.Source_data_folder_path + "1M.ttl"), "load 1млн ", true);
            //  return;
            //  Store.ActivateCache();
            Store.Start();

            //for (int i = 0; i < 12; i++)
            //{
            //    SparqlTesting.OneBerlinParametrized(Store, i + 1, 100);
            //}
        }