arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.09411cs.DB
收藏

正则路径查询的鲁棒性:迈向复杂性分类

Resilience for Regular Path Queries: Towards a Complexity Classification

Univ. Lille, Inria, CNRS, Centrale Lille, UMR 9189 CRIStAL(里尔大学、法国国家信息与自动化研究所、法国国家科学研究中心、里尔中央理工学院);Northeastern University(东北大学);University of Massachusetts, Amherst(马萨诸塞大学阿默斯特分校);CNRS, Centre de Recherche en Informatique de Lens, UMR 8188(法国国家科学研究中心、勒恩信息学研究中心);Millennium Institute for Foundational Research on Data (IMFD)(数据基础研究千年研究所)

Antoine Amarilli, Wolfgang Gatterbauer, Neha Makhija, Mikaël Monet, Martín Muñoz

AI总结:

本文研究了正则路径查询在图数据库中的鲁棒性计算问题,发现局部语言可处理而非局部语言则存在复杂性挑战。

摘要:

对于查询和输入集或袋数据库的鲁棒性问题,是计算从数据库中移除最少数量的事实以使查询变为假的。在本文中,我们研究如何计算正则路径查询(RPQ)在图数据库上的鲁棒性。我们的目标是确定哪些正则语言L使得计算由L构建的存在性量化的RPQ的鲁棒性是可行的。我们证明,在这种意义上计算鲁棒性对于所有由所谓的局部语言定义的RPQ都是可行的(甚至在组合复杂性下)。相反,我们证明对于由以下语言类定义的RPQ,在消除冗余词后,在数据复杂性下是困难的:所有包含重复字母的有限语言,以及所有具有特定类型的反例不为局部的语言(我们称之为四腿语言)。后者特别包括所有非星形语言。我们的结果也表明,所有非局部语言如果有所谓的中性字母则是困难的。我们最后展示了一些非局部语言的可处理性,即所谓的双色链语言和一悬语言,并突出了一些向全面二元性迈进的剩余障碍。

英文摘要:

The resilience problem for a query and an input set or bag database is to compute the minimum number of facts to remove from the database to make the query false. In this paper, we study how to compute the resilience of Regular Path Queries (RPQs) over graph databases. Our goal is to characterize the regular languages L for which it is tractable to compute the resilience of the existentially-quantified RPQ built from L. We show that computing the resilience in this sense is tractable (even in combined complexity) for all RPQs defined from so-called local languages. By contrast, we show hardness in data complexity for RPQs defined from the following language classes (after reducing the languages to eliminate redundant words): all finite languages featuring a word containing a repeated letter, and all languages featuring a specific kind of counterexample to being local (which we call four-legged languages). The latter include in particular all languages that are not star-free. Our results also imply a dichotomy on all languages with a so-called neutral letter. We last show tractability for some classes of non-local languages, namely the so-called bipartite chain languages and one-dangling languages, and highlight some remaining obstacles towards a full dichotomy.

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

↑