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

SHACL 特性及完全相等性与不相交性测试扩展的表达力

Expressiveness of SHACL Features and Extensions for Full Equality and Disjointness Tests

Bart Bogaerts, Maxime Jakubowski, Jan Van den Bussche

AI总结:

本文研究 SHACL 中相等性测试、不相交性测试、闭包约束及 targets 限制的表达力,证明四个特性均为原始特性,并证明加入完全相等性或不相交性测试可严格增强语言能力。

摘要:

SHACL 是 W3C 提出的一种模式语言,用于表达 RDF 图上的结构约束。近期对该语言的形式化研究揭示了它与描述逻辑之间引人注目的关系。SHACL 表达式可以使用三个在描述逻辑中不太常见的基本特性:相等性测试、不相交性测试和闭包约束。此外,SHACL 的特殊之处在于,它只允许在包含约束的左侧使用一种受限形式的表达式(即所谓的 targets)。本文的目标是清晰地刻画这些特性与限制的影响和表达力。我们证明这四个特性中的每一个都是原始的:使用该特性可以表达不使用该特性就无法表达的布尔查询。我们还证明,只要不使用闭包约束,SHACL 对允许的 targets 所施加的限制是无关紧要的。此外,我们证明,用“完全”版本的相等性测试或不相交性测试来丰富 SHACL,会得到一个严格更强大的语言。

英文摘要:

SHACL is a W3C-proposed schema language for expressing structural constraints on RDF graphs. Recent work on formalizing this language has revealed a striking relationship to description logics. SHACL expressions can use three fundamental features that are not so common in description logics. These features are equality tests; disjointness tests; and closure constraints. Moreover, SHACL is peculiar in allowing only a restricted form of expressions (so-called targets) on the left-hand side of inclusion constraints. The goal of this paper is to obtain a clear picture of the impact and expressiveness of these features and restrictions. We show that each of the four features is primitive: using the feature, one can express boolean queries that are not expressible without using the feature. We also show that the restriction that SHACL imposes on allowed targets is inessential, as long as closure constraints are not used. In addition, we show that enriching SHACL with "full" versions of equality tests, or disjointness tests, results in a strictly more powerful language.

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

↑