{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,17]],"date-time":"2026-08-17T20:46:47Z","timestamp":1786999607858,"version":"build-2736575974"},"reference-count":62,"publisher":"Cambridge University Press (CUP)","issue":"4","license":[{"start":{"date-parts":[[2015,8,13]],"date-time":"2015-08-13T00:00:00Z","timestamp":1439424000000},"content-version":"unspecified","delay-in-days":0,"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":[[2016,7]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>\n                    As software systems are getting increasingly connected, there is a need for equipping nonmonotonic logic programs with access to external sources that are possibly remote and may contain information in heterogeneous formats. To cater for this need,\n                    <jats:sc>hex<\/jats:sc>\n                    programs were designed as a generalization of answer set programs with an API style interface that allows to access arbitrary external sources, providing great flexibility. Efficient evaluation of such programs however is challenging, and it requires to interleave external computation and model building; to decide when to switch between these tasks is difficult, and existing approaches have limited scalability in many real-world application scenarios. We present a new approach for the evaluation of logic programs with external source access, which is based on a configurable framework for dividing the non-ground program into possibly overlapping smaller parts called evaluation units. The latter will be processed by interleaving external evaluation and model building using an evaluation graph and a model graph, respectively, and by combining intermediate results. Experiments with our prototype implementation show a significant improvement compared to previous approaches. While designed for\n                    <jats:sc>hex<\/jats:sc>\n                    -programs, the new evaluation approach may be deployed to related rule-based formalisms as well.\n                  <\/jats:p>","DOI":"10.1017\/s1471068415000113","type":"journal-article","created":{"date-parts":[[2015,8,13]],"date-time":"2015-08-13T02:57:36Z","timestamp":1439434656000},"page":"418-464","source":"Crossref","is-referenced-by-count":20,"title":["A model building framework for answer set programming with external computations"],"prefix":"10.1017","volume":"16","author":[{"given":"THOMAS","family":"EITER","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"MICHAEL","family":"FINK","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"GIOVAMBATTISTA","family":"IANNI","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"THOMAS","family":"KRENNWALLNER","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"CHRISTOPH","family":"REDL","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"PETER","family":"SCH\u00dcLLER","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"56","published-online":{"date-parts":[[2015,8,13]]},"reference":[{"key":"S1471068415000113_ref23","first-page":"90","volume-title":"International Joint Conference on Artificial Intelligence (IJCAI)","author":"Eiter","year":"2005"},{"key":"S1471068415000113_ref18","volume-title":"27th AAAI Conference (AAAI 2013), July 14\u201318, 2013, Bellevue, Washington, USA","author":"Eiter","year":"2013"},{"key":"S1471068415000113_ref26","unstructured":"Gebser M. , Kaminski R. , Kaufmann B. and Schaub T. 2014. Clingo = ASP + control: Preliminary report. Accessed 24 June 2015. URL: CoRR abs\/1405.3694."},{"key":"S1471068415000113_ref43","unstructured":"Mosca A. and Bernini D. 2008. Ontology-driven geographic information system and dlvhex reasoning for material culture analysis. In Italian Workshop RiCeRcA at ICLP."},{"key":"S1471068415000113_ref53","doi-asserted-by":"publisher","DOI":"10.1145\/195613.195646"},{"key":"S1471068415000113_ref31","doi-asserted-by":"publisher","DOI":"10.1007\/BF03037169"},{"key":"S1471068415000113_ref17","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068412000233"},{"key":"S1471068415000113_ref6","doi-asserted-by":"crossref","unstructured":"B\u00f6gl M. , Eiter T. , Fink M. and Sch\u00fcller P. 2010. The MCS-IE system for explaining inconsistency in multi-context systems. In European Conference on Logics in Artificial Intelligence (JELIA). 356\u2013359.","DOI":"10.1007\/978-3-642-15675-5_31"},{"key":"S1471068415000113_ref29","first-page":"235","volume-title":"International Conference on Logic Programming (ICLP)","author":"Gebser","year":"2009"},{"key":"S1471068415000113_ref58","doi-asserted-by":"crossref","unstructured":"Tasharrofi S. and Ternovska E. 2011. A semantic account for modularity in multi-language modelling of search problems. In International Symposium on Frontiers of Combining Systems (FroCoS). 259\u2013274.","DOI":"10.1007\/978-3-642-24364-6_18"},{"key":"S1471068415000113_ref22","doi-asserted-by":"publisher","DOI":"10.1016\/j.artint.2008.04.002"},{"key":"S1471068415000113_ref28","doi-asserted-by":"publisher","DOI":"10.1016\/j.artint.2012.04.001"},{"key":"S1471068415000113_ref24","first-page":"273","volume-title":"European Semantic Web Conference (ESWC)","author":"Eiter","year":"2006"},{"key":"S1471068415000113_ref10","first-page":"407","volume-title":"ICLP","author":"Calimeri","year":"2008"},{"key":"S1471068415000113_ref34","doi-asserted-by":"crossref","first-page":"813","DOI":"10.1613\/jair.2810","article-title":"Modularity aspects of disjunctive stable models","volume":"35","author":"Janhunen","year":"2009","journal-title":"Journal of Artificial Intelligence Research"},{"key":"S1471068415000113_ref4","unstructured":"Balduccini M. and Lierler Y. 2013. Hybrid automated reasoning tools: From black-box to clear-box integration. In Answer Set Programming and Other Computing Paradigms (ASPOCP). 17\u201331."},{"key":"S1471068415000113_ref35","doi-asserted-by":"crossref","unstructured":"J\u00e4rvisalo M. , Oikarinen E. , Janhunen T. and Niemel\u00e4 I. 2009. A module-based framework for multi-language constraint modeling. In Logic Programming and Nonmonotonic Reasoning (LPNMR). 155\u2013168.","DOI":"10.1007\/978-3-642-04238-6_15"},{"key":"S1471068415000113_ref59","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2011.10.026"},{"key":"S1471068415000113_ref48","first-page":"73","volume-title":"Declarative Aspects of Multicore Programming (DAMP'10)","author":"Perri","year":"2010"},{"key":"S1471068415000113_ref27","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-01929-6_7"},{"key":"S1471068415000113_ref21","doi-asserted-by":"publisher","DOI":"10.1145\/261124.261126"},{"key":"S1471068415000113_ref12","doi-asserted-by":"publisher","DOI":"10.1145\/876638.876643"},{"key":"S1471068415000113_ref25","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-30227-8_19"},{"key":"S1471068415000113_ref1","doi-asserted-by":"publisher","DOI":"10.1016\/j.artint.2004.11.004"},{"key":"S1471068415000113_ref40","unstructured":"Linke T. 2001. Graph theoretical characterization and computation of answer sets. In International Joint Conference on Artificial Intelligence (IJCAI). 641\u2013645."},{"key":"#cr-split#-S1471068415000113_ref36.1","unstructured":"8. Lassila O. and Swick R. 1999. Resource description framework"},{"key":"#cr-split#-S1471068415000113_ref36.2","unstructured":"9. (RDF) model and syntax specification. Accessed 24 June 2015. URL: http:\/\/www.w3.org\/TR\/1999\/REC-rdf-syntax-19990222."},{"key":"S1471068415000113_ref14","doi-asserted-by":"publisher","DOI":"10.1016\/0004-3702(94)00041-X"},{"key":"S1471068415000113_ref7","first-page":"385","volume-title":"AAAI Conference on Artificial Intelligence","author":"Brewka","year":"2007"},{"key":"S1471068415000113_ref38","unstructured":"Lierler Y. and Truszczynski M. 2013. Modular answer set solving. In Late-Breaking Developments in the Field of Artificial Intelligence, Bellevue, Washington, USA, July 14\u201318, 2013. AAAI Workshops, vol. WS-13-17. AAAI."},{"key":"S1471068415000113_ref11","unstructured":"Calimeri F. , Fink M. , Germano S. , Ianni G. , Redl C. and Wimmer A. 2013. AngryHEX: An artificial player for angry birds based on declarative knowledge bases. In National Workshop and Prize on Popularize Artificial Intelligence. 29\u201335."},{"key":"S1471068415000113_ref46","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068412000142"},{"key":"S1471068415000113_ref56","unstructured":"Sch\u00fcller P. , Patoglu V. and Erdem E. 2013. A systematic analysis of levels of integration between low-level reasoning and task planning. In Workshop on Combining Task and Motion Planning at IEEE International Conference on Robotics and Automation (ICRA)."},{"key":"S1471068415000113_ref42","doi-asserted-by":"publisher","DOI":"10.1007\/s10472-009-9116-y"},{"key":"S1471068415000113_ref13","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-02906-6_52"},{"key":"S1471068415000113_ref41","first-page":"154","volume-title":"LPAR","author":"Linke","year":"2004"},{"key":"S1471068415000113_ref49","doi-asserted-by":"crossref","first-page":"787","DOI":"10.1145\/1242572.1242679","volume-title":"International Conference on World Wide Web (WWW)","author":"Polleres","year":"2007"},{"key":"S1471068415000113_ref33","doi-asserted-by":"publisher","DOI":"10.1186\/1471-2105-8-377"},{"key":"S1471068415000113_ref54","unstructured":"Schindlauer R. 2006. Answer set programming for the semantic web. Ph.D. thesis, Vienna University of Technology, Vienna, Austria."},{"key":"S1471068415000113_ref19","unstructured":"Eiter T. , Fink M. , Krennwallner T. and Redl C. 2014a. Domain expansion for ASP-programs with external sources. Tech. Rep. INFSYS RR-1843-14-02, Institut f\u00fcr Informationssysteme, Technische Universit\u00e4t Wien, A-1040 Vienna, Austria."},{"key":"S1471068415000113_ref15","doi-asserted-by":"crossref","unstructured":"Eiter T. , Fink M. , Ianni G. , Krennwallner T. and Sch\u00fcller P. 2011. Pushing efficient evaluation of HEX programs by modular decomposition. In International Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR). 93\u2013106.","DOI":"10.1007\/978-3-642-20895-9_10"},{"key":"S1471068415000113_ref5","unstructured":"Basol S. , Erdem O. , Fink M. and Ianni G. 2010. HEX programs with action atoms. In Technical Communications of the International Conference on Logic Programming (ICLP). 24\u201333."},{"key":"S1471068415000113_ref2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-15675-5_30"},{"key":"S1471068415000113_ref32","doi-asserted-by":"crossref","unstructured":"Havur G. , Ozbilgin G. , Erdem E. and Patoglu V. 2014. Geometric rearrangement of multiple movable objects on cluttered surfaces: A hybrid reasoning approach. In International Conference on Robotics and Automation (ICRA). 445\u2013452.","DOI":"10.1109\/ICRA.2014.6906894"},{"key":"S1471068415000113_ref37","doi-asserted-by":"publisher","DOI":"10.1016\/j.artint.2013.10.004"},{"key":"S1471068415000113_ref45","first-page":"717","article-title":"Achieving compositionality of the stable model semantics for smodels programs","volume":"8","author":"Oikarinen","year":"2008","journal-title":"TPLP"},{"key":"S1471068415000113_ref47","doi-asserted-by":"crossref","first-page":"297","DOI":"10.3233\/FI-2009-180","article-title":"Gasp: Answer set programming with lazy grounding","volume":"96","author":"Pal\u00f9","year":"2009","journal-title":"Fundamenta Informaticae"},{"key":"S1471068415000113_ref50","doi-asserted-by":"publisher","DOI":"10.1016\/B978-0-934613-40-8.50009-9"},{"key":"S1471068415000113_ref52","unstructured":"Redl C. 2014. Answer set programming with external sources: Algorithms and efficient evaluation. Ph.D. thesis, Vienna University of Technology."},{"key":"S1471068415000113_ref51","doi-asserted-by":"publisher","DOI":"10.1007\/BF03037171"},{"key":"S1471068415000113_ref57","doi-asserted-by":"publisher","DOI":"10.1016\/j.artint.2014.05.001"},{"key":"S1471068415000113_ref61","doi-asserted-by":"crossref","unstructured":"Zirtiloglu H. and Yolum P. 2008. Ranking semantic information for e-government: complaints management. In International Workshop on Ontology-supported business intelligence (OBI). ACM.","DOI":"10.1145\/1452567.1452572"},{"key":"S1471068415000113_ref20","doi-asserted-by":"crossref","first-page":"269","DOI":"10.1613\/jair.4175","article-title":"Efficient HEX-program evaluation based on unfounded sets","volume":"49","author":"Eiter","year":"2014","journal-title":"Journal of Artificial Intelligence Research"},{"key":"S1471068415000113_ref9","doi-asserted-by":"publisher","DOI":"10.1007\/s10472-007-9076-z"},{"key":"S1471068415000113_ref39","first-page":"23","volume-title":"Proceedings ICLP-94","author":"Lifschitz","year":"1994"},{"key":"S1471068415000113_ref3","unstructured":"Balduccini M. 2009. Representing constraint satisfaction problems in answer set programming. In Workshop on Answer Set Programming and Other Computing Paradigms (ASPOCP)."},{"key":"S1471068415000113_ref8","doi-asserted-by":"publisher","DOI":"10.1145\/2043174.2043195"},{"key":"S1471068415000113_ref16","first-page":"752","volume-title":"International Joint Conference on Artificial Intelligence (IJCAI)","author":"Eiter","year":"2009"},{"key":"S1471068415000113_ref60","doi-asserted-by":"crossref","unstructured":"Zakraoui J. and Zagler W. L. 2012. A method for generating CSS to improve web accessibility for old users. In Int. Conf. on Computers Helping People with Special Needs (ICCHP). 329\u2013336.","DOI":"10.1007\/978-3-642-31522-0_50"},{"key":"S1471068415000113_ref30","first-page":"1070","volume-title":"Logic Programming: Proceedings of the 5th International Conference and Symposium","author":"Gelfond","year":"1988"},{"key":"S1471068415000113_ref55","unstructured":"Sch\u00fcller P. 2012. Inconsistency in multi-context systems: Analysis and efficient evaluation. Ph.D. thesis, Vienna University of Technology, Vienna, Austria."},{"key":"S1471068415000113_ref44","doi-asserted-by":"publisher","DOI":"10.1023\/A:1018930122475"}],"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\/S1471068415000113","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2020,9,7]],"date-time":"2020-09-07T00:37:48Z","timestamp":1599439068000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S1471068415000113\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2015,8,13]]},"references-count":62,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2016,7]]}},"alternative-id":["S1471068415000113"],"URL":"https:\/\/doi.org\/10.1017\/s1471068415000113","relation":{},"ISSN":["1471-0684","1475-3081"],"issn-type":[{"value":"1471-0684","type":"print"},{"value":"1475-3081","type":"electronic"}],"subject":[],"published":{"date-parts":[[2015,8,13]]}}}