Interface ITriplePattern
Interface for Triple Patterns.
Inherited Members
Namespace: VDS.RDF.Query.Patterns
Assembly: dotNetRdf.dll
Syntax
public interface ITriplePattern : IComparable<ITriplePattern>, IProcessable, IVisitable
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<T><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<T><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.
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.
Variables
Gets the List of Variables used in the Pattern.
Declaration
List<string> Variables { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<T><string> |