AllegroGraphCSharpClient.Catalog.createTripleStore C# (CSharp) Method

createTripleStore() public method

Initialize new triple store
public createTripleStore ( string name, string url ) : bool
name string
url string
return bool
        public bool createTripleStore(string name, string url)
        {
            try
            {
                if (url != string.Empty)
                {
                    this._url = url;
                }
                Request request = new Request();
                request.StandardRequest("PUT", this._url + @"/repositories/" + legalizeName(name,this._url), null, null);
                return true;
            }
            catch (Exception ex)
            {
                System.Diagnostics.Trace.WriteLine("Error in create triple store : " + ex.Message);
                return false;
            }
        }