It is probably not the case that Sumit is thirsty. There is little chance that John got the apple. There is a very good chance that Brian is a lion. It is probably the case that if 'John got the apple and Sumit is thirsty' then Sandra took the football. It is almost certain that if 'Brian is a lion' or 'Sumit is thirsty' or both then Bernhard is gray. It is unlikely that if 'John got the apple' or 'Brian is a lion' or both then Bill moved to the office.
There is almost no chance that 'Sandra took the football and John got the apple'.
There is almost no chance that 'Sandra took the football and John got the apple'.
It is likely that 'Sandra took the football and John got 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.25::factA.
  0.1::factB.
  0.8::factC.
  %hop1
  0.7::factX:-and(factB,factA).
  0.95::factY:-or(factC,factA).
  0.2::factZ:-or(factB,factC).

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

  query(conclusion).
  
'Sandra took the football and John got the apple'.