# File lib/rdf/redland/node.rb, line 122 def uri if self.resource? return Uri.new(Redland.librdf_node_get_uri(self.node)) else raise NodeTypeError.new("Can't get URI for node type %s" % self.node_type() ) end end