Class BindingsPattern
Represents a set of Bindings for a SPARQL Query or part thereof i.e. represents the VALUES clause.
Inherited Members
Namespace: VDS.RDF.Query.Patterns
Assembly: dotNetRdf.dll
Syntax
public class BindingsPattern
Constructors
| Edit this page View SourceBindingsPattern()
Creates a new Empty Bindings Pattern.
Declaration
public BindingsPattern()
BindingsPattern(IEnumerable<string>)
Creates a new Bindings Pattern.
Declaration
public BindingsPattern(IEnumerable<string> vars)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<string> | vars | Variables. |
Properties
| Edit this page View SourceFixedVariables
Get the enumeration of fixed variables i.e. those guaranteed to be bound.
Declaration
public IEnumerable<string> FixedVariables { get; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |
FloatingVariables
Gets the enumeration of floating variables i.e. those not guaranteed to be bound.
Declaration
public IEnumerable<string> FloatingVariables { get; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |
Tuples
Gets the enumeration of Tuples.
Declaration
public IEnumerable<BindingTuple> Tuples { get; }
Property Value
Type | Description |
---|---|
IEnumerable<BindingTuple> |
Variables
Gets the enumeration of Variables.
Declaration
public IEnumerable<string> Variables { get; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |
Methods
| Edit this page View SourceAddTuple(BindingTuple)
Adds a Tuple to the Bindings pattern.
Declaration
public void AddTuple(BindingTuple t)
Parameters
Type | Name | Description |
---|---|---|
BindingTuple | t |
ToString()
Gets the String representation of the Pattern.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |