Module: RDF::N3

Defined in:
vendor/bundler/ruby/3.0.0/bundler/gems/rdf-n3-8fd20193c115/lib/rdf/n3.rb,
vendor/bundler/ruby/3.0.0/bundler/gems/rdf-n3-8fd20193c115/lib/rdf/n3/list.rb,
vendor/bundler/ruby/3.0.0/bundler/gems/rdf-n3-8fd20193c115/lib/rdf/n3/vocab.rb,
vendor/bundler/ruby/3.0.0/bundler/gems/rdf-n3-8fd20193c115/lib/rdf/n3/format.rb,
vendor/bundler/ruby/3.0.0/bundler/gems/rdf-n3-8fd20193c115/lib/rdf/n3/reader.rb,
vendor/bundler/ruby/3.0.0/bundler/gems/rdf-n3-8fd20193c115/lib/rdf/n3/writer.rb,
vendor/bundler/ruby/3.0.0/bundler/gems/rdf-n3-8fd20193c115/lib/rdf/n3/algebra.rb,
vendor/bundler/ruby/3.0.0/bundler/gems/rdf-n3-8fd20193c115/lib/rdf/n3/reasoner.rb,
vendor/bundler/ruby/3.0.0/bundler/gems/rdf-n3-8fd20193c115/lib/rdf/n3/terminals.rb,
vendor/bundler/ruby/3.0.0/bundler/gems/rdf-n3-8fd20193c115/lib/rdf/n3/repository.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: Algebra, Refinements, Terminals, VERSION Classes: Crypto, Format, List, Log, Math, Reader, Reasoner, Rei, Repository, Str, Time, Writer