context: We believe that Sandra took the apple. It is probably the case that Jessica is a mouse. It is highly unlikely that Emily is a wolf. It is unlikely that if 'Emily is a wolf and Jessica is a mouse' then Lily is a rhino. There is a better than even chance that if 'Sandra took the apple' or 'Jessica is a mouse' or both then Gertrude is a sheep. We believe that if 'Jessica is a mouse and Sandra took the apple' then Greg is gray.
hypothesis: It is highly unlikely that 'Jessica is a mouse and Greg is gray'.
valid_hypothesis: Chances are about even that 'Jessica is a mouse and Greg is gray'.
invalid_hypothesis: It is highly unlikely that 'Jessica is a mouse and Greg is gray'.
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.7::factB.
    0.05::factC.
    %hop1
    0.2::factX:-and(factC,factB).
    0.6::factY:-or(factA,factB).
    0.75::factZ:-and(factB,factA).
  
    %hop2
    conclusion:-and(factB,factZ).
  
    query(conclusion).
    
hypothesis_assertion: 'Jessica is a mouse and Greg is gray'.