Chances are slight that Mary left the apple. It is highly unlikely that Brian is green. It is probably the case that John went to the office. It is impossible that if 'Mary left the apple' or 'Brian is green' or both then Julius is a frog. There is a better than even chance that if 'John went to the office' or 'Brian is green' or both then Jessica is a mouse. There is almost no chance that if either 'John went to the office' or 'Mary left the apple' but not both then Greg is a rhino.
It is almost certain that 'Jessica is a mouse' or 'Brian is green' or both.
Chances are about even that 'Jessica is a mouse' or 'Brian is green' or both.
It is almost certain that 'Jessica is a mouse' or 'Brian is green' 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.1::factA.
  0.05::factB.
  0.7::factC.
  %hop1
  0.0::factX:-or(factA,factB).
  0.6::factY:-or(factC,factB).
  0.02::factZ:-xor(factC,factA).

  %hop2
  conclusion:-or(factY,factB).

  query(conclusion).
  
'Jessica is a mouse' or 'Brian is green' or both.