It is unlikely that Julius is a lion. There is almost no chance that Winona is a sheep. We doubt that Lily is yellow. We doubt that if 'Lily is yellow' or 'Julius is a lion' or both then Emily is a cat. It is improbable that if 'Julius is a lion and Winona is a sheep' then Greg is green. Chances are slight that if 'Julius is a lion' or 'Winona is a sheep' or both then Mary went to the hallway.
It is impossible that 'Greg is green and Winona is a sheep'.
It is impossible that 'Greg is green and Winona is a sheep'.
It is probably the case that 'Greg is green and Winona 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.2::factA.
  0.02::factB.
  0.2::factC.
  %hop1
  0.2::factX:-or(factC,factA).
  0.1::factY:-and(factA,factB).
  0.1::factZ:-or(factA,factB).

  %hop2
  conclusion:-and(factY,factB).

  query(conclusion).
  
'Greg is green and Winona is a sheep'.