getBlankNodeId: Get the blank identifier that has been assigned for a...

getBlankNodeIdR Documentation

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

Description

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

Usage

getBlankNodeId(.Object)

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

Arguments

.Object

a Node object

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.

Value

a blank node identifier

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)

redland documentation built on May 31, 2023, 6:32 p.m.