Skip to Main content Skip to Navigation
Conference papers

Interactive Inference of Join Queries

Angela Bonifati 1, 2 Radu Ciucanu 1, 2, * 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

https://hal.inria.fr/hal-01052764
Contributor : Radu Ciucanu <>
Submitted on : Thursday, May 7, 2015 - 5:24:43 PM
Last modification on : Monday, April 20, 2020 - 4:14:04 PM
Long-term archiving on: : Wednesday, April 19, 2017 - 7:32:25 PM

File

ciucanu-bda14a.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-01052764, version 1

Citation

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⟩

Share

Metrics

Record views

312

Files downloads

257