It is almost certain that Emily is a mouse. It is certain that Julius is a lion. It is probably the case that Greg is yellow. There is almost no chance that if 'Greg is yellow' or 'Emily is a mouse' or both then Mary left the football. It is certain that if either 'Emily is a mouse' or 'Julius is a lion' but not both then Brian is a rhino. We doubt that if either 'Greg is yellow' or 'Emily is a mouse' but not both then John is in the garden.
Chances are slight that 'Greg is yellow and Emily is a mouse'.
It is probably the case that 'Greg is yellow and Emily is a mouse'.
Chances are slight that 'Greg is yellow and Emily is a mouse'.

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

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

  query(conclusion).
  
'Greg is yellow and Emily is a mouse'.