<!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>InfOCF-Lib: A Java Library for OCF-based Conditional Inference</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Dept. of Computer Science</institution>
          ,
          <addr-line>FernUniversität in Hagen, Hagen</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <fpage>47</fpage>
      <lpage>58</lpage>
      <abstract>
        <p>Conditionals of the form “If A, then usually B” are often used to define nonmonotonic inference relations. Typically, a finite set of conditionals R, called a knowledge base, is inductively completed to an inference relation containing all the explicit and implicit beliefs of an intelligent agent. One way of representing such a complete epistemic state is by a ranking function, assigning degrees of disbelief to propositional interpretations. Each ranking function defines a nonmonotonic inference relation and each set of ranking functions defines several inference relations by employing different modes of inference. We propose the Java library InfOCF-Lib that is capable of reading a knowledge base from a file, calculating various sets of ranking functions proposed in the literature, and answering queries of the form “Does A entail B in the context of the knowledge base R using the set of ranking functions M?”.</p>
      </abstract>
      <kwd-group>
        <kwd>conditional logic</kwd>
        <kwd>conditional knowledge base</kwd>
        <kwd>ranking function</kwd>
        <kwd>nonmonotonic inference</kwd>
        <kwd>Java</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Rules with possible exceptions, i.e. statements of the form “if A, then usually
B”, play a prominent role in the area of knowledge representation and reason
ing. Several semantics have been proposed for defining nonmonotonic inference
relations over sets of such rules. Examples are Lewis’ system of spheres [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ],
conditional objects evaluated using Boolean intervals [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], or possibility measures
[
        <xref ref-type="bibr" rid="ref10 ref8">8, 10</xref>
        ].
      </p>
      <p>
        Here, we will consider Spohn’s ranking functions [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ] that assign degrees of
disbelief to propositional interpretations. C-Representations [
        <xref ref-type="bibr" rid="ref13 ref14">13, 14</xref>
        ] are a subset
of all ranking functions for a knowledge base, which can conveniently be calcu
lated by solving a constraint satisfaction problem dependent on the knowledge
base. A first Prolog implementation of this approach was introduced in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], the tool InfOCF was introduced, that allows the user to load knowledge
bases, calculate admissible ranking functions (in particular c-representations and
system Z [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ]), and perform inference using these sets of ranking functions.
System P entailment [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] was also implemented. For calculating c-representations,
InfOCF interfaced with a Prolog component akin to the one introduced in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>While InfOCF supports many tasks when working with conditional knowledge
bases, the need for new features or variants of old features arose frequently, as
new use cases became relevant in the active research of conditionals and inference
relations defined by them. Since it is impossible to foresee every possible use case
for a tool such as InfOCF, and because the architecture of InfOCF did not support
a practical API, we developed the library InfOCF-Lib, that allows the user to
quickly write personal tools for any use case, using the core functionalities of
InfOCF. Thus, InfOCF-Lib provides a redesign of InfOCF that is more easily
extensible and provides a convenient API. InfOCF-Lib can be accessed online1
and comes with a detailed user manual.</p>
      <p>
        Other implementations for conditional inference have been proposed. Z-log
[
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] offers inference based on system Z. The Java library for conditional logic of
The Tweety Project2 offers some limited capabilities for calculating c-represen
tations, i.e. calculation of a single c-representation for a given knowledge base,
as well as System Z inference. Since the implementation of rank based inference
in The Tweety Project, several new theoretical approaches have been proposed,
such as different notions of minimal c-representations [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] and inference using
sets of ranking functions [
        <xref ref-type="bibr" rid="ref5 ref7">5, 7</xref>
        ]. These new approaches have been implemented in
InfOCF-Lib.
2
2.1
      </p>
    </sec>
    <sec id="sec-2">
      <title>Background</title>
      <p>Conditional Logic and OCFs
Let L be a propositional language over a finite set ⌃ of atoms a1, . . . , an. The
formulas of L will be denoted by letters A, B, C, . . . . We write AB for A ^ B and
A for ¬A. We identify the set of all complete conjunctions over ⌃ with the set
⌦ of possible worlds over L. For ! 2 ⌦ , ! |= A means that A 2 L holds in !.</p>
      <p>
        A conditional (B|A) formalises a statement of the form “if A then usually
B” and establishes a plausible connection between the antecedent A and the
consequence B. It partitions the set of worlds ⌦ in three parts: those worlds
satisfying AB, thus verifying the conditional, those worlds satisfying AB, thus
falsifying the conditional, and those worlds not fulfilling the premise A and to
which the conditional may not be applied to at all. This allows us to associate to
(B|A) a generalised indicator function (B|A) going back to [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] (where u stands
for unknown or indeterminate):
(B|A)(!) =
8 1
&lt;
      </p>
      <p>0
: u
if ! |= AB
if ! |= AB
if ! |= A
(1)</p>
      <p>
        InfOCF-Lib uses Spohn’s ranking functions (also called ordinal conditional
functions, OCFs) [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ]. A ranking function is a function  : ⌦ ! N expressing
1 www.fernuni-hagen.de/wbs/data/InfOCF-Lib.zip
2 tweetyproject.org
degrees of plausibility of possible worlds where a higher degree denotes “less
plausible” or “more surprising”. At least one world must be regarded as being
normal; therefore,  (!) = 0 for at least one ! 2 ⌦ . Each such  can be taken as
the representation of a full epistemic state of an agent, and it uniquely extends
to a function (also denoted by  ) mapping sentences to N [ {1} by:
 (A) =
      </p>
      <p>1
(min{ (!) | ! |= A}
if A is satisfiable
otherwise</p>
      <p>A ranking function  accepts a conditional (B|A) (denoted by  |= (B|A))
if the verification of the conditional is less surprising than its falsification, i.e.,
if  (AB) &lt;  (AB). Every ranking function  gives rise to a nonmonotonic
inference relation |⇠  defined as</p>
      <p>A |⇠  B
iff</p>
      <p>
        A ⌘ ?
or  (AB) &lt;  (AB)
A non-empty finite set of conditionals R is called a knowledge base. An OCF
 accepts R if  accepts all conditionals in R, and R is consistent if an OCF
accepting R exists [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. To test a conditional knowledge base for consistency, an
algorithm using the notion of tolerance has been proposed.
      </p>
      <p>
        Definition 1 (Tolerance [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]). Let R = {(B1|A1), . . . , (Bn|An)} be a
knowledge base and r = (B|A) a conditional. The knowledge base R tolerates the
conditional r if there is an interpretation ! such that
! |= AB ^
      </p>
      <p>^ (Ai _ Bi)
16i6n
(2)
(3)
(4)
The algorithm OrderedPartition (Listing 1.1) calculates the inclusion maximal
ordered partition Rp = (R0, . . . , Rk) such that for every 0 6 i 6 k, every
r 2 R i is tolerated by Sk</p>
      <p>
        j=i Rj . Since OrderedPartition returns NULL if R is
inconsistent, it can be used as a consistency test [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ].
2.2
      </p>
      <p>
        Inference Modes for Sets of Ranking Functions
Typically, there is more then one valid viewpoint when representing a domain
that involves uncertainty. We can model reasoning with multiple viewpoints
(ranking functions) by performing skeptical, weakly skeptical [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] or credulous
inference over a set of ranking functions M .
      </p>
      <p>Definition 2. Let R be a knowledge base, M a set of ranking functions accepting
R, and A and B be formulas.
sk,M B, if for all</p>
      <p>B is a skeptical inference over M from A, denoted by A |⇠ R
 2 M it holds that A |⇠  B.
cr,M B, if there is</p>
      <p>B is a credulous inference over M from A, denoted by A |⇠ R
a  2 M such that A |⇠  B holds.
ws,M B, if</p>
      <p>B is a weakly skeptical inference over M from A, denoted by A |⇠ R
there is a  2 M such that A |⇠  B holds and there is no  2 M such that A |⇠  B
holds.</p>
      <p>
        Listing 1.1. Algorithm to test for consistency of R (cf. [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]).
      </p>
      <p>PROCEDURE : OrderedPartition</p>
      <p>INPUT : Knowledge base R={(B1|A1),...,(Bn|An)}
OUTPUT : Ordered partition (R0, R1, . . . , Rk) if R is consistent ,</p>
      <p>NULL otherwise
INT i :=0;
WHILE (R 6= ; ) DO</p>
      <p>Ri := { (B|A) 2 R | R tolerates (B|A) };
IF (Ri 6= ; )
THEN</p>
      <p>R:=R \ Ri ;
i := i +1;
ELSE</p>
      <p>RETURN NULL ; // R is inconsistent
RETURN Rp = (R0, . . . , Rk);
(5)
(6)
2.3</p>
      <p>
        C-Representations
In this section we will discuss c-representations [
        <xref ref-type="bibr" rid="ref13 ref14">13, 14</xref>
        ] that assign an individual
impact ⌘ i to each conditional (Bi|Ai) and generate the world ranks as a sum of
impacts of falsified conditionals:
Definition 3 (c-representation [
        <xref ref-type="bibr" rid="ref13 ref14">13, 14</xref>
        ]). A c-representation of a knowledge
base R = {(B1|A1), . . . , (Bn|An)} is an OCF  constructed from non-negative
integer impacts ⌘ i 2 N0 assigned to each conditional (Bi|Ai) such that  accepts
R and is given by:
 (!) =
      </p>
      <p>X ⌘ i
16i6n
!|=AiBi</p>
      <p>
        C-representations can conveniently be specified using a constraint satisfaction
problem (for detailed explanations, see [
        <xref ref-type="bibr" rid="ref13 ref14 ref5">13, 14, 5</xref>
        ]):
Definition 4 (CR(R) [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]). Let R = {(B1|A1), . . . , (Bn|An)}. The constraint
satisfaction problem for c-representations of R, denoted by CR(R), on the
constraint variables ⌘ 1, . . . , ⌘ n ranging over N is given by the conjunction of the
constraints, for all i 2 { 1, . . . , n}:
⌘ i &gt;
      </p>
      <p>min
!|=AiBi</p>
      <p>X
j6=i
!|=AjBj
⌘ j</p>
      <p>min
!|=AiBi</p>
      <p>X
j6=i
!|=AjBj
⌘ j
Soals(ACinsRo(ElRuqtu)io)antwiooenfdC(e5Rn)o(,tRe)tihsisetahseevteOcotCfoFsro#⌘li»unt=diuo(nc⌘esd1o,bf.y.C. R#,⌘»⌘ ,(nRd)e)on.foFntoernd a#⌘»btuy2raSl#⌘»on.lu(CmRbe(rRs.))Wainthd</p>
      <p>
        Since there are in general infinitely many solutions of CR(R), three notions
of minimality of impact vectors have been proposed [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>
        Definition 5 (sum-, cw- and ind-minimality [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]). Let R be a knowledge
#» #»
base, and ⌘ , ⌘ 2 Sol (CR(R)). Then
#» #»
⌘ 4+ ⌘ 0 iff
      </p>
      <p>X ⌘ i 6
16i6n</p>
      <p>X ⌘ 0i
16i6n
##⌘»» is s#u»m-minimal iff#» #⌘» 4+ #⌘»0 for all #⌘»0 2 Sol (CR(R)). We write #⌘»
#»
⌘ 4+ ⌘ 0 and ⌘ 0 64+ ⌘ .</p>
      <p>#» #»
⌘ 4cw ⌘ 0
iff
⌘ i 6 ⌘ 0i for all i 2 { 1, . . . , n}
and ⌘ i &lt; ⌘ i0 for some i 2 { 1, . . . , n}
#⌘» is cw-minimal (#»or Pareto-min#»imal) iff there is no vector ⌘ 0 2 Sol (CR(R))
#»
#» #»
such that ⌘ 0 4cw ⌘ and ⌘ 64cw ⌘ 0.</p>
      <p>#» #»
⌘ 4O ⌘ 0
iff</p>
      <p> #⌘»(!) 6  #⌘»0 (!) for all ! 2 ⌦
#⌘» is ind#»-minimal iff there is no vector #⌘»0 2 Sol (CR(R)) such that #⌘»0 4O #⌘»
#»
and ⌘ 64O ⌘ 0.</p>
      <p>Since none of the three order relations is total, there are in general multiple
sum-, cw-, and ind-minimal c-representations for a given knowledge base. We can
therefor perform skeptical, credulous and weakly skeptical inference over four sets
of c-representations: all solutions of CR(R), or only sum-, cw-, or ind-minimal
solutions.</p>
      <p>(7)
+ #⌘»0 iff
(8)
(9)
3</p>
    </sec>
    <sec id="sec-3">
      <title>Architecture</title>
      <p>In this section we will detail the architecture of InfOCF-Lib. Since the imple
mentation of the answering of queries using finte sets of ranking functions is
straightforward (loop over ranking functions and check rank of verification and
falsification), we will not go into detail about the concrete implementation of
these aspects of the library.</p>
      <p>The representation of formulas and elements of classical propositional logic is
also straightforward and is detailed in the manual that comes with InfOCF-Lib.
Here we will detail the architecture of the non classical elements of the library.</p>
      <p>Figure 1 shows the package conditionalLogic containing the two classes
Conditional and ConditionalKnowledgeBase. Conditionals are composed of
two propositional formulas. The evaluation of conditionals (B|A) is realised in
the method conditionalIndicatorFunction that evaluates the conditional in
an interpretation ! according to the generalised indicator function (B|A)(!)
(cf. (1)). Knowledge bases are collections of conditionals together with a name
and a signature. Since InfOCF-Lib uses Jasper3 to interface with a SICStus
3 sicstus.sics.se/sicstus/docs/4.1.0/html/sicstus/lib_002djasper.html
propositionalLogic
conditionalLogic</p>
      <p>Conditional
antecedent : PropositionalFormula
consequent : PropositionalFormula
conditionalIndicatorFunction(PropositionalInterpretation w)
: ConditionalIndicatorValue
0..*
0..*</p>
      <sec id="sec-3-1">
        <title>ConditionalKnowledgeBase</title>
        <p>name : String
signature : PropositionalSignature
toPrologString() : String
orderedPartition() : List&lt;Set&lt;Conditional&gt;&gt;
isConsistent() : Boolean</p>
        <p>Prolog component, knowledge bases need to be translatable to Prolog programs.
The method orderedPartition calculates the ordered partition according to
Algorithm 1.1. The consistency test realised in the method isConsistent tries to
construct the order partition and returns true or false depending of the existence
of the ordered partition.</p>
        <p>
          C-Representations (cf. Section 2.3) are ranking functions that assign the rank
of interpretations due to falsified conditionals and their impacts. They therefore
always need to know the knowledge base R that they are accepting, together
with the impacts, which are obtained from solving CR(R) (see Definition 4).
The solving of this constraint problem is implemented in Prolog [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ].
        </p>
        <p>In order to represent inference using sets of ranking functions, as defined in
Section 2.2, a RankingFunctionSet represents a set of ranking functions that ac
cept a common knowledge base. The ranking functions in a RankingFunctionSet
ocf</p>
        <p>RankingFunction
signature : PropositionalSignature
universe : PropositionalUniverse
ranks : ArrayList&lt;Integer&gt;
getInterpretationRank(PropositionalInterpretation w) : Integer
getFormulaRank(PropositionalFormula w) : Integer
0..*
0..*</p>
      </sec>
      <sec id="sec-3-2">
        <title>RankingFunctionSet</title>
        <p>acceptedKB : ConditionalKnowledgeBase</p>
      </sec>
      <sec id="sec-3-3">
        <title>CRepresentation</title>
        <p>
          context : ConditionalKnowledgeBase
impacts : ArrayList&lt;Integer&gt;
also share a common ModelSetKind. The Enum ModelSetKind identifies the fol
lowing sets of ranking functions:
– all c-representations
– ind-minimal c-representations
– cw-minimal c-representations
– sum-minimal c-representations
– system Z [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ]
– all ranking functions
        </p>
        <p>
          While the construction of a RankingFunctionSet using a ModelSetKind rep
resenting a set of c-representations always result in a call to the Prolog compo
nent for solving CR(R), the RankingFunctionSet for ModelSetKind represent
ing system Z or all ranking functions are calculated internally. If the construc
tor of RankingFunctionSet is called with the ModelSetKind representing all
ranking functions, no ranking functions are actually calculated. The resulting
RankingFunctionSet simply serves as a placeholder object for defining system
P inference, which can be characterised as skeptical inference over all ranking
functions [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ].
        </p>
        <p>Objects of the class RankedInferenceRelation (shown in Figure 3) are con
structed from
– a set of ranking functions, and
inference</p>
      </sec>
      <sec id="sec-3-4">
        <title>RankedInferenceRelation</title>
        <p>context : ConditionalKnowledgeBase
rankingModels : RankingFunctionSet
mode : InferenceMode
contains(Conditional c) : Boolean</p>
        <p>– a mode of inference (skeptical, weakly skeptical or credulous) (cf. Def. 2).</p>
        <p>The context for the inference relation is clear, since the set of ranking func
tions accepts a common knowledge base. A ranked inference relation represents a
set of conditionals, namely all conditionals entailed from the knowledge base by
performing inference over the ranking function set with the specified mode of in
ference. Therefore, the primary method in the class RankedInferenceRelation
is contains, that checks whether the supplied conditional is contained in the
inference relation, by performing inference.</p>
        <p>
          If a RankedInferenceRelation is constructed with a RankingFunctionSet
with the ModelSetKind for all ranking functions, inference is realised by negating
the query conditional r and checking for the consistency of R [ { r} [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ].
4
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Examples</title>
      <p>To give an impression of how InfOCF-Lib works, we illustrate the usage with
two examples. The first loads a knowledge base from a file, calculates the set
of ind-minimal c-representations for the knowledge base and answers a set of
queries, also loaded from a file. In the second example, InfOCF-Lib is used to
load a set of knowledge bases from a file and check every knowledge base for
consistency and print the name of every inconsistent knowledge base to the
console.
4.1</p>
      <p>Loading a Knowledge Base and Answering Queries with
Respect to Minimal C-Representations
The knowledge base we want to load is stored in the file birds.cl with the
following content:
signature
b,p,f</p>
      <p>In this file, formulas are build up from propositional variables introduced
under the keyword signature. The junctors and (comma), or (semicolon) and
not (exclamation point) can be used.</p>
      <p>To load a file containing a knowledge base, first the content of the file needs
to be read into a string using Java’s standard functionalities for reading files. We
call this string birdsString. This string can then be parsed using the functions
InfOCF-Lib provides.</p>
      <p>String birdsString = new String ( Files . readAllBytes ( Paths . get (
" birds . cl ")));
List &lt; ConditionalKnowledgeBase &gt; kbs =</p>
      <p>parseConditionalKnowledgeBase ( birdsString );
ConditionalKnowledgeBase birds = kbs . get (0) ;</p>
      <p>The method parseConditionalKnowledgeBase returns a list of knowledge
bases, since .cl-files can contain multiple knowledge bases. We will see the use
of these lists in the next example. Here we just select the first and only knowl
edge base in the file. To answer some queries in the context of this knowledge
base, we need to define a RankedInferenceRelation. Inference relations are de
fined using sets of ranking functions that accept a common knowledge base. To
generate the set of ind-minimal c-representations accepting the knowledge base
birds, we simply pass the knowledge base and the parameter specifying ind-min
imal c-representations to the constructor of the class RankingFunctionSet. The
skeptical inference relation over the ind-minimal c-representations accepting the
knowledge base birds can then be defined.</p>
      <p>RankingFunctionSet indMinCRepRankingModel =</p>
      <p>new RankingFunctionSet ( birds , ModelSetKind . CREP_IND );
RankedInferenceRelation indMinCRepInference =
new RankedInferenceRelation ( indMinCRepRankingModel ,</p>
      <p>InferenceMode . SKEPTICAL );</p>
      <p>In this example, we want to answer the queries in the file birdsQueries.cl.
The file contains a comma separated list of conditionals:
(b | p),
(f | p),
(f | p,b)</p>
      <p>We can load this list of conditionals in the same way we loaded the knowl
edge base by reading the content into a string and parsing that string with
InfOCF-Lib:
String queriesString = new String ( Files . readAllBytes ( Paths .</p>
      <p>get (" birdsQueries . cl ")));
List &lt; Conditional &gt; queries = parseConditionalQueryList (
queriesString );</p>
      <p>We can now iterate over our queries and answer each query using our
RankedInferenceRelation:
( b | p ) : 1
( f | p ) : 0
( f | (b,p) ) : 0</p>
      <p>The code above produces the following output:
4.2</p>
      <p>Checking a Set of Knowledge Bases for Consistency
Here we again load knowledge bases from a file. The file birds2.cl contains
multiple knowledge bases:
signature</p>
      <p>b,p,f
conditionals
birds001{
(f | b), // birds usually fly
(b | p), // penguins are birds
(!f| p) // penguins don’t fly
}
}
birds002{
(f | b), // birds usually fly
(!f | b) // birds usually don’t fly</p>
      <p>As mentioned above, we will check every knowledge base in this file for con
sistency, and output the names of the inconsistent knowledge bases.
String birdsString = new String ( Files . readAllBytes ( Paths . get (
" birds2 . cl ")));
List &lt; ConditionalKnowledgeBase &gt; kbs =
parseConditionalKnowledgeBase ( birdsString );</p>
      <p>Iterating over the list of knowledge bases read from the file, we can call the
method isConsistent for every knowledge base and identify the inconsistent
knowledge bases:
for ( C o n d i t i o n a l K n o w l e d g e B a s e kb : kbs ) {
if (! kb . i s C o n s i s t e n t () )</p>
      <p>System . out . println ( kb . getName () + " is i n c o n s i s t e n t " ) ;
}</p>
      <p>producing the output
birds002 is inconsistent
5</p>
    </sec>
    <sec id="sec-5">
      <title>Conclusions and Future Work</title>
      <p>
        In internal use, InfOCF-Lib has proven to be a useful and effective library for
working with conditionals and ranking functions. New use cases (e.g. [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]) are
quickly realised and experiments using conditional knowledge bases can be de
signed and conducted easily.
      </p>
      <p>As InfOCF-Lib is still in development, many theoretical efficiency benefits
are not fully implemented jet. A thorough evaluation of the efficiency of the
implementation is part of our future work. We are currently also working on a
web based interface for InfOCF-Lib, that offers convenient access to the most
basic features.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Adams</surname>
            ,
            <given-names>E.W.:</given-names>
          </string-name>
          <article-title>The Logic of Conditionals: An Application of Probability to Deductive Logic</article-title>
          .
          <source>Synthese Library</source>
          , Springer Science+Business Media, Dordrecht, NL (
          <year>1975</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Beierle</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Eichhorn</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kern-Isberner</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kutsch</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Skeptical, weakly skeptical, and credulous inference based on preferred ranking functions</article-title>
          .
          <source>In: ECAI-2016</source>
          . vol.
          <volume>285</volume>
          , pp.
          <fpage>1149</fpage>
          -
          <lpage>1157</lpage>
          . IOS Press (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Beierle</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Eichhorn</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kutsch</surname>
            ,
            <given-names>S.:</given-names>
          </string-name>
          <article-title>A practical comparison of qualitative inferences with preferred ranking models</article-title>
          .
          <source>KI - Künstliche Intelligenz</source>
          <volume>31</volume>
          (
          <issue>1</issue>
          ),
          <fpage>41</fpage>
          -
          <lpage>52</lpage>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Beierle</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kern-Isberner</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Södler</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>A declarative approach for computing ordinal conditional functions using constraint logic programming</article-title>
          .
          <source>In: 19th International Conference on Applications of Declarative Programming and Knowledge Management</source>
          ,
          <string-name>
            <surname>INAP</surname>
          </string-name>
          <year>2011</year>
          ,
          <article-title>and</article-title>
          25th Workshop on Logic Programming,
          <source>WLP</source>
          <year>2011</year>
          , Wien, Austria,
          <source>Revised Selected Papers. LNAI</source>
          , vol.
          <volume>7773</volume>
          , pp.
          <fpage>175</fpage>
          -
          <lpage>192</lpage>
          . Springer (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Beierle</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Eichhorn</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kern-Isberner</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kutsch</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Properties of skeptical c-inference for conditional knowledge bases and its realization as a constraint satisfaction problem</article-title>
          .
          <source>Ann. Math. Artif. Intell</source>
          .
          <volume>83</volume>
          (
          <issue>3-4</issue>
          ),
          <fpage>247</fpage>
          -
          <lpage>275</lpage>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Beierle</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kutsch</surname>
            ,
            <given-names>S.:</given-names>
          </string-name>
          <article-title>Systematic generation of conditional knowledge bases up to renaming and equivalence</article-title>
          . In: Calimeri,
          <string-name>
            <given-names>F.</given-names>
            ,
            <surname>Leone</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            ,
            <surname>Manna</surname>
          </string-name>
          , M. (eds.)
          <source>Logics in Artificial Intelligence - 16th European Conference, JELIA</source>
          <year>2019</year>
          , Rende, Italy, May 7-
          <issue>11</issue>
          ,
          <year>2019</year>
          , Proceedings. LNAI, vol.
          <volume>11468</volume>
          , pp.
          <fpage>279</fpage>
          -
          <lpage>286</lpage>
          . Springer (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Beierle</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kutsch</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sauerwald</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Compilation of conditional knowledge bases for computing c-inference relations</article-title>
          . In: Ferrarotti,
          <string-name>
            <given-names>F.</given-names>
            ,
            <surname>Woltran</surname>
          </string-name>
          , S. (eds.)
          <source>Foundations of Information and Knowledge Systems - 10th International Symposium, FoIKS</source>
          <year>2018</year>
          , Budapest, Hungary, May
          <volume>14</volume>
          -18,
          <year>2018</year>
          , Proceedings. LNCS, vol.
          <volume>10833</volume>
          , pp.
          <fpage>34</fpage>
          -
          <lpage>54</lpage>
          . Springer (
          <year>2018</year>
          ). https://doi.org/10.1007/978-3-
          <fpage>319</fpage>
          -90050-
          <issue>6</issue>
          _3, https://doi.org/10.1007/978-3-
          <fpage>319</fpage>
          -90050-6\_
          <fpage>3</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Benferhat</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dubois</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Prade</surname>
          </string-name>
          , H.:
          <article-title>Possibilistic and standard probabilistic semantics of conditional knowledge bases</article-title>
          .
          <source>J. of Logic and Computation</source>
          <volume>9</volume>
          (
          <issue>6</issue>
          ),
          <fpage>873</fpage>
          -
          <lpage>895</lpage>
          (
          <year>1999</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Dubois</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Prade</surname>
          </string-name>
          , H.:
          <article-title>Conditional objects as nonmonotonic consequence relationships</article-title>
          .
          <source>Special Issue on Conditional Event Algebra, IEEE Transactions on Systems, Man and Cybernetics</source>
          <volume>24</volume>
          (
          <issue>12</issue>
          ),
          <fpage>1724</fpage>
          -
          <lpage>1740</lpage>
          (
          <year>1994</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Dubois</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Prade</surname>
          </string-name>
          , H.:
          <article-title>Possibility theory and its applications: Where do we stand</article-title>
          ? In: Kacprzyk,
          <string-name>
            <given-names>J.</given-names>
            ,
            <surname>Pedrycz</surname>
          </string-name>
          , W. (eds.) Springer Handbook of Computational Intelligence, pp.
          <fpage>31</fpage>
          -
          <lpage>60</lpage>
          . Springer, Berlin (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>de Finetti</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>La prévision, ses lois logiques et ses sources subjectives</article-title>
          .
          <source>Ann. Inst. H. Poincaré</source>
          <volume>7</volume>
          (
          <issue>1</issue>
          ),
          <fpage>1</fpage>
          -
          <lpage>68</lpage>
          (
          <year>1937</year>
          ), engl. transl. Theory of Probability, J. Wiley &amp; Sons, 1974
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Goldszmidt</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pearl</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          :
          <article-title>Qualitative probabilities for default reasoning, belief revision, and causal modeling</article-title>
          .
          <source>Artificial Intelligence</source>
          <volume>84</volume>
          ,
          <fpage>57</fpage>
          -
          <lpage>112</lpage>
          (
          <year>1996</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Kern-Isberner</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          :
          <article-title>Conditionals in nonmonotonic reasoning and belief revision</article-title>
          ,
          <source>LNAI</source>
          , vol.
          <source>2087</source>
          . Springer (
          <year>2001</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Kern-Isberner</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          :
          <article-title>A thorough axiomatization of a principle of conditional preservation in belief revision</article-title>
          .
          <source>Ann. of Math. and Artif. Intell</source>
          .
          <volume>40</volume>
          (
          <issue>1-2</issue>
          ),
          <fpage>127</fpage>
          -
          <lpage>164</lpage>
          (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Kutsch</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Beierle</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Computation of Closures of Nonmonotonic Inference Relations Induced by Conditional Knowledge Bases</article-title>
          . ECSQARU '
          <volume>19</volume>
          (
          <year>2019</year>
          ), (to appear)
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Lehmann</surname>
            ,
            <given-names>D.J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Magidor</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>What does a conditional knowledge base entail?</article-title>
          <source>Artificial Intelligence</source>
          <volume>55</volume>
          (
          <issue>1</issue>
          ),
          <fpage>1</fpage>
          -
          <lpage>60</lpage>
          (
          <year>1992</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Lewis</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          : Counterfactuals. Harvard University Press, Cambridge, Mass. (
          <year>1973</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Minock</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kraus</surname>
          </string-name>
          , H.:
          <article-title>Z-log: Applying system-z</article-title>
          .
          <source>In: Proceedings of the 8th European Conference on Logics in Artificial Intelligence (JELIA'02)</source>
          . pp.
          <fpage>545</fpage>
          -
          <lpage>548</lpage>
          (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Pearl</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          :
          <article-title>System Z: A natural ordering of defaults with tractable applications to nonmonotonic reasoning</article-title>
          . In: Parikh,
          <string-name>
            <surname>R</surname>
          </string-name>
          . (ed.)
          <source>Proceedings of the 3rd conference on Theoretical aspects of reasoning about knowledge (TARK1990)</source>
          . pp.
          <fpage>121</fpage>
          -
          <lpage>135</lpage>
          . Morgan Kaufmann Publishers Inc., San Francisco, CA, USA (
          <year>1990</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Spohn</surname>
            ,
            <given-names>W.:</given-names>
          </string-name>
          <article-title>The Laws of Belief: Ranking Theory and Its Philosophical Applications</article-title>
          . Oxford University Press, Oxford, UK (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>