Chances are about even that Emily is a wolf. There is a very good chance that Mary left the football. It is highly likely that Gertrude is a sheep. Chances are about even that if either 'Emily is a wolf' or 'Mary left the football' but not both then Lily is yellow. It is probably the case that if 'Gertrude is a sheep and Mary left the football' then Bill went to the bedroom. It is impossible that if 'Mary left the football' or 'Gertrude is a sheep' or both then Brian is a lion.
It is probable that 'Lily is yellow' or 'Emily is a wolf' or both.
It is probable that 'Lily is yellow' or 'Emily is a wolf' or both.
It is impossible that 'Lily is yellow' or 'Emily is a wolf' 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.5::factA.
  0.8::factB.
  0.9::factC.
  %hop1
  0.5::factX:-xor(factA,factB).
  0.7::factY:-and(factC,factB).
  0.0::factZ:-or(factB,factC).

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

  query(conclusion).
  
'Lily is yellow' or 'Emily is a wolf' or both.