<!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>
      <journal-title-group>
        <journal-title>PLP</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>A First Journey into the Complexity of Statistical Statements in Probabilistic Answer Set Programming</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Damiano Azzolini</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Markus Hecher</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Massachusetts Institute of Technology</institution>
          ,
          <addr-line>Cambridge</addr-line>
          ,
          <country country="US">United States</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University of Ferrara</institution>
          ,
          <addr-line>Ferrara</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2024</year>
      </pub-date>
      <volume>11</volume>
      <abstract>
        <p>Probabilistic Answer Set Programming is an eficient formalism to express uncertain information with an answer set program (PASP). Recently, this formalism has been extended with statistical statements, i.e., statements that can encode a certain property of the considered domain, within the PASTA framework. To perform inference, these statements are converted into answer set rules and constraints with aggregates. The complexity of PASP has been studied in depth, with results regarding both membership and completeness. However, a complexity analysis of programs with statements is missing. In this paper, we close this gap by studying the complexity of PASTA statements.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Probabilistic Answer Set Programming</kwd>
        <kwd>Computational Complexity</kwd>
        <kwd>Statistical Statements</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Representing uncertain information with an interpretable language is currently one of the main goal of
Statistical Relational Artificial Intelligence [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Among the diferent languages, we have ProbLog [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ],
Logic Programs with Annotated Disjunctions [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], and Stochastic Logic Programs [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] while some of
the possible semantics are the Distribution Semantics [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] and the Credal Semantics [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Answer Set
Programming [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] is a logic-based language that has been successfully applied to model combinatorial
domains. When the information is uncertain, we can adopt the Credal Semantics, that gives a meaning
to Answer Set Programs extended with probabilistic facts [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. These programs are called Probabilistic
Answer Set Programs (PASP).
      </p>
      <p>
        More than 30 years ago, Halpern [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] introduced the so-called “Type 1 statments”, also known as
“probabilistic conditionals” or “statistical statements”, that allow expressing statistical information about
a domain of interest. An example of such a statement is “X% of elements of a domain have the property
Y”. Recently, the authors of [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] introduced the possibility to express Type 1 statements with Probabilistic
Answer Set Programming, that are converted into a disjunctive rule and a constraint with aggregates,
and provided a framework called PASTA.
      </p>
      <p>
        Inference in PASP has been proved hard [
        <xref ref-type="bibr" rid="ref10 ref11 ref6">6, 10, 11</xref>
        ]. For example, the inference task (i.e., the
computation of the probability of a query) for propositional programs lies in the PPNP complexity class for
programs allowing disjunctive rules only, where PP represents the class of the decision problems that
can be solved in polynomial time with a probabilistic Turing machine [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. If we add stratified negation
p
the complexity jumps to the PPΣ2 class of the polynomial hierarchy [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. Also in practice, inference in
such programs is very expensive [
        <xref ref-type="bibr" rid="ref14 ref9">9, 14</xref>
        ].
      </p>
      <p>In this paper, we focus on PASP composed by a set of probabilistic facts and a set of statistical
statements only, and we study the complexity of inference in such programs. Theoretical results show
that, in such simple programs, inference can be eficiently computed.</p>
      <p>The paper is structured as follows: Section 2 discusses some background knowledge related to Answer
Set Programming, Probabilistic Answer Set Programming and statistical statements, and Computational
Complexity. In Section 3 we study the complexity of programs with statistical statements. Section 4
surveys related work and Section 5 concludes the paper.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Background</title>
      <sec id="sec-2-1">
        <title>2.1. Answer Set Programming</title>
        <p>
          Answer Set Programming [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] (ASP) is one of the possible logic-based languages suitable to model
combinatorial domains. An answer set program is composed by a set of disjunctive rules of the form
ℎ0; . . . ; ℎ : − 0, . . . , 
where ℎ0; . . . ; ℎ is a disjunction of atoms called head and 0, . . . ,  is a conjunction of literals called
body. We use  to denote negation. Head and body may be empty: if the heady is empty (but the
body is not), the rule is called constraint; conversely, if the head has only one atom and the body is
empty, it is called fact. An example of disjunctive rule is ;  : − , where ;  is the head and  is the
body. Another construct often adopted in answer set programs are aggregates [15]. An aggregate has
the form 0 0# {0; . . . ; } 11, where the s are aggregate terms of the form 0, . . . ,  :  where
each 0 is a term and  is a conjunction of literals,  is an aggregation function such as  or ,
 0 and  1 are arithmetic comparison operators, and 0 and 1 are constants. An example of aggregate
is #{ : ()} &gt; 3.
        </p>
        <p>We consider the Stable Model Semantics [16] as semantics for answer set programs. Under this
semantics, each program is associated with zero (in this case the program is often termed unsatisfiable )
or more stable models. A program is called ground when there are no variables in it. A non ground
program can be transformed into a ground program with a process called grounding. The Herbrand base
of a ground program  is the set of all possible ground atoms that can be constructed using the symbols
defined in  , often indicated with  . An interpretation is a subset of  . The reduct of a ground
program  w.r.t. a subset  of  (this subset is called interpretation), denoted with   , is computed by
removing from  the rules having at least one literal in the body is false in . An interpretation  is
called stable model or answer set of a program  if it is a minimal model under set inclusion of   . We
use ( ) to denote the set of answer sets of  . Let us clarify these definitions with an example.
Example 1. The following answer set program has two facts and three rules.
qa:- a.
qb:- b, not nqb.
nqb:- b, not qb.</p>
        <p>It has two answer sets: {, , , } and {, , , }.</p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Probabilistic Answer Set Programming</title>
        <p>
          To describe uncertain scenarios with Answer Set Programming, several semantics have been proposed,
such as LPMLN [17], P-log [18], and the credal semantics [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ]. Here we focus on the credal semantics,
which extends an answer set program with probabilistic facts [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] of the form
        </p>
        <p>
          Π :: .
where Π ∈]0, 1[ and  is an atom. Intuitively, Π is the probability that  is included in the program
and 1 − Π that it is excluded. In the remaining part of the paper, we use the acronym PASP to indicate
both Probabilistic Answer Set Programming under the credal semantics and a probabilistic answer set
program interpreted under the credal semantics. Each PASP with  probabilistic fact defines 2 world,
obtained by considering each possible selection of probabilistic facts. Let us call  the set of all the
worlds. The probability of a world  ∈  is computed as [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]
 () = ∏︁  () · ∏︁ 1 −  ()
        </p>
        <p>∈ ̸∈
that is, by considering the probabilistic facts  present or absent in . In each world  the set of
probabilistic facts is fixed, so each world is an answer set program. Thus,  may have 0 more answer
sets but the credal semantics requires that it has at least one. In this paper, we will always assume that
every PASP has at least one answer set per world. Given a conjunction of ground literals , often called
query, its probability  () is described by a range [P(), P()] whose bounds depend on the number of
answer sets of every world with the query included. A world  contributes to both the lower (P())
and upper (P()) bound for a query  if  is present in every answer set. Otherwise, if the query is true
only in some answer sets,  contributes only to the upper probability bound. If the query is present in
none of the answer sets of ,  contributes to none of the bounds. In formulas,
 () = [P(), P()] = [
∑︁
 (),
∑︁
 ()]
∈ .. ∀∈(), |=
∈ .. ∃∈(), |=</p>
        <sec id="sec-2-2-1">
          <title>Let us discuss a clarifying example.</title>
          <p>Example 2. The following program has two probabilistic facts,  and .
0.4::a.
0.3::b.
qa:- a.
qb:- b, not nqb.
nqb:- b, not qb.
q:- qa.
q:- qb.</p>
          <p>It has 22 = 4 worlds: 0, where neither  nor  are present, whose probability is (1 − 0.4) · (1 − 0.3) =
0.6 · 0.7 = 0.42 and (0) = {{}}; 1, where  is present and  is absent, whose probability is
0.4 · (1 − 0.3) = 0.4 · 0.7 = 0.28 and (1) = {{, , }}; 2, where  is absent and  is present,
whose probability is (1 − 0.4) · 0.3 = 0.6 · 0.3 = 0.18 and (2) = {{, , }, {, }}; and
3, where both  and  are present, whose probability is 0.4 · 0.3 = 0.4 · 0.3 = 0.12 and (3) =
{{, , , , }, {, , , , }}. If we are interested in computing the probability of , we have that
0 contributes to none of the bounds since  is present in none of its answer sets, 1 contributes to both the
lower and upper bound since  is present in every answer set (there is only one with  in it), 2 contributes
to only the upper bound since  is present in only one of the two answer sets, and 3 contributes to both the
lower and upper bound since  is present in every answer set (both have  in it). Overall, [P(), P()] =
[ (1) +  (3),  (1) +  (2) +  (3)] = [0.28 + 0.12, 0.28 + 0.18 + 0.12] = [0.4, 0.58].</p>
          <p>
            Halpern’s statistical statements [
            <xref ref-type="bibr" rid="ref8">8</xref>
            ], also known as probabilistic conditionals, allow representing
statistical information about a domain, such as “X% of domain elements have the property Y”. The
authors of [
            <xref ref-type="bibr" rid="ref9">9, 19</xref>
            ] introduced the possibility of encoding such statements within a PASP with the syntax:
( | )[Π , Π ]
where  and  are (conjunction of) atoms and Π , Π  ∈ [
            <xref ref-type="bibr" rid="ref1">0, 1</xref>
            ], Π  ≤ Π . We call  consequent and 
antecedent. The meaning is “the fraction of s that have the property  is between Π  and Π ”. To
perform inference, a statement is converted into a disjunctive rule with the structure ; _ : − ,
describing that the property  may or may not hold for each element , and a constraint with counting
aggregates imposing the specified probability bound, i.e., imposing
Π  ≤
#{X : (X), (X)}
#{X : (X)}
≤ Π .
          </p>
        </sec>
        <sec id="sec-2-2-2">
          <title>Let us clarify it by discussing the following example from [9].</title>
          <p>
            Example 3 (from [
            <xref ref-type="bibr" rid="ref9">9</xref>
            ]). The following program has 3 probabilistic facts and one statistical statement.
0.4::bird(1). 0.4::bird(2). 0.4::bird(3).
(fly(X) | bird(X))[0.6,1].
          </p>
          <p>The probabilistic facts indicate that the animals indexed with 1 up to 4 are birds with a probability of
0.4. The statement describes that at least 60% of the birds fly (and at most 100%, all of them). To perform
inference, this program is converted into;
0.4::bird(1). 0.4::bird(2). 0.4::bird(3).
fly(X) ; not_fly(X) :- bird(X).
:- #count{X:fly(X),bird(X)} = FB, #count{X:bird(X)} = B, 10*FB &lt; 6*B.</p>
          <p>If we want to compute the probability of the query fly(1), we get 0.336 for the lower and 0.4 for the upper
probability.</p>
          <p>We can convert the program above into a program without counting aggregates, by enumerating all
the possible results of the aggregates. For examples, the program shown in Example 3 can be converted
into:</p>
        </sec>
      </sec>
      <sec id="sec-2-3">
        <title>2.3. Computational Complexity</title>
        <p>
          We assume familiarity with computational complexity and use complexity classes as usual, see, e.g., [20,
21]. In particular, we use the complexity class PP for probabilistic polynomial-time problems [22] and
we rely on oracle notations as usual. A complete canonical problem for PP is to decide whether a
propositional formula has at least  ∈ N satisfying assignments. More formally, the goal is to evaluate
whether the formula  = #≥ . () evaluates to true, where  () is a 3-CNF formula over variables
in . This is the case if there are at least  satisfying assignments of  . Analogously, evaluating formulas
of the form  = #≥ .∀. (,  ) with  being a Boolean formula in 3-DNF over variables in  ∪ , is
PPNP-complete. Intuitively, this requires witnessing at least  assignments over , where any extension
of these assignments over variables  , ensures that  evaluates to true. For a detailed introduction over
this formalism and a survey on complexity results for probabilistic reasoning, see [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ].
t(y) ; f(y).
pos(, ). neg(, ).
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. The Complexity of PASTA Inference</title>
      <p>
        We obtain the following complexity results, which underline the simplicity of inference for PASTA
programs. As in [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], we focus here on the complexity of cautious reasoning, i.e., given a set of
ground literals  (query), a set of ground atoms  (evidence), and a real number  , deciding whether
P( | ) ≥  . As also noted in [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], the computation of the upper probability reduces to the
computation of the lower probability on the complement set of . To lighten the notation, we simply
refer to the cautious reasoning task as inference task.
      </p>
      <p>Theorem 1 (Complexity). Inference in PASTA programs under credal semantics is PPNP-complete.
Proof. Hardness: We reduce from #≥ .∀. (,  ) with  being a Boolean formula in 3-DNF over
variables in  = {1, . . . , } and  = {1, . . . , }. We construct a PASTA program Π , where for
every variable  occurring in , we add probabilistic facts</p>
      <p>We care about satisfied worlds, so we guess the state of satisfiability for every DNF term

sat() ; nsat().</p>
      <p>sat ; nsat.</p>
      <p>We guess the truth assignments for every universally quantified variable  ∈  :
For every DNF term , every positive variable  in  and every negative occurrence ¬ add:</p>
      <sec id="sec-3-1">
        <title>We have satisfiability if and only if at least one DNF term is satisfied:</title>
        <p>:- #count {C : sat(C)}=T, #count {1: sat}=S, T&lt;S.
:- #count {C : nsat(C)}=T, #count {1: nsat}=S, S*|  | &gt;T.</p>
      </sec>
      <sec id="sec-3-2">
        <title>For the satisfied DNF terms  we add the following constraint:</title>
        <p>:- #count {V : t(V), pos(,V); V : not t(V), neg(,V)}=T,
#count {1 : sat()}=S, T&lt;3S.</p>
      </sec>
      <sec id="sec-3-3">
        <title>For the unsatisfied DNF terms  we do the following</title>
        <p>:- #count {V : t(V), pos(,V); V : not t(V), neg(,V)}=T,</p>
        <p>#count {1 : nsat()}=S, T=3S.</p>
        <p>It is easy to see that #≥ {1, . . . , }. holds, i.e., there are at least  satisfying assignments of  if
and only if P({}) ≥ 2 .</p>
        <p>Note that since  is in 3-CNF, all constraint sizes are constant. Indeed, the aggregate body sizes are
at most 3 and we could even slightly adapt the proof to only use ground rules (i.e., without first-order
variables).</p>
        <p>Membership: Follows directly from previous work [10, Table 1], which shows PPNP membership for
aggregates and default negation. Indeed, disjunction in PASTA programs can be directly translated to
default negation [23], as by definition there can not be a cyclic dependency between disjunctive head
atoms.</p>
        <p>Note that disjunction or, alternatively, default negation is crucial in PASTA programs. Indeed, if we
did not allow disjunction, such programs can only capture co-NP decision complexity.
Theorem 2 (Complexity without disjunction). Inference in PASTA programs under credal semantics
without disjunctions is co-NP-complete.</p>
        <p>Proof. Hardness: We reduce from ∀. (), where  () is in 3-DNF over variables in  =
{1, . . . , }. We construct a PASTA program Π , where for every variable  occurring in , we
add probabilistic facts</p>
        <p>For every 3-DNF term  we assume an arbitrary but fixed order among its literals 1 ∧ 2 ∧ 3. Then,
for the -th variable  such that  =  (positive occurrence in ) and for the -th variable  such that
 = ¬, we add the facts:
pos(, ). neg(, ). sat.</p>
        <p>For every 3-DNF term , we add the following constraint which counts all satisfied 3-DNF terms
(going over all valid 23 cases):
:- #count {</p>
        <p>C: t(V1), t(V2), t(V3), pos1(,V1), pos2(,V2), pos3(,V3);
C: not t(V1), t(V2), t(V3), neg1(,V1), pos2(,V2), pos3(,V3);
C: t(V1), not t(V2), t(V3), pos1(,V1), neg2(,V2), pos3(,V3);
C: t(V1), t(V2), not t(V3), pos1(,V1), pos2(,V2), neg3(,V3);
C: not t(V1), not t(V2), t(V3), neg1(,V1), neg2(,V2), pos3(,V3);
C: not t(V1), t(V2), not t(V3), neg1(,V1), pos2(,V2), neg3(,V3);
C: t(V1), not t(V2), not t(V3), pos1(,V1), neg2(,V2), neg3(,V3);
C: not t(V1), not t(V2), not t(V3), neg1(,V1), neg2(,V2), neg3(,V3)
}=T, #count {1 : sat}=S, T&lt;S.</p>
        <p>By the credal semantics, a query can only be answered positively, if there is no world without any
answer set. Consequently, we have that ∀. () evaluates to true if and only if P({}) ≥ 1.</p>
        <p>Membership: In order to answer a query P( | ) ≥  for a given PASTA program Π , we need to
ensure that there is no world without an answer set. This is the co-problem of finding some world
without an answer set. In order to find such a world, we just guess any subset of facts and check
in polynomial time whether the guess fulfills all aggregate constraints. Observe that for the guess
the query P( | ) ≥  can then be answered in polynomial time. Indeed, we do so by using the
P(∩)
known relationship [10, Eqs (4)] P( | ) = P(∩)+P(∩) . It is easy to see that thereby P()
can be computed by just multiplying probabilities of the literals in . Consequently, we can answer
P( | ) ≥  in polynomial time (without the need to go over the potentially exponential number of
worlds individually). Analogously this works for answering queries of the form P( | ) ≥  instead
of P( | ) ≥ , as we have P( | ) = P( | ).</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Related Work</title>
      <p>
        Diferent semantics have been proposed in Probabilistic Answer Set Programming. Here we focused on
the credal semantics. However, there are alternatives such as LPMLN [24], P-log [18], smProbLog [25],
and PrASP [26]. As discussed through the paper, the complexity of PASP under the credal semantics has
been studied in depth in [
        <xref ref-type="bibr" rid="ref10 ref11 ref6">6, 10, 11</xref>
        ]. The inference task goes up several levels of the polynomial hierarchy
depending on the allowed syntactic constructs such as disjunctive rules, negation (either stratified
or non-stratified), and aggregates. However, this seems the price to pay to use a rich and expressive
language. Statistical statements are also discussed in [27], where the author provides a semantics based
on the cross entropy minimization. The approach considered in PASTA is diferent, since it does not
focus on a single model but it considers multiple models and lower and upper probability bounds.
      </p>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusion</title>
      <p>In this paper, we provided an initial study of the complexity of the statistical statements provided by
the PASTA framework. These statements are represented with a probabilistic answer set program,
interpreted under the credal semantics, by means of disjunctive rules and constraints with counting
aggregates involved. Our results show that PASTA programs are quite rich, as we reach PPNP-completeness.
However, the hardness proof of this result in Theorem 1 relies on using disjunction (or, alternatively,
cyclic default negation), so without this language feature we can only reach co-NP completeness, as
shown in Theorem 2. As a future work we plan to extend the complexity analysis to also consider the
structure of PASTA programs.
Artificial Intelligence, volume 14318 of Lecture Notes in Artificial Intelligence , Springer, Heidelberg,
Germany, 2023, pp. 367–380. doi:10.1007/978-3-031-47546-7_25.
[15] M. Alviano, W. Faber, Aggregates in answer set programming, KI-Künstliche Intelligenz 32 (2018)
119–124. doi:10.1007/s13218-018-0545-9.
[16] M. Gelfond, V. Lifschitz, The stable model semantics for logic programming., in: 5th International
Conference and Symposium on Logic Programming (ICLP/SLP 1988), volume 88, MIT Press, USA,
1988, pp. 1070–1080.
[17] J. Lee, Y. Wang, Weighted rules under the stable model semantics, in: C. Baral, J. P. Delgrande,
F. Wolter (Eds.), Proceedings of the Fifteenth International Conference on Principles of Knowledge
Representation and Reasoning, AAAI Press, 2016, pp. 145–154.
[18] C. Baral, M. Gelfond, N. Rushton, Probabilistic reasoning with answer sets, Theory and Practice
of Logic Programming 9 (2009) 57–144. doi:10.1017/S1471068408003645.
[19] D. Azzolini, F. Riguzzi, Lifted inference for statistical statements in probabilistic answer set
programming, International Journal of Approximate Reasoning 163 (2023) 109040. doi:10.1016/
j.ijar.2023.109040.
[20] R. Fagin, Generalized First-Order Spectra and Polynomial-Time Recognizable Sets, in: 7th Symposia
in Applied Mathematics (SIAM 1974), 1974.
[21] C. H. Papadimitriou, Computational Complexity, Addison-Wesley, 1994.
[22] J. Gill, Computational Complexity of Probabilistic Turing Machines, SIAM J. Comput. 6 (1977)
675–695. URL: https://doi.org/10.1137/0206049. doi:10.1137/0206049.
[23] T. Eiter, G. Gottlob, Expressiveness of stable model semantics for disjunctive logic programs with
functions, The Journal of Logic Programming 33 (1997) 167–178.
[24] J. Lee, Z. Yang, LPMLN, weak constraints, and P-log, in: S. Singh, S. Markovitch (Eds.), Proceedings
of the Thirty-First AAAI Conference on Artificial Intelligence, February 4-9, 2017, San Francisco,
California, USA, AAAI Press, 2017, pp. 1170–1177.
[25] P. Totis, L. De Raedt, A. Kimmig, smProbLog: Stable model semantics in ProbLog for
probabilistic argumentation, Theory and Practice of Logic Programming (2023) 1–50. doi:10.1017/
S147106842300008X.
[26] M. Nickles, A tool for probabilistic reasoning based on logic programming and first-order
theories under stable model semantics, in: L. Michael, A. Kakas (Eds.), Logics in Artificial
Intelligence, Springer International Publishing, Cham, 2016, pp. 369–384. doi:doi.org/10.1007/
978-3-319-48758-8_24.
[27] M. Jaeger, Probabilistic reasoning in terminological logics, in: J. Doyle, E. Sandewall, P. Torasso
(Eds.), 4th International Conference on Principles of Knowledge Representation and Reasoning,
Morgan Kaufmann, 1994, pp. 305–316. doi:10.1016/B978-1-4832-1452-8.50124-X.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>L. D.</given-names>
            <surname>Raedt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Kersting</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Natarajan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Poole</surname>
          </string-name>
          ,
          <source>Statistical relational artificial intelligence: Logic</source>
          , probability, and computation,
          <source>Synthesis Lectures on Artificial Intelligence and Machine Learning</source>
          <volume>10</volume>
          (
          <year>2016</year>
          )
          <fpage>1</fpage>
          -
          <lpage>189</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>L.</given-names>
            <surname>De Raedt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Kimmig</surname>
          </string-name>
          , H. Toivonen,
          <article-title>ProbLog: A probabilistic Prolog and its application in link discovery</article-title>
          , in: M. M.
          <string-name>
            <surname>Veloso</surname>
          </string-name>
          (Ed.),
          <source>20th International Joint Conference on Artificial Intelligence (IJCAI</source>
          <year>2007</year>
          ), volume
          <volume>7</volume>
          , AAAI Press,
          <year>2007</year>
          , pp.
          <fpage>2462</fpage>
          -
          <lpage>2467</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>J.</given-names>
            <surname>Vennekens</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Verbaeten</surname>
          </string-name>
          , M. Bruynooghe,
          <article-title>Logic programs with annotated disjunctions</article-title>
          , in: B.
          <string-name>
            <surname>Demoen</surname>
          </string-name>
          , V. Lifschitz (Eds.),
          <source>20th International Conference on Logic Programming (ICLP</source>
          <year>2004</year>
          ), volume
          <volume>3131</volume>
          of Lecture Notes in Computer Science, Springer, Berlin, Heidelberg,
          <year>2004</year>
          , pp.
          <fpage>431</fpage>
          -
          <lpage>445</lpage>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>540</fpage>
          -27775-0_
          <fpage>30</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>S.</given-names>
            <surname>Muggleton</surname>
          </string-name>
          , et al.,
          <article-title>Stochastic logic programs</article-title>
          ,
          <source>Advances in inductive logic programming 32</source>
          (
          <year>1996</year>
          )
          <fpage>254</fpage>
          -
          <lpage>264</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>T.</given-names>
            <surname>Sato</surname>
          </string-name>
          ,
          <article-title>A statistical learning method for logic programs with distribution semantics</article-title>
          , in: L.
          <string-name>
            <surname>Sterling</surname>
          </string-name>
          (Ed.),
          <string-name>
            <surname>Logic</surname>
            <given-names>Programming</given-names>
          </string-name>
          ,
          <source>Proceedings of the Twelfth International Conference on Logic Programming</source>
          , Tokyo, Japan, June 13-16,
          <year>1995</year>
          , MIT Press,
          <year>1995</year>
          , pp.
          <fpage>715</fpage>
          -
          <lpage>729</lpage>
          . doi:
          <volume>10</volume>
          .7551/mitpress/ 4298.003.0069.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>F. G.</given-names>
            <surname>Cozman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. D.</given-names>
            <surname>Mauá</surname>
          </string-name>
          ,
          <article-title>On the semantics and complexity of probabilistic logic programs</article-title>
          ,
          <source>Journal of Artificial Intelligence Research</source>
          <volume>60</volume>
          (
          <year>2017</year>
          )
          <fpage>221</fpage>
          -
          <lpage>262</lpage>
          . doi:
          <volume>10</volume>
          .1613/jair.5482.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>G.</given-names>
            <surname>Brewka</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Eiter</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Truszczyński</surname>
          </string-name>
          ,
          <article-title>Answer set programming at a glance</article-title>
          ,
          <source>Communications of the ACM</source>
          <volume>54</volume>
          (
          <year>2011</year>
          )
          <fpage>92</fpage>
          -
          <lpage>103</lpage>
          . doi:
          <volume>10</volume>
          .1145/2043174.2043195.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>J. Y.</given-names>
            <surname>Halpern</surname>
          </string-name>
          ,
          <article-title>An analysis of first-order logics of probability</article-title>
          ,
          <source>Artificial Intelligence</source>
          <volume>46</volume>
          (
          <year>1990</year>
          )
          <fpage>311</fpage>
          -
          <lpage>350</lpage>
          . doi:
          <volume>10</volume>
          .1016/
          <fpage>0004</fpage>
          -
          <lpage>3702</lpage>
          (
          <issue>90</issue>
          )
          <fpage>90019</fpage>
          -V.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>D.</given-names>
            <surname>Azzolini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Bellodi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Riguzzi</surname>
          </string-name>
          ,
          <article-title>Statistical statements in probabilistic logic programming</article-title>
          , in: G. Gottlob,
          <string-name>
            <given-names>D.</given-names>
            <surname>Inclezan</surname>
          </string-name>
          , M. Maratea (Eds.),
          <source>Logic Programming and Nonmonotonic Reasoning</source>
          , Springer International Publishing, Cham,
          <year>2022</year>
          , pp.
          <fpage>43</fpage>
          -
          <lpage>55</lpage>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>031</fpage>
          -15707-
          <issue>3</issue>
          _
          <fpage>4</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>D. D. Mauá</surname>
            ,
            <given-names>F. G.</given-names>
          </string-name>
          <string-name>
            <surname>Cozman</surname>
          </string-name>
          ,
          <article-title>Complexity results for probabilistic answer set programming</article-title>
          ,
          <source>International Journal of Approximate Reasoning</source>
          <volume>118</volume>
          (
          <year>2020</year>
          )
          <fpage>133</fpage>
          -
          <lpage>154</lpage>
          . doi:
          <volume>10</volume>
          .1016/j.ijar.
          <year>2019</year>
          .
          <volume>12</volume>
          . 003.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>F. G.</given-names>
            <surname>Cozman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. D.</given-names>
            <surname>Mauá</surname>
          </string-name>
          ,
          <article-title>The joy of probabilistic answer set programming: Semantics, complexity</article-title>
          , expressivity, inference,
          <source>International Journal of Approximate Reasoning</source>
          <volume>125</volume>
          (
          <year>2020</year>
          )
          <fpage>218</fpage>
          -
          <lpage>239</lpage>
          . doi:
          <volume>10</volume>
          .1016/j.ijar.
          <year>2020</year>
          .
          <volume>07</volume>
          .004.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>J.</given-names>
            <surname>Gill</surname>
          </string-name>
          ,
          <article-title>Computational complexity of probabilistic turing machines</article-title>
          ,
          <source>SIAM Journal on Computing</source>
          <volume>6</volume>
          (
          <year>1977</year>
          )
          <fpage>675</fpage>
          -
          <lpage>695</lpage>
          . doi:
          <volume>10</volume>
          .1137/0206049.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>K. W.</given-names>
            <surname>Wagner</surname>
          </string-name>
          ,
          <article-title>The complexity of combinatorial problems with succinct input representation</article-title>
          ,
          <source>Acta Inf</source>
          .
          <volume>23</volume>
          (
          <year>1986</year>
          )
          <fpage>325</fpage>
          -
          <lpage>356</lpage>
          . doi:
          <volume>10</volume>
          .1007/BF00289117.
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>D.</given-names>
            <surname>Azzolini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Riguzzi</surname>
          </string-name>
          ,
          <article-title>Inference in probabilistic answer set programming under the credal semantics</article-title>
          , in: R.
          <string-name>
            <surname>Basili</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Lembo</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Limongelli</surname>
            ,
            <given-names>A</given-names>
          </string-name>
          . Orlandini (Eds.), AIxIA 2023 - Advances in
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>