context: It is unlikely that Yann is tired. It is probably not the case that Julius is a frog. Chances are slight that Fred left the apple. We believe that if 'Yann is tired' or 'Julius is a frog' or both then Bernhard is yellow. We doubt that if either 'Julius is a frog' or 'Fred left the apple' but not both then Mary went to the office. We doubt that if 'Fred left the apple' or 'Julius is a frog' or both then Lily is a rhino.
hypothesis: There is almost no chance that 'Lily is a rhino and Mary went to the office'.
valid_hypothesis: There is almost no chance that 'Lily is a rhino and Mary went to the office'.
invalid_hypothesis: It is almost certain that 'Lily is a rhino and Mary went to the office'.
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.2::factA.
    0.25::factB.
    0.1::factC.
    %hop1
    0.75::factX:-or(factA,factB).
    0.2::factY:-xor(factB,factC).
    0.2::factZ:-or(factC,factB).
  
    %hop2
    conclusion:-and(factZ,factY).
  
    query(conclusion).
    
hypothesis_assertion: 'Lily is a rhino and Mary went to the office'.