context: It is improbable that Sandra took the apple. It is likely that Lily is a swan. There is a better than even chance that Brian is yellow. Chances are about even that if either 'Lily is a swan' or 'Brian is yellow' but not both then Greg is a lion. It is probable that if either 'Sandra took the apple' or 'Lily is a swan' but not both then Jessica is a wolf. It is probable that if either 'Lily is a swan' or 'Sandra took the apple' but not both then Mary dropped the milk.
hypothesis: It is improbable that 'Jessica is a wolf' or 'Brian is yellow' or both.
valid_hypothesis: There is a very good chance that 'Jessica is a wolf' or 'Brian is yellow' or both.
invalid_hypothesis: It is improbable that 'Jessica is a wolf' or 'Brian is yellow' 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.1::factA.
    0.7::factB.
    0.6::factC.
    %hop1
    0.5::factX:-xor(factB,factC).
    0.7::factY:-xor(factA,factB).
    0.7::factZ:-xor(factB,factA).
  
    %hop2
    conclusion:-or(factY,factC).
  
    query(conclusion).
    
hypothesis_assertion: 'Jessica is a wolf' or 'Brian is yellow' or both.