Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/6012.6013acmconferencesArticle/Chapter ViewAbstractPublication PagespodsConference Proceedingsconference-collections
Article
Free access

On the implementation of a simple class of logic queries for databases

Published: 01 June 1985 Publication History
First page of PDF

References

[1]
1 Bancilhon, F., "A note on the performance of Rule Based Systems", MCC Technical Report, 1985.
[2]
Bancilhon, F., Maier, D., Sagiv, Y., Ullman, J.D, "Magic sets and other strange ways to implement log;ie programs", Proe. 5th A CM SIGMOD- SIGACT Syrup. on Principles of Database Systems, 19815.
[3]
Chandra, A.K., Harel, D., "Horn clauses and the fixpoint hierarchy", Proc. ACM SIGMOD- SIGACT Syrup. on Principles of Database Systems, 1982, pp. 158-163.
[4]
Henschen, L.J., Naqvi, S. A., "On compiling queries in recursive first-order databases", JACM 81, 1, 1984, pp. 47-85.
[5]
Sacc~, D., Zaniolo, C., "Implementation of strongly linear logic queries for databases", unpublished manuscript, 1985.
[6]
Ullman, J.D., Principles of Database Systems, Computer Science Press, Rockville, Md., 1982.
[7]
Ullman, J.D., ~Implementation of logical query languages for databases", TODS 10, 3, 1985, pp. 28g-321.
[8]
van Emden, M.H., Kowalski, R., "The semantics of predicate logic as a programming language", JACM 28, 4, 1976, pp. 733-742.

Cited By

View all
  • (2024)Efficient Enumeration of Recursive Plans in Transformation-Based Query OptimizersProceedings of the VLDB Endowment10.14778/3681954.368198617:11(3095-3108)Online publication date: 1-Jul-2024
  • (2023)Magic sets revisitedJournal of Computer Science and Technology10.1007/BF0294315412:4(346-365)Online publication date: 22-Mar-2023
  • (2020)On the Optimization of Recursive Relational Queries: Application to Graph QueriesProceedings of the 2020 ACM SIGMOD International Conference on Management of Data10.1145/3318464.3380567(681-697)Online publication date: 11-Jun-2020
  • Show More Cited By

Recommendations

Reviews

Jaroslav Pokorny

In this paper, the problem of efficient implementation of queries about relational databases is studied. These queries are expressed in function free first-order logic as a collection of Horn clauses (in the rule-goal form). The authors focus on so-called canonical, strongly linear queries (CSL queries) where associated logical programs contain exactly one recursive rule (with one recursive predicate symbol, say R). The predicate symbol in the goal and in the head of all the rules is R. The binding graph associated with a CSL query permits you to specify the binding-passing property of the query, which guarantees that the initial bindings of the query can be propagated down, via database relations, to any depth of recursion. In subsequent sections, the special class of CSL queries, 1-bound CSL queries, and their implementation are discussed. The authors provide a description of four methods in a unifying framework: the counting method; the eager method; the magic set method; and a new and efficient method, called the magic counting method. This method works better than the others in most cases. The paper is well organized but is not easy to read. It is written at a high level, presupposing a good familiarity with studied questions. Nevertheless, the paper is too short with respect to the complexity of the formalism used and the covered issues (e.g., all results are presented without proofs).

Access critical reviews of Computing literature here

Become a reviewer for Computing Reviews.

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
PODS '86: Proceedings of the fifth ACM SIGACT-SIGMOD symposium on Principles of database systems
June 1985
293 pages
ISBN:0897911792
DOI:10.1145/6012
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 June 1985

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Conference

PODS86
PODS86: ACM SIGACT-SIGMOD Symposium on Principles of Database Systems
March 24 - 26, 1986
Massachusetts, Cambridge, USA

Acceptance Rates

Overall Acceptance Rate 642 of 2,707 submissions, 24%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)39
  • Downloads (Last 6 weeks)3
Reflects downloads up to 09 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Efficient Enumeration of Recursive Plans in Transformation-Based Query OptimizersProceedings of the VLDB Endowment10.14778/3681954.368198617:11(3095-3108)Online publication date: 1-Jul-2024
  • (2023)Magic sets revisitedJournal of Computer Science and Technology10.1007/BF0294315412:4(346-365)Online publication date: 22-Mar-2023
  • (2020)On the Optimization of Recursive Relational Queries: Application to Graph QueriesProceedings of the 2020 ACM SIGMOD International Conference on Management of Data10.1145/3318464.3380567(681-697)Online publication date: 11-Jun-2020
  • (2018)DatalogDeclarative Logic Programming10.1145/3191315.3191317(3-100)Online publication date: 1-Sep-2018
  • (2018)Declarative Logic ProgrammingundefinedOnline publication date: 1-Sep-2018
  • (2012)GRAMMARS AND AUTOMATA TO OPTIMIZE CHAIN LOGIC QUERIESInternational Journal of Foundations of Computer Science10.1142/S012905419900025310:03(349-372)Online publication date: 30-Apr-2012
  • (2011)Semantic WebData Management and Query Processing in Semantic Web Databases10.1007/978-3-642-19357-6_2(7-34)Online publication date: 25-Mar-2011
  • (2005)Logic and databases: A 20 year retrospectiveLogic in Databases10.1007/BFb0031734(1-57)Online publication date: 26-Jun-2005
  • (2005)A graph-based decomposition approach for recursive query processingGraph-Theoretic Concepts in Computer Science10.1007/3-540-50728-0_40(148-165)Online publication date: 31-May-2005
  • (2005)Rule rewriting methods for efficient implementations of horn logicFoundations of Logic and Functional Programming10.1007/3-540-19129-1_5(114-139)Online publication date: 31-May-2005
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media