context: There is almost no chance that John moved to the office. It is probable that Brian is a swan. It is probably not the case that Julius is white. It is impossible that if 'John moved to the office' or 'Julius is white' or both then Winona is a wolf. It is certain that if either 'Brian is a swan' or 'John moved to the office' but not both then Lily is yellow. It is almost certain that if 'Julius is white' or 'Brian is a swan' or both then Greg is a lion.
hypothesis: It is probable that 'Brian is a swan' or 'Lily is yellow' or both.
valid_hypothesis: It is probable that 'Brian is a swan' or 'Lily is yellow' or both.
invalid_hypothesis: It is highly unlikely that 'Brian is a swan' or 'Lily 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.02::factA.
    0.7::factB.
    0.25::factC.
    %hop1
    0.0::factX:-or(factA,factC).
    1.0::factY:-xor(factB,factA).
    0.95::factZ:-or(factC,factB).
  
    %hop2
    conclusion:-or(factB,factY).
  
    query(conclusion).
    
hypothesis_assertion: 'Brian is a swan' or 'Lily is yellow' or both.