DBScholar

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
ha405f7107a24aa27
Venue
PODS
Year
1986
Pagerank
0.00058816744
Overall Rank
18 | 99.89%
DOI
10.1145/6012.15399

Incoming Non-self Citations Over Time

Authors

BibTeX Citation

@inproceedings{bancilhon_pods86,
        address = {New York, NY, USA},
        series = {{PODS} '86},
        title = {{MAGIC SETS AND OTHER STRANGE WAYS TO IMPLEMENT LOGIC PROGRAMS (Extended Abstract)}},
        url = {https://dl.acm.org/doi/10.1145/6012.15399},
        doi = {10.1145/6012.15399},
        booktitle = {Proceedings of the {ACM} {SIGMOD} Symposium on {Principles} of {Database} {Systems}},
        publisher = {Association for Computing Machinery},
        author = {Bancilhon, Francois and Maier, David and Sagiv, Yehoshua and Ullman, Jeffrey D.},
        year = {1986}
}

Incoming Citations (Sorted by Pagerank)

Showing 50 of 108 citing papers.

Rank Citing Paper Year Venue Pagerank
67 An Amateur's Introduction to Recursive Query Processing Strategies 1986 SIGMOD 0.0003786983
259 An Overview of Query Optimization in Relational Systems 1998 PODS 0.00022881075
275 Extensible Query Processing in Starburst 1989 SIGMOD 0.000224395
306 A Graphical Query Language Supporting Recursion 1987 SIGMOD 0.00021533151
319 OPTIMIZING DATALOG PROGRAMS (Extended Abstract) 1987 PODS 0.00021142713
353 On the Power of Magic 1987 PODS 0.0002014941
358 Regular Path Queries with Constraints 1997 PODS 0.00020030407
443 On the Implementation of a Simple Class of Logic Queries for Databases 1986 PODS 0.00018161613
533 The Magic of Duplicates and Aggregates 1990 VLDB 0.00016794756
638 LDL: A Logic-Based Data-Language 1986 VLDB 0.0001531355
831 Logic Programming With Sets 1987 PODS 0.00013564613
862 Query Optimization by Simulated Annealing 1987 SIGMOD 0.00013372073
1,002 Declarative Networking: Language, Execution and Optimization 2006 SIGMOD 0.00012560011
1,032 Cost-Based Optimization for Magic: Algebra and Implementation 1996 SIGMOD 0.00012376627
1,056 Sets and Negation in a Logic Database Language (LDL1) 1987 PODS 0.00012252667
1,122 Query Optimization by Predicate Move-Around 1994 VLDB 0.00011915958
1,170 PrivateSQL: A Differentially Private SQL Query Engine 2019 VLDB 0.00011687052
1,204 Data Independent Recursion in Deductive Databases 1986 PODS 0.00011517335
1,292 On the Computation of the Transitive Closure of Relational Operators 1986 VLDB 0.00011145435
1,342 An Algorithm For Ordering Subgoals In Nail! 1988 PODS 0.00010958469
1,443 Magic is Relevant 1990 SIGMOD 0.00010618161
1,688 Bounds on the Propagation of Selection into Logic Programs 1987 PODS 9.8481921e-05
1,871 Optimizing the Rule-Data Interface in a KMS 1986 VLDB 9.4478731e-05
1,986 Efficient Evaluation of Right-, Left-, and Multi-Linear Rules 1989 SIGMOD 9.2371562e-05
2,033 Practical Predicate Placement 1994 SIGMOD 9.1389597e-05
2,038 Proof-Tree Transformation Theorems and Their Applications 1989 PODS 9.1328477e-05
2,078 One-Sided Recursions 1987 PODS 9.0607099e-05
2,112 Evaluation Of Database Recursive Logic Programs As Recurrent Function Series 1986 SIGMOD 9.0176858e-05
2,126 A Study of Transitive Closure As a Recursion Mechanism 1987 SIGMOD 8.9903441e-05
2,483 Diagnosis of Asynchronous Discrete Event Systems: Datalog to the Rescue! 2005 PODS 8.3820186e-05
2,535 Logic Programming as Constructivism: A Formalization and its Application to Databases 1989 PODS 8.3090714e-05
2,556 Aggregation and Relevance in Deductive Databases 1991 VLDB 8.2787456e-05
3,030 Graph-Theoretic Methods In Database Theory 1990 PODS 7.7156987e-05
3,081 Pushing Data-Induced Predicates Through Joins in Big-Data Clusters 2020 VLDB 7.6515625e-05
3,104 On Optimizing Operator Fusion Plans for Large-Scale Machine Learning in SystemML 2018 VLDB 7.6281929e-05
3,156 Query Optimization Techniques for Partitioned Tables 2011 SIGMOD 7.5694347e-05
3,378 Magic Conditions 1990 PODS 7.3454229e-05
3,427 A Framework for Testing Safety and Effective Computability of Extended Datalog (Extended Abstract) 1988 SIGMOD 7.2959413e-05
3,648 The Complexity Of Ordering Subgoals 1988 PODS 7.1172365e-05
3,702 Implementation of Magic-sets in a Relational Database System 1994 SIGMOD 7.0617354e-05
3,722 Compiling Separable Recursions 1988 SIGMOD 7.0503269e-05
3,769 Dynamically Distributed Query Evaluation 2001 PODS 7.0154753e-05
3,856 Right-, left- and multi-linear rule transformations that maintain context information 1990 VLDB 6.9565167e-05
4,178 Towards a Real Horn Clause Language 1988 VLDB 6.748354e-05
4,206 Argument Reduction by Factoring 1989 VLDB 6.722747e-05
4,224 Distributed Processing Of Logic Programs 1988 SIGMOD 6.710075e-05
4,422 Shared Arrangements: practical inter-query sharing for streaming dataflows 2020 VLDB 6.5902096e-05
4,447 Magic Counting Methods 1987 SIGMOD 6.5790432e-05
4,501 EFFICIENT EVALUATION FOR A SUBSET OF RECURSIVE QUERIES (Extended Abstract) 1987 PODS 6.5580877e-05
4,575 Why A Single Parallelization Strategy Is Not Enough In Knowledge Bases 1989 PODS 6.5132348e-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
351 A Message Passing Framework for Logical Query Evaluation 1986 SIGMOD 0.00020181666
Previous Page 1 / 1 Next

Semantically Similar Papers