SparqlResultSetToTripleCollection Method (IGraph)
Converts a Result Set into a Triple Collection.
dotNetRDF (in dotNetRDF.dll) Version:
public BaseTripleCollection ToTripleCollection(
Public Function ToTripleCollection (
g As IGraph
) As BaseTripleCollection
- Type: VDS.RDFIGraph
Graph to generate the Nodes in.
[Missing <returns> documentation for "M:VDS.RDF.Query.SparqlResultSet.ToTripleCollection(VDS.RDF.IGraph)"]
Assumes the Result Set contains three variables ?s, ?p and ?o to use as the Subject, Predicate and Object respectively. Only Results for which all three variables have bound values will generate Triples.