Affiliation:
1. Universidad de Chile
2. University of Edinburgh
3. University of Edinburgh and Pontificia Universidad Católica de Chile
Abstract
Graph data appears in a variety of application domains, and many uses of it, such as querying, matching, and transforming data, naturally result in incompletely specified graph data, that is, graph patterns. While queries need to be posed against such data, techniques for querying patterns are generally lacking, and properties of such queries are not well understood.
Our goal is to study the basics of querying graph patterns. The key features of patterns we consider here are node and label variables and edges specified by regular expressions. We provide a classification of patterns, and study standard graph queries on graph patterns. We give precise characterizations of both data and combined complexity for each class of patterns. If complexity is high, we do further analysis of features that lead to intractability, as well as lower-complexity restrictions. Since our patterns are based on regular expressions, query answering for them can be captured by a new automata model. These automata have two modes of acceptance: one captures queries returning nodes, and the other queries returning paths. We study properties of such automata, and the key computational tasks associated with them. Finally, we provide additional restrictions for tractability, and show that some intractable cases can be naturally cast as instances of constraint satisfaction problems.
Funder
Engineering and Physical Sciences Research Council
Seventh Framework Programme
Fondo Nacional de Desarrollo Científico y Tecnológico
Publisher
Association for Computing Machinery (ACM)
Subject
Artificial Intelligence,Hardware and Architecture,Information Systems,Control and Systems Engineering,Software
Cited by
36 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. A logical approach to graph databases;Journal of Logical and Algebraic Methods in Programming;2024-10
2. Topological querying of music scores;Data & Knowledge Engineering;2024-09
3. Process Query Language: Design, Implementation, and Evaluation;Information Systems;2024-05
4. Multi-model query languages: taming the variety of big data;Distributed and Parallel Databases;2023-05-31
5. Integrating Connection Search in Graph Queries;2023 IEEE 39th International Conference on Data Engineering (ICDE);2023-04