context: There is almost no chance that John got the football. It is probable that Bernhard is a rhino. It is probably not the case that Greg is a lion. There is almost no chance that if either 'John got the football' or 'Greg is a lion' but not both then Emily is a wolf. It is probably the case that if 'Bernhard is a rhino and John got the football' then Mary went to the kitchen. It is impossible that if either 'Greg is a lion' or 'John got the football' but not both then Julius is yellow.
hypothesis: There is a very good chance that 'Greg is a lion' or 'Julius is yellow' or both.
valid_hypothesis: It is probably not the case that 'Greg is a lion' or 'Julius is yellow' or both.
invalid_hypothesis: There is a very good chance that 'Greg is a lion' or 'Julius is yellow' 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.02::factA.
    0.7::factB.
    0.25::factC.
    %hop1
    0.02::factX:-xor(factA,factC).
    0.7::factY:-and(factB,factA).
    0.0::factZ:-xor(factC,factA).
  
    %hop2
    conclusion:-or(factC,factZ).
  
    query(conclusion).
    
hypothesis_assertion: 'Greg is a lion' or 'Julius is yellow' or both.