It is almost certain that Sumit is bored. We believe that Julius is a rhino. Chances are about even that Bernhard is a swan. It is highly likely that if 'Bernhard is a swan and Sumit is bored' then Winona is a mouse. It is unlikely that if either 'Sumit is bored' or 'Bernhard is a swan' but not both then Lily is white. We doubt that if either 'Bernhard is a swan' or 'Sumit is bored' but not both then Greg is a lion.
It is almost certain that 'Greg is a lion and Winona is a mouse'.
It is impossible that 'Greg is a lion and Winona is a mouse'.
It is almost certain that 'Greg is a lion and Winona is a mouse'.

  and(A,B) :- A,B.
  or(A,B) :- A;B.
  nand(A,B) :- not(and(A,B)).
  nor(A,B) :- not(or(A,B)).
  xor(A,B) :- or(A,B), nand(A,B).

  %hop0
  0.95::factA.
  0.75::factB.
  0.5::factC.
  %hop1
  0.9::factX:-and(factC,factA).
  0.2::factY:-xor(factA,factC).
  0.2::factZ:-xor(factC,factA).

  %hop2
  conclusion:-and(factZ,factX).

  query(conclusion).
  
'Greg is a lion and Winona is a mouse'.