Click or drag to resize

SparqlRdfParserLoad Method (SparqlResultSet, StreamReader)

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

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

Parameters

results
Type: VDS.RDF.QuerySparqlResultSet
SPARQL Result Set to populate.
input
Type: System.IOStreamReader
Stream to read from.

Implements

ISparqlResultsReaderLoad(SparqlResultSet, StreamReader)
Remarks
Uses the StringParser which will use simple heuristics to 'guess' the format of the RDF unless the parser was instaniated with a specific IRdfReader to use.
See Also