Class PropertyFunctionPattern
Class for representing property function patterns in SPARQL Query.
Implements
Inherited Members
Namespace: VDS.RDF.Query.Patterns
Assembly: dotNetRdf.dll
Syntax
public class PropertyFunctionPattern : BaseTriplePattern, IPropertyFunctionPattern, ITriplePattern, IComparable<ITriplePattern>, IProcessable, IVisitable, IComparable<IPropertyFunctionPattern>, IComparable<PropertyFunctionPattern>
Constructors
| Improve this Doc View SourcePropertyFunctionPattern(IEnumerable<ITriplePattern>, IEnumerable<PatternItem>, IEnumerable<PatternItem>, ISparqlPropertyFunction)
Creates a new Property Function pattern.
Declaration
public PropertyFunctionPattern(IEnumerable<ITriplePattern> origPatterns, IEnumerable<PatternItem> lhsArgs, IEnumerable<PatternItem> rhsArgs, ISparqlPropertyFunction propertyFunction)
Parameters
Type | Name | Description |
---|---|---|
System. |
origPatterns | Original Triple Patterns. |
System. |
lhsArgs | Subject Arguments. |
System. |
rhsArgs | Object Arguments. |
ISparql |
propertyFunction | Property Function. |
PropertyFunctionPattern(PropertyFunctionInfo, ISparqlPropertyFunction)
Creates a new Property Function pattern.
Declaration
public PropertyFunctionPattern(PropertyFunctionInfo info, ISparqlPropertyFunction propertyFunction)
Parameters
Type | Name | Description |
---|---|---|
Property |
info | Function information. |
ISparql |
propertyFunction | Property Function. |
Properties
| Improve this Doc View SourceFixedVariables
Returns the empty enumerable as cannot guarantee any variables are bound.
Declaration
public override IEnumerable<string> FixedVariables { get; }
Property Value
Type | Description |
---|---|
System. |
Overrides
| Improve this Doc View SourceFloatingVariables
Returns all variables mentioned in the property function as we can't guarantee they are bound.
Declaration
public override IEnumerable<string> FloatingVariables { get; }
Property Value
Type | Description |
---|---|
System. |
Overrides
| Improve this Doc View SourceHasNoBlankVariables
Returns true if none of the.
Declaration
public override bool HasNoBlankVariables { get; }
Property Value
Type | Description |
---|---|
System. |
Overrides
| Improve this Doc View SourceIsAcceptAll
Returns false because property functions are not accept-alls.
Declaration
public override bool IsAcceptAll { get; }
Property Value
Type | Description |
---|---|
System. |
Overrides
| Improve this Doc View SourceObjectArgs
Gets the Object arguments.
Declaration
public IEnumerable<PatternItem> ObjectArgs { get; }
Property Value
Type | Description |
---|---|
System. |
OriginalPatterns
Gets the original triple patterns.
Declaration
public IEnumerable<ITriplePattern> OriginalPatterns { get; }
Property Value
Type | Description |
---|---|
System. |
PatternType
Gets the Pattern Type.
Declaration
public override TriplePatternType PatternType { get; }
Property Value
Type | Description |
---|---|
Triple |
Overrides
| Improve this Doc View SourcePropertyFunction
Gets the property function.
Declaration
public ISparqlPropertyFunction PropertyFunction { get; }
Property Value
Type | Description |
---|---|
ISparql |
SubjectArgs
Gets the Subject arguments.
Declaration
public IEnumerable<PatternItem> SubjectArgs { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
| Improve this Doc View SourceAccept<T>(ISparqlAlgebraVisitor<T>)
Declaration
public override T Accept<T>(ISparqlAlgebraVisitor<T> visitor)
Parameters
Type | Name | Description |
---|---|---|
ISparql |
visitor |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |
Overrides
Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)
Declaration
public override TResult Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext> processor, TContext context)
Parameters
Type | Name | Description |
---|---|---|
ISparql |
processor | |
TContext | context |
Returns
Type | Description |
---|---|
TResult |
Type Parameters
Name | Description |
---|---|
TResult | |
TContext |
Overrides
CompareTo(IPropertyFunctionPattern)
Compares a property function pattern to another.
Declaration
public int CompareTo(IPropertyFunctionPattern other)
Parameters
Type | Name | Description |
---|---|---|
IProperty |
other | Pattern. |
Returns
Type | Description |
---|---|
int |
CompareTo(PropertyFunctionPattern)
Compares a property function pattern to another.
Declaration
public int CompareTo(PropertyFunctionPattern other)
Parameters
Type | Name | Description |
---|---|---|
Property |
other | Pattern. |
Returns
Type | Description |
---|---|
int |
ToString()
Gets the string representation of the pattern.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |