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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
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.
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.
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.
Kowalski, R., “Predicate Logic as a Programming Language”, Proc. 1974 IF IP, North-Holland, Amsterdam, 1974, pp. 569–574.
Kowalski, R., “A Proof Procedure Using Connection Graphs”, ACM Journal, Vol. 22, No. 4, 1975, pp. 572–595.
Kowalski, R.A., Logic for Problem Solving, North-Holland, New York, 1979.
Lloyd, J.W., Foundations of Logic Programming, Springer-Verlag, Berlin, Heidelberg, 1984.
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.
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.
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.
Stoy, J.E., Denotational Semantics: The Scott-Strachey Approach, MIT Press, Cambridge, MA, 1977.
Ullman, J.D., Principles of Database Systems, Computer Science Press Inc., Potomac, MD, 1980.
Zaniolo, C., “The Representation and Deductive Retrieval of Complex Objects”, MCC Technical Report, Austin, Texas, 1985.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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