It is unlikely that John got the apple. It is probably the case that Sandra took the milk. It is impossible that Jason is tired. It is highly likely that if either 'Sandra took the milk' or 'Jason is tired' but not both then Fred went to the garden. There is a better than even chance that if either 'John got the apple' or 'Sandra took the milk' but not both then Lily is a lion. It is improbable that if 'Jason is tired and John got the apple' then Brian is white.
It is probably not the case that 'Lily is a lion and Sandra took the milk'.
It is probably not the case that 'Lily is a lion and Sandra took the milk'.
We believe that 'Lily is a lion and Sandra took the milk'.

  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.2::factA.
  0.7::factB.
  0.0::factC.
  %hop1
  0.9::factX:-xor(factB,factC).
  0.6::factY:-xor(factA,factB).
  0.1::factZ:-and(factC,factA).

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

  query(conclusion).
  
'Lily is a lion and Sandra took the milk'.