Expressive languages for path queries over graph-structured data
Authors:
Open Access
- 6 June 2010
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 3-14
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 relations among paths.\ud \ud We thus propose a class of extended CRPQs, called ECRPQs, 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 ECRPQs 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 express arithmetic properties of paths, based on the lengths and numbers of occurrences of labelsKeywords
This publication has 21 references indexed in Scilit:
- Bad news on decision problems for patternsInformation and Computation, 2010
- Unary finite automata vs. arithmetic progressionsInformation Processing Letters, 2009
- Database and information-retrieval methods for knowledge discoveryCommunications of the ACM, 2009
- Semantic Association Identification and Knowledge Discovery for National Security ApplicationsJournal of Database Management, 2005
- Definable relations and first-order query languages over stringsJournal of the ACM, 2003
- Counter Machines and Verification ProblemsTheoretical Computer Science, 2002
- Rewriting of Regular Expressions and Regular Path QueriesJournal of Computer and System Sciences, 2002
- The Lorel query language for semistructured dataInternational Journal on Digital Libraries, 1997
- Finding Regular Simple Paths in Graph DatabasesSIAM Journal on Computing, 1995
- On the complexity of integer programmingJournal of the ACM, 1981