Click or drag to resize

SparqlRdfParserLoad Method (SparqlResultSet, String)

Loads a SPARQL Result Set from RDF contained in the given File.

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

Parameters

results
Type: VDS.RDF.QuerySparqlResultSet
SPARQL Result Set to populate.
filename
Type: SystemString
File to read from.

Implements

ISparqlResultsReaderLoad(SparqlResultSet, String)
Remarks
Uses the FileLoader to load the RDF from the file which will attempt to determine the format of the RDF based on the file extension unless the parser was instantiated with a specific IRdfReader to use.
See Also