http://rubydoc.info/github/ruby-rdf/rdf/RDF/Mutable#load-instance_method

With linkeddata gem, this should parse the various RDF formats into the graph.