Click or drag to resize

FileLoaderLoad Method (ITripleStore, String)

Loads the contents of the given File into a Triple Store providing the RDF dataset format can be determined.

Namespace:  VDS.RDF.Parsing
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static void Load(
	ITripleStore store,
	string filename
)

Parameters

store
Type: VDS.RDFITripleStore
Triple Store to load into.
filename
Type: SystemString
File to load from.
Remarks

The FileLoader attempts to select a Store Parser by examining the file extension to select the most likely MIME type for the file. This assume that the file extension corresponds to one of the recognized file extensions for a RDF dataset format the library supports. If this suceeds then a parser is chosen and used to parse the input file.

See Also