Interactive Inference of Join Queries - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2014

Interactive Inference of Join Queries


We investigate the problem of inferring join queries from user interactions. The user is presented with a set of candidate tuples and is asked to label them as positive or negative 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 two relations by keeping the number of user interactions as minimal as possible. We assume no prior knowledge of the integrity constraints between the involved relations. This kind of scenario occurs in several application settings, such as data integration, reverse engineering of database queries, and constraint inference. In such scenarios, the database instances may be too big to be skimmed. We explore the search space by using a set of strategies that let us prune what we call "uninformative" tuples, and directly present to the user the informative ones i.e., those that allow to quickly find the goal query that the user has in mind. In this paper, we focus on the inference of joins with equality predicates and we show that for such joins deciding whether a tuple is uninformative can be done in polynomial time. Next, we propose several strategies for presenting tuples to the user in a given order that lets minimize the number of interactions. We show the efficiency and scalability of our approach through an experimental study on both benchmark and synthetic datasets. Finally, we prove that adding projection to our queries makes the problem intractable.
Fichier principal
Vignette du fichier
ciucanu-bda14a.pdf (538.38 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-01052764 , version 1 (07-05-2015)


  • HAL Id : hal-01052764 , version 1


Angela Bonifati, Radu Ciucanu, Slawomir Staworko. Interactive Inference of Join Queries. Gestion de Données - Principes, Technologies et Applications (BDA), Oct 2014, Grenoble-Autrans, France. ⟨hal-01052764⟩
162 View
182 Download


Gmail Facebook X LinkedIn More