context: It is highly likely that Mary got the football. It is probably the case that Winona is a mouse. It is almost certain that Julius is gray. We believe that if either 'Julius is gray' or 'Winona is a mouse' but not both then Lily is yellow. It is probable that if 'Winona is a mouse and Julius is gray' then Bernhard is green. It is probably the case that if either 'Winona is a mouse' or 'Julius is gray' but not both then Brian is a rhino.
hypothesis: It is likely that either 'Lily is yellow' or 'Bernhard is green' but not both.
valid_hypothesis: It is likely that either 'Lily is yellow' or 'Bernhard is green' but not both.
invalid_hypothesis: There is little chance that either 'Lily is yellow' or 'Bernhard is green' but not 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.9::factA.
    0.7::factB.
    0.95::factC.
    %hop1
    0.75::factX:-xor(factC,factB).
    0.7::factY:-and(factB,factC).
    0.7::factZ:-xor(factB,factC).
  
    %hop2
    conclusion:-xor(factX,factY).
  
    query(conclusion).
    
hypothesis_assertion: Either 'Lily is yellow' or 'Bernhard is green' but not both.