It is highly likely that Bill went to the bedroom. It is probably the case that Emily is a cat. Chances are about even that Antoine is thirsty. It is improbable that if 'Bill went to the bedroom' or 'Emily is a cat' or both then Greg is a swan. It is probable that if 'Bill went to the bedroom' or 'Emily is a cat' or both then Brian is yellow. It is probably the case that if 'Emily is a cat and Bill went to the bedroom' then Mary is in the school.
It is highly likely that 'Greg is a swan' or 'Bill went to the bedroom' or both.
It is highly likely that 'Greg is a swan' or 'Bill went to the bedroom' or both.
It is highly unlikely that 'Greg is a swan' or 'Bill went to the bedroom' 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.9::factA.
  0.7::factB.
  0.5::factC.
  %hop1
  0.1::factX:-or(factA,factB).
  0.7::factY:-or(factA,factB).
  0.7::factZ:-and(factB,factA).

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

  query(conclusion).
  
'Greg is a swan' or 'Bill went to the bedroom' or both.