Class SetExtensions
Additional utility methods for ISet.
Inherited Members
Namespace: VDS.RDF.Query.Algebra
Assembly: dotNetRdf.dll
Syntax
public static class SetExtensions
Methods
| Edit this page View SourceAsSparqlResult(ISet)
Creates a Sparql
Declaration
[Obsolete("Replaced by the ISparqlResultFactory interface and its implementation.")]
public static SparqlResult AsSparqlResult(this ISet set)
Parameters
Type | Name | Description |
---|---|---|
ISet | set |
Returns
Type | Description |
---|---|
Sparql |
AsSparqlResult(ISet, IEnumerable<string>)
Creates a Sparql
Declaration
public static SparqlResult AsSparqlResult(this ISet set, IEnumerable<string> variables)
Parameters
Type | Name | Description |
---|---|---|
ISet | set | The set containing the bindings to be added to the SPARQL result. |
IEnumerable<string> | variables | The names of the variables to be included in the SPARQL result. |
Returns
Type | Description |
---|---|
Sparql |