Skip to main content

Adding a Closure Operator to the Extended Relational Algebra: A Further Step Towards the Integration of Database Techniques and Logic Programming

  • Chapter
Foundations of Knowledge Base Management

Part of the book series: Topics in Information Systems ((TINF))

Abstract

The integration of Logic Programming and Relational Databases has many advantages: on one hand, a better flexibility is obtained in the use of relational databases by allowing deductive inference and unification; on the other handy techniques developed within a rich body of literature on databases can be exploited to speed up the execution of logic programs.

The main point of this chapter is to allow Horn clauses to be expressed and computed in terms of the Relational Algebra operators, even in the case of recursive clauses.

Our work builds on and completes the results of Zaniolo who has extended Relational Algebra to deal with unification in non-recursive Horn clauses.

Recursive Horn clauses are considered as set transformations, hence the set of tuples satisfying a predicate defined by a system of (mutually) recursive Horn clauses is an inductively defined set, namely the smallest set closed under these transformations.

Closure sets can be computed by an iterative algorithm traversing a cyclic graph whose nodes are labelled by extended relational algebra operators.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Aho, A.V., and J.D. Ullman, “Universality of Data Retrieval Languages”, Proc. ACM 6th Symposium on Principles of Programming Languages, San Antonio, Texas, January 1979, pp. 110-117.

    Google Scholar 

  2. Colmerauer, A., H. Manoui, R. Pasero, and P. Roussel, “Un System de Communication Homme-Machine en Fran?ais”, Technical Report, Groupe Intelligence Artificielle, Universite d’ Aix Marseille, Luminy, 1973.

    Google Scholar 

  3. Henschen, L.J., and S.A. Naqui, “On Compiling Queries in Recursive First-Order Databases”, ACM Journal, Vol. 31, No. 1, January 1984, pp. 47–85.

    Article  MATH  Google Scholar 

  4. Kowalski, R., “Predicate Logic as a Programming Language”, Proc. 1974 IF IP, North-Holland, Amsterdam, 1974, pp. 569–574.

    Google Scholar 

  5. Kowalski, R., “A Proof Procedure Using Connection Graphs”, ACM Journal, Vol. 22, No. 4, 1975, pp. 572–595.

    Article  MATH  Google Scholar 

  6. Kowalski, R.A., Logic for Problem Solving, North-Holland, New York, 1979.

    MATH  Google Scholar 

  7. Lloyd, J.W., Foundations of Logic Programming, Springer-Verlag, Berlin, Heidelberg, 1984.

    MATH  Google Scholar 

  8. McKay, D., and S. Shapiro, “Using Active Connection Graphs for Reasoning with Recursive Rules”, Proc. 7th International Joint Conference on Artificial Intelligence, Vancouver, 1981, pp. 367-374.

    Google Scholar 

  9. Naqvi, S., and L.J. Henschen, “Synthesizing Least Fixed Point Queries into Non-Recursive Iterative Programs”, Proc. 1983 International Joint Conference on Artificial Intelligence, 1983, pp. 25-28.

    Google Scholar 

  10. Reiter, R., “Deductive Question Answering on Relational Databases”, in H. Gallaire and J. Minker (eds.), Logic and Databases, Plenum Press, New York, 1978, pp. 149–177.

    Google Scholar 

  11. Stoy, J.E., Denotational Semantics: The Scott-Strachey Approach, MIT Press, Cambridge, MA, 1977.

    Google Scholar 

  12. Ullman, J.D., Principles of Database Systems, Computer Science Press Inc., Potomac, MD, 1980.

    Google Scholar 

  13. Zaniolo, C., “The Representation and Deductive Retrieval of Complex Objects”, MCC Technical Report, Austin, Texas, 1985.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1989 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Aiello, L., Cecchi, C. (1989). Adding a Closure Operator to the Extended Relational Algebra: A Further Step Towards the Integration of Database Techniques and Logic Programming. In: Schmidt, J.W., Thanos, C. (eds) Foundations of Knowledge Base Management. Topics in Information Systems. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-83397-7_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-83397-7_9

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-83399-1

  • Online ISBN: 978-3-642-83397-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics