Interface ISparqlResultFactory
Namespace: VDS.RDF.Query
Assembly: dotNetRdf.dll
Syntax
public interface ISparqlResultFactory
Methods
| Edit this page View SourceMakeResult(ISet)
Create a SPARQL result row from a single set of variable bindings.
Declaration
ISparqlResult MakeResult(ISet bindings)
Parameters
| Type | Name | Description |
|---|---|---|
| ISet | bindings | The variable bindings to be converted / wrapped as a ISparqlResult. |
Returns
| Type | Description |
|---|---|
| ISparqlResult | The ISparqlResult instance that represents the row. |
MakeResult(ISet, IEnumerable<string>)
Create a SPARQL result row from a subset of variable bindings.
Declaration
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 ISparqlResult. |
Returns
| Type | Description |
|---|---|
| ISparqlResult | The <see cref="ISparqlResult"/> instance that represents the row. |