Skip to content

Instantly share code, notes, and snippets.

@rvesse
Last active December 18, 2015 12:58
Show Gist options
  • Save rvesse/5786144 to your computer and use it in GitHub Desktop.
Save rvesse/5786144 to your computer and use it in GitHub Desktop.
// Assuming we already have a StardogConnector in the variable stardog
IGraph g = new Graph();
// The graph gets populated with data somehow...
// Set the name for the graph
g.BaseUri = new Uri("http://example.org/name");
// Save to Stardog
stardog.SaveGraph(g);
// We now have the named graph http://example.org/name in our Stardog database
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment