context: It is impossible that Winona is a sheep. It is almost certain that Gertrude is a wolf. It is likely that Mary left the football. It is impossible that if 'Winona is a sheep and Mary left the football' then John went to the garden. It is impossible that if 'Winona is a sheep' or 'Mary left the football' or both then Brian is a rhino. It is almost certain that if 'Gertrude is a wolf' or 'Winona is a sheep' or both then Jessica is a sheep.
hypothesis: It is certain that 'Mary left the football and John went to the garden'.
valid_hypothesis: It is impossible that 'Mary left the football and John went to the garden'.
invalid_hypothesis: It is certain that 'Mary left the football and John went to the garden'.
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.0::factA.
    0.95::factB.
    0.7::factC.
    %hop1
    0.0::factX:-and(factA,factC).
    0.0::factY:-or(factA,factC).
    0.95::factZ:-or(factB,factA).
  
    %hop2
    conclusion:-and(factC,factX).
  
    query(conclusion).
    
hypothesis_assertion: 'Mary left the football and John went to the garden'.