Chances are about even that Emily is a sheep. It is highly likely that Jessica is a cat. There is a very good chance that Lily is green. It is improbable that if either 'Emily is a sheep' or 'Jessica is a cat' but not both then Greg is yellow. There is almost no chance that if 'Lily is green' or 'Jessica is a cat' or both then Sandra got the football. It is likely that if 'Jessica is a cat and Lily is green' then Brian is white.
Chances are about even that 'Lily is green and Emily is a sheep'.
Chances are about even that 'Lily is green and Emily is a sheep'.
It is almost certain that 'Lily is green and Emily is a sheep'.

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

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

  query(conclusion).
  
'Lily is green and Emily is a sheep'.