module RDF::TriG
**‘RDF::TriG`** is an TriG
extension for RDF.rb.
@example Requiring the ‘RDF::TriG` module
require 'rdf/trig'
@example Parsing RDF
statements from an TriG
file
RDF::TriG::Reader.open("etc/foaf.trig") do |reader| reader.each_statement do |statement| puts statement.inspect end end
@see ruby-rdf.github.io/rdf-turtle/ @see ruby-rdf.github.io/rdf/master/ @see www.w3.org/TR/trig/
@author [Gregg Kellogg](greggkellogg.net/)