Tool SPECS implements an efficient automated approach for reasoning about the SPARQL query containment problem. In this paper, we prove the correctness of this approach. We give precise semantics of the core subset of SPARQL language. We briefly discuss the procedure used for reducing the query containment problem into a formal logical framework. We prove that such reduction is both sound and complete for conjunctive queries, and also for some important cases of non-conjunctive queries containing operator union, operator optional, and subqueries. Soundness and completeness proofs are considered in both containment and subsumption forms.
翻译:SPECS 工具 SPECS 实施高效的自动化方法来解释 SPARQL 查询封存问题。 在本文中,我们证明了这一方法的正确性。我们给出了SPARQL 语言核心子集的精确语义。我们简要地讨论了将查询封存问题降低到正式逻辑框架的程序。我们证明,这种削减既合理又完整,既可用于同时查询,也可用于一些重要的非同时查询,包括操作者联合、操作者可选和子组。 正确性和完整性证明在封存和子包采表格中都得到了考虑。