It is almost certain that John got the apple. There is little chance that Gertrude is a sheep. It is impossible that Brian is a lion. It is unlikely that if either 'Brian is a lion' or 'Gertrude is a sheep' but not both then Fred went to the garden. It is highly unlikely that if either 'Brian is a lion' or 'Gertrude is a sheep' but not both then Greg is a rhino. It is probably the case that if 'John got the apple' or 'Gertrude is a sheep' or both then Julius is white.
It is likely that either 'Julius is white' or 'Brian is a lion' but not both.
It is likely that either 'Julius is white' or 'Brian is a lion' but not both.
It is highly unlikely that either 'Julius is white' or 'Brian is a lion' 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.95::factA.
  0.1::factB.
  0.0::factC.
  %hop1
  0.2::factX:-xor(factC,factB).
  0.05::factY:-xor(factC,factB).
  0.7::factZ:-or(factA,factB).

  %hop2
  conclusion:-xor(factZ,factC).

  query(conclusion).
  
Either 'Julius is white' or 'Brian is a lion' but not both.