context: It is likely that Daniel put down the milk. It is probably the case that Bernhard is green. There is a very good chance that Greg is a rhino. It is impossible that if 'Greg is a rhino' or 'Daniel put down the milk' or both then Sumit is bored. It is unlikely that if 'Bernhard is green and Greg is a rhino' then Yann is thirsty. It is certain that if 'Daniel put down the milk' or 'Bernhard is green' or both then Lily is a swan.
hypothesis: It is probable that either 'Sumit is bored' or 'Bernhard is green' but not both.
valid_hypothesis: It is probable that either 'Sumit is bored' or 'Bernhard is green' but not both.
invalid_hypothesis: It is highly unlikely that either 'Sumit is bored' or 'Bernhard is green' but not 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.7::factA.
    0.7::factB.
    0.8::factC.
    %hop1
    0.0::factX:-or(factC,factA).
    0.2::factY:-and(factB,factC).
    1.0::factZ:-or(factA,factB).
  
    %hop2
    conclusion:-xor(factX,factB).
  
    query(conclusion).
    
hypothesis_assertion: Either 'Sumit is bored' or 'Bernhard is green' but not both.