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

图数据库的模式验证与进化

Schema Validation and Evolution for Graph Databases

Angela Bonifati, Peter Furniss, Alastair Green, Russ Harmer, Eugenia Oshurko, Hannes Voigt

摘要:

尽管商业图数据库已经成熟,但到目前为止,针对属性图(PG)的数据定义语言(DDL)的标准化还没有达成共识。关于PG模式特征的讨论正在许多标准化和社区团体中进行。虽然模式的一些基本方面已经在Neo4j 3.5中出现,但与大多数商业图数据库一样,缺少完全支持,允许以或多或少的灵活性约束属性图。在本文中,我们专注于两个不同的角度来看,PG模式应被认为是描述性的或规定性的,我们将展示如何有可能从一个切换到另一个开发中的应用程序获得更多的稳定性。除了提出简洁的模式的启发Cypher语法,我们展示了如何模式验证可以通过执行PG模式和PG实例之间的同态,以及如何模式的演变可以通过使用图重写操作来描述。我们的原型实现证明了可行性,并显示了需要提供高层次的查询原语,以适应灵活的图形模式的要求,在我们的工作中展示。

英文摘要:

Despite the maturity of commercial graph databases, little consensus has been reached so far on the standardization of data definition languages (DDLs) for property graphs (PG). The discussion on the characteristics of PG schemas is ongoing in many standardization and community groups. Although some basic aspects of a schema are already present in Neo4j 3.5, like in most commercial graph databases, full support is missing allowing to constraint property graphs with more or less flexibility. In this paper, we focus on two different perspectives from which a PG schema should be considered, as being descriptive or prescriptive, and we show how it would be possible to switch from one to another as the application under development gains more stability. Apart from proposing concise schema DDL inspired by Cypher syntax, we show how schema validation can be enforced through homomorphisms between PG schemas and PG instances; and how schema evolution can be described through the use of graph rewriting operations. Our prototypical implementation demonstrates feasibility and shows the need of offering high-level query primitives to accommodate flexible graph schema requirements as showcased in our work.

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

↑