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 条
  • [1] Monadic Datalog Containment
    Benedikt, Michael
    Bourhis, Pierre
    Senellart, Pierre
    AUTOMATA, LANGUAGES, AND PROGRAMMING, ICALP 2012, PT II, 2012, 7392 : 79 - 91
  • [2] Monadic Datalog Tree Transducers
    Buechse, Matthias
    Stueber, Torsten
    LANGUAGE AND AUTOMATA THEORY AND APPLICATIONS, 2009, 5457 : 267 - 278
  • [3] Monadic Datalog and Regular Tree Pattern Queries
    Mazowiecki, Filip
    Murlak, Filip
    Witkowski, Adam
    MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE 2014, PT I, 2014, 8634 : 426 - 437
  • [4] Monadic Datalog and Regular Tree Pattern Queries
    Mazowiecki, Filip
    Murlak, Filip
    Witkowski, Adam
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2016, 41 (03):
  • [5] Containment in Monadic Disjunctive Datalog, MMSNP, and Expressive Description Logics
    Bourhis, Pierre
    Lutz, Carsten
    FIFTEENTH INTERNATIONAL CONFERENCE ON THE PRINCIPLES OF KNOWLEDGE REPRESENTATION AND REASONING, 2016, : 207 - 216
  • [6] Containment of Monadic Datalog Programs via Bounded Clique-Width
    Bojanczyk, Mikolaj
    Murlak, Filip
    Witkowski, Adam
    AUTOMATA, LANGUAGES, AND PROGRAMMING, PT II, 2015, 9135 : 427 - 439
  • [7] Weighted monadic datalog
    Stueber, Torsten
    Vogler, Heiko
    THEORETICAL COMPUTER SCIENCE, 2008, 403 (2-3) : 221 - 238
  • [8] Eliminating Recursion from Monadic Datalog Programs on Trees
    Mazowiecki, Filip
    Ochremiak, Joanna
    Witkowski, Adam
    MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE 2015, PT I, 2015, 9234 : 394 - 406
  • [9] Monadic Datalog over Finite Structures of Bounded Treewidth
    Gottlob, Georg
    Pichler, Reinhard
    Wei, Fang
    ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2010, 12 (01)
  • [10] Monadic datalog and the expressive power of languages for web information extraction
    Gottlob, G
    Koch, C
    JOURNAL OF THE ACM, 2004, 51 (01) : 74 - 113