Click or drag to resize

SparqlRdfParser.Load 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.Query.SparqlResultSet
SPARQL Result Set to populate.
filename
Type: System.String
File to read from.

Implements

ISparqlResultsReader.Load(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