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

关系代数中的开放图形式化

Formalising opencypher Graph Queries in Relational Algebra

József Marton, Gábor Szárnyas, Dániel Varró

摘要:

图形数据库系统越来越适合于存储和处理异构网络类数据集。然而,由于这种系统的新颖性,尚未出现标准数据模型或查询语言。因此,即使在相关技术之间迁移数据集或应用程序,也往往需要大量的手动工作或临时解决方案,从而使用户有可能受到供应商的锁定。为了避免这种威胁,供应商正在努力支持现有的标准语言(例如SQL)或创建标准化语言。在本文中,我们提出了一个正式的规范openCypher,一个高层次的声明图查询语言正在进行的标准化工作。我们引入关系图代数,它通过调整特定于图的运算符来扩展关系运算符,并定义了从核心openCypher结构到该代数的映射。我们提出了一个算法,允许系统编译的openCypher查询。

英文摘要:

Graph database systems are increasingly adapted for storing and processing heterogeneous network-like datasets. However, due to the novelty of such systems, no standard data model or query language has yet emerged. Consequently, migrating datasets or applications even between related technologies often requires a large amount of manual work or ad-hoc solutions, thus subjecting the users to the possibility of vendor lock-in. To avoid this threat, vendors are working on supporting existing standard languages (e.g. SQL) or creating standardised languages. In this paper, we present a formal specification for openCypher, a high-level declarative graph query language with an ongoing standardisation effort. We introduce relational graph algebra, which extends relational operators by adapting graph-specific operators and define a mapping from core openCypher constructs to this algebra. We propose an algorithm that allows systematic compilation of openCypher queries.

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

↑