Get the identifier for a blank node
Returns null if the resource is not a blank node.
string The identifer for the bnode
public function getNodeId() {
if (substr($this->uri, 0, 2) == '_:') {
return substr($this->uri, 2);
}
else {
return null;
}
}