Circumscribing DATALOG: Expressive power and complexity

被引:14
作者
Cadoli, M
Palopoli, L
机构
[1] Univ Roma La Sapienza, Dipartimento Informat & Sistemist, I-00198 Rome, Italy
[2] Univ Calabria, Dipartimento Elettron Informat & Sistemist, I-87036 Arcavacata Di Rende, CS, Italy
关键词
D O I
10.1016/S0304-3975(97)00108-4
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In this paper we study a generalization of DATALOG, the language of function-free definite clauses. It is known that standard DATALOG semantics (i.e., least Herbrand model semantics) can be obtained by regarding programs as theories to be circumscribed with all predicates to be minimized. The extension proposed here, called DATALOG(CIRC), consists in considering the general form of circumscription, where some predicates are minimized, some predicates are fixed, and some vary. We study the complexity and the expressive power of the language thus obtained. We show that this language (and, actually, its non-recursive fragment) is capable of expressing all the queries in DB-co-NP and, as such, is much more powerful than standard DATALOG, whose expressive power is limited to a strict subset of PTIME queries. Both data and combined complexities of answering DATALOG(CIRC) queries are studied. Data complexity is proved to be co-NP-complete. Combined complexity is shown to be in general hard for co-NE and complete for co-NE in the case of Herbrand bases containing k distinct constant symbols, where k is bounded.
引用
收藏
页码:215 / 244
页数:30
相关论文
共 41 条
[1]  
ABITEBOUL S, 1992, THEORETICAL STUDIES
[2]  
Abiteboul S., 1995, Foundations of databases, V1st
[3]  
Aho A., 1979, P ACM S PRINCIPLES P, P110
[4]  
[Anonymous], 1979, Computers and Intractablity: A Guide to the Theoryof NP-Completeness
[5]   Querying disjunctive databases through nonmonotonic logics [J].
Bonatti, PA ;
Eiter, T .
THEORETICAL COMPUTER SCIENCE, 1996, 160 (1-2) :321-363
[6]  
CADOLI M, 1994, MOR KAUF R, P99
[7]   THE COMPLEXITY OF MODEL CHECKING FOR CIRCUMSCRIPTIVE FORMULAS [J].
CADOLI, M .
INFORMATION PROCESSING LETTERS, 1992, 44 (03) :113-118
[8]   THE COMPLEXITY OF PROPOSITIONAL CLOSED WORLD REASONING AND CIRCUMSCRIPTION [J].
CADOLI, M ;
LENZERINI, M .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1994, 48 (02) :255-310
[9]   STRUCTURE AND COMPLEXITY OF RELATIONAL QUERIES [J].
CHANDRA, A ;
HAREL, D .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1982, 25 (01) :99-128
[10]  
Chandra A., 1985, J LOGIC PROGRAM, V1, P1