Class PropertyPathPattern
Class for representing property patterns in SPARQL Queries.
Implements
System.IComparable<ITriplePattern>
System.IComparable<IPropertyPathPattern>
System.IComparable<PropertyPathPattern>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VDS.RDF.Query.Patterns
Assembly: dotNetRDF.dll
Syntax
public class PropertyPathPattern : BaseTriplePattern, IPropertyPathPattern, ITriplePattern, IComparable<ITriplePattern>, IComparable<IPropertyPathPattern>, IComparable<PropertyPathPattern>
Constructors
| Improve this Doc View SourcePropertyPathPattern(PatternItem, ISparqlPath, PatternItem)
Creates a new Property Path Pattern.
Declaration
public PropertyPathPattern(PatternItem subj, ISparqlPath path, PatternItem obj)
Parameters
Type | Name | Description |
---|---|---|
PatternItem | subj | Subject. |
ISparqlPath | path | Property Path. |
PatternItem | obj | Object. |
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
public override IEnumerable<string> FixedVariables { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
Overrides
| Improve this Doc View SourceFloatingVariables
Gets the enumeration of floating variables in the pattern i.e. variables that are not guaranteed to have a bound value.
Declaration
public override IEnumerable<string> FloatingVariables { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
Overrides
| Improve this Doc View SourceHasNoBlankVariables
Returns false a property path may always contain implicit blank variables.
Declaration
public override bool HasNoBlankVariables { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceIsAcceptAll
Gets whether the Pattern accepts all Triple Patterns.
Declaration
public override bool IsAcceptAll { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceObject
Gets the Object of the Property Path.
Declaration
public PatternItem Object { get; }
Property Value
Type | Description |
---|---|
PatternItem |
Path
Gets the Property Path.
Declaration
public ISparqlPath Path { get; }
Property Value
Type | Description |
---|---|
ISparqlPath |
PatternType
Gets the pattern type.
Declaration
public override TriplePatternType PatternType { get; }
Property Value
Type | Description |
---|---|
TriplePatternType |
Overrides
| Improve this Doc View SourceSubject
Gets the Subject of the Property Path.
Declaration
public PatternItem Subject { get; }
Property Value
Type | Description |
---|---|
PatternItem |
Methods
| Improve this Doc View SourceCompareTo(IPropertyPathPattern)
Compares a property path pattern to another.
Declaration
public int CompareTo(IPropertyPathPattern other)
Parameters
Type | Name | Description |
---|---|---|
IPropertyPathPattern | other | Pattern. |
Returns
Type | Description |
---|---|
System.Int32 |
CompareTo(PropertyPathPattern)
Compares a property path pattern to another.
Declaration
public int CompareTo(PropertyPathPattern other)
Parameters
Type | Name | Description |
---|---|---|
PropertyPathPattern | other | Pattern. |
Returns
Type | Description |
---|---|
System.Int32 |
Evaluate(SparqlEvaluationContext)
Evaluates a property path pattern.
Declaration
public override void Evaluate(SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
SparqlEvaluationContext | context | Evaluation Context. |
Overrides
| Improve this Doc View SourceToString()
Gets the String representation of the Pattern.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
Implements
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>