context: It is impossible that John moved to the garden. There is little chance that Emily is a sheep. It is probable that Julius is yellow. It is probably the case that if 'John moved to the garden and Julius is yellow' then Greg is a frog. Chances are about even that if either 'John moved to the garden' or 'Emily is a sheep' but not both then Brian is green. It is highly likely that if 'Emily is a sheep and Julius is yellow' then Mary dropped the apple.
hypothesis: Chances are about even that 'Emily is a sheep and Julius is yellow'.
valid_hypothesis: It is highly unlikely that 'Emily is a sheep and Julius is yellow'.
invalid_hypothesis: Chances are about even that 'Emily is a sheep 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.0::factA.
    0.1::factB.
    0.7::factC.
    %hop1
    0.7::factX:-and(factA,factC).
    0.5::factY:-xor(factA,factB).
    0.9::factZ:-and(factB,factC).
  
    %hop2
    conclusion:-and(factB,factC).
  
    query(conclusion).
    
hypothesis_assertion: 'Emily is a sheep and Julius is yellow'.