Transitive Closure Logic, Nested Tree Walking Automata, and XPath

被引:6
|
作者
Ten Cate, Balder [1 ]
Segoufin, Luc [2 ]
机构
[1] Univ Calif Santa Cruz, Dept Comp Sci, Database Grp, Santa Cruz, CA 95064 USA
[2] ENS Cachan, LSV, F-94235 Cachan, France
关键词
Languages; Theory; Transitive closure logic; tree automata; XPath;
D O I
10.1145/1706591.1706598
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
We study FO(MTC), first-order logic with monadic transitive closure, a logical formalism in between FO and MSO on trees. We characterize the expressive power of FO(MTC) in terms of nested tree-walking automata. Using the latter, we show that FO(MTC) is strictly less expressive than MSO, solving an open problem. We also present a temporal logic on trees that is expressively complete for FO(MTC), in the form of an extension of the XML document navigation language XPath with two operators: the Kleene star for taking the transitive closure of path expressions, and a subtree relativisation operator, allowing one to restrict attention to a specific subtree while evaluating a subexpression. We show that the expressive power of this XPath dialect equals that of FO(MTC) for Boolean, unary and binary queries. We also investigate the complexity of the automata model as well as the XPath dialect. We show that query evaluation be done in polynomial time (combined complexity), but that emptiness (or, satisfiability) is 2ExpTime-complete.
引用
收藏
页数:41
相关论文
共 50 条
  • [1] AUTOMATA WITH NESTED PEBBLES CAPTURE FIRST-ORDER LOGIC WITH TRANSITIVE CLOSURE
    Engelfriet, Joost
    Hoogeboom, Hendrik Jan
    [J]. LOGICAL METHODS IN COMPUTER SCIENCE, 2007, 3 (02)
  • [2] Tree automata and XPath on compressed trees
    Lohrey, M
    Maneth, S
    [J]. IMPLEMENTATION AND APPLICATION OF AUTOMATA, 2006, 3845 : 225 - 237
  • [3] Nested pebbles and transitive closure
    Engelfriet, J
    Hoogeboom, HJ
    [J]. STACS 2006, PROCEEDINGS, 2006, 3884 : 477 - 488
  • [4] CLASSES OF AUTOMATA AND TRANSITIVE CLOSURE
    JONES, ND
    [J]. INFORMATION AND CONTROL, 1968, 13 (03): : 207 - &
  • [5] ON TRANSITIVE CLOSURE LOGIC
    GRADEL, E
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1992, 626 : 149 - 163
  • [6] XPath Query Optimization Based on Tree Automata
    Wang, Lan-ye
    Hong, Xiao-guang
    [J]. INTERNATIONAL CONFERENCE ON GRAPHIC AND IMAGE PROCESSING (ICGIP 2012), 2013, 8768
  • [7] Tree canonization and transitive closure
    Etessami, E
    Immerman, N
    [J]. INFORMATION AND COMPUTATION, 2000, 157 (1-2) : 2 - 24
  • [8] NESTED SIBLING TREE AUTOMATA
    Gire, Francoise
    Talbot, Jean-Marc
    [J]. RAIRO-THEORETICAL INFORMATICS AND APPLICATIONS, 2009, 43 (02) : 379 - 402
  • [9] Pebble Weighted Automata and Transitive Closure Logics
    Bollig, Benedikt
    Gastin, Paul
    Monmege, Benjamin
    Zeitoun, Marc
    [J]. AUTOMATA, LANGUAGES AND PROGRAMMING, PT II, 2010, 6199 : 587 - 598
  • [10] Early nested word automata for XPath query answering on XML streams
    Debarbieux, Denis
    Gauwin, Olivier
    Niehren, Joachim
    Sebastian, Tom
    Zergaoui, Mohamed
    [J]. THEORETICAL COMPUTER SCIENCE, 2015, 578 : 100 - 125