W3C home > Mailing lists > Public > www-rdf-interest@w3.org > August 2004

Reorganising conjunctions

From: Jan Wielemaker <jan@swi.psy.uva.nl>
Date: Mon, 30 Aug 2004 12:39:40 +0200
To: www-rdf-interest@w3.org
Message-ID: <20040830103940.GA15731@gollem.swi.psy.uva.nl>

Hi,

I'm working on performance enhancements to the SWI-Prolog rdf_db module
(http://www.swi-prolog.org/packages/semweb.html). Many queries can be
expressed as a conjunction of rdf/3 calls. Typically these things run
very fast _if you write the conjuction in the right order_.

Moving to declarative query languages and even handcrafting the queries
by hand but without sufficient knowledge of the actual graph asks for
runtime reordering of conjunctions. The idea is to exploit SWI-Prolog
5.3.x coroutining facilities and delay rdf/3 calls that cannot be solved
quickly and do proper planning on the collected delayed calls ones we
really need concrete results.

This can't be totally new, but sofar I failed to find good literature on
this. In the end this is a database query optimalisation problem but I
hope (and think) the Prolog and especially RDF context allow for a good
and not very complicated solution.

Does anyone know some good pointers?

	Thanks --- Jan
Received on Monday, 30 August 2004 10:39:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:57 UTC