桥接图数据模型:作为有向无环图的 RDF、RDF-star 与属性图
Bridging graph data models: RDF, RDF-star, and property graphs as directed acyclic graphs
AI总结:
本文提出 Statement Graphs 统一图数据模型,以有向无环图形式建立 RDF、LPG 间双向映射,并通过 1G Playground 支持 SPARQL 与 Gremlin 跨模型查询。
摘要:
如今,图数据库用户面临两种技术栈之间的选择:一方面,资源描述框架(Resource Description Framework,RDF)是一种内置语义的数据模型,最初由 W3C 开发,用于在 Web 上交换互联数据;另一方面,带标签属性图(Labeled Property Graphs,LPG)面向高效图处理,并在开发者和工程社区中拥有深厚根基。这两种模型从不同的抽象层看待图(RDF 中是三元组,而 LPG 中是连接顶点并带有内联属性的边),至少在表面上呈现出不同特性,配备不同的查询语言,并嵌入各自的软件生态系统。在这篇短论文中,我们提出一种名为 Statement Graphs 的新型统一图数据模型,它结合了 RDF 与 LPG 的特征,并在不同层面实现互操作性:它(a)能够将 RDF 和 LPG 数据作为单一、互联的图进行管理;(b)支持使用任意 RDF 或 LPG 查询语言对集成后的图进行查询;同时(c)为独立于图技术栈的数据交换机制和格式扫清道路。我们将新模型形式化为有向无环图,并勾勒出 RDF、LPG 与 Statement Graphs 之间的双向映射体系。我们的映射隐式定义了 RDF 和 LPG 查询语言在统一数据模型上的读取查询语义,从而为图用户提供灵活性,使其能够在自身图用例中使用所选查询语言。作为这些想法的概念验证,我们还介绍了 1G Playground:这是一个基于 Statement Graphs 概念构建的内存 DBMS,便于同时存储 RDF 和 LPG 数据,并允许使用 SPARQL 和 Gremlin 进行跨模型查询。
英文摘要:
Graph database users today face a choice between two technology stacks: the Resource Description Framework (RDF), on one side, is a data model with built-in semantics that was originally developed by the W3C to exchange interconnected data on the Web; on the other side, Labeled Property Graphs (LPGs) are geared towards efficient graph processing and have strong roots in developer and engineering communities. The two models look at graphs from different abstraction layers (triples in RDF vs. edges connecting vertices with inlined properties in LPGs), expose - at least at the surface - distinct features, come with different query languages, and are embedded into their own software ecosystems. In this short paper, we introduce a novel unifying graph data model called Statement Graphs, which combines the traits of both RDF and LPG and achieves interoperability at different levels: it (a) provides the ability to manage RDF and LPG data as a single, interconnected graph, (b) supports querying over the integrated graph using any RDF or LPG query language, while (c) clearing the way for graph stack independent data exchange mechanisms and formats. We formalize our new model as directed acyclic graphs and sketch a system of bidirectional mappings between RDF, LPGs, and Statement Graphs. Our mappings implicitly define read query semantics for RDF and LPGs query languages over the unified data model, thus providing graph users with the flexibility to use the query language of their choice for their graph use cases. As a proof of concept for our ideas, we also present the 1G Playground; an in-memory DBMS built on the concepts of Statement Graphs, which facilitates storage of both RDF and LPG data, and allows for cross-model querying using both SPARQL and Gremlin.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。