Queries on Xml streams with bounded delay and concurrency

  • Authors:
  • Olivier Gauwin;Joachim Niehren;Sophie Tison

  • Affiliations:
  • INRIA Lille Nord Europe, Parc scientifique de la Haute Borne, 40 avenue Halley, 59650 Villeneuve d'Ascq, France and Université Lille 1, Cité Scientifique, 59655 Villeneuve d'Ascq Cedex, ...;INRIA Lille Nord Europe, Parc scientifique de la Haute Borne, 40 avenue Halley, 59650 Villeneuve d'Ascq, France and Mostrare project, INRIA & LIFL (CNRS UMR8022), Parc scientifique de la Haute Bor ...;Université Lille 1, Cité Scientifique, 59655 Villeneuve d'Ascq Cedex, France and Mostrare project, INRIA & LIFL (CNRS UMR8022), Parc scientifique de la Haute Borne, 40 avenue Halley, 596 ...

  • Venue:
  • Information and Computation
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Query answering algorithms on Xml streams check answer candidates on the fly in order to avoid the unnecessary buffering whenever possible. The delay and concurrency of a query are two measures for the degree of their streamability. They count the maximal number of stream elements during the life time for some query answer, and respectively, the maximal number of simultaneously alive answer candidates of a query. We study queries defined by deterministic nested word automata, which subsume large streamable fragments of XPath subject to schema restrictions by DTDs modulo P-time translations. We show that bounded and k-bounded delay and concurrency of such automata-defined queries are all decidable in polynomial time in the size of the automaton. Our results are obtained by P-time reduction to the bounded valuedness problem for recognizable relations between unranked trees, a problem that we show to be decidable in P-time.