It is highly likely that Sumit is thirsty. There is almost no chance that Winona is a sheep. It is likely that Julius is gray. We believe that if 'Winona is a sheep' or 'Julius is gray' or both then John moved to the office. It is impossible that if either 'Winona is a sheep' or 'Julius is gray' but not both then Mary dropped the apple. It is probable that if 'Julius is gray and Winona is a sheep' then Bernhard is yellow.
It is probably the case that 'Bernhard is yellow and Winona is a sheep'.
It is impossible that 'Bernhard is yellow and Winona is a sheep'.
It is probably the case that 'Bernhard is yellow 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.9::factA.
  0.02::factB.
  0.7::factC.
  %hop1
  0.75::factX:-or(factB,factC).
  0.0::factY:-xor(factB,factC).
  0.7::factZ:-and(factC,factB).

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

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