Query by output
Authors:
Open Access
- 29 June 2009
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 535-548
Abstract
It has recently been asserted that the usability of a database is as important as its capability. Understanding the database schema, the hidden relationships among attributes in the data all play an important role in this context. Subscribing to this viewpoint, in this paper, we present a novel data-driven approach, called Query By Output (QBO), which can enhance the usability of database systems. The central goal of QBO is as follows: given the output of some query Q on a database D, denoted by Q(D), we wish to construct an alternative query Q′ such that Q(D) and Q′ (D) are instance-equivalent. To generate instance-equivalent queries from Q(D), we devise a novel data classification-based technique that can handle the at-least-one semantics that is inherent in the query derivation. In addition to the basic framework, we design several optimization techniques to reduce processing overhead and introduce a set of criteria to rank order output queries by various notions of utility. Our framework is evaluated comprehensively on three real data sets and the results show that the instance-equivalent queries we obtain are interesting and that the approach is scalable and robust to queries of different selectivities.Keywords
This publication has 18 references indexed in Scilit:
- Output perturbation with query relaxationProceedings of the VLDB Endowment, 2008
- Curated databases2008
- Generating targeted queries for database testing2008
- QAGen2007
- Information-theoretic tools for mining database structure from large data sets2004
- Selectivity estimation using probabilistic models2001
- Intensional answers to database queriesIEEE Transactions on Knowledge and Data Engineering, 1994
- An overview of cooperative answeringJournal of Intelligent Information Systems, 1992
- Join indicesACM Transactions on Database Systems, 1987
- Modeling by shortest data descriptionAutomatica, 1978