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
743
Venue
PODS
Year
1986
Pagerank
0.00060089598
Overall Rank
16 | 99.90%
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 107 citing papers.

Rank Citing Paper Year Venue Pagerank
4,534 Shared Arrangements: practical inter-query sharing for streaming dataflows 2020 VLDB 6.6420049e-05
4,634 Translation and Optimization of Logic Queries: The Algebraic Approach 1986 VLDB 6.5930956e-05
4,673 Handling Redundancy in the Processing of Recursive Database Queries 1987 SIGMOD 6.573022e-05
4,773 Parallel Processing of Recursive Queries in Distributed Architectures 1989 VLDB 6.5149869e-05
4,952 A Rule-based Language for Web Data Management 2011 PODS 6.4303908e-05
4,972 On the Optimization of Recursive Relational Queries: Application to Graph Queries 2020 SIGMOD 6.4193234e-05
5,288 Linearizing nonlinear recursions in polynomial time (Extended Abstract) 1989 PODS 6.280882e-05
5,295 Worst-case Complexity Analysis of Methods for Logic Query Implementation 1987 PODS 6.2784683e-05
5,729 Maintenance of Stratified Databases Viewed as a Belief Revision System 1987 PODS 6.1072031e-05
5,928 Magic Shapes for SHACL Validation 2022 VLDB 6.038081e-05
6,030 The BUDS Language for Distributed Bayesian Machine Learning 2017 SIGMOD 6.0009079e-05
6,301 Evaluating Datalog over Semirings: A Grounding-based Approach 2024 PODS 5.9213518e-05
6,307 Optimizing Existential Datalog Queries 1988 PODS 5.9196585e-05
6,310 Type Inference for Datalog and its Application to Query Optimisation 2008 PODS 5.9176726e-05
6,613 Inherent Complexity of Recursive Queries (Extended Abstract) 1999 PODS 5.8219225e-05
6,621 On the Power of Alexander Templates (Extended Abstract) 1989 PODS 5.8212982e-05
6,729 Efficient Implementation of Loops in Bottom-Up Evaluation of Logic Queries 1990 VLDB 5.789691e-05
6,752 Modelling Non Deterministic Queries and Updates In Deductive Databases 1988 VLDB 5.7837368e-05
6,948 On the Expected Size of Recursive Datalog Queries 1991 PODS 5.7306589e-05
7,035 Optimizing Recursive Queries with Program Synthesis 2022 SIGMOD 5.7216112e-05
7,079 Adding Magic to an Optimising Datalog Compiler 2008 SIGMOD 5.7090732e-05
7,118 Efficient Identification of Implicit Facts in Incomplete OWL2-EL Knowledge Bases 2014 VLDB 5.6973262e-05
7,172 Query Translation from XPath to SQL in the Presence of Recursive DTDs 2005 VLDB 5.6837389e-05
7,536 Database Updates in Logic Programming 1988 PODS 5.6029996e-05
7,549 Hard problems for simple logic programs 1990 SIGMOD 5.6011655e-05
7,870 Optimizing Iceberg Queries with Complex Joins 2017 SIGMOD 5.5272726e-05
7,886 Polynomial-time program transformations in deductive databases 1990 PODS 5.5225498e-05
8,296 How to Forget the Past Without Repeating It 1990 VLDB 5.4574671e-05
8,314 Optimization of Systems of Algebraic Equations for Evaluating Datalog Queries 1987 VLDB 5.4554917e-05
8,316 Non-deterministic Modelling of Logical Queries in Deductive Databases 1987 SIGMOD 5.4551195e-05
8,468 Making RDBMSs Efficient on Graph Workloads Through Predefined Joins 2022 VLDB 5.418656e-05
8,721 Accelerate Distributed Joins with Predicate Transfer 2025 SIGMOD 5.3772617e-05
8,827 Compiling Query Constraints 1994 PODS 5.3615981e-05
9,503 Counting Methods for Cyclic Relations 1988 PODS 5.2586367e-05
9,811 Schema-Based Query Optimisation for Graph Databases 2025 SIGMOD 5.214913e-05
9,850 Materializing Knowledge Bases via Trigger Graphs 2021 VLDB 5.2094004e-05
9,960 Optimizing Nested Recursive Queries 2024 SIGMOD 5.1879626e-05
9,981 Magic Functions: A Technique to Optimize Extended Datalog Recursive Programs 1987 VLDB 5.1845938e-05
10,143 Raqlet: Cross-Paradigm Compilation for Recursive Queries 2026 CIDR 5.093636e-05
10,690 Dynamic Pruning for Recursive Joins 2025 SIGMOD 5.093636e-05
11,166 PLAQUE: Automated Predicate Learning at Query Time 2024 SIGMOD 5.093636e-05
11,261 Efficient Enumeration of Recursive Plans in Transformation-based Query Optimizers 2024 VLDB 5.093636e-05
11,385 Probabilistic Reasoning at Scale: Trigger Graphs to the Rescue 2023 SIGMOD 5.093636e-05
12,480 Declarative Reconfigurable Trust Management 2009 CIDR 5.093636e-05
12,810 Soft Stratification for Magic Set Based Query Evaluation in Deductive Databases 2003 PODS 5.093636e-05
12,939 Binding Propagation in Disjunctive Databases 1998 VLDB 5.093636e-05
13,049 Query Evaluation under the Well Founded Semantics (Extended Abstract) 1993 PODS 5.093636e-05
13,065 Implementation and performance evaluation of a parallel transitive closure algorithm on PRISMA/DB 1993 VLDB 5.093636e-05
13,083 Implementing Deductive Databases by Linear Programming 1992 PODS 5.093636e-05
13,117 Backward chaining evaluation in stratified disjunctive theories 1990 PODS 5.093636e-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
343 A Message Passing Framework for Logical Query Evaluation 1986 SIGMOD 0.00020669253
Previous Page 1 / 1 Next

Semantically Similar Papers