2013 IEEE 29th International Conference on Data Engineering (ICDE) (2001)
Apr. 2, 2001 to Apr. 6, 2001
Albrecht Schmidt , CWI
Martin Kersten , CWI
Menzo Windhouwer , CWI
Abstract: Due to the ubiquity and popularity of XML, users of-ten are in the following situation: they want to query XML documents which contain potentially interesting information but they are unaware of the mark-up structure that is used. For example, it is easy to guess the contents of an XML bibliography file whereas the mark-up depends on the methodological, cultural and personal background of the author(s). Nonetheless, it is this hierarchical structure that forms the basis of XML query languages. In this paper we exploit the tree structure of XML documents to equip users with a powerful tool, the meet operator, that lets them query databases with whose content they are familiar, but without requiring knowledge of tags and hierarchies. Our approach is based on computing the lowest common ancestor of nodes in the XML syntax tree: e.g., given two strings, we are looking for nodes whose offspring contains these two strings. The novelty of this approach is that the result type is unknown at query formulation time and dependent on the database instance. If the two strings are an author's name and a year, mainly publications of the author in this year are returned. If the two strings are numbers the result mostly consists of publications that have the numbers as year or page numbers. Because the result type of a query is not specified by the user we refer to the lowest common ancestor as nearest concept. We also present a running example taken from the bibliography domain, and demonstrate that the operator can be implemented efficiently.
Albrecht Schmidt, Martin Kersten, Menzo Windhouwer, "Querying XML Documents Made Easy: Nearest Concept Queries", 2013 IEEE 29th International Conference on Data Engineering (ICDE), vol. 00, no. , pp. 0321, 2001, doi:10.1109/ICDE.2001.914844