context: There is a very good chance that Winona is a wolf. There is little chance that Brian is white. It is certain that John put down the apple. It is certain that if 'Brian is white and Winona is a wolf' then Greg is yellow. There is a better than even chance that if either 'Winona is a wolf' or 'John put down the apple' but not both then Julius is yellow. It is likely that if 'Brian is white and Winona is a wolf' then Mary left the football.
hypothesis: We believe that 'Winona is a wolf and Julius is yellow'.
valid_hypothesis: It is impossible that 'Winona is a wolf and Julius is yellow'.
invalid_hypothesis: We believe that 'Winona is a wolf and Julius is yellow'.
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.8::factA.
    0.1::factB.
    1.0::factC.
    %hop1
    1.0::factX:-and(factB,factA).
    0.6::factY:-xor(factA,factC).
    0.7::factZ:-and(factB,factA).
  
    %hop2
    conclusion:-and(factA,factY).
  
    query(conclusion).
    
hypothesis_assertion: 'Winona is a wolf and Julius is yellow'.