There is almost no chance that Lily is yellow. There is little chance that Jason is thirsty. Chances are slight that Greg is a frog. Chances are slight that if 'Lily is yellow and Jason is thirsty' then Bernhard is a rhino. It is probably the case that if either 'Jason is thirsty' or 'Greg is a frog' but not both then Jessica is a sheep. There is almost no chance that if either 'Jason is thirsty' or 'Greg is a frog' but not both then John took the football.
It is impossible that 'Lily is yellow and Bernhard is a rhino'.
It is impossible that 'Lily is yellow and Bernhard is a rhino'.
It is almost certain that 'Lily is yellow and Bernhard is a rhino'.

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

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

  query(conclusion).
  
'Lily is yellow and Bernhard is a rhino'.