Resilience for Regular Path Queries: Towards a Complexity Classification

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Amarilli, Antoine, Gatterbauer, Wolfgang, Makhija, Neha, Monet, Mikaël, Muñoz, Martín
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909944556552192
author Amarilli, Antoine
Gatterbauer, Wolfgang
Makhija, Neha
Monet, Mikaël
Muñoz, Martín
author_facet Amarilli, Antoine
Gatterbauer, Wolfgang
Makhija, Neha
Monet, Mikaël
Muñoz, Martín
contents 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 hardness for all non-local 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.
format Preprint
id arxiv_https___arxiv_org_abs_2412_09411
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Resilience for Regular Path Queries: Towards a Complexity Classification
Amarilli, Antoine
Gatterbauer, Wolfgang
Makhija, Neha
Monet, Mikaël
Muñoz, Martín
Databases
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 hardness for all non-local 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.
title Resilience for Regular Path Queries: Towards a Complexity Classification
topic Databases
url https://arxiv.org/abs/2412.09411