We doubt that Lily is a rhino. It is certain that Julius is yellow. There is a better than even chance that Bernhard is a frog. It is unlikely that if 'Julius is yellow and Lily is a rhino' then Greg is a lion. It is impossible that if 'Julius is yellow and Bernhard is a frog' then John grabbed the apple. There is little chance that if 'Julius is yellow and Bernhard is a frog' then Winona is a sheep.
We believe that either 'John grabbed the apple' or 'Lily is a rhino' but not both.
It is unlikely that either 'John grabbed the apple' or 'Lily is a rhino' but not both.
We believe that either 'John grabbed the apple' or 'Lily is a rhino' 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.2::factA.
  1.0::factB.
  0.6::factC.
  %hop1
  0.2::factX:-and(factB,factA).
  0.0::factY:-and(factB,factC).
  0.1::factZ:-and(factB,factC).

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

  query(conclusion).
  
Either 'John grabbed the apple' or 'Lily is a rhino' but not both.