arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2505.09198cs.DB
收藏

从RDF图验证到RDF数据集验证的SHACL-DS

From RDF Graph Validation to RDF Dataset Validation with SHACL-DS

Montefiore Institute, University of Liège(列日大学蒙特菲奥尔研究所)

Davan Chiem Dao, Christophe Debruyne

AI总结:

SHACL-DS通过引入Shapes Datasets、Target Graph Declarations和Target Graph Combinations,实现了对RDF数据集多图的声明性验证。

摘要:

Shapes Constraint Language(SHACL)是W3C推荐用于验证单个RDF图的验证语言。这使得SHACL无法验证RDF数据集中的多个(命名)图。现有的解决方法,如图联合或定制预处理,要么会塌缩RDF数据集的结构,要么会破坏SHACL验证的声明性本质。前者会丢失三元组的来源信息;后者将知识隐藏在代码中,约束不自包含且不完全声明性。我们提出了SHACL-DS来解决这个问题。SHACL-DS在SHACL之上提出了一种词汇和算法,用于RDF数据集的验证。SHACL-DS引入了Shapes Datasets、Target Graph Declarations和Target Graph Combinations的概念,使声明性约束能够在RDF数据集的多个图上操作。SHACL-DS还定义了基于SPARQL的约束在验证RDF数据集时的行为。在本文中,我们正式化了SHACL-DS并提供了一个原型实现。

英文摘要:

The Shapes Constraint Language (SHACL) is the W3C Recommendation for validating a single RDF graph. This makes SHACL inadequate for validating data across (named) graphs in an RDF dataset. Existing workarounds, such as graph unions or bespoke preprocessing, either collapse the RDF dataset structure or compromise the declarative nature of SHACL validation. In the former, we lose track of where triples come from; in the latter, knowledge is hidden in the code, and the constraints are not self-contained nor fully declarative. We present SHACL-DS to address this problem. SHACL-DS proposes a vocabulary and an algorithm on top of SHACL for RDF dataset validation. SHACL-DS introduces the concepts of Shapes Datasets, Target Graph Declarations, and Target Graph Combinations, enabling declarative constraints to operate across multiple graphs in an RDF dataset. SHACL-DS also defines the behaviour of SPARQL-based constraints for validating RDF datasets. In this paper, we formalize SHACL-DS and provide a prototype implementation.

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

↑