Context-Free Path Querying by Matrix Multiplication
Rustam Azimov, Semyon Grigorev

TL;DR
This paper introduces a GPU-accelerated matrix multiplication approach for efficient evaluation of context-free path queries in large graph databases, improving performance over existing algorithms.
Contribution
It presents a novel algorithm that reduces context-free path query evaluation to matrix transitive closure computation, enabling GPU acceleration.
Findings
Algorithm significantly speeds up query processing on large graphs.
GPU-based implementation outperforms traditional CPU algorithms.
Applicable to various graph data models and query semantics.
Abstract
Graph data models are widely used in many areas, for example, bioinformatics, graph databases. In these areas, it is often required to process queries for large graphs. Some of the most common graph queries are navigational queries. The result of query evaluation is a set of implicit relations between nodes of the graph, i.e. paths in the graph. A natural way to specify these relations is by specifying paths using formal grammars over the alphabet of edge labels. An answer to a context-free path query in this approach is usually a set of triples (A, m, n) such that there is a path from the node m to the node n, whose labeling is derived from a non-terminal A of the given context-free grammar. This type of queries is evaluated using the relational query semantics. Another example of path query semantics is the single-path query semantics which requires presenting a single path from the…
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsGraph Theory and Algorithms · Algorithms and Data Compression · DNA and Biological Computing
