Click or drag to resize

SparqlRdfParserLoad Method (ISparqlResultsHandler, String)

Loads a SPARQL Results from RDF contained in the given file using a Results Handler.

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

Parameters

handler
Type: VDS.RDFISparqlResultsHandler
Results Handler to use.
filename
Type: SystemString
File to read from.

Implements

ISparqlResultsReaderLoad(ISparqlResultsHandler, 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