{"id":"2011.09314","title":"First-Order Rewritability of Frontier-Guarded Ontology-Mediated Queries","authors":["Pablo Barcelo","Gerald Berger","Carsten Lutz","Andreas Pieris"],"categories":["cs.DB","cs.AI"],"primary_category":"cs.DB","first_posted":"2020-11-18","updated":"2020-11-18","url":"https://arxiv.vip/abs/2011.09314","arxiv_url":"https://arxiv.org/abs/2011.09314","pdf_url":"https://arxiv.org/pdf/2011.09314","comment_count":0,"abstract":"We focus on ontology-mediated queries (OMQs) based on (frontier-)guarded existential rules and (unions of) conjunctive queries, and we investigate the problem of FO-rewritability, i.e., whether an OMQ can be rewritten as a first-order query. We adopt two different approaches. The first approach employs standard two-way alternating parity tree automata. Although it does not lead to a tight complexity bound, it provides a transparent solution based on widely known tools. The second approach relies on a sophisticated automata model, known as cost automata. This allows us to show that our problem is 2ExpTime-complete. In both approaches, we provide semantic characterizations of FO-rewritability that are of independent interest.","arxiv_comments":null,"journal_ref":null,"doi":null,"license":"http://creativecommons.org/licenses/by/4.0/","versions":1,"discussion_url":"https://arxiv.vip/abs/2011.09314#discussion"}