Click or drag to resize

VirtuosoManagerUpdate Method

Executes a SPARQL Update on the native Quad Store.

Namespace:  VDS.RDF.Storage
Assembly:  dotNetRDF.Data.Virtuoso (in dotNetRDF.Data.Virtuoso.dll) Version: 2.0.1+5.Branch.master.Sha.2b2692866fdc3f3bb5bc6f318ab2f93abcc1a689
Syntax
public void Update(
	string sparqlUpdate
)

Parameters

sparqlUpdate
Type: SystemString
SPARQL Update to execute.

Implements

IUpdateableStorageUpdate(String)
Exceptions
ExceptionCondition
SparqlUpdateExceptionThrown if an error occurs in making the update.
Remarks

This method will first attempt to parse the update into a SparqlUpdateCommandSet object. If this succeeds then each command in the command set will be issued to Virtuoso.

If the parsing fails then the update will be executed anyway using Virtuoso's SPASQL (SPARQL + SQL) syntax. Parsing can fail because Virtuoso supports various SPARQL extensions which the library does not support and primarily supports SPARUL updates (the precusor to SPARQL 1.1 Update).

See Also