Module: RDF::Turtle

Defined in:
vendor/bundler/ruby/2.4.0/bundler/gems/rdf-turtle-71bf7583cbcf/lib/rdf/turtle.rb,
vendor/bundler/ruby/2.4.0/bundler/gems/rdf-turtle-71bf7583cbcf/lib/rdf/turtle/format.rb,
vendor/bundler/ruby/2.4.0/bundler/gems/rdf-turtle-71bf7583cbcf/lib/rdf/turtle/freebase_reader.rb,
vendor/bundler/ruby/2.4.0/bundler/gems/rdf-turtle-71bf7583cbcf/lib/rdf/turtle/reader.rb,
vendor/bundler/ruby/2.4.0/bundler/gems/rdf-turtle-71bf7583cbcf/lib/rdf/turtle/streaming_writer.rb,
vendor/bundler/ruby/2.4.0/bundler/gems/rdf-turtle-71bf7583cbcf/lib/rdf/turtle/terminals.rb,
vendor/bundler/ruby/2.4.0/bundler/gems/rdf-turtle-71bf7583cbcf/lib/rdf/turtle/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