Click or drag to resize

IStorageProviderLoadGraph Method (IGraph, String)

Loads a Graph from the Store.

Namespace:  VDS.RDF.Storage
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
void LoadGraph(
	IGraph g,
	string graphUri
)

Parameters

g
Type: VDS.RDFIGraph
Graph to load into.
graphUri
Type: SystemString
URI of the Graph to load.
Remarks

If the Graph being loaded into is Empty then it's Base Uri should become the Uri of the Graph being loaded, otherwise it should be merged into the existing non-empty Graph whose Base Uri should be unaffected.

Behaviour of this method with regards to non-existent Graphs is up to the implementor, an empty Graph may be returned or an error thrown. Implementors should state in the XML comments for their implementation what behaviour is implemented.

See Also