W3C home > Mailing lists > Public > public-rdf-ruby@w3.org > April 2010

Re: RDF.rb repository tutorial

From: Ben Lavender <blavender@gmail.com>
Date: Fri, 9 Apr 2010 12:02:32 +0200
Message-ID: <m2ree8ed2da1004090302k9242f71q28845d8872439e2c@mail.gmail.com>
To: public-rdf-ruby@w3.org
I'm not terribly familiar with neo4j, but there's no reason this
couldn't be done, and probably without too much difficulty.  I know it
has various methods to map to RDF [1], but I'm not terribly familiar
with them myself.  If there is a SPARQL HTTP endpoint, it would
probably not be too much to use the existing SPARQL client [2] with
minor modifications, as I have done with the work-in-progress Talis
backend [3].

The neo4j Ruby bindings also seem excellent, and one could probably
make a native compatibility layer that way. [4]

It's not a personal itch to scratch, but this is as doable as anything is.

[1] http://components.neo4j.org/neo4j-rdf-sparql/apidocs/index.html
[2] http://github.com/bendiken/sparql-client/blob/master/lib/sparql/client/repository.rb
[3] http://github.com/bhuga/rdf-talis
[4] http://github.com/andreasronge/neo4j

On Thu, Apr 8, 2010 at 5:51 PM, Dominic Sisneros <dsisnero@gmail.com> wrote:
> What would be cool is a neo4j storage adapter.  Only problem is it would
> only work for jruby
> On Tue, Apr 6, 2010 at 2:52 AM, Ben Lavender <blavender@gmail.com> wrote:
>> All,
>> I've written a tutorial on building RDF.rb storage adapters[1].  To
>> start, it only takes implementing 3 methods and a constructor, and you
>> can just use our RDF.rb repository specs.  And to make it even easier
>> to start, I have a git repo for the tutorial code[2] and a skeleton to
>> implement a new one[3], both on github.  The given tutorial is about
>> an SQL adapter but there's no reason one can't apply the same methods
>> to just about anything.
>> Hope this is useful.
>> Ben
>> 1. http://blog.datagraph.org/2010/04/rdf-repository-howto
>> 2. http://github.com/bhuga/rdf-repository-howto
>> 3. http://github.com/bhuga/rdf-repository-skeleton
Received on Friday, 9 April 2010 10:03:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:53:40 UTC