Linked Data for Ruby

This is a metadistribution of [RDF.rb][] including all currently available and usable parsing/serialization plugins, intended to make producing and consuming [Linked Data][] with Ruby as quick & easy as possible.

Features


  • Includes [N-Triples][] support using [RDF.rb][].

  • Includes [RDF/XML][] support using the [RDF::RDFXML][] gem.

  • Includes [Turtle][] and [Notation3][] support using the [RDF::N3][] gem.

  • Includes [RDFa][] support using the [RDF::RDFa][] gem.

  • Includes [RDF/JSON][] support using the [RDF::JSON][] gem.

  • Includes [TriX][] support using the [RDF::TriX][] gem.

  • Maintains release parity with RDF.rb.

  • Specifies all gem dependencies in a [production-safe] manner.

Examples


require 'linkeddata'

Documentation


Dependencies


Installation


The recommended installation method is via [RubyGems](rubygems.org/). To install the latest official release of the gem, do:

% [sudo] gem install linkeddata

License


This is free and unencumbered public domain software. For more information, see <unlicense.org/> or the accompanying UNLICENSE file.

[RDF.rb]: rdf.rubyforge.org/ [RDF::JSON]: rdf.rubyforge.org/json/ [RDF::N3]: rdoc.info/github/gkellogg/rdf-n3 [RDF::RDFa]: rdoc.info/github/gkellogg/rdf-rdfa [RDF::RDFXML]: rdoc.info/github/gkellogg/rdf-rdfxml [RDF::TriX]: rdf.rubyforge.org/trix/ [SPARQL::Client]: sparql.rubyforge.org/client/ [Linked Data]: linkeddata.org/ [N-Triples]: en.wikipedia.org/wiki/N-Triples [Turtle]: en.wikipedia.org/wiki/Turtle_(syntax) [Notation3]: en.wikipedia.org/wiki/Notation3 [RDF/XML]: en.wikipedia.org/wiki/RDF/XML [RDF/JSON]: n2.talis.com/wiki/RDF_JSON_Specification [TriX]: www.w3.org/2004/03/trix/ [RDFa]: en.wikipedia.org/wiki/RDFa [versioning]: blog.zenspider.com/2008/10/rubygems-howto-preventing-cata.html