Chances are slight that Lily is a frog. There is little chance that Sumit is thirsty. It is probable that Greg is yellow. It is certain that if either 'Lily is a frog' or 'Sumit is thirsty' but not both then John moved to the garden. It is highly likely that if 'Lily is a frog' or 'Greg is yellow' or both then Julius is a rhino. There is almost no chance that if either 'Greg is yellow' or 'Lily is a frog' but not both then Bernhard is yellow.
Chances are slight that either 'Julius is a rhino' or 'Sumit is thirsty' but not both.
There is a better than even chance that either 'Julius is a rhino' or 'Sumit is thirsty' but not both.
Chances are slight that either 'Julius is a rhino' or 'Sumit is thirsty' but not 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.1::factA.
  0.1::factB.
  0.7::factC.
  %hop1
  1.0::factX:-xor(factA,factB).
  0.9::factY:-or(factA,factC).
  0.02::factZ:-xor(factC,factA).

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

  query(conclusion).
  
Either 'Julius is a rhino' or 'Sumit is thirsty' but not both.