context: Chances are about even that Emily is a wolf. We believe that Bernhard is a lion. We doubt that John moved to the garden. It is likely that if 'John moved to the garden' or 'Bernhard is a lion' or both then Winona is a sheep. It is almost certain that if either 'John moved to the garden' or 'Bernhard is a lion' but not both then Brian is white. It is improbable that if either 'John moved to the garden' or 'Emily is a wolf' but not both then Sandra left the apple.
hypothesis: It is almost certain that 'Winona is a sheep and Bernhard is a lion'.
valid_hypothesis: Chances are about even that 'Winona is a sheep and Bernhard is a lion'.
invalid_hypothesis: It is almost certain that 'Winona is a sheep and Bernhard is a lion'.
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.75::factB.
    0.2::factC.
    %hop1
    0.7::factX:-or(factC,factB).
    0.95::factY:-xor(factC,factB).
    0.1::factZ:-xor(factC,factA).
  
    %hop2
    conclusion:-and(factX,factB).
  
    query(conclusion).
    
hypothesis_assertion: 'Winona is a sheep and Bernhard is a lion'.