A class to make Blank Node creation easier
model = Model.new dom = BNode.new('dom') # create with optional id
I will probably depreciate this and just use Resource.new() to generate blank nodes.
# File rdf/redland/node.rb, line 184 def initialize(id=nil) @node = Redland.librdf_new_node_from_blank_identifier($world.world,id) if not @node then raise RedlandError.new("Node construction failed")end ObjectSpace.define_finalizer(self,Node.create_finalizer(@node)) end
(C) Copyright 2004-2013 Dave Beckett, (C) Copyright 2004-2005 University of Bristol