Abstract
This paper addresses the problem of integrating the update language into a declarative query language. Elementary updates are expressed in a declarative style by means of a constraint language. The constraint logic programming framework is used to provide a declarative query-update language. Its semantics is defined in two steps. In such framework an update query behaves as a transaction. A transactional behaviour of update queries is provided.
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
S. Abiteboul, E. Simon, and V. Vianu. Non-Deterministic Languages to Express Deterministic Transformations. In Proc. of the ACM Symposium on Principles of Database Systems, pages 218–229. ACM, New York, USA, 1990.
S. Abiteboul and V. Vianu. A Transaction Language Complete for Database Update and Specification. In Proc. of the ACM Symposium on Principles of Database Systems, pages 260–268. ACM, New York, USA, 1987.
S. Abiteboul and V. Vianu. Procedural and Declarative Database Update Languages. In Proc. of the ACM Symposium on Principles of Database Systems, pages 240–251. ACM, New York, USA, 1988.
P. Atzeni, C. Batini, and V. De Antonellis. Relational Database Theory: a Comprehensive Introduction. Benjamin Cummings, 1992. To appear.
F. Bancilhon and R. Ramakrishnan. Performance Evaluation of Data Intensive Logic Programs. In J. Minker, editor, Foundation of Deductive Databases and Logic Programming, pages 439–519. Morgan-Kaufmann, 1987.
A. J. Bonner. Hypothetical Datalog: Negation and Linear Recursion. In Proc. of the ACM Symposium on Principles of Database Systems, pages 286–300. ACM, New York, USA, 1989.
M. L. Brodie. On Modelling Behavioural Semantics of Databases. In C. Zaniolo and C. Delobel, editors, Proc. Seventh Int’l Conf. on Very Large Data Bases, pages 32–42, 1981.
S. Ceri, G. Gottlob, and L. Tanca. What You Always Wanted to Know About Datalog - And Never Dared to Ask. IEEE Tran. on Knowledge and Data Eng., 1(1):146— 164, March 1989.
A. Colmerauer. Opening the Prolog-III universe. BYTE magazine, vol. 12, n. 9, 1987.
M. A. Derr, G. Phipps, and K. A. Ross. Glue-Nail: A Deductive Database System. In Proc. Int’l Conf. ACM on Management of Data, pages 308–317, 1991.
M. Dincbas et al. The Constraint Logic Programming Language CHIP. In Proc. Int’l Conf. on Fifth Generation Computer Systems. Institute for New Generation Computer Technology, 1988.
M. Gabbrielli and G. Levi. Modeling Answer Constraints in Contraint Logic Programs In K. Furukawa, editor, Proc. Eighth Int’l Conf. on Logic Programming, pages 238–252. The MIT Press, Cambridge, Mass., 1991.
H. Gallaire, J. Minker, and J. M. Nicolas. Logic and database: A deductive approach. ACM Computing Surveys, 16 (2): 153–185, June 1984.
D. Harel. First-Order Dynamic Logic, volume 68 of Lecture Notes in Computer Science. Springer-Verlag, Berlin, 1979.
P. Van Hentenrych. Constraint Satisfaction in Logic Programming. The MIT Press, Cambridge, Mass., 1989.
J. Jaffar and J.-L. Lassez. Constraint Logic Programming. In Proc. Fourteenth Annual ACM Symp. on Principles of Programming Languages, pages 111–119. ACM, New York, USA, 1987.
J. Jaffar and J.-L. Lassez. Constraint Logic Programming. Technical report, Department of Computer Science, Monash University, June 1986.
J. Lassez and S. Michaylov. Methodology and Implementation of a CLP system. In J.-L. Lassez, editor, Proc. Fourth Int’l Conf. on Logic Programming, pages 196–218. The MIT Press, Cambridge, Mass., 1987.
W. Leier. Constraint Programming Languages: Their Specification and Generation. Addison-Wesley, 1988.
J.W. Lloyd. Foundations of logic programming. Springer-Verlag, Berlin, 1987. Second edition.
C. Maindreville and E. Simon. Modelling Non Deterministic Queries and Updates In Deductive Databases. In F. Bancilhon and D. J. DeWitt, editors, Proc. Fourteenth Intl Conf. on Very Large Data Bases, pages 395–406, 1988.
S. Manchanda and D. S. Warren. A Logic-based Language for Database Updates. In J. Minker, editor, Foundation of Deductive Databases and Logic Programming, pages 363–394. Morgan-Kaufmann, 1987.
S. Naqvi and R. Krishnamurthy. Database Updates in Logic Programming. In Proc. of the ACM Symposium on Principles of Database Systems, pages 251–262. ACM, New York, USA, 1988.
S. Naqvi and S. Tsur. A Logic Language for Data and Knowledge Bases. Computer Science Press, 1989.
J. Widom. A Denotational Semantics for the Starburst Production Rule Language. Technical Report RJ 8581, IBM, 1992.
M. Zloof. Query-by-example: a Data Base Language. IBM Systems Journal, 16 (4): 324–343, 1977.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1993 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Bertino, E., Martelli, M., Montesi, D. (1993). Modelling Database Updates with Constraint Logic Programming. In: Lipeck, U.W., Thalheim, B. (eds) Modelling Database Dynamics. Workshops in Computing. Springer, London. https://doi.org/10.1007/978-1-4471-3554-8_8
Download citation
DOI: https://doi.org/10.1007/978-1-4471-3554-8_8
Publisher Name: Springer, London
Print ISBN: 978-3-540-19803-1
Online ISBN: 978-1-4471-3554-8
eBook Packages: Springer Book Archive