Optimizing existential queries in stratifiable deductive databases

  • Authors:
  • Andreas Behrend

  • Affiliations:
  • University of Bonn, Römerstr, Bonn, Germany

  • Venue:
  • Proceedings of the 2005 ACM symposium on Applied computing
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

We reconsider query evaluation in stratifiable deductive databases using Magic Sets. On the basis of the soft stratification approach, a new solution to the problem of optimizing existential queries in a set-oriented database language like Datalog is presented. To this end, the query answering process is optimized in such a way that after the generation of one appropriate answer fact with respect to a (derived) existential query, the redundant computations of alternative answer facts are avoided. The same technique can be employed for avoiding the generation of subsumed answers and sub-queries as well. It is shown that in presence of recursion or stratified negation this may considerably reduce the total number of facts generated.