Class BlankNodePattern
Pattern which matches temporary variables.
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 BlankNodePattern : PatternItem
Constructors
| Improve this Doc View SourceBlankNodePattern(String)
Creates a new Pattern representing a Blank Node.
Declaration
public BlankNodePattern(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Blank Node ID. |
BlankNodePattern(String, Boolean)
Creates a new Pattern representing a Blank Node.
Declaration
public BlankNodePattern(string name, bool rigorousEvaluation)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Blank Node ID. |
System.Boolean | rigorousEvaluation | Whether to force rigorous evaluation. |
Properties
| Improve this Doc View SourceID
Gets the Blank Node ID.
Declaration
public string ID { get; }
Property Value
Type | Description |
---|---|
System.String |
VariableName
Gets the Temporary Variable Name of this Pattern.
Declaration
public override string VariableName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
| Improve this Doc View SourceAccepts(SparqlEvaluationContext, INode)
Checks whether the given Node is a valid value for the Temporary Variable.
Declaration
protected override bool Accepts(SparqlEvaluationContext context, INode obj)
Parameters
Type | Name | Description |
---|---|---|
SparqlEvaluationContext | context | Evaluation Context. |
INode | obj | Node to test. |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceConstruct(ConstructContext)
Constructs a Node based on the given Set.
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 this Pattern.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |