We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Computer Science & Information Technology/Magic sets and other strange ways to implement logic programs (extended abstract)
PeriodicalsComputer Science & Information Technology

Magic sets and other strange ways to implement logic programs (extended abstract)

Checking your access to this record.

Abstract & Overview

Several methods for implementing database queries expressed as logical rules are given and they are compared for efficiency. One method, called “magic sets,” is a general algorithm for rewriting logical rules so that they may be implemented bottomUP (= forward chaining) in a way that cuts down on the irrelevant facts that are generated. The advantage of this scheme is that by working bottom-up, we can take advantage of efficient methods for doing massive joins. Two other methods are ad hoc ways of implementing “linear” rules, i.e., rules where at most one predicate in any body is recursive. These methods are

Cite this record

François Bancilhon, David Maier, Yehoshua Sagiv, Jeffrey David Ullman (1985). Magic sets and other strange ways to implement logic programs (extended abstract). ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems (PODS), 1–15. https://doi.org/10.1145/6012.15399

Copy in another style

Bancilhon, F., Maier, D., Sagiv, Y., & Ullman, J. D. (1985). Magic sets and other strange ways to implement logic programs (extended abstract). ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems (PODS), 1–15. https://doi.org/10.1145/6012.15399
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.