Hostname: page-component-74656f9884-npj9w Total loading time: 0 Render date: 2026-11-10T02:57:32.588Z Has data issue: false hasContentIssue false

Disjunctive ASP with functions: Decidable queries and effective computation*

Published online by Cambridge University Press:  09 July 2010

MARIO ALVIANO
Affiliation:
Department of Mathematics, University of Calabria, 87036 Rende (CS), Italy (e-mail: alviano@mat.unical.it, faber@mat.unical.it, leone@mat.unical.it)
WOLFGANG FABER
Affiliation:
Department of Mathematics, University of Calabria, 87036 Rende (CS), Italy (e-mail: alviano@mat.unical.it, faber@mat.unical.it, leone@mat.unical.it)
NICOLA LEONE
Affiliation:
Department of Mathematics, University of Calabria, 87036 Rende (CS), Italy (e-mail: alviano@mat.unical.it, faber@mat.unical.it, leone@mat.unical.it)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

Querying over disjunctive ASP with functions is a highly undecidable task in general. In this paper we focus on disjunctive logic programs with stratified negation and functions under the stable model semantics (ASPfs). We show that query answering in this setting is decidable, if the query is finitely recursive (ASPfsfr). Our proof yields also an effective method for query evaluation. It is done by extending the magic set technique to ASPfsfr. We show that the magic-set rewritten program is query equivalent to the original one (under both brave and cautious reasoning). Moreover, we prove that the rewritten program is also finitely ground, implying that it is decidable. Importantly, finitely ground programs are evaluable using existing ASP solvers, making the class of ASPfsfr queries usable in practice.

Information

Type
Regular Papers
Copyright
Copyright © Cambridge University Press 2010