SemWeb : SemWeb Namespace
BNode Class

A blank (anonymous) node.

public class BNode : Entity

Remarks

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();  

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.6.0, 1.0.6.2, 1.0.7.0

Members

See Also: Inherited members from Entity.

Public Constructors

BNode ()
Creates a new blank node.
Creates a new blank node with a local name.

Public Properties

[read-only]
LocalName string . The suggested local name of the node.

Public Methods

override
Equals (object) : bool
Documentation for this section has not yet been entered.
override
GetHashCode () : int
Documentation for this section has not yet been entered.
override
ToString () : string
Documentation for this section has not yet been entered.

Member Details

BNode Constructor

Creates a new blank node.

public BNode ()

Remarks

None.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 0.0.0.0, 1.0.6.2, 1.0.7.0

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.

Exceptions

Type Reason
ArgumentException Documentation for this section has not yet been entered.

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: 0.0.0.0, 1.0.6.2, 1.0.7.0

Equals Method

Documentation for this section has not yet been entered.

public override bool Equals (object other)

Parameters

other
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.7.0

GetHashCode Method

Documentation for this section has not yet been entered.

public override int GetHashCode ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.7.0

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: 0.0.0.0, 1.0.6.2, 1.0.7.0

ToString Method

Documentation for this section has not yet been entered.

public override string ToString ()

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SemWeb
Assembly: SemWeb (in SemWeb.dll)
Assembly Versions: 1.0.7.0