Show / Hide Table of Contents

Class PropertyFunctionPattern

Class for representing property function patterns in SPARQL Query.
Inheritance
System.Object
BaseTriplePattern
PropertyFunctionPattern
Implements
IPropertyFunctionPattern
ITriplePattern
System.IComparable<ITriplePattern>
System.IComparable<IPropertyFunctionPattern>
System.IComparable<PropertyFunctionPattern>
Inherited Members
BaseTriplePattern._vars
BaseTriplePattern.Variables
BaseTriplePattern.CompareTo(ITriplePattern)
BaseTriplePattern.UsesDefaultDataset
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 PropertyFunctionPattern : BaseTriplePattern, IPropertyFunctionPattern, ITriplePattern, IComparable<ITriplePattern>, IComparable<IPropertyFunctionPattern>, IComparable<PropertyFunctionPattern>

Constructors

| Improve this Doc View Source

PropertyFunctionPattern(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.Collections.Generic.IEnumerable<ITriplePattern> origPatterns Original Triple Patterns.
System.Collections.Generic.IEnumerable<PatternItem> lhsArgs Subject Arguments.
System.Collections.Generic.IEnumerable<PatternItem> rhsArgs Object Arguments.
ISparqlPropertyFunction propertyFunction Property Function.
| Improve this Doc View Source

PropertyFunctionPattern(PropertyFunctionInfo, ISparqlPropertyFunction)

Creates a new Property Function pattern.
Declaration
public PropertyFunctionPattern(PropertyFunctionInfo info, ISparqlPropertyFunction propertyFunction)
Parameters
Type Name Description
PropertyFunctionInfo info Function information.
ISparqlPropertyFunction propertyFunction Property Function.

Properties

| Improve this Doc View Source

FixedVariables

Returns the empty enumerable as cannot guarantee any variables are bound.
Declaration
public override IEnumerable<string> FixedVariables { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>
Overrides
BaseTriplePattern.FixedVariables
| Improve this Doc View Source

FloatingVariables

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.Collections.Generic.IEnumerable<System.String>
Overrides
BaseTriplePattern.FloatingVariables
| Improve this Doc View Source

HasNoBlankVariables

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

IsAcceptAll

Returns false because property functions are not accept-alls.
Declaration
public override bool IsAcceptAll { get; }
Property Value
Type Description
System.Boolean
Overrides
BaseTriplePattern.IsAcceptAll
| Improve this Doc View Source

ObjectArgs

Gets the Object arguments.
Declaration
public IEnumerable<PatternItem> ObjectArgs { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<PatternItem>
| Improve this Doc View Source

OriginalPatterns

Gets the original triple patterns.
Declaration
public IEnumerable<ITriplePattern> OriginalPatterns { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<ITriplePattern>
| 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

PropertyFunction

Gets the property function.
Declaration
public ISparqlPropertyFunction PropertyFunction { get; }
Property Value
Type Description
ISparqlPropertyFunction
| Improve this Doc View Source

SubjectArgs

Gets the Subject arguments.
Declaration
public IEnumerable<PatternItem> SubjectArgs { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<PatternItem>

Methods

| Improve this Doc View Source

CompareTo(IPropertyFunctionPattern)

Compares a property function pattern to another.
Declaration
public int CompareTo(IPropertyFunctionPattern other)
Parameters
Type Name Description
IPropertyFunctionPattern other Pattern.
Returns
Type Description
System.Int32
| Improve this Doc View Source

CompareTo(PropertyFunctionPattern)

Compares a property function pattern to another.
Declaration
public int CompareTo(PropertyFunctionPattern other)
Parameters
Type Name Description
PropertyFunctionPattern other Pattern.
Returns
Type Description
System.Int32
| Improve this Doc View Source

Evaluate(SparqlEvaluationContext)

Evaluates the property function.
Declaration
public override void Evaluate(SparqlEvaluationContext context)
Parameters
Type Name Description
SparqlEvaluationContext context Evaluation Context.
Overrides
BaseTriplePattern.Evaluate(SparqlEvaluationContext)
| Improve this Doc View Source

ToString()

Gets the string representation of the pattern.
Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
BaseTriplePattern.ToString()

Implements

IPropertyFunctionPattern
ITriplePattern
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • PropertyFunctionPattern(IEnumerable<ITriplePattern>, IEnumerable<PatternItem>, IEnumerable<PatternItem>, ISparqlPropertyFunction)
    • PropertyFunctionPattern(PropertyFunctionInfo, ISparqlPropertyFunction)
  • Properties
    • FixedVariables
    • FloatingVariables
    • HasNoBlankVariables
    • IsAcceptAll
    • ObjectArgs
    • OriginalPatterns
    • PatternType
    • PropertyFunction
    • SubjectArgs
  • Methods
    • CompareTo(IPropertyFunctionPattern)
    • CompareTo(PropertyFunctionPattern)
    • Evaluate(SparqlEvaluationContext)
    • ToString()
  • Implements
  • Extension Methods
Back to top Generated by DocFX