JOURNAL ARTICLE

Query Rewriting and Optimization for Ontological Databases

Georg GottlobGiorgio OrsiAndréas Pieris

Year: 2014 Journal:   ACM Transactions on Database Systems Vol: 39 (3)Pages: 1-46   Publisher: Association for Computing Machinery

Abstract

Ontological queries are evaluated against a knowledge base consisting of an extensional database and an ontology (i.e., a set of logical assertions and constraints that derive new intensional knowledge from the extensional database), rather than directly on the extensional database. The evaluation and optimization of such queries is an intriguing new problem for database research. In this article, 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 first-order query against the underlying extensional database. We present a novel query rewriting algorithm for rather general types of ontological constraints that is well suited for practical implementations. In particular, we show how a conjunctive query against a knowledge base, expressed using linear and sticky existential rules, that is, members of the recently introduced Datalog± family of ontology languages, can be compiled into a union of conjunctive queries (UCQ) against the underlying database. Ontological query optimization, in this context, attempts to improve this rewriting process soas to produce possibly small and cost-effective UCQ rewritings for an input query.

Keywords:
Computer science Conjunctive query Query optimization Query language Datalog Sargable Database Rewriting Information retrieval View Ontology Query expansion Boolean conjunctive query Web search query Database theory Theoretical computer science Programming language Database design Relational database

Metrics

97
Cited By
20.29
FWCI (Field Weighted Citation Impact)
62
Refs
0.99
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Semantic Web and Ontologies
Physical Sciences →  Computer Science →  Artificial Intelligence
Advanced Database Systems and Queries
Physical Sciences →  Computer Science →  Computer Networks and Communications
Data Management and Algorithms
Physical Sciences →  Computer Science →  Signal Processing

Related Documents

BOOK-CHAPTER

Ontological Query Answering via Rewriting

Georg GottlobGiorgio OrsiAndréas Pieris

Lecture notes in computer science Year: 2011 Pages: 1-18
BOOK-CHAPTER

Schema Transformations and Query Rewriting in Ontological Databases with a Faceted Interface

Tadeusz Pankowski

Lecture notes in computer science Year: 2018 Pages: 76-91
BOOK-CHAPTER

Aggregate Query Rewriting in Multidimensional Databases

Leonardo Tininini

IGI Global eBooks Year: 2005 Pages: 28-32
© 2026 ScienceGate Book Chapters — All rights reserved.