Containment of Pattern-Based Queries over Data Trees - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2013

Containment of Pattern-Based Queries over Data Trees

Résumé

We study static analysis, in particular the containment problem, for analogs of conjunctive queries over XML documents. The problem has been studied for queries based on arbitrary patterns, not necessarily following the tree structure of documents. However, many applications force the syntactic shape of queries to be tree-like, as they are based on proper tree patterns. This renders previous results, crucially based on having non-tree-like features, inapplicable. Thus, we investigate static analysis of queries based on proper tree patterns. We go beyond simple navigational conjunctive queries in two ways: we look at unions and Boolean combinations of such queries as well and, crucially, all our queries handle data stored in documents, i.e., we deal with containment over data trees. We start by giving a general \Pi^p_2 upper bound on the containment of conjunctive queries and Boolean combinations for patterns that involve all types of navigation through documents. We then show matching hardness for conjunctive queries with all navigation, or their Boolean combinations with the simplest form of navigation. After that we look at cases when containment can be witnessed by homomorphisms of analogs of tableaux. These include conjunctive queries and their unions over child and next-sibling axes; however, we show that not all cases of containment can be witnessed by homomorphisms. We look at extending tree patterns used in queries in three possible ways: with wildcard, with schema information, and with data value comparisons. The first one is relatively harmless, the second one tends to increase complexity by an exponential, and the last one quickly leads to undecidability.
Fichier principal
Vignette du fichier
icdt2013.pdf (164.94 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00788621 , version 1 (14-02-2013)

Identifiants

  • HAL Id : hal-00788621 , version 1

Citer

Claire David, Amélie Gheerbrant, Leonid Libkin, Wim Martens. Containment of Pattern-Based Queries over Data Trees. International Conference on Database Theory (ICDT'13), 2013, Italy. pp.12. ⟨hal-00788621⟩
1859 Consultations
891 Téléchargements

Partager

Gmail Facebook X LinkedIn More