Implementing deductive databases by mixed integer programming

被引:8
作者
Bell, C
Nerode, A
Ng, RT
Subrahmanian, VS
机构
[1] UNIV BRITISH COLUMBIA,DEPT COMP SCI,VANCOUVER,BC V6T 1Z2,CANADA
[2] CORNELL UNIV,INST MATH SCI,ITHACA,NY 14853
[3] UNIV MARYLAND,DEPT COMP SCI,COLLEGE PK,MD 20742
来源
ACM TRANSACTIONS ON DATABASE SYSTEMS | 1996年 / 21卷 / 02期
关键词
deductive databases; disjunctive databases; logic programs; minimal models; negation and disjunction in deductive databases;
D O I
10.1145/232616.232691
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Existing and past generations of Prolog compilers have left deduction to run-time and this may account for the poor run-time performance of existing Prolog systems. Our work tries to minimize run-time deduction by shifting the deductive process to compile-time. In addition, we offer an alternative inferencing procedure based on translating logic to mixed integer programming. This makes available for research and implementation in deductive databases, all the theorems, algorithms, and software packages developed by the operations research community over the past 50 years. The method keeps the same query language as for disjunctive deductive databases, only the inferencing procedure changes. The language is purely declarative, independent of the order of rules in the program, and independent of the order in which literals occur in clause bodies, The technique avoids Prolog's problem of infinite looping. It saves run-time by doing primary inferencing at compile-time. Furthermore, it is incremental in nature. The first half of this article translates disjunctive clauses, integrity constraints, and database facts into Boolean equations, and develops procedures to use mixed integer programming methods to compute least models of definite deductive databases, and minimal models and the Generalized Closed World Assumption of disjunctive deductive databases. These procedures are sound and complete. The second half of the article proposes a query processing system based on mixed integer programming compilation, and describes our (implemented) prototype compiler. Experimental results using this compiler are reported. These results suggest that our compilation-based mixed integer programming paradigm is a promising approach to practical implementation of query systems for definition and disjunctive databases.
引用
收藏
页码:238 / 269
页数:32
相关论文
共 52 条
[1]  
BANCILHON F, 1986, P ACM SIGMOD INT C M, P16
[2]   MIXED-INTEGER PROGRAMMING METHODS FOR COMPUTING NONMONOTONIC DEDUCTIVE DATABASES [J].
BELL, C ;
NERODE, A ;
NG, RT ;
SUBRAHMANIAN, VS .
JOURNAL OF THE ACM, 1994, 41 (06) :1178-1215
[3]  
BLAIR C, 1988, COMPUT OPER RES, V13, P633
[4]  
BLAKELEY JA, 1986, P ACM SIGMOD INT C M, P61
[5]   ON A THEORY OF COMPUTATION AND COMPLEXITY OVER THE REAL NUMBERS - NP-COMPLETENESS, RECURSIVE FUNCTIONS AND UNIVERSAL MACHINES [J].
BLUM, L ;
SHUB, M ;
SMALE, S .
BULLETIN OF THE AMERICAN MATHEMATICAL SOCIETY, 1989, 21 (01) :1-46
[6]  
BRY R, 1989, P 1 INT C DED OBJ OR, P25
[7]  
CADOLI M, 1990, PROCEEDINGS : EIGHTH NATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOLS 1 AND 2, P550
[8]  
Chandrasekaran R., 1984, Progress in Combinatorial Optimization, P101
[9]   EXTENDED HORN SETS IN PROPOSITIONAL LOGIC [J].
CHANDRU, V ;
HOOKER, JN .
JOURNAL OF THE ACM, 1991, 38 (01) :205-221
[10]  
CHARNIAK E, 1980, ARTIFICIAL INTELLIGE