Partial Compilation of ASP Programs

Answer Set Programming (ASP) is a well-known declarative formalism in logic programming. Efficient implementations made it possible to apply ASP in many scenarios, ranging from deductive databases applications to the solution of hard combinatorial problems. State-of-the-art ASP systems are based on...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:Theory and practice of logic programming 2019-09, Vol.19 (5-6), p.857-873
Hauptverfasser: CUTERI, BERNARDO, DODARO, CARMINE, RICCA, FRANCESCO, SCHÜLLER, PETER
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page 873
container_issue 5-6
container_start_page 857
container_title Theory and practice of logic programming
container_volume 19
creator CUTERI, BERNARDO
DODARO, CARMINE
RICCA, FRANCESCO
SCHÜLLER, PETER
description Answer Set Programming (ASP) is a well-known declarative formalism in logic programming. Efficient implementations made it possible to apply ASP in many scenarios, ranging from deductive databases applications to the solution of hard combinatorial problems. State-of-the-art ASP systems are based on the traditional ground&solve approach and are general-purpose implementations, i.e., they are essentially built once for any kind of input program. In this paper, we propose an extended architecture for ASP systems, in which parts of the input program are compiled into an ad-hoc evaluation algorithm (i.e., we obtain a specific binary for a given program), and might not be subject to the grounding step. To this end, we identify a condition that allows the compilation of a sub-program, and present the related partial compilation technique. Importantly, we have implemented the new approach on top of a well-known ASP solver and conducted an experimental analysis on publicly-available benchmarks. Results show that our compilation-based approach improves on the state of the art in various scenarios, including cases in which the input program is stratified or the grounding blow-up makes the evaluation unpractical with traditional ASP systems.
doi_str_mv 10.1017/S1471068419000231
format Article
fullrecord <record><control><sourceid>proquest_cross</sourceid><recordid>TN_cdi_proquest_journals_2300620840</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><cupid>10_1017_S1471068419000231</cupid><sourcerecordid>2300620840</sourcerecordid><originalsourceid>FETCH-LOGICAL-c317t-17b295cdbfe8c2dd43c446a7c750d8c482a2164a02440192ed8bbf1259f686873</originalsourceid><addsrcrecordid>eNp1kFFLwzAUhYMoOKc_wLfCnqv3JmmSPo6iThhYmD6XNGlGR7vUpHvw39u5gQ_i073ce75z4BByj_CAgPJxg1wiCMUxBwDK8ILMplOWMlB4-bNjevxfk5sYdwAoGOUzsih1GFvdJYXvh7bTY-v3iXfJclMmZfDboPt4S66c7mJzd55z8vH89F6s0vXby2uxXKeGoRxTlDXNM2Nr1yhDreXMcC60NDIDqwxXVFMUXAPlHDCnjVV17ZBmuRNKKMnmZHHyHYL_PDRxrHb-EPZTZEUZgKCgOEwqPKlM8DGGxlVDaHsdviqE6thF9aeLiWFnRvd1aO22-bX-n_oGA7ZdVw</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>2300620840</pqid></control><display><type>article</type><title>Partial Compilation of ASP Programs</title><source>Cambridge University Press Journals Complete</source><creator>CUTERI, BERNARDO ; DODARO, CARMINE ; RICCA, FRANCESCO ; SCHÜLLER, PETER</creator><creatorcontrib>CUTERI, BERNARDO ; DODARO, CARMINE ; RICCA, FRANCESCO ; SCHÜLLER, PETER</creatorcontrib><description>Answer Set Programming (ASP) is a well-known declarative formalism in logic programming. Efficient implementations made it possible to apply ASP in many scenarios, ranging from deductive databases applications to the solution of hard combinatorial problems. State-of-the-art ASP systems are based on the traditional ground&amp;solve approach and are general-purpose implementations, i.e., they are essentially built once for any kind of input program. In this paper, we propose an extended architecture for ASP systems, in which parts of the input program are compiled into an ad-hoc evaluation algorithm (i.e., we obtain a specific binary for a given program), and might not be subject to the grounding step. To this end, we identify a condition that allows the compilation of a sub-program, and present the related partial compilation technique. Importantly, we have implemented the new approach on top of a well-known ASP solver and conducted an experimental analysis on publicly-available benchmarks. Results show that our compilation-based approach improves on the state of the art in various scenarios, including cases in which the input program is stratified or the grounding blow-up makes the evaluation unpractical with traditional ASP systems.</description><identifier>ISSN: 1471-0684</identifier><identifier>EISSN: 1475-3081</identifier><identifier>DOI: 10.1017/S1471068419000231</identifier><language>eng</language><publisher>Cambridge, UK: Cambridge University Press</publisher><subject>35th International Conference on Logic Programming ; Algorithms ; Combinatorial analysis ; Declarative programming ; Logic programming ; Mathematical programming ; Original Article</subject><ispartof>Theory and practice of logic programming, 2019-09, Vol.19 (5-6), p.857-873</ispartof><rights>Cambridge University Press 2019</rights><lds50>peer_reviewed</lds50><woscitedreferencessubscribed>false</woscitedreferencessubscribed><citedby>FETCH-LOGICAL-c317t-17b295cdbfe8c2dd43c446a7c750d8c482a2164a02440192ed8bbf1259f686873</citedby><cites>FETCH-LOGICAL-c317t-17b295cdbfe8c2dd43c446a7c750d8c482a2164a02440192ed8bbf1259f686873</cites><orcidid>0000-0001-5164-9123 ; 0000-0002-1837-126X ; 0000-0002-5617-5286 ; 0000-0001-8218-3178</orcidid></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktohtml>$$Uhttps://www.cambridge.org/core/product/identifier/S1471068419000231/type/journal_article$$EHTML$$P50$$Gcambridge$$H</linktohtml><link.rule.ids>164,314,780,784,27924,27925,55628</link.rule.ids></links><search><creatorcontrib>CUTERI, BERNARDO</creatorcontrib><creatorcontrib>DODARO, CARMINE</creatorcontrib><creatorcontrib>RICCA, FRANCESCO</creatorcontrib><creatorcontrib>SCHÜLLER, PETER</creatorcontrib><title>Partial Compilation of ASP Programs</title><title>Theory and practice of logic programming</title><addtitle>Theory and Practice of Logic Programming</addtitle><description>Answer Set Programming (ASP) is a well-known declarative formalism in logic programming. Efficient implementations made it possible to apply ASP in many scenarios, ranging from deductive databases applications to the solution of hard combinatorial problems. State-of-the-art ASP systems are based on the traditional ground&amp;solve approach and are general-purpose implementations, i.e., they are essentially built once for any kind of input program. In this paper, we propose an extended architecture for ASP systems, in which parts of the input program are compiled into an ad-hoc evaluation algorithm (i.e., we obtain a specific binary for a given program), and might not be subject to the grounding step. To this end, we identify a condition that allows the compilation of a sub-program, and present the related partial compilation technique. Importantly, we have implemented the new approach on top of a well-known ASP solver and conducted an experimental analysis on publicly-available benchmarks. Results show that our compilation-based approach improves on the state of the art in various scenarios, including cases in which the input program is stratified or the grounding blow-up makes the evaluation unpractical with traditional ASP systems.</description><subject>35th International Conference on Logic Programming</subject><subject>Algorithms</subject><subject>Combinatorial analysis</subject><subject>Declarative programming</subject><subject>Logic programming</subject><subject>Mathematical programming</subject><subject>Original Article</subject><issn>1471-0684</issn><issn>1475-3081</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2019</creationdate><recordtype>article</recordtype><sourceid>ABUWG</sourceid><sourceid>AFKRA</sourceid><sourceid>AZQEC</sourceid><sourceid>BENPR</sourceid><sourceid>CCPQU</sourceid><sourceid>DWQXO</sourceid><sourceid>GNUQQ</sourceid><recordid>eNp1kFFLwzAUhYMoOKc_wLfCnqv3JmmSPo6iThhYmD6XNGlGR7vUpHvw39u5gQ_i073ce75z4BByj_CAgPJxg1wiCMUxBwDK8ILMplOWMlB4-bNjevxfk5sYdwAoGOUzsih1GFvdJYXvh7bTY-v3iXfJclMmZfDboPt4S66c7mJzd55z8vH89F6s0vXby2uxXKeGoRxTlDXNM2Nr1yhDreXMcC60NDIDqwxXVFMUXAPlHDCnjVV17ZBmuRNKKMnmZHHyHYL_PDRxrHb-EPZTZEUZgKCgOEwqPKlM8DGGxlVDaHsdviqE6thF9aeLiWFnRvd1aO22-bX-n_oGA7ZdVw</recordid><startdate>201909</startdate><enddate>201909</enddate><creator>CUTERI, BERNARDO</creator><creator>DODARO, CARMINE</creator><creator>RICCA, FRANCESCO</creator><creator>SCHÜLLER, PETER</creator><general>Cambridge University Press</general><scope>AAYXX</scope><scope>CITATION</scope><scope>3V.</scope><scope>7SC</scope><scope>7XB</scope><scope>8AL</scope><scope>8FD</scope><scope>8FE</scope><scope>8FG</scope><scope>8FK</scope><scope>ABUWG</scope><scope>AFKRA</scope><scope>ARAPS</scope><scope>AZQEC</scope><scope>BENPR</scope><scope>BGLVJ</scope><scope>CCPQU</scope><scope>DWQXO</scope><scope>GNUQQ</scope><scope>HCIFZ</scope><scope>JQ2</scope><scope>K7-</scope><scope>L7M</scope><scope>L~C</scope><scope>L~D</scope><scope>M0N</scope><scope>P5Z</scope><scope>P62</scope><scope>PQEST</scope><scope>PQQKQ</scope><scope>PQUKI</scope><scope>PRINS</scope><scope>Q9U</scope><orcidid>https://orcid.org/0000-0001-5164-9123</orcidid><orcidid>https://orcid.org/0000-0002-1837-126X</orcidid><orcidid>https://orcid.org/0000-0002-5617-5286</orcidid><orcidid>https://orcid.org/0000-0001-8218-3178</orcidid></search><sort><creationdate>201909</creationdate><title>Partial Compilation of ASP Programs</title><author>CUTERI, BERNARDO ; DODARO, CARMINE ; RICCA, FRANCESCO ; SCHÜLLER, PETER</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-c317t-17b295cdbfe8c2dd43c446a7c750d8c482a2164a02440192ed8bbf1259f686873</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2019</creationdate><topic>35th International Conference on Logic Programming</topic><topic>Algorithms</topic><topic>Combinatorial analysis</topic><topic>Declarative programming</topic><topic>Logic programming</topic><topic>Mathematical programming</topic><topic>Original Article</topic><toplevel>peer_reviewed</toplevel><toplevel>online_resources</toplevel><creatorcontrib>CUTERI, BERNARDO</creatorcontrib><creatorcontrib>DODARO, CARMINE</creatorcontrib><creatorcontrib>RICCA, FRANCESCO</creatorcontrib><creatorcontrib>SCHÜLLER, PETER</creatorcontrib><collection>CrossRef</collection><collection>ProQuest Central (Corporate)</collection><collection>Computer and Information Systems Abstracts</collection><collection>ProQuest Central (purchase pre-March 2016)</collection><collection>Computing Database (Alumni Edition)</collection><collection>Technology Research Database</collection><collection>ProQuest SciTech Collection</collection><collection>ProQuest Technology Collection</collection><collection>ProQuest Central (Alumni) (purchase pre-March 2016)</collection><collection>ProQuest Central (Alumni Edition)</collection><collection>ProQuest Central UK/Ireland</collection><collection>Advanced Technologies &amp; Aerospace Collection</collection><collection>ProQuest Central Essentials</collection><collection>ProQuest Central</collection><collection>Technology Collection</collection><collection>ProQuest One Community College</collection><collection>ProQuest Central Korea</collection><collection>ProQuest Central Student</collection><collection>SciTech Premium Collection</collection><collection>ProQuest Computer Science Collection</collection><collection>Computer Science Database</collection><collection>Advanced Technologies Database with Aerospace</collection><collection>Computer and Information Systems Abstracts – Academic</collection><collection>Computer and Information Systems Abstracts Professional</collection><collection>Computing Database</collection><collection>Advanced Technologies &amp; Aerospace Database</collection><collection>ProQuest Advanced Technologies &amp; Aerospace Collection</collection><collection>ProQuest One Academic Eastern Edition (DO NOT USE)</collection><collection>ProQuest One Academic</collection><collection>ProQuest One Academic UKI Edition</collection><collection>ProQuest Central China</collection><collection>ProQuest Central Basic</collection><jtitle>Theory and practice of logic programming</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>CUTERI, BERNARDO</au><au>DODARO, CARMINE</au><au>RICCA, FRANCESCO</au><au>SCHÜLLER, PETER</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Partial Compilation of ASP Programs</atitle><jtitle>Theory and practice of logic programming</jtitle><addtitle>Theory and Practice of Logic Programming</addtitle><date>2019-09</date><risdate>2019</risdate><volume>19</volume><issue>5-6</issue><spage>857</spage><epage>873</epage><pages>857-873</pages><issn>1471-0684</issn><eissn>1475-3081</eissn><abstract>Answer Set Programming (ASP) is a well-known declarative formalism in logic programming. Efficient implementations made it possible to apply ASP in many scenarios, ranging from deductive databases applications to the solution of hard combinatorial problems. State-of-the-art ASP systems are based on the traditional ground&amp;solve approach and are general-purpose implementations, i.e., they are essentially built once for any kind of input program. In this paper, we propose an extended architecture for ASP systems, in which parts of the input program are compiled into an ad-hoc evaluation algorithm (i.e., we obtain a specific binary for a given program), and might not be subject to the grounding step. To this end, we identify a condition that allows the compilation of a sub-program, and present the related partial compilation technique. Importantly, we have implemented the new approach on top of a well-known ASP solver and conducted an experimental analysis on publicly-available benchmarks. Results show that our compilation-based approach improves on the state of the art in various scenarios, including cases in which the input program is stratified or the grounding blow-up makes the evaluation unpractical with traditional ASP systems.</abstract><cop>Cambridge, UK</cop><pub>Cambridge University Press</pub><doi>10.1017/S1471068419000231</doi><tpages>17</tpages><orcidid>https://orcid.org/0000-0001-5164-9123</orcidid><orcidid>https://orcid.org/0000-0002-1837-126X</orcidid><orcidid>https://orcid.org/0000-0002-5617-5286</orcidid><orcidid>https://orcid.org/0000-0001-8218-3178</orcidid></addata></record>
fulltext fulltext
identifier ISSN: 1471-0684
ispartof Theory and practice of logic programming, 2019-09, Vol.19 (5-6), p.857-873
issn 1471-0684
1475-3081
language eng
recordid cdi_proquest_journals_2300620840
source Cambridge University Press Journals Complete
subjects 35th International Conference on Logic Programming
Algorithms
Combinatorial analysis
Declarative programming
Logic programming
Mathematical programming
Original Article
title Partial Compilation of ASP Programs
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2024-12-19T20%3A53%3A44IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_cross&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Partial%20Compilation%20of%20ASP%20Programs&rft.jtitle=Theory%20and%20practice%20of%20logic%20programming&rft.au=CUTERI,%20BERNARDO&rft.date=2019-09&rft.volume=19&rft.issue=5-6&rft.spage=857&rft.epage=873&rft.pages=857-873&rft.issn=1471-0684&rft.eissn=1475-3081&rft_id=info:doi/10.1017/S1471068419000231&rft_dat=%3Cproquest_cross%3E2300620840%3C/proquest_cross%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_pqid=2300620840&rft_id=info:pmid/&rft_cupid=10_1017_S1471068419000231&rfr_iscdi=true