On the complexity of tree pattern containment with arithmetic comparisons

Foto N. Afrati, Sara Cohen, Gabriel Kuper

Research output: Contribution to journalArticlepeer-review

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

Keywords

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

All Science Journal Classification (ASJC) codes

  • Theoretical Computer Science
  • Signal Processing
  • Information Systems
  • Computer Science Applications

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