Click or drag to resize

UriLoader.Load Method (ITripleStore, Uri, IStoreReader)

Attempts to load a RDF dataset from the given URI into the given Triple Store.

Namespace:  VDS.RDF.Parsing
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static void Load(
	ITripleStore store,
	Uri u,
	IStoreReader parser
)

Parameters

store
Type: VDS.RDF.ITripleStore
Triple Store to load into.
u
Type: System.Uri
URI to attempt to get a RDF dataset from.
parser
Type: VDS.RDF.IStoreReader
Parser to use to parse the RDF dataset.
Remarks

If the parser parameter is set to null then this method attempts to select the relevant Store Parser based on the Content Type header returned in the HTTP Response.

If you know ahead of time the Content Type you can explicitly pass in the parser to use.

See Also