Abstract
The computational complexity is explored of finding the minimal real change of a database after an update constrained by a logic program. A polynomial time algorithm is discovered which solves this problem for ground IC in partial interpretations. Formulated in a “property” form, even under the premise of fixed database scheme, this problem turns out to be complete in the first three classes of ∑ and ∏ polynomial hierarchies, depending on many factors: type of interpretation (total or partial), presence of variables, use of negation, arity of predicates, etc. Meanwhile, we show that under strong restrictions to negative constraints the problem is solvable in polynomial time. If the database scheme may vary, the complexity grows exponentially.
This work was sponsored by the Russian Fundamental Studies Foundation (Grants 98-01-00204, 99-01-00374, 00-01-00254).
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
Abiteboul, S.: Updates a new Frontier. In: Proc. of the Second International Conference on the Theory of Databases, ICDT’88. LNCS 326 (1988) 1–18.
Abiteboul, S., Vianu, V.: Datalog Extensions for Database Queries and Updates. JCSS, 43, n. 1 (1991) 62–124.
Alchourón, C.E., Gärdenfors, P., and Makinson, D.: On the logic of theory change: partial meet contraction and revision functions. J. Symbolic Logic. 50 (1985) 510–530.
Alferes, J.J., Pereira, L.M.: Update-Programs Can Update Programs. In J. Dix, L.M. Pereira, T.C. Przymusinski, editors: Second International Workshop, NMELP’96. Selected Papers. LNCS 1216 (1997) 110–131.
Baral, C., Lobo, J.: Formal Characterization of Active Databases. In Pedreschi, D., Zaniolo, C., editors: Logic in Databases. Intern. Workshop LID’96. Proceedings. San Milano, Italy. (1996), 175–195.
Baralis E., Ceri S., Paraboschi S.: Improved rule analysis by means of triggering and activation graphs. In T. Sellis, editor: Rules in Database Systems, LNCS 985 (1995) 165–181.
Chandra A., Merlin P.: Optimal implementation of conjunctive queries in relational databases. In: Ninth ACM Symp. on Theory of Computing. (1977) 77–90.
Dantsin, E., Eiter, T. Gottlob, G., Voronkov, A.: Complexity and Expressiveness of Logic Programming. In: Proc. 12th Annual IEEE Conf. On Comput. Compl. (1997), 82–101.
Dayal, U., Hanson, E., and Widom, J.: Active database systems. In: W. Kim, editor, Modern Database Systems. Addison Wesley (1995) 436–456
Decker H.: An extension of SLD by abduction and integrity maintenance for view updating in deductive databases. In: Proc. of the 1996 International Conference on Logic Programming. MIT Press, (1996), 157–169.
Dekhtyar, M., Dikovsky, A., Spyratos, N.: On Conservative Enforced Updates. In: Dix, J., Furbach, U., Nerode, A., editors: Proceedings of 4th International Conference, LPNMR’97. Dagstuhl Castle, Germany, LNCS 1265 (1997) 244–257.
Dekhtyar, M., Dikovsky, A., Spyratos, N.: On Logically Justified Updates. In: J. Jaffar, editor: Proc. of the 1998 Joint International Conference and Symposium on Logic Programming. MIT Press, (1998), 250–264.
Dekhtyar, M., Dikovsky, A., Dudakov, S., Spyratos, N.: Monotone Expansion of Updates in Logical Databases. In: Proc. of 5th International Conference LPNMR’ 99. LNAI 1730 (1999) 132–147.
Dekhtyar, M., Dikovsky, A., Dudakov, S., Spyratos, N.: Maximal Expansions of Database Updates. In Foundations of Information and Knowledge Systems, FoIKS 2000. LNCS 1762 (2000) 72–87.
Eiter, T., Gottlob, G.: On the complexity of propositional knowledge base revision, updates, and counterfactuals. Artificial Intelligence 57 (1992) 227–270.
Eiter, T., Gottlob, G., Mannila, H.: Disjunctive datalog. ACM Transactions on Database Systems 22(3) 364–418.
Immerman, N.: Relational queries computable in polynomial time. Information and Conyrol 68 (1986) 86–104.
Gottlob, G., Moerkotte, G., Subrahmanian, V.S.: The PARK semantics for active databases. In: Proceedings of EDBT’96. Avignon, France (1996).
Guessoum A., Lloyd J.W.: Updating knowledge bases. New Generation Computing, 8 (1990), 71–89.
Halfeld Ferrari Alves, M., Laurent, D., Spyratos, N., Stamate, D.: Update rules and revision programs. Rapport de Recherche Université de Paris-Sud, Centre d’Orsay, LRI 1010 (12 / 1995).
Kakas A.C., Mancarella P.: Database updates through abduction. IN: Proc. 16th VLBD Conference. (1990) 650–661.
Katsuno, H., Mendelzon, A. O.: Propositional knowledge base revision and minimal change. Artificial Intelligence 52 (1991) 253–294.
Lloyd, J.W., Foundations of Logic Programming. Second, Extended Edition. Springer-Verlag. (1993)
Marek, V.W., Truszczyński, M.: Revision programming, database updates and integrity constraints. In: International Conference on Data Base theory, ICDT. LNCS 893 (1995) 368–382.
Picouet, Ph., Vianu, V.: Expressiveness and Complexity of Active Databases. In: Afrati, F., Kolaitis, Ph., editors, 6th Int. Conf. on Database Theory, ICDT’97. LNCS 1186 (1997) 155–172.
Przymusinski, T.C., Turner, H.: Update by Means of Inference Rules. In: V.W. Marek, A. Nerode, M. Truszczyński, editors, Logic Programming and Nonmonotonic Reasoning. Proc. of the Third Int. Conf. LPNMR’95, Lexington, KY, USA (1995) 166–174.
Raschid, L., Lobo, J.: Semantics for Update Rule Programs and Implementation in a Relational Database Management System. ACM Trans. on Database Systems 21 (December 1996) 526–571
Schewe, K.-D., Thalheim, B.: Consistency Enforcement in Active Databases. In: Chakravarty, S., Widom, L., editors: Research Issues in Data Engineering-Active Databases. Proceedings. Houston, (1994).
Vardi, M.: The complexity of relational query languages. In: ACM Symposium on Theory of Computing (STOC), San Francisco, (1982) 137–146.
Winslet M.: Reasoning about action using a possible models approach. In: Proc. AAAI’88, v. 1 (1988) 89–93.
Zaniolo, C.: Active database rules with transaction-conscious stable-model semantics. In: Proceedings of Fourth International Conference, DOOD’95. LNCS 1013 (1995) 55–72
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2000 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Dekhtyar, M., Dikovsky, A., Dudakov, S. (2000). On Complexity of Updates through Integrity Constraints. In: Lloyd, J., et al. Computational Logic — CL 2000. CL 2000. Lecture Notes in Computer Science(), vol 1861. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44957-4_58
Download citation
DOI: https://doi.org/10.1007/3-540-44957-4_58
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-67797-0
Online ISBN: 978-3-540-44957-7
eBook Packages: Springer Book Archive