Finitely recursive programs: Decidability and bottom-up computation

被引:6
作者
Calimeri, Francesco [1 ]
Cozza, Susanna [2 ]
Ianni, Giovambattista [1 ]
Leone, Nicola [1 ]
机构
[1] Univ Calabria, Dipartimento Matemat, I-87036 Arcavacata Di Rende, Italy
[2] Univ Calabria, Dipartimento Elettron Informat & Sistemist, I-87036 Arcavacata Di Rende, Italy
关键词
Answer set programming; function symbols; magic sets; knowledge representation; DISJUNCTIVE LOGIC PROGRAMS; WELL-FOUNDED SEMANTICS; MAGIC SETS; ASP; TERMINATION; FDNC;
D O I
10.3233/AIC-2011-0509
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The support for function symbols in logic programming under answer set semantics allows us to overcome some modeling limitations of traditional Answer Set Programming (ASP) systems, such as the inability of handling infinite domains. On the other hand, admitting function symbols in ASP makes inference undecidable in the general case. Recently, the research community has been focusing on finding proper subclasses of programs with functions for which decidability of inference is guaranteed. The two major proposals, so far, are finitary programs and finitely-ground programs. These two proposals are somehow complementary: indeed, the former is conceived to allow decidable querying (by means of a top-down evaluation strategy), while the latter supports the computability of answer sets (by means of a bottom-up evaluation strategy). One of the main advantages of finitely-ground programs is that they can be "directly" evaluated by current ASP systems, which are based on a bottom-up computational model. However, there are also some interesting programs which are suitable for top-down query evaluation; but they do not fall in the class of finitely-ground programs. In this paper, we focus on disjunctive finitely recursive positive (DFRP) programs. We design a version of the magic sets technique for DFRP programs, which ensures query equivalence under both brave and cautious reasoning. We show that, if the input program is DFRP, then its magic-sets rewriting is guaranteed to be finitely ground. Reasoning on DFRP programs turns out to be decidable; and we provide also an effective method that allows one to simply perform this reasoning by using the ASP system DLV.
引用
收藏
页码:311 / 334
页数:24
相关论文
共 58 条
[1]  
Alviano M, 2011, J ARTIF INTELL RES, V42, P487
[2]   Disjunctive ASP with functions: Decidable queries and effective computation [J].
Alviano, Mario ;
Faber, Wolfgang ;
Leone, Nicola .
THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2010, 10 :497-512
[3]  
[Anonymous], 2003, DESCRIPTION LOGIC HD
[4]  
[Anonymous], 1985, P 5 ACM SIGACT SIGMO, DOI [DOI 10.1145/6012.15399, 10.1145/6012.15399]
[5]  
[Anonymous], 2012, OWL 2 Web Ontology Language: Document overview
[6]  
[Anonymous], 2004, Proceedings of KR
[7]  
[Anonymous], 2008, KR
[8]  
Baral C., 2003, Knowledge Representation, Reasoning and Declarative Problem Solving
[9]  
BASELICE S, 2011, THEOR PRACT LOG PROG, V10, P481
[10]   On finitely recursive programs [J].
Baselice, Sabrina ;
Bonatti, Piero A. ;
Criscuolo, Giovanni .
THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2009, 9 :213-238