We doubt that Winona is a mouse. It is certain that Julius is gray. It is almost certain that Lily is a frog. It is likely that if 'Winona is a mouse' or 'Julius is gray' or both then Greg is yellow. It is likely that if 'Julius is gray and Lily is a frog' then John took the apple. It is likely that if 'Lily is a frog' or 'Julius is gray' or both then Jeff left the apple.
It is certain that 'Lily is a frog' or 'Greg is yellow' or both.
It is certain that 'Lily is a frog' or 'Greg is yellow' or both.
Chances are slight that 'Lily is a frog' or 'Greg is yellow' 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.2::factA.
  1.0::factB.
  0.95::factC.
  %hop1
  0.7::factX:-or(factA,factB).
  0.7::factY:-and(factB,factC).
  0.7::factZ:-or(factC,factB).

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

  query(conclusion).
  
'Lily is a frog' or 'Greg is yellow' or both.