It is almost certain that Daniel got the apple. There is a very good chance that John moved to the office. It is probably not the case that Bernhard is a swan. Chances are about even that if 'Daniel got the apple and Bernhard is a swan' then Mary went to the garden. We believe that if 'Daniel got the apple and Bernhard is a swan' then Jessica is a cat. There is a very good chance that if 'Daniel got the apple' or 'Bernhard is a swan' or both then Sandra left the milk.
Chances are slight that either 'John moved to the office' or 'Jessica is a cat' but not both.
It is likely that either 'John moved to the office' or 'Jessica is a cat' but not both.
Chances are slight that either 'John moved to the office' or 'Jessica is a cat' 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.8::factB.
  0.25::factC.
  %hop1
  0.5::factX:-and(factA,factC).
  0.75::factY:-and(factA,factC).
  0.8::factZ:-or(factA,factC).

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

  query(conclusion).
  
Either 'John moved to the office' or 'Jessica is a cat' but not both.