Show / Hide Table of Contents

Interface IMatchTriplePattern

Interface for Triple Patterns that do simple pattern matching.

Inherited Members
ITriplePattern.PatternType
ITriplePattern.IsAcceptAll
ITriplePattern.Variables
ITriplePattern.FloatingVariables
ITriplePattern.FixedVariables
ITriplePattern.UsesDefaultDataset
ITriplePattern.HasNoBlankVariables
System.IComparable<VDS.RDF.Query.Patterns.ITriplePattern>.CompareTo(VDS.RDF.Query.Patterns.ITriplePattern)
IProcessable.Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)
IVisitable.Accept<T>(ISparqlAlgebraVisitor<T>)
System.IComparable<VDS.RDF.Query.Patterns.IMatchTriplePattern>.CompareTo(VDS.RDF.Query.Patterns.IMatchTriplePattern)
Namespace: VDS.RDF.Query.Patterns
Assembly: dotNetRdf.dll
Syntax
public interface IMatchTriplePattern : ITriplePattern, IComparable<ITriplePattern>, IProcessable, IVisitable, IComparable<IMatchTriplePattern>

Properties

| Improve this Doc View Source

IndexType

Gets the Index type that should be used in Pattern execution.

Declaration
TripleIndexType IndexType { get; }
Property Value
Type Description
TripleIndexType
| Improve this Doc View Source

Object

Gets the Object of the Pattern.

Declaration
PatternItem Object { get; }
Property Value
Type Description
PatternItem
| Improve this Doc View Source

Predicate

Gets the Predicate of the Pattern.

Declaration
PatternItem Predicate { get; }
Property Value
Type Description
PatternItem
| Improve this Doc View Source

Subject

Gets the Subject of the Pattern.

Declaration
PatternItem Subject { get; }
Property Value
Type Description
PatternItem

Methods

| Improve this Doc View Source

CreateResult(Triple)

Creates a set from a Triple.

Declaration
ISet CreateResult(Triple t)
Parameters
Type Name Description
Triple t

Triple.

Returns
Type Description
ISet
| Improve this Doc View Source

Evaluate(IPatternEvaluationContext, Triple)

Evaluate the given triple against this pattern, returning a set of variable bindings if it matches or null if it does not.

Declaration
ISet Evaluate(IPatternEvaluationContext context, Triple t)
Parameters
Type Name Description
IPatternEvaluationContext context
Triple t
Returns
Type Description
ISet

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • IndexType
    • Object
    • Predicate
    • Subject
  • Methods
    • CreateResult(Triple)
    • Evaluate(IPatternEvaluationContext, Triple)
  • Extension Methods
Back to top Generated by DocFX