context: Chances are about even that John moved to the office. It is probably not the case that Bernhard is a rhino. There is a very good chance that Brian is green. It is improbable that if 'Bernhard is a rhino' or 'Brian is green' or both then Greg is yellow. We doubt that if 'John moved to the office' or 'Bernhard is a rhino' or both then Jessica is a mouse. It is probably not the case that if 'Bernhard is a rhino' or 'Brian is green' or both then Mary went to the hallway.
hypothesis: There is a better than even chance that 'Greg is yellow and Bernhard is a rhino'.
valid_hypothesis: There is almost no chance that 'Greg is yellow and Bernhard is a rhino'.
invalid_hypothesis: There is a better than even chance that 'Greg is yellow and Bernhard is a rhino'.
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.5::factA.
    0.25::factB.
    0.8::factC.
    %hop1
    0.1::factX:-or(factB,factC).
    0.2::factY:-or(factA,factB).
    0.25::factZ:-or(factB,factC).
  
    %hop2
    conclusion:-and(factX,factB).
  
    query(conclusion).
    
hypothesis_assertion: 'Greg is yellow and Bernhard is a rhino'.