Module: RDF::N3

Defined in:
vendor/bundler/ruby/2.6.0/bundler/gems/rdf-n3-234f7b2304d3/lib/rdf/n3/reader/parser.rb,
vendor/bundler/ruby/2.6.0/bundler/gems/rdf-n3-234f7b2304d3/lib/rdf/n3/writer.rb,
vendor/bundler/ruby/2.6.0/bundler/gems/rdf-n3-234f7b2304d3/lib/rdf/n3/reader.rb,
vendor/bundler/ruby/2.6.0/bundler/gems/rdf-n3-234f7b2304d3/lib/rdf/n3/format.rb,
vendor/bundler/ruby/2.6.0/bundler/gems/rdf-n3-234f7b2304d3/lib/rdf/n3/algebra.rb,
vendor/bundler/ruby/2.6.0/bundler/gems/rdf-n3-234f7b2304d3/lib/rdf/n3/vocab.rb,
vendor/bundler/ruby/2.6.0/bundler/gems/rdf-n3-234f7b2304d3/lib/rdf/n3/reasoner.rb,
vendor/bundler/ruby/2.6.0/bundler/gems/rdf-n3-234f7b2304d3/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: Algebra, Meta, Parser, VERSION Classes: Crypto, Format, List, Log, Math, Reader, Reasoner, Rei, Str, Time, Writer