context: It is probably the case that Brian is a lion. There is little chance that Julius is gray. It is probably the case that Lily is a swan. There is little chance that if 'Lily is a swan and Brian is a lion' then Sandra took the football. There is almost no chance that if 'Julius is gray and Brian is a lion' then Bernhard is yellow. There is a very good chance that if 'Julius is gray and Brian is a lion' then John moved to the office.
hypothesis: It is probably not the case that 'Brian is a lion' or 'John moved to the office' or both.
valid_hypothesis: It is probably the case that 'Brian is a lion' or 'John moved to the office' or both.
invalid_hypothesis: It is probably not the case that 'Brian is a lion' or 'John moved to the office' 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.7::factA.
    0.1::factB.
    0.7::factC.
    %hop1
    0.1::factX:-and(factC,factA).
    0.02::factY:-and(factB,factA).
    0.8::factZ:-and(factB,factA).
  
    %hop2
    conclusion:-or(factA,factZ).
  
    query(conclusion).
    
hypothesis_assertion: 'Brian is a lion' or 'John moved to the office' or both.