arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.20946cs.LOcs.DB
收藏

递归形状语言的共同基础

Common Foundations for Recursive Shape Languages

TU Wien(维也纳工业大学);Univ. Lille(里尔大学);Birkbeck, University of London(伦敦大学伯贝克学院);University of Oviedo(奥维耶多大学);University of Bayreuth(拜罗伊特大学);Universita di Napoli Federico II(那不勒斯费德里科二世大学);University of Warsaw(华沙大学);Paderborn University(帕德博恩大学);Free University of Bolzano(波尔扎诺自由大学);University of Białystok(比亚韦斯托克大学)
Shqiponja Ahmetaj, Iovka Boneva, Jan Hidders, Maxime Jakubowski, Jose-Emilio Labra-Gayo, Wim Martens, Fabio Mogavero, Filip Murlak, Cem Okulmus, Ognjen Savković… 展开作者

Shqiponja Ahmetaj, Iovka Boneva, Jan Hidders, Maxime Jakubowski, Jose-Emilio Labra-Gayo, Wim Martens, Fabio Mogavero, Filip Murlak, Cem Okulmus, Ognjen Savković, Mantas Šimkus, Dominik Tomaszuk

AI总结:

本文比较了ShEx和SHACL的递归语义选项,揭示了LFP与GFP在分层片段中的对偶性,并分析了两种语言在不同语义下的验证复杂度与计算成本。

摘要:

随着RDF数据的模式语言日益成熟,人们正尝试通过逻辑编程和描述逻辑中的多样化思想扩展其递归语义。虽然ShEx有基于最大固定点(GFP)的官方递归语义,而SHACL的讨论似乎正朝着最小固定点(LFP)方向收敛。我们通过实际研究发现,ShEx验证器实现GFP,而SHACL验证器更为多样。这种状况导致ShEx和SHACL之间产生张力,因为它们的语义承诺似乎分歧,可能影响互操作性和可预测性。我们通过系统比较主要语义选项,希望吸引理论家和实践者,尤其是工具和标准制定者。我们提出一个统一的形式语义,处理LFP、GFP和支持的模型语义(SMS),阐明其关系并强调LFP和GFP在分层片段中的对偶性。接着,我们探讨SHACL和ShEx所采取的方向在多大程度上兼容。我们显示,尽管ShEx和SHACL似乎朝不同方向发展,但它们包含具有相同表达能力的大量片段。此外,通过上述对偶性原则,这些片段之间存在强对应关系。最后,我们展示了ShEx和SHACL在LFP、GFP和SMS下的数据和联合复杂度完整图景,显示在标准复杂度理论假设下,SMS的计算成本更高。

英文摘要:

As schema languages for RDF data become more mature, we are seeing efforts to extend them with recursive semantics, applying diverse ideas from logic programming and description logics. While ShEx has an official recursive semantics based on greatest fixpoints (GFP), the discussion for SHACL is ongoing and seems to be converging towards least fixpoints (LFP). A practical study we perform shows that, indeed, ShEx validators implement GFP, whereas SHACL validators are more heterogeneous. This situation creates tension between ShEx and SHACL, as their semantic commitments appear to diverge, potentially undermining interoperability and predictability. We aim to clarify this design space by comparing the main semantic options in a principled yet accessible way, hoping to engage both theoreticians and practitioners, especially those involved in developing tools and standards. We present a unifying formal semantics that treats LFP, GFP, and supported model semantics (SMS), clarifying their relationships and highlighting a duality between LFP and GFP on stratified fragments. Next, we investigate to which extent the directions taken by SHACL and ShEx are compatible. We show that, although ShEx and SHACL seem to be going in different directions, they include large fragments with identical expressive power. Moreover, there is a strong correspondence between these fragments through the aforementioned principle of duality. Finally, we present a complete picture of the data and combined complexity of ShEx and SHACL validation under LFP, GFP, and SMS, showing that SMS comes at a higher computational cost under standard complexity-theoretic assumptions.

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

↑