arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2407.20782cs.DB
收藏

基于简单正则表达式的合取正则路径查询并集的有界性

Boundedness for Unions of Conjunctive Regular Path Queries over Simple Regular Expressions

Diego Figueira, S. Krishna, Om Swostik Mishra, Anantha Padmanabha

AI总结:

本文研究了使用简单正则表达式的合取正则路径查询并集(UCRPQs)的有界性问题,证明了其复杂度为$Π^P_2$完全,并可在多项式时间内生成等效的有界查询或最大有界查询。

摘要:

检查递归查询是否能被重写为无递归查询是一个基本的推理任务,被称为有界性问题。本文研究了合取正则路径查询并集(UCRPQs)的有界性问题,这是一种在本体和图数据库查询中被广泛使用的导航式查询语言。UCRPQs的有界性问题是ExpSpace完全的。本文将分析重点放在使用简单正则表达式的UCRPQs上,这类表达式具有很高的实际相关性,并且具有更低的推理复杂度。我们证明了该UCRPQs片段有界性问题的复杂度是$Π^P_2$完全的,并且在可能的情况下,可以在多项式时间内生成等效的有界查询。当查询被证明是无界时,我们还研究了寻找等效的最大有界查询的任务,并证明该任务在$Π^P_2$内是可行的。作为源于我们研究进展的一个具有独立意义的附带结果,我们研究了一种简洁有限自动机的概念,并证明了其成员判定问题属于NP。

英文摘要:

The problem of checking whether a recursive query can be rewritten as query without recursion is a fundamental reasoning task, known as the boundedness problem. Here we study the boundedness problem for Unions of Conjunctive Regular Path Queries (UCRPQs), a navigational query language extensively used in ontology and graph database querying. The boundedness problem for UCRPQs is ExpSpace-complete. Here we focus our analysis on UCRPQs using simple regular expressions, which are of high practical relevance and enjoy a lower reasoning complexity. We show that the complexity for the boundedness problem for this UCRPQs fragment is $Π^P_2$-complete, and that an equivalent bounded query can be produced in polynomial time whenever possible. When the query turns out to be unbounded, we also study the task of finding an equivalent maximally bounded query, which we show to be feasible in $Π^P_2$. As a side result of independent interest stemming from our developments, we study a notion of succinct finite automata and prove that its membership problem is in NP.

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

↑