It is almost certain that Julius is a frog. There is a better than even chance that John discarded the apple. There is almost no chance that Bernhard is gray. There is little chance that if either 'Julius is a frog' or 'Bernhard is gray' but not both then Brian is gray. Chances are slight that if 'John discarded the apple and Julius is a frog' then Emily is a mouse. It is highly likely that if either 'Bernhard is gray' or 'Julius is a frog' but not both then Mary went to the office.
It is almost certain that 'Mary went to the office' or 'Julius is a frog' or both.
It is almost certain that 'Mary went to the office' or 'Julius is a frog' or both.
There is little chance 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.95::factA.
  0.6::factB.
  0.02::factC.
  %hop1
  0.1::factX:-xor(factA,factC).
  0.1::factY:-and(factB,factA).
  0.9::factZ:-xor(factC,factA).

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

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