Show / Hide Table of Contents

Class QuotedTriplePattern

Inheritance
System.Object
PatternItem
QuotedTriplePattern
Inherited Members
PatternItem._context
PatternItem.BindingContext
PatternItem.RigorousEvaluation
PatternItem.Repeated
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 QuotedTriplePattern : PatternItem

Constructors

| Improve this Doc View Source

QuotedTriplePattern(TriplePattern)

Declaration
public QuotedTriplePattern(TriplePattern qtPattern)
Parameters
Type Name Description
TriplePattern qtPattern

Properties

| Improve this Doc View Source

HasNoBlankVariables

Returns true if the quoted triple pattern dost not contain any BlankNodePattern pattern items.

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

HasNoExplicitVariables

Returns true if the quoted triple pattern does not contain any VariablePattern pattern items.

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

IsFixed

Return true if this pattern item contains no variables, false otherwise.

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

QuotedTriple

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

Variables

Gets an enumeration of the names of the variables of this pattern.

Declaration
public override IEnumerable<string> Variables { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<T><string>
Overrides
PatternItem.Variables
Remarks

If this item is a Variable Pattern, the enumeration will contain a single item. If this item is a QuotedTriplePattern, the enumeration may contain zero or more items. For other pattern items the enumeration will be empty.

Methods

| Improve this Doc View Source

Accepts(IPatternEvaluationContext, INode, ISet)

Declaration
public override bool Accepts(IPatternEvaluationContext context, INode obj, ISet s)
Parameters
Type Name Description
IPatternEvaluationContext context
INode obj
ISet s
Returns
Type Description
System.Boolean
Overrides
PatternItem.Accepts(IPatternEvaluationContext, INode, ISet)
| Improve this Doc View Source

AddBindings(INode, ISet)

Returns the variable bindings created when this pattern item accepts the given node to the specified set.

Declaration
public override void AddBindings(INode forNode, ISet toSet)
Parameters
Type Name Description
INode forNode
ISet toSet
Overrides
PatternItem.AddBindings(INode, ISet)
| Improve this Doc View Source

Bind(ISet)

Returns a node created by applying the variable bindings in the input set to this pattern item.

Declaration
public override INode Bind(ISet variableBindings)
Parameters
Type Name Description
ISet variableBindings
Returns
Type Description
INode

A node binding for the pattern item or null if no binding is possible with the provide set.

Overrides
PatternItem.Bind(ISet)
| Improve this Doc View Source

Construct(ConstructContext)

Constructs a Node based on this Pattern for the given Set.

Declaration
public override INode Construct(ConstructContext context)
Parameters
Type Name Description
ConstructContext context

Construct Context.

Returns
Type Description
INode
Overrides
PatternItem.Construct(ConstructContext)
| Improve this Doc View Source

CreateResults(INode)

Create a set of bindings by matching node to this pattern.

Declaration
public ISet CreateResults(INode node)
Parameters
Type Name Description
INode node

The node to match.

Returns
Type Description
ISet

A set of result bindings, which may be empty if node does not match this pattern.

| Improve this Doc View Source

ToString()

Gets the String representation of the Pattern.

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

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • QuotedTriplePattern(TriplePattern)
  • Properties
    • HasNoBlankVariables
    • HasNoExplicitVariables
    • IsFixed
    • QuotedTriple
    • Variables
  • Methods
    • Accepts(IPatternEvaluationContext, INode, ISet)
    • AddBindings(INode, ISet)
    • Bind(ISet)
    • Construct(ConstructContext)
    • CreateResults(INode)
    • ToString()
  • Extension Methods
Back to top Generated by DocFX