FUNDAMENTAL PROPERTIES OF DETERMINISTIC AND NONDETERMINISTIC EXTENSIONS OF DATALOG

被引:10
作者
ABITEBOUL, S
SIMON, E
机构
[1] I.N.R.I.A., 78153 Le Chesnay
关键词
D O I
10.1016/0304-3975(51)90006-0
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Fundamental properties of deterministic and nondeterministic extensions of Datalog from Abiteboul and Vianu (1988) are studied. The extensions involve the use of negative literals both in bodies and heads of rules. Negative literals in heads are interpreted as deletions. A deterministic semantics is obtained by firing in parallel all applicable rules. The nondeterministic semantics results from firing (nondeterministically) one rule at a time. In the nondeterministic case, programs do not describe functions but relations between database states. In both cases, the result is an increase in expressive power over Datalog. The price for it is that programs do not always terminate. We study when a program (i) is such that on a given input, all its successful computations reach a unique fixpoint, (ii) yields at least one output on every input and (iii) has only loop-free computations. We also show how to stimulate programs containing loops by loop-free programs.
引用
收藏
页码:137 / 158
页数:22
相关论文
共 15 条
  • [1] ABITEBOUL S, 1988, P ACM SIGMOD INT C M, P143
  • [2] ABITEBOUL S, 1987, IN PRESS J COMPUT SY, P260
  • [3] ABITEBOUL S, 1989, 4TH IEEE S LOG COMP
  • [4] ABITEBOUL S, 1988, 7TH P ACM S PRINC DA, P240
  • [5] APT KR, 1987, IN PRESS HDB THEORET
  • [6] BANCILHON F, 1986, P ACM SIGMOD INT C M, P16
  • [7] BIDOIT N, 1986, P ACM SIGACT SIGMOD, P123
  • [8] COMPUTABLE QUERIES FOR RELATIONAL DATA-BASES
    CHANDRA, AK
    HAREL, D
    [J]. JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1980, 21 (02) : 156 - 178
  • [9] DEMAINDREVILLE C, 1988, P INT C VERY LARGE D
  • [10] GARDARIN G, 1988, TECHNIQUES SCI INFOR, V6, P5