Module: RDF::N3

Defined in:
vendor/bundler/ruby/2.4.0/bundler/gems/rdf-n3-d592a2478927/lib/rdf/n3/reader/parser.rb,
vendor/bundler/ruby/2.4.0/bundler/gems/rdf-n3-d592a2478927/lib/rdf/n3/format.rb,
vendor/bundler/ruby/2.4.0/bundler/gems/rdf-n3-d592a2478927/lib/rdf/n3/reader.rb,
vendor/bundler/ruby/2.4.0/bundler/gems/rdf-n3-d592a2478927/lib/rdf/n3/writer.rb,
vendor/bundler/ruby/2.4.0/bundler/gems/rdf-n3-d592a2478927/lib/rdf/n3.rb

Overview

RDF::N3 is an Notation-3 extension for RDF.rb.

Examples:

Requiring the RDF::N3 module

require 'rdf/n3'

Parsing RDF statements from an N3 file

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

See Also:

Author:

Defined Under Namespace

Modules: Meta, Parser, VERSION Classes: Format, Reader, Writer