Nothing Special   »   [go: up one dir, main page]

skip to main content
article
Free access

Logic-based approach to semantic query optimization

Published: 01 June 1990 Publication History

Abstract

The purpose of semantic query optimization is to use semantic knowledge (e.g., integrity constraints) for transforming a query into a form that may be answered more efficiently than the original version. In several previous papers we described and proved the correctness of a method for semantic query optimization in deductive databases couched in first-order logic. This paper consolidates the major results of these papers emphasizing the techniques and their applicability for optimizing relational queries. Additionally, we show how this method subsumes and generalizes earlier work on semantic query optimization. We also indicate how semantic query optimization techniques can be extended to databases that support recursion and integrity constraints that contain disjunction, negation, and recursion.

References

[1]
AHO, A. V., SAGIV, Y., AND ULLMAN, J. D. Efficient optimization of a class of relational expressions. ACM Trans. Database Syst. 4 (1979), 435-454.
[2]
BANCILHON, F., AND RAMAKRISHNAN, R. An amateur's introduction to recursive query processing strategies. In Proceedings of the 1986 ACM-SIGMOD Conference, 16-52.
[3]
CHAKRAVARTHY, U.S. Semantic query optimization in deductive databases. Ph.D. thesis, Dept. of Computer Science, Univ. of Maryland, College Park, 1985.
[4]
CHAKRAVARTHY, U. S., FISHMAN, D. H., AND MINKER, J. Semantic query optimization in expert systems and database systems. In Expert Database Systems, L. Kerschberg, Ed., Benjamin/Cummings, 1985, 659-675.
[5]
CHAKRAVARTHY, U. S., GRANT, J., AND MINKER, J. Foundations of semantic query optimization for deductive databases. In Foundations of Deductive Databases and Logic Programming, J. Minker, Ed., Morgan Kaufmann, 1987.
[6]
CHAKRAVARTHY, U. S., AND MINKER, J. Multiple query processing in deductive databases using query graphs. In Proceedings of the 12th VLDB Conference, 1986, 384-391.
[7]
CHAKRAVARTHY, U. S., MINKER, J., AND GRANT, J. Semantic query optimization: additional constraints and control strategies. In Expert Database Systems, L. Kerschberg, Ed., Benjamin/Cummings, Inc., 1987, 345-379.
[8]
CHANG, C. L., AND LEE, R. C.T. Symbolic Logic and Mechanical Theorem Proving, Academic Press, New York, 1973.
[9]
GALLAIRE, H., MINKER, J., AND NICOLAS, J.-M. Logic and databases: a deductive approach. ACM Comput. Surv. 16 (1984), 153-185.
[10]
GRANT, J., AND MINKER, J. Optimization in deductive and conventional relational database systems. In Advances in Data Base Theory, Vol. 1, H. Gallaire, J. Minker, and J. M. Nicolas, Eds., Plenum Press, 1981, 195-234.
[11]
HAMMER, M. M., AND ZDONIK, S.B. Knowledge based query processing. In Proceedings of the Sixth VLDB Conference, 1980, 137-147.
[12]
JARKE, M., CLIFFORD, J., AND VASSILIOU, Y. An optimizing Prolog front-end to a relational query system. In Proceedings of the ACM-SIGMOD Conference, 1984, 296-306.
[13]
JARKE, M., AND KOCH, J. Query optimization in database systems. ACM Comput. Surv. 16 (1984), 111-152.
[14]
KING, J.J. Query optimization by semantic reasoning, Ph.D. thesis, Dept. of Computer Science, Stanford Univ., Palo Alto, 1981.
[15]
KING, J. J. QUIST: a system for semantic query optimization in relational databases. In Proceedings of the 7th VLDB Conference, 1981, 510-517.
[16]
KOHLI, M., AND MINKER, J. Intelligent control using integrity constraints. In Proceedings of AAAI, 1983, 202-205.
[17]
LEE, S., AND HAN, J. Semantic query optimization in recursive databases, in Proceedings of the Fourth International Conference on Data Engineering, 1988, 444-451.
[18]
LOBO, J., AND MINKER, J. A metainterpreter to semantically optimize queries in deductive databases. In Proceedings of the Second International Conference on Expert Database Systems, 1988, 387-420.
[19]
McSKIMIN, J.R. Techniques for employing semantic information in question-answering systerns. Ph.D. thesis, Dept. of Computer Science, Univ. of Maryland, College Park, 1976.
[20]
MCSKIMIN, J. R., AND MINKER, J. The use of a semantic network in a deductive query answering system. In Proceedings of the Fifth IJCAI, 1977, 50-58.
[21]
MINKER, J. Perspectives in deductive databases. J. Logic Program. 5 (1988), 33-60.
[22]
NAISH, L. The MU-Prolog 3.2 reference manual. Tech. Rep. 85/11, Dept. of Computer Science, Univ. of Melbourne, Australia, 1985.
[23]
REITER, R. Deductive query-answering on relational databases, in Logic and Databases, H. Gaiiaire, and J. Minker, Eds., Plenum Press, 1978, 149-178.
[24]
SELLIS, T. Multiple-query optimization. ACM Trans. Database Syst. 13 (1988), 23-52.
[25]
SHENOY, S. T., AND OZSOYOGLU, Z.M. A system for semantic query optimization. In Proceedings of the ACM-SIGMOD Conference, 1987, 181-195.
[26]
STERLING, L. Meta-interpreters: the flavors of logic programming. In Proceedings of the Workshop on the Foundations of Deductive Databases and Logic Programming (Washington, D.C., 1986), J. Minker, Ed., 1986, 163-175.
[27]
Xu, G.D. Search control in semantic query optimization. Tech. Rep. 83-9, Dept. of Computer Science, Univ. of Massachusetts, Amherst, 1983.
[28]
ZDONIK, S. S., JR. On the use of domain specific knowledge in the processing of database queries. M.S. thesis, Massachusetts Institute of Technology, Cambridge, 1980.

Cited By

View all
  • (2024)Morph-KGC: Scalable knowledge graph materialization with mapping partitionsSemantic Web10.3233/SW-22313515:1(1-20)Online publication date: 12-Jan-2024
  • (2024)Detecting Metadata-Related Logic Bugs in Database Systems via Raw Database ConstructionProceedings of the VLDB Endowment10.14778/3659437.365944517:8(1884-1897)Online publication date: 1-Apr-2024
  • (2024)Semantic Data Integration and Querying: A Survey and ChallengesACM Computing Surveys10.1145/365331756:8(1-35)Online publication date: 26-Apr-2024
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Transactions on Database Systems
ACM Transactions on Database Systems  Volume 15, Issue 2
June 1990
183 pages
ISSN:0362-5915
EISSN:1557-4644
DOI:10.1145/78922
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 June 1990
Published in TODS Volume 15, Issue 2

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)207
  • Downloads (Last 6 weeks)16
Reflects downloads up to 24 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Morph-KGC: Scalable knowledge graph materialization with mapping partitionsSemantic Web10.3233/SW-22313515:1(1-20)Online publication date: 12-Jan-2024
  • (2024)Detecting Metadata-Related Logic Bugs in Database Systems via Raw Database ConstructionProceedings of the VLDB Endowment10.14778/3659437.365944517:8(1884-1897)Online publication date: 1-Apr-2024
  • (2024)Semantic Data Integration and Querying: A Survey and ChallengesACM Computing Surveys10.1145/365331756:8(1-35)Online publication date: 26-Apr-2024
  • (2024)Query Optimization for Ontology-Mediated Query AnsweringProceedings of the ACM Web Conference 202410.1145/3589334.3645567(2138-2148)Online publication date: 13-May-2024
  • (2024)KROWN: A Benchmark for RDF Graph MaterialisationThe Semantic Web – ISWC 202410.1007/978-3-031-77847-6_2(20-39)Online publication date: 27-Nov-2024
  • (2023)Leveraging Application Data Constraints to Optimize Database-Backed Web ApplicationsProceedings of the VLDB Endowment10.14778/3583140.358314116:6(1208-1221)Online publication date: 20-Apr-2023
  • (2023)tf.data serviceProceedings of the 2023 ACM Symposium on Cloud Computing10.1145/3620678.3624666(358-375)Online publication date: 30-Oct-2023
  • (2021)Data dependencies for query optimization: a surveyThe VLDB Journal — The International Journal on Very Large Data Bases10.1007/s00778-021-00676-331:1(1-22)Online publication date: 14-Jun-2021
  • (2020)The Virtual Knowledge Graph System OntopThe Semantic Web – ISWC 202010.1007/978-3-030-62466-8_17(259-277)Online publication date: 2-Nov-2020
  • (2020)Data Publishing: Availability of Data Under Security PoliciesFoundations of Intelligent Systems10.1007/978-3-030-59491-6_26(277-286)Online publication date: 23-Sep-2020
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Full Access

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media