Querying for Paths in Graphs using Context-Free Path Queries
Jelle Hellings

TL;DR
This paper introduces path-based semantics for context-free path queries in graphs, enabling more detailed insights into graph structures by considering all or specific paths, and proposes algorithms for efficient query evaluation.
Contribution
It formalizes all-path and single-path query semantics for context-free path queries and develops algorithms for their evaluation, extending beyond traditional relational semantics.
Findings
Path-based semantics provide richer graph insights.
Finite context-free grammars can represent query results.
Feasible evaluation methods for large query results.
Abstract
Navigational queries for graph-structured data, such as the regular path queries and the context-free path queries, are usually evaluated to a relation of node-pairs such that there is a path from to satisfying the conditions of the query. Although this relational query semantics has practical value, we believe that the relational query semantics can only provide limited insight in the structure of the graph data. To address the limits of the relational query semantics, we introduce the all-path query semantics and the single-path query semantics. Under these path-based query semantics, a query is evaluated to all paths satisfying the conditions of the query, or, respectively, to a single such path. While focusing on context-free path queries, we provide a formal framework for evaluating queries on graphs using both path-based query semantics. For the all-path query…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsData Management and Algorithms · Advanced Database Systems and Queries · Graph Theory and Algorithms
