Skip to Main content Skip to Navigation
Conference papers

Interactive Inference of Join Queries

Angela Bonifati 1, 2 Radu Ciucanu 2, 1, * Slawomir Staworko 1, 2 
* Corresponding author
1 LINKS - Linking Dynamic Data
LIFL - Laboratoire d'Informatique Fondamentale de Lille, Inria Lille - Nord Europe
Abstract : 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.
Document type :
Conference papers
Complete list of metadata

Cited literature [18 references]  Display  Hide  Download
Contributor : Radu Ciucanu Connect in order to contact the contributor
Submitted on : Friday, January 24, 2014 - 9:18:20 AM
Last modification on : Wednesday, February 2, 2022 - 3:54:51 PM
Long-term archiving on: : Thursday, April 24, 2014 - 10:10:39 PM


Files produced by the author(s)



Angela Bonifati, Radu Ciucanu, Slawomir Staworko. Interactive Inference of Join Queries. 17th International Conference on Extending Database Technology (EDBT), Mar 2014, Athènes, Greece. pp.451-462, ⟨10.5441/002/edbt.2014.41⟩. ⟨hal-00875680v2⟩



Record views


Files downloads