It is almost certain that Lily is a swan. There is almost no chance that Gertrude is a mouse. It is probable that John took the apple. It is probably the case that if either 'Lily is a swan' or 'Gertrude is a mouse' but not both then Julius is gray. It is highly unlikely that if 'John took the apple' or 'Gertrude is a mouse' or both then Bernhard is a frog. It is almost certain that if 'John took the apple' or 'Gertrude is a mouse' or both then Mary went to the office.
It is almost certain that 'Bernhard is a frog' or 'Lily is a swan' or both.
It is almost certain that 'Bernhard is a frog' or 'Lily is a swan' or both.
It is unlikely that 'Bernhard is a frog' or 'Lily is a swan' 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.02::factB.
  0.7::factC.
  %hop1
  0.7::factX:-xor(factA,factB).
  0.05::factY:-or(factC,factB).
  0.95::factZ:-or(factC,factB).

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

  query(conclusion).
  
'Bernhard is a frog' or 'Lily is a swan' or both.