Show / Hide Table of Contents

Class FixedBlankNodePattern

Pattern which matches the Blank Node with the given Internal ID regardless of the Graph the nodes come from.
Inheritance
System.Object
PatternItem
FixedBlankNodePattern
Inherited Members
PatternItem._context
PatternItem.BindingContext
PatternItem.RigorousEvaluation
PatternItem.VariableName
PatternItem.Repeated
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 FixedBlankNodePattern : PatternItem

Constructors

| Improve this Doc View Source

FixedBlankNodePattern(String)

Creates a new Fixed Blank Node Pattern.
Declaration
public FixedBlankNodePattern(string id)
Parameters
Type Name Description
System.String id ID.

Properties

| Improve this Doc View Source

InternalID

Gets the Blank Node ID.
Declaration
public string InternalID { get; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

Accepts(SparqlEvaluationContext, INode)

Checks whether the pattern accepts the given Node.
Declaration
protected override bool Accepts(SparqlEvaluationContext context, INode obj)
Parameters
Type Name Description
SparqlEvaluationContext context SPARQL Evaluation Context.
INode obj Node to test.
Returns
Type Description
System.Boolean
Overrides
PatternItem.Accepts(SparqlEvaluationContext, INode)
| Improve this Doc View Source

Construct(ConstructContext)

Returns a Blank Node with a fixed ID scoped to whichever graph is provided.
Declaration
protected 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

ToString()

Gets the String representation of the Pattern Item.
Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
PatternItem.ToString()

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • FixedBlankNodePattern(String)
  • Properties
    • InternalID
  • Methods
    • Accepts(SparqlEvaluationContext, INode)
    • Construct(ConstructContext)
    • ToString()
  • Extension Methods
Back to top Generated by DocFX