关于SPARQL的易处理查询计算
On tractable query evaluation for SPARQL
摘要:
尽管在过去的十年中对SPARQL(RDF数据的标准查询语言)的基本属性做了大量的工作,但对这种语言的易处理性的确切限制却知之甚少。特别是对于包含OPTIONAL-操作符的SPARQL查询,即使它是SPARQL最深入研究的特性之一,情况也是如此。我们的工作的目的是提供一个更全面的图片易处理类SPARQL查询。一般来说,SPARQL查询计算在组合复杂度上是PSPACE-完全的,并且对于只包含OPTIONAL-操作符的查询来说,它仍然是PSPACE-困难的。为了改善这种情况,研究集中在“精心设计的SPARQL查询”和他们最近的推广“弱精心设计的SPARQL查询”。对于这两个片段,评估问题在没有投影的情况下是coNP完全的,否则是SigmaP 2完全的。此外,它们已被证明包含在实际设置中询问的大多数SPARQL查询。在本文中,我们研究了听话类弱良好设计的查询参数化的复杂性,考虑等价的制定模式树。在没有投影的情况下,我们给出了易处理类的完整刻画。此外,我们展示了所有易于处理的类的简单的精心设计的模式树的投影的存在下的特征。
英文摘要:
Despite much work within the last decade on foundational properties of SPARQL - the standard query language for RDF data - rather little is known about the exact limits of tractability for this language. In particular, this is the case for SPARQL queries that contain the OPTIONAL-operator, even though it is one of the most intensively studied features of SPARQL. The aim of our work is to provide a more thorough picture of tractable classes of SPARQL queries. In general, SPARQL query evaluation is PSPACE-complete in combined complexity, and it remains PSPACE-hard already for queries containing only the OPTIONAL-operator. To amend this situation, research has focused on "well-designed SPARQL queries" and their recent generalization "weakly well-designed SPARQL queries". For these two fragments the evaluation problem is coNP-complete in the absence of projection and SigmaP2-complete otherwise. Moreover, they have been shown to contain most SPARQL queries asked in practical settings. In this paper, we study tractable classes of weakly well-designed queries in parameterized complexity considering the equivalent formulation as pattern trees. We give a complete characterization of the tractable classes in the case without projection. Moreover, we show a characterization of all tractable classes of simple well-designed pattern trees in the presence of projection.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。