There is a better than even chance that Gertrude is a mouse. There is a better than even chance that Jessica is a sheep. It is certain that Fred left the football. It is likely that if 'Jessica is a sheep and Gertrude is a mouse' then Julius is a swan. It is probably the case that if 'Jessica is a sheep' or 'Gertrude is a mouse' or both then Lily is yellow. There is a better than even chance that if either 'Gertrude is a mouse' or 'Jessica is a sheep' but not both then Bernhard is a frog.
It is highly unlikely that 'Lily is yellow and Fred left the football'.
There is a better than even chance that 'Lily is yellow and Fred left the football'.
It is highly unlikely that 'Lily is yellow and Fred left the football'.

  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.6::factA.
  0.6::factB.
  1.0::factC.
  %hop1
  0.7::factX:-and(factB,factA).
  0.7::factY:-or(factB,factA).
  0.6::factZ:-xor(factA,factB).

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

  query(conclusion).
  
'Lily is yellow and Fred left the football'.