arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2307.07354cs.DB
收藏

PG-Triggers:面向属性图的触发器

PG-Triggers: Triggers for Property Graphs

Stefano Ceri, Anna Bernasconi, Alessia Gagliardi, Davide Martinenghi, Luigi Bellomarini, Davide Magnanimi

AI总结:

本文提出 PG-Triggers,为属性图数据库定义触发器语法与语义,并通过 APOC triggers 在 Neo4j 和 Memgraph 上实现,以推动图数据库主动标准制定。

摘要:

图数据库正在成为存储大型知识图谱的主流数据管理技术;当前正在开展大量工作以制定新标准(如图查询语言 GQL),并通过属性、类型、模式和键来丰富这些标准。本文提出 PG-Triggers,一个沿 SQL3 标准方向为属性图添加触发器的完整方案。我们定义了 PG-Triggers 的语法和语义,然后说明如何在 Neo4j(最流行的图数据库之一)之上实现它们。特别地,我们引入了一种从 PG-Triggers 到 Neo4j 的语法导向翻译,该翻译利用了所谓的 APOC triggers;APOC 是一个社区贡献的库,用于增强 Neo4j 支持的 Cypher 查询语言。我们还讨论了 Memgraph,并表明我们的方法以类似方式适用于该系统。我们通过一个受 COVID-19 疫情启发的生命科学应用来展示 PG-Triggers 的用法。本文的主要目标是在反应式图管理尚处于起步阶段时,将图数据库的主动数据库标准作为一等公民引入,从而尽量减少向完整标准提案转化的工作量。

英文摘要:

Graph databases are emerging as the leading data management technology for storing large knowledge graphs; significant efforts are ongoing to produce new standards (such as the Graph Query Language, GQL), as well as enrich them with properties, types, schemas, and keys. In this article, we introduce PG-Triggers, a complete proposal for adding triggers to Property Graphs, along the direction marked by the SQL3 Standard. We define the syntax and semantics of PG-Triggers and then illustrate how they can be implemented on top of Neo4j, one of the most popular graph databases. In particular, we introduce a syntax-directed translation from PG-Triggers into Neo4j, which makes use of the so-called {\it APOC triggers}; APOC is a community-contributed library for augmenting the Cypher query language supported by Neo4j. We also cover Memgraph, and show that our approach applies to this system in a similar way. We illustrate the use of PG-Triggers through a life science application inspired by the COVID-19 pandemic. The main objective of this article is to introduce an active database standard for graph databases as a first-class citizen at a time when reactive graph management is in its infancy, so as to minimize the conversion efforts towards a full-fledged standard proposal.

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

↑