There is almost no chance that Daniel left the apple. It is impossible that Brian is white. It is probable that Jessica is a wolf. It is probable that if 'Brian is white and Jessica is a wolf' then Mary went to the bedroom. It is almost certain that if 'Brian is white and Jessica is a wolf' then Julius is a frog. It is impossible that if either 'Jessica is a wolf' or 'Brian is white' but not both then Lily is a swan.
There is a very good chance that either 'Lily is a swan' or 'Julius is a frog' but not both.
It is impossible that either 'Lily is a swan' or 'Julius is a frog' but not both.
There is a very good chance that either 'Lily is a swan' 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.0::factB.
  0.7::factC.
  %hop1
  0.7::factX:-and(factB,factC).
  0.95::factY:-and(factB,factC).
  0.0::factZ:-xor(factC,factB).

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

  query(conclusion).
  
Either 'Lily is a swan' or 'Julius is a frog' but not both.