Abstract

A Datalog program (abbreviated to “program” hereafter) is a set of function-free logic rules allowing negation in their bodies. It is customary to see a program as composed of two parts: a set of rules (the Intentional Database, IDB for short) and a set of facts stored as tuples of a relational database (the Extentional Database, EDB for short). The well-founded semantics assigns to every program a (possibly partial) model to be thought of as the meaning of the program. Although the well-founded computation is effective for (function-free) programs, it is worth noting that the construction of the greatest unfounded set results in a very demanding task when large EDBs are considered (data-intensive applications). In this paper we describe a method for the evaluation of the well-founded semantics of Datalog queries that allows us to construct answers without having to compute the whole greatest unfounded set. The key idea is that of restricting the computation of false facts to only those that are “relevant” to draw positive conclusions. We call this set of facts the Greatest Useful Unfounded Set (GUUS), from which the choice of the name GUUS method. The method is shown to be sound and complete w.r.t. any Datalog query. A main advantage of the proposed approach is that of resulting efficiently implementable for a meaningful class of programs. The syntactic structure of such programs guarantees that the greatest useful unfounded set can be safely (and efficiently) computed as the least fixpoint of the immediate consequence operator applied to a suitable rewritten program.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.