Database Paper Browser

Back to papers

MAGIC SETS AND OTHER STRANGE WAYS TO IMPLEMENT LOGIC PROGRAMS (Extended Abstract)

Summary: Presents magic sets, a rewriting that turns goal-directed logic programs into bottom-up evaluation to prune irrelevant facts and leverage efficient bulk joins. Compares ad-hoc linear-rule implementations and emphasizes the challenge of proving optimal evaluation strategies. (summarized by gpt-5-mini on Feb 09 2026)

Paper ID
744
Venue
PODS
Year
1986
Pagerank
0.0010066783
Overall Rank
16 | 99.90%
DOI
-

Incoming Non-self Citations Over Time

Authors

Incoming Citations (Sorted by Pagerank)

Showing 50 of 107 citing papers.

Rank Citing Paper Year Venue Pagerank
77 An Amateur's Introduction to Recursive Query Processing Strategies 1986 SIGMOD 0.00057043861
200 OPTIMIZING DATALOG PROGRAMS (Extended Abstract) 1987 PODS 0.00035012858
274 Regular Path Queries with Constraints 1997 PODS 0.00029390022
296 On the Implementation of a Simple Class of Logic Queries for Databases 1986 PODS 0.00028644922
307 Extensible Query Processing in Starburst 1989 SIGMOD 0.00028211308
363 A Graphical Query Language Supporting Recursion 1987 SIGMOD 0.00025715157
365 On the Power of Magic 1987 PODS 0.00025585898
445 The Magic of Duplicates and Aggregates 1990 VLDB 0.0002294367
454 An Overview of Query Optimization in Relational Systems 1998 PODS 0.00022734812
519 LDL: A Logic-Based Data-Language 1986 VLDB 0.00021154077
566 Query Optimization by Simulated Annealing 1987 SIGMOD 0.00019970535
649 Logic Programming With Sets 1987 PODS 0.00018662857
673 One-Sided Recursions 1987 PODS 0.00018348841
729 An Algorithm For Ordering Subgoals In Nail! 1988 PODS 0.00017483521
778 Declarative Networking: Language, Execution and Optimization 2006 SIGMOD 0.00016791276
854 Optimizing the Rule-Data Interface in a KMS 1986 VLDB 0.00015933596
912 Sets and Negation in a Logic Database Language (LDL1) 1987 PODS 0.00015414126
1,055 On The Computation Of The Transitive Closure Of Relational Operators 1986 VLDB 0.00014422575
1,185 Data Independent Recursion in Deductive Databases 1986 PODS 0.00013445831
1,302 Query Optimization by Predicate Move-Around 1994 VLDB 0.00012705525
1,313 Cost-Based Optimization for Magic: Algebra and Implementation 1996 SIGMOD 0.0001263831
1,423 Magic is Relevant 1990 SIGMOD 0.00012054867
1,529 Evaluation Of Database Recursive Logic Programs As Recurrent Function Series 1986 SIGMOD 0.00011496686
1,648 A Study of Transitive Closure As a Recursion Mechanism 1987 SIGMOD 0.00011028408
1,712 Bounds on the Propagation of Selection into Logic Programs 1987 PODS 0.00010804573
1,738 PrivateSQL: A Differentially Private SQL Query Engine 2019 VLDB 0.00010720057
1,865 Diagnosis of Asynchronous Discrete Event Systems: Datalog to the Rescue! 2005 PODS 0.00010275334
1,979 Logic Programming as Constructivism: A Formalization and its Application to Databases 1989 PODS 9.8794371e-05
2,036 Proof-Tree Transformation Theorems and Their Applications 1989 PODS 9.714898e-05
2,042 Efficient Evaluation of Right-, Left-, and Multi-Linear Rules 1989 SIGMOD 9.699257e-05
2,086 Practical Predicate Placement 1994 SIGMOD 9.5779956e-05
2,187 The Complexity Of Ordering Subgoals 1988 PODS 9.3375092e-05
2,474 Graph-Theoretic Methods In Database Theory 1990 PODS 8.7135761e-05
2,544 Aggregation and Relevance in Deductive Databases 1991 VLDB 8.5730083e-05
3,010 A Framework for Testing Safety and Effective Computability of Extended Datalog (Extended Abstract) 1988 SIGMOD 7.7205569e-05
3,135 Dynamically Distributed Query Evaluation 2001 PODS 7.4963337e-05
3,214 Query Optimization Techniques for Partitioned Tables 2011 SIGMOD 7.3661891e-05
3,283 Magic Conditions 1990 PODS 7.280826e-05
3,553 Compiling Separable Recursions 1988 SIGMOD 6.9779134e-05
3,585 Right-, left- and multi-linear rule transformations that maintain context information 1990 VLDB 6.9454028e-05
3,738 Towards a Real Horn Clause Language 1988 VLDB 6.8032471e-05
3,918 On Optimizing Operator Fusion Plans for Large-Scale Machine Learning in SystemML 2018 VLDB 6.6315176e-05
3,922 Pushing Data-Induced Predicates Through Joins in Big-Data Clusters 2020 VLDB 6.6291079e-05
3,923 Magic Shapes for SHACL Validation 2022 VLDB 6.6274198e-05
3,999 EFFICIENT EVALUATION FOR A SUBSET OF RECURSIVE QUERIES (Extended Abstract) 1987 PODS 6.5469939e-05
4,118 Context-Sensitive Program Analysis as Database Queries 2005 PODS 6.4368597e-05
4,178 Argument Reduction by Factoring 1989 VLDB 6.3812002e-05
4,199 Implementation of Magic-sets in a Relational Database System 1994 SIGMOD 6.3662839e-05
4,222 Why A Single Parallelization Strategy Is Not Enough In Knowledge Bases 1989 PODS 6.3480169e-05
4,288 Parallel Processing of Recursive Queries in Distributed Architectures 1989 VLDB 6.2891396e-05
Previous Page 1 / 3 Next

Outgoing Citations (Sorted by Pagerank)

Showing 1 of 1 cited papers.

Citations counted here include only citations to other VLDB/SIGMOD/CIDR/PODS papers in this database.

Rank Cited Paper Year Venue Pagerank
63 A Message Passing Framework for Logical Query Evaluation 1986 SIGMOD 0.00063714145
Previous Page 1 / 1 Next

Semantically Similar Papers

Overall Rank Paper Year Venue Pagerank
4,199 Implementation of Magic-sets in a Relational Database System 1994 SIGMOD 6.3662839e-05
365 On the Power of Magic 1987 PODS 0.00025585898
1,313 Cost-Based Optimization for Magic: Algebra and Implementation 1996 SIGMOD 0.0001263831
1,423 Magic is Relevant 1990 SIGMOD 0.00012054867
3,283 Magic Conditions 1990 PODS 7.280826e-05
7,075 Magic-sets Transformation in Nonrecursive Systems 1992 PODS 4.842703e-05
445 The Magic of Duplicates and Aggregates 1990 VLDB 0.0002294367
2,042 Efficient Evaluation of Right-, Left-, and Multi-Linear Rules 1989 SIGMOD 9.699257e-05
296 On the Implementation of a Simple Class of Logic Queries for Databases 1986 PODS 0.00028644922
5,628 Efficient Implementation of Loops in Bottom-Up Evaluation of Logic Queries 1990 VLDB 5.4030815e-05