SHACL2FOL:面向SHACL决策问题的一阶逻辑工具包
SHACL2FOL: An FOL Toolkit for SHACL Decision Problems
AI总结:
本文提出SHACL2FOL工具,将SHACL文档自动翻译为一阶逻辑,并结合E和Vampire定理证明器求解可满足性与包含问题,同时支持图有效性验证,以促进SHACL的理论研究与实践应用。
摘要:
近期关于形状约束语言(SHACL)——一项用于验证RDF图的W3C规范——的研究,依赖于将该语言翻译为一阶逻辑,以便为验证、包含和可满足性决策问题提供形式化基础的解决方案。延续这一研究方向,我们引入了SHACL2FOL,这是第一个自动工具,它(i)将SHACL文档翻译为一阶逻辑语句,并且(ii)计算可满足性和包含这两个静态分析问题的答案;它还允许测试一个图相对于一组约束的有效性。通过与现有定理证明器(如E和Vampire)集成,该工具计算上述决策问题的答案,并以标准TPTP格式输出相应的一阶逻辑理论。我们相信该工具能够通过提供SHACL语义的自动一阶逻辑解释,为SHACL的进一步理论研究做出贡献,同时也通过提供静态分析能力来帮助SHACL实践者创建和管理SHACL约束,从而使其受益。
英文摘要:
Recent studies on the Shapes Constraint Language (SHACL), a W3C specification for validating RDF graphs, rely on translating the language into first-order logic in order to provide formally-grounded solutions to the validation, containment and satisfiability decision problems. Continuing on this line of research, we introduce SHACL2FOL, the first automatic tool that (i) translates SHACL documents into FOL sentences and (ii) computes the answer to the two static analysis problems of satisfiability and containment; it also allow to test the validity of a graph with respect to a set of constraints. By integrating with existing theorem provers, such as E and Vampire, the tool computes the answer to the aforementioned decision problems and outputs the corresponding first-order logic theories in the standard TPTP format. We believe this tool can contribute to further theoretical studies of SHACL, by providing an automatic first-order logic interpretation of its semantics, while also benefiting SHACL practitioners, by supplying static analysis capabilities to help the creation and management of SHACL constraints.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。