首页> 外文期刊>ACM transactions on computational logic >Logical Definability and Query Languages over Ranked and Unranked Trees
【24h】

Logical Definability and Query Languages over Ranked and Unranked Trees

机译:排名和未排名树上的逻辑可定义性和查询语言

获取原文

摘要

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 whether the domains of two trees are equal. We consider both ranked and unranked trees. These are trees with and without a restriction on the number of children of nodes. We adopt the model-theoretic approach to tree relations and study relations definable over the structure consisting of the set of all trees and the aforementioned predicates. We relate definability of sets and relations of trees to computability by tree automata. We show that some natural restrictions correspond to familiar logics in the more classical setting where every tree is a structure over a fixed vocabulary, and to logics studied in the context of XML pattern languages. We then look at relational calculi over collections of trees, and obtain quantifier-restriction results that give us bounds on the expressive power and complexity. As unrestricted relational calculi can express problems that are 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 (NC~1) data complexity which still express properties important for database and document applications. We also give normal forms for safe queries in the calculus.
机译:我们研究由词汇的一阶约束定义的树上的关系,该词包括树扩展关系T

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号