Click or drag to resize

SparqlResultSetToTripleCollection Method (IGraph, String, String, String)

Converts a Result Set into a Triple Collection.

Namespace:  VDS.RDF.Query
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public BaseTripleCollection ToTripleCollection(
	IGraph g,
	string subjVar,
	string predVar,
	string objVar
)

Parameters

g
Type: VDS.RDFIGraph
Graph to generate the Nodes in.
subjVar
Type: SystemString
Variable whose value should be used for Subjects of Triples.
predVar
Type: SystemString
Variable whose value should be used for Predicates of Triples.
objVar
Type: SystemString
Variable whose value should be used for Object of Triples.

Return Value

Type: BaseTripleCollection

[Missing <returns> documentation for "M:VDS.RDF.Query.SparqlResultSet.ToTripleCollection(VDS.RDF.IGraph,System.String,System.String,System.String)"]

Remarks
Only Results for which all three variables have bound values will generate Triples.
See Also