Module: RDF::Turtle

Defined in:
lib/rdf/turtle.rb,
lib/rdf/turtle/format.rb,
lib/rdf/turtle/reader.rb,
lib/rdf/turtle/writer.rb,
lib/rdf/turtle/terminals.rb,
lib/rdf/turtle/freebase_reader.rb,
lib/rdf/turtle/streaming_writer.rb

Overview

RDF::Turtle is an Turtle extension for RDF.rb.

Examples:

Requiring the RDF::Turtle module

require 'rdf/turtle'

Parsing RDF statements from an Turtle file

RDF::Turtle::Reader.open("etc/foaf.ttl") do |reader|
  reader.each_statement do |statement|
    puts statement.inspect
  end
end

See Also:

Author:

Defined Under Namespace

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