Dynamic Graph Queries

Graph databases in many applications---semantic web, transport or biological networks among others---are not only large, but also frequently modified. Evaluating graph queries in this dynamic context is a challenging task, as those queries often combine first-order and navigational features. Motivated by recent results on maintaining dynamic reachability, we study the dynamic evaluation of traditional query languages for graphs in the descriptive complexity framework. Our focus is on maintaining regular path queries, and extensions thereof, by first-order formulas. In particular we are interested in path queries defined by non-regular languages and in extended conjunctive regular path queries (which allow to compare labels of paths based on word relations). Further we study the closely related problems of maintaining distances in graphs and reachability in product graphs. In this preliminary study we obtain upper bounds for those problems in restricted settings, such as undirected and acyclic graphs, or under insertions only, and negative results regarding quantifier-free update formulas. In addition we point out interesting directions for further research.

[1]  Jianwen Su,et al.  First-Order Incremental Evaluation of Datalog Queries , 1993, DBPL.

[2]  Christel Baier,et al.  Principles of model checking , 2008 .

[3]  Neil Immerman,et al.  Dyn-FO: A Parallel, Dynamic Complexity Class , 1997, J. Comput. Syst. Sci..

[4]  Inderpal Singh Mumick,et al.  Incremental Evaluation Of Datalog Queries , 1999 .

[5]  P. Gács,et al.  Algorithms , 1992 .

[6]  Zvi Galil,et al.  Hierarchies of complete problems , 1976, Acta Informatica.

[7]  Thomas Zeume,et al.  The dynamic descriptive complexity of k-clique , 2014, Inf. Comput..

[8]  William Hesse,et al.  The dynamic complexity of transitive closure is in DynTC0 , 2001, Theor. Comput. Sci..

[9]  Thomas Schwentick,et al.  Dynamic conjunctive queries , 2017, J. Comput. Syst. Sci..

[10]  Peter Bro Miltersen Cell probe complexity-a survey , 1999 .

[11]  Thomas Zeume,et al.  Small dynamic complexity classes , 2015 .

[12]  Thomas Schwentick,et al.  On the quantifier-free dynamic complexity of Reachability , 2013, Inf. Comput..

[13]  Thomas Schwentick,et al.  The dynamic complexity of formal languages , 2008, TOCL.

[14]  Marcelo Arenas,et al.  nSPARQL: A Navigational Language for RDF , 2008, SEMWEB.

[15]  Thomas Schwentick,et al.  Dynamic Complexity Theory Revisited , 2005, Theory of Computing Systems.

[16]  Giuseppe F. Italiano,et al.  Mantaining Dynamic Matrices for Fully Dynamic Transitive Closure , 2001, Algorithmica.

[17]  Sebastian Siebertz,et al.  Dynamic definability , 2012, ICDT '12.

[18]  Uri Zwick,et al.  Improved Dynamic Reachability Algorithms for Directed Graphs , 2008, SIAM J. Comput..

[19]  Carlos A. Hurtado,et al.  Edinburgh Research Explorer Expressive Languages for Path Queries over Graph-Structured Data , 2012 .

[20]  Dragan Stevanović When is NEPS of graphs connected , 1999 .

[21]  Thomas Schwentick,et al.  Reachability Is in DynFO , 2015, ICALP.

[22]  Sergio Greco,et al.  Querying Graph Databases , 2000, EDBT.

[23]  Claudio Gutierrez,et al.  Survey of graph database models , 2008, CSUR.

[24]  Peter T. Wood,et al.  Query languages for graph databases , 2012, SGMD.