Module: RDF::TriG

Defined in:
lib/rdf/trig.rb,
lib/rdf/trig/format.rb,
lib/rdf/trig/reader.rb,
lib/rdf/trig/writer.rb,
lib/rdf/trig/streaming_writer.rb

Overview

**‘RDF::TriG`** is an TriG extension for RDF.rb.

Examples:

Requiring the ‘RDF::TriG` module

require 'rdf/trig'

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 Also:

Author:

Defined Under Namespace

Modules: StreamingWriter, VERSION Classes: Format, Reader, Writer