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

Re: Question about doing RDF analysis in Ruby

From: Greg Lappen <greg@lapcominc.com>
Date: Mon, 31 Jan 2011 15:26:41 -0500
Message-ID: <AANLkTimONTAUP_cH38yLo+GZFKHHhRKPePLTBfeVMMgP@mail.gmail.com>
To: Gregg Kellogg <gregg@kellogg-assoc.com>
Cc: Ben Lavender <blavender@gmail.com>, "public-rdf-ruby@w3.org" <public-rdf-ruby@w3.org>
Hi all,

Thanks for the informative replies.  I have a couple followup questions:

Is the ability to query multiple repositories something that is inherent in
SPARQL, or in the Ruby implementation of it?  Also, is the Ruby SPARQL
implementation that you're referencing going to layer on top of RDF.rb

We're starting to use RDF.rb to store our data natively in RDF, but we're
just checking that we'll be able to use it in this format before we go too
much further.  It seems like our choices at this point are to use SPARQL
against our RDF.rb repositories, or use an external system to do the queries
(Hadoop or SPARQL server like 4store, etc.).

Thanks for all the help!


On Mon, Jan 31, 2011 at 2:57 PM, Gregg Kellogg <gregg@kellogg-assoc.com>wrote:

> 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 20:28:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:02:14 UTC