Learning Path Queries on Graph Databases - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2015

Learning Path Queries on Graph Databases


We investigate the problem of learning graph queries by exploiting user examples. The input consists of a graph database in which the user has labeled a few nodes as positive or negative examples, depending on whether or not she would like the nodes as part of the query result. Our goal is to handle such examples to find a query whose output is what the user expects. This kind of scenario is pivotal in several application settings where unfamiliar users need to be assisted to specify their queries. In this paper, we focus on path queries defined by regular expressions, we identify fundamental difficulties of our problem setting, we formalize what it means to be learnable, and we prove that the class of queries under study enjoys this property. We additionally investigate an interactive scenario where we start with an empty set of examples and we identify the informative nodes i.e., those that contribute to the learning process. Then, we ask the user to label these nodes and iterate the learning process until she is satisfied with the learned query. Finally, we present an experimental study on both real and synthetic datasets devoted to gauging the effectiveness of our learning algorithm and the improvement of the interactive approach.
No file

Dates and versions

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


  • HAL Id : hal-01187966 , version 1


Angela Bonifati, Radu Ciucanu, Aurélien Lemay. Learning Path Queries on Graph Databases. BDA 2015 - 31ème Conférence sur la Gestion de Données - Principes, Technologies et Applications, Sep 2015, Île de Porquerolles, France. ⟨hal-01187966⟩
191 View
0 Download


Gmail Facebook X LinkedIn More