NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Query Processing over Incomplete Autonomous Databases

Garrett Wolf, Hemal Khatri, Bhaumik Chokshi, Jianchun Fan, Yi Chen, Subbarao KambhampatiVLDB 2007

Abstract

Autonomous web databases often suffer from significant data incompleteness, leading to poor recall in traditional query mediation systems. We present QPIAD (Query Processing over Incomplete Autonomous Databases), a framework that retrieves relevant "possible answers" by mining attribute correlations from small data samples. By ranking and issuing rewritten queries based on learned statistical models, QPIAD significantly improves recall while maintaining high precision and operational efficiency.

Introduction

Most web databases, such as those for used cars, real estate, or consumer products, are managed independently and accessed via mediators through restricted web interfaces. A major challenge in these environments is data incompleteness. Whether due to manual entry errors, inaccurate automated extraction, or mismatched schemas, many database records contain null values for critical attributes.

Traditional query mediators are rigid, returning only "certain answers" that exactly match every predicate in a user's query. For instance, a search for a "Honda" might miss a relevant record for an "Accord" if the Make attribute is missing. This leads to poor recall. QPIAD addresses this by retrieving "possible answers"—records that likely match the user's intent despite missing data—without requiring direct access to the underlying database or the ability to issue "is null" queries.

The QPIAD Framework

QPIAD employs a two-step process to move beyond simple exact matching: offline learning and online query reformulation.

Offline Learning: The Statistics Miner

The Statistics Miner probes a small sample (as low as 3%) of the autonomous database to learn key statistical properties:

  • Approximate Functional Dependencies (AFDs): Identifying correlations between attributes (e.g., Model often determines Make).
  • Value Distributions: Building AFD-enhanced Naïve Bayes Classifiers (NBCs) to estimate the probability of missing values.
  • Selectivity Estimates: Predicting the volume of results a rewritten query might return to manage costs.

Online Query Processing: The Reformulator

When a user issues a query, the Reformulator first retrieves the base result set of certain answers. It then uses the learned AFDs to generate rewritten queries. If a user searches for Make='Honda', and the system knows Model -> Make, it will issue new queries for specific models like Model='Accord' to find tuples where the Make might be null. These queries are ranked using an F-Measure that balances expected precision and recall, ensuring the most relevant results are retrieved first within bandwidth constraints.

The QPIAD System Architecture illustrates the flow from offline statistics mining to online query reformulation.

Experimental Evaluation

The researchers evaluated QPIAD using real-world datasets from Cars.com, the UCI Census database, and the NHSTA Consumer Complaints database. Initial analysis confirmed that incompleteness is rampant; for example, Google Base showed nearly 100% incompleteness in some sampled categories.

Table showing the high percentage of incomplete tuples across various web databases.

Key Results

  • Precision and Recall: QPIAD maintained significantly higher precision than naive "return all nulls" approaches while achieving comparable recall.
  • Efficiency: By ranking queries rather than just tuples, QPIAD achieved high recall while retrieving only a small fraction of the total tuples with missing values.
  • Aggregations: For COUNT and SUM queries, including predicted values from incomplete tuples led to much more accurate aggregate results compared to ignoring them.

Conclusion

QPIAD demonstrates that statistical mining of attribute correlations is a powerful tool for overcoming data incompleteness in autonomous environments. By querying the "determining set" of attributes, the system can effectively uncover hidden relevant data. While its success depends on the strength of attribute correlations, QPIAD provides a robust foundation for improving the utility of web-based data mediators.

Summary updated

BibTeX
@inproceedings{wolf2007query,
  author = {Garrett Wolf and Hemal Khatri and Bhaumik Chokshi and Jianchun Fan and Yi Chen and Subbarao Kambhampati},
  title = {{Query Processing over Incomplete Autonomous Databases}},
  booktitle = {VLDB},
  year = {2007},
}
Figure