Bottom-up Evaluation and Query Optimization of Well-Founded Models (1995)
| Venue: | Theoretical Computer Science |
| Citations: | 26 - 1 self |
BibTeX
@ARTICLE{Kemp95bottom-upevaluation,
author = {David B. Kemp and Divesh Srivastava and Peter J. Stuckey},
title = {Bottom-up Evaluation and Query Optimization of Well-Founded Models},
journal = {Theoretical Computer Science},
year = {1995},
volume = {146},
pages = {145--184}
}
OpenURL
Abstract
We present a bottom-up operational procedure for computing well-founded models of allowed programs with negation. This procedure provides a practical method of handling programs that involve unstratified negation in a manner that may be mixed with other evaluation approaches, such as semi-naive evaluation and various program transformations. We define classes of programs and sideways information passing strategies (sips) for which the magic sets transformation preserves well-founded models with respect to the query. The classes of programs and sips we consider strictly subsume those already considered in the literature, and include stratified programs (with any choice of sips), left-to-right modularly stratified programs (with leftto -right sips) and arbitrary programs (with well-founded sips). For these programs and sips, our procedure for computing well-founded models is applicable to the rewritten programs, thus allowing increased efficiency by specializing a program for a query. Fi...







