<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Extension-Based Argumentation Semantics via Logic Programming Semantics with Negation as Failure</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Juan Carlos Nieves</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ignasi Gomez-Sebastia`</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Universitat Polite`cnica de Catalunya Software Department (LSI) c/Jordi Girona 1-3</institution>
          ,
          <addr-line>E08034, Barcelona</addr-line>
          ,
          <country country="ES">Spain</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Extension-based argumentation semantics have been shown to be a suitable approach for performing practical reasoning. Since extension-based argumentation semantics were formalized in terms of relationships between atomic arguments, it has been shown that extension-based argumentation semantics (such as the grounded semantics and stable semantics) can be characterized by logic programming semantics with negation as failure. Recently, it has been shown that argumentation semantics such as the preferred semantics and the CF2 semantics can be characterized in terms of logic programming semantics. In this paper, we make a short overview w.r.t. recent results in the close relationship between extension-based semantics and logic programming semantics with negation as failure. We also show that there is enough evidence to believe that the use of declarative approaches based on logic programming semantics with negation as failure is a practical approach for performing practical reasoning following an argumentation reasoning approach.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Argumentation theory is a formal discipline within Artificial Intelligence (AI)
where the aim is to make a computer assist in or perform the act of
argumentation. During the last years, argumentation has been gaining increasing
importance in Multi-Agent Systems (MAS), mainly as a vehicle for facilitating
rational interaction (i.e.interaction which involves the giving and receiving of
reasons) [
        <xref ref-type="bibr" rid="ref14 ref4">4, 14</xref>
        ]. A single agent may also use argumentation techniques to
perform its individual reasoning because it needs to make decisions under complex
preferences policies, in a highly dynamic environment.
      </p>
      <p>
        Although several approaches have been proposed for capturing
representative patterns of inference in argumentation theory, Dung’s approach, presented
in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], is a unifying framework which has played an influential role on
argumentation research and AI. The kernel of Dung’s framework is supported by
four extension-based argumentation semantics (we will refer to them also as
abstract argumentation semantics): grounded semantics, stable semantics,
preferred semantics, and complete semantics. When Dung introduced his
argumentation approach, he proved that it can be regarded as a special form of logic
programming with negation as failure. In fact, he showed that the grounded
and stable semantics can be characterized by the well-founded and stable model
semantics respectively. This result has at least two main implications:
1. It defines a general method for generating metainterpreters for
argumentation systems
2. It defines a general method for studying abstract argumentation semantics’
properties in terms of logic programming semantics’ properties.
As we can see, the study of abstract argumentation semantics in terms of logic
programming semantics has important implications for closing the gap between
theoretical results and argumentation systems. Despite these implications, until
2007 the only extension-based argumentation semantics characterized in terms
of logic programming semantics were the grounded and stable semantics.
Recently, there are novel results which have shown that extension-based
argumentation semantics (such as the preferred) semantics can be characterized in terms
of logic programming semantics [
        <xref ref-type="bibr" rid="ref11 ref5">5, 11</xref>
        ]. In fact, there are results which show
that not only a logic programming approach can characterize extension-based
argumentation semantics but also it can define new extension based
argumentation semantics [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ].
      </p>
      <p>
        In this paper, we present a survey of recent results w.r.t. the close
relationship between extension-based semantics and logic programming semantics with
negation as failure. These results are in two directions:
1. The identification of dual characterizations between extension-based
argumentation semantics and logic programming semantics. These results
represent an extension of Theorem 17 presented in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. These results are based
on regarding argumentation frameworks into logic programs.
2. The implementation of logic programming metainterpreters for inferring
extension-based argumentation semantics. These metainterpreters are based
on the platform of Answer Set Programming (ASP)1 and a characterization
of extension-based argumentation semantics in terms of labels (IN, OUT,
UNDEC). This labeling process has shown to be a practical approach for
defining interactive algorithms for inferring extension-based argumentation
semantics [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. However, there are results that show that the declarative
specification of a labeling process defines an easy approach for computing
extension-based argumentation semantics [
        <xref ref-type="bibr" rid="ref15 ref16">16, 15</xref>
        ].
1 Answer Set Programming is a novel approach of logic programming which was suggested by
the non-monotonic reasoning community [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
      <p>The rest of the paper is divided as follows: In x2, the syntax of valid logic
programs in ASP is introduced, some basic concepts of the Dung’s
argumentation approach are defined and the characterization of extension-based
argumentation semantics in terms of the labels: IN, OUT, UNDEC is presented. In
x3, some recent results w.r.t. the relationship between extension-based
argumentation semantics and logic programming semantics are presented. In x4, some
approaches for implementing logic programming metainterpreters for inferring
extension-based argumentation semantics are presented. Finally, in the last
section some conclusions are presented.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Background</title>
      <p>In this section, we present some basic concepts on: a) the syntax of logic
programs b) extension-based argumentation semantics c) a labeling approach for
characterizing extension-based argumentation semantics.
2.1</p>
      <sec id="sec-2-1">
        <title>Syntax of Logic Programs</title>
        <p>A signature L is a finite set of elements that we call atoms. A literal is an
atom, a (positive literal), or the negation of an atom not a (negative literal).
Given a set of atoms fa1; : : : ; ang, we write not fa1; : : : ; ang to denote the
set of literals fnot a1; : : : ; not ang. A disjunctive clause is a clause of the
form: a1 _ _ am am+1; : : : ; aj ; not aj+1; : : : ; not an where ai is an
atom, 1 i n. When n = m and m &gt; 0, the disjunctive clause is an
abbreviation of the fact a1 _ _ am &gt; where &gt; is an atom that always
evaluate to true. When m = 0 and n &gt; 0 the clause is an abbreviation of
? a1; : : : ; aj ; not aj+1; : : : ; not anwhere ? is an atom that always evaluate
to false. Clauses of this form are called constraints (the rest non-constraints). A
disjunctive logic program is a finite set of disjunctive clauses.</p>
        <p>We denote by LP the signature of P , i.e., the set of atoms that occur in
P. Given a signature L, we write P rogL to denote the set of all the programs
defined over L.
2.2</p>
      </sec>
      <sec id="sec-2-2">
        <title>Extension-based Argumentation Semantics</title>
        <p>
          We are going to present a short introduction of Dung’s argumentation approach.
A fundamental Dung’s definition is the concept called argumentation framework
which is defined as follows:
Definition 1. [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] An argumentation framework is a pair AF = hAR; attacksi,
where AR is a set of arguments, and attacks is a binary relation on AR, i.e.attacks
AR AR.
        </p>
        <p>Following Dung’s reading, we say that A attacks B (or B is attacked by A)
if attacks(A; B) holds. Similarly, we say that a set S of arguments attacks B
(or B is attacked by S) if B is attacked by an argument in S.</p>
        <p>
          Definition 2. [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] A set S of arguments is said to be conflict-free if there are no
arguments A, B in S such that A attacks B.
        </p>
        <p>
          Definition 3. [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] (1) An argument A 2 AR is acceptable with respect to a set
S of arguments if and only if for each argument B 2 AR: If B attacks A then B
is attacked by S. (2) A conflict-free set of arguments S is admissible if and only
if each argument in S is acceptable w.r.t. S.
        </p>
        <p>The (credulous) semantics of an argumentation framework is defined by the
notion of preferred extensions.</p>
        <p>
          Definition 4. [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] A preferred extension of an argumentation framework AF is a
maximal (w.r.t. inclusion) admissible set of AF.
        </p>
        <p>
          Another relevant semantics that Dung introduced is the stable semantics of
an argumentation framework which is based in the notion of stable extension.
Definition 5. [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] A conflict-free set of arguments S is called a stable extension
if and only if S attacks each argument which does not belong to S.
        </p>
        <p>Dung also defined a skeptical semantics which is called grounded semantics
and it is defined in terms of a characteristic function.</p>
        <p>
          FAF (S) = fAj A is acceptable w.r.t. S g
Definition 6. [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] The characteristic function, denoted by FAF , of an
argumentation framework AF = hAR; attacksi is defined as follows:
        </p>
        <p>
          FAF : 2AR ! 2AR
Definition 7. [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] The grounded extension of an argumentation framework AF,
denoted by GEAF , is the least fixed point of FAF
        </p>
        <p>Dung defined the concept of complete extension which provides the link
between preferred extensions (credulous semantics), and grounded extension
(skeptical semantics).</p>
        <p>
          Definition 8. [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] An admissible set S of arguments is called complete extension
if and only if each argument which is acceptable w.r.t. S, belongs to S.
        </p>
        <p>
          In [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ], a general method for generating metainterpreters in terms of logic
programming for argumentation systems was suggested. This is the first
approach which regards an argumentation framework as a logic program. This
metainterpreter is divided in two units: Argument Generation Unit (AGU), and
Argument Processing Unit (APU). The AGU is basically the representation of
the attacks upon an argumentation framework and the APU consists of two
clauses. In order to define these clauses, let us introduce the predicate d(x),
where the intended meaning of d(x) is: “the argument x is defeated” and the
predicate acc(x), where the intended meaning of acc(x) is: “the argument x is
acceptable”.
        </p>
        <p>(C1) acc(x)
(C2) d(x)</p>
        <p>not d(x)
attack(y; x); acc(y)</p>
        <p>The first one (C1) suggests that the argument x is acceptable if it is not
defeated and the second one (C2) suggests that an argument is defeated if it
is attacked by an acceptable argument. Formally, the Dung’s metainterpreter is
defined as follows:
Definition 9. Given an argumentation framework AF = hAR; attacksi, PAF
denotes the logic program defined by PAF = AP U + AGU where AP U =
fC1; C2g and AGU = fattacks(a; b) &gt;j(a; b) 2 attacksg</p>
        <sec id="sec-2-2-1">
          <title>For each extension E of AF , m(E) is defined as follows:</title>
          <p>m(E) = AGU [ facc(a)ja 2 Eg [ fd(b)jb is attacked by some a 2 Eg
Based on PAF , Dung was able to characterize the stable semantics and the
grounded semantics.</p>
          <p>Theorem 1. Let AF be an argumentation framework and E be an extension of
AF. Then
1. E is a stable extension of AF if and only if m(E) is an answer set of PAF
2. E is a grounded extension of AF if and only if m(E) [ fnot def eat(a)ja 2
Eg is the well-founded model of PAF</p>
          <p>This result is really important in argumentation semantics, in fact it has at
least two main implications:
1. It defines a general method for generating metainterpreters for
argumentation systems and
2. It defines a general method for studying abstract argumentation semantics’
properties in terms of logic programming semantics’ properties.</p>
          <p>As we can see, the study of abstract argumentation semantics in terms of
logic programming semantics has important implications.
2.3</p>
        </sec>
      </sec>
      <sec id="sec-2-3">
        <title>Extension-based Argumentation Semantics via Labeling</title>
        <p>
          A common approach for deciding acceptability of arguments is by considering a
labeling process. The labeling approach is a suitable approach for characterizing
argumentation semantics [
          <xref ref-type="bibr" rid="ref10 ref9">9, 10</xref>
          ].
        </p>
        <p>
          The labeling process is based in a labeling mapping. In this paper, we are
going to consider the mapping presented in [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] which considers three labels:
in, out and undec. This mapping is defined as follows: Given an argumentation
framework AF = hAR; attacksi, for any argument a 2 AR one can define
functions IN (a) , OU T (a) and U N DEC(a) that return true if the argument
a is labeled in, out and undec respectively, and false otherwise. Also, the sets
IN , OU T and U N DEC can be defined as the sets containing all the arguments
in the framework labeled in, out and undec respectively.
        </p>
        <p>A special type of labeling is the reinstatement labeling. A reinstatement labeling
is a labeling that, given an Argumentation framework AF = hAR; attacksi and
attacks(a; b) if f (a; b) 2 attacks meets the following two properties:
8a 2 AR : OU T (a) = true if f 9b 2 AR : attacks(b; a) ^ IN (b) = true
8a 2 AR : IN (a) = true if f 8b 2 AR : attacks(b; a) then OU T (b) = true</p>
        <p>
          Some authors have shown that by considering a mapping process one can
characterize the extension-based argumentation semantics defined by Dung in
[
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] and also some other new argumentation semantics that have been defined by
the argumentation community. Some of these characterizations are [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ]:
– Complete extensions are equal to reinstatement labellings.
– Grounded extensions are equal to reinstatement labellings, where the set IN
is minimal. That is, there is no other possible reinstatement labeling in the
same Argumentation Framework with a set IN 0 such that IN 0 IN .
– Preferred extensions are equal to reinstatement labellings, where the set IN
is maximal. That is, there is no other possible reinstatement labeling in the
same Argumentation Framework with a set IN 0 such that IN IN 0.
– Stable extensions are equal to reinstatement labellings, where the set
        </p>
        <p>U N DEC is empty. That is, 8a 2 AR : a 2= U N DEC.
– Semi-stable extensions are equal to reinstatement labellings, where the set
U N DEC is minimal. That is, there is no other possible reinstatement
labeling in the same Argumentation Framework with a set U N DEC0 such that
U N DEC0 2 U N DEC.</p>
        <p>In the following sections, we are going to present some recent results which
extend Theorem 1 and its implications.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Extension-Based Semantics as Logic Programming Semantics with Negation as Failure</title>
      <p>In this section, we are going to introduce some recent results which extend
Theorem 1. For this aim, we are going to introduce some simple mappings in order
to regard argumentation frameworks in terms of logic programs.
Definition 10. Let AF = hAR; attacksi be an argumentation framework, then
PA1F , PA2F and PA3F are defined as follows:</p>
      <p>PA1F =
[</p>
      <p>f
a2AR b:(b;a)2attacks</p>
      <p>[
PA2F =
[</p>
      <p>f
a2AR b:(b;a)2attacks</p>
      <p>Theorem 2. Let AF be an argumentation framework and E be a set of
arguments. Then:</p>
      <sec id="sec-3-1">
        <title>2 We say that c defends a if b attacks a and c attacks b.</title>
        <p>– E is the grounded extension of AF iff tr(E) is the well-founded model of</p>
        <p>A1F [ A2F [ A3F .
– E is a stable extension of AF iff tr(E) is a stable model of</p>
        <p>P si1AF [ A2F [ A3F .
– E is a preferred extension of AF iff tr(E) is a p-stable model of 1
2 AF [
AF [ A3F .</p>
        <p>
          This theorem was proved in [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]. Observe that essentially, this theorem is
extending Theorem 1 and suggests that one can capture three of the well
accepted argumentation semantics in one single logic program and three different
logic programming semantics. The interesting part of this kind of results is that
one can explore meta-interpreters of these argumentation semantics in terms of
solvers of logic programming semantics . Also, one can explore non-monotonic
reasoning properties of argumentation semantics in terms of their
corresponding logic programming semantics. For instance, a possible research issue in this
line is to explore the non-monotonic properties of the preferred semantics via
p-stable semantics. It is worth mentioning that the p-stable semantics is based
on paraconsistent logics. This suggests that one can characterize the preferred
semantics in terms of paraconsistent logics.
        </p>
        <p>
          The identification of non-monotonic reasoning properties which could
represent a good-behavior of an argumentation semantics represents a hot topic
since recently the number of new argumentation semantics in the context of
Dungs argumentation approach has increased. The new semantics are motivated
by the fact that the extension based semantics introduced by Dung in [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] have
exhibited a variety of problems common to the grounded, stable and preferred
semantics [
          <xref ref-type="bibr" rid="ref13 ref3">13, 3</xref>
          ].
        </p>
        <p>
          One of the approaches that has been emerging for building new
extensionbased argumentation semantics was introduced in [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]. This approach is based
on a solid concept in graph theory: strongly connected components (SCC). In
[
          <xref ref-type="bibr" rid="ref3">3</xref>
          ], several alternative argumentation semantics were introduced; however, from
them, CF2 is an argumentation semantics that has shown to have good-behavior
[
          <xref ref-type="bibr" rid="ref2">2</xref>
          ].
        </p>
        <p>
          In [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ], an new approach for building argumentation semantics was
introduced. In this approach the author suggests to use any logic programming
semantics. By considering this approach, the authors were able to characterize the
argumentation semantics CF2.
        </p>
        <p>
          Theorem 3. [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ] Let AF be an argumentation framework and E be a set of
arguments. Then, E is a CF2 extension AF iff tr(E) is M M r model of A1F [
A3F .
        </p>
        <p>
          This theorem suggests that the relationship between the approach presented
in [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] and [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ] is close. In fact, both Theorem 2 and Theorem 3 suggest that not
only one can characterize argumentation semantics in terms of logic
programming semantics but also one can define new argumentation semantics in terms
of logic programming semantics.
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4 Inferring Extension-Based Semantics via NonMonotonic</title>
    </sec>
    <sec id="sec-5">
      <title>Reasoning Tools</title>
      <p>So far, we have shown that logic programming semantics can be a suitable
approach for exploring properties of extension-based argumentation semantics and
defining new argumentation semantics. In this section, we show that the use of
nonmonotic tools represent a potential approach for building intelligent systems
based on an argumentation reasoning process.
4.1</p>
      <sec id="sec-5-1">
        <title>Preferred Semantics by Positive Disjunctive Logic Programs</title>
        <p>
          Taking advantage of the mappings presented in Definition 10, in [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ], it was
shown that by considering A1F [ A2F as a propositional formula its minimal
models characterize the preferred extensions of the given argumentation
framework. In fact, by transforming A1F into a positive disjunctive logic program one
can characterize the preferred semantics in terms of stable model semantics as
follows:
Definition 11. Let AF = hAR; attacksi be an argumentation framework ,a 2
AR and attacks(a; b) if f (a; b) 2 attacks. We define the transformation
function (a) as follows:
(a) = f
        </p>
        <p>[
b:attacks(b;a)
fd(a) _ d(b)gg [ f</p>
        <p>[
b:attacks(b;a)
fd(a)</p>
        <p>^
c:attacks(c;b)
d(c)gg</p>
        <sec id="sec-5-1-1">
          <title>Now we define the function in terms of an argumentation framework.</title>
          <p>Definition 12. Let AF = hAR; attacksi be an argumentation framework. We
define its associated general program as follows:</p>
          <p>AF =</p>
          <p>(a)
[
a2AR
Theorem 4. Let AF = hAR; attacksi be an argumentation framework and
S AR. S is a preferred extension of AF if and only if compl(S) is a stable
model of AF .</p>
          <p>
            This theorem suggest that one can use any disjunctive answer set solver as
DLV [
            <xref ref-type="bibr" rid="ref6">6</xref>
            ] for inferring the preferred semantics. It is worth mentioning that by
considering PA1F , PA2F and PA3F one can use any answer solver for computing
the stable and grounded semantics.
          </p>
        </sec>
      </sec>
      <sec id="sec-5-2">
        <title>Computing Extension-Based Argumentation Semantics by Labeling</title>
        <p>Until now, we have shown that we can infer extension-based argumentation
semantics by regarding an argumentation framework as a logic program. However,
as we saw in x2.3 some extension-based argumentation semantics can be
characterized by considering labeling process. The labeling represents an alternative
approach for computing extension-based argumentation semantics in terms of
logic programming with negation as failure. In particular, there are results that
show that by considering a labeling process one is able to compute the grounded,
stable, preferred and complete argumentation semantics in terms of answer set
semantics. An outstanding trend of computing such labellings is via answer set
solvers.</p>
        <p>
          The following two sections present studies that explore ASP applications
that are able to compute various argumentation semantics, as well as decide
whether an argument is sceptically or credulously accepted with reference to the
chosen semantics. The idea behind these works is to transform an argumentation
framework into a single normal logic program that references an argumentation
semantics (either preferred, grounded, stable or complete). The answer set of the
resulting program is a labeling [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] that expresses an argument-based extension
for the chosen semantics.
        </p>
        <p>Once programs to compute every available semantics are available, a
procedure to decide if an argument is sceptically or credulously accepted in the
semantic can be introduced. The following mapping between skeptical or
credulous arguments, argumentation frameworks and argumentation semantics is
defined. Given an argumentation framework AF = hAR; attacksi, an argument
a 2 AR, and an argumentation semantics S: a) a is credulously justified if
a 2 IN in, at least, one possible labeling that matches the restrictions defined
by the semantic S. b) a is sceptically justified if a 2 IN in every possible
labeling that matches the restrictions defined by the semantic S.
4.3</p>
      </sec>
      <sec id="sec-5-3">
        <title>First Approach for Implementing an Argumentation MetaInterpreter in ASP</title>
        <p>
          This section presents an approach for implementing an argumentation
metainterpreter presented in [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ] based on answer-set semantics to compute
admissible, preferred, stable, semi-stable, complete, and grounded extensions.
        </p>
        <p>The following programs are specified given an Argumentation Framework
AF = hAR; attacksi, two variables X and Y , the predicate symbol arg that
denotes that the variable a is an argument of AF , and the functions IN (X ) ,
OU T (X ) defined before.</p>
        <p>The program formed by the set of rules CF is able to compute complete
extensions. The set of rules CF is as follows:</p>
        <p>IN(x) arg(x); not OUT (x). OUT (x) arg(x); not IN(x).</p>
        <p>? IN(x); IN(Y ); defeat(X; Y ). defeat(X; Y ) (X; Y ) 2 attacks.</p>
        <p>The program formed by the set of rules CF [ stable is able to compute stable
extensions. The set of rules stable is as follows:</p>
        <p>defeated(X) IN(Y ); attack(Y; X) 2 attacks.</p>
        <p>The program formed by the set of rules CF [
compute complete extensions. The set of rules
OUT (X); not defeated(X).</p>
        <p>
          stable [ complete is able to
complete is as follows:
not defended(X) defeat(Y; X); not defeated(Y ). OUT (X); not not defended(X).
Computing grounded, preferred and semi-stable extensions is a bit harder,
because they require a labeling that maximizes or minimizes the elements in a set.
In order to compute these extensions, this approach makes use of a stratified
program [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ]. This program defines the order operator ( &lt; ) between the arguments
in the domain, and derives predicates for minimal, maximal and successor. For
doing so, the following program, &lt; is defined:
lt(X; Y ) arg(X); arg(Y ); X &lt; Y . nsucc(X; Z) lt(X; Y ); lt(Y; Z).
succ(X; Y ) lt(X; Y ); not nsucc(X; Y ). ninf(Y ) lt(X; Y ).
        </p>
        <p>inf(X) arg(X); not ninf(X). nsup(X) lt(X; Y ). sup(X) arg(X); not nsup(X).
Using the program above, the predicate def end(X ) is defined. This predicate is
derived if for a given Argumumentation Framework AF = hAR; attacksi, each
argument Y : Y 2 AR def end(X; Y ). In order ensure that def end(X; Y ) is
checked for every available argument, variable Y ranges from the minimal to
the maximal using successor relations. The program def end that defines the
above mentioned predicate, is as follows:
defend upto(X; Y ) inf(Y ); arg(X); not defeat(Y; X).
defend upto(X; Y ) inf(Y ); in(Z); defeat(Z; Y ); defeat(Y; X).
defend upto(X; Y ) succ(Z; Y ); defend upto(X; Z); not defeat(Y; X).
defend upto(X; Y ) succ(Z; Y ); defend upto(X; Z); in(V ); defeat(V; Y ); defeat(Y; X).
defend(X) sup(Y ); defend upto(X; Y ).</p>
        <p>The program formed by the set of rules &lt; [ def end [
grounded extensions. The set of rules ground is as follows:
ground computes
in(X) defended(X).</p>
        <p>Computing both preferred and semi-stable extensions will make use of the
programs &lt; and def end defined above. However this process is a bit more
complicated, because it requires computing maximal sets instead of minimal
ones. For tackling this issue the analyzed approach makes use of a saturation
technique. This technique consists in building a labeling S such that every other
possible labeling T that complies with certain conditions (either maximal I N
or U N DEC labels) does not characterize an admissible extension.</p>
        <p>First of all, in order to model the maximal sets that both preferred and
semistable extensions require, the program def end presented above is slightly
modified, to include predicates inN and outN . The meaning of the predicates varies
depending the type of semantic computed (either preferred or semi-stable) so
they are defined later, in the program associated to this semantics. The program
undef eated is defined as follows:
undefeated upto(X; Y ) inf(Y ); outN(X); outN(Y ).
undefeated upto(X; Y ) inf(Y ); outN(X); not defeat(Y; X).
undefeated upto(X; Y ) succ(Z; Y ); undefeated upto(X; Z); outN(Y ).
undefeated upto(X; Y ) succ(Z; Y ); undefeated upto(X; Z); not defeat(Y; X).</p>
        <p>undefeated(X) sup(Y ); undefeated upto(X; Y ).</p>
        <p>The program formed by the sets of rules adm [
computes preferred extensions. The set of rules
&lt; [ undef eated [ pref erred
pref erred is as follows:
inf(Y ); out(Y ); outN(Y ).</p>
      </sec>
      <sec id="sec-5-4">
        <title>Second Approach for Implementing an Argumentation</title>
      </sec>
      <sec id="sec-5-5">
        <title>MetaInterpreter in ASP</title>
        <p>
          The work presented in this section[
          <xref ref-type="bibr" rid="ref15">15</xref>
          ] is an approach for computing Dung’s
standard argumentation semantics as well as semi-stable semantics via ASP.
        </p>
        <p>The base of all this programs is a set of rules defining the Argumentation
Framework, that is, both the available arguments and the attack relations
between them. Given an argumentation framework AF = hAR; attacksi, and
two constants a and b the following ASP program , known as AF can be
defined:
ag(a) . for any argument a 2 AR def(a; b). for any pair (a; b) 2 attacks</p>
        <p>The program formed by the set of rules AF [ Complete is able to compute
complete extensions. Given two variables X and Y , the predicate symbols ng
and arg and the functions I N (x); OU T (x); U N DEC(x) defined before, the
set of rules Complete is as follows:</p>
        <p>IN(x) ag(x); not ng(x). ng(x) IN(y); def(y; x). ng(x) UNDEC(y); def(y; x).
OUT (x) IN(y); def(y; x). UNDEC(x) ag(x); not IN(x) ; not OUT (x).</p>
        <p>The program formed by the set of rules AF [ Complete [ Stable is able
to compute stable extensions. The set of rules Stable is as follows:
? UNDEC(x)</p>
        <p>Computing grounded, preferred and semi-stable extensions is a bit harder,
because it implies the need to minimize or maximize the elements in certain sets.
In order to be able to compute such semantics, the following program, known
as AF M AX is defined:
m1(Lt) L. for any set of arguments Lt : 8a 2 LtIN(a) [ UNDEC(a) m2(Lt; j) &gt;. cno(j) &gt;.
1 j where is the number of possible labellings in the framework, and Lt is a set of arguments labeled IN or UNDEC in the
labeling number j.
i(Lt) for any set of arguments Lt : 8a 2 Lt IN(a) u(Lt) for any set of arguments Lt : 8a 2 Lt UNDEC(a)
The program formed by the set of rules AF [ AFM AX [ Complete [
P ref erred is able to compute preferred extensions.. The set of rules P ref erred
is as follows:
c?(Y ) d(Ycn);on(oYt)c;(mY1)(.X); i(X); not m2(X; Y ). d(Y ) m2(X; Y ); i(X); not m1(X).</p>
        <p>The program formed by the set of rules AF [ AFM AX [ Complete [
Grounded is able to compute grounded extensions. The set of rules Grounded
is as follows:
c?(Y ) c(Yc)n;on(oYt)d;(mY1)(.X); i(X); not m2(X; Y ). d(Y ) m2(X; Y ); i(X); not m1(X).</p>
        <p>The program formed by the set of rules AF [ AFM AX [
semi stable is able to compute semi-stable extensions.</p>
        <p>The set of rules semi stable is as follows:
c(Y ) cno(Y ); m1(X); u(X); not m2(X; Y ). d(Y ) m2(X; Y ); u(X); not m1(X).
? c(Y ); not d(Y ).</p>
        <p>Complete [</p>
      </sec>
      <sec id="sec-5-6">
        <title>Discussion w.r.t. Label Process</title>
        <p>Labeling provides an easy and intuitive approach to argumentation theory. It is
based on simple and easy principles that are simpler to explain and understand
than extension-based approaches.</p>
        <p>Computing the labels that are to be assigned to nodes via an ASP program
allows to build and interpreter that processes the Argumentation Framework
as input, in contrast to using a fixed logic program which depends on the
Argumentation Framework to process. In this sense, the interpreter is easier to
understand, extend and debug. Moreover, it eases the process of formally
proving the correspondence between answer sets and extensions. Finally, having an
interpreter which is independent of the Argumentation Framework allows to
easily change the framework without having to re-generate the logic program.
However, it must be noted that a full decoupling between the input
Argumentation Framework and the programs used to compute its labellings has not been
achieved. Both works present programs that are bounded to the Argumentation
Framework when computing grounded, preferred and semi-stable extension. In
the first work analyzed if the Argumentation Framework changes, predecessor,
successor and maximal properties of arguments must be re-built, whereas in the
second one constant must be updated.
5</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>Conclusions</title>
      <p>
        In this paper, we have presented a survey of resent results w.r.t. the dual
relationship between extension-based argumentation semantics and logic programming
semantics (see x3). We have presented as well results that show that answer set
programming is suitable approach for building Argumentation MetaInterpreters
(see x4). We have presented two approaches for exploring extension-based
argumentation semantics in terms of logic programming. On the one hand, the first
approach [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] presents a more complex but more versatile code due to the usage
of the stratified programming and saturation techniques. On the other hand, the
second one [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] presents a more simple code, but it has to be meta-coded by
an external program due to being bound to the number of available arguments
in the argumentation framework. Both approaches are based on mapping the
argumentation framework to a labeling system, this facilitates the computational
treatment of the argumentation semantics in terms of declarative specifications.
There are still several open issues to explore in the close relationship between
argumentation theory and logic programming with negation as failure. One of
the most appealing issues is exploring the inference of CF2 semantics in terms
of answer set models.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>C.</given-names>
            <surname>Baral</surname>
          </string-name>
          .
          <article-title>Knowledge Representation, Reasoning and Declarative Problem Solving</article-title>
          . Cambridge University Press, Cambridge,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>P.</given-names>
            <surname>Baroni</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Giacomin</surname>
          </string-name>
          .
          <article-title>On principle-based evaluation of extension-based argumentation semantics</article-title>
          .
          <source>Artificial Intelligence.</source>
          ,
          <volume>171</volume>
          (
          <fpage>10</fpage>
          -15):
          <fpage>675</fpage>
          -
          <lpage>700</lpage>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>P.</given-names>
            <surname>Baroni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Giacomin</surname>
          </string-name>
          , and
          <string-name>
            <surname>G. Guida.</surname>
          </string-name>
          <article-title>SCC-recursiveness: a general schema for argumentation semantics</article-title>
          .
          <source>Artificial Intelligence</source>
          ,
          <volume>168</volume>
          :
          <fpage>162</fpage>
          -
          <lpage>210</lpage>
          ,
          <year>October 2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>T. J. M. Bench-Capon</surname>
            and
            <given-names>P. E.</given-names>
          </string-name>
          <string-name>
            <surname>Dunne</surname>
          </string-name>
          .
          <source>Argumentation in artificial intelligence. Artificial Intelligence</source>
          ,
          <volume>171</volume>
          (
          <fpage>10</fpage>
          -15):
          <fpage>619</fpage>
          -
          <lpage>641</lpage>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>J. L.</given-names>
            <surname>Carballido</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. C.</given-names>
            <surname>Nieves</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Osorio</surname>
          </string-name>
          .
          <article-title>Inferring Preferred Extensions by Pstable Semantics</article-title>
          .
          <source>Iberoamerican Journal of Artificial Intelligence (Inteligencia Artificial) ISSN</source>
          :
          <fpage>1137</fpage>
          -
          <lpage>3601</lpage>
          ,
          <issue>13</issue>
          (
          <issue>41</issue>
          ):
          <fpage>38</fpage>
          -
          <lpage>53</lpage>
          ,
          <year>2009</year>
          (doi: 10.4114/ia.v13i41.1029).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>S.</given-names>
            <surname>DLV</surname>
          </string-name>
          . Vienna University of Technology. http://www.dbai.tuwien.ac.at/proj/dlv/,
          <year>1996</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>P. M.</given-names>
            <surname>Dung</surname>
          </string-name>
          .
          <article-title>On the acceptability of arguments and its fundamental role in nonmonotonic reasoning, logic programming and n-person games</article-title>
          .
          <source>Artificial Intelligence</source>
          ,
          <volume>77</volume>
          (
          <issue>2</issue>
          ):
          <fpage>321</fpage>
          -
          <lpage>358</lpage>
          ,
          <year>1995</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>G.</given-names>
            <surname>Governatori</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. J.</given-names>
            <surname>Maher</surname>
          </string-name>
          , G. Antoniou, and
          <string-name>
            <given-names>D.</given-names>
            <surname>Billington</surname>
          </string-name>
          .
          <article-title>Argumentation semantics for defeasible logic</article-title>
          .
          <source>J. Log. Comput.</source>
          ,
          <volume>14</volume>
          (
          <issue>5</issue>
          ):
          <fpage>675</fpage>
          -
          <lpage>702</lpage>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>H.</given-names>
            <surname>Jakobovits</surname>
          </string-name>
          and
          <string-name>
            <given-names>D.</given-names>
            <surname>Vermeir</surname>
          </string-name>
          .
          <article-title>Robust semantics for argumentation frameworks</article-title>
          .
          <source>Journal of logic and computation</source>
          ,
          <volume>9</volume>
          (
          <issue>2</issue>
          ):
          <fpage>215</fpage>
          -
          <lpage>261</lpage>
          ,
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <given-names>S.</given-names>
            <surname>Modgil</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Caminada</surname>
          </string-name>
          .
          <article-title>Argumentation in Artificial Intelligence, chapter Proof Theories and Algorithms for Abstract Argumentation Frameworks</article-title>
          , pages
          <fpage>105</fpage>
          -
          <lpage>129</lpage>
          . Springer,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>J. C. Nieves</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Osorio</surname>
            , and
            <given-names>U.</given-names>
          </string-name>
          <article-title>Corte´s. Preferred Extensions as Stable Models</article-title>
          .
          <source>Theory and Practice of Logic Programming</source>
          ,
          <volume>8</volume>
          (
          <issue>4</issue>
          ):
          <fpage>527</fpage>
          -
          <lpage>543</lpage>
          ,
          <year>July 2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>J. C. Nieves</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Osorio</surname>
            , and
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Zepeda</surname>
          </string-name>
          .
          <article-title>Expressing Extension-Based Semantics based on Stratified Minimal Models</article-title>
          . In H. Ono,
          <string-name>
            <given-names>M.</given-names>
            <surname>Kanazawa</surname>
          </string-name>
          , and R. de Queiroz, editors,
          <source>Proceedings of WoLLIC</source>
          <year>2009</year>
          , Tokyo, Japan, volume
          <volume>5514</volume>
          of FoLLI-LNAI subseries, pages
          <fpage>305</fpage>
          -
          <lpage>319</lpage>
          . Springer Verlag,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <given-names>H.</given-names>
            <surname>Prakken</surname>
          </string-name>
          and
          <string-name>
            <given-names>G. A. W.</given-names>
            <surname>Vreeswijk</surname>
          </string-name>
          .
          <article-title>Logics for defeasible argumentation</article-title>
          . In D. Gabbay and
          <string-name>
            <given-names>F.</given-names>
            <surname>Gu</surname>
          </string-name>
          ¨nthner, editors,
          <source>Handbook of Philosophical Logic</source>
          , volume
          <volume>4</volume>
          , pages
          <fpage>219</fpage>
          -
          <lpage>318</lpage>
          . Kluwer Academic Publishers, Dordrecht/Boston/London, second edition,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14. I. Rahwan and
          <string-name>
            <given-names>P.</given-names>
            <surname>McBurney</surname>
          </string-name>
          .
          <article-title>Argumentation technology: Introduction to the special issue</article-title>
          .
          <source>IEEE Intelligence Systems</source>
          ,
          <volume>22</volume>
          (
          <issue>6</issue>
          ):
          <fpage>21</fpage>
          -
          <lpage>23</lpage>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <given-names>K. N. Toshiko</given-names>
            <surname>Wakaki</surname>
          </string-name>
          .
          <source>New Frontiers in Artificial Intelligence</source>
          , volume
          <volume>5447</volume>
          /2009 of Lecture Notes in Computer Science, pages
          <fpage>254</fpage>
          -
          <lpage>269</lpage>
          .
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <given-names>S. W.</given-names>
            <surname>Uwe</surname>
          </string-name>
          <string-name>
            <surname>Egly</surname>
          </string-name>
          , Sarah Alice Gaggl.
          <article-title>Answer-set programming encodings for argumentation frameworks</article-title>
          .
          <source>Technical report, DBAI</source>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>