递归SHACL的可满足性与包容性
Satisfiability and Containment of Recursive SHACL
摘要:
XML约束语言(SHACL)是最近的W3C推荐语言,用于通过验证图上的某些形状来验证RDF数据。以前的工作主要集中在验证问题和标准的决策问题的可满足性和包容性,设计和优化的目的至关重要,只调查了简化版本的SHACL。此外,SHACL规范没有定义递归定义的约束的语义,这导致在文献中提出了几种替代的递归语义。这些不同的语义和重要的决策问题之间的相互作用还没有被调查。在这篇文章中,我们提供了一个全面的研究SHACL的不同功能,通过提供一个新的一阶语言,称为SCL,准确地捕捉SHACL的语义翻译。我们还提出了MSCL,SCL的二阶扩展,它使我们能够定义,在一个单一的形式逻辑框架,SHACL的主要递归语义。在这种语言中,我们还提供了一个有效的治疗过滤器的限制,往往被忽视的相关文献。使用这种逻辑,我们提供了一个详细的地图(联合国)的可判定性和复杂性的结果,满足性和包容性的决定问题,为不同的SHACL片段。值得注意的是,我们证明了这两个问题是不可判定的完整的语言,但我们提出了可判定的组合有趣的功能,即使在面对递归。
英文摘要:
The Shapes Constraint Language (SHACL) is the recent W3C recommendation language for validating RDF data, by verifying certain shapes on graphs. Previous work has largely focused on the validation problem and the standard decision problems of satisfiability and containment, crucial for design and optimisation purposes, have only been investigated for simplified versions of SHACL. Moreover, the SHACL specification does not define the semantics of recursively-defined constraints, which led to several alternative recursive semantics being proposed in the literature. The interaction between these different semantics and important decision problems has not been investigated yet. In this article we provide a comprehensive study of the different features of SHACL, by providing a translation to a new first-order language, called SCL, that precisely captures the semantics of SHACL. We also present MSCL, a second-order extension of SCL, which allows us to define, in a single formal logic framework, the main recursive semantics of SHACL. Within this language we also provide an effective treatment of filter constraints which are often neglected in the related literature. Using this logic we provide a detailed map of (un)decidability and complexity results for the satisfiability and containment decision problems for different SHACL fragments. Notably, we prove that both problems are undecidable for the full language, but we present decidable combinations of interesting features, even in the face of recursion.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。