Efficient Instantiation of Disjunctive Databases DBAI-TR-2001-44

Most deductive database systems are endowed with an instantiation module. The instantiator generates a new program which is equivalent to the input program, but does not contain any variables (i.e., it is ground). The instantiation process may be computationally expensive in some cases, and the instantiator is crucial for the efficiency of the entire ASP system. In this report we describe the instantiation procedure of DLV system, which is one of its strong points. Using differential and other advanced database techniques together with suitable data structures, the DLV instantiator efficiently generates a ground instantiation of the input that has the same stable models as the full program instantiation, but is much smaller in general. Moreover, in case of normal stratified programs, it already computes the single stable model without producing any instantiation. 1Department of Mathematics, Universit à della Calabria, Via Pietro Bucci, 30B, I-87036 Rende (CS), Italy. Email: {leone, perri}@mat.unical.it 2Institut für Informationssysteme, TU Wien A-1040 Wien, Austria. Email:{faber, pfeifer}@ dbai.tuwien.ac.it Copyright c © 2001 by the authors 2 TECHNICAL REPORTDBAI-TR-2001-44

[1]  autoepistemic Zogic Logic programming and negation : a survey , 2001 .

[2]  Jorge Lobo,et al.  Foundations of disjunctive logic programming , 1992, Logic Programming.

[3]  Kenneth A. Ross,et al.  Glue-Nail: a deductive database system , 1991, SIGMOD '91.

[4]  Jürgen Dix,et al.  Semantics of Logic Programs: Their Intuitions and Formal Properties. An Overview , 1996, Logic, Action, and Information.

[5]  Carlo Zaniolo,et al.  The LDL System Prototype , 1990, IEEE Trans. Knowl. Data Eng..

[6]  Letizia Tanca,et al.  Integrating object-oriented data modelling with a rule-based programming paradigm , 1990, SIGMOD '90.

[7]  Vladimir Lifschitz,et al.  Splitting a Logic Program , 1994, ICLP.

[8]  Georg Gottlob,et al.  Hypertree decompositions and tractable queries , 1998, PODS '99.

[9]  Divesh Srivastava,et al.  CORAL - Control, Relations and Logic , 1992, VLDB.

[10]  Georg Gottlob,et al.  Disjunctive datalog , 1997, TODS.

[11]  Jack Minker,et al.  On Indefinite Databases and the Closed World Assumption , 1987, CADE.

[12]  Nicola Leone,et al.  BQM: a system integrating logic, objects, and non-monotonic reasoning , 1995, Proceedings of 7th IEEE International Conference on Tools with Artificial Intelligence.

[13]  Chiaki Sakama,et al.  Possible Model Semantics for Disjunctive Databases , 1989, DOOD.

[14]  Kenneth A. Ross,et al.  The Well Founded Semantics for Disjunctive Logic Programs , 1989, DOOD.

[15]  Jürgen Dix,et al.  Disjunctive Semantics based upon Partial and Bottom-Up Evaluation , 1995, ICLP.

[16]  Jeffrey D. Uuman Principles of database and knowledge- base systems , 1989 .

[17]  Teodor C. Przymusinski Stationary Semantics for Disjunctive Logic Programs and Deductive Databases , 1990, NACLP.