Skip to main content

Ontological queries: Rewriting and optimization

Georg Gottlob‚ Giorgio Orsi and Andreas Pieris

Abstract

Ontological queries are evaluated against an enterprise ontology rather than directly on a database. The evaluation and optimization of such queries is an intriguing new problem for database research. In this paper we discuss two important aspects of this problem: query rewriting and query optimization. Query rewriting consists of the compilation of an ontological query into an equivalent query against the underlying relational database. The focus here is on soundness and completeness. We review previous results and present a new rewriting algorithm for rather general types of ontological constraints (description logics). In particular, we show how a conjunctive query (CQ) against an enterprise ontology can be compiled into a union of conjunctive queries (UCQ) against the underlying database. Ontological query optimization, in this context, attempts to improve this process so to produce possibly small and cost-effective output UCQ. We review existing optimization methods, and propose an effective new method that works for Linear Datalog+/-, a description logic that encompasses well-known description logics of the DL-Lite family.

Book Title
Proc. of 27th Intl Conf. on Data Engineering (ICDE) − Extended version available at http://arxiv.org/abs/1112.0343
Pages
2–13
Year
2011