Turtle parser.
Examples:
Obtaining a Turtle reader class
RDF::Reader.for(:turtle) #=> RDF::Raptor::Turtle::Reader RDF::Reader.for("input.ttl") RDF::Reader.for(file_name: "input.ttl") RDF::Reader.for(file_extension: "ttl") RDF::Reader.for(content_type: "text/turtle")
Parsing RDF statements from a Turtle file
RDF::Reader.open("input.ttl") do |reader| reader.each_statement do |statement| puts statement.inspect end end