Containment for queries over trees with attribute value comparisons
| Authors |
|
|---|---|
| Publication date | 06-2016 |
| Journal | Information systems |
| Volume | Issue number | 58 |
| Pages (from-to) | 1-13 |
| Number of pages | 13 |
| Organisations |
|
| Abstract |
Björklund et al. showed that containment for conjunctive queries (CQ) over trees and positive XPath is respectively Π2P and coNP-complete. In this article we show that the same problem has the same complexity when we expand these languages with XPath׳s attribute value comparisons. We show that different restrictions on the domain of attribute values (finite, infinite, dense, discrete) have no impact on the complexity. Making attributes required does have an impact: the problem becomes harder. We also show that containment of tree patterns without the wildcard ⁎, which is in PTIME, becomes coNP-hard when adding equality and inequality comparisons.
|
| Document type | Article |
| Language | English |
| Published at | https://doi.org/10.1016/j.is.2015.11.003 |
| Downloads |
Containment for queries over trees with attribute value comparisons
(Final published version)
|
| Permalink to this page | |
