It is highly likely that Fred went to the garden. It is highly unlikely that Brian is gray. It is impossible that Julius is white. It is probable that if 'Fred went to the garden' or 'Julius is white' or both then Sandra took the milk. There is a very good chance that if 'Julius is white' or 'Brian is gray' or both then Bernhard is yellow. It is probably not the case that if 'Fred went to the garden and Julius is white' then Greg is a lion.
It is highly unlikely that 'Sandra took the milk and Fred went to the garden'.
There is a better than even chance that 'Sandra took the milk and Fred went to the garden'.
It is highly unlikely that 'Sandra took the milk and Fred went to the garden'.

  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.9::factA.
  0.05::factB.
  0.0::factC.
  %hop1
  0.7::factX:-or(factA,factC).
  0.8::factY:-or(factC,factB).
  0.25::factZ:-and(factA,factC).

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

  query(conclusion).
  
'Sandra took the milk and Fred went to the garden'.