Arrow Research search
Back to IJCAI

IJCAI 2003

Aggregate Functions in Disjunctive Logic Programming: Semantics, Complexity, and Implementation in DLV

Conference Paper LOGIC PROGRAMMING Artificial Intelligence

Abstract

Disjunctive Logic Programming (DLP) is a very expressive formalism: it allows to express every property of finite structures that is decidable in the complexity class E^ (NPN H ). Despite the high expressiveness of DLP, there are some simple properties, often arising in real-world applications, which cannot be encoded in a simple and natural manner. Among these, properties requiring to apply some arithmetic operators (like sum, times, count) on a set of elements satisfying some conditions, cannot be naturally expressed in DLP. To overcome this deficiency, in this paper we extend DLP by aggregate functions. We formally define the semantics of the new language, named DLP-4. We show the usefulness of the new constructs on relevant knowledge-based problems. We analyze the computational complexity of DLP"4, showing that the addition of aggregates does not bring a higher cost in that respect. We provide an implementation of the DLP-4 language in DLV- the state-of-theart DLP system - and report on experiments which confirm the usefulness of the proposed extension also for the efficiency of the computation.

Authors

Keywords

No keywords are indexed for this paper.

Context

Venue
International Joint Conference on Artificial Intelligence
Archive span
1969-2025
Indexed papers
14525
Paper id
847357021796429244
v2026.09.13