Expressive Power and Complexity of Partial Models for Disjunctive Deductive Databases’
Total Page:16
File Type:pdf, Size:1020Kb
Load more
										Recommended publications
									
								- 
												
												Grounding and Solving in Answer Set Programming
Articles Grounding and Solving in Answer Set Programming Benjamin Kaufmann, Nicola Leone, Simona Perri, Torsten Schaub n Answer set programming is a declar - nswer set programming (ASP) combines a high-level ative problem-solving paradigm that modeling language with effective grounding and solv - rests upon a work flow involving mod - Aing technology. Moreover, ASP is highly versatile by eling, grounding, and solving. While the offering various elaborate language constructs and a whole former is described by Gebser and spectrum of reasoning modes. The work flow of ASP is illus - Schaub (2016), we focus here on key trated in figure 1. issues in grounding, or how to system - At first, a problem is expressed as a logic program. A atically replace object variables by ground terms in an effective way, and grounder systematically replaces all variables in the program solving, or how to compute the answer by (variable-free) terms, and the solver takes the resulting sets, of a propositional logic program propositional program and computes its answer sets (or obtained by grounding. aggregations of them). ASP’s success is largely due to the availability of a rich mod - eling language (Gebser and Schaub 2016) along with effec - tive systems. Early ASP solvers SModels (Simons, Niemelä, and Soininen 2002) and DLV (Leone et al. 2006) were fol - lowed by SAT 1-based ones, such as ASSAT (Lin and Zhao 2004) and Cmodels (Giunchiglia, Lierler, and Maratea 2006), before genuine conflict-driven ASP solvers such as clasp (Geb - ser, Kaufmann, and Schaub 2012a) and WASP (Alviano et al. 2015) emerged. In addition, there is a continued interest in mapping ASP onto solving technology in neighboring fields, like SAT or even MIP 2 (Janhunen, Niemelä, and Sevalnev 2009; Liu, Janhunen, and Niemelä 2012), and in the auto - matic selection of the appropriate solver by heuristics (Maratea, Pulina, and Ricca 2014). - 
												
												Applications of Answer Set Programming
Articles Applications of Answer Set Programming Esra Erdem, Michael Gelfond, Nicola Leone I Answer set programming (ASP) has nswer set programming (ASP) is a knowledge represen- been applied fruitfully to a wide range tation and reasoning (KR) paradigm. It has rich high- of areas in AI and in other fields, both Alevel representation languages that allow recursive def- in academia and in industry, thanks to initions, aggregates, weight constraints, optimization the expressive representation languages statements, default negation, and external atoms. With such of ASP and the continuous improve- ment of ASP solvers. We present some expressive languages, ASP can be used to declaratively repre- of these ASP applications, in particular, sent knowledge (for example, mathematical models of prob- in knowledge representation and rea- lems, behaviour of dynamic systems, beliefs and actions of soning, robotics, bioinformatics, and agents) and solve combinatorial search problems (for exam- computational biology as well as some ple, planning, diagnosis, phylogeny reconstruction) and industrial applications. We discuss the knowledge-intensive problems (for example, query answer- challenges addressed by ASP in these ing, explanation generation). The idea is to represent a prob- applications and emphasize the strengths of ASP as a useful AI para- lem as a “program” whose models (called “answer sets” [Gel- digm. fond and Lifschitz 1988, 1991]) correspond to the solutions of the problem. The answer sets for the given program can then be computed by special software systems called answer set solvers, such as DLV, Smodels, or clasp. Due to the continuous improvement of ASP solvers and the expressive representation languages of ASP, ASP has been applied fruitfully to a wide range of areas in AI and in other Copyright © 2016, Association for the Advancement of Artificial Intelligence. - 
												
												Magic Sets for Data Integration∗
Proceedings of the Twenty-Third AAAI Conference on Artificial Intelligence (2008) Magic Sets for Data Integration∗ Wolfgang Faber and Gianluigi Greco and Nicola Leone Department of Mathematics, University of Calabria, Italy {faber,ggreco,leone}@mat.unical.it Abstract 2004; Bravo & Bertossi 2003). An important feature of these programs is that they are consistent, viz. that a stable model We present a generalization of the Magic Sets technique to Datalog¬ programs with (possibly unstratified) negation un- is guaranteed to exist. However, given the co-NP hardness of der the stable model semantics, originally defined in (Faber, their evaluation, the design of optimization techniques is of Greco, & Leone 2005; 2007). The technique optimizes utmost importance for applications in real scenarios, where Datalog¬ programs by means of a rewriting algorithm that the size of the input database may be huge. preserves query equivalence, under the proviso that the orig- In this paper, we focus on the optimization of Datalog¬ inal program is consistent. The approach is motivated by re- programs, by discussing an extension of the well-known cently proposed methods for query answering in data integra- Magic Set method (Bancilhon et al. 1986; Beeri & Ramakr- tion and inconsistent databases, which use cautious reasoning ¬ ishnan 1991). This method exploits the fact that while an- over consistent Datalog programs under the stable model se- swering a user query, often only a certain part of the stable mantics. models needs to be considered, so there is no need to com- In order to prove the correctness of our Magic Sets transfor- pute these models in their entirety.