Pontificia Universidad Católica de Chile Pontificia Universidad Católica de Chile
Kostylev E.V., Reutter J.L. and Vrgoc D. (2018)

Containment of queries for graphs with data

Revista : Journal of Computer and System Sciences
Volumen : 92
Páginas : 65-91
Tipo de publicación : ISI Ir a publicación

Abstract

We consider the containment problem for regular queries with memory and regular queries with data tests: two recently proposed query languages for graph databases that, in addition to allowing the user to ask topological queries, also track how the data changes along paths connecting various points in the database.Our results show that the problem is undecidable in general. However, by allowing only positive data comparisons we find natural fragments with better static analysis properties: the containment problem is PSPACE-complete in the case of regular queries with data tests and EXPSPACE-complete in the case of regular queries with memory.