It is almost certain that Daniel left the apple. Chances are about even that Lily is white. It is highly likely that Fred went to the garden. It is likely that if 'Daniel left the apple' or 'Lily is white' or both then Gertrude is a mouse. It is certain that if 'Fred went to the garden' or 'Lily is white' or both then Antoine is hungry. There is almost no chance that if either 'Fred went to the garden' or 'Daniel left the apple' but not both then Greg is a frog.
It is certain that 'Daniel left the apple' or 'Fred went to the garden' or both.
It is certain that 'Daniel left the apple' or 'Fred went to the garden' or both.
Chances are slight that 'Daniel left the apple' or 'Fred went to the garden' 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.95::factA.
  0.5::factB.
  0.9::factC.
  %hop1
  0.7::factX:-or(factA,factB).
  1.0::factY:-or(factC,factB).
  0.02::factZ:-xor(factC,factA).

  %hop2
  conclusion:-or(factA,factC).

  query(conclusion).
  
'Daniel left the apple' or 'Fred went to the garden' or both.