Click or drag to resize

SparqlHttpProtocolConnectorUpdateGraph Method (String, IEnumerableTriple, IEnumerableTriple)

Updates a Graph on the Protocol Server.

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

Parameters

graphUri
Type: SystemString
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(String, 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