Integration of conjunctive queries over description logics into HEX-programs

Thomas Krennwallner · reposiTUm (TU Wien) · 2007

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.i Kurzfassung Wir präsentieren cq-Programme, die nichtmonotone description logics (dl-) Programme um conjunctive queries (CQ) und union of conjunctive queries (UCQ) auf Description Logics (DL) Wissensbasen erweitern, sowie um disjunktive Regeln.dl-Programme wurden als ein mächtiger Formalismus zur Integration von nichtmonotonen logischen Programmen und DL reasonings auf einer klaren semantischen Basis vorgeschlagen.Die neuen cq-Programme haben zumindest zwei Vorzüge.Erstens bieten sie eine gesteigerte Ausdruckskraft aufgrund allgemeiner (U)CQs im Regelrumpf.Und zweitens führt dieser Zusammenschluss von Regeln und Ontologien zu Strategien für die Optimierung von Anfragen an den DL-reasoner durch Ausnützung von (U)CQs des DL-reasoner.Zu diesem Zwecke werden wir Äquivalenzen erörtern, die für Programmumformulierungen ausgenutzt werden und stellen die dazugehörigen Algorithmen vor.Experimentelle Resultate eines cq-program Prototyps zeigen, dass dies zu einer signifikanten Performanzsteigerung führen kann.Darüber hinaus könnten die Optimierungsmethoden von allgemeinem Interesse im Kontext von wiederholten Anfragen auf DL Wissensbasen sein.hex-Programme, die die Antwortmengenprogrammierung (ASP) um höher-stufige Eigenschaften erweitern und leistungsstarke Schnittstellen für externe Berechnungsquellen bereitstellen, haben sich als ein vielseitig verwendbarer Formalismus zur Erweiterung des ASP Paradigmas bewährt.Der cq-Programm Prototyp dl-plugin, der in dieser Arbeit vorgestellt werden wird, wurde als Plugin für dlvhex, einer Implementation für hex-Programme, entwickelt.Er integriert ASP mit Beschreibungslogik-Wissensbasen anhand von externen Atomen.Eine partielle Äquivalenz zwischen hex-Programmen und

Read the paper · More papers on PaperTik