context: We believe that Sandra left the football. There is a very good chance that Bernhard is a lion. There is a better than even chance that John went to the garden. It is highly likely that if 'Sandra left the football and John went to the garden' then Winona is a sheep. It is highly likely that if 'Bernhard is a lion' or 'Sandra left the football' or both then Julius is a rhino. It is improbable that if 'Sandra left the football' or 'Bernhard is a lion' or both then Mary got the apple.
hypothesis: It is unlikely that 'Julius is a rhino' or 'John went to the garden' or both.
valid_hypothesis: It is almost certain that 'Julius is a rhino' or 'John went to the garden' or both.
invalid_hypothesis: It is unlikely that 'Julius is a rhino' or 'John went to the garden' 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.75::factA.
    0.8::factB.
    0.6::factC.
    %hop1
    0.9::factX:-and(factA,factC).
    0.9::factY:-or(factB,factA).
    0.1::factZ:-or(factA,factB).
  
    %hop2
    conclusion:-or(factY,factC).
  
    query(conclusion).
    
hypothesis_assertion: 'Julius is a rhino' or 'John went to the garden' or both.