Both the notion of Property Graphs (PG) and the Resource Description Framework (RDF) are commonly used models for representing graph-shaped data. While there exist some system-specific solutions to convert data from one model to the other, these solutions are not entirely compatible with one another and none of them appears to be based on a formal foundation. In fact, for the PG model, there does not even exist a commonly agreed-upon formal definition. The aim of this document is to reconcile both models formally. To this end, the document proposes a formalization of the PG model and introduces well-defined transformations between PGs and RDF. As a result, the document provides a basis for the following two innovations: On one hand, by implementing the RDF-to-PG transformations defined in this document, PG-based systems can enable their users to load RDF data and make it accessible in a compatible, system-independent manner using, e.g., the graph traversal language Gremlin or the declarative graph query language Cypher. On the other hand, the PG-to-RDF transformation in this document enables RDF data management systems to support compatible, system-independent queries over the content of Property Graphs by using the standard RDF query language SPARQL. Additionally, this document represents a foundation for systematic research on relationships between the two models and between their query languages.
翻译:属性图(PG)概念和资源描述框架(RDF)概念都是用来代表图形形数据的常用模型。 虽然存在将数据从一个模型转换为另一个模型的某些系统特定解决方案,但这些解决方案并不完全兼容,而且似乎没有一个基于正式基础。事实上,对于PG模式,甚至没有共同商定的正式定义。本文件的目的是正式调和两种模型。为此,本文件提议将PG模式正规化,并引入PG和RDF之间定义明确的转换。结果,该文件为以下两种创新提供了基础:一方面,通过实施本文件定义的RDF-PG-PG转换,基于PG的系统系统系统系统系统系统系统能够使其用户装入RDF数据,并能够以兼容、系统独立的方式将数据输入。为此,本文件提议将PG-RDF转换为PF 系统,从而能够使用该系统化的 RDFS-L 数据库数据库, 支持该系统化的系统化数据库数据库数据库数据库的系统数据库,从而支持这一系统化的系统化的SDFS-DF数据库数据库, 数据库的系统查询关系。