TY - GEN
T1 - Efficient eager XPath filtering over XML streams
AU - Hagio, Kazuhito
AU - Ohgami, Takashi
AU - Bannai, Hideo
AU - Takeda, Masayuki
PY - 2011
Y1 - 2011
N2 - We address the embedding existence problem (often referred to as the filtering problem) over streaming XML data for Conjunctive XPath (CXP). Ramanan (2009) considered Downward CXP, a fragment of CXP that involves downward navigational axes only, and presented a streaming algorithm which solves the problem in O(|P||D|) time using only O(|P|height(D)) bits of space, where |P| and |D| are the sizes of a query P and an XML data D, respectively, and height(D) denotes the tree height of D. Unfortunately, the algorithm is lazy in the sense that it does not necessarily report the answer even after enough information has been gathered from the input XML stream. In this paper, we present an eager streaming algorithm that solves the problem with same time and space complexity. We also show the algorithm can be easily extended to Backward CXP a larger fragment of CXP.
AB - We address the embedding existence problem (often referred to as the filtering problem) over streaming XML data for Conjunctive XPath (CXP). Ramanan (2009) considered Downward CXP, a fragment of CXP that involves downward navigational axes only, and presented a streaming algorithm which solves the problem in O(|P||D|) time using only O(|P|height(D)) bits of space, where |P| and |D| are the sizes of a query P and an XML data D, respectively, and height(D) denotes the tree height of D. Unfortunately, the algorithm is lazy in the sense that it does not necessarily report the answer even after enough information has been gathered from the input XML stream. In this paper, we present an eager streaming algorithm that solves the problem with same time and space complexity. We also show the algorithm can be easily extended to Backward CXP a larger fragment of CXP.
UR - http://www.scopus.com/inward/record.url?scp=84867489686&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=84867489686&partnerID=8YFLogxK
M3 - Conference contribution
AN - SCOPUS:84867489686
SN - 9788001048702
T3 - Proceedings of the Prague Stringology Conference 2011
SP - 30
EP - 44
BT - Proceedings of the Prague Stringology Conference 2011
T2 - Prague Stringology Conference 2011, PSC 2011
Y2 - 29 August 2011 through 31 August 2011
ER -