Show / Hide Table of Contents

Class PropertyPathPattern

Class for representing property patterns in SPARQL Queries.

Inheritance
System.Object
BaseTriplePattern
PropertyPathPattern
Implements
IPropertyPathPattern
ITriplePattern
System.IComparable<T><ITriplePattern>
IProcessable
IVisitable
System.IComparable<T><IPropertyPathPattern>
System.IComparable<T><PropertyPathPattern>
Inherited Members
BaseTriplePattern._vars
BaseTriplePattern.Variables
BaseTriplePattern.CompareTo(ITriplePattern)
BaseTriplePattern.UsesDefaultDataset
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Query.Patterns
Assembly: dotNetRdf.dll
Syntax
public class PropertyPathPattern : BaseTriplePattern, IPropertyPathPattern, ITriplePattern, IComparable<ITriplePattern>, IProcessable, IVisitable, IComparable<IPropertyPathPattern>, IComparable<PropertyPathPattern>

Constructors

| Improve this Doc View Source

PropertyPathPattern(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 Source

FixedVariables

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<T><string>
Overrides
BaseTriplePattern.FixedVariables
| 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
public override IEnumerable<string> FloatingVariables { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<T><string>
Overrides
BaseTriplePattern.FloatingVariables
| Improve this Doc View Source

HasNoBlankVariables

Returns false a property path may always contain implicit blank variables.

Declaration
public override bool HasNoBlankVariables { get; }
Property Value
Type Description
System.Boolean
Overrides
BaseTriplePattern.HasNoBlankVariables
| Improve this Doc View Source

IsAcceptAll

Gets whether the Pattern accepts all Triple Patterns.

Declaration
public override bool IsAcceptAll { get; }
Property Value
Type Description
System.Boolean
Overrides
BaseTriplePattern.IsAcceptAll
| Improve this Doc View Source

Object

Gets the Object of the Property Path.

Declaration
public PatternItem Object { get; }
Property Value
Type Description
PatternItem
| Improve this Doc View Source

Path

Gets the Property Path.

Declaration
public ISparqlPath Path { get; }
Property Value
Type Description
ISparqlPath
| Improve this Doc View Source

PatternType

Gets the pattern type.

Declaration
public override TriplePatternType PatternType { get; }
Property Value
Type Description
TriplePatternType
Overrides
BaseTriplePattern.PatternType
| Improve this Doc View Source

Subject

Gets the Subject of the Property Path.

Declaration
public PatternItem Subject { get; }
Property Value
Type Description
PatternItem

Methods

| Improve this Doc View Source

Accept<T>(ISparqlAlgebraVisitor<T>)

Declaration
public override T Accept<T>(ISparqlAlgebraVisitor<T> visitor)
Parameters
Type Name Description
ISparqlAlgebraVisitor<T> visitor
Returns
Type Description
T
Type Parameters
Name Description
T
Overrides
VDS.RDF.Query.Patterns.BaseTriplePattern.Accept<T>(VDS.RDF.Query.ISparqlAlgebraVisitor<T>)
| Improve this Doc View Source

Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)

Declaration
public override TResult Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext> processor, TContext context)
Parameters
Type Name Description
ISparqlQueryAlgebraProcessor<TResult, TContext> processor
TContext context
Returns
Type Description
TResult
Type Parameters
Name Description
TResult
TContext
Overrides
VDS.RDF.Query.Patterns.BaseTriplePattern.Accept<TResult, TContext>(VDS.RDF.Query.ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)
| Improve this Doc View Source

CompareTo(IPropertyPathPattern)

Compares a property path pattern to another.

Declaration
public int CompareTo(IPropertyPathPattern other)
Parameters
Type Name Description
IPropertyPathPattern other

Pattern.

Returns
Type Description
int
| Improve this Doc View Source

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
int
| Improve this Doc View Source

ToString()

Gets the String representation of the Pattern.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
BaseTriplePattern.ToString()

Implements

IPropertyPathPattern
ITriplePattern
System.IComparable<T>
IProcessable
IVisitable
System.IComparable<T>
System.IComparable<T>

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • PropertyPathPattern(PatternItem, ISparqlPath, PatternItem)
  • Properties
    • FixedVariables
    • FloatingVariables
    • HasNoBlankVariables
    • IsAcceptAll
    • Object
    • Path
    • PatternType
    • Subject
  • Methods
    • Accept<T>(ISparqlAlgebraVisitor<T>)
    • Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)
    • CompareTo(IPropertyPathPattern)
    • CompareTo(PropertyPathPattern)
    • ToString()
  • Implements
  • Extension Methods
Back to top Generated by DocFX