fo-rewritable
First-Order Rewritability of Frontier-Guarded Ontology-Mediated Queries
Barcelo, Pablo, Berger, Gerald, Lutz, Carsten, Pieris, Andreas
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.
Oblivious and Semi-Oblivious Boundedness for Existential Rules
Bourhis, Pierre, Leclère, Michel, Mugnier, Marie-Laure, Tison, Sophie, Ulliana, Federico, Galois, Lily
We study the notion of boundedness in the context of positive existential rules, that is, whether there exists an upper bound to the depth of the chase procedure, that is independent from the initial instance. By focussing our attention on the oblivious and the semi-oblivious chase variants, we give a characterization of boundedness in terms of FO-rewritability and chase termination. We show that it is decidable to recognize if a set of rules is bounded for several classes and outline the complexity of the problem. This report contains the paper published at IJCAI 2019 and an appendix with full proofs.
- Europe > Slovenia > Drava > Municipality of Benedikt > Benedikt (0.04)
- Oceania > Australia > Victoria > Melbourne (0.04)
- North America > United States > Rhode Island > Providence County > Providence (0.04)
- (6 more...)
Computing FO-Rewritings in EL in Practice: from Atomic to Conjunctive Queries
A prominent approach to implementing ontology-mediated queries (OMQs) is to rewrite into a first-order query, which is then executed using a conventional SQL database system. We consider the case where the ontology is formulated in the description logic EL and the actual query is a conjunctive query and show that rewritings of such OMQs can be efficiently computed in practice, in a sound and complete way. Our approach combines a reduction with a decomposed backwards chaining algorithm for OMQs that are based on the simpler atomic queries, also illuminating the relationship between first-order rewritings of OMQs based on conjunctive and on atomic queries. Experiments with real-world ontologies show promising results.
Ontology-Mediated Queries with Closed Predicates
Lutz, Carsten (University of Bremen) | Seylan, Inanc (University of Bremen) | Wolter, Frank (University of Liverpool)
In the context of ontology-based data access with description logics (DLs), we study ontology-mediated queries in which selected predicates can be closed (OMQCs). In particular, we contribute to the classification of the data complexity of such queries in several relevant DLs. For the case where only concept names can be closed, we tightly link this question to the complexity of surjective CSPs. When also role names can be closed, we show that a full complexity classification is equivalent to classifying the complexity of all problems in coNP, thus currently out of reach. We also identify a class of OMQCs based on ontologies formulated in DL-LiteR that are guaranteed to be tractable and even FO-rewritable.
- Europe > Germany > Bremen > Bremen (0.14)
- Europe > United Kingdom > England > Merseyside > Liverpool (0.04)
Efficient Query Rewriting in the Description Logic EL and Beyond
Hansen, Peter (University of Bremen) | Lutz, Carsten (University of Bremen) | Seylan, İnanç (University of Bremen) | Wolter, Frank (University of Liverpool)
We propose a new type of algorithm for computing first-order (FO) rewritings of concept queries under ELHdr-TBoxes. The algorithm is tailored towards efficient implementation, yet complete. It outputs a succinct non-recursive datalog rewriting if the input is FO-rewritable and otherwise reports non-FO-rewritability. We carry out experiments with real-world ontologies which demonstrate excellent performance in practice and show that TBoxes originating from applications admit FO-rewritings of reasonable size in almost all cases, even when in theory such rewritings are not guaranteed to exist.
- Europe > Germany > Bremen > Bremen (0.28)
- Europe > United Kingdom > England > Merseyside > Liverpool (0.04)
- Europe > United Kingdom > England > Cambridgeshire > Cambridge (0.04)