There is almost no chance that Brian is gray. It is probably not the case that Emily is a mouse. There is little chance that Lily is green. It is likely that if either 'Brian is gray' or 'Lily is green' but not both then Bernhard is a rhino. It is highly unlikely that if 'Brian is gray and Emily is a mouse' then Julius is a frog. It is probable that if 'Emily is a mouse and Lily is green' then Greg is a lion.
There is almost no chance that either 'Greg is a lion' or 'Julius is a frog' but not both.
There is almost no chance that either 'Greg is a lion' or 'Julius is a frog' but not both.
It is probable that either 'Greg is a lion' or 'Julius is a frog' 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.02::factA.
  0.25::factB.
  0.1::factC.
  %hop1
  0.7::factX:-xor(factA,factC).
  0.05::factY:-and(factA,factB).
  0.7::factZ:-and(factB,factC).

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

  query(conclusion).
  
Either 'Greg is a lion' or 'Julius is a frog' but not both.