context: There is a better than even chance that Antoine is hungry. Chances are about even that Gertrude is a sheep. It is likely that Greg is a rhino. It is certain that if 'Greg is a rhino' or 'Gertrude is a sheep' or both then John got the apple. It is probably the case that if 'Antoine is hungry and Greg is a rhino' then Bill went to the garden. It is improbable that if 'Antoine is hungry' or 'Gertrude is a sheep' or both then Julius is gray.
hypothesis: It is almost certain that 'John got the apple' or 'Antoine is hungry' or both.
valid_hypothesis: It is almost certain that 'John got the apple' or 'Antoine is hungry' or both.
invalid_hypothesis: It is highly unlikely that 'John got the apple' or 'Antoine is hungry' 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.6::factA.
    0.5::factB.
    0.7::factC.
    %hop1
    1.0::factX:-or(factC,factB).
    0.7::factY:-and(factA,factC).
    0.1::factZ:-or(factA,factB).
  
    %hop2
    conclusion:-or(factX,factA).
  
    query(conclusion).
    
hypothesis_assertion: 'John got the apple' or 'Antoine is hungry' or both.