dotNetRDF API Documentation

SparqlHttpProtocolConnector.UpdateGraph(Uri, IEnumerable, IEnumerable) Method

Updates a Graph on the Protocol Server

public virtual void UpdateGraph(
   Uri graphUri,
   IEnumerable<Tripleadditions,
   IEnumerable<Tripleremovals
);

Parameters

graphUri
URI of the Graph to update
additions
Triples to be added
removals
Triples to be removed

Implements

IStorageProvider.UpdateGraph

Remarks

Note: The SPARQL Graph Store HTTP Protocol for Graph Management only supports the addition of Triples to a Graph and does not support removal of Triples from a Graph. If you attempt to remove Triples then an RdfStorageException will be thrown

See Also

SparqlHttpProtocolConnector Class | VDS.RDF.Storage Namespace | SparqlHttpProtocolConnector.UpdateGraph Overload List