def merge(model)
      rdf_stream = Redland.librdf_model_as_stream(model.rdf_model)
      raise RedlandError, "Failed to convert model to a stream" if rdf_stream.null?

      begin
        Redland.librdf_model_add_statements(@rdf_model, rdf_stream)
        self
      ensure
        Redland.librdf_free_stream(rdf_stream)
      end
    end
def merge(model)
      rdf_stream = Redland.librdf_model_as_stream(model.rdf_model)
      raise RedlandError, "Failed to convert model to a stream" if rdf_stream.null?

      begin
        Redland.librdf_model_add_statements(@rdf_model, rdf_stream)
        self
      ensure
        Redland.librdf_free_stream(rdf_stream)
      end
    end
Merge statements from another model
 (duplicates and invalid statements are skipped)

 @param [Redlander::Model] model
 @return [self]