Show / Hide Table of Contents

Interface ITriplePattern

Interface for Triple Patterns.

Inherited Members
IComparable<ITriplePattern>.CompareTo(ITriplePattern)
IProcessable.Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)
IVisitable.Accept<T>(ISparqlAlgebraVisitor<T>)
Namespace: VDS.RDF.Query.Patterns
Assembly: dotNetRdf.dll
Syntax
public interface ITriplePattern : IComparable<ITriplePattern>, IProcessable, IVisitable

Properties

| Edit this page View Source

FixedVariables

Gets the enumeration of fixed variables in the pattern i.e. variables that are guaranteed to have a bound value.

Declaration
IEnumerable<string> FixedVariables { get; }
Property Value
Type Description
IEnumerable<string>
| Edit this page View Source

FloatingVariables

Gets the enumeration of floating variables in the pattern i.e. variables that are not guaranteed to have a bound value.

Declaration
IEnumerable<string> FloatingVariables { get; }
Property Value
Type Description
IEnumerable<string>
| Edit this page View Source

HasNoBlankVariables

Gets whether a Triple Pattern does not contain any Blank Variables.

Declaration
bool HasNoBlankVariables { get; }
Property Value
Type Description
bool
| Edit this page View Source

IsAcceptAll

Gets whether the Pattern accepts all.

Declaration
bool IsAcceptAll { get; }
Property Value
Type Description
bool
Remarks

Indicates that a Pattern is of the form ?s ?p ?o.

| Edit this page View Source

PatternType

Gets the Pattern Type.

Declaration
TriplePatternType PatternType { get; }
Property Value
Type Description
TriplePatternType
| Edit this page View Source

UsesDefaultDataset

Gets whether a Triple Pattern uses the Default Dataset when evaluated.

Declaration
bool UsesDefaultDataset { get; }
Property Value
Type Description
bool
Remarks

Almost all Triple Patterns use the Default Dataset unless they are sub-query patterns which themselves don't use the Default Dataset or they contain an expression (in the case of BIND/LET/FILTERs) which does not use the Default Dataset.

| Edit this page View Source

Variables

Gets the List of Variables used in the Pattern.

Declaration
List<string> Variables { get; }
Property Value
Type Description
List<string>

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Properties
    • FixedVariables
    • FloatingVariables
    • HasNoBlankVariables
    • IsAcceptAll
    • PatternType
    • UsesDefaultDataset
    • Variables
  • Extension Methods
Back to top Generated by DocFX