FINITE REPRESENTATION OF INFINITE QUERY ANSWERS

被引:39
|
作者
CHOMICKI, J [1 ]
IMIELINSKI, T [1 ]
机构
[1] RUTGERS UNIV,DEPT COMP SCI,NEW BRUNSWICK,NJ 08903
来源
ACM TRANSACTIONS ON DATABASE SYSTEMS | 1993年 / 18卷 / 02期
关键词
COMPUTATIONAL COMPLEXITY; DATALOG; DECIDABILITY; LOGIC PROGRAMMING; NON-HERBRAND MODELS; NONSTANDARD QUERY ANSWERS; QUERY PROCESSING; SAFETY;
D O I
10.1145/151634.151635
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We define here a formal notion of finite representation of infinite query answers in logic programs. We apply this notion to Datalog(nS) (Datalog with n successors): an extension of Datalog capable of representing infinite phenomena like flow of time or plan construction. Predicates in Datalog(nS) can have arbitrary unary and limited n-ary function symbols in one fixed position. This class of logic programs is known to be decidable. However, least Herbrand models of Datalog(nS) programs may be infinite and consequently queries may have infinite answers. We present a method to finitely represent infinite least Herbrand models of Datalog(nS) programs as relational specifications. A relational specification consists of a finite set of facts and a finitely specified congruence relation. A relational specification has the following desirable properties: First, it is explicit in the sense that once it is computed, the original Datalog(nS) program (and its underlying computational engine) can be forgotten. Given a query to be evaluated, it is easy to obtain from the relational specification finitely many answer substitutions that represent infinitely many answer substitutions to the query. The method involved is a combination of a simple, unificationless, computational mechanism (graph traversal, congruence closure, or term rewriting) and standard relational query evaluation methods. Second, a relational specification is effectively computable and its computation is no harder, in the sense of the complexity class, than answering yes-no queries. Our method is applicable to every range-restricted Datalog(nS) program. We also show that for some very simple non-Datalog(nS) logic programs, finite representations of query answers do not exist.
引用
收藏
页码:181 / 223
页数:43
相关论文
共 50 条
  • [41] Consistent query answers in virtual data integration systems
    Bertossi, L
    Bravo, L
    INCONSISTENCY TOLERANCE, 2004, 3300 : 42 - 83
  • [42] Improving query-answers from domain knowledge
    Andreasen, T
    2001 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS, VOLS 1-5: E-SYSTEMS AND E-MAN FOR CYBERNETICS IN CYBERSPACE, 2002, : 3269 - 3274
  • [43] Infinite product representation of solutions of indefinite problem with a finite number of arbitrary turning points
    Marasi, Hamidreza
    Soltani, Abdolbaghi
    Akbarfam, Aliasghar Jodayree
    MATHEMATICAL COMMUNICATIONS, 2023, 28 (01) : 49 - 67
  • [45] Finite Element Formulation of Fractional Constitutive Laws Using the Reformulated Infinite State Representation
    Hinze, Matthias
    Schmidt, Andre
    Leine, Remco, I
    FRACTAL AND FRACTIONAL, 2021, 5 (03)
  • [46] Edge-Born Waves in Connected Arrays: A Finite x Infinite Analytical Representation
    Neto, Andrea
    Cavallo, Daniele
    Gerini, Giampiero
    IEEE TRANSACTIONS ON ANTENNAS AND PROPAGATION, 2011, 59 (10) : 3646 - 3657
  • [47] Answers to a query: Maxwell Perkins on Thomas Wolfe (Document)
    不详
    PARIS REVIEW, 2000, (155): : 192 - 197
  • [48] Aggregated Deletion Propagation for Counting Conjunctive Query Answers
    Hu, Xiao
    Sun, Shouzhuo
    Patwa, Shweta
    Panigrahi, Debmalya
    Roy, Sudeepa
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2020, 14 (02): : 228 - 240
  • [49] On the Need for Explicit Confidence Assessments of Flexible Query Answers
    De Tre, Guy
    De Mol, Robin
    Bronselaer, Antoon
    FLEXIBLE QUERY ANSWERING SYSTEMS, FQAS 2017, 2017, 10333 : 51 - 58
  • [50] Explanations for Negative Query Answers under Existential Rules
    Ceylan, Ismail Ilkan
    Lukasiewicz, Thomas
    Malizia, Enrico
    Molinaro, Cristian
    Vaicenavicius, Andrius
    KR2020: PROCEEDINGS OF THE 17TH INTERNATIONAL CONFERENCE ON PRINCIPLES OF KNOWLEDGE REPRESENTATION AND REASONING, 2020, : 223 - 232