Abstract
Many web databases provide partial and overlapping information about entities. To answer queries effectively, we must integrate information fragmented over multiple sources. This is essentially the inverse of traditional database normalization. However, autonomous sources often lack Primary Key-Foreign Key (PK-FK) relations. Naive joins over shared attributes can result in spurious entities, compromising precision. We present SMARTINT, a system that uses Approximate Functional Dependencies (AFDs) to construct a tree of relevant tables. SMARTINT strikes a favorable balance between precision and recall by translating constraints and expanding tuples based on mined dependencies.
Introduction: The Fragmented Web
In a standard relational database, data is normalized and linked via explicit Primary-Key (PK) and Foreign-Key (FK) relationships. On the web, this structure is absent. Information about a single entity, such as a car, is often distributed across independent sources: one for pricing, another for technical specifications, and a third for reviews.
Because these sources are autonomous, they rarely share unique identifiers like VINs. While they may share common attributes (e.g., "Model"), these are not unique keys. A "naive join" on such attributes often leads to a combinatorial explosion of non-existent entities. Conversely, querying a single table ignores valuable distributed data. SMARTINT addresses this by treating web data integration as an "inverse normalization" problem, reconstructing entities without the original "glue" of PK-FK constraints.
The SMARTINT System Architecture
SMARTINT operates in two distinct phases: offline learning and online query processing.
Offline Learning: AFDMiner
The system first mines Approximate Functional Dependencies (AFDs) from data samples. An AFD (e.g., Model -> Engine_Type) represents a rule that "mostly" holds true. Two metrics guide this process:
- Confidence: The frequency with which the dependency is valid.
- Specificity: A measure of how "narrow" the determining attributes are, based on information entropy. Specificity is used to prune the search space, making the mining of inter-table dependencies computationally feasible.
Online Query Processing
When a user submits a query, the system performs Source Selection to identify a "tree of tables" relevant to the request. The core innovation lies in Constraint Translation and Tuple Expansion. If a query filters by an attribute not present in the base table (e.g., "4 cylinders" when the base table only lists "Price"), SMARTINT uses AFDs to translate that constraint into the base table's attributes. Once base tuples are retrieved, the system "horizontally expands" them by predicting missing values from other tables in the tree.
Experimental Evaluation
The system was evaluated using a real-world dataset from Google Base (Vehicles domain), comprising approximately 350,000 records. A "master table" of 18 attributes served as ground truth, which was then fragmented into five overlapping child tables to simulate the web environment.
The results demonstrated that SMARTINT provides a superior balance of precision and recall:
- Precision: SMARTINT significantly outperformed "Direct Joins," which frequently created non-existent entities.
- Recall: SMARTINT surpassed the "Single Table" approach by successfully retrieving attributes and satisfying constraints from external tables.
- F-Measure: Across various tests, SMARTINT achieved a higher F-measure, proving its effectiveness as a robust integration solution.
Conclusion and Future Work
SMARTINT demonstrates that mining attribute dependencies is a powerful tool for integrating fragmented web data in the absence of explicit keys. Future work will address schema heterogeneity (mapping different attribute names), more complex vertical fragmentation, and the implementation of sophisticated probabilistic ranking models to further refine results.
Summary updated