arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.05566cs.DBcs.AIcs.PL
收藏

ProGS:属性图形状语言(扩展版)

ProGS: Property Graph Shapes Language (Extended Version)

University of Koblenz-Landau(科布伦茨-兰道大学);University of Stuttgart(斯图加特大学);University of Southampton(南安普顿大学)

Philipp Seifer, Ralf Lämmel, Steffen Staab

AI总结:

本文针对属性图缺乏领域约束验证机制的问题,借鉴 SHACL 设计形状语言 ProGS,定义其形式语义、分析验证复杂性并实现基于回答集编程的原型验证器。

摘要:

属性图构成了用于表示知识图谱的数据模型。它们允许方便地表示事实,包括关于事实的事实,这类事实由处于其他三元组主语或宾语位置的三元组来表示。诸如 Wikidata 之类的知识图谱由多样化的贡献者和一系列来源创建,因此容易出现两类错误。第一类错误是事实的虚假性,属性图通过表示出处和有效性来解决该问题,使三元组作为一阶对象出现在元数据三元组的主语位置。第二类错误是违反领域约束,迄今为止尚未在属性图方面得到解决。在 RDF 表示中,这一错误可以通过 SHACL 或 ShEx 等形状语言来解决,这些语言允许检查图相对于一组领域约束是否有效。借鉴 SHACL 语法和语义定义中的思想,我们为属性图设计了一种形状语言 ProGS,它允许在属性图上表述形状约束,包括其特有构造,例如具有身份的边以及节点和边上的键值标注。我们定义了 ProGS 的形式语义,研究了根据 ProGS 形状集合验证属性图所产生的复杂性,与 SHACL 的相应结果进行了比较,并实现了一个利用回答集编程的原型验证器。

英文摘要:

Property graphs constitute data models for representing knowledge graphs. They allow for the convenient representation of facts, including facts about facts, represented by triples in subject or object position of other triples. Knowledge graphs such as Wikidata are created by a diversity of contributors and a range of sources leaving them prone to two types of errors. The first type of error, falsity of facts, is addressed by property graphs through the representation of provenance and validity, making triples occur as first-order objects in subject position of metadata triples. The second type of error, violation of domain constraints, has not been addressed with regard to property graphs so far. In RDF representations, this error can be addressed by shape languages such as SHACL or ShEx, which allow for checking whether graphs are valid with respect to a set of domain constraints. Borrowing ideas from the syntax and semantics definitions of SHACL, we design a shape language for property graphs, ProGS, which allows for formulating shape constraints on property graphs including their specific constructs, such as edges with identities and key-value annotations to both nodes and edges. We define a formal semantics of ProGS, investigate the resulting complexity of validating property graphs against sets of ProGS shapes, compare with corresponding results for SHACL, and implement a prototypical validator that utilizes answer set programming.

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

↑