2009
DOI: 10.1016/j.jcss.2009.06.001
|View full text |Cite
|
Sign up to set email alerts
|

Worst-case optimal algorithm for XPath evaluation over XML streams

Abstract: We consider the XPath evaluation problem: Evaluate an XPath query Q on a streaming XML document D; i.e., determine the set Q (D) of document elements selected by Q . We mainly consider Conjunctive XPath queries that involve only the child and descendant axes. Previously known in-memory algorithms for this problem use O (|D|) space and O (|Q ||D|) time. Several previously known algorithms for the streaming version use Ω(d n ) space and Ω(d n |D|) time in the worst case; d denotes the depth of D, and n denotes t… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
4
1

Citation Types

0
6
0

Year Published

2010
2010
2013
2013

Publication Types

Select...
3
2
1

Relationship

0
6

Authors

Journals

citations
Cited by 8 publications
(6 citation statements)
references
References 31 publications
0
6
0
Order By: Relevance
“…This shows that the memory consumption of the two algorithms of [2] and [12] cannot be polynomial in the number of alive candidates, in contrast to what is stated there 4 except if P=NP. We also note that streaming algorithms for Forward XPath in [22] and [23,24] do not claim finite streamability. The complexity results stated there count the maximal number of candidates stored simultaneously by their algorithms, rather than the maximal number of alive candidates with respect to the query.…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…This shows that the memory consumption of the two algorithms of [2] and [12] cannot be polynomial in the number of alive candidates, in contrast to what is stated there 4 except if P=NP. We also note that streaming algorithms for Forward XPath in [22] and [23,24] do not claim finite streamability. The complexity results stated there count the maximal number of candidates stored simultaneously by their algorithms, rather than the maximal number of alive candidates with respect to the query.…”
Section: Related Workmentioning
confidence: 99%
“…Query answering algorithms for XPath on Xml streams received much interest in the database and document processing communities [2,24,3,22,5,12,29,6,21] and are currently in the focus of the W3C working groups on Xslt and Xproc [14]. A little surprisingly, the topic is far from being settled given the large remaining gap between known streamable and non-streamable fragments.…”
Section: Introductionmentioning
confidence: 99%
“…Streaming algorithms broadly fall in three categories: the automaton-based approach [6,9,11,18], the array-based approach [4], and the stackbased approach [12,13,14,16,21,24].…”
Section: Related Workmentioning
confidence: 99%
“…A number of more recent algorithms [12,13,16,21,24] exploit its ideas in order to evaluate TPQs on streaming XML data. These stack-based algorithms extend PathStack to compactly encode query pattern matches in a chain of stacks.…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation