Enumerable uses Array() here and here, which leads to call the method #to_ary which has been deprecated.
That leads to a ton of deprecation messages.
To reproduce the problem easily (here version 2.2.3):
repo = RDF::Repository.new
repo << [RDF.type, RDF.type, RDF.type]
repo.statements # => [DEPRECATION] RDF::Queryable::Enumerator#to_ary is deprecated ...
Solution: replace all the Array() with #to_a. I can submit a PR.