Sha256: f67d3234081557d67c867a45a361a70a16a49b1be9db38ae154304e69f950d77

Contents?: true

Size: 925 Bytes

Versions: 6

Compression:

Stored size: 925 Bytes

Contents

require 'rdf'
require 'ebnf'

module RDF
  ##
  # **`RDF::Turtle`** is an Turtle extension for RDF.rb.
  #
  # @example Requiring the `RDF::Turtle` module
  #   require 'rdf/turtle'
  #
  # @example 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 https://rubydoc.info/github/ruby-rdf/rdf/master/frames
  # @see https://dvcs.w3.org/hg/rdf/raw-file/default/rdf-turtle/index.html
  #
  # @author [Gregg Kellogg](https://greggkellogg.net/)
  module Turtle
    require  'rdf/turtle/format'
    autoload :Reader,         'rdf/turtle/reader'
    autoload :FreebaseReader, 'rdf/turtle/freebase_reader'
    autoload :Terminals,      'rdf/turtle/terminals'
    autoload :VERSION,        'rdf/turtle/version'
    autoload :Writer,         'rdf/turtle/writer'
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rdf-turtle-3.2.0 lib/rdf/turtle.rb
rdf-turtle-3.1.3 lib/rdf/turtle.rb
rdf-turtle-3.1.2 lib/rdf/turtle.rb
rdf-turtle-3.1.1 lib/rdf/turtle.rb
rdf-turtle-3.1.0 lib/rdf/turtle.rb
rdf-turtle-3.0.6 lib/rdf/turtle.rb