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

属性图转换

Transforming Property Graphs

Angela Bonifati, Filip Murlak, Yann Ramusat

AI总结:

该研究提出基于GPC的属性图转换声明式框架,证明相关冲突检查与可满足性问题为PSpace完全,在openCypher中实现并验证其相比临时脚本的实用优势。

摘要:

本文研究了一种用于指定属性图转换的声明式框架。为表达此类转换,我们采用以图模式演算(Graph Pattern Calculus,GPC)表述的查询,GPC是对近期标准图查询语言GQL与SQL/PGQ共同核心的抽象。与以往仅针对图拓扑结构的框架不同,我们重点关注数据值对转换的影响——这对满足用户需求至关重要。具体而言,我们研究了检查转换规则是否未为属性指定冲突值的复杂度,并证明该问题与GPC的可满足性问题密切相关。我们证实这两个问题均为PSpace完全问题。我们已在openCypher中实现了该框架。通过利用现有的数据集成基准并对其进行调整以适配我们的需求,我们展示了框架的灵活性与可用性。我们还通过对不同实现变体进行全面比较,评估了运行时检测潜在不一致所产生的开销,以及多种优化工具在基于Cypher的图数据库中的影响。实验研究结果表明,与临时编写的转换脚本相比,我们的框架在属性图转换方面展现出显著的实际优势。

英文摘要:

In this paper, we study a declarative framework for specifying transformations of property graphs. In order to express such transformations, we leverage queries formulated in the Graph Pattern Calculus (GPC), which is an abstraction of the common core of recent standard graph query languages, GQL and SQL/PGQ. In contrast to previous frameworks targeting graph topology only, we focus on the impact of data values on the transformations--which is crucial in addressing users needs. In particular, we study the complexity of checking if the transformation rules do not specify conflicting values for properties, and we show this is closely related to the satisfiability problem for GPC. We prove that both problems are PSpace-complete. We have implemented our framework in openCypher. We show the flexibility and usability of our framework by leveraging an existing data integration benchmark, adapting it to our needs. We also evaluate the incurred overhead of detecting potential inconsistencies at run-time, and the impact of several optimization tools in a Cypher-based graph database, by providing a comprehensive comparison of different implementation variants. The results of our experimental study show that our framework exhibits large practical benefits for transforming property graphs compared to ad-hoc transformation scripts.

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

↑