Show / Hide Table of Contents

Interface ITriplePattern

Interface for Triple Patterns.
Inherited Members
System.IComparable<VDS.RDF.Query.Patterns.ITriplePattern>.CompareTo(VDS.RDF.Query.Patterns.ITriplePattern)
Namespace: VDS.RDF.Query.Patterns
Assembly: dotNetRDF.dll
Syntax
public interface ITriplePattern : IComparable<ITriplePattern>

Properties

| Improve this Doc 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
System.Collections.Generic.IEnumerable<System.String>
| Improve this Doc 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
System.Collections.Generic.IEnumerable<System.String>
| Improve this Doc View Source

HasNoBlankVariables

Gets whether a Triple Pattern does not contain any Blank Variables.
Declaration
bool HasNoBlankVariables { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsAcceptAll

Gets whether the Pattern accepts all.
Declaration
bool IsAcceptAll { get; }
Property Value
Type Description
System.Boolean
Remarks
Indicates that a Pattern is of the form ?s ?p ?o.
| Improve this Doc View Source

PatternType

Gets the Pattern Type.
Declaration
TriplePatternType PatternType { get; }
Property Value
Type Description
TriplePatternType
| Improve this Doc View Source

UsesDefaultDataset

Gets whether a Triple Pattern uses the Default Dataset when evaluated.
Declaration
bool UsesDefaultDataset { get; }
Property Value
Type Description
System.Boolean
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.
| Improve this Doc View Source

Variables

Gets the List of Variables used in the Pattern.
Declaration
List<string> Variables { get; }
Property Value
Type Description
System.Collections.Generic.List<System.String>

Methods

| Improve this Doc View Source

Evaluate(SparqlEvaluationContext)

Evaluates the Triple Pattern in the given Evaluation Context.
Declaration
void Evaluate(SparqlEvaluationContext context)
Parameters
Type Name Description
SparqlEvaluationContext context Query Evaluation Context.

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • FixedVariables
    • FloatingVariables
    • HasNoBlankVariables
    • IsAcceptAll
    • PatternType
    • UsesDefaultDataset
    • Variables
  • Methods
    • Evaluate(SparqlEvaluationContext)
  • Extension Methods
Back to top Generated by DocFX