It is almost certain that Mary went to the bedroom. It is unlikely that Gertrude is a sheep. It is likely that Julius is a frog. It is highly likely that if 'Julius is a frog' or 'Mary went to the bedroom' or both then Daniel put down the milk. There is little chance that if 'Gertrude is a sheep' or 'Mary went to the bedroom' or both then Brian is white. It is likely that if 'Mary went to the bedroom' or 'Julius is a frog' or both then John picked up the apple.
It is almost certain that 'Mary went to the bedroom' or 'Gertrude is a sheep' or both.
It is almost certain that 'Mary went to the bedroom' or 'Gertrude is a sheep' or both.
There is almost no chance that 'Mary went to the bedroom' or 'Gertrude is a sheep' 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.2::factB.
  0.7::factC.
  %hop1
  0.9::factX:-or(factC,factA).
  0.1::factY:-or(factB,factA).
  0.7::factZ:-or(factA,factC).

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

  query(conclusion).
  
'Mary went to the bedroom' or 'Gertrude is a sheep' or both.