A blank (anonymous) node.
Blank nodes are a type of SemWeb.Entity that have no globally unique identifier. Two blank node instances are generally references to distinct nodes in a graph, unless they were created in the same SemWeb.StatementSource which marked them as being equivalent.
The SemWeb.Variable class is a subclass of the BNode class. Variables are used for queries. Variable names are accessible through the LocalName property.
The following example creates a new blank node.
C# Example BNode node = new BNode();
Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.6.0, 1.0.6.2
See Also: Inherited members from Entity.
⊟ 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.)
⊟ BNode Constructor
Creates a new blank node.
public BNode ()⊟ Remarks
None.⊟ Requirements
Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.6.2
⊟ BNode Constructor
Creates a new blank node with a local name.
public BNode (string localName)⊟ Parameters
- localName
- The local name of the node as used in some RDF document.
⊟ Remarks
The local name does not affect whether two BNodes are considered equal. It is merely used as a suggestion when serializing a RDF graph.⊟ Requirements
Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.6.2
⊟ LocalName Property
The suggested local name of the node.
public string LocalName { get; }⊟ Value
The local name of the node, as it was found in some document or as it should be used when serializing the node.⊟ Remarks
The local name is set when the BNode is created, usually by RDF readers of streams that give local names to blank nodes. The local name does not affect whether two BNodes are considered equal. It is merely used as a suggestion when serializing a RDF graph.⊟ Requirements
Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.6.2