W3C home > Mailing lists > Public > public-rif-wg@w3.org > May 2009

Re: AW: Two issues with RIF-Core

From: Bijan Parsia <bparsia@cs.manchester.ac.uk>
Date: Sat, 9 May 2009 18:12:23 +0100
Cc: RIF WG <public-rif-wg@w3.org>
Message-Id: <99ECAAC6-0C96-40EB-8001-7D44591A3FA9@cs.manchester.ac.uk>
To: Sandro Hawke <sandro@w3.org>
On 9 May 2009, at 13:40, Sandro Hawke wrote:
> Right.  The interesting/challening part, I believe, is that Gary wants
> to translate frames to Java objects.  Doing so will require some
> cleverness, since there are significant semantics/functionality
> differences, but hopefully will give significant performance gains.
> Ternary predicates are typically not super fast at matching (a,b,?).


> (For example, SWI-Prolog uses a specially indexed structure for RDF
> triples/quads, because normal predicate indexing is too slow.)

I wouldn't think that's the issue. Predicate indexing is typically one  
of the more optimized part of a Prolog engine (for obvious reasons). A  
uniform ternary predicate *defeats* predicate indexing because there's  
only one predicate. By default, IIRC and it hasn't changed, most  
Prolog engines do predicate plus first argument indexing, though you  
can change that, e.g.,:

Received on Saturday, 9 May 2009 17:13:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:47:56 UTC