arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.01733cs.DB
收藏

在图上回答约束路径查询

Answering Constraint Path Queries over Graphs

University of Kaiserslautern-Landau(凯泽斯劳滕-兰道大学);MPI-SWS(马克斯·普朗克软件系统研究所)

Heyang Li, Anthony Widjaja Lin, Domagoj Vrgoč

AI总结:

本文提出了一种在属性图上扩展常规路径查询的约束路径查询语言,并利用SMT求解器高效处理约束,通过实证验证展示了方法的可行性。

摘要:

约束是强大的声明性构造,允许用户方便地限制可能范围在无限域中的变量值。在本文中,我们提出了一种在属性图上约束路径查询语言,该语言扩展了常规路径查询(RPQs),并以等式约束和线性实数算术(LRA)约束的形式加入SMT约束。我们为在属性图上评估此类路径查询提供了高效的算法,该算法利用宏状态的优化(包括其他技术)。特别地,我们展示了该算法如何有效地利用高度优化的SMT求解器来解决路径上的约束。我们将在MillenniumDB中实现该算法,这是一个支持属性图查询和GQL的开源图引擎。我们在真实世界场景中的广泛实证评估证明了我们方法的可行性。

英文摘要:

Constraints are powerful declarative constructs that allow users to conveniently restrict variable values that potentially range over an infinite domain. In this paper, we propose a constraint path query language over property graphs, which extends Regular Path Queries (RPQs) with SMT constraints on data attributes in the form of equality constraints and Linear Real Arithmetic (LRA) constraints. We provide efficient algorithms for evaluating such path queries over property graphs, which exploits optimization of macro-states (among others, using theory-specific techniques). In particular, we demonstrate how such an algorithm may effectively utilize highly optimized SMT solvers for resolving such constraints over paths. We implement our algorithm in MillenniumDB, an open-source graph engine supporting property graph queries and GQL. Our extensive empirical evaluation in a real-world setting demonstrates the viability of our approach.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑