public Graph CreateExampleGraph(string uri)
{
Graph newGraph = new Graph();
newGraph.BaseUri = UriFactory.Create(uri);
Triple triple = new Triple(
newGraph.CreateUriNode(UriFactory.Create("http://example/book1")),
newGraph.CreateUriNode(UriFactory.Create("http://example.org/ns#price")),
newGraph.CreateLiteralNode("42", new Uri(XmlSpecsHelper.XmlSchemaDataTypeInteger))
);
newGraph.Assert(triple);
connector.SaveGraph(newGraph);
return newGraph;
}