It is likely that Gertrude is a mouse. There is a better than even chance that Sumit is thirsty. Chances are about even that Mary moved to the office. It is highly likely that if either 'Gertrude is a mouse' or 'Mary moved to the office' but not both then Bernhard is gray. It is unlikely that if 'Gertrude is a mouse' or 'Mary moved to the office' or both then John went to the bedroom. It is probably the case that if either 'Sumit is thirsty' or 'Gertrude is a mouse' but not both then Lily is yellow.
There is a very good chance that 'Gertrude is a mouse' or 'Lily is yellow' or both.
There is a very good chance that 'Gertrude is a mouse' or 'Lily is yellow' or both.
There is little chance that 'Gertrude is a mouse' or 'Lily is yellow' 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.7::factA.
  0.6::factB.
  0.5::factC.
  %hop1
  0.9::factX:-xor(factA,factC).
  0.2::factY:-or(factA,factC).
  0.7::factZ:-xor(factB,factA).

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

  query(conclusion).
  
'Gertrude is a mouse' or 'Lily is yellow' or both.