Tree extension algebras: Logics, automata, and query languages

被引:4
|
作者
Benedikt, M [1 ]
Libkin, L [1 ]
机构
[1] Bell Labs, Lisle, IL 60532 USA
关键词
D O I
10.1109/LICS.2002.1029829
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We study relations on trees defined by first-order constraints over a vocabulary that includes the tree extension relation T < T', holding if and only if every branch of T extends to a branch of T', unary node-tests, and a binary relation checking if the domains of two trees are equal. We show that from such a formula one can generate a tree automaton that accepts the set of tuples of trees defined by the formula, and conversely that every automaton over tree-tuples is captured by such a formula. We look at the fragment with only extension inequalities and leaf tests, and show that it corresponds to a new class of automata on tree tuples, which is strictly weaker then general tree-tuple automata. We use the automata representations to show separation and expressibility result for formulae in the logic. We then turn to relational calculi over the logic defined here: that is, from constraints we extend to queries that have second-order parameters for a finite set of tree tuples. We give normal forms for queries, and use these to get bounds on the data complexity of query evaluation, showing that while general query evaluation is unbounded within the polynomial hierarchy, generic query evaluation has very low complexity, giving strong bounds on the expressive power of relational calculi with tree extension constraints. We also give normal forms for safe queries in the calculus.
引用
收藏
页码:203 / 212
页数:10
相关论文
共 50 条
  • [21] WREATH PRODUCTS OF FOREST ALGEBRAS, WITH APPLICATIONS TO TREE LOGICS
    Bojanczyk, Mikolaj
    Straubing, Howard
    Walukiewicz, Igor
    LOGICAL METHODS IN COMPUTER SCIENCE, 2012, 8 (03)
  • [22] Presburger Buchi Tree Automata with Applications to Logics with Expressive Counting
    Bednarczyk, Bartosz
    Fiuk, Oskar
    LOGIC, LANGUAGE, INFORMATION, AND COMPUTATION, WOLLIC 2022, 2022, 13468 : 295 - 308
  • [23] Restarting tree automata and linear context-free tree languages
    Stamer, Heiko
    Otto, Friedrich
    ALGEBRAIC INFORMATICS, 2007, 4728 : 275 - 289
  • [24] Algebras of generalized tree languages with fixed variables
    Phuapong, S.
    Chansuriya, N.
    Kumduang, T.
    ALGEBRA AND DISCRETE MATHEMATICS, 2023, 36 (02): : 202 - 216
  • [25] QUERY LEARNING OF DERIVED ω-TREE LANGUAGES IN POLYNOMIAL TIME
    Angluin, Dana
    Antonopoulos, Timos
    Fisman, Dana
    LOGICAL METHODS IN COMPUTER SCIENCE, 2019, 15 (03)
  • [26] Closure of Tree Automata Languages under Innermost Rewriting
    Gascon, Adria
    Godoy, Guillem
    Jacquemard, Florent
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2009, 237 : 23 - 38
  • [27] Weighted Unranked Tree Automata over Tree Valuation Monoids and Their Characterization by Weighted Logics
    Droste, Manfred
    Heusel, Doreen
    Vogler, Heiko
    ALGEBRAIC INFORMATICS (CAI 2015), 2015, 9270 : 90 - 102
  • [28] Some varieties of finite tree automata related to restricted temporal logics
    Esik, Zoltan
    Ivan, Szabolcs
    FUNDAMENTA INFORMATICAE, 2008, 82 (1-2) : 79 - 103
  • [29] Weighted Tree Automata over Valuation Monoids and Their Characterization by Weighted Logics
    Droste, Manfred
    Goetze, Doreen
    Maercker, Steffen
    Meinecke, Ingmar
    ALGEBRAIC FOUNDATIONS IN COMPUTER SCIENCE: ESSAYS DEDICATED TO SYMEON BOZAPALIDIS ON THE OCCASION OF HIS RETIREMENT, 2011, 7020 : 30 - 55