It is impossible that Greg is a rhino. It is almost certain that Jessica is a cat. Chances are slight that Bernhard is gray. It is unlikely that if either 'Greg is a rhino' or 'Bernhard is gray' but not both then John grabbed the apple. It is probable that if 'Bernhard is gray' or 'Greg is a rhino' or both then Lily is a frog. There is a better than even chance that if 'Greg is a rhino and Bernhard is gray' then Mary left the milk.
Chances are slight that 'Lily is a frog' or 'Jessica is a cat' or both.
It is almost certain that 'Lily is a frog' or 'Jessica is a cat' or both.
Chances are slight that 'Lily is a frog' or 'Jessica 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.0::factA.
  0.95::factB.
  0.1::factC.
  %hop1
  0.2::factX:-xor(factA,factC).
  0.7::factY:-or(factC,factA).
  0.6::factZ:-and(factA,factC).

  %hop2
  conclusion:-or(factY,factB).

  query(conclusion).
  
'Lily is a frog' or 'Jessica is a cat' or both.