UpdateExampleGraph() public method

public UpdateExampleGraph ( string uri ) : void
uri string
return void
Example #1
0
        static void Main(string[] args)
        {
            Program program = new Program();

            program.RemoveAllData();
            program.CreateExampleGraph("http://example/bookStore");
            program.LoadExampleGraph("http://example/bookStore");
            program.UpdateExampleGraph("http://example/bookStore");
            program.QueryExample("SELECT * { ?s ?p ?o } LIMIT 1");
            program.QueryWithTimeoutExample("SELECT * { ?s ?p ?o } LIMIT 1", 1);
            program.DeleteGraphExample("http://example/bookStore");

            Console.ReadKey();
        }
        static void Main(string[] args)
        {
            Program program = new Program();

            program.RemoveAllData();
            program.CreateExampleGraph("http://example/bookStore");
            program.LoadExampleGraph("http://example/bookStore");
            program.UpdateExampleGraph("http://example/bookStore");
            program.QueryExample("SELECT * { ?s ?p ?o } LIMIT 1");
            program.QueryWithTimeoutExample("SELECT * { ?s ?p ?o } LIMIT 1", 1);
            program.DeleteGraphExample("http://example/bookStore");

            Console.ReadKey();
        }