Interface IMatchTriplePattern
Inteface for Triple Patterns that do simple pattern matching.
Inherited Members
System.IComparable<VDS.RDF.Query.Patterns.ITriplePattern>.CompareTo(VDS.RDF.Query.Patterns.ITriplePattern)
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>, IComparable<IMatchTriplePattern>
Properties
| Improve this Doc View SourceIndexType
Gets the Index type that should be used in Pattern execution.
Declaration
TripleIndexType IndexType { get; }
Property Value
Type | Description |
---|---|
TripleIndexType |
Object
Gets the Object of the Pattern.
Declaration
PatternItem Object { get; }
Property Value
Type | Description |
---|---|
PatternItem |
Predicate
Gets the Predicate of the Pattern.
Declaration
PatternItem Predicate { get; }
Property Value
Type | Description |
---|---|
PatternItem |
Subject
Gets the Subject of the Pattern.
Declaration
PatternItem Subject { get; }
Property Value
Type | Description |
---|---|
PatternItem |
Methods
| Improve this Doc View SourceAccepts(SparqlEvaluationContext, Triple)
Gets whether a given triple is accepted by this pattern.
Declaration
bool Accepts(SparqlEvaluationContext context, Triple t)
Parameters
Type | Name | Description |
---|---|---|
SparqlEvaluationContext | context | Context. |
Triple | t | Triple. |
Returns
Type | Description |
---|---|
System.Boolean |
CreateResult(Triple)
Creates a set from a Triple.
Declaration
ISet CreateResult(Triple t)
Parameters
Type | Name | Description |
---|---|---|
Triple | t | Triple. |
Returns
Type | Description |
---|---|
ISet |
GetTriples(SparqlEvaluationContext)
Gets the Triples that match this pattern.
Declaration
IEnumerable<Triple> GetTriples(SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
SparqlEvaluationContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Triple> |