Acyclicity Conditions and their Application to Query Answering in Description Logics

Answering conjunctive queries (CQs) over a set of facts extended with existential rules is a key problem in knowledge representation and databases. This problem can be solved using the chase (aka materialisation) algorithm; however, CQ answering is undecidable for general existential rules, so the chase is not guaranteed to terminate. Several acyclicity conditions provide sufficient conditions for chase termination. In this paper, we present two novel such conditions—model-faithful acyclicity (MFA) and model-summarising acyclicity (MSA)—that generalise many of the acyclicity conditions known so far in the literature. Materialisation provides the basis for several widely-used OWL 2 DL reasoners. In order to avoid termination problems, many of these systems handle only the OWL 2 RL profile of OWL 2 DL; furthermore, some systems go beyond OWL 2 RL, but they provide no termination guarantees. In this paper we investigate whether various acyclicity conditions 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 DL ontologies are MSA, and that the facts obtained via materialisation are not too large. Thus, our results suggest that principled extensions to materialisation-based OWL 2 DL reasoners may be practically feasible.

[1]  Andrea Calì,et al.  Datalog+/-: A Family of Logical Knowledge Representation and Query Languages for New Applications , 2010, 2010 25th Annual IEEE Symposium on Logic in Computer Science.

[2]  Alin Deutsch,et al.  The chase revisited , 2008, PODS.

[3]  Boris Motik,et al.  OWL 2: The next step for OWL , 2008, J. Web Semant..

[4]  David S. Johnson,et al.  Testing containment of conjunctive queries under functional and inclusion dependencies , 1982, J. Comput. Syst. Sci..

[5]  Frank van Harmelen,et al.  Sesame: A Generic Architecture for Storing and Querying RDF and RDF Schema , 2002, SEMWEB.

[6]  Boris Motik,et al.  Hypertableau Reasoning for Description Logics , 2009, J. Artif. Intell. Res..

[7]  Sergio Greco,et al.  Chase termination , 2010, Proc. VLDB Endow..

[8]  Sebastian Rudolph,et al.  Nominals, Inverses, Counting, and Conjunctive Queries or: Why Infinity is your Friend! , 2010, J. Artif. Intell. Res..

[9]  Barry Bishop,et al.  Implementing OWL 2 RL and OWL 2 QL Rule-Sets for OWLIM , 2011, OWLED.

[10]  Diego Calvanese,et al.  The Description Logic Handbook , 2007 .

[11]  Sebastian Rudolph,et al.  Query Answering in the Horn Fragments of the Description Logics SHOIQ and SROIQ , 2011, IJCAI.

[12]  Stéphane Demri,et al.  Deciding Regular Grammar Logics with Converse Through First-Order Logic , 2003, J. Log. Lang. Inf..

[13]  Boris Motik,et al.  Data Complexity of Reasoning in Very Expressive Description Logics , 2005, IJCAI.

[14]  Ian Horrocks,et al.  Framework for an Automated Comparison of Description Logic Reasoners , 2006, SEMWEB.

[15]  Zhe Wu,et al.  Implementing an Inference Engine for RDFS/OWL Constructs and User-Defined Rules in Oracle , 2008, 2008 IEEE 24th International Conference on Data Engineering.

[16]  Boris Motik,et al.  Tractable query answering and rewriting under description logic constraints , 2010, J. Appl. Log..

[17]  Georg Gottlob,et al.  Complexity and expressive power of logic programming , 1997, Proceedings of Computational Complexity. Twelfth Annual IEEE Conference.

[18]  Sebastian Rudolph,et al.  Conjunctive Queries for a Tractable Fragment of OWL 1.1 , 2007, ISWC/ASWC.

[19]  Carsten Lutz,et al.  The Combined Approach to Ontology-Based Data Access , 2011, IJCAI.

[20]  Jean-François Baget,et al.  On rules with existential variables: Walking the decidability line , 2011, Artif. Intell..

[21]  Ronald Fagin,et al.  Data exchange: semantics and query answering , 2003, Theor. Comput. Sci..

[22]  Diego Calvanese,et al.  Data Complexity of Query Answering in Expressive Description Logics via Tableaux , 2008, Journal of Automated Reasoning.

[23]  Michaël Thomazo,et al.  Towards Farsighted Dependencies for Existential Rules , 2011, RR.

[24]  Georg Lausen,et al.  On Chase Termination Beyond Stratification , 2009, Proc. VLDB Endow..

[25]  Sebastian Rudolph,et al.  Extending Decidable Existential Rules by Joining Acyclicity and Guardedness , 2011, IJCAI.

[26]  Andrea Calì,et al.  New Expressive Languages for Ontological Query Answering , 2011, AAAI.

[27]  Catriel Beeri,et al.  The Implication Problem for Data Dependencies , 1981, ICALP.

[28]  Andrea Calì,et al.  Query Answering under Non-guarded Rules in Datalog+/- , 2010, RR.

[29]  Diego Calvanese,et al.  Tractable Reasoning and Efficient Query Answering in Description Logics: The DL-Lite Family , 2007, Journal of Automated Reasoning.

[30]  Serge Abiteboul,et al.  Foundations of Databases , 1994 .

[31]  Atanas Kiryakov,et al.  OWLIM - A Pragmatic Semantic Repository for OWL , 2005, WISE Workshops.

[32]  Carsten Lutz,et al.  Conjunctive Query Answering in the Description Logic EL Using a Relational Database System , 2009, IJCAI.

[33]  Diego Calvanese,et al.  The Description Logic Handbook: Theory, Implementation, and Applications , 2003, Description Logic Handbook.

[34]  Sebastian Rudolph,et al.  Conjunctive Queries for a Tractable Fragment of , 2007 .

[35]  J. Carroll,et al.  Jena: implementing the semantic web recommendations , 2004, WWW Alt. '04.

[36]  Sebastian Rudolph,et al.  Complexities of Horn Description Logics , 2013, TOCL.

[37]  Bruno Marnette,et al.  Generalized schema-mappings: from termination to tractability , 2009, PODS.

[38]  David Maier,et al.  Testing implications of data dependencies , 1979, SIGMOD '79.

[39]  Sebastian Rudolph,et al.  Complexity Boundaries for Horn Description Logics , 2007, AAAI.

[40]  Maarten de Rijke,et al.  Logic, Language, and Information , 1997, Relational Methods in Computer Science.

[41]  Ian Horrocks,et al.  The Even More Irresistible SROIQ , 2006, KR.

[42]  Ian Horrocks,et al.  Conjunctive Query Answering for the Description Logic SHIQ , 2007, IJCAI.

[43]  Ian Horrocks,et al.  A proposal for an owl rules language , 2004, WWW '04.

[44]  Georgios Meditskos,et al.  Combining a DL Reasoner and a Rule Engine for Improving Entailment-Based OWL Reasoning , 2008, International Semantic Web Conference.