Click or drag to resize

TriplePattern Class

Class for representing Triple Patterns in SPARQL Queries.
Inheritance Hierarchy

Namespace:  VDS.RDF.Query.Patterns
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class TriplePattern : BaseTriplePattern, 
	IMatchTriplePattern, ITriplePattern, IComparable<ITriplePattern>, IComparable<IMatchTriplePattern>, 
	IConstructTriplePattern, IComparable<TriplePattern>

The TriplePattern type exposes the following members.

Constructors
  NameDescription
Public methodTriplePattern
Creates a new Triple Pattern.
Top
Properties
  NameDescription
Public propertyFixedVariables
Returns all variables mentioned as a match guarantees all variables are bound.
(Overrides BaseTriplePatternFixedVariables.)
Public propertyFloatingVariables
Returns an empty enumeration as a match guarantees all variables are bound.
(Overrides BaseTriplePatternFloatingVariables.)
Public propertyHasNoBlankVariables
Gets whether the Pattern contains no Explicit Variables (i.e. Blank Node Variables are ignored).
(Overrides BaseTriplePatternHasNoBlankVariables.)
Public propertyHasNoExplicitVariables
Gets whether the Pattern contains no Explicit Variables (i.e. Blank Node Variables are ignored).
Public propertyHasNoVariables
Gets whether the Pattern contains no Variables of any kind.
Public propertyIndexType
Gets the Index Type we will use for this Pattern.
Public propertyIsAcceptAll
Returns whether the Triple Pattern is an accept all.
(Overrides BaseTriplePatternIsAcceptAll.)
Public propertyObject
Object Pattern.
Public propertyPatternType
Gets the pattern type.
(Overrides BaseTriplePatternPatternType.)
Public propertyPredicate
Predicate Pattern.
Public propertySubject
Subject Pattern.
Public propertyUsesDefaultDataset
Gets whether a Triple Pattern is Thread Safe when evaluated.
(Inherited from BaseTriplePattern.)
Public propertyVariables
Gets the List of Variables used in the Pattern.
(Inherited from BaseTriplePattern.)
Top
Methods
  NameDescription
Public methodAccepts
Gets whether a given Triple is accepted by this Pattern in the given Context.
Public methodCompareTo(IMatchTriplePattern)
Compares a triple pattern to another.
Public methodCompareTo(ITriplePattern)
Compares a Triple Pattern to another Triple Pattern.
(Inherited from BaseTriplePattern.)
Public methodCompareTo(TriplePattern)
Compares a triple pattern to another.
Public methodConstruct
Constructs a Triple from a Set based on this Triple Pattern.
Public methodCreateResult
Generates a Result Set for a Triple that matches the Pattern.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEvaluate
Evaluates a Triple Pattern in the given Evaluation Context.
(Overrides BaseTriplePatternEvaluate(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 methodGetTriples
Gets the Enumeration of Triples that should be assessed for matching the pattern.
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 methodToString
Gets the String representation of this Pattern.
(Overrides BaseTriplePatternToString.)
Top
Fields
  NameDescription
Protected field_vars
Stores the list of variables that are used in the Pattern.
(Inherited from BaseTriplePattern.)
Top
See Also