It is probable that John grabbed the apple. It is probably the case that Sandra took the football. It is certain that Greg is a lion. It is improbable that if 'Sandra took the football and John grabbed the apple' then Lily is a swan. It is probably the case that if 'Greg is a lion' or 'John grabbed the apple' or both then Mary moved to the garden. We believe that if 'John grabbed the apple and Greg is a lion' then Daniel got the milk.
It is highly unlikely that 'Sandra took the football and Lily is a swan'.
It is highly unlikely that 'Sandra took the football and Lily is a swan'.
It is likely that 'Sandra took the football and Lily is a swan'.

  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.7::factB.
  1.0::factC.
  %hop1
  0.1::factX:-and(factB,factA).
  0.7::factY:-or(factC,factA).
  0.75::factZ:-and(factA,factC).

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

  query(conclusion).
  
'Sandra took the football and Lily is a swan'.