arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.06232cs.DBcs.FLcs.LO
收藏

内射语义下的合取正则路径查询

Conjunctive Regular Path Queries under Injective Semantics

Diego Figueira, Miguel Romero

AI总结:

本文为合取正则路径查询引入原子内射和查询内射两种语义,刻画其求值与包含问题的复杂度,证明原子内射下包含问题不可判定、查询内射下为PSPACE-完全,并分析了主要子类的复杂度。

摘要:

我们为合取正则路径查询(CRPQs)引入内射语义,并研究其基本性质。我们识别出两种此类语义:原子内射语义和查询内射语义,二者均基于内射同态定义。这些语义是将已被广泛研究的简单路径语义下的正则路径查询(RPQs)类自然推广到 CRPQs 类。我们研究它们的求值问题和包含问题,为这些问题提供有用的刻画,并精确确定其复杂度。或许令人惊讶的是,我们证明在原子内射语义下,CRPQs 的包含问题变得不可判定,而在查询内射语义下为 PSPACE-完全,这与标准语义下已知的 EXPSPACE-完全结果形成对比。所使用的技术与标准语义下已知的技术有显著差异,需要针对内射语义量身定制的新工具。我们通过考察每种语义下 CRPQs 主要子类(即合取查询和具有有限语言的 CRPQs)的包含问题,完善了复杂度图景。

英文摘要:

We introduce injective semantics for Conjunctive Regular Path Queries (CRPQs), and study their fundamental properties. We identify two such semantics: atom-injective and query-injective semantics, both defined in terms of injective homomorphisms. These semantics are natural generalizations of the well-studied class of RPQs under simple-path semantics to the class of CRPQs. We study their evaluation and containment problems, providing useful characterizations for them, and we pinpoint the complexities of these problems. Perhaps surprisingly, we show that containment for CRPQs becomes undecidable for atom-injective semantics, and PSPACE-complete for query-injective semantics, in contrast to the known EXPSPACE-completeness result for the standard semantics. The techniques used differ significantly from the ones known for the standard semantics, and new tools tailored to injective semantics are needed. We complete the picture of complexity by investigating, for each semantics, the containment problem for the main subclasses of CRPQs, namely Conjunctive Queries and CRPQs with finite languages.

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

↑