Sesame 2.0 Adapter for RDF.rb
This adapter implements the
refer to the relevant RDF.rb API documentation for further usage instructions.
- This adapter does not contain any SPARQL support. To use a Sesame endpoint
with SPARQL, see the
- This adapter is not yet optimized for RDF.rb 0.2.x's bulk-operation APIs, meaning that statement insertions and deletions are currently performed one by one; this may affect the performance of loading large datasets into Sesame. This will be addressed in an upcoming version.
- This adapter is not yet optimized for RDF.rb 0.2.x's enhanced query APIs; this may adversely affect triple pattern query performance. This will be addressed in an upcoming version.
- Sesame rewrites blank node identifiers on inserted statements. For
example, if you supply a
_:foobaridentifier, it becomes something like
_:node156oo6equx12769as soon as you insert it into a Sesame repository. This means that you can't construct and insert a statement containing a blank node term and then expect to successfully be able check for its existence using the
Repository#has_statement?method. This is also the reason that 7 specs for
RDF::Repositorycurrently fail with this adapter.
The recommended installation method is via RubyGems.
To install the latest official release of the
RDF::Sesame gem, do:
% [sudo] gem install rdf-sesame
To get a local working copy of the development repository, do:
% git clone git://github.com/ruby-rdf/rdf-sesame.git
Alternatively, download the latest development version as a tarball as follows:
% wget https://github.com/ruby-rdf/rdf-sesame/tarball/master