Answering conjunctive queries (CQs) over a set of facts extended with existential rules is a prominent problem in knowledge representation and databases. This problem can be solved using the chase algorithm, which extends the given set of facts with fresh facts in order to satisfy the rules. If the chase terminates, then CQs can be evaluated directly in the resulting set of facts. The chase, however, does not terminate necessarily, and checking whether the chase terminates on a given set of rules and facts is undecidable. Numerous acyclicity notions were proposed as sufficient conditions for chase termination. In this paper, we present two new acyclicity notions called model-faithful acyclicity (MFA) and model-summarising acyclicity (MSA). Furthermore, we investigate the landscape of the known acyclicity notions and establish a complete taxonomy of all notions known to us. Finally, we show that MFA and MSA generalise most of these notions.
Existential rules are closely related to the Horn fragments of the OWL 2 ontology language; furthermore, several prominent OWL 2 reasoners implement CQ answering by using the chase to materialise all relevant facts. In order to avoid termination problems, many of these systems handle only the OWL 2 RL profile of OWL 2; furthermore, some systems go beyond OWL 2 RL, but without any termination guarantees. In this paper we also investigate whether various acyclicity notions can provide a principled and practical solution to these problems. On the theoretical side, we show that query answering for acyclic ontologies is of lower complexity than for general ontologies. On the practical side, we show that many of the commonly used OWL 2 ontologies are MSA, and that the number of facts obtained by materialisation is not too large. Our results thus suggest that principled development of materialisation-based OWL 2 reasoners is practically feasible.
Checking Chase Termination over Ontologies of Existential Rules with Equality
Institute for Theoretical Computer Science(理论计算机科学研究所);Technische Universität Dresden(德累斯顿工业大学);Department of Computer Science(计算机科学系);Vrije Universiteit Amsterdam(阿姆斯特丹自由大学)
Tree-like Queries in OWL 2 QL: Succinctness and Complexity Results
Laboratoire de Recherche en Informatique, CNRS & Université Paris-Sud(法国国家科学研究中心与巴黎南大学计算机研究实验室);Institute for Information Transmission Problems & MIPT(信息传输问题研究所与莫斯科物理技术学院);Steklov Mathematical Institute & National Research University Higher School of Economics(斯捷克洛夫数学研究所与高等经济大学)
A tetrachotomy of ontology-mediated queries with a covering axiom
HSE University(高等经济大学);Institute for Information Transmission Problems(信息传输问题研究所);King’s College London(伦敦国王学院);Steklov Mathematical Institute(斯捷克洛夫数学研究所);Birkbeck, University of London(伦敦大学伯贝克学院)