首页    期刊浏览 2024年11月28日 星期四
登录注册

文章基本信息

  • 标题:On the complexity of XPath containment in the presence of disjunction, DTDs, and variables
  • 本地全文:下载
  • 作者:Frank Neven ; Thomas Schwentick
  • 期刊名称:Logical Methods in Computer Science
  • 印刷版ISSN:1860-5974
  • 电子版ISSN:1860-5974
  • 出版年度:2006
  • 卷号:2
  • 期号:03
  • DOI:10.2168/LMCS-2(3:1)2006
  • 出版社:Technical University of Braunschweig
  • 摘要:

    Abstract
    XPath is a simple language for navigating an XML-tree and returning a set of answer nodes. The focus in this paper is on the complexity of the containment problem for various fragments of XPath. We restrict attention to the most common XPath expressions which navigate along the child and/or descendant axis. In addition to basic expressions using only node tests and simple predicates, we also consider disjunction and variables (ranging over nodes). Further, we investigate the containment problem relative to a given DTD. With respect to variables we study two semantics, (1) the original semantics of XPath, where the values of variables are given by an outer context, and (2) an existential semantics introduced by Deutsch and Tannen, in which the values of variables are existentially quantified. In this framework, we establish an exact classification of the complexity of the containment problem for many XPath fragments.

  • 关键词:XPath;Complexity
国家哲学社会科学文献中心版权所有