It is probably not the case that Mary went to the garden. It is highly unlikely that Lily is a frog. There is almost no chance that Daniel left the football. It is improbable that if 'Daniel left the football and Lily is a frog' then Jeff discarded the milk. There is a better than even chance that if 'Daniel left the football and Lily is a frog' then Fred put down the apple. Chances are slight that if 'Mary went to the garden' or 'Lily is a frog' or both then Emily is a mouse.
It is highly unlikely that 'Fred put down the apple' or 'Lily is a frog' or both.
It is highly unlikely that 'Fred put down the apple' or 'Lily is a frog' or both.
It is likely that 'Fred put down the apple' or 'Lily is a frog' or both.

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

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

  query(conclusion).
  
'Fred put down the apple' or 'Lily is a frog' or both.