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

Trav-SHACL:有效验证SHACL约束网络

Trav-SHACL: Efficiently Validating Networks of SHACL Constraints

Mónica Figuera, Philipp D. Rohde, Maria-Esther Vidal

摘要:

知识图谱已经成为Web数据的表达数据结构。知识图谱的潜力和对生态系统的需求,以促进其创建,策展和理解,在不同的领域得到了证实,例如,生物医药XML约束语言(SHACL)是W3C推荐的RDF知识图谱完整性约束语言。SHACL使知识图谱的质量评估成为可能,在现实世界的场景中迅速获得关注。SHACL将完整性约束建模为形状网络,其中形状包含由相同实体填充的约束。SHACL形状模式的验证在验证期间可能面临易处理性问题。为了促进全面采用,需要有效的计算方法。我们提出了Trav-SHACL,SHACL引擎能够规划的遍历和执行的形状模式的方式,无效的实体检测早期和不必要的验证被最小化。Trav-SHACL重新排序形状模式中的形状,以实现有效的验证,并重写目标和约束查询,以快速检测无效实体。Trav-SHACL在27个测试平台上对多达34M个三元组的知识图谱进行了经验评估。我们的实验结果表明,Trav-SHACL表现出高性能逐渐减少验证时间的一个因素,高达28.93相比,最先进的。

英文摘要:

Knowledge graphs have emerged as expressive data structures for Web data. Knowledge graph potential and the demand for ecosystems to facilitate their creation, curation, and understanding, is testified in diverse domains, e.g., biomedicine. The Shapes Constraint Language (SHACL) is the W3C recommendation language for integrity constraints over RDF knowledge graphs. Enabling quality assements of knowledge graphs, SHACL is rapidly gaining attention in real-world scenarios. SHACL models integrity constraints as a network of shapes, where a shape contains the constraints to be fullfiled by the same entities. The validation of a SHACL shape schema can face the issue of tractability during validation. To facilitate full adoption, efficient computational methods are required. We present Trav-SHACL, a SHACL engine capable of planning the traversal and execution of a shape schema in a way that invalid entities are detected early and needless validations are minimized. Trav-SHACL reorders the shapes in a shape schema for efficient validation and rewrites target and constraint queries for the fast detection of invalid entities. Trav-SHACL is empirically evaluated on 27 testbeds executed against knowledge graphs of up to 34M triples. Our experimental results suggest that Trav-SHACL exhibits high performance gradually and reduces validation time by a factor of up to 28.93 compared to the state of the art.

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

↑