There is almost no chance that Emily is a cat. It is improbable that John took the football. It is almost certain that Lily is yellow. It is probably the case that if 'Emily is a cat' or 'John took the football' or both then Winona is a sheep. It is likely that if 'John took the football' or 'Emily is a cat' or both then Julius is green. Chances are slight that if 'Emily is a cat' or 'John took the football' or both then Bernhard is gray.
It is likely that 'Winona is a sheep and Lily is yellow'.
It is improbable that 'Winona is a sheep and Lily is yellow'.
It is likely that 'Winona is a sheep and Lily is yellow'.

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

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

  query(conclusion).
  
'Winona is a sheep and Lily is yellow'.