There is almost no chance that Daniel left the milk. There is a very good chance that Emily is a mouse. Chances are slight that Lily is a swan. It is impossible that if 'Lily is a swan and Daniel left the milk' then Bernhard is a lion. It is unlikely that if 'Emily is a mouse' or 'Lily is a swan' or both then Julius is gray. It is highly unlikely that if 'Daniel left the milk and Lily is a swan' then Brian is yellow.
It is impossible that 'Daniel left the milk and Lily is a swan'.
It is impossible that 'Daniel left the milk and Lily is a swan'.
It is probable that 'Daniel left the milk and Lily is a swan'.

  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.02::factA.
  0.8::factB.
  0.1::factC.
  %hop1
  0.0::factX:-and(factC,factA).
  0.2::factY:-or(factB,factC).
  0.05::factZ:-and(factA,factC).

  %hop2
  conclusion:-and(factA,factC).

  query(conclusion).
  
'Daniel left the milk and Lily is a swan'.