[Activerdf] RDFLite joins and reuse of table names
Paul Stadig
paul at stadig.name
Thu Dec 21 14:54:05 GMT 2006
That's kind of the target audience I was shooting for with activerdf-rules.
In my first pass I actually created a new adapter that inherited from
rdflite, but then I decided to be more general about it and just write it as
a mix-in that can be used with any adapter.
I re-released the gem on rubyforge. My manifest didn't include the example,
sorry about that. It may take a while for it to propagate to the mirrors.
Otherwise you can just download the gem directly from rubyforge and install
it. I think it should work. I've never released a gem before, so I apologize
for any bumpiness.
Paul
On 12/21/06, Eyal Oren <eyal.oren at deri.org> wrote:
>
> On 12/21/06/12/06 07:49 -0500, Paul Stadig wrote:
> >Hi Eyal,
> >I think the issue comes up when there are where clauses that join at more
> >than one symbol. For example:
> Yes, you were right. I fixed it now: we're still using joins, but we alias
> table names only once at maximum. Queries now look like "select t1.s, t0.s
> ,
> t2.o from triple as t0 join triple as t1 on t0.s = t1.p join triple as t2
> on t0.s = t2.p and t1.o = t2.s", which is fine for sqlite.
>
> Thanks for finding this one. I released gem 1.2.1 so please check if it
> works for you now (the small example with Sue and Mary runs fine).
>
> I want to try out activerdf-rules, it looks interesting. Would you mind
> describing it shortly on the ActiveRDF wiki [1], including a simple
> getting-started example? You mentioned examples in the README, but I
> didn't
> see them actually; maybe I didn't look long enough? Having simple RDFS
> reasoning on top of rdflite would be very nice for people that don't want
> to mess around with installing real RDF stores.
>
> -eyal
>
> [1] http://wiki.activerdf.org/
> _______________________________________________
> Activerdf mailing list
> Activerdf at lists.deri.org
> http://lists.deri.org/mailman/listinfo/activerdf
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.deri.org/pipermail/activerdf/attachments/20061221/4dcf3528/attachment.htm
More information about the Activerdf
mailing list