It is unlikely that Sandra took the football. Chances are about even that Bernhard is a frog. Chances are slight that Bill went to the garden. It is likely that if 'Sandra took the football and Bill went to the garden' then Julius is yellow. It is unlikely that if 'Bernhard is a frog and Bill went to the garden' then Lily is a swan. It is certain that if 'Bill went to the garden' or 'Sandra took the football' or both then John moved to the office.
There is almost no chance that 'Bill went to the garden and Julius is yellow'.
There is almost no chance that 'Bill went to the garden and Julius is yellow'.
It is almost certain that 'Bill went to the garden and Julius is yellow'.

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

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

  query(conclusion).
  
'Bill went to the garden and Julius is yellow'.