Hostname: page-component-848d4c4894-xfwgj Total loading time: 0 Render date: 2024-06-26T01:35:55.387Z Has data issue: false hasContentIssue false

Incremental Answer Set Programming with Overgrounding

Published online by Cambridge University Press:  20 September 2019

FRANCESCO CALIMERI
Affiliation:
Department of Mathematics and Computer Science, University of Calabria, Italy (e-mail: lastname@mat.unical.it)-https://www.mat.unical.it
GIOVAMBATTISTA IANNI
Affiliation:
Department of Mathematics and Computer Science, University of Calabria, Italy (e-mail: lastname@mat.unical.it)-https://www.mat.unical.it
FRANCESCO PACENZA
Affiliation:
Department of Mathematics and Computer Science, University of Calabria, Italy (e-mail: lastname@mat.unical.it)-https://www.mat.unical.it
SIMONA PERRI
Affiliation:
Department of Mathematics and Computer Science, University of Calabria, Italy (e-mail: lastname@mat.unical.it)-https://www.mat.unical.it
JESSICA ZANGARI
Affiliation:
Department of Mathematics and Computer Science, University of Calabria, Italy (e-mail: lastname@mat.unical.it)-https://www.mat.unical.it

Abstract

Repeated executions of reasoning tasks for varying inputs are necessary in many applicative settings, such as stream reasoning. In this context, we propose an incremental grounding approach for the answer set semantics. We focus on the possibility of generating incrementally larger ground logic programs equivalent to a given non-ground one; so called overgrounded programs can be reused in combination with deliberately many different sets of inputs. Updating overgrounded programs requires a small effort, thus making the instantiation of logic programs considerably faster when grounding is repeated on a series of inputs similar to each other. Notably, the proposed approach works “under the hood”, relieving designers of logic programs from controlling technical aspects of grounding engines and answer set systems. In this work we present the theoretical basis of the proposed incremental grounding technique, we illustrate the consequent repeated evaluation strategy and report about our experiments.

Type
Original Article
Copyright
© Cambridge University Press 2019 

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

References

Alviano, M., Dodaro, C., Leone, N., and Ricca, F. 2015. Advances in WASP. In Calimeri, F., Ianni, G., and Truszczynski, M. (Eds.), LPNMR 2015, Volume 9345 of LNCS, pp. 4054. Springer.Google Scholar
Alviano, M., Faber, W., Greco, G., and Leone, N. 2012. Magic sets for disjunctive datalog programs. Artificial Intelligence 187, 156192.Google Scholar
Beck, H., Eiter, T., and Folie, C. 2017. Ticker: A system for incremental asp-based stream reasoning. TPLP 17, 5-6, 744763.Google Scholar
Bogaerts, B. and Weinzierl, A. 2018. Exploiting justifications for lazy grounding of answer set programs. In IJCAI 2018, July 13-19, 2018, Stockholm, Sweden., pp. 17371745. ijcai.org.Google Scholar
Calimeri, F., Cozza, S., Ianni, G., and Leone, N. 2008. Computable functions in ASP: theory and implementation. In ICLP, Volume 5366 of Lecture Notes in Computer Science, pp. 407424. Springer.Google Scholar
Calimeri, F., Fuscà, D., Perri, S., and Zangari, J. 2017. I-DLV: the new intelligent grounder of DLV. Intelligenza Artificiale 11, 1, 520.CrossRefGoogle Scholar
Calimeri, F., Germano, S., Ianni, G., Pacenza, F., Perri, S., and Zangari, J. 2018. Integrating rule-based AI tools into mainstream game development. In RuleML+RR 2018, pp. 310317.Google Scholar
Calimeri, F., Ianni, G., Perri, S., and Zangari, J. 2013. The eternal battle between determinism and nondeterminism: preliminary studies in the sudoku domain. 20th RCRA International Workshop. 2013.Google Scholar
Calimeri, F., Perri, S., and Zangari, J. 2019. Optimizing answer set computation via heuristic-based decomposition. Theory and Practice of Logic Programming, 126.Google Scholar
Dal Palù, A., Dovier, A., Pontelli, E., and Rossi, G. 2009. GASP: answer set programming with lazy grounding. Fundam. Inform. 96, 3, 297322.Google Scholar
Dantsin, E., Eiter, T., Gottlob, G., and Voronkov, A. 2001. Complexity and expressive power of logic programming. ACM Comput. Surv. 33, 3, 374425.CrossRefGoogle Scholar
Dao-Tran, M., Eiter, T., Fink, M., Weidinger, G., and Weinzierl, A. 2012. Omiga : An open minded grounding on-the-fly answer set solver. In JELIA, Volume 7519 of LNCS, pp. 480483. Springer.Google Scholar
De Cat, B., Denecker, M., and Stuckey, P. 2012. Lazy model expansion by incremental grounding. In Technical Communications of ICLP 2012, pp. 201211.Google Scholar
Eiter, T., Ianni, G., and Krennwallner, T. 2009. Answer set programming: A primer. In Reasoning Web School 2009, Volume 5689 of LNCS, pp. 40110. Springer.Google Scholar
Faber, W., Leone, N., and Pfeifer, G. 2004. Recursive aggregates in disjunctive logic programs: Semantics and complexity. In JELIA, Volume 3229 of LNCS, pp. 200212. Springer.Google Scholar
Fages, F. 1994. Consistency of clark’s completion and existence of stable models. Meth. of Logic in CS 1, 1, 5160.Google Scholar
Gebser, M., Kaminski, R., Kaufmann, B., Romero, J., and Schaub, T. 2015. Progress in clasp series 3. In LPNMR 2015, Volume 9345 of LNCS, pp. 368383. Springer.Google Scholar
Gebser, M., Kaminski, R., Kaufmann, B., and Schaub, T. 2019. Multi-shot ASP solving with clingo. TPLP 19, 1, 2782.Google Scholar
Gebser, M., Kaminski, R., König, A., and Schaub, T. 2011. Advances in gringo series 3. In LPNMR, Volume 6645 of LNCS, pp. 345351. Springer.Google Scholar
Gebser, M., Maratea, M., and Ricca, F. 2017. The sixth answer set programming competition. J. Artif. Intell. Res. 60, 4195.Google Scholar
Gelfond, M. and Lifschitz, V. 1991. Classical negation in logic programs and disjunctive databases. New Generation Computing 9, 3/4, 365386.CrossRefGoogle Scholar
Herbrand, J. 1930. Recherches sur la théorie de la démonstration.Google Scholar
Kaufmann, B., Leone, N., Perri, S., and Schaub, T. 2016. Grounding and solving in answer set programming. AI Magazine 37, 3, 2532.CrossRefGoogle Scholar
Lefèvre, C., Béatrix, C., Stéphan, I., and Garcia, L. 2017. Asperix, a first-order forward chaining approach for answer set computing. TPLP 17, 3, 266310.Google Scholar
Leone, N., Rullo, P., and Scarcello, F. 1997. Disjunctive stable models: Unfounded sets, fixpoint semantics, and computation. Information and Computation 135, 2, 69112.CrossRefGoogle Scholar
Motik, B., Nenov, Y., Piro, R., and Horrocks, I. 2019. Maintenance of datalog materialisations revisited. Artificial Intelligence 269, 76136.Google Scholar
Nethercote, N., Stuckey, P., Becket, R., Brand, S., Duck, G., and Tack, G. 2007. Minizinc: Towards a standard CP modelling language. In CP 2007, pp. 529543.Google Scholar
Pérez-Liébana, D., Samothrakis, S., Togelius, J., Schaul, T., and Lucas, S. 2016. General video game AI: competition, challenges and opportunities. In AAAI 2016, pp. 43354337.Google Scholar
Tarski, A. 1955. A lattice-theoretical fixpoint theorem and its applications. Pacific J. Math. 5, 2, 285309.CrossRefGoogle Scholar
Ullman, J. 1988. Principles of Database and Knowledge-Base Systems, Volume I, Volume 14 of Principles of computer science series. Computer Science Press.Google Scholar
Van Gelder, A., Ross, K., and Schlipf, J. 1991. The Well-Founded Semantics for General Logic Programs. Journal of the ACM 38, 3, 620650.Google Scholar
Weinzierl, A. 2017. Blending lazy-grounding and CDNL search for answer-set solving. In LPNMR, Volume 10377 of LNCS, pp. 191204. Springer.Google Scholar
Supplementary material: PDF

Calimeri et al. supplementary material

Calimeri et al. supplementary material

Download Calimeri et al. supplementary material(PDF)
PDF 118.7 KB