Rewriting Ontological Queries into Small Nonrecursive Datalog Programs

06/19/2011
by   Georg Gottlob, et al.
0

We consider the setting of ontological database access, where an Abox is given in form of a relational database D and where a Boolean conjunctive query q has to be evaluated against D modulo a Tbox T formulated in DL-Lite or Linear Datalog+/-. It is well-known that (T,q) can be rewritten into an equivalent nonrecursive Datalog program P that can be directly evaluated over D. However, for Linear Datalog? or for DL-Lite versions that allow for role inclusion, the rewriting methods described so far result in a nonrecursive Datalog program P of size exponential in the joint size of T and q. This gives rise to the interesting question of whether such a rewriting necessarily needs to be of exponential size. In this paper we show that it is actually possible to translate (T,q) into a polynomially sized equivalent nonrecursive Datalog program P.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/31/2011

Conjunctive Query Answering for the Description Logic SHIQ

Conjunctive queries play an important role as an expressive query langua...
research
08/27/2018

A Monotone Preservation Result for Boolean Queries Expressed as a Containment of Conjunctive Queries

When a relational database is queried, the result is normally a relation...
research
08/07/2020

Optimizing Program Size Using Multi-result Supercompilation

Supercompilation is a powerful program transformation technique with num...
research
06/03/2020

Controlling the Size of Supercompiled Programs using Multi-result Supercompilation

Supercompilation is a powerful program transformation technique with num...
research
04/16/2023

On modeling NP-Complete problems as polynomial-sized linear programs: Escaping/Side-stepping the "barriers"

In view of the extended formulations (EFs) developments (e.g. "Fiorini, ...
research
01/15/2018

Cobra: A Framework for Cost Based Rewriting of Database Applications

Database applications are typically written using a mixture of imperativ...
research
02/04/2019

Safe projections of binary data sets

Selectivity estimation of a boolean query based on frequent itemsets can...

Please sign up or login with your details

Forgot password? Click here to reset