It is almost certain that Gertrude is a wolf. It is impossible that John went to the bedroom. It is impossible that Emily is a mouse. It is probable that if 'Gertrude is a wolf' or 'John went to the bedroom' or both then Lily is a lion. We believe that if 'Emily is a mouse' or 'Gertrude is a wolf' or both then Daniel took the milk. It is probable that if either 'Gertrude is a wolf' or 'John went to the bedroom' but not both then Greg is gray.
It is almost certain that 'Daniel took the milk' or 'Gertrude is a wolf' or both.
It is almost certain that 'Daniel took the milk' or 'Gertrude is a wolf' or both.
It is highly unlikely that 'Daniel took the milk' or 'Gertrude is a wolf' 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.0::factB.
  0.0::factC.
  %hop1
  0.7::factX:-or(factA,factB).
  0.75::factY:-or(factC,factA).
  0.7::factZ:-xor(factA,factB).

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

  query(conclusion).
  
'Daniel took the milk' or 'Gertrude is a wolf' or both.