Class FixedBlankNodePattern
Pattern which matches the Blank Node with the given Internal ID regardless of the Graph the nodes come from.
Inherited Members
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 SourceFixedBlankNodePattern(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 SourceInternalID
Gets the Blank Node ID.
Declaration
public string InternalID { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceAccepts(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
| Improve this Doc View SourceConstruct(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
| Improve this Doc View SourceToString()
Gets the String representation of the Pattern Item.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |