We believe that Mary moved to the garden. It is highly unlikely that Sandra dropped the milk. It is almost certain that Lily is a lion. It is impossible that if 'Mary moved to the garden' or 'Sandra dropped the milk' or both then Bernhard is a rhino. There is a better than even chance that if either 'Sandra dropped the milk' or 'Lily is a lion' but not both then Daniel left the milk. It is probable that if 'Mary moved to the garden and Lily is a lion' then John went to the hallway.
It is almost certain that 'Lily is a lion' or 'John went to the hallway' or both.
It is almost certain that 'Lily is a lion' or 'John went to the hallway' or both.
There is almost no chance that 'Lily is a lion' or 'John went to the hallway' 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.75::factA.
  0.05::factB.
  0.95::factC.
  %hop1
  0.0::factX:-or(factA,factB).
  0.6::factY:-xor(factB,factC).
  0.7::factZ:-and(factA,factC).

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

  query(conclusion).
  
'Lily is a lion' or 'John went to the hallway' or both.