It is almost certain that Brian is yellow. It is highly likely that John got the apple. It is unlikely that Bernhard is a rhino. There is a very good chance that if 'John got the apple and Brian is yellow' then Julius is a frog. It is almost certain that if 'Bernhard is a rhino' or 'Brian is yellow' or both then Lily is a lion. It is highly unlikely that if either 'Bernhard is a rhino' or 'John got the apple' but not both then Mary went to the office.
It is likely that 'Mary went to the office' or 'Julius is a frog' or both.
It is likely 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.9::factB.
  0.2::factC.
  %hop1
  0.8::factX:-and(factB,factA).
  0.95::factY:-or(factC,factA).
  0.05::factZ:-xor(factC,factB).

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

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