Well-founded semantics of aggregation

47Citations
Citations of this article
10Readers
Mendeley users who have this article in their library.

Abstract

Common aggregation predicates have natural definitions in logic, either as first order sentences (min, max, etc.), or with elementary induction over a data structure that represents the relation (sum, count, etc.). The well-founded semantics for logic programs provides an interpretation of such definitions. The interpretation of first-order aggregates seems to be quite natural and intuitively satisfying, even in the presence of recursion through aggregation. Care is needed to get useful results on inductive aggregates, however. A basic building block is the `subset' predicate, which states that a data structure represents a subset of an IDB predicate, and which is definable in the well-founded semantics. The analogous `superset' is also definable, and their combination yields a `generic' form of findall. Surprisingly, findall must be used negatively to obtain useful approximations when the exact relation is not yet known. Extensions to the semantics, restrictions on the input, and other supplementary requirements proposed in earlier studies appear to be unnecessary for the purpose of attaching a meaning to a program that involves recursion through aggregation. For example, any reasonable definition of `shortest paths' tolerates negative weight edges, correctly computes shortest paths that exist, and leaves tuples undefined where negative-weight cycles cause the shortest path not to exist. Other examples exhibit similarly robust behavior, when defined carefully. Connections with the generic model of computation are discussed briefly.

Cite

CITATION STYLE

APA

Van Gelder, A. (1992). Well-founded semantics of aggregation. In Proceedings of the ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems (pp. 127–138). Publ by ACM. https://doi.org/10.1145/137097.137854

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free