Modern scientific databases and web databases maintain large and heterogeneous data. These real-world databases contain hundreds or even thousands of relations and attributes. Traditional predefined query forms are not able to satisfy various ad-hoc queries from users on those databases. This paper proposes  DQF , a novel database query form interface, which is able to dynamically generate query forms. The essence of  DQF  is to capture a user’s preference and rank query form components, assisting him/her in making decisions. The generation of a query form is an iterative process and is guided by the user. At each iteration, the system automatically generates ranking lists of form components and the user then adds the desired form components into the query form. The ranking of form components is based on the captured user preference. A user can also fill the query form and submit queries to view the query result at each iteration. In this way, a query form could be dynamically refined until the user is satisfied with the query results. We utilize the expected F-measure for measuring the goodness of a query form. A probabilistic model is developed for estimating the goodness of a query form in  DQF . Our experimental evaluation and user study demonstrate the effectiveness and efficiency of the system.
['Liang Tang', 'Tao Li', 'Yexi Jiang', 'Zhiyuan Chen']
Dynamic Query Forms for Database Queries