Conflict-driven ASP Solving with External Sources

10/05/2012
by   Thomas Eiter, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/31/2018

Technical Report: Inconsistency in Answer Set Programs and Extensions

Answer Set Programming (ASP) is a well-known problem solving approach ba...
research
08/02/2018

Inlining External Sources in Answer Set Programs

HEX-programs are an extension of answer set programs (ASP) with external...
research
01/08/2013

Eliminating Unfounded Set Checking for HEX-Programs

HEX-programs are an extension of the Answer Set Programming (ASP) paradi...
research
12/31/2020

Conflict-driven Inductive Logic Programming

The goal of Inductive Logic Programming (ILP) is to learn a program that...
research
11/05/2018

The External Interface for Extending WASP

Answer set programming (ASP) is a successful declarative formalism for k...
research
08/29/2011

Nested HEX-Programs

Answer-Set Programming (ASP) is an established declarative programming p...
research
12/20/2013

Query Answering in Object Oriented Knowledge Bases in Logic Programming: Description and Challenge for ASP

Research on developing efficient and scalable ASP solvers can substantia...

Please sign up or login with your details

Forgot password? Click here to reset