Resilience for Regular Path Queries: Towards a Complexity Classification
Antoine Amarilli, Wolfgang Gatterbauer, Neha Makhija, Mikaël Monet, Martín Muñoz
Key points
From the paper's conclusion- 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.
Abstract
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Property Testing for Recursive Query LanguagesarXiv · 2026
- Testability of Homomorphism Inadmissibility: Property Testing Meets Database TheoryarXiv · 2026
- Containment of Conjunctive Queries with Negative Information over SemiringsarXiv · 2026
- Tunnels: Compressing the Solution Subgraph of Regular Path QueriesarXiv · 2026
- Recognizing Label-Connected GraphsarXiv · 2026
- On the Node-Averaged Complexity of Locally Checkable Problems on TreesJournal of the ACM · 2026