Click or drag to resize

SparqlHttpProtocolConnectorUpdateGraph Method (Uri, IEnumerableTriple, IEnumerableTriple)

Updates a Graph on the Protocol Server.

Namespace:  VDS.RDF.Storage
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public virtual void UpdateGraph(
	Uri graphUri,
	IEnumerable<Triple> additions,
	IEnumerable<Triple> removals
)

Parameters

graphUri
Type: SystemUri
URI of the Graph to update.
additions
Type: System.Collections.GenericIEnumerableTriple
Triples to be added.
removals
Type: System.Collections.GenericIEnumerableTriple
Triples to be removed.

Implements

IStorageProviderUpdateGraph(Uri, IEnumerableTriple, IEnumerableTriple)
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