AskBgp Class |
Namespace: VDS.RDF.Query.Algebra
The AskBgp type exposes the following members.
Name | Description | |
---|---|---|
AskBgp(IEnumerableITriplePattern) |
Creates a Streamed BGP containing a set of Triple Patterns.
| |
AskBgp(ITriplePattern) |
Creates a Streamed BGP containing a single Triple Pattern.
|
Name | Description | |
---|---|---|
FixedVariables |
Gets the enumeration of fixed variables in the algebra i.e. variables that are guaranteed to have a bound value.
| |
FloatingVariables |
Gets the enumeration of floating variables in the algebra i.e. variables that are not guaranteed to have a bound value.
| |
IsEmpty |
Gets whether the BGP is the emtpy BGP.
| |
PatternCount |
Gets the number of Triple Patterns in the BGP.
| |
TriplePatterns |
Gets the Triple Patterns in the BGP.
| |
Variables |
Gets the Variables used in the Algebra.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Evaluate |
Evaluates the BGP against the Evaluation Context.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToGraphPattern |
Converts the BGP back to a Graph Pattern.
| |
ToQuery |
Converts the Algebra back to a SPARQL Query.
| |
ToString |
Gets the String representation of the Algebra.
(Overrides ObjectToString.) |
An Ask BGP differs from a BGP in that rather than evaluating each Triple Pattern in turn it evaluates across all Triple Patterns. This is used for ASK queries where we are only concerned with whether a BGP matches and not in the specific solutions.
An Ask BGP can only contain concrete Triple Patterns and/or FILTERs and not any of the other specialised Triple Pattern classes.