{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,15]],"date-time":"2026-10-15T13:24:47Z","timestamp":1792070687961,"version":"4.4.0"},"reference-count":45,"publisher":"Cambridge University Press (CUP)","issue":"5-6","license":[{"start":{"date-parts":[[2019,9,20]],"date-time":"2019-09-20T00:00:00Z","timestamp":1568937600000},"content-version":"unspecified","delay-in-days":19,"URL":"https:\/\/www.cambridge.org\/core\/terms"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Theory and Practice of Logic Programming"],"published-print":{"date-parts":[[2019,9]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>Answer Set Programming (ASP) is a logic programming paradigm featuring a purely declarative language with comparatively high modeling capabilities. Indeed, ASP can model problems in NP in a compact and elegant way. However, modeling problems beyond NP with ASP is known to be complicated, on the one hand, and limited to problems in <jats:inline-formula><jats:alternatives><jats:graphic xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" orientation=\"portrait\" mime-subtype=\"gif\" mimetype=\"image\" position=\"float\" xlink:type=\"simple\" xlink:href=\"S1471068419000140_inline1\"\/><jats:tex-math>$\\[\\Sigma _2^P\\]$<\/jats:tex-math><\/jats:alternatives><\/jats:inline-formula> on the other. Inspired by the way Quantified Boolean Formulas extend SAT formulas to model problems beyond NP, we propose an extension of ASP that introduces quantifiers over <jats:italic>stable models<\/jats:italic> of programs. We name the new language ASP with Quantifiers (ASP(Q)). In the paper we identify computational properties of ASP(Q); we highlight its modeling capabilities by reporting natural encodings of several complex problems with applications in artificial intelligence and number theory; and we compare ASP(Q) with related languages. Arguably, ASP(Q) allows one to model problems in the Polynomial Hierarchy in a direct way, providing an elegant expansion of ASP beyond the class NP.<\/jats:p>","DOI":"10.1017\/s1471068419000140","type":"journal-article","created":{"date-parts":[[2019,9,20]],"date-time":"2019-09-20T09:06:21Z","timestamp":1568970381000},"page":"705-721","source":"Crossref","is-referenced-by-count":23,"title":["Beyond NP: Quantifying over Answer Sets"],"prefix":"10.1017","volume":"19","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-2111-9671","authenticated-orcid":false,"given":"GIOVANNI","family":"AMENDOLA","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8218-3178","authenticated-orcid":false,"given":"FRANCESCO","family":"RICCA","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"MIROSLAW","family":"TRUSZCZYNSKI","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"56","published-online":{"date-parts":[[2019,9,20]]},"reference":[{"key":"S1471068419000140_ref40","doi-asserted-by":"publisher","DOI":"10.1016\/S1574-6526(06)80005-2"},{"key":"S1471068419000140_ref13","doi-asserted-by":"publisher","DOI":"10.1137\/0402041"},{"key":"S1471068419000140_ref44","volume-title":"Statistical learning theory","author":"Vapnik","year":"1998"},{"key":"S1471068419000140_ref27","first-page":"5450","volume-title":"IJCAI","author":"Gebser","year":"2018"},{"key":"S1471068419000140_ref41","doi-asserted-by":"crossref","first-page":"177","DOI":"10.1006\/jcss.1998.1602","article-title":"Deciding the Vapnik-Chervonenkis dimension in \n\n$\\[\\Sigma _3^p\\]$-complete","volume":"1","author":"Schaefer","year":"1999","journal-title":"J. Comput. Syst. Sci. 58,"},{"key":"S1471068419000140_ref30","doi-asserted-by":"publisher","DOI":"10.1609\/aimag.v37i3.2673"},{"key":"S1471068419000140_ref6","doi-asserted-by":"publisher","DOI":"10.1145\/76359.76371"},{"key":"S1471068419000140_ref38","first-page":"176","volume-title":"LPNMR","volume":"10377","author":"Redl","year":"2017"},{"key":"S1471068419000140_ref45","first-page":"11","volume-title":"On the Uniform Convergence of Relative Frequencies of Events to Their Probabilities","author":"Vapnik","year":"2015"},{"key":"S1471068419000140_ref15","unstructured":"Denecker, M. , Lierler, Y. , Truszczynski, M. , and Vennekens, J. 2012. A Tarskian informal semantics for answer set programming. In ICLP-TC. LIPIcs, vol. 17. 277\u2013289."},{"key":"S1471068419000140_ref7","first-page":"570","article-title":"Stable-unstable semantics: Beyond NP with normal logic programs","volume":"5","author":"Bogaerts","year":"2016","journal-title":"TPLP 16"},{"key":"S1471068419000140_ref17","first-page":"653","article-title":"Combining answer set programming and domain heuristics for solving hard industrial problems (application paper)","volume":"5","author":"Dodaro","year":"2016","journal-title":"TPLP 16"},{"key":"S1471068419000140_ref23","first-page":"34","volume-title":"SEA","volume":"546","author":"Faber","year":"2009"},{"key":"S1471068419000140_ref10","doi-asserted-by":"publisher","DOI":"10.1109\/69.877512"},{"key":"S1471068419000140_ref39","unstructured":"Romero, J. , Schaub, T. , and Son, T. C. 2017. Generalized answer set planning with incomplete information. CEUR Workshop Proceedings 1868."},{"key":"S1471068419000140_ref24","unstructured":"Faber, W. and Woltran, S. 2011. Manifold answer-set programs and their applications. In Logic Programming, Knowledge Representation, and Nonmonotonic Reasoning. LNCS, vol. 6565. 44\u201363."},{"key":"S1471068419000140_ref9","doi-asserted-by":"publisher","DOI":"10.1145\/2043174.2043195"},{"key":"S1471068419000140_ref26","first-page":"821","article-title":"Complex optimization in answer set programming","volume":"4","author":"Gebser","year":"2011","journal-title":"TPLP 11"},{"key":"S1471068419000140_ref28","unstructured":"Gebser, M. , Maratea, M. , and Ricca, F. 2017. The sixth answer set programming competition. J. Artif. Intell. Res. 60, 41\u201395."},{"key":"S1471068419000140_ref32","unstructured":"Hurlbert, G. 1999. A Survey of Graph Pebbling. Congr. Num. 139, math.CO\/0406024, 41\u201364."},{"key":"S1471068419000140_ref36","doi-asserted-by":"publisher","DOI":"10.1137\/050636218"},{"key":"S1471068419000140_ref19","doi-asserted-by":"publisher","DOI":"10.1007\/BF01536399"},{"key":"S1471068419000140_ref2","first-page":"40","volume-title":"LPNMR","volume":"9345","author":"Alviano","year":"2015"},{"key":"S1471068419000140_ref25","first-page":"368","volume-title":"LPNMR","volume":"9345","author":"Gebser","year":"2015"},{"key":"S1471068419000140_ref34","doi-asserted-by":"publisher","DOI":"10.1145\/1149114.1149117"},{"key":"S1471068419000140_ref1","first-page":"241","volume-title":"LPNMR","volume":"11481","author":"Alviano","year":"2019"},{"key":"S1471068419000140_ref33","first-page":"219","volume-title":"On the Complexity of Min-Max Optimization Problems and their Approximation","author":"Ko","year":"1995"},{"key":"S1471068419000140_ref22","doi-asserted-by":"publisher","DOI":"10.1609\/aimag.v37i3.2678"},{"key":"S1471068419000140_ref3","volume-title":"RCRA@FLoC","volume":"2271","author":"Amendola","year":"2018"},{"key":"S1471068419000140_ref5","volume-title":"Handbook of Satisfiability","volume":"185","author":"Biere","year":"2009"},{"key":"S1471068419000140_ref8","first-page":"371","volume-title":"CP","volume":"2470","author":"Bordeaux","year":"2002"},{"key":"S1471068419000140_ref12","first-page":"269","volume-title":"Minimax Problems in Combinatorial Optimization","author":"Cao","year":"1995"},{"key":"S1471068419000140_ref16","volume-title":"KR","author":"Denecker","year":"2014"},{"key":"S1471068419000140_ref14","doi-asserted-by":"publisher","DOI":"10.1145\/502807.502810"},{"key":"S1471068419000140_ref11","doi-asserted-by":"publisher","DOI":"10.1109\/69.599933"},{"key":"S1471068419000140_ref31","doi-asserted-by":"publisher","DOI":"10.1007\/BF03037169"},{"key":"S1471068419000140_ref18","doi-asserted-by":"crossref","unstructured":"Eiter, T. , Faber, W. , Leone, N. , and Pfeifer, G. 2000. Declarative problem-solving using the dlv system. In Logic-based Artificial Intelligence. 79\u2013103.10.1007\/978-1-4615-1567-8_4","DOI":"10.1007\/978-1-4615-1567-8_4"},{"key":"S1471068419000140_ref21","first-page":"23","article-title":"Towards automated integration of guess and check programs in answer set programming: a meta-interpreter and applications","volume":"1","author":"Eiter","year":"2006","journal-title":"TPLP 6"},{"key":"S1471068419000140_ref29","first-page":"520","article-title":"Routing driverless transport vehicles in car assembly with answer set programming","volume":"3","author":"Gebser","year":"2018","journal-title":"TPLP 18"},{"key":"S1471068419000140_ref35","doi-asserted-by":"crossref","first-page":"39","DOI":"10.1016\/S0004-3702(02)00186-8","article-title":"Answer set programming and plan generation","volume":"1","author":"Lifschitz","year":"2002","journal-title":"Artif. Intell. 138"},{"key":"S1471068419000140_ref37","first-page":"412","volume-title":"ECAI","volume":"141","author":"Oikarinen","year":"2006"},{"key":"S1471068419000140_ref42","first-page":"1","article-title":"The polynomial-time hierarchy","volume":"1","author":"Stockmeyer","year":"1976","journal-title":"Theor. Comput. Sci. 3,"},{"key":"S1471068419000140_ref43","first-page":"1","volume-title":"STOC","author":"Stockmeyer","year":"1973"},{"key":"S1471068419000140_ref4","doi-asserted-by":"publisher","DOI":"10.1007\/BF02136172"},{"key":"S1471068419000140_ref20","doi-asserted-by":"crossref","first-page":"1495","DOI":"10.1016\/j.artint.2008.04.002","article-title":"Combining answer set programming with description logics for the semantic web","volume":"12","author":"Eiter","year":"2008","journal-title":"Artif. Intell. 172"}],"container-title":["Theory and Practice of Logic Programming"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S1471068419000140","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2019,10,15]],"date-time":"2019-10-15T04:28:11Z","timestamp":1571113691000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S1471068419000140\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2019,9]]},"references-count":45,"journal-issue":{"issue":"5-6","published-print":{"date-parts":[[2019,9]]}},"alternative-id":["S1471068419000140"],"URL":"https:\/\/doi.org\/10.1017\/s1471068419000140","relation":{},"ISSN":["1471-0684","1475-3081"],"issn-type":[{"value":"1471-0684","type":"print"},{"value":"1475-3081","type":"electronic"}],"subject":[],"published":{"date-parts":[[2019,9]]}}}