Exploiting conjunctive queries in description logic programs

  • Authors:
  • Thomas Eiter;Giovambattista Ianni;Thomas Krennwallner;Roman Schindlauer

  • Affiliations:
  • Institut für Informationssysteme 184/3, Technische Universität Wien, Vienna, Austria 1040;Dipartimento di Matematica, Università della Calabria, Rende (CS), Italy 87036;Institut für Informationssysteme 184/3, Technische Universität Wien, Vienna, Austria 1040;Institut für Informationssysteme 184/3, Technische Universität Wien, Vienna, Austria 1040

  • Venue:
  • Annals of Mathematics and Artificial Intelligence
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Towards combining rules and ontologies for the Semantic Web, nonmonotonic Description Logic Programs (dl-programs) have been proposed as a powerful formalism to couple nonmonotonic logic programming and Description Logic reasoning on a clear semantic basis. In this paper, we present cq-programs, which enhance dl-programs with conjunctive queries (CQ) and union of conjunctive queries (UCQ) over Description Logics knowledge bases, as well as with disjunctive rules. The novel formalism has two advantages. First, it offers increased expressivity because it allows for (U)CQs in the bodies of the rules. The (U)CQs allow one to access unnamed individuals in the rules and they increase the expressivity of the formalism, as evident from the increase in complexity from NEXP to 2-EXP. And second, when implemented as a combination between a logic programming system and a DL-reasoner, this integration of rules and ontologies gives rise to strategies for optimizing calls to the DL-reasoner, by exploiting specific support for (U)CQs. To this end, we present equivalence preserving transformations which can be used for program rewriting, and we present respective generic rewriting algorithms. Experimental results for a cq-program prototype show that this can lead to significant performance improvements, and suggest that cq-programs and program rewriting provide a useful basis for dl- and cq-program optimization.