A variable resource in a query or inference rule.
This class is used to represent variables in queries or inferencing. It is a subclass of SemWeb.BNode.
Note that two variables are equal by the equality operator == or Equals() only if the two variables are the same object. Different variables with the same name are not considered references to the same variable.
Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.6.0, 1.0.6.2
See Also: Inherited members from BNode.
⊟ Public Constructors
⊟ Public Properties
⊟ Public Methods
CompareTo (Resource) : int Compares two resources. (Inherited from Resource.)GetResourceKey (object) : object Documentation for this section has not yet been entered. (Inherited from Resource.)SetResourceKey (object, object) Documentation for this section has not yet been entered. (Inherited from Resource.)⊟ Explicitly Implemented Interface Members
IComparable.CompareTo This implements the .NET 1.0 IComparable interface method to compare two Resources. The public method Resource.CompareTo(Resource) is also available, and in .NET 2.0 Resource additionally implements IComparable<SemWeb.Resource>. (Inherited from Resource.)
⊟ Variable Constructor
Creates a new unnamed variable.
public Variable ()⊟ Remarks
None.⊟ Requirements
Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.6.2
⊟ Variable Constructor
Creates a new named variable.
public Variable (string variableName)⊟ Parameters
- variableName
- The name of the variable.
⊟ Remarks
The name of the variable can be accessed through the BNode.LocalName property.⊟ Requirements
Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.6.2