Monadic Datalog, Tree Validity, and Limited Access Containment

被引:2
|
作者
Benedikt, Michael [1 ]
Bourhis, Pierre [2 ,3 ]
Gottlob, Georg [1 ]
Senellart, Pierre [3 ,4 ,5 ,6 ]
机构
[1] Univ Oxford, Parks Rd, Oxford OX1 3QD, England
[2] Univ Lille, CRIStAL, CNRS, Parc Sci Haute Borne 40,Ave Halley Bat B,Pk Plaza, F-59650 Villeneuve Dascq, France
[3] INRIA, Parc Sci Haute Borne 40,Ave Halley Bat B,Pk Plaza, F-59650 Villeneuve Dascq, France
[4] PSL Univ, CNRS, DI ENS, ENS, Paris, France
[5] IP Paris, Telecom Paris, LTCI, Palaiseau, France
[6] Ecole Normale Super, Dept Informat, B14,Rataud Wing,Ground Floor,45 Rue Ulm, F-75230 Paris 05, France
基金
英国工程与自然科学研究理事会;
关键词
Access patterns; binding patterns; deep Web; monadic datalog; query containment; EQUIVALENCE; QUERIES;
D O I
10.1145/3344514
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We reconsider the problem of containment of monadic datalog (MDL) queries in unions of conjunctive queries (UCQs). Prior work has dealt with special cases of the problem but has left the precise complexity characterization open. In addition, the complexity of one important special case, that of containment under access patterns, was not known before. We start by revisiting the connection between MDL/UCQ containment and containment problems involving regular tree languages. We then present a general approach for getting tighter bounds on the complexity of query containment, based on analysis of the number of mappings of queries into tree-like instances. We give two applications of the machinery. We first give an important special case of the MDL/UCQ containment problem that is in EXPTIME, and we use this bound to show an EXPTIME bound on containment under access patterns. Second, we show that the same technique can be used to get a new tight upper bound for containment of tree automata in UCQs. We finally show that the new MDL/UCQ upper bounds are tight. We establish a 2EXPTIME lower bound on the MDL/UCQ containment problem, resolving an open problem from the early 1990s. This bound holds for the MDL/CQ containment problem as well. We also show that changes to the conditions given in our special cases can not be eliminated, and that in particular slight variations of the problem of containment under access patterns become 2EXPTIME-complete.
引用
下载
收藏
页数:45
相关论文
共 50 条
  • [41] The (Almost) Complete Guide to Tree Pattern Containment
    Czerwinski, Wojciech
    Martens, Wim
    Parys, Pawel
    Przybylko, Marcin
    PODS'15: PROCEEDINGS OF THE 33RD ACM SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS, 2015, : 117 - 130
  • [42] Recent results on containment graphs of paths in a tree
    Alcon, Liliana
    Gudino, Noemi
    Gutierrez, Marisa
    DISCRETE APPLIED MATHEMATICS, 2018, 245 : 139 - 147
  • [43] On the complexity of tree pattern containment with arithmetic comparisons
    Afrati, Foto N.
    Cohen, Sara
    Kuper, Gabriel
    INFORMATION PROCESSING LETTERS, 2011, 111 (15) : 754 - 760
  • [44] Dichotomies for Tree Minor Containment with Structural Parameters
    Okada, Yuto (okada.yuto.b3@s.mail.nagoya-u.ac.jp), 1600, Springer Science and Business Media Deutschland GmbH (14549 LNCS):
  • [45] Tree Containment Above Minimum Degree is FPT
    Fomin, Fedor V.
    Golovach, Petr A.
    Sagunov, Danil
    Simonov, Kirill
    PROCEEDINGS OF THE 2024 ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, SODA, 2024, : 366 - 376
  • [46] Dichotomies for Tree Minor Containment with Structural Parameters
    Gima, Tatsuya
    Kumabe, Soh
    Kurita, Kazuhiro
    Okada, Yuto
    Otachi, Yota
    WALCOM: ALGORITHMS AND COMPUTATION, WALCOM 2024, 2024, 14549 : 392 - 405
  • [47] Limited access dressing
    Kumar, Pramod
    WOUNDS-A COMPENDIUM OF CLINICAL RESEARCH AND PRACTICE, 2008, 20 (02): : 49 - 59
  • [48] Descendants of a recognizable tree language for sets of linear monadic term rewrite rules
    Vágvölgyi, S
    INFORMATION PROCESSING LETTERS, 2006, 99 (03) : 111 - 118
  • [49] MONADIC 2ND-ORDER EVALUATIONS ON TREE-DECOMPOSABLE GRAPHS
    COURCELLE, B
    MOSBAH, M
    LECTURE NOTES IN COMPUTER SCIENCE, 1992, 570 : 13 - 24
  • [50] A comparison of tree transductions defined by monadic second order logic and by attribute grammars
    Bloem, R
    Engelfriet, J
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2000, 61 (01) : 1 - 50