There is a very good chance that Emily is a mouse. It is probable that Mary moved to the garden. It is probable that Bernhard is a frog. It is certain that if 'Mary moved to the garden' or 'Bernhard is a frog' or both then Gertrude is a cat. It is almost certain that if 'Bernhard is a frog' or 'Emily is a mouse' or both then John put down the apple. Chances are about even that if either 'Bernhard is a frog' or 'Emily is a mouse' but not both then Lily is a lion.
It is almost certain that 'Lily is a lion' or 'Gertrude is a cat' or both.
It is almost certain that 'Lily is a lion' or 'Gertrude is a cat' or both.
There is almost no chance that 'Lily is a lion' or 'Gertrude is a cat' or both.

  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.8::factA.
  0.7::factB.
  0.7::factC.
  %hop1
  1.0::factX:-or(factB,factC).
  0.95::factY:-or(factC,factA).
  0.5::factZ:-xor(factC,factA).

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

  query(conclusion).
  
'Lily is a lion' or 'Gertrude is a cat' or both.