SHACL 约束条件下的一致性查询应答

Shqiponja Ahmetaj, Timo Camillo Merkl, Reinhard Pichler
{"title":"SHACL 约束条件下的一致性查询应答","authors":"Shqiponja Ahmetaj, Timo Camillo Merkl, Reinhard Pichler","doi":"arxiv-2406.16653","DOIUrl":null,"url":null,"abstract":"The Shapes Constraint Language (SHACL) was standardized by the World Wide Web\nas a constraint language to describe and validate RDF data graphs. SHACL uses\nthe notion of shapes graph to describe a set of shape constraints paired with\ntargets, that specify which nodes of the RDF graph should satisfy which shapes.\nAn important question in practice is how to handle data graphs that do not\nvalidate the shapes graph. A solution is to tolerate the non-validation and\nfind ways to obtain meaningful and correct answers to queries despite the\nnon-validation. This is known as consistent query answering (CQA) and there is\nextensive literature on CQA in both the database and the KR setting. We study\nCQA in the context of SHACL for a fundamental fragment of the Semantic Web\nquery language SPARQL. The goal of our work is a detailed complexity analysis\nof CQA for various semantics and possible restrictions on the acceptable\nrepairs. It turns out that all considered variants of the problem are\nintractable, with complexities ranging between the first and third level of the\npolynomial hierarchy.","PeriodicalId":501024,"journal":{"name":"arXiv - CS - Computational Complexity","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-06-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Consistent Query Answering over SHACL Constraints\",\"authors\":\"Shqiponja Ahmetaj, Timo Camillo Merkl, Reinhard Pichler\",\"doi\":\"arxiv-2406.16653\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The Shapes Constraint Language (SHACL) was standardized by the World Wide Web\\nas a constraint language to describe and validate RDF data graphs. SHACL uses\\nthe notion of shapes graph to describe a set of shape constraints paired with\\ntargets, that specify which nodes of the RDF graph should satisfy which shapes.\\nAn important question in practice is how to handle data graphs that do not\\nvalidate the shapes graph. A solution is to tolerate the non-validation and\\nfind ways to obtain meaningful and correct answers to queries despite the\\nnon-validation. This is known as consistent query answering (CQA) and there is\\nextensive literature on CQA in both the database and the KR setting. We study\\nCQA in the context of SHACL for a fundamental fragment of the Semantic Web\\nquery language SPARQL. The goal of our work is a detailed complexity analysis\\nof CQA for various semantics and possible restrictions on the acceptable\\nrepairs. It turns out that all considered variants of the problem are\\nintractable, with complexities ranging between the first and third level of the\\npolynomial hierarchy.\",\"PeriodicalId\":501024,\"journal\":{\"name\":\"arXiv - CS - Computational Complexity\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-06-24\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Computational Complexity\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2406.16653\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Computational Complexity","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2406.16653","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

形状约束语言(SHACL)是万维网(World Wide Web)标准化的一种约束语言,用于描述和验证 RDF 数据图。SHACL 使用形状图的概念来描述一组与目标配对的形状约束,这些约束指定 RDF 图中的哪些节点应该满足哪些形状。一个解决方案是容忍不验证,并想办法在不验证的情况下获得有意义的正确查询答案。这就是所谓的一致性查询回答(CQA),在数据库和 KR 设置中都有大量关于 CQA 的文献。我们针对语义网查询语言 SPARQL 的一个基本片段,在 SHACL 的背景下研究一致性查询应答(CQA)。我们的工作目标是针对各种语义和对可接受修复的可能限制,对 CQA 进行详细的复杂性分析。结果发现,所有考虑过的问题变体都很难解决,复杂度介于多项式层次结构的第一级和第三级之间。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Consistent Query Answering over SHACL Constraints
The Shapes Constraint Language (SHACL) was standardized by the World Wide Web as a constraint language to describe and validate RDF data graphs. SHACL uses the notion of shapes graph to describe a set of shape constraints paired with targets, that specify which nodes of the RDF graph should satisfy which shapes. An important question in practice is how to handle data graphs that do not validate the shapes graph. A solution is to tolerate the non-validation and find ways to obtain meaningful and correct answers to queries despite the non-validation. This is known as consistent query answering (CQA) and there is extensive literature on CQA in both the database and the KR setting. We study CQA in the context of SHACL for a fundamental fragment of the Semantic Web query language SPARQL. The goal of our work is a detailed complexity analysis of CQA for various semantics and possible restrictions on the acceptable repairs. It turns out that all considered variants of the problem are intractable, with complexities ranging between the first and third level of the polynomial hierarchy.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
New Direct Sum Tests Complexity and algorithms for Swap median and relation to other consensus problems Journalists, Emotions, and the Introduction of Generative AI Chatbots: A Large-Scale Analysis of Tweets Before and After the Launch of ChatGPT Almost-catalytic Computation Fast Simulation of Cellular Automata by Self-Composition
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1