View publication
Title | Expressive Languages for Path Queries over Graph-structured Data |
Authors | Pablo Barceló, Anthony Widjaja Lin, Leonid Libkin, Peter Wood |
Publication date | 2012 |
Abstract |
For many problems arising in the setting of graph querying (such as finding semantic associations in RDF graphs, exact and approximate pattern matching, sequence alignment, etc.), the power of standard languages such as the widely studied conjunctive regular path queries (CRPQs) is insufficient in at least two ways. First, they cannot output paths and second, more crucially, they cannot express {em relationships/} among paths. \n\n We thus propose a class of {em extended/} crpq s, called ecrpq s, which add regular relations on tuples of paths, and allow path variables in the heads of queries. We provide several examples of their usefulness in querying graph structured data, and study their properties. We analyze query evaluation and representation of tuples of paths in the output by means of automata. We present a detailed analysis of data and combined complexity of queries, and consider restrictions that lower the complexity of ecrpq s to that of relational conjunctive queries. We study the containment problem, and look at further extensions with first-order features, and with non-regular relations that add arithmetic constraints on the lengths of paths and numbers of occurrences of labels. |
Pages | article 31 |
Volume | 37 |
Journal name | Transactions on Database Systems |
Publisher | ACM Press (New York, NY, USA) |
Reference URL |
![]() |