Class SparqlResultFactory
Implements
Inherited Members
Namespace: VDS.RDF.Query
Assembly: dotNetRdf.dll
Syntax
public class SparqlResultFactory : ISparqlResultFactory
Methods
| Edit this page View SourceMakeResult(ISet)
Create a SPARQL result row from a single set of variable bindings.
Declaration
public ISparqlResult MakeResult(ISet bindings)
Parameters
Type | Name | Description |
---|---|---|
ISet | bindings | The variable bindings to be converted / wrapped as a ISparql |
Returns
Type | Description |
---|---|
ISparql |
The ISparql |
MakeResult(ISet, IEnumerable<string>)
Create a SPARQL result row from a subset of variable bindings.
Declaration
public ISparqlResult MakeResult(ISet bindings, IEnumerable<string> variables)
Parameters
Type | Name | Description |
---|---|---|
ISet | bindings | The variable bindings. |
IEnumerable<string> | variables | The variables to be included in the generated ISparql |
Returns
Type | Description |
---|---|
ISparql |
The <see cref="ISparqlResult"/> instance that represents the row. |