计算机科学 > 数据库
[提交于 2023年12月19日]
标题:GLL-based Context-Free Path Querying for Neo4j
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We propose GLL-based context-free path querying algorithm which handles queries in Extended Backus-Naur Form (EBNF) using Recursive State Machines (RSM). Utilization of EBNF allows one to combine traditional regular expressions and mutually recursive patterns in constraints natively. The proposed algorithm solves both the reachability-only and the all-paths problems for the all-pairs and the multiple sources cases. The evaluation on realworld graphs demonstrates that utilization of RSMs increases performance of query evaluation. Being implemented as a stored procedure for Neo4j, our solution demonstrates better performance than a similar solution for RedisGraph. Performance of our solution of regular path queries is comparable with performance of native Neo4j solution, and in some cases our solution requires significantly less memory.
提交历史
来自:Semyon Grigorev[v1] 2023年12月19日 星期二 08:05:27 UTC