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
4,639 Context-Sensitive Program Analysis as Database Queries 2005 PODS 6.4750159e-05
4,757 Translation and Optimization of Logic Queries: The Algebraic Approach 1986 VLDB 6.4208636e-05
4,790 Handling Redundancy in the Processing of Recursive Database Queries 1987 SIGMOD 6.4012965e-05
4,912 Parallel Processing of Recursive Queries in Distributed Architectures 1989 VLDB 6.345416e-05
5,073 On the Optimization of Recursive Relational Queries: Application to Graph Queries 2020 SIGMOD 6.2738154e-05
5,096 A Rule-based Language for Web Data Management 2011 PODS 6.2633137e-05
5,434 Linearizing nonlinear recursions in polynomial time (Extended Abstract) 1989 PODS 6.1169559e-05
5,440 Worst-case Complexity Analysis of Methods for Logic Query Implementation 1987 PODS 6.1144635e-05
5,799 Maintenance of Stratified Databases Viewed as a Belief Revision System 1987 PODS 5.9737231e-05
6,065 Magic Shapes for SHACL Validation 2022 VLDB 5.882179e-05
6,159 The BUDS Language for Distributed Bayesian Machine Learning 2017 SIGMOD 5.851731e-05
6,443 Evaluating Datalog over Semirings: A Grounding-based Approach 2024 PODS 5.7666211e-05
6,448 Optimizing Existential Datalog Queries 1988 PODS 5.7650024e-05
6,451 Type Inference for Datalog and its Application to Query Optimisation 2008 PODS 5.7634942e-05
6,764 Inherent Complexity of Recursive Queries (Extended Abstract) 1999 PODS 5.6698023e-05
6,775 On the Power of Alexander Templates (Extended Abstract) 1989 PODS 5.669182e-05
6,894 Efficient Implementation of Loops in Bottom-Up Evaluation of Logic Queries 1990 VLDB 5.6384137e-05
6,914 Modelling Non Deterministic Queries and Updates In Deductive Databases 1988 VLDB 5.6327494e-05
7,112 On the Expected Size of Recursive Datalog Queries 1991 PODS 5.5809131e-05
7,167 Optimizing Recursive Queries with Program Synthesis 2022 SIGMOD 5.5794956e-05
7,246 Adding Magic to an Optimising Datalog Compiler 2008 SIGMOD 5.5599899e-05
7,293 Efficient Identification of Implicit Facts in Incomplete OWL2-EL Knowledge Bases 2014 VLDB 5.5484494e-05
7,331 Query Translation from XPath to SQL in the Presence of Recursive DTDs 2005 VLDB 5.5352176e-05
7,701 Database Updates in Logic Programming 1988 PODS 5.4565877e-05
7,716 Hard problems for simple logic programs 1990 SIGMOD 5.4548161e-05
8,042 Optimizing Iceberg Queries with Complex Joins 2017 SIGMOD 5.3852464e-05
8,076 Polynomial-time program transformations in deductive databases 1990 PODS 5.378291e-05
8,291 Accelerate Distributed Joins with Predicate Transfer 2025 SIGMOD 5.3445863e-05
8,376 Optimizing Nested Recursive Queries 2024 SIGMOD 5.3279812e-05
8,488 How to Forget the Past Without Repeating It 1990 VLDB 5.3148581e-05
8,503 Optimization of Systems of Algebraic Equations for Evaluating Datalog Queries 1987 VLDB 5.3129351e-05
8,507 Non-deterministic Modelling of Logical Queries in Deductive Databases 1987 SIGMOD 5.3125811e-05
8,667 Making RDBMSs Efficient on Graph Workloads Through Predefined Joins 2022 VLDB 5.2770612e-05
9,022 Compiling Query Constraints 1994 PODS 5.2216313e-05
9,724 Counting Methods for Cyclic Relations 1988 PODS 5.121278e-05
9,833 Raqlet: Cross-Paradigm Compilation for Recursive Queries 2026 CIDR 5.1064323e-05
10,024 Schema-Based Query Optimisation for Graph Databases 2025 SIGMOD 5.082116e-05
10,078 Materializing Knowledge Bases via Trigger Graphs 2021 VLDB 5.0732737e-05
10,198 Magic Functions: A Technique to Optimize Extended Datalog Recursive Programs 1987 VLDB 5.0499354e-05
10,368 Efficient Enumeration of Recursive Plans in Transformation-based Query Optimizers 2024 VLDB 5.0064651e-05
10,992 Virtualizing Recursion: Just-In-Time Graph Analytics in a Hyperscale Relational Warehouse 2026 VLDB 4.9605343e-05
11,195 Dynamic Pruning for Recursive Joins 2025 SIGMOD 4.9605343e-05
11,568 PLAQUE: Automated Predicate Learning at Query Time 2024 SIGMOD 4.9605343e-05
11,752 Probabilistic Reasoning at Scale: Trigger Graphs to the Rescue 2023 SIGMOD 4.9605343e-05
12,820 Declarative Reconfigurable Trust Management 2009 CIDR 4.9605343e-05
13,147 Soft Stratification for Magic Set Based Query Evaluation in Deductive Databases 2003 PODS 4.9605343e-05
13,276 Binding Propagation in Disjunctive Databases 1998 VLDB 4.9605343e-05
13,386 Query Evaluation under the Well Founded Semantics (Extended Abstract) 1993 PODS 4.9605343e-05
13,402 Implementation and performance evaluation of a parallel transitive closure algorithm on PRISMA/DB 1993 VLDB 4.9605343e-05
13,420 Implementing Deductive Databases by Linear Programming 1992 PODS 4.9605343e-05
Previous Page 2 / 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