paperbot · PL 论文追踪

全部论文 待读 收藏

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

SHACL 特性的表达力及面向完全相等与不相交测试的扩展
LMCS vol.Volume 20, Issue 12024匹配度 2/10 · 该论文研究 SHACL 语言与描述逻辑的表达力,属于形式语言/逻辑与本体建模方向,与用户关注的静态分析、LLM/Agent、浮点程序分析及贝叶斯程序分析均无直接交集。虽然涉及形式化方法,但研究对象和应用场景与用户研究画像差异较大。引用 1 inbox
Bart Bogaerts, Maxime Jakubowski, Jan Van den Bussche
crossref: 2026-09-10

AI 速览

一句话:证明 SHACL 的相等测试、不相交测试、闭包约束与目标限制各自本原,且完全相等/不相交扩展严格增强表达力。

本文研究 W3C 提出的 RDF 图结构约束模式语言 SHACL 的表达力。近期工作将 SHACL 形式化,并揭示其与描述逻辑的密切联系。SHACL 表达式支持相等测试、不相交测试和闭包约束,且只允许受限形式的目标出现在包含约束左侧。为厘清这些特性与限制的影响,作者从表达力角度进行分析,证明这四个特性都是本原的:使用任一特性都能表达不使用时无法表达的布尔查询。论文还证明,只要不使用闭包约束,SHACL 对目标侧的限制实际上是不必要的。此外,将相等测试或不相交测试扩展为完全版本,会使语言表达力严格增强。

问题
SHACL 中的相等测试、不相交测试、闭包约束以及包含约束左侧仅允许受限目标这一限制,各自对语言表达力有何影响?
方法
通过形式化表达力比较,构造仅依赖某一特性的布尔查询,以证明各特性的本原性,并分析目标限制及完全相等/不相交扩展的表达力后果。
评估
以理论证明和可表达性区分展示:四个特性均能表达否则不可表达的布尔查询;目标限制在不使用闭包约束时非本质;完全相等或不相交扩展严格更强。
原文摘要(Abstract)

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.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot2775,
  title = {Expressiveness of SHACL Features and Extensions for Full Equality and Disjointness Tests},
  author = {Bart Bogaerts and Maxime Jakubowski and Jan Van den Bussche},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 20, Issue 1},
  year = {2024},
  doi = {10.46298/lmcs-20(1:16)2024}
}