It is highly unlikely that Sumit is thirsty. It is almost certain that Greg is a frog. We doubt that Emily is a cat. It is almost certain that if 'Emily is a cat' or 'Sumit is thirsty' or both then Mary went to the office. There is almost no chance that if 'Sumit is thirsty' or 'Greg is a frog' or both then Bernhard is a rhino. We believe that if either 'Emily is a cat' or 'Greg is a frog' but not both then Lily is a swan.
There is almost no chance that 'Sumit is thirsty and Emily is a cat'.
There is almost no chance that 'Sumit is thirsty and Emily is a cat'.
We believe that 'Sumit is thirsty and Emily is a cat'.

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

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

  query(conclusion).
  
'Sumit is thirsty and Emily is a cat'.