Chances are about even that Mary moved to the office. We doubt that Bernhard is green. It is probably the case that Greg is a swan. It is impossible that if either 'Mary moved to the office' or 'Bernhard is green' but not both then Yann is tired. Chances are about even that if 'Greg is a swan' or 'Mary moved to the office' or both then Emily is a mouse. There is almost no chance that if either 'Greg is a swan' or 'Bernhard is green' but not both then Daniel left the apple.
There is almost no chance that 'Greg is a swan and Daniel left the apple'.
There is almost no chance that 'Greg is a swan and Daniel left the apple'.
We believe that 'Greg is a swan and Daniel left the apple'.

  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.5::factA.
  0.2::factB.
  0.7::factC.
  %hop1
  0.0::factX:-xor(factA,factB).
  0.5::factY:-or(factC,factA).
  0.02::factZ:-xor(factC,factB).

  %hop2
  conclusion:-and(factC,factZ).

  query(conclusion).
  
'Greg is a swan and Daniel left the apple'.