# File lib/rdf/redland/model.rb, line 36 def create_resource(str=nil,context=nil) resource = Resource.new(str,self,context) if context resource.set_context(Resource.new(context)) end return resource end