W3C home > Mailing lists > Public > public-rdf-ruby@w3.org > January 2011

Re: Question about doing RDF analysis in Ruby

From: Gregg Kellogg <gregg@kellogg-assoc.com>
Date: Mon, 31 Jan 2011 14:57:27 -0500
To: Ben Lavender <blavender@gmail.com>
CC: "public-rdf-ruby@w3.org" <public-rdf-ruby@w3.org>
Message-ID: <1EFF74C4-1A90-4609-B68A-E1AE13F034E9@kellogg-assoc.com>
That said, you could use SPARQL to query multiple repositories.

There is work proceeding on native SPARQL support in Ruby, stay tuned...

Gregg Kellogg
Sent from my iPhone

On Jan 31, 2011, at 2:13 PM, "Ben Lavender" <blavender@gmail.com> wrote:

> Greg,
> 
> I'm understanding this as you want a single RDF::Repository that
> represents multiple RDF::Repositories in a few different couchDB
> installations. In this case, SPARQL won't help you meet that API, as
> that API has functions that SPARQL does not (certainly not SPARQL 1.0
> anyway).  You'd need to just make an RDF::Repository that sends out
> each operation to the sub-repositories and merges the results. This
> has been on my personal roadmap and I just haven't made the time.
> Shouldn't be a big deal, and I'd push to include such a repository in
> the linkeddata gem if you wanted to release it.
> 
> Ben
> 
> On Mon, Jan 31, 2011 at 7:34 PM, Greg Lappen <greg@lapcominc.com> wrote:
>> Hello,
>> We are using RDF.rb now for persisting RDF data into our CouchDB
>> RDF::Repository.  We believe that we will be splitting the data into
>> different repositories in order to shard and distribute the data between
>> different locations, but we are definitely interested in doing analysis and
>> inferences on the data spanning multiple repositories.  What is the general
>> approach for doing this kind of thing with RDF.rb?  Is there a SPARQL
>> implementation for RDF.rb that would help with this?  Or would we have to
>> write ruby code to walk the repos and do the queries programatically?
>> Thanks!
>> Greg
> 
Received on Monday, 31 January 2011 19:58:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 31 January 2011 19:58:21 GMT