context: It is highly unlikely that Mary went to the office. It is improbable that Sumit is thirsty. There is a better than even chance that Greg is white. There is almost no chance that if 'Sumit is thirsty' or 'Greg is white' or both then Lily is a swan. It is certain that if 'Greg is white' or 'Mary went to the office' or both then Winona is a mouse. It is impossible that if 'Mary went to the office' or 'Greg is white' or both then Jessica is a cat.
hypothesis: It is likely that 'Lily is a swan' or 'Sumit is thirsty' or both.
valid_hypothesis: There is little chance that 'Lily is a swan' or 'Sumit is thirsty' or both.
invalid_hypothesis: It is likely that 'Lily is a swan' or 'Sumit is thirsty' or both.
problog: 
    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.05::factA.
    0.1::factB.
    0.6::factC.
    %hop1
    0.02::factX:-or(factB,factC).
    1.0::factY:-or(factC,factA).
    0.0::factZ:-or(factA,factC).
  
    %hop2
    conclusion:-or(factX,factB).
  
    query(conclusion).
    
hypothesis_assertion: 'Lily is a swan' or 'Sumit is thirsty' or both.