Efficient XML Keyword Search: From Graph Model to Tree Model [chapter]

Yong Zeng, Zhifeng Bao, Tok Wang Ling, Guoliang Li
2013 Lecture Notes in Computer Science  
Keyword search, as opposed to traditional structured query, has been becoming more and more popular on querying XML data in recent years. XML documents usually contain some ID nodes and IDREF nodes to represent reference relationships among the data. An XML document with ID/IDREF is modeled as a graph by existing works, where the keyword query results are computed by graph traversal. As a comparison, if ID/IDREF is not considered, an XML document can be modeled as a tree. Keyword search on XML
more » ... ree can be much more efficient using tree-based labeling techniques. A nature question is whether we need to abandon the efficient XML tree search methods and invent new, but less efficient search methods for XML graph. To address this problem, we propose a novel method to transform an XML graph to a tree model such that we can exploit existing XML tree search methods. The experimental results show that our solution can outperform the traditional XML graph search methods by orders of magnitude in efficiency while generating a similar set of results as existing XML graph search methods.
doi:10.1007/978-3-642-40285-2_5 fatcat:gsrzysm5jbfmxakksj234uuul4