Sha256: 7640bae9293585fca1732b1b51c8ba43b6e397c32310ecf0c8a234dd1a3162e5

Contents?: true

Size: 800 Bytes

Versions: 3

Compression:

Stored size: 800 Bytes

Contents

require 'rdf'
require 'rdf/turtle'

module RDF
  ##
  # **`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 https://rubydoc.info/github/ruby-rdf/rdf-turtle/
  # @see https://rubydoc.info/github/ruby-rdf/rdf/master/
  # @see https://www.w3.org/TR/trig/
  #
  # @author [Gregg Kellogg](https://greggkellogg.net/)
  module TriG
    require  'rdf/trig/format'
    autoload :Reader,     'rdf/trig/reader'
    autoload :VERSION,    'rdf/trig/version'
    autoload :Writer,     'rdf/trig/writer'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rdf-trig-3.2.0 lib/rdf/trig.rb
rdf-trig-3.1.2 lib/rdf/trig.rb
rdf-trig-3.1.1 lib/rdf/trig.rb