Q2P: Discovering Query Templates via Autocompletion
We present Q2P, a system that discovers query templates from search engines via their query autocompletion services. Q2P is distinct from the existing works in that it does not rely on query logs of search engines that are typically not readily available. Q2P is also unique in that it uses a trie to economically store queries sampled from a search engine and employs a beam search strategy that focuses the expansion of the trie on its most promising nodes. Furthermore, Q2P leverages the trie based storage of query sample to discover query templates using only two passes over the trie. Q2P is a key part of our ongoing project Deep2Q on a template driven data integration on the Deep Web, where the templates learned by Q2P are used to guide the integration process in Deep2Q. Experimental results on four major search engines indicate that (1) Q2P sends only a moderate number of queries (ranging from 597 to 1,135) to the engines, while obtaining a significant number of completions per query (ranging from 4.2 to 8.5 on the average) (2) a significant number of templates (ranging from 8 to 32 when the minimum support for frequent templates is set to 1% may be discovered from the samples.
TWEB