SLGAD Resolution for Inference on Logic Programs with Annotated Disjunctions

被引:11
作者
Riguzzi, Fabrizio [1 ]
机构
[1] Univ Ferrara, ENDIF, I-44100 Ferrara, Italy
关键词
Probabilistic Logic Programming; Well-Founded Semantics; Logic Programs with Annotated Disjunctions; SLG Resolution; INDEPENDENT CHOICE LOGIC; WELL-FOUNDED SEMANTICS;
D O I
10.3233/FI-2010-313
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Logic Programs with Annotated Disjunctions (LPADs) allow to express probabilistic information in logic programming. The semantics of an LPAD is given in terms of the well-founded models of the normal logic programs obtained by selecting one disjunct from each ground LPAD clause. Inference on LPADs can be performed using either the system Ailog2, that was developed for the Independent Choice Logic, or SLDNFAD, an algorithm based on SLDNF. However, both of these algorithms run the risk of going into infinite loops and of performing redundant computations. In order to avoid these problems, we present SLGAD resolution that computes the (conditional) probability of a ground query from a range-restricted LPAD and is based on SLG resolution for normal logic programs. As SLG, it uses tabling to avoid some infinite loops and to avoid redundant computations. The performances of SLGAD are evaluated on classical benchmarks for normal logic programs under the well-founded semantics, namely a 2-person game and the ancestor relation, and on games of dice. SLGAD is compared with Ailog2 and SLDNFAD on the problems in which they do not go into infinite loops, namely those that are described by a modularly acyclic program. The results show that SLGAD is sometimes slower than Ailog2 and SLDNFAD but, if the program requires the repeated computations of the same goals, as for the dice games, then SLGAD is faster than both.
引用
收藏
页码:429 / 466
页数:38
相关论文
共 33 条
[1]  
[Anonymous], INT C LOG PROGR
[2]  
Apt K. R., 1991, New Generation Computing, V9, P335, DOI 10.1007/BF03037168
[3]  
Bratko I., 1990, PROLOG PROGRAMMING A, V2
[4]  
CASTRO LF, 2002, PRACTICAL ASPECTS DE, P2257
[5]  
CHEN W, 1993, PRINCIPLES DATABASE
[6]   Tabled evaluation with delaying for general logic programs [J].
Chen, WD ;
Warren, DS .
JOURNAL OF THE ACM, 1996, 43 (01) :20-74
[7]   EFFICIENT TOP-DOWN COMPUTATION OF QUERIES UNDER THE WELL-FOUNDED SEMANTICS [J].
CHEN, WD ;
SWIFT, T ;
WARREN, DS .
JOURNAL OF LOGIC PROGRAMMING, 1995, 24 (03) :161-199
[8]  
CLARK KL, 1977, LOGIC DATA BASES
[9]  
COSTA VS, 2003, UNCERTAINTY ARTIFICI
[10]  
DANTSIN E, 1991, RUSS C LOG PROGR, P592