Integration of conjunctive queries over description logics into HEX-programs

We present cq-programs, which enhance nonmonotonic description logics (dl-) programs by conjunctive queries (CQ) and union of conjunctive queries (UCQ) over Description Logics (DL) knowledge bases, as well as disjunctive rules. dl-programs had been proposed as a powerful formalism for integrating nonmonotonic logic programming and DL reasoning on a clear semantic basis. The new cq-programs have at least two advantages. First, they offer increased expressivity by allowing general (U)CQs in the body. And second, this combination of rules and ontologies gives rise to strategies for optimizing calls to the DL-reasoner by exploiting (U)CQ facilities of the DL-reasoner. To this end, we discuss some equivalences which can be exploited for program rewriting and present respective algorithms. Experimental results for the cq-program prototype show that this can lead to significant performance improvements. Moreover, the developed optimization methods may be of general interest in the context of hybrid knowledge bases. hex-programs, which extend answer-set programming (ASP) with higher-order features and provide powerful interfacing to external computation sources, have been demonstrated to be a versatile formalism for extending the ASP paradigm. The cq-program prototype dl-plugin, which will be introduced in this work, has been developed as a plugin for dlvhex, an implementation for hex-programs. The dl-plugin integrates ASP with description logics knowledge bases by means of external atoms. For this purpose, a partial equivalence between hex-programs and cq-programs shows that hex-programs can serve as a host language for our new formalism, provided that only monotonic dl-atoms appear in the cq-program.

[1]  Ivar Jacobson,et al.  The unified modeling language reference manual , 2010 .

[2]  Boris Motik,et al.  Reasoning for Description Logics aroundSHIQ in a Resolution Framework , 2004 .

[3]  Adrian Walker,et al.  Towards a Theory of Declarative Knowledge , 1988, Foundations of Deductive Databases and Logic Programming..

[4]  Raymond Reiter,et al.  A Logic for Default Reasoning , 1987, Artif. Intell..

[5]  Ian Horrocks,et al.  Ontology Reasoning in the SHOQ(D) Description Logic , 2001, IJCAI.

[6]  James A. Hendler,et al.  Dynamic Ontologies on the Web , 2000, AAAI/IAAI.

[7]  Kenneth A. Ross,et al.  Modular stratification and magic sets for Datalog programs with negation , 1994, JACM.

[8]  Massimo Marchiori,et al.  Ten Theses on Logic Languages for the Semantic Web , 2005, Rule Languages for Interoperability.

[9]  Mark Fischetti,et al.  Weaving the web - the original design and ultimate destiny of the World Wide Web by its inventor , 1999 .

[10]  Hans Tompits,et al.  A Uniform Integration of Higher-Order Reasoning and External Evaluations in Answer-Set Programming , 2005, IJCAI.

[11]  Ashok K. Chandra,et al.  Optimal implementation of conjunctive queries in relational data bases , 1977, STOC '77.

[12]  Wolfgang Faber,et al.  Recursive Aggregates in Disjunctive Logic Programs: Semantics and Complexity , 2004, JELIA.

[13]  Kenneth A. Ross,et al.  The well-founded semantics for general logic programs , 1991, JACM.

[14]  David S. Johnson,et al.  Computers and Intractability: A Guide to the Theory of NP-Completeness , 1978 .

[15]  Boris Motik,et al.  Adding Integrity Constraints to OWL , 2007, OWLED.

[16]  Gerd Wagner,et al.  Design Rationale for RuleML: A Markup Language for Semantic Web Rules , 2001, SWWS.

[17]  Ian Horrocks,et al.  Practical Reasoning for Expressive Description Logics , 1999, LPAR.

[18]  Alon Y. Halevy,et al.  Combining Horn Rules and Description Logics in CARIN , 1998, Artif. Intell..

[19]  Peter F. Patel-Schneider,et al.  Reducing OWL entailment to description logic satisfiability , 2004, Journal of Web Semantics.

[20]  Ilkka Niemelä,et al.  Logic programs with stable model semantics as a constraint programming paradigm , 1999, Annals of Mathematics and Artificial Intelligence.

[21]  Philippe Roussel,et al.  The birth of Prolog , 1993, HOPL-II.

[22]  H. Lan,et al.  SWRL : A semantic Web rule language combining OWL and ruleML , 2004 .

[23]  Sebastian Rudolph,et al.  Conjunctive Queries for EL with Composition of Roles , 2007, Description Logics.

[24]  Stijn Heymans,et al.  Preferential Reasoning on a Web of Trust , 2005, International Semantic Web Conference.

[25]  Vladimir Lifschitz,et al.  Answer Sets in General Nonmonotonic Reasoning (Preliminary Report) , 1992, KR.

[26]  Sriram Padmanabhan,et al.  Scalable template-based query containment checking for Web semantic caches , 2003, Proceedings 19th International Conference on Data Engineering (Cat. No.03CH37405).

[27]  Raymond Reiter,et al.  What should a database know? , 1988, PODS '88.

[28]  Ian Horrocks,et al.  DAML+OIL: A Reason-able Web Ontology Language , 2002, EDBT.

[29]  Chiaki Sakama,et al.  Partial Deduction in Disjunctive Logic Programming , 1997, J. Log. Program..

[30]  Volker Haarslev,et al.  RACER System Description , 2001, IJCAR.

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

[32]  Gerald Pfeifer,et al.  The KR System dlv: Progress Report, Comparisons and Benchmarks , 1998, KR.

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

[34]  Robert A. Kowalski,et al.  Algorithm = logic + control , 1979, CACM.

[35]  Hans Tompits,et al.  Combining answer set programming with description logics for the Semantic Web , 2004, Artif. Intell..

[36]  Diego Calvanese,et al.  Data Complexity of Answering Unions of Conjunctive Queries in SHIQ , 2006, Description Logics.

[37]  Raymond Reiter,et al.  On Reasoning by Default , 1978, TINLAP.

[38]  James A. Hendler,et al.  The Semantic Web" in Scientific American , 2001 .

[39]  Riccardo Rosati,et al.  DL+log: Tight Integration of Description Logics and Disjunctive Datalog , 2006, KR.

[40]  Serge Abiteboul,et al.  Querying Semi-Structured Data , 1997, Encyclopedia of Database Systems.

[41]  James A. Hendler,et al.  Semantic Web Architecture: Stack or Two Towers? , 2005, PPSWR.

[42]  Alon Y. Halevy,et al.  Answering queries using views: A survey , 2001, The VLDB Journal.

[43]  Ivar Jacobson,et al.  The Unified Modeling Language User Guide , 1998, J. Database Manag..

[44]  Boris Motik,et al.  Query Answering for OWL-DL with Rules , 2004, SEMWEB.

[45]  Diego Calvanese,et al.  Characterizing Data Complexity for Conjunctive Query Answering in Expressive Description Logics , 2006, AAAI.

[46]  Timo Soininen,et al.  Extending and implementing the stable model semantics , 2000, Artif. Intell..

[47]  Jos de Bruijn,et al.  Quantified Equilibrium Logic and Hybrid Rules , 2007, RR.

[48]  Riccardo Rosati,et al.  Integrating Ontologies and Rules: Semantic and Computational Issues , 2006, Reasoning Web.

[49]  Thomas Lukasiewicz,et al.  Stratified Probabilistic Description Logic Programs , 2005, ISWC-URSW.

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

[51]  Wolfgang Faber,et al.  The Diagnosis Frontend of the dlv System , 1999, AI Commun..

[52]  Peter F. Patel-Schneider,et al.  Next Steps for OWL , 2006, OWLED.

[53]  Simon Pemberton Introduction to the Semantic Web , 2008 .

[54]  Hans Tompits,et al.  Reasoning with Rules and Ontologies , 2006, Reasoning Web.

[55]  Diego Calvanese,et al.  DL-Lite: Tractable Description Logics for Ontologies , 2005, AAAI.

[56]  José Júlio Alferes,et al.  A Well-founded Semantics for Hybrid MKNF Knowledge Bases , 2007, Description Logics.

[57]  Ian Horrocks,et al.  From SHIQ and RDF to OWL: the making of a Web Ontology Language , 2003, J. Web Semant..

[58]  Bjarne Stroustrup,et al.  C++ Programming Language , 1986, IEEE Softw..

[59]  Michael Gelfond,et al.  Logic Programs with Classical Negation , 1990, ICLP.

[60]  Diego Calvanese,et al.  Reasoning on UML class diagrams , 2005, Artif. Intell..

[61]  Birte Glimm Specification of Coordination of Rule and Ontology Languages , 2004 .

[62]  Michael Gelfond,et al.  Classical negation in logic programs and disjunctive databases , 1991, New Generation Computing.

[63]  Carsten Lutz,et al.  Data Complexity in the EL family of DLs , 2007, Description Logics.

[64]  Diego Calvanese,et al.  Answering Regular Path Queries in Expressive Description Logics: An Automata-Theoretic Approach , 2007, AAAI.

[65]  Jürgen Dix,et al.  Semantics of Logic Programs: Their Intuitions and Formal Properties. An Overview , 1996, Logic, Action, and Information.

[66]  Boris Motik,et al.  Can OWL and Logic Programming Live Together Happily Ever After? , 2006, International Semantic Web Conference.

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

[68]  George Tzanetakis,et al.  Musical genre classification of audio signals , 2002, IEEE Trans. Speech Audio Process..

[69]  George Boolos,et al.  Computability and logic , 1974 .

[70]  Silvana Castano,et al.  A Semantic Web ontology for context-based classification and retrieval of music resources , 2006, TOMCCAP.

[71]  Robert A. Kowalski,et al.  Predicate Logic as Programming Language , 1974, IFIP Congress.

[72]  Benjamin N. Grosof,et al.  Combining Rules and Ontologies . A survey . , 2005 .

[73]  Wolfgang Faber,et al.  Declarative problem-solving using the DLV system , 2000 .

[74]  Ian Horrocks,et al.  Conjunctive Query Entailment for SHOQ , 2007, Description Logics.

[75]  Thomas Eiter,et al.  Exploiting conjunctive queries in description logic programs , 2009, Annals of Mathematics and Artificial Intelligence.

[76]  Moshe Y. Vardi Why is Modal Logic So Robustly Decidable? , 1996, Descriptive Complexity and Finite Models.

[77]  Ian Horrocks,et al.  Position paper: a comparison of two modelling paradigms in the Semantic Web , 2006, WWW '06.

[78]  Dirk van Dalen,et al.  Logic and structure , 1980 .

[79]  Wolfgang Faber,et al.  The DLV system for knowledge representation and reasoning , 2002, TOCL.

[80]  L. Stein,et al.  OWL Web Ontology Language - Reference , 2004 .

[81]  Christoph Weidenbach,et al.  Computing Small Clause Normal Forms , 2001, Handbook of Automated Reasoning.

[82]  Hans Tompits,et al.  Nonmonotonic Description Logic Programs: Implementation and Experiments , 2005, LPAR.

[83]  Riccardo Rosati,et al.  The Limits of Querying Ontologies , 2007, ICDT.

[84]  Chiaki Sakama,et al.  Partial Deduction of Disjunctive Logic Programs: A Declarative Approach , 1994, LOPSTR.

[85]  Bijan Parsia,et al.  Optimizations for answering conjunctive ABox queries: First results , 2006 .

[86]  Longfei Jin,et al.  Description Logic을 이용한 전자카타로그 온톨로지 모델링 , 2005 .

[87]  Riccardo Rosati,et al.  Towards expressive KR systems integrating datalog and description logics: preliminary report , 1999, Description Logics.

[88]  Ian Horrocks,et al.  A Tableaux Decision Procedure for SHOIQ , 2005, IJCAI.

[89]  Laurian M. Chirica,et al.  The entity-relationship model: toward a unified view of data , 1975, SIGF.

[90]  CalvaneseDiego,et al.  Conjunctive query containment and answering under description logic constraints , 2008 .

[91]  James A. Hendler,et al.  The Semantic Web: KR's Worst Nightmare? , 2002, KR.

[92]  David Toman,et al.  Logics for Databases and Information Systems , 1998 .

[93]  Thomas Eiter,et al.  Answer Set Programming for the Semantic Web , 2007, ICLP.

[94]  Raymond Reiter On Closed World Data Bases , 1977, Logic and Data Bases.

[95]  Bijan Parsia,et al.  SPARQL-DL: SPARQL Query for OWL-DL , 2007, OWLED.

[96]  Boris Motik,et al.  A Comparison of Reasoning Techniques for Querying Large Description Logic ABoxes , 2006, LPAR.

[97]  Peter F. Patel-Schneider,et al.  A Revised Architecture for Semantic Web Reasoning , 2005, PPSWR.

[98]  Riccardo Rosati,et al.  On the decidability and complexity of integrating ontologies and rules , 2005, J. Web Semant..

[99]  Ian Horrocks,et al.  OIL: An Ontology Infrastructure for the Semantic Web , 2001, IEEE Intell. Syst..

[100]  Ian Horrocks,et al.  Description Logics in Ontology Applications , 2005, KI.

[101]  Abdul Sattar,et al.  Merging and Aligning Ontologies in dl-Programs , 2005, RuleML.

[102]  Hans Tompits,et al.  dlvhex: A Tool for Semantic-Web Reasoning under the Answer-Set Semantics! , 2006 .

[103]  Joann J. Ordille,et al.  Data integration: the teenage years , 2006, VLDB.

[104]  Riccardo Rosati,et al.  Semantic and Computational Advantages of the Safe Integration of Ontologies and Rules , 2005, PPSWR.

[105]  Ian Horrocks,et al.  Description Logics as Ontology Languages for the Semantic Web , 2005, Mechanizing Mathematical Reasoning.

[106]  Boris Motik,et al.  A Faithful Integration of Description Logics with Logic Programming , 2007, IJCAI.

[107]  Jos de Bruijn,et al.  On Representational Issues About Combinations of Classical Theories with Nonmonotonic Rules , 2006, KSEM.

[108]  Ralf Möller,et al.  A Flexible DL-based Architecture for Deductive Information Systems , 2006 .

[109]  Boris Motik,et al.  Bridging the gap between OWL and relational databases , 2007, WWW '07.

[110]  Serge Abiteboul,et al.  Complexity of answering queries using materialized views , 1998, PODS.

[111]  Jeff Heflin,et al.  LUBM: A benchmark for OWL knowledge base systems , 2005, J. Web Semant..

[112]  Franz Baader,et al.  Pushing the EL Envelope , 2005, IJCAI.

[113]  Riccardo Rosati,et al.  On Conjunctive Query Answering in EL , 2007, Description Logics.

[114]  Stefan Woltran,et al.  Simplifying Logic Programs Under Uniform and Strong Equivalence , 2004, LPNMR.

[115]  Ian Horrocks,et al.  Description logic programs: combining logic programs with description logic , 2003, WWW '03.