Class QuotedTriplePattern
Inheritance
System.Object
QuotedTriplePattern
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Assembly: dotNetRdf.dll
Syntax
public class QuotedTriplePattern : PatternItem
Constructors
|
Improve this Doc
View Source
QuotedTriplePattern(TriplePattern)
Declaration
public QuotedTriplePattern(TriplePattern qtPattern)
Parameters
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
|
Improve this Doc
View Source
QuotedTriple
Declaration
public TriplePattern QuotedTriple { get; }
Property Value
|
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
Methods
|
Improve this Doc
View Source
Accepts(IPatternEvaluationContext, INode, ISet)
Declaration
public override bool Accepts(IPatternEvaluationContext context, INode obj, ISet s)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
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
|
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
|
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
Returns
Overrides
|
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
Overrides
Extension Methods