Skip to contents

Get the blank identifier that has been assigned for a specified Node object

Usage

getBlankNodeId(.Object)

# S4 method for class 'Node'
getBlankNodeId(.Object)

Arguments

.Object

a Node object

Value

a blank node identifier

Details

When a Node object is initialized with no value specified, i.e. node <- Node(""), a blank node is created and a locally unique identifier is generated by librdf. This method retrieves this identifier and returns in to the caller.

Examples

world <- new("World")
# a blank node is created with a unique identifier generated by librdf
node <- new("Node", world, blank=NULL)
nodeId <- getBlankNodeId(node)