Incremental Tabling in Support of Knowledge Representation and Reasoning

被引:5
作者
Swift, Terrance [1 ,2 ]
机构
[1] Coherent Knowledge Syst Inc, London, England
[2] Univ Nova Lisboa, NOVALincs, P-1200 Lisbon, Portugal
关键词
LOGIC PROGRAMS; ABSTRACT MACHINE; SYSTEM; PROLOG;
D O I
10.1017/S1471068414000209
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Resolution-based Knowledge Representation and Reasoning (KRR) systems, such as Flora-2, Silk or Ergo, can scale to tens or hundreds of millions of facts, while supporting reasoning that includes Hilog, inheritance, defeasibility theories, and equality theories. These systems handle the termination and complexity issues that arise from the use of these features by a heavy use of tabled resolution. In fact, such systems table by default all rules defined by users, unless they are simple facts. Performing dynamic updates within such systems is nearly impossible unless the tables themselves can be made to react to changes. Incremental tabling as first implemented in XSB (Saha 2006) partially addressed this problem, but the implementation was limited in scope and not always easy to use. In this paper, we introduce transparent incremental tabling which at the semantic level supports updates in the 3-valued well-founded semantics, while guaranteeing full consistency of all tabled queries. Transparent incremental tabling also has significant performance improvements over previous implementations, including lazy recomputation, and control over the dependency structures used to determine how tables are updated.
引用
收藏
页码:553 / 567
页数:15
相关论文
共 19 条
[1]   Tabled evaluation with delaying for general logic programs [J].
Chen, WD ;
Warren, DS .
JOURNAL OF THE ACM, 1996, 43 (01) :20-74
[2]   The YAP Prolog system [J].
Costa, Vitor Santos ;
Rocha, Ricardo ;
Damas, Luis .
THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2012, 12 :5-34
[3]  
Grosof B., 2013, C AM ASS ART INT
[4]   Incremental analysis of constraint logic programs [J].
Hermenegildo, M ;
Puebla, G ;
Marriott, K ;
Stuckey, PJ .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2000, 22 (02) :187-223
[5]   An overview of Ciao and its design philosophy [J].
Hermenegildo, M. V. ;
Bueno, F. ;
Carro, M. ;
Lopez-Garcia, P. ;
Mera, E. ;
Morales, J. F. ;
Puebla, G. .
THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2012, 12 :219-252
[6]  
International Standards Organization, 1995, JTC1SC22 ISO WORK GO
[7]   MAKING PROLOG MORE EXPRESSIVE. [J].
Lloyd, John W. ;
Topor, R.W. .
Journal of Logic Programming, 1984, 1 (03) :225-240
[8]   A three-valued semantics for logic programmers [J].
Naish, Lee .
THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2006, 6 :509-538
[9]   XcelLog: a deductive spreadsheet system [J].
Ramakrishnan, C. R. ;
Ramakrishnan, I. V. ;
Warren, David S. .
KNOWLEDGE ENGINEERING REVIEW, 2007, 22 (03) :269-279
[10]   Efficient access mechanisms for tabled logic programs [J].
Ramakrishnan, IV ;
Rao, P ;
Sagonas, K ;
Swift, T ;
Warren, DS .
JOURNAL OF LOGIC PROGRAMMING, 1999, 38 (01) :31-54