Hostname: page-component-74656f9884-2dmjx Total loading time: 0 Render date: 2026-11-09T19:57:29.221Z Has data issue: false hasContentIssue false

Conflict-driven ASP solving with external sources

Published online by Cambridge University Press:  05 September 2012

THOMAS EITER
Affiliation:
Institut für Informationssysteme, Technische Universität WienFavoritenstraße 9-11, A-1040 Vienna, Austria (e-mail: eiter@kr.tuwien.ac.at, fink@kr.tuwien.ac.at, tkren@kr.tuwien.ac.at, redl@kr.tuwien.ac.at)
MICHAEL FINK
Affiliation:
Institut für Informationssysteme, Technische Universität WienFavoritenstraße 9-11, A-1040 Vienna, Austria (e-mail: eiter@kr.tuwien.ac.at, fink@kr.tuwien.ac.at, tkren@kr.tuwien.ac.at, redl@kr.tuwien.ac.at)
THOMAS KRENNWALLNER
Affiliation:
Institut für Informationssysteme, Technische Universität WienFavoritenstraße 9-11, A-1040 Vienna, Austria (e-mail: eiter@kr.tuwien.ac.at, fink@kr.tuwien.ac.at, tkren@kr.tuwien.ac.at, redl@kr.tuwien.ac.at)
CHRISTOPH REDL
Affiliation:
Institut für Informationssysteme, Technische Universität WienFavoritenstraße 9-11, A-1040 Vienna, Austria (e-mail: eiter@kr.tuwien.ac.at, fink@kr.tuwien.ac.at, tkren@kr.tuwien.ac.at, redl@kr.tuwien.ac.at)
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.

Answer Set Programming (ASP) is a well-known problem solving approach based on nonmonotonic logic programs and efficient solvers. To enable access to external information, hex-programs extend programs with external atoms, which allow for a bidirectional communication between the logic program and external sources of computation (e.g., description logic reasoners and Web resources). Current solvers evaluate hex-programs by a translation to ASP itself, in which values of external atoms are guessed and verified after the ordinary answer set computation. This elegant approach does not scale with the number of external accesses in general, in particular in presence of nondeterminism (which is instrumental for ASP). In this paper, we present a novel, native algorithm for evaluating hex-programs which uses learning techniques. In particular, we extend conflict-driven ASP solving techniques, which prevent the solver from running into the same conflict again, from ordinary to hex-programs. We show how to gain additional knowledge from external source evaluations and how to use it in a conflict-driven algorithm. We first target the uninformed case, i.e., when we have no extra information on external sources, and then extend our approach to the case where additional meta-information is available. Experiments show that learning from external sources can significantly decrease both the runtime and the number of considered candidate compatible sets.

Information

Type
Regular Papers
Copyright
Copyright © Cambridge University Press 2012