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 SourceFixedVariables
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> |
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> |
HasNoBlankVariables
Gets whether a Triple Pattern does not contain any Blank Variables.
Declaration
bool HasNoBlankVariables { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
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 |
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 SourceEvaluate(SparqlEvaluationContext)
Evaluates the Triple Pattern in the given Evaluation Context.
Declaration
void Evaluate(SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
SparqlEvaluationContext | context | Query Evaluation Context. |