Click or drag to resize

LazyBgp Class

Represents a BGP which is a set of Triple Patterns.
Inheritance Hierarchy

Namespace:  VDS.RDF.Query.Algebra
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class LazyBgp : Bgp

The LazyBgp type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyFixedVariables
Gets the enumeration of fixed variables in the algebra i.e. variables that are guaranteed to have a bound value.
(Inherited from Bgp.)
Public propertyFloatingVariables
Gets the enumeration of floating variables in the algebra i.e. variables that are not guaranteed to have a bound value.
(Inherited from Bgp.)
Public propertyIsEmpty
Gets whether the BGP is the emtpy BGP.
(Inherited from Bgp.)
Public propertyPatternCount
Gets the number of Triple Patterns in the BGP.
(Inherited from Bgp.)
Public propertyTriplePatterns
Gets the Triple Patterns in the BGP.
(Inherited from Bgp.)
Public propertyVariables
Gets the Variables used in the Algebra.
(Inherited from Bgp.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEvaluate
Evaluates the BGP against the Evaluation Context.
(Overrides BgpEvaluate(SparqlEvaluationContext).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToGraphPattern
Converts the BGP to a Graph Pattern.
(Inherited from Bgp.)
Public methodToQuery
Converts the Algebra back to a SPARQL Query.
(Inherited from Bgp.)
Public methodToString
Gets the String representation of the Algebra.
(Overrides BgpToString.)
Top
Fields
  NameDescription
Protected field_triplePatterns
The ordered list of triple patterns that are contained in this BGP.
(Inherited from Bgp.)
Top
Remarks

A Lazy 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 queries where we are only want to retrieve a limited number of solutions.

A Lazy BGP can only contain concrete Triple Patterns and/or FILTERs and not any of other the specialised Triple Pattern classes.

See Also