It is impossible that Julius is a frog. There is a better than even chance that Gertrude is a wolf. It is likely that John got the apple. It is probably the case that if 'Gertrude is a wolf' or 'John got the apple' or both then Sumit is thirsty. There is almost no chance that if either 'John got the apple' or 'Julius is a frog' but not both then Lily is green. It is probably the case that if 'John got the apple and Julius is a frog' then Mary went to the office.
It is impossible that 'Mary went to the office' or 'Julius is a frog' or both.
It is impossible that 'Mary went to the office' or 'Julius is a frog' or both.
It is probably the case that 'Mary went to the office' or 'Julius is a frog' or both.

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

  %hop2
  conclusion:-or(factZ,factA).

  query(conclusion).
  
'Mary went to the office' or 'Julius is a frog' or both.