Automata for Analyzing and Querying Compressed Documents - Archive ouverte HAL Access content directly
Preprints, Working Papers, ... Year : 2006

Automata for Analyzing and Querying Compressed Documents


In a first part of this work, tree/dag automata are defined as extensions of (unranked) tree automata which can run indifferently on trees or dags; they can thus serve as tools for analyzing or querying any semi-structured document, whether or not given in a compressed format. In a second part of the work, we present a method for evaluating positive unary queries, expressed in terms of Core XPath axes, on any dag t, representing an XML document possibly given in a compressed form; the evaluation is done directly on t, without unfolding it into a tree. To each Core XPath query of a certain basic type, we associate a word automaton; these automata run on the graph of dependency between the non-terminals of the minimal straightline regular tree grammar associated to the given dag t, or along complete sibling chains in this grammar. Any given positive Core XPath query can be decomposed into queries of the basic type, and the answer to the query, on the dag t, can then be expressed as a sub-dag of t whose nodes are suitably labeled under the runs of such automata.
Fichier principal
Vignette du fichier
Lifo-RR2006-03.pdf (436.67 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-00088776 , version 1 (04-08-2006)
hal-00088776 , version 2 (28-08-2006)
hal-00088776 , version 3 (15-12-2006)


  • HAL Id : hal-00088776 , version 3


Barbara Fila, Siva Anantharaman. Automata for Analyzing and Querying Compressed Documents. 2006. ⟨hal-00088776v3⟩
188 View
93 Download


Gmail Facebook X LinkedIn More