我们提出了基于GLL的上下文无关路径查询算法,该算法使用递归状态机(Recursive State Machines, RSM)处理扩展巴科斯范式(Extended Backus-Naur Form, EBNF)格式的查询。EBNF的使用使得用户能够在约束中原生结合传统正则表达式与互递归模式。该算法可求解全点对和多源场景下的仅可达性问题及全路径问题。在真实世界图上的评估表明,RSM的使用提升了查询评估性能。我们的方案作为Neo4j的存储过程实现,其性能优于RedisGraph的同类方案。在正则路径查询方面,我们方案的性能与Neo4j原生方案相当,且在部分场景下内存需求显著更低。
英文摘要:
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.
The Sticky Path to Expressive Querying: Decidability of Navigational Queries under Existential Rules
TU Dresden(德累斯顿工业大学);University of Wrocław(弗罗茨瓦夫大学);Center for Scalable Data Analytics and Artificial Intelligence Dresden/Leipzig(德累斯顿/莱比锡可扩展数据分析与人工智能中心)
GP-Tree: An in-memory spatial index combining adaptive grid cells with a prefix tree for efficient spatial querying
School of Computer and Information Engineering, Henan University(河南大学计算机与信息工程学院);State Key Laboratory of Information Engineering in Surveying, Mapping and Remote Sensing, Wuhan University(武汉大学测绘遥感信息工程国家重点实验室);State Key Laboratory of Spatial Datum, College of Remote Sensing and Geoinformatics Engineering,Faculty of Geographical Science and Engineering, Henan University(河南大学地理与环境学院遥感与地理信息工程学院空间基准国家重点实验室);Henan Industrial Technology Academy of Spatio-Temporal Big Data, Henan University(河南大学时空大数据产业技术研究院)
RelationalAI(关系人工智能);Pontificia Universidad Católica de Chile(智利天主教 Pontificia 大学);University of Edinburgh(爱丁堡大学);IRIF, Université Paris-Cité(IRIF,巴黎西岱大学);University of Bayreuth(拜罗伊特大学)
University of Bamberg(班贝格大学);Leipzig University(莱比锡大学);ScaDS.AI Center Dresden/Leipzig(德累斯顿/莱比锡可扩展数据分析与人工智能中心);LIRMM(法国朗格多克信息、机器人与微电子实验室);Inria(法国国家信息与自动化研究所);University of Montpellier(蒙彼利埃大学);CNRS(法国国家科学研究中心);University of Warsaw(华沙大学)