1989 · 40 citations · 9 references
ComputingComputer ScienceAlgorithmsProgramming LanguagesSet TheoryPredicate LogicQuery ProcessingRecursion TheoryRecursionRecursive QueriesRewrite SystemsRewriting SystemsTerm Rewriting
We present an algorithm for the efficient evaluation of a useful subset of recursive queries. Like the magic sets transformation, the algorithm consists of a rewriting phase followed by semi-naive bottom-up evaluation of the resulting rules. We prove that on a wide range of recursions, this algorithm achieves a factor of Ο(n) speedup over magic sets. Intuitively, the transformations in this algorithm achieve their performance by reducing the arity of the recursive predicates in the transformed rules.
9
Universality of data retrieval languages
Alfred V. Aho, Jeffrey D. Ullman · 1979 · 634 citations · Full text
Computing, Computer Science, Algebra +14
On compiling queries in recursive first-order databases
Lawrence J. Henschen, Shamim A. Naqvi · Journal of the ACM · 1984 · 285 citations · Full text