Logical definability and query languages over unranked trees

被引:2
|
作者
Libkin, L [1 ]
Neven, F [1 ]
机构
[1] Univ Toronto, Toronto, ON, Canada
关键词
D O I
10.1109/LICS.2003.1210057
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Unranked trees, that is, trees with no restriction on the number of children of nodes, have recently attracted much attention, primarily as an abstraction of XML documents. In this paper we study logical definability over unranked trees, as well as collections of unranked trees, that can be viewed as databases of XML documents. The traditional approach to definability is to view each tree as a structure of a fixed vocabulary, and study the expressive power of various logics on trees. A different approach, based on model theory, considers a structure whose universe is the set of all trees, and studies definable sets and relations; this approach extends smoothly to the setting of definability over collections of trees. We study the latter model-theoretic approach. We find sets of operations on unranked trees that define regular tree languages, and show that some natural restrictions correspond to logics studied in the context of XML pattern languages. We then look at relational calculi over collections of unranked trees, and obtain quantifier restriction results that give us bounds on the expressive power and complexity. As unrestricted relational calculi can express problems complete for each level of the polynomial hierarchy, we look at their restrictions, corresponding to the restricted logics over the family of all unranked trees, and find several calculi with low (NC1) data complexity, that can express important XML properties like DTD validation and XPath evaluation.
引用
收藏
页码:178 / 187
页数:10
相关论文
共 50 条
  • [41] A LOGICAL FORMULATION OF ROUGH SET DEFINABILITY
    Fan, Tuan-Fang
    Liau, Churn-Jung
    Liu, Duen-Ren
    [J]. INTERNATIONAL JOURNAL OF UNCERTAINTY FUZZINESS AND KNOWLEDGE-BASED SYSTEMS, 2011, 19 (01) : 27 - 37
  • [42] LOGICAL DEFINABILITY OF NP OPTIMIZATION PROBLEMS
    KOLAITIS, PG
    THAKUR, MN
    [J]. INFORMATION AND COMPUTATION, 1994, 115 (02) : 321 - 353
  • [43] Definability of languages by generalized first-order formulas over (N, plus)
    Roy, A
    Straubing, H
    [J]. STACS 2006, PROCEEDINGS, 2006, 3884 : 489 - 499
  • [44] State Complexity of Projection and Quotient on Unranked Trees
    Piao, Xiaoxue
    Salomaa, Kai
    [J]. DESCRIPTIONAL COMPLEXITY OF FORMAL SYSTEMS, DCFS 2012, 2012, 7386 : 280 - 293
  • [45] A Nivat Theorem for Quantitative Automata on Unranked Trees
    Droste, Manfred
    Goetze, Doreen
    [J]. MODELS, ALGORITHMS, LOGICS AND TOOLS: ESSAYS DEDICATED TO KIM GULDSTRAND LARSEN ON THE OCCASION OF HIS 60TH BIRTHDAY, 2017, 10460 : 22 - 35
  • [46] Grammar-Based Compression of Unranked Trees
    Gascon, Adria
    Lohrey, Markus
    Maneth, Sebastian
    Reh, Carl Philipp
    Siebert, Kurt
    [J]. COMPUTER SCIENCE - THEORY AND APPLICATIONS, CSR 2018, 2018, 10846 : 118 - 131
  • [47] Tree template matching in unranked ordered trees
    Christou, Michalis
    Flouri, Tomas
    Iliopoulos, Costas S.
    Janousek, Jan
    Melichar, Borivoj
    Pissis, Solon P.
    Zd'arek, Jan
    [J]. JOURNAL OF DISCRETE ALGORITHMS, 2013, 20 : 51 - 60
  • [48] Temporalizing rewritable query languages over knowledge bases
    Borgwardt, Stefan
    Lippmann, Marcel
    Thost, Veronika
    [J]. JOURNAL OF WEB SEMANTICS, 2015, 33 : 50 - 70
  • [49] Grammar-Based Compression of Unranked Trees
    Gascon, Adria
    Lohrey, Markus
    Maneth, Sebastian
    Reh, Carl Philipp
    Sieber, Kurt
    [J]. THEORY OF COMPUTING SYSTEMS, 2020, 64 (01) : 141 - 176
  • [50] Querying unranked trees with stepwise tree automata
    Carme, J
    Niehren, J
    Tommasi, M
    [J]. REWRITING TECHNIQUES AND APPLICATIONS, PROCEEDINGS, 2004, 3091 : 105 - 118