public void UpdateExampleGraph(string uri)
{
Graph newGraph = new Graph();
newGraph.BaseUri = UriFactory.Create(uri);
Triple triple2remove = 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))
);
Triple triple2add = new Triple(
newGraph.CreateUriNode(UriFactory.Create("http://example/book1")),
newGraph.CreateUriNode(UriFactory.Create("http://purl.org/dc/elements/1.1/title")),
newGraph.CreateLiteralNode("Fundamentals of Compiler Design", new Uri(XmlSpecsHelper.XmlSchemaDataTypeString))
);
connector.UpdateGraph(
UriFactory.Create(uri),
new List<Triple>() { triple2add },
new List<Triple>() { triple2remove }
);
}