There is little chance that Bill moved to the office. It is highly unlikely that Daniel got the football. It is highly likely that Brian is a swan. It is unlikely that if 'Brian is a swan and Bill moved to the office' then Emily is a sheep. There is little chance that if 'Bill moved to the office' or 'Daniel got the football' or both then Gertrude is a cat. There is almost no chance that if 'Bill moved to the office and Brian is a swan' then John took the apple.
It is impossible that 'Emily is a sheep and Daniel got the football'.
It is impossible that 'Emily is a sheep and Daniel got the football'.
There is a very good chance that 'Emily is a sheep and Daniel got the football'.

  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.1::factA.
  0.05::factB.
  0.9::factC.
  %hop1
  0.2::factX:-and(factC,factA).
  0.1::factY:-or(factA,factB).
  0.02::factZ:-and(factA,factC).

  %hop2
  conclusion:-and(factX,factB).

  query(conclusion).
  
'Emily is a sheep and Daniel got the football'.