It is highly unlikely that Julius is a frog. There is almost no chance that Gertrude is a sheep. There is little chance that Sumit is hungry. It is highly unlikely that if either 'Julius is a frog' or 'Gertrude is a sheep' but not both then Lily is white. There is a better than even chance that if 'Julius is a frog' or 'Gertrude is a sheep' or both then John moved to the garden. There is almost no chance that if 'Julius is a frog' or 'Gertrude is a sheep' or both then Greg is gray.
It is probably the case that either 'Gertrude is a sheep' or 'Sumit is hungry' but not both.
Chances are slight that either 'Gertrude is a sheep' or 'Sumit is hungry' but not both.
It is probably the case that either 'Gertrude is a sheep' or 'Sumit is hungry' 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.05::factA.
  0.02::factB.
  0.1::factC.
  %hop1
  0.05::factX:-xor(factA,factB).
  0.6::factY:-or(factA,factB).
  0.02::factZ:-or(factA,factB).

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

  query(conclusion).
  
Either 'Gertrude is a sheep' or 'Sumit is hungry' but not both.