Module: RDF::N3

Defined in:
lib/rdf/n3.rb,
lib/rdf/n3/list.rb,
lib/rdf/n3/vocab.rb,
lib/rdf/n3/format.rb,
lib/rdf/n3/reader.rb,
lib/rdf/n3/writer.rb,
lib/rdf/n3/algebra.rb,
lib/rdf/n3/reasoner.rb,
lib/rdf/n3/terminals.rb,
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