• 文献检索
  • 文档翻译
  • 深度研究
  • 学术资讯
  • Suppr Zotero 插件Zotero 插件
  • 邀请有礼
  • 套餐&价格
  • 历史记录
应用&插件
Suppr Zotero 插件Zotero 插件浏览器插件Mac 客户端Windows 客户端微信小程序
定价
高级版会员购买积分包购买API积分包
服务
文献检索文档翻译深度研究API 文档MCP 服务
关于我们
关于 Suppr公司介绍联系我们用户协议隐私条款
关注我们

Suppr 超能文献

核心技术专利:CN118964589B侵权必究
粤ICP备2023148730 号-1Suppr @ 2026

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验

弱设计良好的SPARQL的复杂性与表达能力

Complexity and Expressive Power of Weakly Well-Designed SPARQL.

作者信息

Kaminski Mark, Kostylev Egor V

机构信息

Department of Computer Science, University of Oxford, Oxford, UK.

出版信息

Theory Comput Syst. 2018;62(4):772-809. doi: 10.1007/s00224-017-9802-9. Epub 2017 Aug 14.

DOI:10.1007/s00224-017-9802-9
PMID:31258387
原文链接:https://pmc.ncbi.nlm.nih.gov/articles/PMC6560828/
Abstract

SPARQL is the standard query language for RDF data. The distinctive feature of SPARQL is the OPTIONAL operator, which allows for partial answers when complete answers are not available due to lack of information. However, optional matching is computationally expensive-query answering is PSPACE-complete. The well-designed fragment of SPARQL achieves much better computational properties by restricting the use of optional matching-query answering becomes coNP-complete. On the downside, well-designed SPARQL captures far from all real-life queries-in fact, only about half of the queries over DBpedia that use OPTIONAL are well-designed. In the present paper, we study queries outside of well-designed SPARQL. We introduce the class of weakly well-designed queries that subsumes well-designed queries and includes most common meaningful non-well-designed queries: our analysis shows that the new fragment captures over 99% of DBpedia queries with OPTIONAL. At the same time, query answering for weakly well-designed SPARQL remains coNP-complete, and our fragment is in a certain sense maximal for this complexity. We show that the fragment's expressive power is strictly in-between well-designed and full SPARQL. Finally, we provide an intuitive normal form for weakly well-designed queries and study the complexity of containment and equivalence.

摘要

SPARQL是用于RDF数据的标准查询语言。SPARQL的独特之处在于OPTIONAL运算符,当由于信息不足而无法获得完整答案时,该运算符允许给出部分答案。然而,可选匹配在计算上代价高昂——查询回答是PSPACE完全问题。经过精心设计的SPARQL片段通过限制可选匹配的使用实现了更好的计算属性——查询回答变为coNP完全问题。不利的一面是,精心设计的SPARQL远不能涵盖所有实际查询——事实上,在DBpedia上使用OPTIONAL的查询中,只有大约一半是精心设计的。在本文中,我们研究精心设计的SPARQL之外的查询。我们引入了弱精心设计查询类,它包含精心设计的查询,并包括大多数常见的有意义的非精心设计查询:我们的分析表明,新片段涵盖了超过99%的带有OPTIONAL的DBpedia查询。同时,弱精心设计的SPARQL的查询回答仍然是coNP完全问题,并且我们的片段在这种复杂度方面在某种意义上是最大的。我们表明,该片段的表达能力严格介于精心设计的SPARQL和完整的SPARQL之间。最后,我们为弱精心设计的查询提供了一种直观的范式,并研究了包含和等价的复杂度。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7ee/6560828/d024a6c4cffd/224_2017_9802_Fig7_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7ee/6560828/a3aa07572fe3/224_2017_9802_Fig1_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7ee/6560828/5ef6d6709b41/224_2017_9802_Fig2_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7ee/6560828/207d83822825/224_2017_9802_Fig3_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7ee/6560828/77806f3d52fa/224_2017_9802_Fig4_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7ee/6560828/9d515d87c61b/224_2017_9802_Fig5_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7ee/6560828/5d1dd6389403/224_2017_9802_Fig6_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7ee/6560828/d024a6c4cffd/224_2017_9802_Fig7_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7ee/6560828/a3aa07572fe3/224_2017_9802_Fig1_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7ee/6560828/5ef6d6709b41/224_2017_9802_Fig2_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7ee/6560828/207d83822825/224_2017_9802_Fig3_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7ee/6560828/77806f3d52fa/224_2017_9802_Fig4_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7ee/6560828/9d515d87c61b/224_2017_9802_Fig5_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7ee/6560828/5d1dd6389403/224_2017_9802_Fig6_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/a7ee/6560828/d024a6c4cffd/224_2017_9802_Fig7_HTML.jpg

相似文献

1
Complexity and Expressive Power of Weakly Well-Designed SPARQL.弱设计良好的SPARQL的复杂性与表达能力
Theory Comput Syst. 2018;62(4):772-809. doi: 10.1007/s00224-017-9802-9. Epub 2017 Aug 14.
2
Processing SPARQL queries with regular expressions in RDF databases.在 RDF 数据库中使用正则表达式处理 SPARQL 查询。
BMC Bioinformatics. 2011 Mar 29;12 Suppl 2(Suppl 2):S6. doi: 10.1186/1471-2105-12-S2-S6.
3
Characterizing Tractability of Simple Well-Designed Pattern Trees with Projection.通过投影表征简单设计良好的模式树的可处理性。
Theory Comput Syst. 2021;65(1):3-41. doi: 10.1007/s00224-020-10002-z. Epub 2020 Sep 10.
4
BioFed: federated query processing over life sciences linked open data.BioFed:基于生命科学关联开放数据的联邦查询处理
J Biomed Semantics. 2017 Mar 15;8(1):13. doi: 10.1186/s13326-017-0118-0.
5
IDSM ChemWebRDF: SPARQLing small-molecule datasets.IDSM化学网络资源描述框架:对小分子数据集进行SPARQL查询
J Cheminform. 2021 May 12;13(1):38. doi: 10.1186/s13321-021-00515-1.
6
SPANG: a SPARQL client supporting generation and reuse of queries for distributed RDF databases.SPANG:一个支持为分布式RDF数据库生成和重用查询的SPARQL客户端。
BMC Bioinformatics. 2017 Feb 8;18(1):93. doi: 10.1186/s12859-017-1531-1.
7
NLIMED: Natural Language Interface for Model Entity Discovery in Biosimulation Model Repositories.NLIMED:生物模拟模型存储库中模型实体发现的自然语言接口。
Front Physiol. 2022 Feb 24;13:820683. doi: 10.3389/fphys.2022.820683. eCollection 2022.
8
A hands-on introduction to querying evolutionary relationships across multiple data sources using SPARQL.通过SPARQL跨多个数据源查询进化关系的实践指南。
F1000Res. 2019 Oct 29;8:1822. doi: 10.12688/f1000research.21027.2. eCollection 2019.
9
NCBI2RDF: enabling full RDF-based access to NCBI databases.NCBI2RDF:实现对 NCBI 数据库的完全基于 RDF 的访问。
Biomed Res Int. 2013;2013:983805. doi: 10.1155/2013/983805. Epub 2013 Jul 28.
10
Bio-SODA UX: enabling natural language question answering over knowledge graphs with user disambiguation.生物苏打水用户体验:通过用户消歧实现知识图谱上的自然语言问答。
Distrib Parallel Databases. 2022;40(2-3):409-440. doi: 10.1007/s10619-022-07414-w. Epub 2022 Jul 16.