Aggregation and well-founded semantics

被引:0
|
作者
Osorio, M
Jayaraman, B
机构
[1] Univ Americas Puebla, Dept Ingn Sistemas Computac, Cholula 72820, Mexico
[2] SUNY Buffalo, Dept Comp Sci, Buffalo, NY 14260 USA
关键词
partial order clauses; aggregation; negation as failure; well-founded semantics; database query languages; declarative programming; deductive databases;
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Set-grouping and aggregation are powerful non-monotonic operations of practical interest in database query languages. We consider the problem of expressing aggregation via negation as failure (NF). We study this problem in the framework of partial-order clauses introduced in [JOM95]. We show a translation of partial-order programs to normal programs that is very natural: Any cost-monotonic partial-order program P becomes a stratified normal program transl(P) such that the declarative semantics of P is equivalent to the stratified semantics of transl(P). The ability to effect such a translation is significant because the resulting normal programs do not make any explicit use of the aggregation capability, yet they are concise and intuitive. The success of this translation is due to the fact that the translated program is a stratified normal program. That would not be the case for other more general classes of programs than cost-monotonic partial-order programs. We therefore investigate a second land more natural) translation that does not require the translated programs to be stratified, but requires the use of a suitable NF strategy. The class of normal programs originating from this translation is itself interesting. Every program in this class has a clear intended total model, although these programs are in general not stratified and not even call-consistent and do not have a stable model. The partial model given by the well-founded semantics is consistent with the intended total model and the extended well founded semantics WFS+ indeed defines the intended model. Since there is a well-defined and efficient operational semantics for partial-order programs [JOM95, JM95] we conclude that the gap between expression of a problem and computing its solution can be reduced with the right level of notation.
引用
收藏
页码:71 / 90
页数:20
相关论文
共 50 条
  • [1] A tutorial on the well-founded semantics
    Van Gelder, A
    [J]. PROGRAMMING AND COMPUTER SOFTWARE, 1998, 24 (01) : 32 - 42
  • [2] On Signings and the Well-Founded Semantics
    Maher, Michael J. J.
    [J]. THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2022, 22 (01) : 115 - 127
  • [3] A Well-Founded Semantics with disjunction
    Alcântara, J
    Damásio, CV
    Pereira, LM
    [J]. LOGIC PROGRAMMING, PROCEEDINGS, 2005, 3668 : 341 - 355
  • [4] A NONDETERMINISTIC WELL-FOUNDED SEMANTICS
    TORRES, A
    [J]. ANNALS OF MATHEMATICS AND ARTIFICIAL INTELLIGENCE, 1995, 14 (01) : 37 - 73
  • [5] Possibilistic Well-Founded Semantics
    Osorio, Mauricio
    Carlos Nieves, Juan
    [J]. MICAI 2009: ADVANCES IN ARTIFICIAL INTELLIGENCE, PROCEEDINGS, 2009, 5845 : 15 - +
  • [6] The well-founded semantics is a stratified fitting semantics
    Hitzler, P
    Wendt, M
    [J]. KI2002: ADVANCES IN ARTIFICIAL INTELLIGENCE, PROCEEDINGS, 2002, 2479 : 205 - 221
  • [7] Well-founded semantics for defeasible logic
    Frederick Maier
    Donald Nute
    [J]. Synthese, 2010, 176 : 243 - 274
  • [8] Hybrid rules with well-founded semantics
    Drabent, Wlodzimierz
    Maluszynski, Jan
    [J]. KNOWLEDGE AND INFORMATION SYSTEMS, 2010, 25 (01) : 137 - 168
  • [9] EQUIVALENCE OF WELL-FOUNDED AND STABLE SEMANTICS
    GIRE, F
    [J]. JOURNAL OF LOGIC PROGRAMMING, 1994, 21 (02): : 95 - 111
  • [10] Tabulated resolution for the well-founded semantics
    Bol, R
    Degerstedt, L
    [J]. JOURNAL OF LOGIC PROGRAMMING, 1998, 34 (02): : 67 - 109