There is a better than even chance that Sumit is thirsty. We doubt that Greg is a rhino. Chances are slight that John went to the garden. It is almost certain that if 'Sumit is thirsty' or 'John went to the garden' or both then Lily is a lion. There is almost no chance that if 'Sumit is thirsty and Greg is a rhino' then Bernhard is a swan. It is almost certain that if 'Sumit is thirsty' or 'John went to the garden' or both then Brian is a frog.
It is probably the case that 'John went to the garden and Brian is a frog'.
Chances are slight that 'John went to the garden and Brian is a frog'.
It is probably the case that 'John went to the garden and Brian is a frog'.

  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.2::factB.
  0.1::factC.
  %hop1
  0.95::factX:-or(factA,factC).
  0.02::factY:-and(factA,factB).
  0.95::factZ:-or(factA,factC).

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

  query(conclusion).
  
'John went to the garden and Brian is a frog'.