A Resource Description Framework (RDF) library for Ruby
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
lib
spec
.gitignore
.irbrc
History.txt
License.txt
README.rdoc
Rakefile
TODO
rubyrdf.gemspec

README.rdoc

rubyrdf

DESCRIPTION:

A pure Ruby library for consuming and producing RDF data.

FEATURES/PROBLEMS:

Completed:

  • Fully compliant with RDF and OWL specifications.

  • Pluggable graph implementation with built-in implementations:

    • In-memory graph

    • Sesame2 repository

  • Namespaces for easy generation of URIs:

    rdf::type
    => http://www.w3.org/1999/02/22-rdf-syntax-ns#type
  • Conversion of Ruby types to RDF typed literals

    2.to_literal
    => "2"^^<http://www.w3.org/2001/XMLSchema#integer>

In-progress:

  • SPARQL.

  • Pluggable graph implementation with built-in implementations:

    • Federated graph (for transparently consolidating multiple, distributed graphs)

    • File based graphs (RDF/XML, NTriples, etc.)

  • Rule based reasoner for reasoning over any graph implementation (including the consolidated graph).

SYNOPSIS:

FIXME (code sample of usage)

REQUIREMENTS:

Optional:

  • utf8proc (if installed, speeds up Unicode normalization)

INSTALL:

To install the latest stable release:

sudo gem install rubyrdf

To install the latest unstable release:

sudo gem install pjstadig-rubyrdf --source http://gems.github.com

LICENSE:

(The MIT License)

Copyright © 2009 Paul Stadig

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.