There is almost no chance that Emily is a sheep. It is impossible that Lily is yellow. There is little chance that Greg is a rhino. It is probable that if 'Lily is yellow' or 'Emily is a sheep' or both then Daniel dropped the apple. It is highly unlikely that if 'Emily is a sheep' or 'Lily is yellow' or both then Bill went to the garden. It is certain that if 'Lily is yellow and Greg is a rhino' then Bernhard is gray.
It is improbable that 'Greg is a rhino' or 'Emily is a sheep' or both.
It is improbable that 'Greg is a rhino' or 'Emily is a sheep' or both.
It is probably the case that 'Greg is a rhino' or 'Emily is a sheep' 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.02::factA.
  0.0::factB.
  0.1::factC.
  %hop1
  0.7::factX:-or(factB,factA).
  0.05::factY:-or(factA,factB).
  1.0::factZ:-and(factB,factC).

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

  query(conclusion).
  
'Greg is a rhino' or 'Emily is a sheep' or both.