It is likely that John went to the hallway. Chances are slight that Emily is a wolf. It is probable that Lily is a lion. Chances are about even that if 'Lily is a lion' or 'John went to the hallway' or both then Julius is yellow. It is certain that if 'Lily is a lion and John went to the hallway' then Mary moved to the garden. It is certain that if 'John went to the hallway' or 'Lily is a lion' or both then Greg is a swan.
Chances are about even that either 'Emily is a wolf' or 'Mary moved to the garden' but not both.
Chances are about even that either 'Emily is a wolf' or 'Mary moved to the garden' but not both.
There is almost no chance that either 'Emily is a wolf' or 'Mary moved to the garden' 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.7::factA.
  0.1::factB.
  0.7::factC.
  %hop1
  0.5::factX:-or(factC,factA).
  1.0::factY:-and(factC,factA).
  1.0::factZ:-or(factA,factC).

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

  query(conclusion).
  
Either 'Emily is a wolf' or 'Mary moved to the garden' but not both.