Learning Join Queries from User Examples - INRIA - Institut National de Recherche en Informatique et en Automatique Accéder directement au contenu
Article Dans Une Revue ACM Transactions on Database Systems Année : 2016

Learning Join Queries from User Examples

Résumé

We investigate the problem of learning join queries from user examples. The user is presented with a set of candidate tuples and is asked to label them as positive or negative examples, depending on whether or not she would like the tuples as part of the join result. The goal is to quickly infer an arbitrary n-ary join predicate across an arbitrary number m of relations while keeping the number of user interactions as minimal as possible. We assume no prior knowledge of the integrity constraints across the involved relations. Inferring the join predicate across multiple relations when the referential constraints are unknown may occur in several applications, such as data integration, reverse engineering of database queries, and schema inference. In such scenarios, the number of tuples involved in the join is typically large. We introduce a set of strategies that let us inspect the search space and aggressively prune what we call uninformative tuples, and we directly present to the user the informative ones that is, those that allow the user to quickly find the goal query she has in mind. In this article, we focus on the inference of joins with equality predicates and also allow disjunctive join predicates and projection in the queries. We precisely characterize the frontier between tractability and intractability for the following problems of interest in these settings: consistency checking, learnability, and deciding the informativeness of a tuple. Next, we propose several strategies for presenting tuples to the user in a given order that allows minimization of the number of interactions. We show the efficiency of our approach through an experimental study on both benchmark and synthetic datasets.

Dates et versions

hal-01187986 , version 1 (28-08-2015)

Identifiants

Citer

Angela Bonifati, Radu Ciucanu, Slawomir Staworko. Learning Join Queries from User Examples. ACM Transactions on Database Systems, 2016, 40 (4), pp.24:1--24:38. ⟨10.1145/2818637⟩. ⟨hal-01187986⟩
391 Consultations
0 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More