On the complexity of tree pattern containment with arithmetic comparisons

Foto N. Afrati, Sara Cohen*, Gabriel Kuper

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

4 Scopus citations

Abstract

In this paper we investigate the complexity of query containment problem for tree patterns (which express a fragment of XPath) with arbitrary arithmetic comparisons. We assume that attributes take values from a totally ordered domain and allow constraints that involve arithmetic comparisons. We show that the containment problem is Π2P-complete in the general case, but remains co-NP complete for tree patterns with left semi-interval (<, ≤, =) or right semi-interval (>, ≥, =) attribute constraints.

Original languageEnglish
Pages (from-to)754-760
Number of pages7
JournalInformation Processing Letters
Volume111
Issue number15
DOIs
StatePublished - 15 Aug 2011

Bibliographical note

Funding Information:
E-mail addresses: [email protected] (F.N. Afrati), [email protected] (S. Cohen), [email protected] (G. Kuper). 1 Sara Cohen was partially supported by the Israel Science Foundation (Grant 143/09).

Keywords

  • Arithmetic comparisons
  • Databases
  • Query containment
  • Tree patterns
  • XPath queries

Fingerprint

Dive into the research topics of 'On the complexity of tree pattern containment with arithmetic comparisons'. Together they form a unique fingerprint.

Cite this