diff --git "a/reasoning_2hop_validation.csv" "b/reasoning_2hop_validation.csv" new file mode 100644--- /dev/null +++ "b/reasoning_2hop_validation.csv" @@ -0,0 +1,10501 @@ +context,hypothesis,problog,probability,rnd,split,probability_word,distractor,valid_hypothesis,invalid_hypothesis,label,hypothesis_assertion +It is highly likely that Bernhard is white. It is impossible that John went to the kitchen. It is almost certain that Fred put down the apple. It is impossible that if 'Fred put down the apple' or 'John went to the kitchen' or both then Lily is green. It is highly likely that if 'John went to the kitchen' or 'Fred put down the apple' or both then Greg is a swan. There is almost no chance that if 'Fred put down the apple' or 'Bernhard is white' or both then Brian is yellow.,It is almost certain that either 'Fred put down the apple' or 'Greg is a swan' but not both.," + 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.9::factA. + 0.0::factB. + 0.95::factC. + %hop1 + 0.0::factX:-or(factC,factB). + 0.9::factY:-or(factB,factC). + 0.02::factZ:-or(factC,factA). + + %hop2 + conclusion:-xor(factC,factY). + + query(conclusion). + ",0.09499999999999997,0.8837767553510703,validation,improbable,almost certain,It is improbable that either 'Fred put down the apple' or 'Greg is a swan' but not both.,It is almost certain that either 'Fred put down the apple' or 'Greg is a swan' but not both.,0,Either 'Fred put down the apple' or 'Greg is a swan' but not both. +Chances are about even that Greg is white. It is probably the case that Bernhard is a swan. We doubt that Jeff went to the garden. It is probably the case that if 'Jeff went to the garden' or 'Bernhard is a swan' or both then Brian is yellow. It is improbable that if 'Jeff went to the garden and Bernhard is a swan' then John took the football. There is almost no chance that if 'Greg is white' or 'Bernhard is a swan' or both then Bill moved to the office.,It is impossible that either 'Bernhard is a swan' or 'Jeff went to the garden' but not both.," + 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.7::factB. + 0.2::factC. + %hop1 + 0.7::factX:-or(factC,factB). + 0.1::factY:-and(factC,factB). + 0.02::factZ:-or(factA,factB). + + %hop2 + conclusion:-xor(factB,factC). + + query(conclusion). + ",0.62,0.8223644728945789,validation,better than even,impossible,There is a better than even chance that either 'Bernhard is a swan' or 'Jeff went to the garden' but not both.,It is impossible that either 'Bernhard is a swan' or 'Jeff went to the garden' but not both.,0,Either 'Bernhard is a swan' or 'Jeff went to the garden' but not both. +It is likely that Sandra dropped the milk. It is probably the case that Bernhard is a swan. There is almost no chance that Greg is yellow. It is almost certain that if 'Greg is yellow' or 'Bernhard is a swan' or both then Brian is a rhino. We believe that if 'Greg is yellow and Bernhard is a swan' then John went to the office. There is a better than even chance that if 'Bernhard is a swan' or 'Greg is yellow' or both then Mary put down the apple.,It is probably the case that 'Mary put down the apple' or 'Brian is a rhino' or both.," + 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.7::factA. + 0.7::factB. + 0.02::factC. + %hop1 + 0.95::factX:-or(factC,factB). + 0.75::factY:-and(factC,factB). + 0.6::factZ:-or(factB,factC). + + %hop2 + conclusion:-or(factZ,factX). + + query(conclusion). + ",0.6918799999999999,0.8007601520304061,validation,probably,highly unlikely,It is probably the case that 'Mary put down the apple' or 'Brian is a rhino' or both.,It is highly unlikely that 'Mary put down the apple' or 'Brian is a rhino' or both.,1,'Mary put down the apple' or 'Brian is a rhino' or both. +There is a very good chance that John moved to the garden. It is almost certain that Mary left the football. It is probably the case that Brian is green. It is probable that if either 'Brian is green' or 'Mary left the football' but not both then Greg is yellow. It is highly likely that if 'Brian is green' or 'John moved to the garden' or both then Julius is a swan. It is highly likely that if either 'Brian is green' or 'John moved to the garden' but not both then Sandra dropped the milk.,It is highly likely that 'Sandra dropped the milk' or 'Julius is a swan' or both.," + 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.8::factA. + 0.95::factB. + 0.7::factC. + %hop1 + 0.7::factX:-xor(factC,factB). + 0.9::factY:-or(factC,factA). + 0.9::factZ:-xor(factC,factA). + + %hop2 + conclusion:-or(factZ,factY). + + query(conclusion). + ",0.8802,0.8069613922784556,validation,highly likely,probably not,It is highly likely that 'Sandra dropped the milk' or 'Julius is a swan' or both.,It is probably not the case that 'Sandra dropped the milk' or 'Julius is a swan' or both.,1,'Sandra dropped the milk' or 'Julius is a swan' or both. +It is probably not the case that Brian is green. It is highly likely that Emily is a sheep. Chances are about even that Lily is a frog. There is little chance that if either 'Lily is a frog' or 'Brian is green' but not both then Julius is yellow. It is highly unlikely that if 'Brian is green and Lily is a frog' then Jeff went to the garden. Chances are slight that if 'Lily is a frog and Brian is green' then John discarded the milk.,Chances are about even that either 'Lily is a frog' or 'Brian is green' but not both.," + 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.25::factA. + 0.9::factB. + 0.5::factC. + %hop1 + 0.1::factX:-xor(factC,factA). + 0.05::factY:-and(factA,factC). + 0.1::factZ:-and(factC,factA). + + %hop2 + conclusion:-xor(factC,factA). + + query(conclusion). + ",0.5000000000000001,0.8619723944788957,validation,about even,highly unlikely,Chances are about even that either 'Lily is a frog' or 'Brian is green' but not both.,It is highly unlikely that either 'Lily is a frog' or 'Brian is green' but not both.,1,Either 'Lily is a frog' or 'Brian is green' but not both. +It is probable that Lily is a rhino. Chances are slight that Winona is a wolf. We doubt that John went to the kitchen. It is improbable that if either 'John went to the kitchen' or 'Lily is a rhino' but not both then Greg is gray. It is unlikely that if either 'Winona is a wolf' or 'John went to the kitchen' but not both then Daniel left the apple. It is certain that if 'Winona is a wolf' or 'John went to the kitchen' or both then Brian is a swan.,It is probably not the case that either 'Daniel left the apple' or 'Brian is a swan' but not both.," + 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.7::factA. + 0.1::factB. + 0.2::factC. + %hop1 + 0.1::factX:-xor(factC,factA). + 0.2::factY:-xor(factB,factC). + 1.0::factZ:-or(factB,factC). + + %hop2 + conclusion:-xor(factY,factZ). + + query(conclusion). + ",0.228,0.831366273254651,validation,probably not,almost certain,It is probably not the case that either 'Daniel left the apple' or 'Brian is a swan' but not both.,It is almost certain that either 'Daniel left the apple' or 'Brian is a swan' but not both.,1,Either 'Daniel left the apple' or 'Brian is a swan' but not both. +It is improbable that Julius is a frog. It is unlikely that Winona is a wolf. There is almost no chance that Mary picked up the apple. We believe that if either 'Winona is a wolf' or 'Julius is a frog' but not both then Jeff went to the garden. It is almost certain that if 'Winona is a wolf' or 'Mary picked up the apple' or both then Jessica is a sheep. It is improbable that if 'Mary picked up the apple and Winona is a wolf' then Brian is a swan.,We doubt that 'Winona is a wolf' or 'Jessica is a sheep' or both.," + 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.1::factA. + 0.2::factB. + 0.02::factC. + %hop1 + 0.75::factX:-xor(factB,factA). + 0.95::factY:-or(factB,factC). + 0.1::factZ:-and(factC,factB). + + %hop2 + conclusion:-or(factB,factY). + + query(conclusion). + ",0.2152,0.8061612322464493,validation,we doubt,probably,We doubt that 'Winona is a wolf' or 'Jessica is a sheep' or both.,It is probably the case that 'Winona is a wolf' or 'Jessica is a sheep' or both.,1,'Winona is a wolf' or 'Jessica is a sheep' or both. +There is almost no chance that Julius is a swan. Chances are about even that Brian is a rhino. It is certain that Mary dropped the milk. It is certain that if 'Brian is a rhino' or 'Julius is a swan' or both then Greg is a frog. It is highly unlikely that if either 'Julius is a swan' or 'Mary dropped the milk' but not both then John discarded the apple. We doubt that if 'Julius is a swan and Brian is a rhino' then Emily is a mouse.,It is impossible that 'Brian is a rhino' or 'Greg is a frog' or both.," + 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.5::factB. + 1.0::factC. + %hop1 + 1.0::factX:-or(factB,factA). + 0.05::factY:-xor(factA,factC). + 0.2::factZ:-and(factA,factB). + + %hop2 + conclusion:-or(factB,factX). + + query(conclusion). + ",0.51,0.8689737947589518,validation,about even,impossible,Chances are about even that 'Brian is a rhino' or 'Greg is a frog' or both.,It is impossible that 'Brian is a rhino' or 'Greg is a frog' or both.,0,'Brian is a rhino' or 'Greg is a frog' or both. +It is likely that Mary went to the hallway. It is almost certain that Lily is gray. We believe that Greg is a swan. It is unlikely that if 'Greg is a swan and Lily is gray' then Julius is a frog. It is highly likely that if 'Lily is gray and Greg is a swan' then Daniel grabbed the milk. It is likely that if 'Lily is gray' or 'Mary went to the hallway' or both then John moved to the garden.,Chances are about even that either 'John moved to the garden' or 'Daniel grabbed the milk' but not both.," + 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.7::factA. + 0.95::factB. + 0.75::factC. + %hop1 + 0.2::factX:-and(factC,factB). + 0.9::factY:-and(factB,factC). + 0.7::factZ:-or(factB,factA). + + %hop2 + conclusion:-xor(factZ,factY). + + query(conclusion). + ",0.433,0.8491698339667934,validation,about even,almost certain,Chances are about even that either 'John moved to the garden' or 'Daniel grabbed the milk' but not both.,It is almost certain that either 'John moved to the garden' or 'Daniel grabbed the milk' but not both.,1,Either 'John moved to the garden' or 'Daniel grabbed the milk' but not both. +It is improbable that Jeff went to the hallway. It is probably not the case that Sandra got the milk. We believe that Bernhard is a swan. It is almost certain that if 'Bernhard is a swan' or 'Jeff went to the hallway' or both then Greg is green. It is probably the case that if 'Sandra got the milk' or 'Bernhard is a swan' or both then Winona is a cat. There is almost no chance that if either 'Sandra got the milk' or 'Jeff went to the hallway' but not both then John moved to the office.,There is a very good chance that 'John moved to the office and Greg is green'.," + 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.1::factA. + 0.25::factB. + 0.75::factC. + %hop1 + 0.95::factX:-or(factC,factA). + 0.7::factY:-or(factB,factC). + 0.02::factZ:-xor(factB,factA). + + %hop2 + conclusion:-and(factZ,factX). + + query(conclusion). + ",0.004631250000000001,0.8519703940788158,validation,impossible,very good chance,It is impossible that 'John moved to the office and Greg is green'.,There is a very good chance that 'John moved to the office and Greg is green'.,0,'John moved to the office and Greg is green'. +There is a very good chance that John dropped the apple. Chances are slight that Bill went to the office. It is certain that Brian is green. It is unlikely that if 'John dropped the apple' or 'Brian is green' or both then Bernhard is a frog. There is almost no chance that if 'Brian is green' or 'John dropped the apple' or both then Mary took the football. Chances are slight that if 'Bill went to the office and Brian is green' then Julius is white.,It is likely that 'Bill went to the office and Bernhard is a frog'.," + 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.8::factA. + 0.1::factB. + 1.0::factC. + %hop1 + 0.2::factX:-or(factA,factC). + 0.02::factY:-or(factC,factA). + 0.1::factZ:-and(factB,factC). + + %hop2 + conclusion:-and(factB,factX). + + query(conclusion). + ",0.02000000000000001,0.8739747949589918,validation,almost no chance,likely,There is almost no chance that 'Bill went to the office and Bernhard is a frog'.,It is likely that 'Bill went to the office and Bernhard is a frog'.,0,'Bill went to the office and Bernhard is a frog'. +It is almost certain that John discarded the apple. It is certain that Lily is a lion. There is a better than even chance that Brian is green. There is a better than even chance that if 'John discarded the apple and Lily is a lion' then Jason is bored. There is a better than even chance that if 'Lily is a lion' or 'Brian is green' or both then Julius is a swan. It is highly unlikely that if 'John discarded the apple and Brian is green' then Bill went to the garden.,We believe that 'Jason is bored and Brian is green'.," + 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.95::factA. + 1.0::factB. + 0.6::factC. + %hop1 + 0.6::factX:-and(factA,factB). + 0.6::factY:-or(factB,factC). + 0.05::factZ:-and(factA,factC). + + %hop2 + conclusion:-and(factX,factC). + + query(conclusion). + ",0.34199999999999997,0.8979795959191839,validation,probably not,we believe,It is probably not the case that 'Jason is bored and Brian is green'.,We believe that 'Jason is bored and Brian is green'.,0,'Jason is bored and Brian is green'. +It is unlikely that Fred went to the garden. It is unlikely that Mary discarded the milk. It is probably not the case that Winona is a mouse. It is certain that if either 'Fred went to the garden' or 'Winona is a mouse' but not both then Julius is a swan. It is almost certain that if 'Mary discarded the milk' or 'Winona is a mouse' or both then Jason is tired. We doubt that if either 'Mary discarded the milk' or 'Winona is a mouse' but not both then Brian is a frog.,It is probably the case that either 'Fred went to the garden' or 'Brian is a frog' but not both.," + 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.2::factB. + 0.25::factC. + %hop1 + 1.0::factX:-xor(factA,factC). + 0.95::factY:-or(factB,factC). + 0.2::factZ:-xor(factB,factC). + + %hop2 + conclusion:-xor(factA,factZ). + + query(conclusion). + ",0.24200000000000002,0.8963792758551711,validation,probably not,probably,It is probably not the case that either 'Fred went to the garden' or 'Brian is a frog' but not both.,It is probably the case that either 'Fred went to the garden' or 'Brian is a frog' but not both.,0,Either 'Fred went to the garden' or 'Brian is a frog' but not both. +It is certain that Mary left the apple. There is little chance that Lily is a frog. It is highly likely that John grabbed the apple. It is impossible that if either 'Mary left the apple' or 'Lily is a frog' but not both then Brian is a rhino. It is probably not the case that if 'Lily is a frog and John grabbed the apple' then Bernhard is yellow. It is likely that if 'Mary left the apple and Lily is a frog' then Greg is green.,It is highly likely that 'John grabbed the apple' or 'Brian is a rhino' or both.," + 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 + 1.0::factA. + 0.1::factB. + 0.9::factC. + %hop1 + 0.0::factX:-xor(factA,factB). + 0.25::factY:-and(factB,factC). + 0.7::factZ:-and(factA,factB). + + %hop2 + conclusion:-or(factC,factX). + + query(conclusion). + ",0.9,0.8555711142228446,validation,highly likely,we doubt,It is highly likely that 'John grabbed the apple' or 'Brian is a rhino' or both.,We doubt that 'John grabbed the apple' or 'Brian is a rhino' or both.,1,'John grabbed the apple' or 'Brian is a rhino' or both. +Chances are about even that Jessica is a cat. It is probably not the case that Greg is a frog. It is probably not the case that Julius is yellow. It is highly unlikely that if either 'Julius is yellow' or 'Greg is a frog' but not both then Sandra got the milk. Chances are slight that if 'Julius is yellow and Greg is a frog' then Lily is a rhino. There is little chance that if 'Julius is yellow and Greg is a frog' then Mary left the milk.,It is certain that 'Greg is a frog' or 'Mary left the milk' or both.," + 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.25::factC. + %hop1 + 0.05::factX:-xor(factC,factB). + 0.1::factY:-and(factC,factB). + 0.1::factZ:-and(factC,factB). + + %hop2 + conclusion:-or(factB,factZ). + + query(conclusion). + ",0.25,0.8405681136227245,validation,probably not,certain,It is probably not the case that 'Greg is a frog' or 'Mary left the milk' or both.,It is certain that 'Greg is a frog' or 'Mary left the milk' or both.,0,'Greg is a frog' or 'Mary left the milk' or both. +Chances are slight that Bernhard is a rhino. It is impossible that Sandra took the football. There is a better than even chance that Greg is white. It is highly unlikely that if 'Greg is white and Sandra took the football' then Lily is gray. There is a better than even chance that if 'Bernhard is a rhino' or 'Sandra took the football' or both then Jessica is a cat. It is probably not the case that if either 'Sandra took the football' or 'Greg is white' but not both then Brian is a lion.,Chances are about even that 'Greg is white and Bernhard is a rhino'.," + 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.1::factA. + 0.0::factB. + 0.6::factC. + %hop1 + 0.05::factX:-and(factC,factB). + 0.6::factY:-or(factA,factB). + 0.25::factZ:-xor(factB,factC). + + %hop2 + conclusion:-and(factC,factA). + + query(conclusion). + ",0.06,0.8973794758951791,validation,highly unlikely,about even,It is highly unlikely that 'Greg is white and Bernhard is a rhino'.,Chances are about even that 'Greg is white and Bernhard is a rhino'.,0,'Greg is white and Bernhard is a rhino'. +It is highly unlikely that Sandra left the apple. There is a very good chance that Lily is white. It is almost certain that Brian is gray. It is almost certain that if 'Sandra left the apple' or 'Lily is white' or both then Bernhard is gray. It is highly unlikely that if 'Sandra left the apple' or 'Lily is white' or both then Julius is yellow. It is improbable that if 'Brian is gray and Lily is white' then Mary went to the office.,It is improbable that either 'Sandra left the apple' or 'Mary went to the office' but not both.," + 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.05::factA. + 0.8::factB. + 0.95::factC. + %hop1 + 0.95::factX:-or(factA,factB). + 0.05::factY:-or(factA,factB). + 0.1::factZ:-and(factC,factB). + + %hop2 + conclusion:-xor(factA,factZ). + + query(conclusion). + ",0.11840000000000005,0.8765753150630126,validation,improbable,better than even,It is improbable that either 'Sandra left the apple' or 'Mary went to the office' but not both.,There is a better than even chance that either 'Sandra left the apple' or 'Mary went to the office' but not both.,1,Either 'Sandra left the apple' or 'Mary went to the office' but not both. +It is impossible that Sandra put down the milk. There is almost no chance that Jeff went to the bedroom. It is highly unlikely that Lily is a swan. There is little chance that if 'Jeff went to the bedroom and Lily is a swan' then Brian is a frog. Chances are slight that if either 'Sandra put down the milk' or 'Jeff went to the bedroom' but not both then Mary got the apple. There is little chance that if either 'Jeff went to the bedroom' or 'Lily is a swan' but not both then Greg is white.,It is impossible that either 'Brian is a frog' or 'Greg is white' but not both.," + 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.02::factB. + 0.05::factC. + %hop1 + 0.1::factX:-and(factB,factC). + 0.1::factY:-xor(factA,factB). + 0.1::factZ:-xor(factB,factC). + + %hop2 + conclusion:-xor(factX,factZ). + + query(conclusion). + ",0.0069000000000000025,0.8593718743748749,validation,impossible,better than even,It is impossible that either 'Brian is a frog' or 'Greg is white' but not both.,There is a better than even chance that either 'Brian is a frog' or 'Greg is white' but not both.,1,Either 'Brian is a frog' or 'Greg is white' but not both. +Chances are slight that John went to the garden. It is probable that Julius is green. It is improbable that Bernhard is yellow. We believe that if either 'Bernhard is yellow' or 'John went to the garden' but not both then Mary dropped the milk. It is likely that if 'John went to the garden and Julius is green' then Daniel got the football. There is a very good chance that if 'Julius is green' or 'Bernhard is yellow' or both then Greg is white.,There is a very good chance that 'Mary dropped the milk and John went to the garden'.," + 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.1::factA. + 0.7::factB. + 0.1::factC. + %hop1 + 0.75::factX:-xor(factC,factA). + 0.7::factY:-and(factA,factB). + 0.8::factZ:-or(factB,factC). + + %hop2 + conclusion:-and(factX,factA). + + query(conclusion). + ",0.06750000000000002,0.8165633126625325,validation,highly unlikely,very good chance,It is highly unlikely that 'Mary dropped the milk and John went to the garden'.,There is a very good chance that 'Mary dropped the milk and John went to the garden'.,0,'Mary dropped the milk and John went to the garden'. +It is unlikely that Greg is yellow. It is highly unlikely that John left the milk. It is probable that Gertrude is a sheep. It is highly unlikely that if 'John left the milk and Greg is yellow' then Sandra got the football. It is certain that if 'Gertrude is a sheep and John left the milk' then Winona is a wolf. It is improbable that if 'Gertrude is a sheep' or 'John left the milk' or both then Brian is green.,It is certain that 'Brian is green and Sandra got the football'.," + 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.05::factB. + 0.7::factC. + %hop1 + 0.05::factX:-and(factB,factA). + 1.0::factY:-and(factC,factB). + 0.1::factZ:-or(factC,factB). + + %hop2 + conclusion:-and(factZ,factX). + + query(conclusion). + ",5.000000000000004e-05,0.833366673334667,validation,impossible,certain,It is impossible that 'Brian is green and Sandra got the football'.,It is certain that 'Brian is green and Sandra got the football'.,0,'Brian is green and Sandra got the football'. +We doubt that Julius is yellow. There is a better than even chance that Bernhard is white. It is unlikely that Brian is a rhino. Chances are slight that if 'Julius is yellow and Bernhard is white' then Sandra left the milk. It is almost certain that if either 'Julius is yellow' or 'Brian is a rhino' but not both then Mary went to the kitchen. It is impossible that if 'Julius is yellow' or 'Bernhard is white' or both then John moved to the office.,It is unlikely that 'Sandra left the milk' or 'Julius is yellow' or both.," + 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.6::factB. + 0.2::factC. + %hop1 + 0.1::factX:-and(factA,factB). + 0.95::factY:-xor(factA,factC). + 0.0::factZ:-or(factA,factB). + + %hop2 + conclusion:-or(factX,factA). + + query(conclusion). + ",0.20000000000000007,0.846369273854771,validation,unlikely,likely,It is unlikely that 'Sandra left the milk' or 'Julius is yellow' or both.,It is likely that 'Sandra left the milk' or 'Julius is yellow' or both.,1,'Sandra left the milk' or 'Julius is yellow' or both. +We believe that Daniel dropped the apple. It is certain that Greg is a frog. It is highly likely that Lily is a rhino. It is likely that if 'Greg is a frog and Daniel dropped the apple' then Mary got the football. We doubt that if 'Daniel dropped the apple' or 'Greg is a frog' or both then John left the milk. We doubt that if 'Lily is a rhino and Daniel dropped the apple' then Bernhard is a frog.,There is almost no chance that either 'Daniel dropped the apple' or 'Bernhard is a frog' but not both.," + 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.75::factA. + 1.0::factB. + 0.9::factC. + %hop1 + 0.7::factX:-and(factB,factA). + 0.2::factY:-or(factA,factB). + 0.2::factZ:-and(factC,factA). + + %hop2 + conclusion:-xor(factA,factZ). + + query(conclusion). + ",0.615,0.8667733546709342,validation,better than even,almost no chance,There is a better than even chance that either 'Daniel dropped the apple' or 'Bernhard is a frog' but not both.,There is almost no chance that either 'Daniel dropped the apple' or 'Bernhard is a frog' but not both.,0,Either 'Daniel dropped the apple' or 'Bernhard is a frog' but not both. +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.,There is a better than even chance that 'Greg is yellow and Bernhard is a rhino'.," + 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). + ",0.025000000000000012,0.8155631126225245,validation,almost no chance,better than even,There is almost no chance that 'Greg is yellow and Bernhard is a rhino'.,There is a better than even chance that 'Greg is yellow and Bernhard is a rhino'.,0,'Greg is yellow and Bernhard is a rhino'. +It is probably not the case that Mary got the football. It is unlikely that Bill went to the garden. There is almost no chance that John left the milk. It is likely that if either 'John left the milk' or 'Mary got the football' but not both then Brian is a frog. It is probably the case that if either 'Bill went to the garden' or 'Mary got the football' but not both then Jessica is a cat. It is highly likely that if 'Mary got the football' or 'Bill went to the garden' or both then Bernhard is a rhino.,There is a better than even chance that 'Bill went to the garden and Mary got the football'.," + 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.25::factA. + 0.2::factB. + 0.02::factC. + %hop1 + 0.7::factX:-xor(factC,factA). + 0.7::factY:-xor(factB,factA). + 0.9::factZ:-or(factA,factB). + + %hop2 + conclusion:-and(factB,factA). + + query(conclusion). + ",0.05000000000000001,0.8611722344468894,validation,highly unlikely,better than even,It is highly unlikely that 'Bill went to the garden and Mary got the football'.,There is a better than even chance that 'Bill went to the garden and Mary got the football'.,0,'Bill went to the garden and Mary got the football'. +It is almost certain that Mary got the football. It is unlikely that Bill moved to the office. It is improbable that Julius is a frog. It is impossible that if either 'Bill moved to the office' or 'Mary got the football' but not both then Lily is a rhino. There is a better than even chance that if 'Mary got the football and Julius is a frog' then John discarded the milk. It is unlikely that if 'Mary got the football' or 'Bill moved to the office' or both then Fred went to the garden.,It is likely that 'Lily is a rhino and Julius is a frog'.," + 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.95::factA. + 0.2::factB. + 0.1::factC. + %hop1 + 0.0::factX:-xor(factB,factA). + 0.6::factY:-and(factA,factC). + 0.2::factZ:-or(factA,factB). + + %hop2 + conclusion:-and(factX,factC). + + query(conclusion). + ",0.0,0.8169633926785357,validation,impossible,likely,It is impossible that 'Lily is a rhino and Julius is a frog'.,It is likely that 'Lily is a rhino and Julius is a frog'.,0,'Lily is a rhino and Julius is a frog'. +There is a better than even chance that Fred left the football. We doubt that Greg is yellow. It is highly likely that Yann is hungry. It is highly unlikely that if 'Yann is hungry and Greg is yellow' then Bernhard is a rhino. It is likely that if 'Greg is yellow' or 'Yann is hungry' or both then Julius is a lion. It is probable that if either 'Greg is yellow' or 'Yann is hungry' but not both then Lily is green.,Chances are slight that 'Julius is a lion and Greg is yellow'.," + 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.6::factA. + 0.2::factB. + 0.9::factC. + %hop1 + 0.05::factX:-and(factC,factB). + 0.7::factY:-or(factB,factC). + 0.7::factZ:-xor(factB,factC). + + %hop2 + conclusion:-and(factY,factB). + + query(conclusion). + ",0.14,0.8147629525905181,validation,chances are slight,probably,Chances are slight that 'Julius is a lion and Greg is yellow'.,It is probably the case that 'Julius is a lion and Greg is yellow'.,1,'Julius is a lion and Greg is yellow'. +It is probably the case that John went to the office. It is probably the case that Greg is a swan. It is certain that Julius is yellow. It is almost certain that if either 'John went to the office' or 'Julius is yellow' but not both then Gertrude is a sheep. It is probable that if 'Julius is yellow' or 'John went to the office' or both then Mary moved to the garden. It is probable that if 'Julius is yellow' or 'Greg is a swan' or both then Lily is a swan.,Chances are about even that either 'Lily is a swan' or 'John went to the office' but not both.," + 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.7::factA. + 0.7::factB. + 1.0::factC. + %hop1 + 0.95::factX:-xor(factA,factC). + 0.7::factY:-or(factC,factA). + 0.7::factZ:-or(factC,factB). + + %hop2 + conclusion:-xor(factZ,factA). + + query(conclusion). + ",0.42,0.8791758351670335,validation,about even,certain,Chances are about even that either 'Lily is a swan' or 'John went to the office' but not both.,It is certain that either 'Lily is a swan' or 'John went to the office' but not both.,1,Either 'Lily is a swan' or 'John went to the office' but not both. +It is likely that Sandra got the milk. There is little chance that Greg is a swan. It is almost certain that Bill went to the office. It is probably the case that if 'Greg is a swan and Sandra got the milk' then Julius is gray. It is improbable that if 'Sandra got the milk' or 'Bill went to the office' or both then John moved to the garden. It is impossible that if 'Greg is a swan and Sandra got the milk' then Bernhard is yellow.,It is highly unlikely that either 'Greg is a swan' or 'Julius is gray' but not both.," + 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.7::factA. + 0.1::factB. + 0.95::factC. + %hop1 + 0.7::factX:-and(factB,factA). + 0.1::factY:-or(factA,factC). + 0.0::factZ:-and(factB,factA). + + %hop2 + conclusion:-xor(factB,factX). + + query(conclusion). + ",0.05100000000000001,0.8825765153030606,validation,highly unlikely,probable,It is highly unlikely that either 'Greg is a swan' or 'Julius is gray' but not both.,It is probable that either 'Greg is a swan' or 'Julius is gray' but not both.,1,Either 'Greg is a swan' or 'Julius is gray' but not both. +We believe that Lily is a swan. It is impossible that Mary grabbed the milk. It is probably the case that Bernhard is green. It is impossible that if either 'Mary grabbed the milk' or 'Lily is a swan' but not both then Greg is gray. Chances are slight that if 'Mary grabbed the milk' or 'Bernhard is green' or both then Brian is yellow. It is almost certain that if either 'Lily is a swan' or 'Mary grabbed the milk' but not both then John went to the kitchen.,It is probably the case that 'Greg is gray' or 'Bernhard is green' or both.," + 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.75::factA. + 0.0::factB. + 0.7::factC. + %hop1 + 0.0::factX:-xor(factB,factA). + 0.1::factY:-or(factB,factC). + 0.95::factZ:-xor(factA,factB). + + %hop2 + conclusion:-or(factX,factC). + + query(conclusion). + ",0.7,0.8829765953190638,validation,probably,we doubt,It is probably the case that 'Greg is gray' or 'Bernhard is green' or both.,We doubt that 'Greg is gray' or 'Bernhard is green' or both.,1,'Greg is gray' or 'Bernhard is green' or both. +We doubt that Daniel got the football. It is improbable that John left the apple. It is probable that Greg is gray. There is little chance that if 'Daniel got the football' or 'Greg is gray' or both then Lily is a rhino. It is impossible that if 'Greg is gray and Daniel got the football' then Mary went to the bedroom. It is impossible that if 'Daniel got the football and John left the apple' then Emily is a sheep.,There is almost no chance that 'Daniel got the football and John left the apple'.," + 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.1::factB. + 0.7::factC. + %hop1 + 0.1::factX:-or(factA,factC). + 0.0::factY:-and(factC,factA). + 0.0::factZ:-and(factA,factB). + + %hop2 + conclusion:-and(factA,factB). + + query(conclusion). + ",0.02000000000000001,0.8257651530306062,validation,almost no chance,we believe,There is almost no chance that 'Daniel got the football and John left the apple'.,We believe that 'Daniel got the football and John left the apple'.,1,'Daniel got the football and John left the apple'. +There is almost no chance that Lily is a swan. There is a very good chance that Bernhard is a rhino. It is probably not the case that Jason is tired. There is almost no chance that if 'Bernhard is a rhino' or 'Lily is a swan' or both then Emily is a mouse. There is a very good chance that if 'Jason is tired and Bernhard is a rhino' then Greg is yellow. There is a very good chance that if 'Lily is a swan' or 'Bernhard is a rhino' or both then Brian is white.,It is impossible that 'Emily is a mouse and Lily is a swan'.," + 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.8::factB. + 0.25::factC. + %hop1 + 0.02::factX:-or(factB,factA). + 0.8::factY:-and(factC,factB). + 0.8::factZ:-or(factA,factB). + + %hop2 + conclusion:-and(factX,factA). + + query(conclusion). + ",0.0004000000000000001,0.8391678335667133,validation,impossible,highly likely,It is impossible that 'Emily is a mouse and Lily is a swan'.,It is highly likely that 'Emily is a mouse and Lily is a swan'.,1,'Emily is a mouse and Lily is a swan'. +It is highly unlikely that Winona is a wolf. Chances are about even that Brian is a swan. It is highly unlikely that John moved to the office. There is a very good chance that if 'Brian is a swan' or 'John moved to the office' or both then Antoine is bored. Chances are about even that if 'Winona is a wolf' or 'John moved to the office' or both then Mary went to the office. There is little chance that if 'John moved to the office and Winona is a wolf' then Jason is tired.,It is likely that either 'Mary went to the office' or 'Winona is a wolf' but not both.," + 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.05::factA. + 0.5::factB. + 0.05::factC. + %hop1 + 0.8::factX:-or(factB,factC). + 0.5::factY:-or(factA,factC). + 0.1::factZ:-and(factC,factA). + + %hop2 + conclusion:-xor(factY,factA). + + query(conclusion). + ",0.04875,0.8745749149829966,validation,highly unlikely,likely,It is highly unlikely that either 'Mary went to the office' or 'Winona is a wolf' but not both.,It is likely that either 'Mary went to the office' or 'Winona is a wolf' but not both.,0,Either 'Mary went to the office' or 'Winona is a wolf' but not both. +It is certain that Greg is a swan. Chances are about even that Brian is yellow. Chances are about even that Lily is a frog. There is almost no chance that if 'Greg is a swan' or 'Lily is a frog' or both then Jason is tired. It is impossible that if either 'Greg is a swan' or 'Lily is a frog' but not both then John left the apple. There is a better than even chance that if either 'Brian is yellow' or 'Greg is a swan' but not both then Bernhard is green.,Chances are about even that either 'Brian is yellow' or 'John left the apple' but not both.," + 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 + 1.0::factA. + 0.5::factB. + 0.5::factC. + %hop1 + 0.02::factX:-or(factA,factC). + 0.0::factY:-xor(factA,factC). + 0.6::factZ:-xor(factB,factA). + + %hop2 + conclusion:-xor(factB,factY). + + query(conclusion). + ",0.5,0.8987797559511902,validation,about even,highly unlikely,Chances are about even that either 'Brian is yellow' or 'John left the apple' but not both.,It is highly unlikely that either 'Brian is yellow' or 'John left the apple' but not both.,1,Either 'Brian is yellow' or 'John left the apple' but not both. +It is certain that Sandra got the milk. It is almost certain that Bernhard is a rhino. It is improbable that Lily is a lion. It is probably not the case that if 'Lily is a lion' or 'Bernhard is a rhino' or both then Julius is green. It is highly unlikely that if 'Sandra got the milk and Bernhard is a rhino' then Winona is a sheep. It is probably not the case that if either 'Lily is a lion' or 'Bernhard is a rhino' but not both then John went to the garden.,There is almost no chance that 'Lily is a lion and Julius is green'.," + 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 + 1.0::factA. + 0.95::factB. + 0.1::factC. + %hop1 + 0.25::factX:-or(factC,factB). + 0.05::factY:-and(factA,factB). + 0.25::factZ:-xor(factC,factB). + + %hop2 + conclusion:-and(factC,factX). + + query(conclusion). + ",0.025000000000000012,0.8047609521904381,validation,almost no chance,we believe,There is almost no chance that 'Lily is a lion and Julius is green'.,We believe that 'Lily is a lion and Julius is green'.,1,'Lily is a lion and Julius is green'. +There is little chance that John put down the milk. It is unlikely that Sandra grabbed the apple. Chances are slight that Julius is gray. There is a better than even chance that if 'Sandra grabbed the apple and John put down the milk' then Emily is a mouse. There is little chance that if 'John put down the milk' or 'Sandra grabbed the apple' or both then Greg is a swan. It is likely that if 'John put down the milk and Julius is gray' then Mary got the football.,It is impossible that 'Greg is a swan and Mary got the football'.," + 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.1::factA. + 0.2::factB. + 0.1::factC. + %hop1 + 0.6::factX:-and(factB,factA). + 0.1::factY:-or(factA,factB). + 0.7::factZ:-and(factA,factC). + + %hop2 + conclusion:-and(factY,factZ). + + query(conclusion). + ",0.0007000000000000008,0.8697739547909582,validation,impossible,certain,It is impossible that 'Greg is a swan and Mary got the football'.,It is certain that 'Greg is a swan and Mary got the football'.,1,'Greg is a swan and Mary got the football'. +It is highly likely that Julius is a rhino. It is almost certain that Gertrude is a mouse. It is highly unlikely that Bernhard is a swan. Chances are about even that if 'Julius is a rhino and Bernhard is a swan' then Lily is gray. There is a better than even chance that if 'Julius is a rhino' or 'Gertrude is a mouse' or both then Sandra got the football. There is a better than even chance that if 'Bernhard is a swan' or 'Gertrude is a mouse' or both then John went to the kitchen.,It is highly unlikely that either 'Gertrude is a mouse' or 'Sandra got the football' but not both.," + 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.9::factA. + 0.95::factB. + 0.05::factC. + %hop1 + 0.5::factX:-and(factA,factC). + 0.6::factY:-or(factA,factB). + 0.6::factZ:-or(factC,factB). + + %hop2 + conclusion:-xor(factB,factY). + + query(conclusion). + ",0.40700000000000003,0.8035607121424285,validation,about even,highly unlikely,Chances are about even that either 'Gertrude is a mouse' or 'Sandra got the football' but not both.,It is highly unlikely that either 'Gertrude is a mouse' or 'Sandra got the football' but not both.,0,Either 'Gertrude is a mouse' or 'Sandra got the football' but not both. +We believe that Greg is a swan. It is certain that Brian is a frog. We believe that John grabbed the apple. We doubt that if either 'Greg is a swan' or 'Brian is a frog' but not both then Daniel put down the milk. It is likely that if 'Greg is a swan and Brian is a frog' then Julius is yellow. There is a better than even chance that if 'John grabbed the apple and Brian is a frog' then Mary moved to the office.,It is highly unlikely that 'Greg is a swan' or 'Daniel put down the milk' or both.," + 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.75::factA. + 1.0::factB. + 0.75::factC. + %hop1 + 0.2::factX:-xor(factA,factB). + 0.7::factY:-and(factA,factB). + 0.6::factZ:-and(factC,factB). + + %hop2 + conclusion:-or(factA,factX). + + query(conclusion). + ",0.8,0.873374674934987,validation,very good chance,highly unlikely,There is a very good chance that 'Greg is a swan' or 'Daniel put down the milk' or both.,It is highly unlikely that 'Greg is a swan' or 'Daniel put down the milk' or both.,0,'Greg is a swan' or 'Daniel put down the milk' or both. +It is certain that Lily is a frog. We believe that Brian is gray. There is a better than even chance that John took the apple. It is almost certain that if either 'Brian is gray' or 'John took the apple' but not both then Julius is white. It is highly unlikely that if either 'Lily is a frog' or 'Brian is gray' but not both then Greg is a rhino. It is impossible that if either 'John took the apple' or 'Brian is gray' but not both then Sandra got the milk.,It is impossible that 'Brian is gray and Sandra got the milk'.," + 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 + 1.0::factA. + 0.75::factB. + 0.6::factC. + %hop1 + 0.95::factX:-xor(factB,factC). + 0.05::factY:-xor(factA,factB). + 0.0::factZ:-xor(factC,factB). + + %hop2 + conclusion:-and(factB,factZ). + + query(conclusion). + ",0.0,0.8255651130226045,validation,impossible,highly likely,It is impossible that 'Brian is gray and Sandra got the milk'.,It is highly likely that 'Brian is gray and Sandra got the milk'.,1,'Brian is gray and Sandra got the milk'. +We doubt that Jason is tired. It is highly likely that Brian is gray. It is highly likely that John grabbed the apple. It is highly unlikely that if either 'Jason is tired' or 'John grabbed the apple' but not both then Emily is a wolf. It is impossible that if 'Brian is gray and John grabbed the apple' then Julius is a lion. There is almost no chance that if 'Jason is tired' or 'John grabbed the apple' or both then Greg is a rhino.,It is unlikely that either 'Jason is tired' or 'Greg is a rhino' but not both.," + 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.9::factB. + 0.9::factC. + %hop1 + 0.05::factX:-xor(factA,factC). + 0.0::factY:-and(factB,factC). + 0.02::factZ:-or(factA,factC). + + %hop2 + conclusion:-xor(factA,factZ). + + query(conclusion). + ",0.2104,0.8503700740148029,validation,unlikely,probable,It is unlikely that either 'Jason is tired' or 'Greg is a rhino' but not both.,It is probable that either 'Jason is tired' or 'Greg is a rhino' but not both.,1,Either 'Jason is tired' or 'Greg is a rhino' but not both. +Chances are about even that Jason is tired. It is impossible that Mary got the football. It is probably the case that Bernhard is a rhino. It is impossible that if either 'Bernhard is a rhino' or 'Mary got the football' but not both then Julius is yellow. It is probable that if either 'Bernhard is a rhino' or 'Jason is tired' but not both then Lily is white. It is probably the case that if either 'Bernhard is a rhino' or 'Mary got the football' but not both then John went to the bedroom.,It is certain that 'Mary got the football' or 'Lily is white' or both.," + 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.0::factB. + 0.7::factC. + %hop1 + 0.0::factX:-xor(factC,factB). + 0.7::factY:-xor(factC,factA). + 0.7::factZ:-xor(factC,factB). + + %hop2 + conclusion:-or(factB,factY). + + query(conclusion). + ",0.3499999999999999,0.8935787157431486,validation,probably not,certain,It is probably not the case that 'Mary got the football' or 'Lily is white' or both.,It is certain that 'Mary got the football' or 'Lily is white' or both.,0,'Mary got the football' or 'Lily is white' or both. +There is almost no chance that Sandra took the milk. It is unlikely that Julius is yellow. It is likely that Jason is thirsty. It is probable that if 'Jason is thirsty' or 'Sandra took the milk' or both then Winona is a wolf. It is probably not the case that if either 'Julius is yellow' or 'Sandra took the milk' but not both then Brian is white. There is little chance that if either 'Jason is thirsty' or 'Sandra took the milk' but not both then Greg is a swan.,It is impossible that 'Brian is white' or 'Winona is a wolf' or both.," + 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.2::factB. + 0.7::factC. + %hop1 + 0.7::factX:-or(factC,factA). + 0.25::factY:-xor(factB,factA). + 0.1::factZ:-xor(factC,factA). + + %hop2 + conclusion:-or(factY,factX). + + query(conclusion). + ",0.5203899999999999,0.8871774354870974,validation,about even,impossible,Chances are about even that 'Brian is white' or 'Winona is a wolf' or both.,It is impossible that 'Brian is white' or 'Winona is a wolf' or both.,0,'Brian is white' or 'Winona is a wolf' or both. +It is probably not the case that Emily is a cat. There is a very good chance that Gertrude is a sheep. It is certain that Brian is yellow. There is almost no chance that if 'Brian is yellow' or 'Gertrude is a sheep' or both then Fred is in the office. There is almost no chance that if either 'Emily is a cat' or 'Gertrude is a sheep' but not both then John took the apple. It is unlikely that if 'Emily is a cat' or 'Gertrude is a sheep' or both then Bernhard is gray.,There is a very good chance that 'Brian is yellow and Gertrude is a sheep'.," + 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.25::factA. + 0.8::factB. + 1.0::factC. + %hop1 + 0.02::factX:-or(factC,factB). + 0.02::factY:-xor(factA,factB). + 0.2::factZ:-or(factA,factB). + + %hop2 + conclusion:-and(factC,factB). + + query(conclusion). + ",0.8,0.8983796759351871,validation,very good chance,highly unlikely,There is a very good chance that 'Brian is yellow and Gertrude is a sheep'.,It is highly unlikely that 'Brian is yellow and Gertrude is a sheep'.,1,'Brian is yellow and Gertrude is a sheep'. +It is probably the case that Antoine is thirsty. There is a better than even chance that John went to the office. It is highly unlikely that Brian is a rhino. Chances are slight that if 'Antoine is thirsty and Brian is a rhino' then Jeff moved to the garden. It is probably not the case that if 'Brian is a rhino and Antoine is thirsty' then Greg is yellow. Chances are slight that if 'Brian is a rhino and John went to the office' then Mary took the football.,Chances are slight that either 'Brian is a rhino' or 'Antoine is thirsty' but not both.," + 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.7::factA. + 0.6::factB. + 0.05::factC. + %hop1 + 0.1::factX:-and(factA,factC). + 0.25::factY:-and(factC,factA). + 0.1::factZ:-and(factC,factB). + + %hop2 + conclusion:-xor(factC,factA). + + query(conclusion). + ",0.6799999999999999,0.8815763152630526,validation,likely,chances are slight,It is likely that either 'Brian is a rhino' or 'Antoine is thirsty' but not both.,Chances are slight that either 'Brian is a rhino' or 'Antoine is thirsty' but not both.,0,Either 'Brian is a rhino' or 'Antoine is thirsty' but not both. +Chances are about even that Bill moved to the office. It is highly unlikely that Brian is green. It is almost certain that Bernhard is white. It is probably not the case that if 'Bill moved to the office and Bernhard is white' then Winona is a wolf. It is certain that if 'Bill moved to the office and Brian is green' then Gertrude is a mouse. It is highly unlikely that if either 'Bernhard is white' or 'Brian is green' but not both then Mary put down the apple.,It is certain that 'Mary put down the apple and Bill moved to the office'.," + 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.05::factB. + 0.95::factC. + %hop1 + 0.25::factX:-and(factA,factC). + 1.0::factY:-and(factA,factB). + 0.05::factZ:-xor(factC,factB). + + %hop2 + conclusion:-and(factZ,factA). + + query(conclusion). + ",0.022624999999999996,0.862372474494899,validation,almost no chance,certain,There is almost no chance that 'Mary put down the apple and Bill moved to the office'.,It is certain that 'Mary put down the apple and Bill moved to the office'.,0,'Mary put down the apple and Bill moved to the office'. +There is little chance that John moved to the garden. We believe that Greg is a swan. There is a better than even chance that Bernhard is green. It is impossible that if 'Bernhard is green and Greg is a swan' then Mary got the apple. It is highly likely that if either 'John moved to the garden' or 'Greg is a swan' but not both then Julius is gray. We doubt that if 'John moved to the garden and Greg is a swan' then Brian is a swan.,It is highly likely that 'Brian is a swan' or 'Mary got the apple' or both.," + 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.1::factA. + 0.75::factB. + 0.6::factC. + %hop1 + 0.0::factX:-and(factC,factB). + 0.9::factY:-xor(factA,factB). + 0.2::factZ:-and(factA,factB). + + %hop2 + conclusion:-or(factZ,factX). + + query(conclusion). + ",0.01500000000000001,0.8559711942388478,validation,almost no chance,highly likely,There is almost no chance that 'Brian is a swan' or 'Mary got the apple' or both.,It is highly likely that 'Brian is a swan' or 'Mary got the apple' or both.,0,'Brian is a swan' or 'Mary got the apple' or both. +It is probably the case that Julius is a lion. We believe that Sandra dropped the milk. Chances are slight that Daniel got the milk. There is little chance that if 'Sandra dropped the milk' or 'Julius is a lion' or both then Lily is a frog. There is almost no chance that if 'Julius is a lion' or 'Sandra dropped the milk' or both then Bernhard is yellow. There is a better than even chance that if either 'Daniel got the milk' or 'Julius is a lion' but not both then Mary went to the kitchen.,We doubt that either 'Bernhard is yellow' or 'Julius is a lion' but not both.," + 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.7::factA. + 0.75::factB. + 0.1::factC. + %hop1 + 0.1::factX:-or(factB,factA). + 0.02::factY:-or(factA,factB). + 0.6::factZ:-xor(factC,factA). + + %hop2 + conclusion:-xor(factY,factA). + + query(conclusion). + ",0.6905,0.8729745949189838,validation,probable,we doubt,It is probable that either 'Bernhard is yellow' or 'Julius is a lion' but not both.,We doubt that either 'Bernhard is yellow' or 'Julius is a lion' but not both.,0,Either 'Bernhard is yellow' or 'Julius is a lion' but not both. +It is unlikely that Jeff went to the garden. It is certain that Mary put down the apple. It is probably the case that Lily is gray. There is little chance that if either 'Jeff went to the garden' or 'Lily is gray' but not both then Bernhard is a frog. It is unlikely that if 'Jeff went to the garden' or 'Mary put down the apple' or both then Sandra left the milk. There is a better than even chance that if 'Mary put down the apple' or 'Jeff went to the garden' or both then Greg is white.,It is almost certain that 'Jeff went to the garden and Sandra left the milk'.," + 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. + 1.0::factB. + 0.7::factC. + %hop1 + 0.1::factX:-xor(factA,factC). + 0.2::factY:-or(factA,factB). + 0.6::factZ:-or(factB,factA). + + %hop2 + conclusion:-and(factA,factY). + + query(conclusion). + ",0.04000000000000001,0.8417683536707341,validation,highly unlikely,almost certain,It is highly unlikely that 'Jeff went to the garden and Sandra left the milk'.,It is almost certain that 'Jeff went to the garden and Sandra left the milk'.,0,'Jeff went to the garden and Sandra left the milk'. +It is certain that Brian is yellow. It is highly likely that Bernhard is a lion. Chances are slight that Greg is a rhino. It is highly likely that if either 'Brian is yellow' or 'Greg is a rhino' but not both then Lily is green. It is probably the case that if either 'Bernhard is a lion' or 'Brian is yellow' but not both then Jason is tired. There is almost no chance that if either 'Bernhard is a lion' or 'Greg is a rhino' but not both then John discarded the milk.,Chances are about even that 'Brian is yellow' or 'Jason is tired' or both.," + 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 + 1.0::factA. + 0.9::factB. + 0.1::factC. + %hop1 + 0.9::factX:-xor(factA,factC). + 0.7::factY:-xor(factB,factA). + 0.02::factZ:-xor(factB,factC). + + %hop2 + conclusion:-or(factA,factY). + + query(conclusion). + ",1.0,0.8003600720144028,validation,certain,about even,It is certain that 'Brian is yellow' or 'Jason is tired' or both.,Chances are about even that 'Brian is yellow' or 'Jason is tired' or both.,0,'Brian is yellow' or 'Jason is tired' or both. +It is improbable that John went to the office. It is highly likely that Julius is a frog. It is unlikely that Lily is white. It is almost certain that if 'John went to the office and Julius is a frog' then Jason is tired. We believe that if 'Julius is a frog and John went to the office' then Bernhard is yellow. Chances are about even that if 'Lily is white and John went to the office' then Daniel grabbed the apple.,There is little chance that 'John went to the office and Jason is tired'.," + 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.1::factA. + 0.9::factB. + 0.2::factC. + %hop1 + 0.95::factX:-and(factA,factB). + 0.75::factY:-and(factB,factA). + 0.5::factZ:-and(factC,factA). + + %hop2 + conclusion:-and(factA,factX). + + query(conclusion). + ",0.0855,0.8805761152230446,validation,little chance,certain,There is little chance that 'John went to the office and Jason is tired'.,It is certain that 'John went to the office and Jason is tired'.,1,'John went to the office and Jason is tired'. +We believe that Greg is a frog. It is highly likely that Brian is a swan. It is likely that Mary got the milk. There is a better than even chance that if either 'Brian is a swan' or 'Mary got the milk' but not both then Winona is a mouse. Chances are slight that if 'Greg is a frog' or 'Brian is a swan' or both then John went to the garden. It is probably not the case that if either 'Mary got the milk' or 'Brian is a swan' but not both then Sumit is tired.,It is unlikely that 'John went to the garden' or 'Mary got the milk' or both.," + 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.75::factA. + 0.9::factB. + 0.7::factC. + %hop1 + 0.6::factX:-xor(factB,factC). + 0.1::factY:-or(factA,factB). + 0.25::factZ:-xor(factC,factB). + + %hop2 + conclusion:-or(factY,factC). + + query(conclusion). + ",0.72925,0.8557711542308462,validation,we believe,unlikely,We believe that 'John went to the garden' or 'Mary got the milk' or both.,It is unlikely that 'John went to the garden' or 'Mary got the milk' or both.,0,'John went to the garden' or 'Mary got the milk' or both. +There is a better than even chance that John put down the milk. We doubt that Bernhard is yellow. It is likely that Julius is white. It is almost certain that if 'Bernhard is yellow' or 'John put down the milk' or both then Mary went to the kitchen. Chances are slight that if 'John put down the milk' or 'Julius is white' or both then Gertrude is a mouse. There is almost no chance that if 'Bernhard is yellow and Julius is white' then Greg is a swan.,Chances are about even that either 'Mary went to the kitchen' or 'Julius is white' but not both.," + 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.6::factA. + 0.2::factB. + 0.7::factC. + %hop1 + 0.95::factX:-or(factB,factA). + 0.1::factY:-or(factA,factC). + 0.02::factZ:-and(factB,factC). + + %hop2 + conclusion:-xor(factX,factC). + + query(conclusion). + ",0.4416000000000001,0.8091618323664733,validation,about even,highly unlikely,Chances are about even that either 'Mary went to the kitchen' or 'Julius is white' but not both.,It is highly unlikely that either 'Mary went to the kitchen' or 'Julius is white' but not both.,1,Either 'Mary went to the kitchen' or 'Julius is white' but not both. +Chances are about even that Brian is a frog. There is little chance that Greg is green. Chances are about even that Bernhard is yellow. It is highly unlikely that if 'Brian is a frog' or 'Bernhard is yellow' or both then Antoine is thirsty. We believe that if 'Brian is a frog and Greg is green' then Daniel took the apple. Chances are slight that if either 'Bernhard is yellow' or 'Brian is a frog' but not both then John went to the bedroom.,Chances are about even that either 'Brian is a frog' or 'John went to the bedroom' but not both.," + 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.1::factB. + 0.5::factC. + %hop1 + 0.05::factX:-or(factA,factC). + 0.75::factY:-and(factA,factB). + 0.1::factZ:-xor(factC,factA). + + %hop2 + conclusion:-xor(factA,factZ). + + query(conclusion). + ",0.5000000000000001,0.8011602320464093,validation,about even,impossible,Chances are about even that either 'Brian is a frog' or 'John went to the bedroom' but not both.,It is impossible that either 'Brian is a frog' or 'John went to the bedroom' but not both.,1,Either 'Brian is a frog' or 'John went to the bedroom' but not both. +It is unlikely that Lily is gray. There is little chance that Julius is a lion. There is almost no chance that Greg is yellow. It is probably not the case that if 'Julius is a lion and Greg is yellow' then Jason is tired. It is highly unlikely that if either 'Julius is a lion' or 'Greg is yellow' but not both then Mary left the milk. It is highly likely that if 'Julius is a lion and Lily is gray' then Jessica is a cat.,It is certain that 'Greg is yellow' or 'Julius is a lion' or both.," + 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.1::factB. + 0.02::factC. + %hop1 + 0.25::factX:-and(factB,factC). + 0.05::factY:-xor(factB,factC). + 0.9::factZ:-and(factB,factA). + + %hop2 + conclusion:-or(factC,factB). + + query(conclusion). + ",0.11800000000000002,0.8309661932386477,validation,little chance,certain,There is little chance that 'Greg is yellow' or 'Julius is a lion' or both.,It is certain that 'Greg is yellow' or 'Julius is a lion' or both.,0,'Greg is yellow' or 'Julius is a lion' or both. +There is almost no chance that Brian is yellow. It is impossible that Bill went to the bedroom. It is likely that John got the milk. It is highly likely that if 'John got the milk' or 'Brian is yellow' or both then Jessica is a cat. It is unlikely that if either 'Brian is yellow' or 'John got the milk' but not both then Bernhard is yellow. There is almost no chance that if either 'Bill went to the bedroom' or 'John got the milk' but not both then Greg is a rhino.,It is probably the case that 'Jessica is a cat and Bernhard is yellow'.," + 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.0::factB. + 0.7::factC. + %hop1 + 0.9::factX:-or(factC,factA). + 0.2::factY:-xor(factA,factC). + 0.02::factZ:-xor(factB,factC). + + %hop2 + conclusion:-and(factX,factY). + + query(conclusion). + ",0.12456000000000002,0.839367873574715,validation,chances are slight,probably,Chances are slight that 'Jessica is a cat and Bernhard is yellow'.,It is probably the case that 'Jessica is a cat and Bernhard is yellow'.,0,'Jessica is a cat and Bernhard is yellow'. +It is probably not the case that John dropped the apple. There is a very good chance that Greg is a swan. It is almost certain that Bill left the milk. It is certain that if 'John dropped the apple and Bill left the milk' then Julius is green. It is almost certain that if 'John dropped the apple and Greg is a swan' then Emily is a sheep. There is almost no chance that if either 'John dropped the apple' or 'Greg is a swan' but not both then Brian is yellow.,It is highly unlikely that either 'John dropped the apple' or 'Emily is a sheep' but not both.," + 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.25::factA. + 0.8::factB. + 0.95::factC. + %hop1 + 1.0::factX:-and(factA,factC). + 0.95::factY:-and(factA,factB). + 0.02::factZ:-xor(factA,factB). + + %hop2 + conclusion:-xor(factA,factY). + + query(conclusion). + ",0.06,0.868373674734947,validation,highly unlikely,very good chance,It is highly unlikely that either 'John dropped the apple' or 'Emily is a sheep' but not both.,There is a very good chance that either 'John dropped the apple' or 'Emily is a sheep' but not both.,1,Either 'John dropped the apple' or 'Emily is a sheep' but not both. +It is probably the case that John went to the kitchen. We doubt that Bill moved to the office. It is probably not the case that Greg is yellow. It is likely that if 'Bill moved to the office and Greg is yellow' then Jeff left the apple. It is impossible that if either 'John went to the kitchen' or 'Bill moved to the office' but not both then Julius is gray. There is almost no chance that if 'Greg is yellow' or 'John went to the kitchen' or both then Mary dropped the milk.,It is impossible that 'John went to the kitchen' or 'Mary dropped the milk' or both.," + 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.7::factA. + 0.2::factB. + 0.25::factC. + %hop1 + 0.7::factX:-and(factB,factC). + 0.0::factY:-xor(factA,factB). + 0.02::factZ:-or(factC,factA). + + %hop2 + conclusion:-or(factA,factZ). + + query(conclusion). + ",0.7015,0.8379675935187038,validation,probably,impossible,It is probably the case that 'John went to the kitchen' or 'Mary dropped the milk' or both.,It is impossible that 'John went to the kitchen' or 'Mary dropped the milk' or both.,0,'John went to the kitchen' or 'Mary dropped the milk' or both. +It is certain that Sandra dropped the milk. There is a very good chance that Lily is yellow. It is certain that Winona is a sheep. It is certain that if 'Lily is yellow' or 'Winona is a sheep' or both then Brian is a frog. Chances are slight that if 'Sandra dropped the milk' or 'Lily is yellow' or both then John took the apple. There is a better than even chance that if 'Winona is a sheep and Lily is yellow' then Mary went to the bedroom.,It is certain that 'Winona is a sheep' or 'Lily is yellow' or both.," + 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 + 1.0::factA. + 0.8::factB. + 1.0::factC. + %hop1 + 1.0::factX:-or(factB,factC). + 0.1::factY:-or(factA,factB). + 0.6::factZ:-and(factC,factB). + + %hop2 + conclusion:-or(factC,factB). + + query(conclusion). + ",1.0,0.8651730346069214,validation,certain,we doubt,It is certain that 'Winona is a sheep' or 'Lily is yellow' or both.,We doubt that 'Winona is a sheep' or 'Lily is yellow' or both.,1,'Winona is a sheep' or 'Lily is yellow' or both. +It is impossible that Julius is a rhino. There is little chance that Sandra dropped the milk. It is probably the case that John moved to the office. It is highly likely that if 'Julius is a rhino' or 'John moved to the office' or both then Sumit is thirsty. It is highly unlikely that if either 'Julius is a rhino' or 'John moved to the office' but not both then Jessica is a cat. There is little chance that if either 'Sandra dropped the milk' or 'John moved to the office' but not both then Lily is a lion.,There is a better than even chance that either 'Sumit is thirsty' or 'Julius is a rhino' but not both.," + 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.9::factX:-or(factA,factC). + 0.05::factY:-xor(factA,factC). + 0.1::factZ:-xor(factB,factC). + + %hop2 + conclusion:-xor(factX,factA). + + query(conclusion). + ",0.63,0.8295659131826365,validation,better than even,impossible,There is a better than even chance that either 'Sumit is thirsty' or 'Julius is a rhino' but not both.,It is impossible that either 'Sumit is thirsty' or 'Julius is a rhino' but not both.,1,Either 'Sumit is thirsty' or 'Julius is a rhino' but not both. +It is highly likely that Bernhard is a rhino. It is impossible that Brian is a lion. It is highly unlikely that Greg is a swan. It is impossible that if 'Brian is a lion' or 'Bernhard is a rhino' or both then Bill moved to the office. It is almost certain that if either 'Bernhard is a rhino' or 'Brian is a lion' but not both then John grabbed the apple. It is highly unlikely that if either 'Bernhard is a rhino' or 'Greg is a swan' but not both then Mary went to the bedroom.,It is highly unlikely that 'Brian is a lion' or 'Greg is a swan' or both.," + 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.9::factA. + 0.0::factB. + 0.05::factC. + %hop1 + 0.0::factX:-or(factB,factA). + 0.95::factY:-xor(factA,factB). + 0.05::factZ:-xor(factA,factC). + + %hop2 + conclusion:-or(factB,factC). + + query(conclusion). + ",0.05000000000000001,0.835367073414683,validation,highly unlikely,likely,It is highly unlikely that 'Brian is a lion' or 'Greg is a swan' or both.,It is likely that 'Brian is a lion' or 'Greg is a swan' or both.,1,'Brian is a lion' or 'Greg is a swan' or both. +It is highly likely that Mary went to the office. It is impossible that Fred dropped the milk. It is highly unlikely that Bernhard is gray. It is unlikely that if 'Fred dropped the milk' or 'Bernhard is gray' or both then Brian is a lion. It is likely that if 'Bernhard is gray and Mary went to the office' then Greg is a frog. There is almost no chance that if 'Bernhard is gray and Fred dropped the milk' then John took the apple.,There is almost no chance that 'Fred dropped the milk' or 'Greg is a frog' or both.," + 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.9::factA. + 0.0::factB. + 0.05::factC. + %hop1 + 0.2::factX:-or(factB,factC). + 0.7::factY:-and(factC,factA). + 0.02::factZ:-and(factC,factB). + + %hop2 + conclusion:-or(factB,factY). + + query(conclusion). + ",0.0315,0.863372674534907,validation,almost no chance,probable,There is almost no chance that 'Fred dropped the milk' or 'Greg is a frog' or both.,It is probable that 'Fred dropped the milk' or 'Greg is a frog' or both.,1,'Fred dropped the milk' or 'Greg is a frog' or both. +We believe that Jessica is a sheep. It is likely that John dropped the apple. There is a very good chance that Greg is yellow. There is almost no chance that if either 'Greg is yellow' or 'John dropped the apple' but not both then Brian is white. It is probable that if either 'Greg is yellow' or 'John dropped the apple' but not both then Winona is a mouse. We believe that if either 'John dropped the apple' or 'Greg is yellow' but not both then Mary went to the office.,It is probably not the case that either 'Jessica is a sheep' or 'Greg is yellow' but not both.," + 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.75::factA. + 0.7::factB. + 0.8::factC. + %hop1 + 0.02::factX:-xor(factC,factB). + 0.7::factY:-xor(factC,factB). + 0.75::factZ:-xor(factB,factC). + + %hop2 + conclusion:-xor(factA,factC). + + query(conclusion). + ",0.35000000000000003,0.8819763952790558,validation,probably not,almost certain,It is probably not the case that either 'Jessica is a sheep' or 'Greg is yellow' but not both.,It is almost certain that either 'Jessica is a sheep' or 'Greg is yellow' but not both.,1,Either 'Jessica is a sheep' or 'Greg is yellow' but not both. +It is impossible that Daniel got the milk. It is probable that Mary moved to the office. It is impossible that Brian is a lion. It is probable that if 'Daniel got the milk and Mary moved to the office' then Lily is a rhino. There is a very good chance that if 'Brian is a lion' or 'Daniel got the milk' or both then Bernhard is yellow. It is probably not the case that if 'Mary moved to the office' or 'Daniel got the milk' or both then John dropped the apple.,It is impossible that 'Bernhard is yellow and Daniel got the milk'.," + 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.7::factB. + 0.0::factC. + %hop1 + 0.7::factX:-and(factA,factB). + 0.8::factY:-or(factC,factA). + 0.25::factZ:-or(factB,factA). + + %hop2 + conclusion:-and(factY,factA). + + query(conclusion). + ",0.0,0.8113622724544909,validation,impossible,probable,It is impossible that 'Bernhard is yellow and Daniel got the milk'.,It is probable that 'Bernhard is yellow and Daniel got the milk'.,1,'Bernhard is yellow and Daniel got the milk'. +It is improbable that Sumit is thirsty. It is almost certain that Greg is white. It is highly unlikely that Brian is yellow. It is probably not the case that if 'Brian is yellow' or 'Sumit is thirsty' or both then Julius is a swan. It is probably the case that if 'Brian is yellow and Greg is white' then Yann is hungry. It is likely that if 'Greg is white' or 'Sumit is thirsty' or both then Mary put down the apple.,It is likely that either 'Julius is a swan' or 'Mary put down the apple' but not both.," + 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.1::factA. + 0.95::factB. + 0.05::factC. + %hop1 + 0.25::factX:-or(factC,factA). + 0.7::factY:-and(factC,factB). + 0.7::factZ:-or(factB,factA). + + %hop2 + conclusion:-xor(factX,factZ). + + query(conclusion). + ",0.6547875,0.8437687537507501,validation,likely,highly unlikely,It is likely that either 'Julius is a swan' or 'Mary put down the apple' but not both.,It is highly unlikely that either 'Julius is a swan' or 'Mary put down the apple' but not both.,1,Either 'Julius is a swan' or 'Mary put down the apple' but not both. +Chances are about even that John moved to the office. There is little chance that Gertrude is a mouse. It is highly unlikely that Mary is in the school. It is certain that if 'Mary is in the school and Gertrude is a mouse' then Julius is yellow. It is highly likely that if either 'John moved to the office' or 'Mary is in the school' but not both then Greg is a lion. It is improbable that if 'John moved to the office' or 'Gertrude is a mouse' or both then Brian is a swan.,There is little chance that either 'Mary is in the school' or 'Gertrude is a mouse' but not both.," + 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.1::factB. + 0.05::factC. + %hop1 + 1.0::factX:-and(factC,factB). + 0.9::factY:-xor(factA,factC). + 0.1::factZ:-or(factA,factB). + + %hop2 + conclusion:-xor(factC,factB). + + query(conclusion). + ",0.14000000000000004,0.8339667933586717,validation,little chance,highly likely,There is little chance that either 'Mary is in the school' or 'Gertrude is a mouse' but not both.,It is highly likely that either 'Mary is in the school' or 'Gertrude is a mouse' but not both.,1,Either 'Mary is in the school' or 'Gertrude is a mouse' but not both. +It is highly unlikely that Sandra left the milk. We believe that Greg is a frog. It is probably the case that Daniel got the milk. We believe that if either 'Daniel got the milk' or 'Sandra left the milk' but not both then Julius is a rhino. It is probably not the case that if either 'Greg is a frog' or 'Daniel got the milk' but not both then Mary dropped the apple. It is impossible that if 'Daniel got the milk and Greg is a frog' then Bernhard is green.,Chances are about even that 'Sandra left the milk and Daniel got the milk'.," + 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.05::factA. + 0.75::factB. + 0.7::factC. + %hop1 + 0.75::factX:-xor(factC,factA). + 0.25::factY:-xor(factB,factC). + 0.0::factZ:-and(factC,factB). + + %hop2 + conclusion:-and(factA,factC). + + query(conclusion). + ",0.035,0.8497699539907981,validation,highly unlikely,about even,It is highly unlikely that 'Sandra left the milk and Daniel got the milk'.,Chances are about even that 'Sandra left the milk and Daniel got the milk'.,0,'Sandra left the milk and Daniel got the milk'. +It is improbable that Mary went to the office. It is unlikely that Bernhard is a rhino. It is certain that John took the football. It is probably the case that if 'Bernhard is a rhino and Mary went to the office' then Jessica is a cat. It is highly unlikely that if 'Mary went to the office and Bernhard is a rhino' then Julius is a swan. There is a very good chance that if 'Bernhard is a rhino and John took the football' then Brian is green.,It is unlikely that either 'Brian is green' or 'Jessica is a cat' but not both.," + 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.1::factA. + 0.2::factB. + 1.0::factC. + %hop1 + 0.7::factX:-and(factB,factA). + 0.05::factY:-and(factA,factB). + 0.8::factZ:-and(factB,factC). + + %hop2 + conclusion:-xor(factZ,factX). + + query(conclusion). + ",0.1516,0.8675735147029406,validation,unlikely,almost certain,It is unlikely that either 'Brian is green' or 'Jessica is a cat' but not both.,It is almost certain that either 'Brian is green' or 'Jessica is a cat' but not both.,1,Either 'Brian is green' or 'Jessica is a cat' but not both. +There is a very good chance that Lily is white. Chances are slight that Sandra took the apple. There is a very good chance that John dropped the milk. We believe that if either 'John dropped the milk' or 'Lily is white' but not both then Bernhard is green. It is probably the case that if 'John dropped the milk' or 'Lily is white' or both then Julius is a rhino. There is almost no chance that if 'John dropped the milk and Sandra took the apple' then Brian is gray.,Chances are slight that 'Lily is white and John dropped the milk'.," + 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.8::factA. + 0.1::factB. + 0.8::factC. + %hop1 + 0.75::factX:-xor(factC,factA). + 0.7::factY:-or(factC,factA). + 0.02::factZ:-and(factC,factB). + + %hop2 + conclusion:-and(factA,factC). + + query(conclusion). + ",0.64,0.8401680336067213,validation,better than even,chances are slight,There is a better than even chance that 'Lily is white and John dropped the milk'.,Chances are slight that 'Lily is white and John dropped the milk'.,0,'Lily is white and John dropped the milk'. +It is probably the case that Brian is a rhino. We believe that Emily is a mouse. It is unlikely that Bernhard is a frog. It is improbable that if 'Bernhard is a frog' or 'Brian is a rhino' or both then Mary left the football. It is likely that if 'Brian is a rhino and Bernhard is a frog' then Greg is white. There is a better than even chance that if 'Emily is a mouse and Brian is a rhino' then Lily is yellow.,It is highly likely that either 'Greg is white' or 'Mary left the football' but not both.," + 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.7::factA. + 0.75::factB. + 0.2::factC. + %hop1 + 0.1::factX:-or(factC,factA). + 0.7::factY:-and(factA,factC). + 0.6::factZ:-and(factB,factA). + + %hop2 + conclusion:-xor(factY,factX). + + query(conclusion). + ",0.1544,0.8569713942788558,validation,unlikely,highly likely,It is unlikely that either 'Greg is white' or 'Mary left the football' but not both.,It is highly likely that either 'Greg is white' or 'Mary left the football' but not both.,0,Either 'Greg is white' or 'Mary left the football' but not both. +There is almost no chance that Greg is a frog. There is almost no chance that Julius is a swan. It is improbable that John dropped the apple. It is certain that if 'Julius is a swan and Greg is a frog' then Emily is a wolf. It is almost certain that if 'John dropped the apple and Julius is a swan' then Brian is a rhino. It is likely that if 'Greg is a frog' or 'Julius is a swan' or both then Jessica is a cat.,It is certain that 'John dropped the apple' or 'Brian is a rhino' or both.," + 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.02::factB. + 0.1::factC. + %hop1 + 1.0::factX:-and(factB,factA). + 0.95::factY:-and(factC,factB). + 0.7::factZ:-or(factA,factB). + + %hop2 + conclusion:-or(factC,factY). + + query(conclusion). + ",0.10000000000000002,0.8163632726545309,validation,chances are slight,certain,Chances are slight that 'John dropped the apple' or 'Brian is a rhino' or both.,It is certain that 'John dropped the apple' or 'Brian is a rhino' or both.,0,'John dropped the apple' or 'Brian is a rhino' or both. +There is almost no chance that Brian is a lion. There is almost no chance that John got the apple. We doubt that Fred is in the cinema. It is impossible that if 'Brian is a lion' or 'Fred is in the cinema' or both then Bernhard is a frog. There is almost no chance that if either 'Fred is in the cinema' or 'John got the apple' but not both then Emily is a mouse. It is highly likely that if 'John got the apple and Brian is a lion' then Julius is white.,It is likely that either 'Emily is a mouse' or 'Bernhard is a frog' but not both.," + 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.02::factB. + 0.2::factC. + %hop1 + 0.0::factX:-or(factA,factC). + 0.02::factY:-xor(factC,factB). + 0.9::factZ:-and(factB,factA). + + %hop2 + conclusion:-xor(factY,factX). + + query(conclusion). + ",0.0042400000000000024,0.8709741948389678,validation,impossible,likely,It is impossible that either 'Emily is a mouse' or 'Bernhard is a frog' but not both.,It is likely that either 'Emily is a mouse' or 'Bernhard is a frog' but not both.,0,Either 'Emily is a mouse' or 'Bernhard is a frog' but not both. +It is highly unlikely that Jessica is a sheep. There is a very good chance that Mary dropped the milk. It is likely that John put down the apple. There is little chance that if either 'Jessica is a sheep' or 'Mary dropped the milk' but not both then Sandra is in the kitchen. There is a better than even chance that if 'Mary dropped the milk and John put down the apple' then Julius is a swan. There is almost no chance that if 'John put down the apple' or 'Mary dropped the milk' or both then Bernhard is a rhino.,It is certain that 'Julius is a swan' or 'Sandra is in the kitchen' or both.," + 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.05::factA. + 0.8::factB. + 0.7::factC. + %hop1 + 0.1::factX:-xor(factA,factB). + 0.6::factY:-and(factB,factC). + 0.02::factZ:-or(factC,factB). + + %hop2 + conclusion:-or(factY,factX). + + query(conclusion). + ",0.38108,0.8319663932786557,validation,about even,certain,Chances are about even that 'Julius is a swan' or 'Sandra is in the kitchen' or both.,It is certain that 'Julius is a swan' or 'Sandra is in the kitchen' or both.,0,'Julius is a swan' or 'Sandra is in the kitchen' or both. +We believe that John got the football. It is highly unlikely that Greg is a swan. It is certain that Lily is yellow. It is likely that if either 'John got the football' or 'Greg is a swan' but not both then Jason is thirsty. There is almost no chance that if 'Greg is a swan and Lily is yellow' then Brian is a lion. We doubt that if 'John got the football' or 'Greg is a swan' or both then Gertrude is a sheep.,It is probably not the case that either 'John got the football' or 'Lily is yellow' but not both.," + 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.75::factA. + 0.05::factB. + 1.0::factC. + %hop1 + 0.7::factX:-xor(factA,factB). + 0.02::factY:-and(factB,factC). + 0.2::factZ:-or(factA,factB). + + %hop2 + conclusion:-xor(factA,factC). + + query(conclusion). + ",0.25,0.8755751150230046,validation,probably not,likely,It is probably not the case that either 'John got the football' or 'Lily is yellow' but not both.,It is likely that either 'John got the football' or 'Lily is yellow' but not both.,1,Either 'John got the football' or 'Lily is yellow' but not both. +It is almost certain that Gertrude is a sheep. It is improbable that Brian is green. It is highly unlikely that Daniel got the football. There is almost no chance that if either 'Daniel got the football' or 'Brian is green' but not both then Julius is white. We doubt that if either 'Brian is green' or 'Gertrude is a sheep' but not both then Sandra left the milk. There is little chance that if 'Gertrude is a sheep' or 'Brian is green' or both then Mary went to the bedroom.,It is almost certain that 'Gertrude is a sheep' or 'Julius is white' or both.," + 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.95::factA. + 0.1::factB. + 0.05::factC. + %hop1 + 0.02::factX:-xor(factC,factB). + 0.2::factY:-xor(factB,factA). + 0.1::factZ:-or(factA,factB). + + %hop2 + conclusion:-or(factA,factX). + + query(conclusion). + ",0.95014,0.8779755951190238,validation,almost certain,highly unlikely,It is almost certain that 'Gertrude is a sheep' or 'Julius is white' or both.,It is highly unlikely that 'Gertrude is a sheep' or 'Julius is white' or both.,1,'Gertrude is a sheep' or 'Julius is white' or both. +There is almost no chance that Mary dropped the milk. It is certain that Yann is tired. Chances are slight that Bernhard is yellow. We doubt that if either 'Bernhard is yellow' or 'Mary dropped the milk' but not both then John went to the garden. There is little chance that if 'Yann is tired and Bernhard is yellow' then Brian is gray. It is probably not the case that if either 'Bernhard is yellow' or 'Yann is tired' but not both then Emily is a wolf.,There is a better than even chance that 'John went to the garden and Brian is gray'.," + 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. + 1.0::factB. + 0.1::factC. + %hop1 + 0.2::factX:-xor(factC,factA). + 0.1::factY:-and(factB,factC). + 0.25::factZ:-xor(factC,factB). + + %hop2 + conclusion:-and(factX,factY). + + query(conclusion). + ",0.0019600000000000004,0.8251650330066013,validation,impossible,better than even,It is impossible that 'John went to the garden and Brian is gray'.,There is a better than even chance that 'John went to the garden and Brian is gray'.,0,'John went to the garden and Brian is gray'. +It is probably the case that Lily is yellow. It is improbable that Bernhard is green. We doubt that Mary dropped the milk. Chances are about even that if 'Bernhard is green' or 'Mary dropped the milk' or both then Brian is a swan. It is unlikely that if 'Bernhard is green and Mary dropped the milk' then John moved to the garden. There is a better than even chance that if 'Mary dropped the milk and Bernhard is green' then Julius is white.,It is almost certain that 'Julius is white' or 'John moved to the garden' or both.," + 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.7::factA. + 0.1::factB. + 0.2::factC. + %hop1 + 0.5::factX:-or(factB,factC). + 0.2::factY:-and(factB,factC). + 0.6::factZ:-and(factC,factB). + + %hop2 + conclusion:-or(factZ,factY). + + query(conclusion). + ",0.013600000000000004,0.8541708341668334,validation,almost no chance,almost certain,There is almost no chance that 'Julius is white' or 'John moved to the garden' or both.,It is almost certain that 'Julius is white' or 'John moved to the garden' or both.,0,'Julius is white' or 'John moved to the garden' or both. +There is a better than even chance that Mary moved to the office. We doubt that Bernhard is a swan. It is highly likely that Lily is a frog. There is a better than even chance that if either 'Lily is a frog' or 'Bernhard is a swan' but not both then Julius is a swan. Chances are about even that if either 'Mary moved to the office' or 'Bernhard is a swan' but not both then John went to the garden. It is improbable that if 'Mary moved to the office and Bernhard is a swan' then Gertrude is a mouse.,There is a better than even chance that 'Bernhard is a swan' or 'Julius is a swan' or both.," + 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.6::factA. + 0.2::factB. + 0.9::factC. + %hop1 + 0.6::factX:-xor(factC,factB). + 0.5::factY:-xor(factA,factB). + 0.1::factZ:-and(factA,factB). + + %hop2 + conclusion:-or(factB,factX). + + query(conclusion). + ",0.632,0.8279655931186237,validation,better than even,highly unlikely,There is a better than even chance that 'Bernhard is a swan' or 'Julius is a swan' or both.,It is highly unlikely that 'Bernhard is a swan' or 'Julius is a swan' or both.,1,'Bernhard is a swan' or 'Julius is a swan' or both. +It is likely that Brian is white. It is almost certain that Greg is yellow. We doubt that Emily is a sheep. There is little chance that if 'Emily is a sheep and Brian is white' then Bernhard is a swan. It is highly unlikely that if 'Brian is white' or 'Greg is yellow' or both then John went to the garden. It is probable that if 'Emily is a sheep' or 'Brian is white' or both then Mary left the milk.,It is certain that 'Mary left the milk and Bernhard is a swan'.," + 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.7::factA. + 0.95::factB. + 0.2::factC. + %hop1 + 0.1::factX:-and(factC,factA). + 0.05::factY:-or(factA,factB). + 0.7::factZ:-or(factC,factA). + + %hop2 + conclusion:-and(factZ,factX). + + query(conclusion). + ",0.009800000000000003,0.8939787957591518,validation,impossible,certain,It is impossible that 'Mary left the milk and Bernhard is a swan'.,It is certain that 'Mary left the milk and Bernhard is a swan'.,0,'Mary left the milk and Bernhard is a swan'. +We believe that John picked up the milk. We believe that Greg is a lion. There is little chance that Fred put down the apple. It is probably not the case that if 'Fred put down the apple and John picked up the milk' then Antoine is thirsty. There is almost no chance that if either 'John picked up the milk' or 'Fred put down the apple' but not both then Mary went to the garden. There is a very good chance that if 'Fred put down the apple' or 'Greg is a lion' or both then Brian is a rhino.,There is a better than even chance that 'Greg is a lion and John picked up the milk'.," + 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.75::factA. + 0.75::factB. + 0.1::factC. + %hop1 + 0.25::factX:-and(factC,factA). + 0.02::factY:-xor(factA,factC). + 0.8::factZ:-or(factC,factB). + + %hop2 + conclusion:-and(factB,factA). + + query(conclusion). + ",0.5625,0.8105621124224845,validation,better than even,little chance,There is a better than even chance that 'Greg is a lion and John picked up the milk'.,There is little chance that 'Greg is a lion and John picked up the milk'.,1,'Greg is a lion and John picked up the milk'. +It is unlikely that Daniel left the milk. It is almost certain that Gertrude is a mouse. It is improbable that John moved to the office. It is probable that if 'Gertrude is a mouse and Daniel left the milk' then Bernhard is green. There is little chance that if either 'Daniel left the milk' or 'John moved to the office' but not both then Brian is a swan. It is probably not the case that if either 'Daniel left the milk' or 'Gertrude is a mouse' but not both then Julius is a frog.,It is probably not the case that either 'Gertrude is a mouse' or 'Daniel left the milk' but not both.," + 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.95::factB. + 0.1::factC. + %hop1 + 0.7::factX:-and(factB,factA). + 0.1::factY:-xor(factA,factC). + 0.25::factZ:-xor(factA,factB). + + %hop2 + conclusion:-xor(factB,factA). + + query(conclusion). + ",0.77,0.8621724344868974,validation,we believe,probably not,We believe that either 'Gertrude is a mouse' or 'Daniel left the milk' but not both.,It is probably not the case that either 'Gertrude is a mouse' or 'Daniel left the milk' but not both.,0,Either 'Gertrude is a mouse' or 'Daniel left the milk' but not both. +It is likely that Gertrude is a sheep. It is probable that Greg is a lion. It is highly likely that John got the apple. It is highly unlikely that if 'Greg is a lion and Gertrude is a sheep' then Julius is green. There is almost no chance that if either 'John got the apple' or 'Greg is a lion' but not both then Yann is hungry. It is probably the case that if 'Greg is a lion and John got the apple' then Winona is a wolf.,It is impossible that 'Gertrude is a sheep and Yann is hungry'.," + 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.7::factA. + 0.7::factB. + 0.9::factC. + %hop1 + 0.05::factX:-and(factB,factA). + 0.02::factY:-xor(factC,factB). + 0.7::factZ:-and(factB,factC). + + %hop2 + conclusion:-and(factA,factY). + + query(conclusion). + ",0.004760000000000001,0.8099619923984797,validation,impossible,we believe,It is impossible that 'Gertrude is a sheep and Yann is hungry'.,We believe that 'Gertrude is a sheep and Yann is hungry'.,1,'Gertrude is a sheep and Yann is hungry'. +We believe that Julius is a swan. There is almost no chance that Brian is gray. There is a better than even chance that Bernhard is green. There is little chance that if 'Brian is gray' or 'Bernhard is green' or both then Bill went to the kitchen. There is almost no chance that if 'Brian is gray and Julius is a swan' then John left the milk. It is highly likely that if either 'Brian is gray' or 'Julius is a swan' but not both then Lily is a rhino.,It is unlikely that 'Lily is a rhino' or 'Julius is a swan' or both.," + 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.75::factA. + 0.02::factB. + 0.6::factC. + %hop1 + 0.1::factX:-or(factB,factC). + 0.02::factY:-and(factB,factA). + 0.9::factZ:-xor(factB,factA). + + %hop2 + conclusion:-or(factZ,factA). + + query(conclusion). + ",0.7545,0.8535707141428286,validation,we believe,unlikely,We believe that 'Lily is a rhino' or 'Julius is a swan' or both.,It is unlikely that 'Lily is a rhino' or 'Julius is a swan' or both.,0,'Lily is a rhino' or 'Julius is a swan' or both. +There is little chance that Lily is a rhino. We doubt that Sumit is thirsty. Chances are about even that Brian is green. It is certain that if 'Brian is green and Sumit is thirsty' then Julius is gray. It is almost certain that if either 'Brian is green' or 'Sumit is thirsty' but not both then Sandra got the football. There is almost no chance that if 'Sumit is thirsty and Lily is a rhino' then Yann is tired.,It is highly likely that 'Brian is green and Sumit is thirsty'.," + 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.1::factA. + 0.2::factB. + 0.5::factC. + %hop1 + 1.0::factX:-and(factC,factB). + 0.95::factY:-xor(factC,factB). + 0.02::factZ:-and(factB,factA). + + %hop2 + conclusion:-and(factC,factB). + + query(conclusion). + ",0.10000000000000002,0.8415683136627325,validation,chances are slight,highly likely,Chances are slight that 'Brian is green and Sumit is thirsty'.,It is highly likely that 'Brian is green and Sumit is thirsty'.,0,'Brian is green and Sumit is thirsty'. +It is probably not the case that Jeff left the apple. Chances are about even that Lily is a frog. It is unlikely that John moved to the office. It is probably not the case that if 'John moved to the office and Jeff left the apple' then Bernhard is green. It is certain that if 'John moved to the office' or 'Jeff left the apple' or both then Sumit is bored. Chances are slight that if 'Jeff left the apple and John moved to the office' then Mary got the football.,There is little chance that 'Lily is a frog' or 'John moved to the office' or both.," + 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.25::factA. + 0.5::factB. + 0.2::factC. + %hop1 + 0.25::factX:-and(factC,factA). + 1.0::factY:-or(factC,factA). + 0.1::factZ:-and(factA,factC). + + %hop2 + conclusion:-or(factB,factC). + + query(conclusion). + ",0.6000000000000001,0.886377275455091,validation,better than even,little chance,There is a better than even chance that 'Lily is a frog' or 'John moved to the office' or both.,There is little chance that 'Lily is a frog' or 'John moved to the office' or both.,0,'Lily is a frog' or 'John moved to the office' or both. +It is probably not the case that Jeff went to the garden. It is probably not the case that Lily is gray. It is unlikely that Gertrude is a mouse. It is improbable that if 'Gertrude is a mouse' or 'Lily is gray' or both then Bernhard is a swan. There is little chance that if 'Jeff went to the garden and Lily is gray' then John moved to the office. It is likely that if either 'Gertrude is a mouse' or 'Lily is gray' but not both then Julius is a lion.,It is likely that either 'Bernhard is a swan' or 'Gertrude is a mouse' but not both.," + 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.25::factA. + 0.25::factB. + 0.2::factC. + %hop1 + 0.1::factX:-or(factC,factB). + 0.1::factY:-and(factA,factB). + 0.7::factZ:-xor(factC,factB). + + %hop2 + conclusion:-xor(factX,factC). + + query(conclusion). + ",0.2,0.8167633526705341,validation,unlikely,likely,It is unlikely that either 'Bernhard is a swan' or 'Gertrude is a mouse' but not both.,It is likely that either 'Bernhard is a swan' or 'Gertrude is a mouse' but not both.,0,Either 'Bernhard is a swan' or 'Gertrude is a mouse' but not both. +There is little chance that Greg is a swan. It is probably not the case that Brian is white. It is highly likely that Bernhard is a swan. There is almost no chance that if either 'Brian is white' or 'Bernhard is a swan' but not both then Jason is thirsty. It is certain that if 'Bernhard is a swan' or 'Greg is a swan' or both then John went to the bedroom. There is a very good chance that if either 'Bernhard is a swan' or 'Greg is a swan' but not both then Mary got the football.,We believe that 'Greg is a swan' or 'Mary got the football' or both.," + 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.1::factA. + 0.25::factB. + 0.9::factC. + %hop1 + 0.02::factX:-xor(factB,factC). + 1.0::factY:-or(factC,factA). + 0.8::factZ:-xor(factC,factA). + + %hop2 + conclusion:-or(factA,factZ). + + query(conclusion). + ",0.748,0.8131626325265053,validation,we believe,improbable,We believe that 'Greg is a swan' or 'Mary got the football' or both.,It is improbable that 'Greg is a swan' or 'Mary got the football' or both.,1,'Greg is a swan' or 'Mary got the football' or both. +There is a better than even chance that Julius is a swan. It is probable that Jessica is a mouse. Chances are slight that John got the apple. Chances are about even that if either 'Jessica is a mouse' or 'John got the apple' but not both then Winona is a wolf. There is a better than even chance that if either 'Jessica is a mouse' or 'John got the apple' but not both then Greg is a frog. It is impossible that if 'Julius is a swan' or 'Jessica is a mouse' or both then Mary moved to the garden.,There is almost no chance that either 'Jessica is a mouse' or 'Winona is a wolf' but not both.," + 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.6::factA. + 0.7::factB. + 0.1::factC. + %hop1 + 0.5::factX:-xor(factB,factC). + 0.6::factY:-xor(factB,factC). + 0.0::factZ:-or(factA,factB). + + %hop2 + conclusion:-xor(factB,factX). + + query(conclusion). + ",0.39999999999999997,0.8239647929585917,validation,about even,almost no chance,Chances are about even that either 'Jessica is a mouse' or 'Winona is a wolf' but not both.,There is almost no chance that either 'Jessica is a mouse' or 'Winona is a wolf' but not both.,0,Either 'Jessica is a mouse' or 'Winona is a wolf' but not both. +Chances are about even that Greg is white. It is improbable that Jessica is a mouse. There is a very good chance that Julius is yellow. It is certain that if either 'Jessica is a mouse' or 'Greg is white' but not both then Bernhard is green. It is unlikely that if 'Jessica is a mouse and Julius is yellow' then Daniel grabbed the milk. There is a better than even chance that if 'Greg is white' or 'Jessica is a mouse' or both then Mary dropped the apple.,There is little chance that 'Julius is yellow' or 'Jessica is a mouse' or both.," + 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.1::factB. + 0.8::factC. + %hop1 + 1.0::factX:-xor(factB,factA). + 0.2::factY:-and(factB,factC). + 0.6::factZ:-or(factA,factB). + + %hop2 + conclusion:-or(factC,factB). + + query(conclusion). + ",0.8200000000000001,0.8135627125425086,validation,very good chance,little chance,There is a very good chance that 'Julius is yellow' or 'Jessica is a mouse' or both.,There is little chance that 'Julius is yellow' or 'Jessica is a mouse' or both.,0,'Julius is yellow' or 'Jessica is a mouse' or both. +It is highly unlikely that Sandra grabbed the milk. It is probably not the case that Mary picked up the apple. We doubt that John moved to the office. Chances are about even that if 'John moved to the office and Sandra grabbed the milk' then Jessica is a cat. There is almost no chance that if 'Mary picked up the apple and John moved to the office' then Greg is a rhino. It is almost certain that if either 'John moved to the office' or 'Sandra grabbed the milk' but not both then Julius is white.,It is impossible that 'John moved to the office and Jessica is a cat'.," + 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.05::factA. + 0.25::factB. + 0.2::factC. + %hop1 + 0.5::factX:-and(factC,factA). + 0.02::factY:-and(factB,factC). + 0.95::factZ:-xor(factC,factA). + + %hop2 + conclusion:-and(factC,factX). + + query(conclusion). + ",0.005000000000000002,0.8191638327665534,validation,impossible,probable,It is impossible that 'John moved to the office and Jessica is a cat'.,It is probable that 'John moved to the office and Jessica is a cat'.,1,'John moved to the office and Jessica is a cat'. +It is certain that Julius is green. There is a better than even chance that John put down the milk. We doubt that Bernhard is yellow. It is likely that if either 'John put down the milk' or 'Julius is green' but not both then Jeff dropped the apple. It is highly unlikely that if 'Bernhard is yellow' or 'Julius is green' or both then Emily is a wolf. We believe that if 'John put down the milk' or 'Bernhard is yellow' or both then Mary left the football.,There is a better than even chance that 'Emily is a wolf' or 'John put down the milk' or both.," + 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 + 1.0::factA. + 0.6::factB. + 0.2::factC. + %hop1 + 0.7::factX:-xor(factB,factA). + 0.05::factY:-or(factC,factA). + 0.75::factZ:-or(factB,factC). + + %hop2 + conclusion:-or(factY,factB). + + query(conclusion). + ",0.6199999999999999,0.8601720344068814,validation,better than even,highly unlikely,There is a better than even chance that 'Emily is a wolf' or 'John put down the milk' or both.,It is highly unlikely that 'Emily is a wolf' or 'John put down the milk' or both.,1,'Emily is a wolf' or 'John put down the milk' or both. +It is impossible that Brian is white. Chances are slight that Antoine is hungry. Chances are slight that Greg is a lion. It is probable that if 'Antoine is hungry and Greg is a lion' then Julius is a swan. It is impossible that if 'Greg is a lion' or 'Antoine is hungry' or both then Lily is a frog. It is probably the case that if 'Greg is a lion and Brian is white' then John went to the bedroom.,There is a very good chance that either 'Brian is white' or 'Lily is a frog' but not both.," + 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.1::factC. + %hop1 + 0.7::factX:-and(factB,factC). + 0.0::factY:-or(factC,factB). + 0.7::factZ:-and(factC,factA). + + %hop2 + conclusion:-xor(factA,factY). + + query(conclusion). + ",0.0,0.8677735547109422,validation,impossible,very good chance,It is impossible that either 'Brian is white' or 'Lily is a frog' but not both.,There is a very good chance that either 'Brian is white' or 'Lily is a frog' but not both.,0,Either 'Brian is white' or 'Lily is a frog' but not both. +There is almost no chance that Daniel put down the milk. It is improbable that Sandra dropped the milk. Chances are about even that Lily is a lion. It is highly likely that if 'Sandra dropped the milk and Lily is a lion' then Bernhard is gray. We believe that if 'Sandra dropped the milk' or 'Lily is a lion' or both then Mary moved to the garden. There is a better than even chance that if 'Daniel put down the milk' or 'Lily is a lion' or both then Greg is yellow.,It is highly unlikely that 'Greg is yellow' or 'Sandra dropped the milk' or both.," + 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.1::factB. + 0.5::factC. + %hop1 + 0.9::factX:-and(factB,factC). + 0.75::factY:-or(factB,factC). + 0.6::factZ:-or(factA,factC). + + %hop2 + conclusion:-or(factZ,factB). + + query(conclusion). + ",0.3754,0.8659731946389277,validation,about even,highly unlikely,Chances are about even that 'Greg is yellow' or 'Sandra dropped the milk' or both.,It is highly unlikely that 'Greg is yellow' or 'Sandra dropped the milk' or both.,0,'Greg is yellow' or 'Sandra dropped the milk' or both. +We doubt that Lily is green. It is impossible that John picked up the apple. It is impossible that Mary left the milk. It is improbable that if 'Mary left the milk' or 'Lily is green' or both then Greg is a swan. There is little chance that if 'Mary left the milk and John picked up the apple' then Gertrude is a sheep. It is highly unlikely that if either 'Lily is green' or 'John picked up the apple' but not both then Brian is green.,There is a very good chance that either 'Brian is green' or 'Greg is a swan' but not both.," + 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.0::factB. + 0.0::factC. + %hop1 + 0.1::factX:-or(factC,factA). + 0.1::factY:-and(factC,factB). + 0.05::factZ:-xor(factA,factB). + + %hop2 + conclusion:-xor(factZ,factX). + + query(conclusion). + ",0.028000000000000014,0.8385677135427085,validation,almost no chance,very good chance,There is almost no chance that either 'Brian is green' or 'Greg is a swan' but not both.,There is a very good chance that either 'Brian is green' or 'Greg is a swan' but not both.,0,Either 'Brian is green' or 'Greg is a swan' but not both. +It is highly likely that John picked up the milk. We believe that Bernhard is a frog. We doubt that Greg is gray. Chances are slight that if 'Bernhard is a frog' or 'Greg is gray' or both then Sandra dropped the milk. There is a better than even chance that if 'Bernhard is a frog and Greg is gray' then Jeff left the apple. It is highly unlikely that if either 'Greg is gray' or 'Bernhard is a frog' but not both then Bill went to the office.,It is highly likely that 'Bill went to the office' or 'John picked up the milk' or both.," + 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.9::factA. + 0.75::factB. + 0.2::factC. + %hop1 + 0.1::factX:-or(factB,factC). + 0.6::factY:-and(factB,factC). + 0.05::factZ:-xor(factC,factB). + + %hop2 + conclusion:-or(factZ,factA). + + query(conclusion). + ",0.90325,0.8687737547509502,validation,highly likely,chances are slight,It is highly likely that 'Bill went to the office' or 'John picked up the milk' or both.,Chances are slight that 'Bill went to the office' or 'John picked up the milk' or both.,1,'Bill went to the office' or 'John picked up the milk' or both. +It is improbable that Emily is a mouse. It is highly unlikely that John went to the bedroom. It is probable that Sandra got the football. There is little chance that if 'Emily is a mouse' or 'Sandra got the football' or both then Bernhard is gray. There is little chance that if 'Emily is a mouse' or 'John went to the bedroom' or both then Brian is a rhino. It is probable that if either 'John went to the bedroom' or 'Sandra got the football' but not both then Julius is a lion.,Chances are about even that 'Julius is a lion and Sandra got the football'.," + 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.1::factA. + 0.05::factB. + 0.7::factC. + %hop1 + 0.1::factX:-or(factA,factC). + 0.1::factY:-or(factA,factB). + 0.7::factZ:-xor(factB,factC). + + %hop2 + conclusion:-and(factZ,factC). + + query(conclusion). + ",0.4654999999999999,0.8959791958391679,validation,about even,almost certain,Chances are about even that 'Julius is a lion and Sandra got the football'.,It is almost certain that 'Julius is a lion and Sandra got the football'.,1,'Julius is a lion and Sandra got the football'. +It is almost certain that Lily is a swan. It is highly unlikely that Daniel grabbed the milk. Chances are slight that Julius is a rhino. It is unlikely that if either 'Daniel grabbed the milk' or 'Lily is a swan' but not both then Jeff moved to the garden. It is impossible that if either 'Julius is a rhino' or 'Daniel grabbed the milk' but not both then Mary went to the bedroom. Chances are about even that if 'Julius is a rhino and Lily is a swan' then Bernhard is white.,It is highly unlikely that either 'Daniel grabbed the milk' or 'Mary went to the bedroom' but not both.," + 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.95::factA. + 0.05::factB. + 0.1::factC. + %hop1 + 0.2::factX:-xor(factB,factA). + 0.0::factY:-xor(factC,factB). + 0.5::factZ:-and(factC,factA). + + %hop2 + conclusion:-xor(factB,factY). + + query(conclusion). + ",0.05000000000000001,0.866373274654931,validation,highly unlikely,highly likely,It is highly unlikely that either 'Daniel grabbed the milk' or 'Mary went to the bedroom' but not both.,It is highly likely that either 'Daniel grabbed the milk' or 'Mary went to the bedroom' but not both.,1,Either 'Daniel grabbed the milk' or 'Mary went to the bedroom' but not both. +It is probable that Fred is in the school. Chances are about even that Mary left the football. It is certain that Bernhard is green. It is highly unlikely that if 'Mary left the football and Bernhard is green' then Brian is white. There is a better than even chance that if 'Bernhard is green and Fred is in the school' then Winona is a mouse. Chances are slight that if 'Fred is in the school' or 'Bernhard is green' or both then Daniel dropped the apple.,It is highly unlikely that either 'Bernhard is green' or 'Winona is a mouse' but not both.," + 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.7::factA. + 0.5::factB. + 1.0::factC. + %hop1 + 0.05::factX:-and(factB,factC). + 0.6::factY:-and(factC,factA). + 0.1::factZ:-or(factA,factC). + + %hop2 + conclusion:-xor(factC,factY). + + query(conclusion). + ",0.58,0.8533706741348269,validation,better than even,highly unlikely,There is a better than even chance that either 'Bernhard is green' or 'Winona is a mouse' but not both.,It is highly unlikely that either 'Bernhard is green' or 'Winona is a mouse' but not both.,0,Either 'Bernhard is green' or 'Winona is a mouse' but not both. +There is a better than even chance that Mary took the milk. It is impossible that Antoine is hungry. We believe that Lily is a swan. Chances are slight that if 'Lily is a swan and Mary took the milk' then Bernhard is green. It is certain that if 'Mary took the milk and Lily is a swan' then John went to the office. It is probable that if either 'Antoine is hungry' or 'Mary took the milk' but not both then Greg is a lion.,It is impossible that 'Mary took the milk and Antoine is hungry'.," + 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.6::factA. + 0.0::factB. + 0.75::factC. + %hop1 + 0.1::factX:-and(factC,factA). + 1.0::factY:-and(factA,factC). + 0.7::factZ:-xor(factB,factA). + + %hop2 + conclusion:-and(factA,factB). + + query(conclusion). + ",0.0,0.8507701540308061,validation,impossible,almost certain,It is impossible that 'Mary took the milk and Antoine is hungry'.,It is almost certain that 'Mary took the milk and Antoine is hungry'.,1,'Mary took the milk and Antoine is hungry'. +It is probably not the case that Daniel left the milk. Chances are slight that Bill moved to the office. Chances are slight that Lily is a swan. It is probable that if 'Bill moved to the office and Lily is a swan' then Julius is white. It is probable that if 'Daniel left the milk' or 'Lily is a swan' or both then Yann is hungry. It is improbable that if either 'Bill moved to the office' or 'Lily is a swan' but not both then Bernhard is a frog.,We believe that either 'Bernhard is a frog' or 'Bill moved to the office' but not both.," + 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.25::factA. + 0.1::factB. + 0.1::factC. + %hop1 + 0.7::factX:-and(factB,factC). + 0.7::factY:-or(factA,factC). + 0.1::factZ:-xor(factB,factC). + + %hop2 + conclusion:-xor(factZ,factB). + + query(conclusion). + ",0.10000000000000002,0.8199639927985597,validation,improbable,we believe,It is improbable that either 'Bernhard is a frog' or 'Bill moved to the office' but not both.,We believe that either 'Bernhard is a frog' or 'Bill moved to the office' but not both.,0,Either 'Bernhard is a frog' or 'Bill moved to the office' but not both. +It is unlikely that John went to the garden. There is little chance that Sandra got the milk. It is unlikely that Julius is a swan. There is a very good chance that if 'John went to the garden' or 'Julius is a swan' or both then Lily is a lion. It is highly likely that if 'Julius is a swan' or 'Sandra got the milk' or both then Mary dropped the apple. It is improbable that if 'John went to the garden' or 'Sandra got the milk' or both then Greg is a rhino.,It is probable that either 'Mary dropped the apple' or 'Greg is a rhino' but not both.," + 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.1::factB. + 0.2::factC. + %hop1 + 0.8::factX:-or(factA,factC). + 0.9::factY:-or(factC,factB). + 0.1::factZ:-or(factA,factB). + + %hop2 + conclusion:-xor(factY,factZ). + + query(conclusion). + ",0.25552,0.8317663532706542,validation,probably not,probable,It is probably not the case that either 'Mary dropped the apple' or 'Greg is a rhino' but not both.,It is probable that either 'Mary dropped the apple' or 'Greg is a rhino' but not both.,0,Either 'Mary dropped the apple' or 'Greg is a rhino' but not both. +It is likely that Greg is gray. We doubt that Mary put down the apple. It is almost certain that John moved to the office. Chances are about even that if either 'John moved to the office' or 'Greg is gray' but not both then Sumit is bored. There is almost no chance that if 'Greg is gray' or 'John moved to the office' or both then Jessica is a cat. We doubt that if either 'Greg is gray' or 'John moved to the office' but not both then Bernhard is a frog.,There is a very good chance that either 'Bernhard is a frog' or 'Mary put down the apple' but not both.," + 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.7::factA. + 0.2::factB. + 0.95::factC. + %hop1 + 0.5::factX:-xor(factC,factA). + 0.02::factY:-or(factA,factC). + 0.2::factZ:-xor(factA,factC). + + %hop2 + conclusion:-xor(factZ,factB). + + query(conclusion). + ",0.23840000000000006,0.8527705541108221,validation,probably not,very good chance,It is probably not the case that either 'Bernhard is a frog' or 'Mary put down the apple' but not both.,There is a very good chance that either 'Bernhard is a frog' or 'Mary put down the apple' but not both.,0,Either 'Bernhard is a frog' or 'Mary put down the apple' but not both. +It is probably the case that Greg is a frog. It is unlikely that Yann is tired. It is probably not the case that Mary picked up the milk. It is probable that if either 'Mary picked up the milk' or 'Yann is tired' but not both then Brian is green. It is improbable that if 'Mary picked up the milk' or 'Yann is tired' or both then Daniel left the apple. It is likely that if 'Mary picked up the milk and Greg is a frog' then Lily is yellow.,There is a very good chance that 'Brian is green' or 'Daniel left the apple' or both.," + 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.7::factA. + 0.2::factB. + 0.25::factC. + %hop1 + 0.7::factX:-xor(factC,factB). + 0.1::factY:-or(factC,factB). + 0.7::factZ:-and(factC,factA). + + %hop2 + conclusion:-or(factX,factY). + + query(conclusion). + ",0.2605,0.8075615123024605,validation,probably not,very good chance,It is probably not the case that 'Brian is green' or 'Daniel left the apple' or both.,There is a very good chance that 'Brian is green' or 'Daniel left the apple' or both.,0,'Brian is green' or 'Daniel left the apple' or both. +It is probably not the case that John went to the hallway. We doubt that Julius is gray. We doubt that Bernhard is a frog. It is probably the case that if 'John went to the hallway and Julius is gray' then Winona is a wolf. It is highly likely that if either 'Julius is gray' or 'John went to the hallway' but not both then Mary left the football. There is almost no chance that if 'Julius is gray and Bernhard is a frog' then Lily is a swan.,It is highly unlikely that 'Julius is gray and John went to the hallway'.," + 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.25::factA. + 0.2::factB. + 0.2::factC. + %hop1 + 0.7::factX:-and(factA,factB). + 0.9::factY:-xor(factB,factA). + 0.02::factZ:-and(factB,factC). + + %hop2 + conclusion:-and(factB,factA). + + query(conclusion). + ",0.05000000000000001,0.8427685537107421,validation,highly unlikely,better than even,It is highly unlikely that 'Julius is gray and John went to the hallway'.,There is a better than even chance that 'Julius is gray and John went to the hallway'.,1,'Julius is gray and John went to the hallway'. +We doubt that Brian is a swan. It is impossible that Fred went to the garden. Chances are about even that Mary got the football. It is impossible that if 'Mary got the football' or 'Brian is a swan' or both then Sandra grabbed the apple. We believe that if either 'Brian is a swan' or 'Mary got the football' but not both then Julius is gray. It is likely that if either 'Mary got the football' or 'Fred went to the garden' but not both then John dropped the milk.,It is probably not the case that either 'John dropped the milk' or 'Julius is gray' but not both.," + 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.0::factB. + 0.5::factC. + %hop1 + 0.0::factX:-or(factC,factA). + 0.75::factY:-xor(factA,factC). + 0.7::factZ:-xor(factC,factB). + + %hop2 + conclusion:-xor(factZ,factY). + + query(conclusion). + ",0.305,0.8461692338467693,validation,probably not,probable,It is probably not the case that either 'John dropped the milk' or 'Julius is gray' but not both.,It is probable that either 'John dropped the milk' or 'Julius is gray' but not both.,1,Either 'John dropped the milk' or 'Julius is gray' but not both. +There is a better than even chance that Lily is gray. It is almost certain that Jessica is a mouse. It is highly unlikely that Julius is a rhino. It is improbable that if 'Julius is a rhino' or 'Jessica is a mouse' or both then Sandra dropped the apple. It is highly likely that if either 'Lily is gray' or 'Jessica is a mouse' but not both then John went to the office. It is impossible that if 'Jessica is a mouse' or 'Julius is a rhino' or both then Brian is white.,There is a better than even chance that either 'Brian is white' or 'Lily is gray' but not both.," + 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.6::factA. + 0.95::factB. + 0.05::factC. + %hop1 + 0.1::factX:-or(factC,factB). + 0.9::factY:-xor(factA,factB). + 0.0::factZ:-or(factB,factC). + + %hop2 + conclusion:-xor(factZ,factA). + + query(conclusion). + ",0.6,0.8529705941188238,validation,better than even,highly unlikely,There is a better than even chance that either 'Brian is white' or 'Lily is gray' but not both.,It is highly unlikely that either 'Brian is white' or 'Lily is gray' but not both.,1,Either 'Brian is white' or 'Lily is gray' but not both. +We believe that Greg is a frog. There is almost no chance that Jason is tired. It is improbable that Julius is a rhino. It is certain that if either 'Jason is tired' or 'Julius is a rhino' but not both then Gertrude is a mouse. There is a very good chance that if 'Julius is a rhino and Jason is tired' then John went to the garden. It is probable that if either 'Jason is tired' or 'Julius is a rhino' but not both then Sandra left the milk.,Chances are slight that 'Gertrude is a mouse and Julius is a rhino'.," + 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.75::factA. + 0.02::factB. + 0.1::factC. + %hop1 + 1.0::factX:-xor(factB,factC). + 0.8::factY:-and(factC,factB). + 0.7::factZ:-xor(factB,factC). + + %hop2 + conclusion:-and(factX,factC). + + query(conclusion). + ",0.09800000000000002,0.8361672334466893,validation,chances are slight,very good chance,Chances are slight that 'Gertrude is a mouse and Julius is a rhino'.,There is a very good chance that 'Gertrude is a mouse and Julius is a rhino'.,1,'Gertrude is a mouse and Julius is a rhino'. +It is likely that Julius is yellow. Chances are about even that Lily is a swan. There is little chance that Greg is a lion. Chances are slight that if either 'Lily is a swan' or 'Greg is a lion' but not both then Sumit is thirsty. Chances are slight that if either 'Julius is yellow' or 'Lily is a swan' but not both then Sandra dropped the apple. It is likely that if 'Julius is yellow and Lily is a swan' then John went to the kitchen.,It is improbable that 'Sumit is thirsty' or 'Sandra dropped the apple' or both.," + 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.7::factA. + 0.5::factB. + 0.1::factC. + %hop1 + 0.1::factX:-xor(factB,factC). + 0.1::factY:-xor(factA,factB). + 0.7::factZ:-and(factA,factB). + + %hop2 + conclusion:-or(factX,factY). + + query(conclusion). + ",0.09829999999999998,0.8341668333666733,validation,improbable,almost certain,It is improbable that 'Sumit is thirsty' or 'Sandra dropped the apple' or both.,It is almost certain that 'Sumit is thirsty' or 'Sandra dropped the apple' or both.,1,'Sumit is thirsty' or 'Sandra dropped the apple' or both. +It is unlikely that Greg is a rhino. It is impossible that Mary went to the garden. It is highly unlikely that Bernhard is green. It is highly unlikely that if 'Mary went to the garden' or 'Bernhard is green' or both then Brian is yellow. It is improbable that if either 'Mary went to the garden' or 'Greg is a rhino' but not both then Jessica is a cat. Chances are about even that if 'Greg is a rhino and Mary went to the garden' then Gertrude is a cat.,It is almost certain that 'Gertrude is a cat and Greg is a rhino'.," + 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.0::factB. + 0.05::factC. + %hop1 + 0.05::factX:-or(factB,factC). + 0.1::factY:-xor(factB,factA). + 0.5::factZ:-and(factA,factB). + + %hop2 + conclusion:-and(factZ,factA). + + query(conclusion). + ",0.0,0.8375675135027005,validation,impossible,almost certain,It is impossible that 'Gertrude is a cat and Greg is a rhino'.,It is almost certain that 'Gertrude is a cat and Greg is a rhino'.,0,'Gertrude is a cat and Greg is a rhino'. +It is probably the case that John left the milk. There is almost no chance that Brian is yellow. It is probable that Daniel grabbed the apple. We doubt that if either 'Daniel grabbed the apple' or 'John left the milk' but not both then Mary is in the hallway. There is almost no chance that if either 'Daniel grabbed the apple' or 'John left the milk' but not both then Greg is gray. It is probable that if 'Daniel grabbed the apple and Brian is yellow' then Gertrude is a sheep.,It is probable that 'Greg is gray' or 'Daniel grabbed the apple' or both.," + 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.7::factA. + 0.02::factB. + 0.7::factC. + %hop1 + 0.2::factX:-xor(factC,factA). + 0.02::factY:-xor(factC,factA). + 0.7::factZ:-and(factC,factB). + + %hop2 + conclusion:-or(factY,factC). + + query(conclusion). + ",0.7041999999999999,0.8209641928385677,validation,probable,impossible,It is probable that 'Greg is gray' or 'Daniel grabbed the apple' or both.,It is impossible that 'Greg is gray' or 'Daniel grabbed the apple' or both.,1,'Greg is gray' or 'Daniel grabbed the apple' or both. +It is probably the case that Brian is a frog. There is almost no chance that John went to the kitchen. It is likely that Mary picked up the milk. There is little chance that if either 'Brian is a frog' or 'John went to the kitchen' but not both then Sandra left the apple. It is probable that if 'Mary picked up the milk' or 'John went to the kitchen' or both then Greg is a rhino. It is highly unlikely that if 'Mary picked up the milk' or 'Brian is a frog' or both then Julius is a swan.,There is little chance that either 'Sandra left the apple' or 'Julius is a swan' but not both.," + 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.7::factA. + 0.02::factB. + 0.7::factC. + %hop1 + 0.1::factX:-xor(factA,factB). + 0.7::factY:-or(factC,factB). + 0.05::factZ:-or(factC,factA). + + %hop2 + conclusion:-xor(factX,factZ). + + query(conclusion). + ",0.107798,0.8981796359271854,validation,little chance,highly likely,There is little chance that either 'Sandra left the apple' or 'Julius is a swan' but not both.,It is highly likely that either 'Sandra left the apple' or 'Julius is a swan' but not both.,1,Either 'Sandra left the apple' or 'Julius is a swan' but not both. +There is a very good chance that Gertrude is a sheep. We believe that Greg is a swan. It is probable that Mary moved to the garden. It is improbable that if either 'Gertrude is a sheep' or 'Mary moved to the garden' but not both then John put down the apple. There is little chance that if 'Mary moved to the garden and Greg is a swan' then Bernhard is yellow. There is almost no chance that if either 'Gertrude is a sheep' or 'Greg is a swan' but not both then Jessica is a cat.,It is highly unlikely that 'Greg is a swan and Bernhard is yellow'.," + 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.8::factA. + 0.75::factB. + 0.7::factC. + %hop1 + 0.1::factX:-xor(factA,factC). + 0.1::factY:-and(factC,factB). + 0.02::factZ:-xor(factA,factB). + + %hop2 + conclusion:-and(factB,factY). + + query(conclusion). + ",0.05250000000000002,0.8577715543108622,validation,highly unlikely,very good chance,It is highly unlikely that 'Greg is a swan and Bernhard is yellow'.,There is a very good chance that 'Greg is a swan and Bernhard is yellow'.,1,'Greg is a swan and Bernhard is yellow'. +It is unlikely that Mary went to the garden. Chances are about even that Jessica is a mouse. There is a better than even chance that Greg is a swan. It is impossible that if 'Greg is a swan and Mary went to the garden' then Julius is a rhino. It is probably not the case that if 'Greg is a swan and Mary went to the garden' then Lily is a lion. There is a very good chance that if 'Greg is a swan' or 'Jessica is a mouse' or both then John took the apple.,There is a better than even chance that 'Greg is a swan' or 'Lily is a lion' or both.," + 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.5::factB. + 0.6::factC. + %hop1 + 0.0::factX:-and(factC,factA). + 0.25::factY:-and(factC,factA). + 0.8::factZ:-or(factC,factB). + + %hop2 + conclusion:-or(factC,factY). + + query(conclusion). + ",0.6,0.8583716743348669,validation,better than even,highly unlikely,There is a better than even chance that 'Greg is a swan' or 'Lily is a lion' or both.,It is highly unlikely that 'Greg is a swan' or 'Lily is a lion' or both.,1,'Greg is a swan' or 'Lily is a lion' or both. +We doubt that Jason is tired. It is improbable that John took the apple. It is highly likely that Brian is green. It is impossible that if 'Jason is tired' or 'Brian is green' or both then Bernhard is green. It is probably not the case that if either 'Brian is green' or 'John took the apple' but not both then Lily is a frog. It is improbable that if either 'Brian is green' or 'Jason is tired' but not both then Greg is a rhino.,It is impossible that 'Brian is green' or 'John took the apple' or both.," + 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.1::factB. + 0.9::factC. + %hop1 + 0.0::factX:-or(factA,factC). + 0.25::factY:-xor(factC,factB). + 0.1::factZ:-xor(factC,factA). + + %hop2 + conclusion:-or(factC,factB). + + query(conclusion). + ",0.91,0.8775755151030206,validation,highly likely,impossible,It is highly likely that 'Brian is green' or 'John took the apple' or both.,It is impossible that 'Brian is green' or 'John took the apple' or both.,0,'Brian is green' or 'John took the apple' or both. +It is probably the case that Sandra dropped the milk. It is unlikely that Jason is tired. It is highly unlikely that Lily is a rhino. It is certain that if 'Sandra dropped the milk and Lily is a rhino' then Bernhard is white. It is highly likely that if either 'Sandra dropped the milk' or 'Jason is tired' but not both then Mary went to the kitchen. There is little chance that if either 'Lily is a rhino' or 'Jason is tired' but not both then Brian is a frog.,It is highly likely that 'Brian is a frog and Lily is a rhino'.," + 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.7::factA. + 0.2::factB. + 0.05::factC. + %hop1 + 1.0::factX:-and(factA,factC). + 0.9::factY:-xor(factA,factB). + 0.1::factZ:-xor(factC,factB). + + %hop2 + conclusion:-and(factZ,factC). + + query(conclusion). + ",0.004000000000000002,0.8961792358471694,validation,impossible,highly likely,It is impossible that 'Brian is a frog and Lily is a rhino'.,It is highly likely that 'Brian is a frog and Lily is a rhino'.,0,'Brian is a frog and Lily is a rhino'. +We believe that John went to the office. It is probable that Lily is a swan. It is probably the case that Sandra got the football. It is probably the case that if 'John went to the office and Sandra got the football' then Greg is white. There is little chance that if 'Lily is a swan and Sandra got the football' then Brian is green. It is improbable that if 'John went to the office' or 'Sandra got the football' or both then Winona is a cat.,We believe that 'Lily is a swan' or 'Winona is a cat' or both.," + 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.75::factA. + 0.7::factB. + 0.7::factC. + %hop1 + 0.7::factX:-and(factA,factC). + 0.1::factY:-and(factB,factC). + 0.1::factZ:-or(factA,factC). + + %hop2 + conclusion:-or(factB,factZ). + + query(conclusion). + ",0.72775,0.8905781156231246,validation,we believe,improbable,We believe that 'Lily is a swan' or 'Winona is a cat' or both.,It is improbable that 'Lily is a swan' or 'Winona is a cat' or both.,1,'Lily is a swan' or 'Winona is a cat' or both. +We believe that Lily is a rhino. It is probably not the case that John moved to the garden. We doubt that Julius is a swan. It is impossible that if 'Lily is a rhino' or 'John moved to the garden' or both then Bernhard is green. We believe that if 'Julius is a swan' or 'Lily is a rhino' or both then Mary picked up the apple. Chances are slight that if 'Lily is a rhino and John moved to the garden' then Greg is white.,It is likely that either 'Lily is a rhino' or 'Mary picked up the apple' but not both.," + 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.75::factA. + 0.25::factB. + 0.2::factC. + %hop1 + 0.0::factX:-or(factA,factB). + 0.75::factY:-or(factC,factA). + 0.1::factZ:-and(factA,factB). + + %hop2 + conclusion:-xor(factA,factY). + + query(conclusion). + ",0.225,0.8021604320864173,validation,we doubt,likely,We doubt that either 'Lily is a rhino' or 'Mary picked up the apple' but not both.,It is likely that either 'Lily is a rhino' or 'Mary picked up the apple' but not both.,0,Either 'Lily is a rhino' or 'Mary picked up the apple' but not both. +Chances are about even that Emily is a wolf. It is almost certain that Jessica is a mouse. It is likely that Daniel got the football. There is a very good chance that if 'Jessica is a mouse' or 'Daniel got the football' or both then Greg is a frog. We believe that if either 'Daniel got the football' or 'Jessica is a mouse' but not both then Mary moved to the office. It is unlikely that if 'Emily is a wolf' or 'Jessica is a mouse' or both then Brian is green.,It is almost certain that 'Brian is green' or 'Jessica is a mouse' or both.," + 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.95::factB. + 0.7::factC. + %hop1 + 0.8::factX:-or(factB,factC). + 0.75::factY:-xor(factC,factB). + 0.2::factZ:-or(factA,factB). + + %hop2 + conclusion:-or(factZ,factB). + + query(conclusion). + ",0.955,0.8439687937587518,validation,almost certain,almost no chance,It is almost certain that 'Brian is green' or 'Jessica is a mouse' or both.,There is almost no chance that 'Brian is green' or 'Jessica is a mouse' or both.,1,'Brian is green' or 'Jessica is a mouse' or both. +Chances are slight that Bernhard is white. Chances are about even that Mary moved to the office. There is a very good chance that John discarded the apple. It is highly unlikely that if 'Mary moved to the office and John discarded the apple' then Lily is a frog. It is likely that if 'Mary moved to the office' or 'Bernhard is white' or both then Jeff went to the garden. We doubt that if either 'Bernhard is white' or 'Mary moved to the office' but not both then Bill got the milk there.,Chances are slight that 'Bernhard is white and John discarded the apple'.," + 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.1::factA. + 0.5::factB. + 0.8::factC. + %hop1 + 0.05::factX:-and(factB,factC). + 0.7::factY:-or(factB,factA). + 0.2::factZ:-xor(factA,factB). + + %hop2 + conclusion:-and(factA,factC). + + query(conclusion). + ",0.08000000000000002,0.8607721544308862,validation,chances are slight,likely,Chances are slight that 'Bernhard is white and John discarded the apple'.,It is likely that 'Bernhard is white and John discarded the apple'.,1,'Bernhard is white and John discarded the apple'. +It is almost certain that John moved to the garden. We doubt that Jason is tired. There is almost no chance that Julius is yellow. It is highly likely that if 'Jason is tired and John moved to the garden' then Brian is a swan. There is a better than even chance that if either 'Julius is yellow' or 'Jason is tired' but not both then Bernhard is a rhino. It is probable that if 'Jason is tired and John moved to the garden' then Sandra took the milk.,It is improbable that 'Bernhard is a rhino and Brian is a swan'.," + 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.95::factA. + 0.2::factB. + 0.02::factC. + %hop1 + 0.9::factX:-and(factB,factA). + 0.6::factY:-xor(factC,factB). + 0.7::factZ:-and(factB,factA). + + %hop2 + conclusion:-and(factY,factX). + + query(conclusion). + ",0.10054799999999998,0.8387677535507101,validation,improbable,highly likely,It is improbable that 'Bernhard is a rhino and Brian is a swan'.,It is highly likely that 'Bernhard is a rhino and Brian is a swan'.,1,'Bernhard is a rhino and Brian is a swan'. +It is highly unlikely that Mary went to the bedroom. It is highly unlikely that Julius is white. It is likely that Bernhard is a swan. It is probable that if 'Bernhard is a swan' or 'Julius is white' or both then Jason is tired. It is highly likely that if 'Mary went to the bedroom and Julius is white' then Brian is a frog. It is improbable that if either 'Julius is white' or 'Mary went to the bedroom' but not both then Gertrude is a cat.,Chances are about even that either 'Gertrude is a cat' or 'Jason is tired' but not both.," + 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.05::factA. + 0.05::factB. + 0.7::factC. + %hop1 + 0.7::factX:-or(factC,factB). + 0.9::factY:-and(factA,factB). + 0.1::factZ:-xor(factB,factA). + + %hop2 + conclusion:-xor(factZ,factX). + + query(conclusion). + ",0.49869499999999994,0.8505701140228046,validation,about even,impossible,Chances are about even that either 'Gertrude is a cat' or 'Jason is tired' but not both.,It is impossible that either 'Gertrude is a cat' or 'Jason is tired' but not both.,1,Either 'Gertrude is a cat' or 'Jason is tired' but not both. +There is almost no chance that Julius is a swan. We doubt that Emily is a mouse. It is impossible that Bernhard is green. It is probably the case that if 'Julius is a swan and Emily is a mouse' then Brian is a swan. We believe that if 'Emily is a mouse' or 'Julius is a swan' or both then Lily is a lion. It is unlikely that if 'Emily is a mouse' or 'Julius is a swan' or both then John moved to the garden.,Chances are about even that either 'Brian is a swan' or 'Bernhard is green' but not both.," + 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.2::factB. + 0.0::factC. + %hop1 + 0.7::factX:-and(factA,factB). + 0.75::factY:-or(factB,factA). + 0.2::factZ:-or(factB,factA). + + %hop2 + conclusion:-xor(factX,factC). + + query(conclusion). + ",0.002800000000000001,0.8809761952390478,validation,impossible,about even,It is impossible that either 'Brian is a swan' or 'Bernhard is green' but not both.,Chances are about even that either 'Brian is a swan' or 'Bernhard is green' but not both.,0,Either 'Brian is a swan' or 'Bernhard is green' but not both. +Chances are slight that John left the milk. We believe that Julius is a lion. It is certain that Mary went to the bedroom. There is a very good chance that if 'Mary went to the bedroom' or 'Julius is a lion' or both then Bernhard is a rhino. It is highly likely that if either 'Mary went to the bedroom' or 'John left the milk' but not both then Greg is yellow. It is highly unlikely that if 'Julius is a lion and John left the milk' then Lily is a swan.,It is probably the case that either 'Julius is a lion' or 'John left the milk' but not both.," + 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.1::factA. + 0.75::factB. + 1.0::factC. + %hop1 + 0.8::factX:-or(factC,factB). + 0.9::factY:-xor(factC,factA). + 0.05::factZ:-and(factB,factA). + + %hop2 + conclusion:-xor(factB,factA). + + query(conclusion). + ",0.7,0.8245649129825965,validation,probably,probably not,It is probably the case that either 'Julius is a lion' or 'John left the milk' but not both.,It is probably not the case that either 'Julius is a lion' or 'John left the milk' but not both.,1,Either 'Julius is a lion' or 'John left the milk' but not both. +We doubt that John got the apple. It is certain that Julius is white. There is almost no chance that Lily is a frog. It is probably the case that if either 'John got the apple' or 'Lily is a frog' but not both then Bernhard is green. We doubt that if 'John got the apple and Julius is white' then Brian is white. It is unlikely that if 'Julius is white and Lily is a frog' then Bill left the milk.,It is highly unlikely that 'Brian is white' or 'Bill left the milk' or both.," + 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. + 1.0::factB. + 0.02::factC. + %hop1 + 0.7::factX:-xor(factA,factC). + 0.2::factY:-and(factA,factB). + 0.2::factZ:-and(factB,factC). + + %hop2 + conclusion:-or(factY,factZ). + + query(conclusion). + ",0.04384,0.8481696339267853,validation,highly unlikely,probably,It is highly unlikely that 'Brian is white' or 'Bill left the milk' or both.,It is probably the case that 'Brian is white' or 'Bill left the milk' or both.,1,'Brian is white' or 'Bill left the milk' or both. +It is unlikely that Bernhard is green. There is almost no chance that Brian is yellow. We believe that Winona is a sheep. It is probable that if either 'Winona is a sheep' or 'Bernhard is green' but not both then Sumit is tired. There is a very good chance that if 'Bernhard is green' or 'Brian is yellow' or both then Mary moved to the office. It is probably not the case that if either 'Winona is a sheep' or 'Brian is yellow' but not both then John discarded the apple.,There is almost no chance that 'Sumit is tired and Mary moved to the office'.," + 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.02::factB. + 0.75::factC. + %hop1 + 0.7::factX:-xor(factC,factA). + 0.8::factY:-or(factA,factB). + 0.25::factZ:-xor(factC,factB). + + %hop2 + conclusion:-and(factX,factY). + + query(conclusion). + ",0.034720000000000015,0.8087617523504701,validation,almost no chance,likely,There is almost no chance that 'Sumit is tired and Mary moved to the office'.,It is likely that 'Sumit is tired and Mary moved to the office'.,1,'Sumit is tired and Mary moved to the office'. +Chances are slight that Daniel dropped the apple. It is likely that Lily is a rhino. We believe that Emily is a mouse. It is improbable that if either 'Lily is a rhino' or 'Emily is a mouse' but not both then Mary grabbed the milk. There is a better than even chance that if either 'Daniel dropped the apple' or 'Emily is a mouse' but not both then Greg is a swan. It is unlikely that if either 'Daniel dropped the apple' or 'Emily is a mouse' but not both then John went to the bedroom.,It is probably the case that 'Mary grabbed the milk' or 'Daniel dropped the apple' or both.," + 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.1::factA. + 0.7::factB. + 0.75::factC. + %hop1 + 0.1::factX:-xor(factB,factC). + 0.6::factY:-xor(factA,factC). + 0.2::factZ:-xor(factA,factC). + + %hop2 + conclusion:-or(factX,factA). + + query(conclusion). + ",0.13600000000000004,0.8735747149429886,validation,little chance,probably,There is little chance that 'Mary grabbed the milk' or 'Daniel dropped the apple' or both.,It is probably the case that 'Mary grabbed the milk' or 'Daniel dropped the apple' or both.,0,'Mary grabbed the milk' or 'Daniel dropped the apple' or both. +It is highly unlikely that Jessica is a cat. There is a very good chance that Gertrude is a mouse. It is unlikely that John went to the hallway. Chances are about even that if 'John went to the hallway and Jessica is a cat' then Lily is yellow. It is highly unlikely that if either 'Jessica is a cat' or 'Gertrude is a mouse' but not both then Brian is a frog. There is almost no chance that if 'John went to the hallway' or 'Gertrude is a mouse' or both then Bernhard is white.,We doubt that 'Bernhard is white' or 'John went to the hallway' or both.," + 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.05::factA. + 0.8::factB. + 0.2::factC. + %hop1 + 0.5::factX:-and(factC,factA). + 0.05::factY:-xor(factA,factB). + 0.02::factZ:-or(factC,factB). + + %hop2 + conclusion:-or(factZ,factC). + + query(conclusion). + ",0.21280000000000002,0.8411682336467293,validation,we doubt,almost certain,We doubt that 'Bernhard is white' or 'John went to the hallway' or both.,It is almost certain that 'Bernhard is white' or 'John went to the hallway' or both.,1,'Bernhard is white' or 'John went to the hallway' or both. +There is almost no chance that Sandra grabbed the apple. Chances are about even that Bill went to the bedroom. It is likely that Jessica is a cat. It is impossible that if 'Bill went to the bedroom and Jessica is a cat' then Bernhard is yellow. It is certain that if 'Sandra grabbed the apple' or 'Bill went to the bedroom' or both then Brian is green. It is probably not the case that if either 'Jessica is a cat' or 'Bill went to the bedroom' but not both then Julius is a swan.,Chances are slight that either 'Bernhard is yellow' or 'Julius is a swan' but not both.," + 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.5::factB. + 0.7::factC. + %hop1 + 0.0::factX:-and(factB,factC). + 1.0::factY:-or(factA,factB). + 0.25::factZ:-xor(factC,factB). + + %hop2 + conclusion:-xor(factX,factZ). + + query(conclusion). + ",0.12500000000000003,0.8993798759751951,validation,chances are slight,probable,Chances are slight that either 'Bernhard is yellow' or 'Julius is a swan' but not both.,It is probable that either 'Bernhard is yellow' or 'Julius is a swan' but not both.,1,Either 'Bernhard is yellow' or 'Julius is a swan' but not both. +It is probably not the case that Greg is green. There is a better than even chance that Daniel grabbed the milk. It is probable that Gertrude is a sheep. It is highly likely that if 'Gertrude is a sheep and Daniel grabbed the milk' then Julius is yellow. There is a better than even chance that if either 'Daniel grabbed the milk' or 'Gertrude is a sheep' but not both then John moved to the office. It is almost certain that if 'Gertrude is a sheep' or 'Daniel grabbed the milk' or both then Brian is white.,We believe that either 'Brian is white' or 'Daniel grabbed the milk' but not both.," + 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.25::factA. + 0.6::factB. + 0.7::factC. + %hop1 + 0.9::factX:-and(factC,factB). + 0.6::factY:-xor(factB,factC). + 0.95::factZ:-or(factC,factB). + + %hop2 + conclusion:-xor(factZ,factB). + + query(conclusion). + ",0.296,0.8949789957991598,validation,probably not,we believe,It is probably not the case that either 'Brian is white' or 'Daniel grabbed the milk' but not both.,We believe that either 'Brian is white' or 'Daniel grabbed the milk' but not both.,0,Either 'Brian is white' or 'Daniel grabbed the milk' but not both. +We doubt that John got the milk. We believe that Daniel left the milk. There is a better than even chance that Bernhard is green. Chances are slight that if 'Bernhard is green' or 'John got the milk' or both then Sumit is tired. Chances are slight that if 'Daniel left the milk and Bernhard is green' then Brian is a lion. It is highly likely that if 'Daniel left the milk and Bernhard is green' then Mary went to the office.,There is a better than even chance that 'Bernhard is green' or 'Sumit is tired' or both.," + 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.75::factB. + 0.6::factC. + %hop1 + 0.1::factX:-or(factC,factA). + 0.1::factY:-and(factB,factC). + 0.9::factZ:-and(factB,factC). + + %hop2 + conclusion:-or(factC,factX). + + query(conclusion). + ",0.608,0.8477695539107821,validation,better than even,little chance,There is a better than even chance that 'Bernhard is green' or 'Sumit is tired' or both.,There is little chance that 'Bernhard is green' or 'Sumit is tired' or both.,1,'Bernhard is green' or 'Sumit is tired' or both. +Chances are about even that John left the football. Chances are about even that Brian is a swan. There is almost no chance that Julius is yellow. It is probably not the case that if 'Julius is yellow' or 'Brian is a swan' or both then Emily is a wolf. It is highly likely that if either 'Brian is a swan' or 'John left the football' but not both then Bill went to the kitchen. It is highly likely that if either 'John left the football' or 'Julius is yellow' but not both then Mary moved to the garden.,Chances are about even that 'John left the football' or 'Julius is yellow' or both.," + 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.5::factB. + 0.02::factC. + %hop1 + 0.25::factX:-or(factC,factB). + 0.9::factY:-xor(factB,factA). + 0.9::factZ:-xor(factA,factC). + + %hop2 + conclusion:-or(factA,factC). + + query(conclusion). + ",0.51,0.8063612722544509,validation,about even,impossible,Chances are about even that 'John left the football' or 'Julius is yellow' or both.,It is impossible that 'John left the football' or 'Julius is yellow' or both.,1,'John left the football' or 'Julius is yellow' or both. +There is a very good chance that Daniel grabbed the apple. There is a very good chance that Lily is a swan. It is probably the case that Mary went to the office. It is probably the case that if 'Lily is a swan and Daniel grabbed the apple' then Bernhard is green. It is probably not the case that if either 'Mary went to the office' or 'Lily is a swan' but not both then Julius is gray. It is highly likely that if 'Lily is a swan' or 'Mary went to the office' or both then Brian is a swan.,It is unlikely that 'Mary went to the office' or 'Brian is a swan' or both.," + 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.8::factA. + 0.8::factB. + 0.7::factC. + %hop1 + 0.7::factX:-and(factB,factA). + 0.25::factY:-xor(factC,factB). + 0.9::factZ:-or(factB,factC). + + %hop2 + conclusion:-or(factC,factZ). + + query(conclusion). + ",0.9159999999999999,0.8425685137027406,validation,highly likely,unlikely,It is highly likely that 'Mary went to the office' or 'Brian is a swan' or both.,It is unlikely that 'Mary went to the office' or 'Brian is a swan' or both.,0,'Mary went to the office' or 'Brian is a swan' or both. +It is probable that Mary went to the garden. There is little chance that Sandra left the milk. We believe that Julius is a rhino. We doubt that if either 'Mary went to the garden' or 'Julius is a rhino' but not both then Lily is green. We doubt that if 'Sandra left the milk' or 'Julius is a rhino' or both then Greg is a swan. It is impossible that if 'Mary went to the garden' or 'Sandra left the milk' or both then John dropped the milk.,It is probably not the case that 'Lily is green' or 'Greg is a swan' or both.," + 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.7::factA. + 0.1::factB. + 0.75::factC. + %hop1 + 0.2::factX:-xor(factA,factC). + 0.2::factY:-or(factB,factC). + 0.0::factZ:-or(factA,factB). + + %hop2 + conclusion:-or(factX,factY). + + query(conclusion). + ",0.2253000000000001,0.8921784356871374,validation,probably not,highly likely,It is probably not the case that 'Lily is green' or 'Greg is a swan' or both.,It is highly likely that 'Lily is green' or 'Greg is a swan' or both.,1,'Lily is green' or 'Greg is a swan' or both. +There is little chance that John got the apple. It is impossible that Sumit is thirsty. There is little chance that Daniel put down the milk. It is probable that if either 'John got the apple' or 'Sumit is thirsty' but not both then Bernhard is a frog. Chances are slight that if 'Daniel put down the milk' or 'Sumit is thirsty' or both then Gertrude is a wolf. It is probably not the case that if either 'Sumit is thirsty' or 'John got the apple' but not both then Greg is white.,It is impossible that 'Bernhard is a frog and Daniel put down the milk'.," + 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.1::factA. + 0.0::factB. + 0.1::factC. + %hop1 + 0.7::factX:-xor(factA,factB). + 0.1::factY:-or(factC,factB). + 0.25::factZ:-xor(factB,factA). + + %hop2 + conclusion:-and(factX,factC). + + query(conclusion). + ",0.007000000000000003,0.8259651930386077,validation,impossible,certain,It is impossible that 'Bernhard is a frog and Daniel put down the milk'.,It is certain that 'Bernhard is a frog and Daniel put down the milk'.,1,'Bernhard is a frog and Daniel put down the milk'. +It is likely that Lily is white. There is little chance that Julius is a rhino. It is probably the case that Mary moved to the office. It is improbable that if either 'Mary moved to the office' or 'Lily is white' but not both then Bernhard is gray. Chances are slight that if 'Mary moved to the office and Julius is a rhino' then Gertrude is a sheep. It is probable that if either 'Mary moved to the office' or 'Lily is white' but not both then John left the milk.,We believe that 'Mary moved to the office' or 'Julius is a rhino' or both.," + 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.7::factA. + 0.1::factB. + 0.7::factC. + %hop1 + 0.1::factX:-xor(factC,factA). + 0.1::factY:-and(factC,factB). + 0.7::factZ:-xor(factC,factA). + + %hop2 + conclusion:-or(factC,factB). + + query(conclusion). + ",0.73,0.8487697539507901,validation,we believe,unlikely,We believe that 'Mary moved to the office' or 'Julius is a rhino' or both.,It is unlikely that 'Mary moved to the office' or 'Julius is a rhino' or both.,1,'Mary moved to the office' or 'Julius is a rhino' or both. +It is almost certain that Fred is in the office. It is certain that Lily is a frog. It is probable that Julius is yellow. There is a better than even chance that if 'Julius is yellow and Lily is a frog' then Sandra dropped the milk. It is almost certain that if 'Lily is a frog and Fred is in the office' then Greg is white. There is almost no chance that if either 'Julius is yellow' or 'Fred is in the office' but not both then John picked up the apple.,It is probably not the case that 'Fred is in the office and Lily is a frog'.," + 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.95::factA. + 1.0::factB. + 0.7::factC. + %hop1 + 0.6::factX:-and(factC,factB). + 0.95::factY:-and(factB,factA). + 0.02::factZ:-xor(factC,factA). + + %hop2 + conclusion:-and(factA,factB). + + query(conclusion). + ",0.95,0.8859771954390878,validation,almost certain,probably not,It is almost certain that 'Fred is in the office and Lily is a frog'.,It is probably not the case that 'Fred is in the office and Lily is a frog'.,0,'Fred is in the office and Lily is a frog'. +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.,It is probable that 'Brian is a swan' or 'Lily is yellow' or both.," + 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). + ",0.706,0.8931786357271454,validation,probable,highly unlikely,It is probable that 'Brian is a swan' or 'Lily is yellow' or both.,It is highly unlikely that 'Brian is a swan' or 'Lily is yellow' or both.,1,'Brian is a swan' or 'Lily is yellow' or both. +It is probable that Lily is a swan. It is probably not the case that Yann is thirsty. There is little chance that Sandra left the milk. It is highly likely that if either 'Yann is thirsty' or 'Lily is a swan' but not both then Julius is a rhino. We believe that if 'Yann is thirsty' or 'Sandra left the milk' or both then Brian is a frog. It is unlikely that if 'Sandra left the milk and Lily is a swan' then Mary went to the garden.,There is a better than even chance that 'Yann is thirsty and Sandra left the milk'.," + 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.7::factA. + 0.25::factB. + 0.1::factC. + %hop1 + 0.9::factX:-xor(factB,factA). + 0.75::factY:-or(factB,factC). + 0.2::factZ:-and(factC,factA). + + %hop2 + conclusion:-and(factB,factC). + + query(conclusion). + ",0.025000000000000012,0.8847769553910783,validation,almost no chance,better than even,There is almost no chance that 'Yann is thirsty and Sandra left the milk'.,There is a better than even chance that 'Yann is thirsty and Sandra left the milk'.,0,'Yann is thirsty and Sandra left the milk'. +We believe that Lily is green. It is highly unlikely that Greg is a frog. Chances are about even that Bernhard is a rhino. We doubt that if either 'Greg is a frog' or 'Lily is green' but not both then Sumit is thirsty. It is highly unlikely that if 'Bernhard is a rhino and Lily is green' then Jason is tired. It is highly unlikely that if either 'Lily is green' or 'Bernhard is a rhino' but not both then Mary left the football.,It is highly likely that 'Sumit is thirsty and Bernhard is a rhino'.," + 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.75::factA. + 0.05::factB. + 0.5::factC. + %hop1 + 0.2::factX:-xor(factB,factA). + 0.05::factY:-and(factC,factA). + 0.05::factZ:-xor(factA,factC). + + %hop2 + conclusion:-and(factX,factC). + + query(conclusion). + ",0.07250000000000002,0.8371674334866973,validation,highly unlikely,highly likely,It is highly unlikely that 'Sumit is thirsty and Bernhard is a rhino'.,It is highly likely that 'Sumit is thirsty and Bernhard is a rhino'.,0,'Sumit is thirsty and Bernhard is a rhino'. +It is certain that Bernhard is a swan. It is highly likely that Julius is a rhino. There is little chance that Fred dropped the apple. There is a very good chance that if either 'Julius is a rhino' or 'Fred dropped the apple' but not both then John went to the hallway. It is improbable that if 'Julius is a rhino' or 'Fred dropped the apple' or both then Lily is green. It is probably not the case that if 'Bernhard is a swan' or 'Fred dropped the apple' or both then Brian is yellow.,It is likely that either 'Julius is a rhino' or 'Brian is yellow' but not both.," + 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 + 1.0::factA. + 0.9::factB. + 0.1::factC. + %hop1 + 0.8::factX:-xor(factB,factC). + 0.1::factY:-or(factB,factC). + 0.25::factZ:-or(factA,factC). + + %hop2 + conclusion:-xor(factB,factZ). + + query(conclusion). + ",0.7000000000000001,0.8127625525105021,validation,likely,probably not,It is likely that either 'Julius is a rhino' or 'Brian is yellow' but not both.,It is probably not the case that either 'Julius is a rhino' or 'Brian is yellow' but not both.,1,Either 'Julius is a rhino' or 'Brian is yellow' but not both. +It is probably the case that Bernhard is green. It is probably not the case that Jason is tired. It is improbable that Julius is white. It is likely that if either 'Bernhard is green' or 'Jason is tired' but not both then Brian is a frog. It is probably not the case that if 'Julius is white' or 'Jason is tired' or both then John dropped the apple. It is highly unlikely that if 'Jason is tired and Bernhard is green' then Sandra got the milk.,Chances are about even that 'Brian is a frog' or 'Sandra got the milk' or both.," + 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.7::factA. + 0.25::factB. + 0.1::factC. + %hop1 + 0.7::factX:-xor(factA,factB). + 0.25::factY:-or(factC,factB). + 0.05::factZ:-and(factB,factA). + + %hop2 + conclusion:-or(factX,factZ). + + query(conclusion). + ",0.42874999999999996,0.8849769953990798,validation,about even,certain,Chances are about even that 'Brian is a frog' or 'Sandra got the milk' or both.,It is certain that 'Brian is a frog' or 'Sandra got the milk' or both.,1,'Brian is a frog' or 'Sandra got the milk' or both. +Chances are slight that Jason is bored. There is little chance that Brian is white. We believe that Lily is a lion. There is almost no chance that if either 'Jason is bored' or 'Brian is white' but not both then John is in the garden. We believe that if 'Jason is bored and Lily is a lion' then Fred moved to the office. It is highly likely that if either 'Jason is bored' or 'Lily is a lion' but not both then Gertrude is a wolf.,There is little chance that 'Lily is a lion' or 'Fred moved to the office' or both.," + 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.1::factA. + 0.1::factB. + 0.75::factC. + %hop1 + 0.02::factX:-xor(factA,factB). + 0.75::factY:-and(factA,factC). + 0.9::factZ:-xor(factA,factC). + + %hop2 + conclusion:-or(factC,factY). + + query(conclusion). + ",0.7500000000000001,0.8065613122624525,validation,we believe,little chance,We believe that 'Lily is a lion' or 'Fred moved to the office' or both.,There is little chance that 'Lily is a lion' or 'Fred moved to the office' or both.,0,'Lily is a lion' or 'Fred moved to the office' or both. +It is probably not the case that Bernhard is yellow. We doubt that Brian is white. It is highly likely that Gertrude is a mouse. It is certain that if either 'Bernhard is yellow' or 'Gertrude is a mouse' but not both then Mary dropped the apple. It is probable that if 'Brian is white' or 'Bernhard is yellow' or both then Greg is a rhino. It is likely that if either 'Bernhard is yellow' or 'Gertrude is a mouse' but not both then Julius is gray.,Chances are about even that 'Bernhard is yellow' or 'Brian is white' or both.," + 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.25::factA. + 0.2::factB. + 0.9::factC. + %hop1 + 1.0::factX:-xor(factA,factC). + 0.7::factY:-or(factB,factA). + 0.7::factZ:-xor(factA,factC). + + %hop2 + conclusion:-or(factA,factB). + + query(conclusion). + ",0.4,0.8573714742948589,validation,about even,impossible,Chances are about even that 'Bernhard is yellow' or 'Brian is white' or both.,It is impossible that 'Bernhard is yellow' or 'Brian is white' or both.,1,'Bernhard is yellow' or 'Brian is white' or both. +It is highly unlikely that Mary dropped the apple. It is likely that Daniel got the football. It is highly unlikely that Brian is a frog. It is impossible that if either 'Mary dropped the apple' or 'Daniel got the football' but not both then Julius is gray. We doubt that if either 'Brian is a frog' or 'Mary dropped the apple' but not both then Bernhard is white. It is probably not the case that if 'Daniel got the football and Brian is a frog' then Lily is a rhino.,Chances are about even that 'Lily is a rhino' or 'Mary dropped the apple' or both.," + 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.05::factA. + 0.7::factB. + 0.05::factC. + %hop1 + 0.0::factX:-xor(factA,factB). + 0.2::factY:-xor(factC,factA). + 0.25::factZ:-and(factB,factC). + + %hop2 + conclusion:-or(factZ,factA). + + query(conclusion). + ",0.058312499999999996,0.8261652330466093,validation,highly unlikely,about even,It is highly unlikely that 'Lily is a rhino' or 'Mary dropped the apple' or both.,Chances are about even that 'Lily is a rhino' or 'Mary dropped the apple' or both.,0,'Lily is a rhino' or 'Mary dropped the apple' or both. +It is probably not the case that Emily is a wolf. It is almost certain that Brian is yellow. It is probably not the case that Mary left the football. It is improbable that if 'Mary left the football and Brian is yellow' then Greg is a frog. It is likely that if 'Mary left the football and Emily is a wolf' then Julius is white. It is impossible that if 'Brian is yellow and Emily is a wolf' then John went to the bedroom.,There is almost no chance that 'Greg is a frog' or 'John went to the bedroom' or both.," + 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.25::factA. + 0.95::factB. + 0.25::factC. + %hop1 + 0.1::factX:-and(factC,factB). + 0.7::factY:-and(factC,factA). + 0.0::factZ:-and(factB,factA). + + %hop2 + conclusion:-or(factX,factZ). + + query(conclusion). + ",0.02375,0.8827765553110622,validation,almost no chance,highly likely,There is almost no chance that 'Greg is a frog' or 'John went to the bedroom' or both.,It is highly likely that 'Greg is a frog' or 'John went to the bedroom' or both.,1,'Greg is a frog' or 'John went to the bedroom' or both. +Chances are slight that Bernhard is a frog. We doubt that Winona is a wolf. It is highly likely that John went to the office. It is probably not the case that if either 'Winona is a wolf' or 'John went to the office' but not both then Lily is yellow. There is little chance that if either 'Winona is a wolf' or 'Bernhard is a frog' but not both then Julius is a swan. We doubt that if 'John went to the office' or 'Bernhard is a frog' or both then Sandra got the milk.,It is probably not the case that 'Lily is yellow' or 'Bernhard is a frog' or both.," + 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.1::factA. + 0.2::factB. + 0.9::factC. + %hop1 + 0.25::factX:-xor(factB,factC). + 0.1::factY:-xor(factB,factA). + 0.2::factZ:-or(factC,factA). + + %hop2 + conclusion:-or(factX,factA). + + query(conclusion). + ",0.2665,0.8493698739747949,validation,probably not,almost certain,It is probably not the case that 'Lily is yellow' or 'Bernhard is a frog' or both.,It is almost certain that 'Lily is yellow' or 'Bernhard is a frog' or both.,1,'Lily is yellow' or 'Bernhard is a frog' or both. +Chances are slight that Bernhard is yellow. There is little chance that Fred dropped the apple. It is probably not the case that Greg is green. It is probably the case that if 'Greg is green and Fred dropped the apple' then Sumit is thirsty. It is highly unlikely that if either 'Fred dropped the apple' or 'Greg is green' but not both then John went to the kitchen. It is certain that if 'Bernhard is yellow and Fred dropped the apple' then Jessica is a mouse.,It is highly likely that 'Jessica is a mouse and Fred dropped the apple'.," + 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.1::factA. + 0.1::factB. + 0.25::factC. + %hop1 + 0.7::factX:-and(factC,factB). + 0.05::factY:-xor(factB,factC). + 1.0::factZ:-and(factA,factB). + + %hop2 + conclusion:-and(factZ,factB). + + query(conclusion). + ",0.010000000000000004,0.8951790358071614,validation,almost no chance,highly likely,There is almost no chance that 'Jessica is a mouse and Fred dropped the apple'.,It is highly likely that 'Jessica is a mouse and Fred dropped the apple'.,0,'Jessica is a mouse and Fred dropped the apple'. +It is impossible that Jessica is a mouse. It is almost certain that John went to the office. We doubt that Julius is white. It is unlikely that if either 'Jessica is a mouse' or 'Julius is white' but not both then Gertrude is a cat. There is a better than even chance that if 'Julius is white and John went to the office' then Greg is a rhino. Chances are slight that if either 'Julius is white' or 'John went to the office' but not both then Mary left the football.,It is unlikely that 'Gertrude is a cat' or 'John went to the office' or both.," + 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.95::factB. + 0.2::factC. + %hop1 + 0.2::factX:-xor(factA,factC). + 0.6::factY:-and(factC,factB). + 0.1::factZ:-xor(factC,factB). + + %hop2 + conclusion:-or(factX,factB). + + query(conclusion). + ",0.952,0.8585717143428686,validation,almost certain,unlikely,It is almost certain that 'Gertrude is a cat' or 'John went to the office' or both.,It is unlikely that 'Gertrude is a cat' or 'John went to the office' or both.,0,'Gertrude is a cat' or 'John went to the office' or both. +It is probable that Sandra left the football. It is impossible that Greg is gray. It is probably not the case that Mary grabbed the milk. It is probably not the case that if either 'Greg is gray' or 'Sandra left the football' but not both then Emily is a sheep. We doubt that if either 'Mary grabbed the milk' or 'Sandra left the football' but not both then Brian is green. It is certain that if 'Sandra left the football' or 'Mary grabbed the milk' or both then Bernhard is a frog.,It is probably not the case that 'Emily is a sheep' or 'Brian is green' or both.," + 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.7::factA. + 0.0::factB. + 0.25::factC. + %hop1 + 0.25::factX:-xor(factB,factA). + 0.2::factY:-xor(factC,factA). + 1.0::factZ:-or(factA,factC). + + %hop2 + conclusion:-or(factX,factY). + + query(conclusion). + ",0.26875,0.8789757951590318,validation,probably not,certain,It is probably not the case that 'Emily is a sheep' or 'Brian is green' or both.,It is certain that 'Emily is a sheep' or 'Brian is green' or both.,1,'Emily is a sheep' or 'Brian is green' or both. +It is probably not the case that John moved to the garden. It is probable that Winona is a wolf. It is almost certain that Mary went to the office. It is highly likely that if 'John moved to the garden' or 'Winona is a wolf' or both then Sandra left the apple. We doubt that if 'John moved to the garden and Winona is a wolf' then Bill got the milk there. It is highly unlikely that if 'Mary went to the office and Winona is a wolf' then Julius is yellow.,There is almost no chance that 'Sandra left the apple and Julius is yellow'.," + 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.25::factA. + 0.7::factB. + 0.95::factC. + %hop1 + 0.9::factX:-or(factA,factB). + 0.2::factY:-and(factA,factB). + 0.05::factZ:-and(factC,factB). + + %hop2 + conclusion:-and(factX,factZ). + + query(conclusion). + ",0.029925,0.8301660332066413,validation,almost no chance,better than even,There is almost no chance that 'Sandra left the apple and Julius is yellow'.,There is a better than even chance that 'Sandra left the apple and Julius is yellow'.,1,'Sandra left the apple and Julius is yellow'. +We believe that John went to the office. It is likely that Emily is a mouse. It is highly unlikely that Greg is a lion. It is impossible that if 'Greg is a lion and Emily is a mouse' then Julius is a rhino. It is certain that if 'John went to the office and Emily is a mouse' then Bernhard is green. It is impossible that if 'Greg is a lion' or 'Emily is a mouse' or both then Yann is tired.,We believe that either 'Yann is tired' or 'John went to the office' but not both.," + 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.75::factA. + 0.7::factB. + 0.05::factC. + %hop1 + 0.0::factX:-and(factC,factB). + 1.0::factY:-and(factA,factB). + 0.0::factZ:-or(factC,factB). + + %hop2 + conclusion:-xor(factZ,factA). + + query(conclusion). + ",0.75,0.874374874974995,validation,we believe,chances are slight,We believe that either 'Yann is tired' or 'John went to the office' but not both.,Chances are slight that either 'Yann is tired' or 'John went to the office' but not both.,1,Either 'Yann is tired' or 'John went to the office' but not both. +It is probably not the case that Sumit is thirsty. It is certain that Fred went to the garden. It is impossible that Brian is a frog. It is probably not the case that if either 'Brian is a frog' or 'Fred went to the garden' but not both then Mary moved to the office. There is a very good chance that if 'Brian is a frog' or 'Sumit is thirsty' or both then John put down the apple. It is almost certain that if 'Fred went to the garden and Sumit is thirsty' then Sandra dropped the milk.,It is almost certain that 'Brian is a frog' or 'John put down the apple' or both.," + 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.25::factA. + 1.0::factB. + 0.0::factC. + %hop1 + 0.25::factX:-xor(factC,factB). + 0.8::factY:-or(factC,factA). + 0.95::factZ:-and(factB,factA). + + %hop2 + conclusion:-or(factC,factY). + + query(conclusion). + ",0.2,0.8539707941588318,validation,we doubt,almost certain,We doubt that 'Brian is a frog' or 'John put down the apple' or both.,It is almost certain that 'Brian is a frog' or 'John put down the apple' or both.,0,'Brian is a frog' or 'John put down the apple' or both. +It is impossible that Bill went to the garden. It is likely that John put down the milk. It is highly likely that Greg is white. It is impossible that if 'Greg is white' or 'John put down the milk' or both then Brian is a rhino. We believe that if 'Greg is white' or 'Bill went to the garden' or both then Julius is yellow. It is almost certain that if 'Bill went to the garden' or 'Greg is white' or both then Sandra left the milk.,There is almost no chance that 'John put down the milk and Greg is white'.," + 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.7::factB. + 0.9::factC. + %hop1 + 0.0::factX:-or(factC,factB). + 0.75::factY:-or(factC,factA). + 0.95::factZ:-or(factA,factC). + + %hop2 + conclusion:-and(factB,factC). + + query(conclusion). + ",0.63,0.8459691938387678,validation,better than even,almost no chance,There is a better than even chance that 'John put down the milk and Greg is white'.,There is almost no chance that 'John put down the milk and Greg is white'.,0,'John put down the milk and Greg is white'. +It is certain that Mary got the football. There is a very good chance that Greg is green. It is likely that John moved to the garden. It is probably not the case that if either 'Mary got the football' or 'Greg is green' but not both then Jessica is a cat. There is almost no chance that if 'Greg is green' or 'Mary got the football' or both then Bernhard is gray. There is a very good chance that if 'John moved to the garden and Mary got the football' then Jeff went to the hallway.,It is probably not the case that either 'John moved to the garden' or 'Mary got the football' but not both.," + 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 + 1.0::factA. + 0.8::factB. + 0.7::factC. + %hop1 + 0.25::factX:-xor(factA,factB). + 0.02::factY:-or(factB,factA). + 0.8::factZ:-and(factC,factA). + + %hop2 + conclusion:-xor(factC,factA). + + query(conclusion). + ",0.30000000000000004,0.8599719943988797,validation,probably not,probably,It is probably not the case that either 'John moved to the garden' or 'Mary got the football' but not both.,It is probably the case that either 'John moved to the garden' or 'Mary got the football' but not both.,1,Either 'John moved to the garden' or 'Mary got the football' but not both. +It is probable that Brian is a rhino. It is unlikely that Sandra got the football. It is probably the case that Bernhard is gray. It is probably the case that if 'Sandra got the football' or 'Brian is a rhino' or both then Greg is a swan. It is improbable that if either 'Bernhard is gray' or 'Brian is a rhino' but not both then Julius is white. It is highly likely that if 'Bernhard is gray and Sandra got the football' then Lily is green.,Chances are about even that 'Greg is a swan and Brian is a rhino'.," + 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.7::factA. + 0.2::factB. + 0.7::factC. + %hop1 + 0.7::factX:-or(factB,factA). + 0.1::factY:-xor(factC,factA). + 0.9::factZ:-and(factC,factB). + + %hop2 + conclusion:-and(factX,factA). + + query(conclusion). + ",0.48999999999999994,0.8073614722944589,validation,about even,impossible,Chances are about even that 'Greg is a swan and Brian is a rhino'.,It is impossible that 'Greg is a swan and Brian is a rhino'.,1,'Greg is a swan and Brian is a rhino'. +It is probable that Sandra dropped the apple. There is little chance that Gertrude is a cat. There is a very good chance that Greg is white. There is little chance that if either 'Gertrude is a cat' or 'Greg is white' but not both then Bill went to the kitchen. We believe that if 'Gertrude is a cat' or 'Sandra dropped the apple' or both then Brian is a rhino. We doubt that if 'Sandra dropped the apple and Greg is white' then Bernhard is a swan.,It is improbable that 'Bernhard is a swan' or 'Sandra dropped the apple' or both.," + 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.7::factA. + 0.1::factB. + 0.8::factC. + %hop1 + 0.1::factX:-xor(factB,factC). + 0.75::factY:-or(factB,factA). + 0.2::factZ:-and(factA,factC). + + %hop2 + conclusion:-or(factZ,factA). + + query(conclusion). + ",0.7,0.8455691138227646,validation,probable,improbable,It is probable that 'Bernhard is a swan' or 'Sandra dropped the apple' or both.,It is improbable that 'Bernhard is a swan' or 'Sandra dropped the apple' or both.,0,'Bernhard is a swan' or 'Sandra dropped the apple' or both. +It is almost certain that Jeff left the apple. Chances are slight that Bernhard is a rhino. It is impossible that Brian is a swan. It is highly likely that if 'Brian is a swan' or 'Bernhard is a rhino' or both then Greg is a swan. Chances are about even that if either 'Brian is a swan' or 'Jeff left the apple' but not both then Bill went to the office. Chances are slight that if 'Jeff left the apple' or 'Brian is a swan' or both then Lily is a frog.,It is improbable that 'Greg is a swan' or 'Brian is a swan' or both.," + 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.95::factA. + 0.1::factB. + 0.0::factC. + %hop1 + 0.9::factX:-or(factC,factB). + 0.5::factY:-xor(factC,factA). + 0.1::factZ:-or(factA,factC). + + %hop2 + conclusion:-or(factX,factC). + + query(conclusion). + ",0.09000000000000001,0.8269653930786157,validation,improbable,better than even,It is improbable that 'Greg is a swan' or 'Brian is a swan' or both.,There is a better than even chance that 'Greg is a swan' or 'Brian is a swan' or both.,1,'Greg is a swan' or 'Brian is a swan' or both. +There is almost no chance that Brian is green. It is almost certain that Julius is a lion. It is improbable that Mary dropped the apple. It is probably not the case that if either 'Mary dropped the apple' or 'Brian is green' but not both then Jessica is a sheep. There is almost no chance that if 'Brian is green and Julius is a lion' then Lily is yellow. There is little chance that if 'Julius is a lion' or 'Mary dropped the apple' or both then Bernhard is a frog.,There is a better than even chance that either 'Brian is green' or 'Mary dropped the apple' but not both.," + 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.95::factB. + 0.1::factC. + %hop1 + 0.25::factX:-xor(factC,factA). + 0.02::factY:-and(factA,factB). + 0.1::factZ:-or(factB,factC). + + %hop2 + conclusion:-xor(factA,factC). + + query(conclusion). + ",0.116,0.8731746349269854,validation,chances are slight,better than even,Chances are slight that either 'Brian is green' or 'Mary dropped the apple' but not both.,There is a better than even chance that either 'Brian is green' or 'Mary dropped the apple' but not both.,0,Either 'Brian is green' or 'Mary dropped the apple' but not both. +It is highly unlikely that John moved to the garden. We believe that Greg is a lion. There is a very good chance that Bernhard is gray. It is probable that if 'Bernhard is gray' or 'Greg is a lion' or both then Sandra left the milk. We doubt that if either 'Greg is a lion' or 'John moved to the garden' but not both then Brian is a frog. There is little chance that if 'John moved to the garden' or 'Greg is a lion' or both then Mary dropped the milk.,We believe that either 'Bernhard is gray' or 'John moved to the garden' but not both.," + 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.05::factA. + 0.75::factB. + 0.8::factC. + %hop1 + 0.7::factX:-or(factC,factB). + 0.2::factY:-xor(factB,factA). + 0.1::factZ:-or(factA,factB). + + %hop2 + conclusion:-xor(factC,factA). + + query(conclusion). + ",0.77,0.8013602720544108,validation,we believe,improbable,We believe that either 'Bernhard is gray' or 'John moved to the garden' but not both.,It is improbable that either 'Bernhard is gray' or 'John moved to the garden' but not both.,1,Either 'Bernhard is gray' or 'John moved to the garden' but not both. +It is likely that Lily is green. We believe that Mary left the football. Chances are slight that Sandra got the football. It is probable that if either 'Mary left the football' or 'Sandra got the football' but not both then Jason is tired. It is probable that if 'Lily is green and Mary left the football' then Greg is a swan. It is almost certain that if 'Lily is green' or 'Sandra got the football' or both then Brian is a frog.,It is almost certain that 'Lily is green and Sandra got the football'.," + 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.7::factA. + 0.75::factB. + 0.1::factC. + %hop1 + 0.7::factX:-xor(factB,factC). + 0.7::factY:-and(factA,factB). + 0.95::factZ:-or(factA,factC). + + %hop2 + conclusion:-and(factA,factC). + + query(conclusion). + ",0.07,0.8591718343668734,validation,highly unlikely,almost certain,It is highly unlikely that 'Lily is green and Sandra got the football'.,It is almost certain that 'Lily is green and Sandra got the football'.,0,'Lily is green and Sandra got the football'. +There is little chance that Julius is gray. There is a very good chance that John put down the milk. There is a better than even chance that Lily is a swan. There is little chance that if 'Lily is a swan' or 'John put down the milk' or both then Greg is a frog. There is little chance that if either 'Julius is gray' or 'John put down the milk' but not both then Gertrude is a mouse. It is likely that if 'Julius is gray and Lily is a swan' then Sandra left the football.,We doubt that 'Greg is a frog' or 'Gertrude is a mouse' or both.," + 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.1::factA. + 0.8::factB. + 0.6::factC. + %hop1 + 0.1::factX:-or(factC,factB). + 0.1::factY:-xor(factA,factB). + 0.7::factZ:-and(factA,factC). + + %hop2 + conclusion:-or(factX,factY). + + query(conclusion). + ",0.15868000000000002,0.8741748349669934,validation,we doubt,we believe,We doubt that 'Greg is a frog' or 'Gertrude is a mouse' or both.,We believe that 'Greg is a frog' or 'Gertrude is a mouse' or both.,1,'Greg is a frog' or 'Gertrude is a mouse' or both. +It is probable that Winona is a cat. It is likely that Mary grabbed the milk. It is likely that Bernhard is a frog. It is probably not the case that if 'Mary grabbed the milk and Winona is a cat' then Julius is a rhino. It is probably the case that if either 'Winona is a cat' or 'Bernhard is a frog' but not both then Lily is a swan. It is likely that if 'Bernhard is a frog' or 'Winona is a cat' or both then John moved to the office.,It is likely that 'Lily is a swan and Winona is a cat'.," + 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.7::factA. + 0.7::factB. + 0.7::factC. + %hop1 + 0.25::factX:-and(factB,factA). + 0.7::factY:-xor(factA,factC). + 0.7::factZ:-or(factC,factA). + + %hop2 + conclusion:-and(factY,factA). + + query(conclusion). + ",0.147,0.8235647129425885,validation,improbable,likely,It is improbable that 'Lily is a swan and Winona is a cat'.,It is likely that 'Lily is a swan and Winona is a cat'.,0,'Lily is a swan and Winona is a cat'. +Chances are slight that Sandra got the milk. There is a better than even chance that Julius is yellow. It is highly likely that John moved to the garden. It is likely that if either 'John moved to the garden' or 'Sandra got the milk' but not both then Bernhard is a rhino. We believe that if 'Julius is yellow and Sandra got the milk' then Brian is a frog. It is probable that if either 'Julius is yellow' or 'Sandra got the milk' but not both then Mary left the football.,There is almost no chance that 'Julius is yellow and John moved to the garden'.," + 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.1::factA. + 0.6::factB. + 0.9::factC. + %hop1 + 0.7::factX:-xor(factC,factA). + 0.75::factY:-and(factB,factA). + 0.7::factZ:-xor(factB,factA). + + %hop2 + conclusion:-and(factB,factC). + + query(conclusion). + ",0.5399999999999999,0.8995799159831966,validation,about even,almost no chance,Chances are about even that 'Julius is yellow and John moved to the garden'.,There is almost no chance that 'Julius is yellow and John moved to the garden'.,0,'Julius is yellow and John moved to the garden'. +It is impossible that John took the football. It is probably the case that Mary dropped the apple. It is probably the case that Greg is a swan. It is unlikely that if either 'Greg is a swan' or 'Mary dropped the apple' but not both then Sandra left the apple. There is almost no chance that if 'John took the football' or 'Greg is a swan' or both then Bernhard is yellow. It is highly unlikely that if 'John took the football and Greg is a swan' then Bill went to the kitchen.,It is certain that 'Bernhard is yellow' or 'Sandra left the apple' or both.," + 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.7::factB. + 0.7::factC. + %hop1 + 0.2::factX:-xor(factC,factB). + 0.02::factY:-or(factA,factC). + 0.05::factZ:-and(factA,factC). + + %hop2 + conclusion:-or(factY,factX). + + query(conclusion). + ",0.09716000000000002,0.8797759551910382,validation,chances are slight,certain,Chances are slight that 'Bernhard is yellow' or 'Sandra left the apple' or both.,It is certain that 'Bernhard is yellow' or 'Sandra left the apple' or both.,0,'Bernhard is yellow' or 'Sandra left the apple' or both. +It is highly likely that John dropped the apple. It is unlikely that Mary went to the kitchen. It is probably the case that Bill moved to the office. It is probably the case that if either 'Bill moved to the office' or 'John dropped the apple' but not both then Julius is a rhino. It is probable that if 'Bill moved to the office' or 'John dropped the apple' or both then Lily is a swan. It is improbable that if 'Bill moved to the office and John dropped the apple' then Brian is green.,It is highly unlikely that 'Brian is green and Bill moved to the office'.," + 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.9::factA. + 0.2::factB. + 0.7::factC. + %hop1 + 0.7::factX:-xor(factC,factA). + 0.7::factY:-or(factC,factA). + 0.1::factZ:-and(factC,factA). + + %hop2 + conclusion:-and(factZ,factC). + + query(conclusion). + ",0.06300000000000001,0.8407681536307261,validation,highly unlikely,likely,It is highly unlikely that 'Brian is green and Bill moved to the office'.,It is likely that 'Brian is green and Bill moved to the office'.,1,'Brian is green and Bill moved to the office'. +There is a better than even chance that Greg is a rhino. It is almost certain that Brian is yellow. It is almost certain that John went to the hallway. It is highly unlikely that if 'Brian is yellow' or 'Greg is a rhino' or both then Sandra left the football. It is unlikely that if 'John went to the hallway' or 'Greg is a rhino' or both then Gertrude is a cat. There is a better than even chance that if either 'John went to the hallway' or 'Brian is yellow' but not both then Bernhard is a frog.,It is almost certain that 'Brian is yellow' or 'Gertrude is a cat' or both.," + 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.6::factA. + 0.95::factB. + 0.95::factC. + %hop1 + 0.05::factX:-or(factB,factA). + 0.2::factY:-or(factC,factA). + 0.6::factZ:-xor(factC,factB). + + %hop2 + conclusion:-or(factB,factY). + + query(conclusion). + ",0.9598,0.8711742348469694,validation,almost certain,unlikely,It is almost certain that 'Brian is yellow' or 'Gertrude is a cat' or both.,It is unlikely that 'Brian is yellow' or 'Gertrude is a cat' or both.,1,'Brian is yellow' or 'Gertrude is a cat' or both. +There is a very good chance that Greg is a swan. We believe that Sandra dropped the milk. It is probably the case that Brian is a rhino. It is probably not the case that if either 'Brian is a rhino' or 'Greg is a swan' but not both then Yann is tired. It is almost certain that if either 'Greg is a swan' or 'Brian is a rhino' but not both then Lily is white. There is a very good chance that if 'Brian is a rhino' or 'Sandra dropped the milk' or both then John went to the kitchen.,There is almost no chance that 'John went to the kitchen' or 'Lily is white' or both.," + 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.8::factA. + 0.75::factB. + 0.7::factC. + %hop1 + 0.25::factX:-xor(factC,factA). + 0.95::factY:-xor(factA,factC). + 0.8::factZ:-or(factC,factB). + + %hop2 + conclusion:-or(factZ,factY). + + query(conclusion). + ",0.8578,0.8421684336867373,validation,highly likely,almost no chance,It is highly likely that 'John went to the kitchen' or 'Lily is white' or both.,There is almost no chance that 'John went to the kitchen' or 'Lily is white' or both.,0,'John went to the kitchen' or 'Lily is white' or both. +It is probably the case that Lily is a frog. It is highly likely that Jessica is a mouse. It is probable that Brian is yellow. It is almost certain that if 'Jessica is a mouse' or 'Brian is yellow' or both then John got the milk. It is improbable that if 'Brian is yellow' or 'Jessica is a mouse' or both then Julius is gray. It is probable that if either 'Lily is a frog' or 'Brian is yellow' but not both then Mary went to the garden.,There is a very good chance that either 'Brian is yellow' or 'Jessica is a mouse' but not both.," + 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.7::factA. + 0.9::factB. + 0.7::factC. + %hop1 + 0.95::factX:-or(factB,factC). + 0.1::factY:-or(factC,factB). + 0.7::factZ:-xor(factA,factC). + + %hop2 + conclusion:-xor(factC,factB). + + query(conclusion). + ",0.33999999999999997,0.8107621524304861,validation,probably not,very good chance,It is probably not the case that either 'Brian is yellow' or 'Jessica is a mouse' but not both.,There is a very good chance that either 'Brian is yellow' or 'Jessica is a mouse' but not both.,0,Either 'Brian is yellow' or 'Jessica is a mouse' but not both. +There is little chance that Sumit is thirsty. We doubt that Bernhard is a swan. It is impossible that Sandra got the football. Chances are about even that if either 'Sandra got the football' or 'Sumit is thirsty' but not both then Jessica is a cat. It is probably not the case that if 'Sandra got the football' or 'Sumit is thirsty' or both then Greg is yellow. It is probably not the case that if 'Sumit is thirsty' or 'Sandra got the football' or both then John dropped the apple.,It is likely that 'Bernhard is a swan and Greg is yellow'.," + 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.1::factA. + 0.2::factB. + 0.0::factC. + %hop1 + 0.5::factX:-xor(factC,factA). + 0.25::factY:-or(factC,factA). + 0.25::factZ:-or(factA,factC). + + %hop2 + conclusion:-and(factB,factY). + + query(conclusion). + ",0.005000000000000002,0.8335667133426685,validation,impossible,likely,It is impossible that 'Bernhard is a swan and Greg is yellow'.,It is likely that 'Bernhard is a swan and Greg is yellow'.,0,'Bernhard is a swan and Greg is yellow'. +We doubt that Sandra left the milk. It is highly unlikely that Daniel got the milk. There is little chance that Greg is green. It is highly unlikely that if 'Sandra left the milk and Daniel got the milk' then Mary went to the office. It is probable that if either 'Sandra left the milk' or 'Greg is green' but not both then Brian is a swan. It is probably the case that if either 'Greg is green' or 'Sandra left the milk' but not both then John moved to the garden.,Chances are about even that 'Greg is green and Mary went to the office'.," + 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.05::factB. + 0.1::factC. + %hop1 + 0.05::factX:-and(factA,factB). + 0.7::factY:-xor(factA,factC). + 0.7::factZ:-xor(factC,factA). + + %hop2 + conclusion:-and(factC,factX). + + query(conclusion). + ",5.000000000000004e-05,0.884376875375075,validation,impossible,about even,It is impossible that 'Greg is green and Mary went to the office'.,Chances are about even that 'Greg is green and Mary went to the office'.,0,'Greg is green and Mary went to the office'. +It is highly likely that Bernhard is a swan. It is highly likely that Fred moved to the office. There is almost no chance that Mary dropped the milk. It is probably the case that if 'Fred moved to the office and Bernhard is a swan' then Lily is green. We doubt that if 'Fred moved to the office' or 'Bernhard is a swan' or both then Antoine is bored. It is impossible that if either 'Bernhard is a swan' or 'Fred moved to the office' but not both then Julius is yellow.,Chances are slight that either 'Fred moved to the office' or 'Julius is yellow' but not both.," + 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.9::factA. + 0.9::factB. + 0.02::factC. + %hop1 + 0.7::factX:-and(factB,factA). + 0.2::factY:-or(factB,factA). + 0.0::factZ:-xor(factA,factB). + + %hop2 + conclusion:-xor(factB,factZ). + + query(conclusion). + ",0.9,0.872374474894979,validation,highly likely,chances are slight,It is highly likely that either 'Fred moved to the office' or 'Julius is yellow' but not both.,Chances are slight that either 'Fred moved to the office' or 'Julius is yellow' but not both.,0,Either 'Fred moved to the office' or 'Julius is yellow' but not both. +There is little chance that Jessica is a sheep. There is little chance that Greg is a frog. It is highly unlikely that Mary discarded the milk. It is probably not the case that if 'Mary discarded the milk and Greg is a frog' then John took the apple. It is certain that if either 'Greg is a frog' or 'Jessica is a sheep' but not both then Bernhard is green. Chances are about even that if either 'Greg is a frog' or 'Mary discarded the milk' but not both then Fred dropped the milk.,It is highly unlikely that either 'John took the apple' or 'Fred dropped the milk' but not both.," + 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.1::factA. + 0.1::factB. + 0.05::factC. + %hop1 + 0.25::factX:-and(factC,factB). + 1.0::factY:-xor(factB,factA). + 0.5::factZ:-xor(factB,factC). + + %hop2 + conclusion:-xor(factX,factZ). + + query(conclusion). + ",0.07125,0.8545709141828366,validation,highly unlikely,about even,It is highly unlikely that either 'John took the apple' or 'Fred dropped the milk' but not both.,Chances are about even that either 'John took the apple' or 'Fred dropped the milk' but not both.,1,Either 'John took the apple' or 'Fred dropped the milk' but not both. +We doubt that Daniel put down the milk. It is impossible that Bernhard is a swan. It is improbable that Greg is white. It is highly unlikely that if either 'Daniel put down the milk' or 'Greg is white' but not both then Gertrude is a mouse. Chances are about even that if 'Greg is white and Bernhard is a swan' then Julius is a lion. Chances are about even that if either 'Greg is white' or 'Daniel put down the milk' but not both then Mary went to the office.,It is impossible that 'Bernhard is a swan and Daniel put down the milk'.," + 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.0::factB. + 0.1::factC. + %hop1 + 0.05::factX:-xor(factA,factC). + 0.5::factY:-and(factC,factB). + 0.5::factZ:-xor(factC,factA). + + %hop2 + conclusion:-and(factB,factA). + + query(conclusion). + ",0.0,0.8799759951990398,validation,impossible,highly likely,It is impossible that 'Bernhard is a swan and Daniel put down the milk'.,It is highly likely that 'Bernhard is a swan and Daniel put down the milk'.,1,'Bernhard is a swan and Daniel put down the milk'. +It is certain that Sandra took the milk. There is a very good chance that Mary moved to the office. Chances are about even that Jessica is a cat. We doubt that if either 'Mary moved to the office' or 'Jessica is a cat' but not both then John went to the garden. It is highly unlikely that if 'Mary moved to the office' or 'Jessica is a cat' or both then Lily is a rhino. It is highly likely that if 'Jessica is a cat and Sandra took the milk' then Greg is a swan.,It is improbable that 'John went to the garden' or 'Jessica is a cat' or both.," + 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 + 1.0::factA. + 0.8::factB. + 0.5::factC. + %hop1 + 0.2::factX:-xor(factB,factC). + 0.05::factY:-or(factB,factC). + 0.9::factZ:-and(factC,factA). + + %hop2 + conclusion:-or(factX,factC). + + query(conclusion). + ",0.5800000000000001,0.8787757551510302,validation,better than even,improbable,There is a better than even chance that 'John went to the garden' or 'Jessica is a cat' or both.,It is improbable that 'John went to the garden' or 'Jessica is a cat' or both.,0,'John went to the garden' or 'Jessica is a cat' or both. +It is highly likely that Brian is a rhino. It is impossible that Lily is a swan. It is almost certain that Sumit is thirsty. We believe that if 'Sumit is thirsty' or 'Lily is a swan' or both then Julius is gray. It is impossible that if 'Sumit is thirsty' or 'Brian is a rhino' or both then Mary went to the hallway. It is highly likely that if 'Sumit is thirsty and Lily is a swan' then John took the football.,Chances are slight that 'Julius is gray and Sumit is thirsty'.," + 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.9::factA. + 0.0::factB. + 0.95::factC. + %hop1 + 0.75::factX:-or(factC,factB). + 0.0::factY:-or(factC,factA). + 0.9::factZ:-and(factC,factB). + + %hop2 + conclusion:-and(factX,factC). + + query(conclusion). + ",0.7125,0.8499699939987998,validation,probably,chances are slight,It is probably the case that 'Julius is gray and Sumit is thirsty'.,Chances are slight that 'Julius is gray and Sumit is thirsty'.,0,'Julius is gray and Sumit is thirsty'. +It is likely that Jeff went to the bedroom. It is unlikely that Bernhard is a rhino. We believe that Lily is a lion. It is highly unlikely that if either 'Lily is a lion' or 'Bernhard is a rhino' but not both then Mary took the milk. There is a better than even chance that if either 'Bernhard is a rhino' or 'Lily is a lion' but not both then Sandra left the apple. It is highly unlikely that if 'Bernhard is a rhino' or 'Jeff went to the bedroom' or both then Julius is a frog.,It is highly unlikely that either 'Bernhard is a rhino' or 'Sandra left the apple' but not both.," + 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.7::factA. + 0.2::factB. + 0.75::factC. + %hop1 + 0.05::factX:-xor(factC,factB). + 0.6::factY:-xor(factB,factC). + 0.05::factZ:-or(factB,factA). + + %hop2 + conclusion:-xor(factB,factY). + + query(conclusion). + ",0.5299999999999999,0.8969793958791759,validation,about even,highly unlikely,Chances are about even that either 'Bernhard is a rhino' or 'Sandra left the apple' but not both.,It is highly unlikely that either 'Bernhard is a rhino' or 'Sandra left the apple' but not both.,0,Either 'Bernhard is a rhino' or 'Sandra left the apple' but not both. +It is probably not the case that Winona is a mouse. There is little chance that Fred put down the apple. It is probable that Julius is yellow. It is unlikely that if 'Fred put down the apple' or 'Julius is yellow' or both then Mary took the football. It is impossible that if either 'Winona is a mouse' or 'Fred put down the apple' but not both then John picked up the milk. We doubt that if 'Fred put down the apple' or 'Julius is yellow' or both then Lily is a frog.,It is probably the case that 'Lily is a frog' or 'Julius is yellow' or both.," + 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.25::factA. + 0.1::factB. + 0.7::factC. + %hop1 + 0.2::factX:-or(factB,factC). + 0.0::factY:-xor(factA,factB). + 0.2::factZ:-or(factB,factC). + + %hop2 + conclusion:-or(factZ,factC). + + query(conclusion). + ",0.706,0.8759751950390078,validation,probably,we doubt,It is probably the case that 'Lily is a frog' or 'Julius is yellow' or both.,We doubt that 'Lily is a frog' or 'Julius is yellow' or both.,1,'Lily is a frog' or 'Julius is yellow' or both. +There is a very good chance that Brian is white. It is highly likely that Fred dropped the milk. There is a better than even chance that Lily is a frog. It is highly unlikely that if 'Lily is a frog and Fred dropped the milk' then Julius is a rhino. There is almost no chance that if either 'Fred dropped the milk' or 'Lily is a frog' but not both then Mary went to the office. It is probably not the case that if 'Fred dropped the milk' or 'Lily is a frog' or both then Greg is a swan.,There is little chance that 'Fred dropped the milk' or 'Greg is a swan' or both.," + 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.8::factA. + 0.9::factB. + 0.6::factC. + %hop1 + 0.05::factX:-and(factC,factB). + 0.02::factY:-xor(factB,factC). + 0.25::factZ:-or(factB,factC). + + %hop2 + conclusion:-or(factB,factZ). + + query(conclusion). + ",0.915,0.8737747549509902,validation,highly likely,little chance,It is highly likely that 'Fred dropped the milk' or 'Greg is a swan' or both.,There is little chance that 'Fred dropped the milk' or 'Greg is a swan' or both.,0,'Fred dropped the milk' or 'Greg is a swan' or both. +It is improbable that Greg is a rhino. It is highly likely that Bernhard is green. There is little chance that Mary went to the kitchen. There is almost no chance that if either 'Mary went to the kitchen' or 'Bernhard is green' but not both then Lily is a swan. Chances are slight that if 'Mary went to the kitchen' or 'Bernhard is green' or both then Jeff dropped the apple. There is a better than even chance that if 'Mary went to the kitchen and Greg is a rhino' then Brian is yellow.,We doubt that 'Greg is a rhino' or 'Mary went to the kitchen' or both.," + 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.1::factA. + 0.9::factB. + 0.1::factC. + %hop1 + 0.02::factX:-xor(factC,factB). + 0.1::factY:-or(factC,factB). + 0.6::factZ:-and(factC,factA). + + %hop2 + conclusion:-or(factA,factC). + + query(conclusion). + ",0.19000000000000006,0.8395679135827165,validation,we doubt,certain,We doubt that 'Greg is a rhino' or 'Mary went to the kitchen' or both.,It is certain that 'Greg is a rhino' or 'Mary went to the kitchen' or both.,1,'Greg is a rhino' or 'Mary went to the kitchen' or both. +It is probable that Bernhard is a frog. We believe that Greg is a rhino. It is highly likely that John left the football. We believe that if 'John left the football and Bernhard is a frog' then Julius is white. Chances are about even that if 'Greg is a rhino and Bernhard is a frog' then Brian is white. It is impossible that if 'Greg is a rhino and John left the football' then Mary went to the office.,It is impossible that 'John left the football' or 'Greg is a rhino' or both.," + 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.7::factA. + 0.75::factB. + 0.9::factC. + %hop1 + 0.75::factX:-and(factC,factA). + 0.5::factY:-and(factB,factA). + 0.0::factZ:-and(factB,factC). + + %hop2 + conclusion:-or(factC,factB). + + query(conclusion). + ",0.9750000000000001,0.8213642728545709,validation,certain,impossible,It is certain that 'John left the football' or 'Greg is a rhino' or both.,It is impossible that 'John left the football' or 'Greg is a rhino' or both.,0,'John left the football' or 'Greg is a rhino' or both. +There is a very good chance that John went to the kitchen. We doubt that Sandra left the milk. We doubt that Lily is gray. There is almost no chance that if either 'John went to the kitchen' or 'Lily is gray' but not both then Yann is hungry. There is a better than even chance that if 'Sandra left the milk' or 'John went to the kitchen' or both then Brian is yellow. There is a very good chance that if 'Sandra left the milk and Lily is gray' then Bernhard is a swan.,There is almost no chance that 'Brian is yellow' or 'Bernhard is a swan' or both.," + 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.8::factA. + 0.2::factB. + 0.2::factC. + %hop1 + 0.02::factX:-xor(factA,factC). + 0.6::factY:-or(factB,factA). + 0.8::factZ:-and(factB,factC). + + %hop2 + conclusion:-or(factY,factZ). + + query(conclusion). + ",0.5168,0.8187637527505501,validation,about even,almost no chance,Chances are about even that 'Brian is yellow' or 'Bernhard is a swan' or both.,There is almost no chance that 'Brian is yellow' or 'Bernhard is a swan' or both.,0,'Brian is yellow' or 'Bernhard is a swan' or both. +There is little chance that John moved to the garden. It is impossible that Mary left the football. We doubt that Lily is gray. It is highly likely that if 'Lily is gray' or 'Mary left the football' or both then Julius is a frog. There is little chance that if either 'Mary left the football' or 'John moved to the garden' but not both then Bernhard is a frog. It is probably not the case that if either 'John moved to the garden' or 'Mary left the football' but not both then Brian is a rhino.,It is probably not the case that either 'John moved to the garden' or 'Lily is gray' but not both.," + 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.1::factA. + 0.0::factB. + 0.2::factC. + %hop1 + 0.9::factX:-or(factC,factB). + 0.1::factY:-xor(factB,factA). + 0.25::factZ:-xor(factA,factB). + + %hop2 + conclusion:-xor(factA,factC). + + query(conclusion). + ",0.26,0.8201640328065614,validation,probably not,we believe,It is probably not the case that either 'John moved to the garden' or 'Lily is gray' but not both.,We believe that either 'John moved to the garden' or 'Lily is gray' but not both.,1,Either 'John moved to the garden' or 'Lily is gray' but not both. +There is almost no chance that Greg is a swan. There is almost no chance that Julius is gray. It is likely that Brian is white. There is little chance that if either 'Julius is gray' or 'Brian is white' but not both then John took the apple. It is almost certain that if 'Brian is white' or 'Julius is gray' or both then Lily is green. It is almost certain that if 'Brian is white' or 'Julius is gray' or both then Winona is a wolf.,It is likely that 'Lily is green' or 'John took the apple' or both.," + 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.02::factB. + 0.7::factC. + %hop1 + 0.1::factX:-xor(factB,factC). + 0.95::factY:-or(factC,factB). + 0.95::factZ:-or(factC,factB). + + %hop2 + conclusion:-or(factY,factX). + + query(conclusion). + ",0.67416,0.8103620724144829,validation,likely,chances are slight,It is likely that 'Lily is green' or 'John took the apple' or both.,Chances are slight that 'Lily is green' or 'John took the apple' or both.,1,'Lily is green' or 'John took the apple' or both. +There is a very good chance that Sandra left the football. There is a very good chance that Lily is a lion. It is highly likely that Brian is a rhino. There is a very good chance that if 'Sandra left the football' or 'Brian is a rhino' or both then Greg is white. It is improbable that if either 'Sandra left the football' or 'Brian is a rhino' but not both then Yann is tired. It is probably not the case that if 'Sandra left the football' or 'Brian is a rhino' or both then John went to the office.,There is a very good chance that either 'Lily is a lion' or 'Greg is white' but not both.," + 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.8::factA. + 0.8::factB. + 0.9::factC. + %hop1 + 0.8::factX:-or(factA,factC). + 0.1::factY:-xor(factA,factC). + 0.25::factZ:-or(factA,factC). + + %hop2 + conclusion:-xor(factB,factX). + + query(conclusion). + ",0.32959999999999995,0.8821764352870574,validation,probably not,very good chance,It is probably not the case that either 'Lily is a lion' or 'Greg is white' but not both.,There is a very good chance that either 'Lily is a lion' or 'Greg is white' but not both.,0,Either 'Lily is a lion' or 'Greg is white' but not both. +It is probable that John went to the office. It is probably the case that Bernhard is gray. It is likely that Brian is a rhino. There is almost no chance that if 'Bernhard is gray and Brian is a rhino' then Lily is a lion. It is probably not the case that if 'Bernhard is gray' or 'Brian is a rhino' or both then Julius is yellow. It is almost certain that if 'Brian is a rhino and Bernhard is gray' then Daniel got the football.,Chances are about even that 'Brian is a rhino and John went to the office'.," + 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.7::factA. + 0.7::factB. + 0.7::factC. + %hop1 + 0.02::factX:-and(factB,factC). + 0.25::factY:-or(factB,factC). + 0.95::factZ:-and(factC,factB). + + %hop2 + conclusion:-and(factC,factA). + + query(conclusion). + ",0.48999999999999994,0.8665733146629326,validation,about even,almost no chance,Chances are about even that 'Brian is a rhino and John went to the office'.,There is almost no chance that 'Brian is a rhino and John went to the office'.,1,'Brian is a rhino and John went to the office'. +Chances are slight that John discarded the apple. There is a better than even chance that Emily is a mouse. There is a very good chance that Mary is in the hallway. It is highly likely that if either 'John discarded the apple' or 'Mary is in the hallway' but not both then Bill went to the kitchen. Chances are slight that if 'Emily is a mouse and Mary is in the hallway' then Julius is a frog. It is improbable that if 'Mary is in the hallway and Emily is a mouse' then Bernhard is white.,There is little chance that 'Emily is a mouse' or 'John discarded the apple' or both.," + 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.1::factA. + 0.6::factB. + 0.8::factC. + %hop1 + 0.9::factX:-xor(factA,factC). + 0.1::factY:-and(factB,factC). + 0.1::factZ:-and(factC,factB). + + %hop2 + conclusion:-or(factB,factA). + + query(conclusion). + ",0.64,0.887377475495099,validation,better than even,little chance,There is a better than even chance that 'Emily is a mouse' or 'John discarded the apple' or both.,There is little chance that 'Emily is a mouse' or 'John discarded the apple' or both.,0,'Emily is a mouse' or 'John discarded the apple' or both. +It is likely that Bernhard is green. It is certain that Emily is a sheep. It is almost certain that Sandra dropped the milk. It is almost certain that if 'Emily is a sheep' or 'Sandra dropped the milk' or both then Winona is a cat. There is a better than even chance that if either 'Sandra dropped the milk' or 'Bernhard is green' but not both then Lily is a frog. It is almost certain that if either 'Emily is a sheep' or 'Sandra dropped the milk' but not both then Mary got the football.,It is highly unlikely that either 'Lily is a frog' or 'Sandra dropped the milk' but not both.," + 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.7::factA. + 1.0::factB. + 0.95::factC. + %hop1 + 0.95::factX:-or(factB,factC). + 0.6::factY:-xor(factC,factA). + 0.95::factZ:-xor(factB,factC). + + %hop2 + conclusion:-xor(factY,factC). + + query(conclusion). + ",0.7999999999999999,0.879375875175035,validation,very good chance,highly unlikely,There is a very good chance that either 'Lily is a frog' or 'Sandra dropped the milk' but not both.,It is highly unlikely that either 'Lily is a frog' or 'Sandra dropped the milk' but not both.,0,Either 'Lily is a frog' or 'Sandra dropped the milk' but not both. +Chances are slight that Mary is in the bathroom. It is probably the case that Greg is gray. It is highly likely that John picked up the apple. It is certain that if 'John picked up the apple' or 'Mary is in the bathroom' or both then Gertrude is a sheep. It is highly unlikely that if either 'Greg is gray' or 'Mary is in the bathroom' but not both then Sandra dropped the milk. We doubt that if either 'Greg is gray' or 'Mary is in the bathroom' but not both then Brian is yellow.,It is probable that 'Mary is in the bathroom and Brian is yellow'.," + 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.1::factA. + 0.7::factB. + 0.9::factC. + %hop1 + 1.0::factX:-or(factC,factA). + 0.05::factY:-xor(factB,factA). + 0.2::factZ:-xor(factB,factA). + + %hop2 + conclusion:-and(factA,factZ). + + query(conclusion). + ",0.005999999999999998,0.845369073814763,validation,impossible,probable,It is impossible that 'Mary is in the bathroom and Brian is yellow'.,It is probable that 'Mary is in the bathroom and Brian is yellow'.,0,'Mary is in the bathroom and Brian is yellow'. +It is certain that Sandra got the football. It is highly likely that Julius is a rhino. We believe that Bernhard is a swan. It is probably the case that if 'Julius is a rhino and Bernhard is a swan' then Greg is yellow. It is highly unlikely that if 'Julius is a rhino' or 'Bernhard is a swan' or both then Brian is green. It is almost certain that if 'Bernhard is a swan and Julius is a rhino' then Daniel dropped the apple.,It is probably not the case that either 'Bernhard is a swan' or 'Sandra got the football' but not both.," + 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 + 1.0::factA. + 0.9::factB. + 0.75::factC. + %hop1 + 0.7::factX:-and(factB,factC). + 0.05::factY:-or(factB,factC). + 0.95::factZ:-and(factC,factB). + + %hop2 + conclusion:-xor(factC,factA). + + query(conclusion). + ",0.25,0.8917783556711343,validation,probably not,probably,It is probably not the case that either 'Bernhard is a swan' or 'Sandra got the football' but not both.,It is probably the case that either 'Bernhard is a swan' or 'Sandra got the football' but not both.,1,Either 'Bernhard is a swan' or 'Sandra got the football' but not both. +We believe that Julius is a rhino. There is a very good chance that Lily is a swan. We doubt that Greg is a frog. It is impossible that if either 'Julius is a rhino' or 'Lily is a swan' but not both then Jessica is a mouse. It is highly likely that if 'Lily is a swan and Greg is a frog' then John moved to the office. It is unlikely that if 'Lily is a swan' or 'Greg is a frog' or both then Mary put down the apple.,It is almost certain that 'Mary put down the apple and Greg is a frog'.," + 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.75::factA. + 0.8::factB. + 0.2::factC. + %hop1 + 0.0::factX:-xor(factA,factB). + 0.9::factY:-and(factB,factC). + 0.2::factZ:-or(factB,factC). + + %hop2 + conclusion:-and(factZ,factC). + + query(conclusion). + ",0.04000000000000001,0.8217643528705741,validation,highly unlikely,almost certain,It is highly unlikely that 'Mary put down the apple and Greg is a frog'.,It is almost certain that 'Mary put down the apple and Greg is a frog'.,0,'Mary put down the apple and Greg is a frog'. +It is likely that Jessica is a mouse. There is almost no chance that Mary moved to the garden. It is impossible that Greg is a swan. It is unlikely that if either 'Mary moved to the garden' or 'Jessica is a mouse' but not both then John went to the kitchen. It is impossible that if 'Mary moved to the garden' or 'Jessica is a mouse' or both then Julius is a rhino. It is almost certain that if 'Mary moved to the garden' or 'Greg is a swan' or both then Sandra grabbed the apple.,There is almost no chance that 'Sandra grabbed the apple' or 'Greg is a swan' or both.," + 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.7::factA. + 0.02::factB. + 0.0::factC. + %hop1 + 0.2::factX:-xor(factB,factA). + 0.0::factY:-or(factB,factA). + 0.95::factZ:-or(factB,factC). + + %hop2 + conclusion:-or(factZ,factC). + + query(conclusion). + ",0.019,0.8151630326065213,validation,almost no chance,probably,There is almost no chance that 'Sandra grabbed the apple' or 'Greg is a swan' or both.,It is probably the case that 'Sandra grabbed the apple' or 'Greg is a swan' or both.,1,'Sandra grabbed the apple' or 'Greg is a swan' or both. +It is probable that John grabbed the apple. It is probably not the case that Mary took the milk. Chances are slight that Bernhard is a rhino. It is improbable that if 'Mary took the milk' or 'Bernhard is a rhino' or both then Lily is a swan. There is a very good chance that if 'John grabbed the apple and Mary took the milk' then Sandra left the milk. We believe that if either 'John grabbed the apple' or 'Mary took the milk' but not both then Julius is a frog.,It is probable that 'John grabbed the apple and Lily is a swan'.," + 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.7::factA. + 0.25::factB. + 0.1::factC. + %hop1 + 0.1::factX:-or(factB,factC). + 0.8::factY:-and(factA,factB). + 0.75::factZ:-xor(factA,factB). + + %hop2 + conclusion:-and(factA,factX). + + query(conclusion). + ",0.022750000000000006,0.8501700340068014,validation,almost no chance,probable,There is almost no chance that 'John grabbed the apple and Lily is a swan'.,It is probable that 'John grabbed the apple and Lily is a swan'.,0,'John grabbed the apple and Lily is a swan'. +It is unlikely that Greg is a swan. It is probably the case that Jeff moved to the garden. There is almost no chance that Bernhard is green. It is probably the case that if either 'Bernhard is green' or 'Jeff moved to the garden' but not both then Julius is gray. It is unlikely that if 'Greg is a swan and Bernhard is green' then Jessica is a cat. There is almost no chance that if 'Bernhard is green' or 'Jeff moved to the garden' or both then Brian is a rhino.,Chances are about even that either 'Brian is a rhino' or 'Julius is gray' but not both.," + 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.7::factB. + 0.02::factC. + %hop1 + 0.7::factX:-xor(factC,factB). + 0.2::factY:-and(factA,factC). + 0.02::factZ:-or(factC,factB). + + %hop2 + conclusion:-xor(factZ,factX). + + query(conclusion). + ",0.4791439999999999,0.8315663132626525,validation,about even,impossible,Chances are about even that either 'Brian is a rhino' or 'Julius is gray' but not both.,It is impossible that either 'Brian is a rhino' or 'Julius is gray' but not both.,1,Either 'Brian is a rhino' or 'Julius is gray' but not both. +It is improbable that Bernhard is green. It is almost certain that Julius is white. There is a better than even chance that Mary got the apple. There is little chance that if 'Julius is white' or 'Bernhard is green' or both then Greg is a swan. There is a very good chance that if 'Julius is white' or 'Mary got the apple' or both then Lily is a rhino. It is highly unlikely that if 'Bernhard is green and Mary got the apple' then Fred dropped the milk.,We doubt that either 'Bernhard is green' or 'Greg is a swan' but not both.," + 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.1::factA. + 0.95::factB. + 0.6::factC. + %hop1 + 0.1::factX:-or(factB,factA). + 0.8::factY:-or(factB,factC). + 0.05::factZ:-and(factA,factC). + + %hop2 + conclusion:-xor(factA,factX). + + query(conclusion). + ",0.17550000000000004,0.8161632326465293,validation,we doubt,probably,We doubt that either 'Bernhard is green' or 'Greg is a swan' but not both.,It is probably the case that either 'Bernhard is green' or 'Greg is a swan' but not both.,1,Either 'Bernhard is green' or 'Greg is a swan' but not both. +It is probable that Julius is white. It is probably the case that Mary went to the garden. It is probable that Brian is a rhino. There is a better than even chance that if either 'Mary went to the garden' or 'Julius is white' but not both then Jason is tired. It is unlikely that if 'Mary went to the garden and Brian is a rhino' then Jeff moved to the office. It is probably the case that if 'Mary went to the garden and Julius is white' then John picked up the apple.,It is improbable that 'Mary went to the garden' or 'Jeff moved to the office' or both.," + 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.7::factA. + 0.7::factB. + 0.7::factC. + %hop1 + 0.6::factX:-xor(factB,factA). + 0.2::factY:-and(factB,factC). + 0.7::factZ:-and(factB,factA). + + %hop2 + conclusion:-or(factB,factY). + + query(conclusion). + ",0.7,0.8957791558311662,validation,probable,improbable,It is probable that 'Mary went to the garden' or 'Jeff moved to the office' or both.,It is improbable that 'Mary went to the garden' or 'Jeff moved to the office' or both.,0,'Mary went to the garden' or 'Jeff moved to the office' or both. +There is almost no chance that John picked up the apple. Chances are about even that Lily is a swan. It is almost certain that Bernhard is green. It is likely that if 'Bernhard is green' or 'Lily is a swan' or both then Winona is a wolf. We doubt that if either 'Bernhard is green' or 'Lily is a swan' but not both then Julius is yellow. It is probably not the case that if 'Lily is a swan and John picked up the apple' then Jeff left the football.,There is almost no chance that 'Winona is a wolf and John picked up the apple'.," + 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.5::factB. + 0.95::factC. + %hop1 + 0.7::factX:-or(factC,factB). + 0.2::factY:-xor(factC,factB). + 0.25::factZ:-and(factB,factA). + + %hop2 + conclusion:-and(factX,factA). + + query(conclusion). + ",0.013650000000000011,0.8095619123824765,validation,almost no chance,probably,There is almost no chance that 'Winona is a wolf and John picked up the apple'.,It is probably the case that 'Winona is a wolf and John picked up the apple'.,1,'Winona is a wolf and John picked up the apple'. +We believe that Bernhard is a swan. It is highly likely that Jeff went to the garden. We doubt that Brian is a rhino. It is highly likely that if either 'Jeff went to the garden' or 'Brian is a rhino' but not both then John got the apple. There is a very good chance that if 'Bernhard is a swan and Jeff went to the garden' then Sandra grabbed the milk. There is little chance that if 'Jeff went to the garden and Brian is a rhino' then Julius is yellow.,There is almost no chance that 'Brian is a rhino and John got the apple'.," + 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.75::factA. + 0.9::factB. + 0.2::factC. + %hop1 + 0.9::factX:-xor(factB,factC). + 0.8::factY:-and(factA,factB). + 0.1::factZ:-and(factB,factC). + + %hop2 + conclusion:-and(factC,factX). + + query(conclusion). + ",0.018000000000000002,0.8879775955191038,validation,almost no chance,very good chance,There is almost no chance that 'Brian is a rhino and John got the apple'.,There is a very good chance that 'Brian is a rhino and John got the apple'.,1,'Brian is a rhino and John got the apple'. +It is probably not the case that Julius is gray. We believe that Greg is a lion. It is probable that Sandra got the milk. It is highly likely that if either 'Greg is a lion' or 'Julius is gray' but not both then Gertrude is a cat. There is little chance that if 'Greg is a lion' or 'Sandra got the milk' or both then Jeff dropped the apple. It is highly likely that if either 'Julius is gray' or 'Greg is a lion' but not both then Brian is gray.,It is certain that 'Julius is gray' or 'Jeff dropped the apple' or both.," + 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.25::factA. + 0.75::factB. + 0.7::factC. + %hop1 + 0.9::factX:-xor(factB,factA). + 0.1::factY:-or(factB,factC). + 0.9::factZ:-xor(factA,factB). + + %hop2 + conclusion:-or(factA,factY). + + query(conclusion). + ",0.319375,0.8509701940388078,validation,probably not,certain,It is probably not the case that 'Julius is gray' or 'Jeff dropped the apple' or both.,It is certain that 'Julius is gray' or 'Jeff dropped the apple' or both.,0,'Julius is gray' or 'Jeff dropped the apple' or both. +It is unlikely that Mary went to the office. There is a better than even chance that Greg is gray. It is likely that Emily is a sheep. Chances are slight that if 'Emily is a sheep' or 'Mary went to the office' or both then Lily is a swan. It is almost certain that if 'Mary went to the office' or 'Greg is gray' or both then Bernhard is a frog. It is unlikely that if 'Mary went to the office and Greg is gray' then Brian is white.,We doubt that 'Mary went to the office' or 'Brian is white' or both.," + 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.6::factB. + 0.7::factC. + %hop1 + 0.1::factX:-or(factC,factA). + 0.95::factY:-or(factA,factB). + 0.2::factZ:-and(factA,factB). + + %hop2 + conclusion:-or(factA,factZ). + + query(conclusion). + ",0.20000000000000007,0.8781756351270255,validation,we doubt,we believe,We doubt that 'Mary went to the office' or 'Brian is white' or both.,We believe that 'Mary went to the office' or 'Brian is white' or both.,1,'Mary went to the office' or 'Brian is white' or both. +It is highly unlikely that Lily is white. There is a very good chance that Jessica is a sheep. It is certain that Greg is a swan. It is certain that if 'Jessica is a sheep and Lily is white' then Daniel put down the milk. There is a better than even chance that if 'Lily is white' or 'Greg is a swan' or both then John moved to the garden. It is highly likely that if either 'Greg is a swan' or 'Jessica is a sheep' but not both then Mary went to the bedroom.,There is almost no chance that 'Greg is a swan and John moved to the garden'.," + 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.05::factA. + 0.8::factB. + 1.0::factC. + %hop1 + 1.0::factX:-and(factB,factA). + 0.6::factY:-or(factA,factC). + 0.9::factZ:-xor(factC,factB). + + %hop2 + conclusion:-and(factC,factY). + + query(conclusion). + ",0.6,0.8475695139027806,validation,better than even,almost no chance,There is a better than even chance that 'Greg is a swan and John moved to the garden'.,There is almost no chance that 'Greg is a swan and John moved to the garden'.,0,'Greg is a swan and John moved to the garden'. +It is almost certain that Emily is a cat. It is likely that Lily is a lion. It is probably not the case that Fred is in the school. We believe that if either 'Lily is a lion' or 'Emily is a cat' but not both then Mary went to the garden. Chances are about even that if either 'Emily is a cat' or 'Fred is in the school' but not both then John grabbed the milk. There is a very good chance that if 'Emily is a cat and Fred is in the school' then Bernhard is a swan.,It is probably not the case that 'Emily is a cat and Fred is in the school'.," + 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.95::factA. + 0.7::factB. + 0.25::factC. + %hop1 + 0.75::factX:-xor(factB,factA). + 0.5::factY:-xor(factA,factC). + 0.8::factZ:-and(factA,factC). + + %hop2 + conclusion:-and(factA,factC). + + query(conclusion). + ",0.2375,0.8451690338067613,validation,probably not,almost certain,It is probably not the case that 'Emily is a cat and Fred is in the school'.,It is almost certain that 'Emily is a cat and Fred is in the school'.,1,'Emily is a cat and Fred is in the school'. +We believe that Brian is white. There is a better than even chance that Winona is a sheep. There is little chance that Julius is a rhino. It is improbable that if either 'Winona is a sheep' or 'Brian is white' but not both then Antoine is thirsty. It is probably not the case that if 'Brian is white' or 'Winona is a sheep' or both then John went to the bedroom. It is almost certain that if 'Brian is white' or 'Winona is a sheep' or both then Sandra took the milk.,It is highly likely that 'Brian is white' or 'Sandra took the milk' or both.," + 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.75::factA. + 0.6::factB. + 0.1::factC. + %hop1 + 0.1::factX:-xor(factB,factA). + 0.25::factY:-or(factA,factB). + 0.95::factZ:-or(factA,factB). + + %hop2 + conclusion:-or(factA,factZ). + + query(conclusion). + ",0.8925,0.8627725545109022,validation,highly likely,little chance,It is highly likely that 'Brian is white' or 'Sandra took the milk' or both.,There is little chance that 'Brian is white' or 'Sandra took the milk' or both.,1,'Brian is white' or 'Sandra took the milk' or both. +There is little chance that Sandra left the football. It is certain that Emily is a cat. It is probably the case that Bill went to the bedroom. There is a better than even chance that if 'Bill went to the bedroom' or 'Sandra left the football' or both then Brian is yellow. It is unlikely that if either 'Sandra left the football' or 'Bill went to the bedroom' but not both then Lily is green. It is improbable that if either 'Emily is a cat' or 'Sandra left the football' but not both then Mary grabbed the milk.,It is certain that 'Bill went to the bedroom and Mary grabbed the milk'.," + 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.1::factA. + 1.0::factB. + 0.7::factC. + %hop1 + 0.6::factX:-or(factC,factA). + 0.2::factY:-xor(factA,factC). + 0.1::factZ:-xor(factB,factA). + + %hop2 + conclusion:-and(factC,factZ). + + query(conclusion). + ",0.06300000000000001,0.8265653130626125,validation,highly unlikely,certain,It is highly unlikely that 'Bill went to the bedroom and Mary grabbed the milk'.,It is certain that 'Bill went to the bedroom and Mary grabbed the milk'.,0,'Bill went to the bedroom and Mary grabbed the milk'. +It is certain that Jeff moved to the garden. It is improbable that Mary got the football. It is highly unlikely that Brian is a rhino. It is highly unlikely that if 'Jeff moved to the garden and Mary got the football' then Lily is green. It is certain that if 'Mary got the football' or 'Jeff moved to the garden' or both then Winona is a wolf. It is probably the case that if either 'Brian is a rhino' or 'Jeff moved to the garden' but not both then John went to the office.,Chances are about even that 'Mary got the football and Brian is a rhino'.," + 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 + 1.0::factA. + 0.1::factB. + 0.05::factC. + %hop1 + 0.05::factX:-and(factA,factB). + 1.0::factY:-or(factB,factA). + 0.7::factZ:-xor(factC,factA). + + %hop2 + conclusion:-and(factB,factC). + + query(conclusion). + ",0.005000000000000002,0.8429685937187438,validation,impossible,about even,It is impossible that 'Mary got the football and Brian is a rhino'.,Chances are about even that 'Mary got the football and Brian is a rhino'.,0,'Mary got the football and Brian is a rhino'. +It is impossible that John grabbed the apple. There is almost no chance that Brian is a frog. It is likely that Bill got the milk there. It is probably not the case that if 'Bill got the milk there and Brian is a frog' then Sumit is thirsty. Chances are about even that if either 'Brian is a frog' or 'Bill got the milk there' but not both then Jessica is a mouse. It is impossible that if either 'Brian is a frog' or 'John grabbed the apple' but not both then Julius is a lion.,It is impossible that 'Jessica is a mouse and Sumit is thirsty'.," + 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.02::factB. + 0.7::factC. + %hop1 + 0.25::factX:-and(factC,factB). + 0.5::factY:-xor(factB,factC). + 0.0::factZ:-xor(factB,factA). + + %hop2 + conclusion:-and(factY,factX). + + query(conclusion). + ",0.0,0.881376275255051,validation,impossible,certain,It is impossible that 'Jessica is a mouse and Sumit is thirsty'.,It is certain that 'Jessica is a mouse and Sumit is thirsty'.,1,'Jessica is a mouse and Sumit is thirsty'. +It is unlikely that Emily is a wolf. It is probably the case that Yann is hungry. It is impossible that Greg is yellow. It is certain that if 'Yann is hungry' or 'Greg is yellow' or both then Jessica is a cat. It is almost certain that if 'Emily is a wolf' or 'Yann is hungry' or both then Mary went to the kitchen. There is a better than even chance that if either 'Yann is hungry' or 'Emily is a wolf' but not both then Bernhard is a swan.,It is unlikely that 'Greg is yellow' or 'Emily is a wolf' or both.," + 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.7::factB. + 0.0::factC. + %hop1 + 1.0::factX:-or(factB,factC). + 0.95::factY:-or(factA,factB). + 0.6::factZ:-xor(factB,factA). + + %hop2 + conclusion:-or(factC,factA). + + query(conclusion). + ",0.2,0.8409681936387278,validation,unlikely,likely,It is unlikely that 'Greg is yellow' or 'Emily is a wolf' or both.,It is likely that 'Greg is yellow' or 'Emily is a wolf' or both.,1,'Greg is yellow' or 'Emily is a wolf' or both. +We doubt that Mary moved to the garden. It is unlikely that Lily is green. It is probably the case that Jessica is a cat. It is probable that if 'Mary moved to the garden' or 'Lily is green' or both then Daniel got the apple. There is a better than even chance that if either 'Mary moved to the garden' or 'Jessica is a cat' but not both then Brian is a swan. We believe that if either 'Lily is green' or 'Mary moved to the garden' but not both then Sandra dropped the milk.,It is impossible that either 'Jessica is a cat' or 'Daniel got the apple' but not both.," + 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.2::factB. + 0.7::factC. + %hop1 + 0.7::factX:-or(factA,factB). + 0.6::factY:-xor(factA,factC). + 0.75::factZ:-xor(factB,factA). + + %hop2 + conclusion:-xor(factC,factX). + + query(conclusion). + ",0.5992000000000001,0.8717743548709742,validation,better than even,impossible,There is a better than even chance that either 'Jessica is a cat' or 'Daniel got the apple' but not both.,It is impossible that either 'Jessica is a cat' or 'Daniel got the apple' but not both.,0,Either 'Jessica is a cat' or 'Daniel got the apple' but not both. +There is a better than even chance that Greg is green. Chances are about even that Mary left the football. It is highly likely that Bernhard is a swan. It is highly unlikely that if either 'Bernhard is a swan' or 'Mary left the football' but not both then Lily is a frog. It is highly likely that if 'Greg is green' or 'Mary left the football' or both then Brian is gray. It is probable that if either 'Mary left the football' or 'Greg is green' but not both then John put down the apple.,Chances are about even that 'Greg is green and Brian is gray'.," + 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.6::factA. + 0.5::factB. + 0.9::factC. + %hop1 + 0.05::factX:-xor(factC,factB). + 0.9::factY:-or(factA,factB). + 0.7::factZ:-xor(factB,factA). + + %hop2 + conclusion:-and(factA,factY). + + query(conclusion). + ",0.5399999999999999,0.8705741148229647,validation,about even,almost no chance,Chances are about even that 'Greg is green and Brian is gray'.,There is almost no chance that 'Greg is green and Brian is gray'.,1,'Greg is green and Brian is gray'. +It is almost certain that Julius is a frog. It is certain that Greg is a swan. It is impossible that Brian is green. It is probable that if 'Julius is a frog and Brian is green' then Mary took the milk. We doubt that if 'Greg is a swan' or 'Brian is green' or both then John went to the kitchen. It is likely that if either 'Brian is green' or 'Greg is a swan' but not both then Bernhard is gray.,There is a better than even chance that either 'John went to the kitchen' or 'Bernhard is gray' but not both.," + 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.95::factA. + 1.0::factB. + 0.0::factC. + %hop1 + 0.7::factX:-and(factA,factC). + 0.2::factY:-or(factB,factC). + 0.7::factZ:-xor(factC,factB). + + %hop2 + conclusion:-xor(factY,factZ). + + query(conclusion). + ",0.62,0.8183636727345469,validation,better than even,impossible,There is a better than even chance that either 'John went to the kitchen' or 'Bernhard is gray' but not both.,It is impossible that either 'John went to the kitchen' or 'Bernhard is gray' but not both.,1,Either 'John went to the kitchen' or 'Bernhard is gray' but not both. +There is almost no chance that Lily is a lion. We believe that Greg is a frog. It is certain that John took the apple. It is probably not the case that if either 'Greg is a frog' or 'John took the apple' but not both then Gertrude is a mouse. It is probably the case that if 'Lily is a lion and John took the apple' then Winona is a cat. It is certain that if 'John took the apple' or 'Greg is a frog' or both then Mary went to the garden.,We believe that 'John took the apple and Greg is a frog'.," + 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.75::factB. + 1.0::factC. + %hop1 + 0.25::factX:-xor(factB,factC). + 0.7::factY:-and(factA,factC). + 1.0::factZ:-or(factC,factB). + + %hop2 + conclusion:-and(factC,factB). + + query(conclusion). + ",0.75,0.843368673734747,validation,we believe,unlikely,We believe that 'John took the apple and Greg is a frog'.,It is unlikely that 'John took the apple and Greg is a frog'.,1,'John took the apple and Greg is a frog'. +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.,There is almost no chance that 'Lily is a rhino and Mary went to the office'.," + 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). + ",0.012000000000000009,0.8695739147829566,validation,almost no chance,almost certain,There is almost no chance that 'Lily is a rhino and Mary went to the office'.,It is almost certain that 'Lily is a rhino and Mary went to the office'.,1,'Lily is a rhino and Mary went to the office'. +Chances are about even that Greg is a rhino. It is highly likely that Jason is tired. It is probably the case that Mary went to the garden. It is highly unlikely that if 'Mary went to the garden and Greg is a rhino' then Emily is a wolf. There is a better than even chance that if either 'Mary went to the garden' or 'Greg is a rhino' but not both then Jessica is a cat. It is certain that if 'Jason is tired' or 'Greg is a rhino' or both then Julius is gray.,Chances are about even that 'Julius is gray and Emily is a wolf'.," + 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.9::factB. + 0.7::factC. + %hop1 + 0.05::factX:-and(factC,factA). + 0.6::factY:-xor(factC,factA). + 1.0::factZ:-or(factB,factA). + + %hop2 + conclusion:-and(factZ,factX). + + query(conclusion). + ",0.01749999999999999,0.876375275055011,validation,almost no chance,about even,There is almost no chance that 'Julius is gray and Emily is a wolf'.,Chances are about even that 'Julius is gray and Emily is a wolf'.,0,'Julius is gray and Emily is a wolf'. +It is probable that Julius is a swan. It is probable that Sumit is tired. Chances are about even that Mary grabbed the milk. We believe that if either 'Julius is a swan' or 'Sumit is tired' but not both then Bernhard is a swan. It is highly unlikely that if 'Sumit is tired and Mary grabbed the milk' then Greg is green. It is probably not the case that if either 'Mary grabbed the milk' or 'Julius is a swan' but not both then John went to the garden.,There is a better than even chance that either 'John went to the garden' or 'Sumit is tired' but not both.," + 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.7::factA. + 0.7::factB. + 0.5::factC. + %hop1 + 0.75::factX:-xor(factA,factB). + 0.05::factY:-and(factB,factC). + 0.25::factZ:-xor(factC,factA). + + %hop2 + conclusion:-xor(factZ,factB). + + query(conclusion). + ",0.6499999999999999,0.8685737147429486,validation,better than even,improbable,There is a better than even chance that either 'John went to the garden' or 'Sumit is tired' but not both.,It is improbable that either 'John went to the garden' or 'Sumit is tired' but not both.,1,Either 'John went to the garden' or 'Sumit is tired' but not both. +It is certain that Brian is a frog. It is highly unlikely that Bernhard is green. We doubt that Mary moved to the garden. It is almost certain that if 'Brian is a frog' or 'Mary moved to the garden' or both then Gertrude is a wolf. It is certain that if 'Mary moved to the garden and Brian is a frog' then Daniel left the milk. We doubt that if either 'Bernhard is green' or 'Mary moved to the garden' but not both then Julius is a swan.,It is probable that either 'Brian is a frog' or 'Gertrude is a wolf' but not both.," + 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 + 1.0::factA. + 0.05::factB. + 0.2::factC. + %hop1 + 0.95::factX:-or(factA,factC). + 1.0::factY:-and(factC,factA). + 0.2::factZ:-xor(factB,factC). + + %hop2 + conclusion:-xor(factA,factX). + + query(conclusion). + ",0.05000000000000005,0.8287657531506302,validation,highly unlikely,probable,It is highly unlikely that either 'Brian is a frog' or 'Gertrude is a wolf' but not both.,It is probable that either 'Brian is a frog' or 'Gertrude is a wolf' but not both.,0,Either 'Brian is a frog' or 'Gertrude is a wolf' but not both. +There is a very good chance that Winona is a wolf. There is a very good chance that Greg is a swan. There is a better than even chance that Bernhard is green. It is improbable that if 'Bernhard is green' or 'Winona is a wolf' or both then John moved to the garden. There is little chance that if 'Winona is a wolf and Bernhard is green' then Emily is a wolf. It is probably not the case that if either 'Bernhard is green' or 'Greg is a swan' but not both then Mary dropped the milk.,It is highly unlikely that 'Bernhard is green and Winona is a wolf'.," + 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.8::factA. + 0.8::factB. + 0.6::factC. + %hop1 + 0.1::factX:-or(factC,factA). + 0.1::factY:-and(factA,factC). + 0.25::factZ:-xor(factC,factB). + + %hop2 + conclusion:-and(factC,factA). + + query(conclusion). + ",0.48,0.8237647529505902,validation,about even,highly unlikely,Chances are about even that 'Bernhard is green and Winona is a wolf'.,It is highly unlikely that 'Bernhard is green and Winona is a wolf'.,0,'Bernhard is green and Winona is a wolf'. +There is a very good chance that John picked up the apple. It is likely that Gertrude is a sheep. It is highly unlikely that Julius is a lion. It is unlikely that if 'John picked up the apple' or 'Gertrude is a sheep' or both then Jeff went to the garden. There is almost no chance that if either 'Julius is a lion' or 'Gertrude is a sheep' but not both then Bernhard is a frog. We believe that if either 'John picked up the apple' or 'Julius is a lion' but not both then Mary dropped the milk.,It is highly likely that 'Bernhard is a frog' or 'Jeff went to the garden' or both.," + 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.8::factA. + 0.7::factB. + 0.05::factC. + %hop1 + 0.2::factX:-or(factA,factB). + 0.02::factY:-xor(factC,factB). + 0.75::factZ:-xor(factA,factC). + + %hop2 + conclusion:-or(factY,factX). + + query(conclusion). + ",0.198892,0.8299659931986397,validation,we doubt,highly likely,We doubt that 'Bernhard is a frog' or 'Jeff went to the garden' or both.,It is highly likely that 'Bernhard is a frog' or 'Jeff went to the garden' or both.,0,'Bernhard is a frog' or 'Jeff went to the garden' or both. +It is probably not the case that Jeff moved to the garden. Chances are slight that Sandra left the football. It is certain that John got the apple. It is unlikely that if 'John got the apple and Jeff moved to the garden' then Julius is a frog. It is probable that if either 'Jeff moved to the garden' or 'Sandra left the football' but not both then Lily is a swan. It is almost certain that if either 'Jeff moved to the garden' or 'John got the apple' but not both then Mary dropped the milk.,It is highly unlikely that 'Julius is a frog and John got the apple'.," + 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.25::factA. + 0.1::factB. + 1.0::factC. + %hop1 + 0.2::factX:-and(factC,factA). + 0.7::factY:-xor(factA,factB). + 0.95::factZ:-xor(factA,factC). + + %hop2 + conclusion:-and(factX,factC). + + query(conclusion). + ",0.05000000000000001,0.8139627925585117,validation,highly unlikely,almost certain,It is highly unlikely that 'Julius is a frog and John got the apple'.,It is almost certain that 'Julius is a frog and John got the apple'.,1,'Julius is a frog and John got the apple'. +It is probable that Bill left the football. It is probable that John discarded the apple. It is highly unlikely that Bernhard is a swan. There is little chance that if 'John discarded the apple' or 'Bernhard is a swan' or both then Lily is gray. There is little chance that if 'Bernhard is a swan and John discarded the apple' then Mary took the milk. It is almost certain that if either 'John discarded the apple' or 'Bernhard is a swan' but not both then Greg is a rhino.,Chances are slight that 'Bill left the football' or 'Bernhard is a swan' or both.," + 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.7::factA. + 0.7::factB. + 0.05::factC. + %hop1 + 0.1::factX:-or(factB,factC). + 0.1::factY:-and(factC,factB). + 0.95::factZ:-xor(factB,factC). + + %hop2 + conclusion:-or(factA,factC). + + query(conclusion). + ",0.715,0.8227645529105821,validation,likely,chances are slight,It is likely that 'Bill left the football' or 'Bernhard is a swan' or both.,Chances are slight that 'Bill left the football' or 'Bernhard is a swan' or both.,0,'Bill left the football' or 'Bernhard is a swan' or both. +It is improbable that Sandra left the milk. It is probably not the case that Greg is white. There is almost no chance that Mary dropped the milk. It is improbable that if either 'Mary dropped the milk' or 'Sandra left the milk' but not both then Gertrude is a wolf. Chances are slight that if 'Mary dropped the milk' or 'Greg is white' or both then Lily is a lion. It is highly unlikely that if 'Greg is white' or 'Mary dropped the milk' or both then Jessica is a sheep.,We believe that 'Jessica is a sheep' or 'Lily is a lion' or both.," + 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.1::factA. + 0.25::factB. + 0.02::factC. + %hop1 + 0.1::factX:-xor(factC,factA). + 0.1::factY:-or(factC,factB). + 0.05::factZ:-or(factB,factC). + + %hop2 + conclusion:-or(factZ,factY). + + query(conclusion). + ",0.038425,0.8655731146229246,validation,highly unlikely,we believe,It is highly unlikely that 'Jessica is a sheep' or 'Lily is a lion' or both.,We believe that 'Jessica is a sheep' or 'Lily is a lion' or both.,0,'Jessica is a sheep' or 'Lily is a lion' or both. +It is certain that Brian is a rhino. There is almost no chance that Mary went to the office. It is probable that Julius is gray. It is certain that if 'Mary went to the office and Julius is gray' then Jeff dropped the apple. We doubt that if either 'Julius is gray' or 'Mary went to the office' but not both then Jessica is a mouse. It is certain that if 'Mary went to the office' or 'Brian is a rhino' or both then John got the milk.,Chances are slight that 'Brian is a rhino and Julius is gray'.," + 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 + 1.0::factA. + 0.02::factB. + 0.7::factC. + %hop1 + 1.0::factX:-and(factB,factC). + 0.2::factY:-xor(factC,factB). + 1.0::factZ:-or(factB,factA). + + %hop2 + conclusion:-and(factA,factC). + + query(conclusion). + ",0.7,0.8669733946789357,validation,likely,chances are slight,It is likely that 'Brian is a rhino and Julius is gray'.,Chances are slight that 'Brian is a rhino and Julius is gray'.,0,'Brian is a rhino and Julius is gray'. +It is probably not the case that John moved to the garden. There is a very good chance that Brian is green. It is probably the case that Bernhard is yellow. Chances are slight that if either 'John moved to the garden' or 'Bernhard is yellow' but not both then Daniel took the apple. We doubt that if 'Bernhard is yellow and Brian is green' then Sandra is in the kitchen. It is improbable that if 'John moved to the garden and Brian is green' then Mary went to the office.,It is likely that either 'Mary went to the office' or 'Daniel took the apple' but not both.," + 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.25::factA. + 0.8::factB. + 0.7::factC. + %hop1 + 0.1::factX:-xor(factA,factC). + 0.2::factY:-and(factC,factB). + 0.1::factZ:-and(factA,factB). + + %hop2 + conclusion:-xor(factZ,factX). + + query(conclusion). + ",0.07880000000000001,0.8351670334066813,validation,improbable,likely,It is improbable that either 'Mary went to the office' or 'Daniel took the apple' but not both.,It is likely that either 'Mary went to the office' or 'Daniel took the apple' but not both.,0,Either 'Mary went to the office' or 'Daniel took the apple' but not both. +There is little chance that Greg is white. It is certain that Sandra dropped the milk. We believe that Brian is a swan. There is little chance that if 'Brian is a swan' or 'Greg is white' or both then Mary went to the office. It is improbable that if either 'Greg is white' or 'Sandra dropped the milk' but not both then Gertrude is a sheep. It is impossible that if 'Brian is a swan' or 'Greg is white' or both then Bernhard is a frog.,It is highly likely that either 'Sandra dropped the milk' or 'Gertrude is a sheep' but not both.," + 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.1::factA. + 1.0::factB. + 0.75::factC. + %hop1 + 0.1::factX:-or(factC,factA). + 0.1::factY:-xor(factA,factB). + 0.0::factZ:-or(factC,factA). + + %hop2 + conclusion:-xor(factB,factY). + + query(conclusion). + ",0.91,0.8157631526305261,validation,highly likely,unlikely,It is highly likely that either 'Sandra dropped the milk' or 'Gertrude is a sheep' but not both.,It is unlikely that either 'Sandra dropped the milk' or 'Gertrude is a sheep' but not both.,1,Either 'Sandra dropped the milk' or 'Gertrude is a sheep' but not both. +It is probably the case that Lily is a rhino. There is little chance that Gertrude is a sheep. We believe that Jessica is a cat. It is probably the case that if 'Jessica is a cat and Lily is a rhino' then Bernhard is gray. It is almost certain that if 'Jessica is a cat and Lily is a rhino' then Fred went to the garden. We doubt that if either 'Jessica is a cat' or 'Gertrude is a sheep' but not both then Daniel took the milk.,Chances are about even that either 'Bernhard is gray' or 'Gertrude is a sheep' but not both.," + 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.7::factA. + 0.1::factB. + 0.75::factC. + %hop1 + 0.7::factX:-and(factC,factA). + 0.95::factY:-and(factC,factA). + 0.2::factZ:-xor(factC,factB). + + %hop2 + conclusion:-xor(factX,factB). + + query(conclusion). + ",0.394,0.8331666333266653,validation,about even,certain,Chances are about even that either 'Bernhard is gray' or 'Gertrude is a sheep' but not both.,It is certain that either 'Bernhard is gray' or 'Gertrude is a sheep' but not both.,1,Either 'Bernhard is gray' or 'Gertrude is a sheep' but not both. +It is likely that Lily is yellow. There is a very good chance that Brian is white. It is improbable that Bernhard is gray. There is almost no chance that if 'Brian is white' or 'Bernhard is gray' or both then John discarded the apple. It is probable that if 'Lily is yellow and Brian is white' then Antoine is hungry. It is probably the case that if 'Brian is white' or 'Lily is yellow' or both then Mary dropped the milk.,Chances are about even that either 'Antoine is hungry' or 'Bernhard is gray' but not both.," + 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.7::factA. + 0.8::factB. + 0.1::factC. + %hop1 + 0.02::factX:-or(factB,factC). + 0.7::factY:-and(factA,factB). + 0.7::factZ:-or(factB,factA). + + %hop2 + conclusion:-xor(factY,factC). + + query(conclusion). + ",0.41359999999999997,0.8595719143828766,validation,about even,impossible,Chances are about even that either 'Antoine is hungry' or 'Bernhard is gray' but not both.,It is impossible that either 'Antoine is hungry' or 'Bernhard is gray' but not both.,1,Either 'Antoine is hungry' or 'Bernhard is gray' but not both. +There is a very good chance that Greg is a frog. Chances are slight that Gertrude is a cat. It is likely that Brian is a swan. It is unlikely that if 'Gertrude is a cat and Brian is a swan' then Sandra dropped the milk. It is improbable that if 'Gertrude is a cat and Greg is a frog' then John went to the garden. It is highly unlikely that if 'Brian is a swan' or 'Greg is a frog' or both then Jessica is a cat.,It is highly unlikely that 'Greg is a frog and Jessica is a cat'.," + 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.8::factA. + 0.1::factB. + 0.7::factC. + %hop1 + 0.2::factX:-and(factB,factC). + 0.1::factY:-and(factB,factA). + 0.05::factZ:-or(factC,factA). + + %hop2 + conclusion:-and(factA,factZ). + + query(conclusion). + ",0.04000000000000001,0.8355671134226845,validation,highly unlikely,highly likely,It is highly unlikely that 'Greg is a frog and Jessica is a cat'.,It is highly likely that 'Greg is a frog and Jessica is a cat'.,1,'Greg is a frog and Jessica is a cat'. +It is highly unlikely that Jeff left the apple. It is certain that Winona is a mouse. It is highly likely that Greg is a lion. It is probable that if 'Jeff left the apple' or 'Greg is a lion' or both then John went to the office. There is a very good chance that if 'Greg is a lion' or 'Jeff left the apple' or both then Brian is a rhino. It is likely that if either 'Winona is a mouse' or 'Greg is a lion' but not both then Sandra dropped the milk.,There is a better than even chance that either 'John went to the office' or 'Jeff left the apple' but not both.," + 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.05::factA. + 1.0::factB. + 0.9::factC. + %hop1 + 0.7::factX:-or(factA,factC). + 0.8::factY:-or(factC,factA). + 0.7::factZ:-xor(factB,factC). + + %hop2 + conclusion:-xor(factX,factA). + + query(conclusion). + ",0.6135,0.8115623124624926,validation,better than even,highly unlikely,There is a better than even chance that either 'John went to the office' or 'Jeff left the apple' but not both.,It is highly unlikely that either 'John went to the office' or 'Jeff left the apple' but not both.,1,Either 'John went to the office' or 'Jeff left the apple' but not both. +We believe that Greg is a swan. Chances are about even that Bernhard is a frog. Chances are about even that Emily is a mouse. It is probably the case that if 'Greg is a swan' or 'Bernhard is a frog' or both then Mary went to the garden. We believe that if either 'Greg is a swan' or 'Bernhard is a frog' but not both then Sandra dropped the milk. It is probably not the case that if 'Emily is a mouse' or 'Greg is a swan' or both then John got the apple.,It is certain that either 'Bernhard is a frog' or 'Mary went to the garden' but not both.," + 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.75::factA. + 0.5::factB. + 0.5::factC. + %hop1 + 0.7::factX:-or(factA,factB). + 0.75::factY:-xor(factA,factB). + 0.25::factZ:-or(factC,factA). + + %hop2 + conclusion:-xor(factB,factX). + + query(conclusion). + ",0.4125,0.8887777555511103,validation,about even,certain,Chances are about even that either 'Bernhard is a frog' or 'Mary went to the garden' but not both.,It is certain that either 'Bernhard is a frog' or 'Mary went to the garden' but not both.,0,Either 'Bernhard is a frog' or 'Mary went to the garden' but not both. +We believe that John went to the office. It is probable that Lily is white. It is probable that Mary got the apple. It is certain that if 'Mary got the apple' or 'Lily is white' or both then Sandra left the football. It is almost certain that if 'Lily is white and Mary got the apple' then Bernhard is a frog. It is probably not the case that if 'Lily is white and John went to the office' then Julius is gray.,There is almost no chance that either 'John went to the office' or 'Mary got the apple' but not both.," + 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.75::factA. + 0.7::factB. + 0.7::factC. + %hop1 + 1.0::factX:-or(factC,factB). + 0.95::factY:-and(factB,factC). + 0.25::factZ:-and(factB,factA). + + %hop2 + conclusion:-xor(factA,factC). + + query(conclusion). + ",0.4,0.8855771154230846,validation,about even,almost no chance,Chances are about even that either 'John went to the office' or 'Mary got the apple' but not both.,There is almost no chance that either 'John went to the office' or 'Mary got the apple' but not both.,0,Either 'John went to the office' or 'Mary got the apple' but not both. +We believe that Emily is a mouse. Chances are about even that Winona is a sheep. It is probably the case that Lily is a lion. There is little chance that if 'Emily is a mouse' or 'Lily is a lion' or both then Mary got the apple. It is highly likely that if either 'Emily is a mouse' or 'Lily is a lion' but not both then Greg is a frog. There is almost no chance that if 'Lily is a lion' or 'Winona is a sheep' or both then John discarded the milk.,It is highly unlikely that 'Greg is a frog and Mary got the apple'.," + 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.75::factA. + 0.5::factB. + 0.7::factC. + %hop1 + 0.1::factX:-or(factA,factC). + 0.9::factY:-xor(factA,factC). + 0.02::factZ:-or(factC,factB). + + %hop2 + conclusion:-and(factY,factX). + + query(conclusion). + ",0.036000000000000004,0.8347669533906782,validation,highly unlikely,probable,It is highly unlikely that 'Greg is a frog and Mary got the apple'.,It is probable that 'Greg is a frog and Mary got the apple'.,1,'Greg is a frog and Mary got the apple'. +There is almost no chance that Emily is a cat. There is a better than even chance that Brian is a lion. There is almost no chance that John moved to the office. It is certain that if 'John moved to the office' or 'Emily is a cat' or both then Lily is white. It is likely that if 'John moved to the office and Emily is a cat' then Mary went to the office. It is improbable that if 'John moved to the office and Emily is a cat' then Bernhard is green.,There is a very good chance that 'Mary went to the office and Lily is white'.," + 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.6::factB. + 0.02::factC. + %hop1 + 1.0::factX:-or(factC,factA). + 0.7::factY:-and(factC,factA). + 0.1::factZ:-and(factC,factA). + + %hop2 + conclusion:-and(factY,factX). + + query(conclusion). + ",0.00028000000000000003,0.8785757151430286,validation,impossible,very good chance,It is impossible that 'Mary went to the office and Lily is white'.,There is a very good chance that 'Mary went to the office and Lily is white'.,0,'Mary went to the office and Lily is white'. +It is highly likely that Emily is a sheep. There is little chance that Greg is a lion. It is certain that Lily is green. There is almost no chance that if either 'Emily is a sheep' or 'Greg is a lion' but not both then Bernhard is a frog. It is probably the case that if either 'Emily is a sheep' or 'Greg is a lion' but not both then Brian is yellow. Chances are about even that if either 'Greg is a lion' or 'Lily is green' but not both then Daniel got the milk.,It is highly unlikely that 'Brian is yellow' or 'Bernhard is a frog' or both.," + 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.9::factA. + 0.1::factB. + 1.0::factC. + %hop1 + 0.02::factX:-xor(factA,factB). + 0.7::factY:-xor(factA,factB). + 0.5::factZ:-xor(factB,factC). + + %hop2 + conclusion:-or(factY,factX). + + query(conclusion). + ",0.57892,0.867373474694939,validation,better than even,highly unlikely,There is a better than even chance that 'Brian is yellow' or 'Bernhard is a frog' or both.,It is highly unlikely that 'Brian is yellow' or 'Bernhard is a frog' or both.,0,'Brian is yellow' or 'Bernhard is a frog' or both. +It is highly likely that Bernhard is green. We doubt that Brian is a rhino. It is likely that Emily is a wolf. There is a very good chance that if either 'Brian is a rhino' or 'Bernhard is green' but not both then Lily is a lion. It is probable that if 'Emily is a wolf and Bernhard is green' then John got the milk. It is unlikely that if either 'Emily is a wolf' or 'Brian is a rhino' but not both then Yann is tired.,It is improbable that 'John got the milk and Brian is a rhino'.," + 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.9::factA. + 0.2::factB. + 0.7::factC. + %hop1 + 0.8::factX:-xor(factB,factA). + 0.7::factY:-and(factC,factA). + 0.2::factZ:-xor(factC,factB). + + %hop2 + conclusion:-and(factY,factB). + + query(conclusion). + ",0.08820000000000001,0.8079615923184637,validation,improbable,almost certain,It is improbable that 'John got the milk and Brian is a rhino'.,It is almost certain that 'John got the milk and Brian is a rhino'.,1,'John got the milk and Brian is a rhino'. +We believe that Yann is hungry. There is almost no chance that Bernhard is yellow. There is a better than even chance that Mary went to the bedroom. It is certain that if either 'Bernhard is yellow' or 'Yann is hungry' but not both then Sandra left the milk. It is improbable that if either 'Yann is hungry' or 'Bernhard is yellow' but not both then John put down the apple. It is likely that if 'Yann is hungry' or 'Mary went to the bedroom' or both then Greg is a swan.,There is a better than even chance that 'Mary went to the bedroom' or 'John put down the apple' or both.," + 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.75::factA. + 0.02::factB. + 0.6::factC. + %hop1 + 1.0::factX:-xor(factB,factA). + 0.1::factY:-xor(factA,factB). + 0.7::factZ:-or(factA,factC). + + %hop2 + conclusion:-or(factC,factY). + + query(conclusion). + ",0.6296,0.8019603920784157,validation,better than even,highly unlikely,There is a better than even chance that 'Mary went to the bedroom' or 'John put down the apple' or both.,It is highly unlikely that 'Mary went to the bedroom' or 'John put down the apple' or both.,1,'Mary went to the bedroom' or 'John put down the apple' or both. +There is little chance that Brian is white. It is impossible that Jessica is a cat. It is certain that Greg is a swan. It is highly likely that if 'Greg is a swan' or 'Brian is white' or both then Bill got the milk there. We doubt that if 'Jessica is a cat' or 'Greg is a swan' or both then Bernhard is a rhino. It is improbable that if 'Brian is white' or 'Jessica is a cat' or both then Mary took the football.,It is probably the case that either 'Greg is a swan' or 'Bill got the milk there' but not both.," + 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.1::factA. + 0.0::factB. + 1.0::factC. + %hop1 + 0.9::factX:-or(factC,factA). + 0.2::factY:-or(factB,factC). + 0.1::factZ:-or(factA,factB). + + %hop2 + conclusion:-xor(factC,factX). + + query(conclusion). + ",0.09999999999999998,0.8589717943588718,validation,improbable,probably,It is improbable that either 'Greg is a swan' or 'Bill got the milk there' but not both.,It is probably the case that either 'Greg is a swan' or 'Bill got the milk there' but not both.,0,Either 'Greg is a swan' or 'Bill got the milk there' but not both. +It is probably the case that Lily is a rhino. We believe that John left the milk. Chances are about even that Julius is a frog. Chances are slight that if either 'Julius is a frog' or 'Lily is a rhino' but not both then Daniel took the apple. There is a better than even chance that if either 'Julius is a frog' or 'Lily is a rhino' but not both then Brian is a swan. It is almost certain that if 'Lily is a rhino' or 'John left the milk' or both then Mary went to the garden.,There is almost no chance that 'Daniel took the apple and Julius is a frog'.," + 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.7::factA. + 0.75::factB. + 0.5::factC. + %hop1 + 0.1::factX:-xor(factC,factA). + 0.6::factY:-xor(factC,factA). + 0.95::factZ:-or(factA,factB). + + %hop2 + conclusion:-and(factX,factC). + + query(conclusion). + ",0.01500000000000001,0.8657731546309262,validation,almost no chance,we believe,There is almost no chance that 'Daniel took the apple and Julius is a frog'.,We believe that 'Daniel took the apple and Julius is a frog'.,1,'Daniel took the apple and Julius is a frog'. +Chances are slight that Mary left the apple. It is likely that Bernhard is gray. We believe that Julius is a rhino. It is certain that if either 'Bernhard is gray' or 'Mary left the apple' but not both then Winona is a sheep. It is probably the case that if 'Julius is a rhino and Bernhard is gray' then Brian is a frog. There is almost no chance that if 'Mary left the apple and Bernhard is gray' then John got the milk.,We believe that 'Mary left the apple' or 'Winona is a sheep' or both.," + 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.1::factA. + 0.7::factB. + 0.75::factC. + %hop1 + 1.0::factX:-xor(factB,factA). + 0.7::factY:-and(factC,factB). + 0.02::factZ:-and(factA,factB). + + %hop2 + conclusion:-or(factA,factX). + + query(conclusion). + ",0.73,0.860372074414883,validation,we believe,unlikely,We believe that 'Mary left the apple' or 'Winona is a sheep' or both.,It is unlikely that 'Mary left the apple' or 'Winona is a sheep' or both.,1,'Mary left the apple' or 'Winona is a sheep' or both. +It is highly likely that Daniel dropped the apple. Chances are about even that Bernhard is a frog. There is a better than even chance that Greg is a lion. We doubt that if either 'Bernhard is a frog' or 'Daniel dropped the apple' but not both then Gertrude is a sheep. It is highly unlikely that if either 'Bernhard is a frog' or 'Greg is a lion' but not both then Julius is white. There is little chance that if 'Greg is a lion and Daniel dropped the apple' then John took the football.,It is highly likely that 'Julius is white' or 'Daniel dropped the apple' or both.," + 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.9::factA. + 0.5::factB. + 0.6::factC. + %hop1 + 0.2::factX:-xor(factB,factA). + 0.05::factY:-xor(factB,factC). + 0.1::factZ:-and(factC,factA). + + %hop2 + conclusion:-or(factY,factA). + + query(conclusion). + ",0.9025000000000001,0.8899779955991198,validation,highly likely,we doubt,It is highly likely that 'Julius is white' or 'Daniel dropped the apple' or both.,We doubt that 'Julius is white' or 'Daniel dropped the apple' or both.,1,'Julius is white' or 'Daniel dropped the apple' or both. +It is improbable that Gertrude is a cat. It is highly unlikely that Greg is a frog. It is probably the case that Sandra left the apple. Chances are about even that if 'Gertrude is a cat' or 'Greg is a frog' or both then Lily is a swan. We believe that if 'Greg is a frog and Sandra left the apple' then Mary moved to the office. It is unlikely that if 'Gertrude is a cat and Sandra left the apple' then Jessica is a mouse.,We believe that 'Greg is a frog' or 'Lily is a swan' or both.," + 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.1::factA. + 0.05::factB. + 0.7::factC. + %hop1 + 0.5::factX:-or(factA,factB). + 0.75::factY:-and(factB,factC). + 0.2::factZ:-and(factA,factC). + + %hop2 + conclusion:-or(factB,factX). + + query(conclusion). + ",0.09750000000000002,0.8671734346869374,validation,improbable,we believe,It is improbable that 'Greg is a frog' or 'Lily is a swan' or both.,We believe that 'Greg is a frog' or 'Lily is a swan' or both.,0,'Greg is a frog' or 'Lily is a swan' or both. +It is highly unlikely that Brian is green. It is probably not the case that John went to the garden. Chances are about even that Bernhard is a swan. There is almost no chance that if either 'Brian is green' or 'Bernhard is a swan' but not both then Gertrude is a cat. There is almost no chance that if 'Bernhard is a swan' or 'Brian is green' or both then Mary left the milk. There is almost no chance that if either 'John went to the garden' or 'Bernhard is a swan' but not both then Greg is a swan.,It is highly unlikely that 'Mary left the milk' or 'Brian is green' or both.," + 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.05::factA. + 0.25::factB. + 0.5::factC. + %hop1 + 0.02::factX:-xor(factA,factC). + 0.02::factY:-or(factC,factA). + 0.02::factZ:-xor(factB,factC). + + %hop2 + conclusion:-or(factY,factA). + + query(conclusion). + ",0.0595,0.8943788757751551,validation,highly unlikely,highly likely,It is highly unlikely that 'Mary left the milk' or 'Brian is green' or both.,It is highly likely that 'Mary left the milk' or 'Brian is green' or both.,1,'Mary left the milk' or 'Brian is green' or both. +It is improbable that Gertrude is a mouse. There is little chance that Bernhard is a swan. It is likely that Julius is a lion. Chances are slight that if 'Julius is a lion' or 'Gertrude is a mouse' or both then Jeff discarded the milk. There is almost no chance that if 'Julius is a lion and Gertrude is a mouse' then Jessica is a sheep. It is probably not the case that if 'Gertrude is a mouse and Julius is a lion' then John got the apple.,It is highly unlikely that 'Julius is a lion and Bernhard is a swan'.," + 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.1::factA. + 0.1::factB. + 0.7::factC. + %hop1 + 0.1::factX:-or(factC,factA). + 0.02::factY:-and(factC,factA). + 0.25::factZ:-and(factA,factC). + + %hop2 + conclusion:-and(factC,factB). + + query(conclusion). + ",0.07,0.8171634326865373,validation,highly unlikely,almost certain,It is highly unlikely that 'Julius is a lion and Bernhard is a swan'.,It is almost certain that 'Julius is a lion and Bernhard is a swan'.,1,'Julius is a lion and Bernhard is a swan'. +There is little chance that Julius is a lion. It is likely that Jeff moved to the garden. It is likely that John grabbed the apple. There is a very good chance that if either 'Jeff moved to the garden' or 'John grabbed the apple' but not both then Brian is a lion. It is almost certain that if 'Julius is a lion and John grabbed the apple' then Mary went to the kitchen. It is probably not the case that if 'Jeff moved to the garden' or 'John grabbed the apple' or both then Greg is white.,We doubt that 'Jeff moved to the garden and Greg is white'.," + 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.1::factA. + 0.7::factB. + 0.7::factC. + %hop1 + 0.8::factX:-xor(factB,factC). + 0.95::factY:-and(factA,factC). + 0.25::factZ:-or(factB,factC). + + %hop2 + conclusion:-and(factB,factZ). + + query(conclusion). + ",0.175,0.8725745149029805,validation,we doubt,probably,We doubt that 'Jeff moved to the garden and Greg is white'.,It is probably the case that 'Jeff moved to the garden and Greg is white'.,1,'Jeff moved to the garden and Greg is white'. +It is probably not the case that Greg is a rhino. There is a very good chance that Brian is a swan. It is impossible that Julius is green. It is impossible that if 'Julius is green and Brian is a swan' then Bernhard is a frog. There is a very good chance that if either 'Julius is green' or 'Brian is a swan' but not both then Winona is a mouse. It is highly unlikely that if either 'Julius is green' or 'Greg is a rhino' but not both then John left the milk.,It is highly likely that either 'John left the milk' or 'Julius is green' but not both.," + 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.25::factA. + 0.8::factB. + 0.0::factC. + %hop1 + 0.0::factX:-and(factC,factB). + 0.8::factY:-xor(factC,factB). + 0.05::factZ:-xor(factC,factA). + + %hop2 + conclusion:-xor(factZ,factC). + + query(conclusion). + ",0.012500000000000006,0.8049609921984396,validation,almost no chance,highly likely,There is almost no chance that either 'John left the milk' or 'Julius is green' but not both.,It is highly likely that either 'John left the milk' or 'Julius is green' but not both.,0,Either 'John left the milk' or 'Julius is green' but not both. +It is certain that Mary left the milk. It is highly likely that John went to the office. It is probably the case that Antoine is hungry. Chances are slight that if either 'John went to the office' or 'Antoine is hungry' but not both then Brian is a swan. There is almost no chance that if either 'Antoine is hungry' or 'John went to the office' but not both then Jeff dropped the apple. It is impossible that if either 'John went to the office' or 'Mary left the milk' but not both then Lily is a rhino.,It is highly likely that 'Jeff dropped the apple and Antoine is hungry'.," + 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 + 1.0::factA. + 0.9::factB. + 0.7::factC. + %hop1 + 0.1::factX:-xor(factB,factC). + 0.02::factY:-xor(factC,factB). + 0.0::factZ:-xor(factB,factA). + + %hop2 + conclusion:-and(factY,factC). + + query(conclusion). + ",0.0014000000000000004,0.8197639527905581,validation,impossible,highly likely,It is impossible that 'Jeff dropped the apple and Antoine is hungry'.,It is highly likely that 'Jeff dropped the apple and Antoine is hungry'.,0,'Jeff dropped the apple and Antoine is hungry'. +It is highly unlikely that Bernhard is a swan. It is highly likely that John picked up the apple. It is probably not the case that Brian is green. It is likely that if 'Brian is green and Bernhard is a swan' then Greg is a lion. It is probable that if 'Brian is green' or 'Bernhard is a swan' or both then Mary got the football. It is highly unlikely that if 'Bernhard is a swan and Brian is green' then Julius is white.,It is highly unlikely that 'Julius is white' or 'Bernhard is a swan' or both.," + 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.05::factA. + 0.9::factB. + 0.25::factC. + %hop1 + 0.7::factX:-and(factC,factA). + 0.7::factY:-or(factC,factA). + 0.05::factZ:-and(factA,factC). + + %hop2 + conclusion:-or(factZ,factA). + + query(conclusion). + ",0.05000000000000001,0.832366473294659,validation,highly unlikely,probable,It is highly unlikely that 'Julius is white' or 'Bernhard is a swan' or both.,It is probable that 'Julius is white' or 'Bernhard is a swan' or both.,1,'Julius is white' or 'Bernhard is a swan' or both. +It is probable that Sandra left the milk. It is highly unlikely that John moved to the garden. We doubt that Greg is a swan. It is impossible that if either 'John moved to the garden' or 'Sandra left the milk' but not both then Antoine is hungry. It is highly unlikely that if 'Sandra left the milk' or 'Greg is a swan' or both then Brian is green. There is little chance that if 'Greg is a swan' or 'Sandra left the milk' or both then Mary got the football.,It is impossible that 'John moved to the garden and Brian is green'.," + 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.7::factA. + 0.05::factB. + 0.2::factC. + %hop1 + 0.0::factX:-xor(factB,factA). + 0.05::factY:-or(factA,factC). + 0.1::factZ:-or(factC,factA). + + %hop2 + conclusion:-and(factB,factY). + + query(conclusion). + ",0.0018999999999999996,0.8285657131426285,validation,impossible,very good chance,It is impossible that 'John moved to the garden and Brian is green'.,There is a very good chance that 'John moved to the garden and Brian is green'.,1,'John moved to the garden and Brian is green'. +We doubt that Sandra took the football. It is unlikely that John discarded the milk. There is little chance that Julius is a rhino. There is almost no chance that if 'Julius is a rhino and John discarded the milk' then Fred went to the garden. It is impossible that if either 'Julius is a rhino' or 'Sandra took the football' but not both then Greg is a lion. It is impossible that if 'Julius is a rhino and John discarded the milk' then Bernhard is a frog.,It is impossible that 'John discarded the milk and Fred went to the garden'.," + 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.2::factB. + 0.1::factC. + %hop1 + 0.02::factX:-and(factC,factB). + 0.0::factY:-xor(factC,factA). + 0.0::factZ:-and(factC,factB). + + %hop2 + conclusion:-and(factB,factX). + + query(conclusion). + ",0.00040000000000000045,0.8907781556311263,validation,impossible,highly likely,It is impossible that 'John discarded the milk and Fred went to the garden'.,It is highly likely that 'John discarded the milk and Fred went to the garden'.,1,'John discarded the milk and Fred went to the garden'. +It is highly unlikely that Bernhard is white. We believe that Mary left the football. It is highly unlikely that Greg is a frog. It is highly unlikely that if either 'Bernhard is white' or 'Greg is a frog' but not both then Brian is white. Chances are slight that if either 'Mary left the football' or 'Bernhard is white' but not both then Emily is a sheep. It is probably not the case that if 'Bernhard is white and Greg is a frog' then John went to the bedroom.,Chances are slight that 'Emily is a sheep' or 'Greg is a frog' or both.," + 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.05::factA. + 0.75::factB. + 0.05::factC. + %hop1 + 0.05::factX:-xor(factA,factC). + 0.1::factY:-xor(factB,factA). + 0.25::factZ:-and(factA,factC). + + %hop2 + conclusion:-or(factY,factC). + + query(conclusion). + ",0.11887500000000005,0.8467693538707741,validation,chances are slight,probably,Chances are slight that 'Emily is a sheep' or 'Greg is a frog' or both.,It is probably the case that 'Emily is a sheep' or 'Greg is a frog' or both.,1,'Emily is a sheep' or 'Greg is a frog' or both. +It is probable that Winona is a sheep. Chances are about even that Lily is a swan. It is highly unlikely that Brian is a frog. It is highly unlikely that if either 'Brian is a frog' or 'Winona is a sheep' but not both then Bernhard is green. We doubt that if either 'Brian is a frog' or 'Lily is a swan' but not both then John went to the kitchen. We doubt that if 'Lily is a swan' or 'Brian is a frog' or both then Mary discarded the milk.,It is improbable that either 'Brian is a frog' or 'Mary discarded the milk' but not both.," + 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.7::factA. + 0.5::factB. + 0.05::factC. + %hop1 + 0.05::factX:-xor(factC,factA). + 0.2::factY:-xor(factC,factB). + 0.2::factZ:-or(factB,factC). + + %hop2 + conclusion:-xor(factC,factZ). + + query(conclusion). + ",0.13500000000000006,0.8645729145829166,validation,improbable,highly likely,It is improbable that either 'Brian is a frog' or 'Mary discarded the milk' but not both.,It is highly likely that either 'Brian is a frog' or 'Mary discarded the milk' but not both.,1,Either 'Brian is a frog' or 'Mary discarded the milk' but not both. +There is a very good chance that Brian is white. There is little chance that Gertrude is a mouse. It is probable that John went to the office. We doubt that if 'Gertrude is a mouse and Brian is white' then Lily is a rhino. Chances are slight that if 'Gertrude is a mouse' or 'John went to the office' or both then Mary left the football. It is certain that if 'John went to the office and Gertrude is a mouse' then Bernhard is a lion.,There is a better than even chance that either 'Mary left the football' or 'John went to the office' but not both.," + 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.8::factA. + 0.1::factB. + 0.7::factC. + %hop1 + 0.2::factX:-and(factB,factA). + 0.1::factY:-or(factB,factC). + 1.0::factZ:-and(factC,factB). + + %hop2 + conclusion:-xor(factY,factC). + + query(conclusion). + ",0.633,0.8057611522304461,validation,better than even,improbable,There is a better than even chance that either 'Mary left the football' or 'John went to the office' but not both.,It is improbable that either 'Mary left the football' or 'John went to the office' but not both.,1,Either 'Mary left the football' or 'John went to the office' but not both. +It is certain that Sandra left the apple. It is highly likely that Bernhard is a swan. There is a very good chance that Lily is a frog. It is impossible that if 'Sandra left the apple' or 'Bernhard is a swan' or both then Emily is a wolf. It is highly likely that if 'Lily is a frog' or 'Sandra left the apple' or both then Julius is a swan. There is a very good chance that if either 'Lily is a frog' or 'Bernhard is a swan' but not both then John went to the office.,It is unlikely that either 'Bernhard is a swan' or 'Emily is a wolf' but not both.," + 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 + 1.0::factA. + 0.9::factB. + 0.8::factC. + %hop1 + 0.0::factX:-or(factA,factB). + 0.9::factY:-or(factC,factA). + 0.8::factZ:-xor(factC,factB). + + %hop2 + conclusion:-xor(factB,factX). + + query(conclusion). + ",0.9,0.836367273454691,validation,highly likely,unlikely,It is highly likely that either 'Bernhard is a swan' or 'Emily is a wolf' but not both.,It is unlikely that either 'Bernhard is a swan' or 'Emily is a wolf' but not both.,0,Either 'Bernhard is a swan' or 'Emily is a wolf' but not both. +It is almost certain that Greg is a frog. We believe that Mary left the football. It is probably the case that Daniel dropped the apple. There is a better than even chance that if 'Daniel dropped the apple' or 'Greg is a frog' or both then Emily is a mouse. It is highly unlikely that if 'Daniel dropped the apple' or 'Greg is a frog' or both then Julius is a rhino. It is probably not the case that if 'Mary left the football' or 'Greg is a frog' or both then John went to the hallway.,There is almost no chance that 'Julius is a rhino and Emily is a mouse'.," + 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.95::factA. + 0.75::factB. + 0.7::factC. + %hop1 + 0.6::factX:-or(factC,factA). + 0.05::factY:-or(factC,factA). + 0.25::factZ:-or(factB,factA). + + %hop2 + conclusion:-and(factY,factX). + + query(conclusion). + ",0.029549999999999993,0.8093618723744749,validation,almost no chance,probably,There is almost no chance that 'Julius is a rhino and Emily is a mouse'.,It is probably the case that 'Julius is a rhino and Emily is a mouse'.,1,'Julius is a rhino and Emily is a mouse'. +It is likely that Greg is white. There is almost no chance that Antoine is thirsty. We believe that Sandra left the milk. There is little chance that if 'Antoine is thirsty and Sandra left the milk' then John went to the kitchen. There is a very good chance that if 'Greg is white' or 'Antoine is thirsty' or both then Bernhard is gray. There is a better than even chance that if 'Antoine is thirsty and Greg is white' then Gertrude is a mouse.,There is a better than even chance that either 'John went to the kitchen' or 'Bernhard is gray' but not both.," + 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.7::factA. + 0.02::factB. + 0.75::factC. + %hop1 + 0.1::factX:-and(factB,factC). + 0.8::factY:-or(factA,factB). + 0.6::factZ:-and(factB,factA). + + %hop2 + conclusion:-xor(factX,factY). + + query(conclusion). + ",0.5639,0.841368273654731,validation,better than even,improbable,There is a better than even chance that either 'John went to the kitchen' or 'Bernhard is gray' but not both.,It is improbable that either 'John went to the kitchen' or 'Bernhard is gray' but not both.,1,Either 'John went to the kitchen' or 'Bernhard is gray' but not both. +There is almost no chance that Greg is white. It is improbable that Mary took the football. It is probable that Bernhard is a lion. It is probably the case that if either 'Bernhard is a lion' or 'Mary took the football' but not both then Julius is gray. It is impossible that if either 'Greg is white' or 'Bernhard is a lion' but not both then John discarded the apple. We doubt that if 'Bernhard is a lion and Greg is white' then Lily is a swan.,It is probably the case that either 'Greg is white' or 'Lily is a swan' but not both.," + 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.1::factB. + 0.7::factC. + %hop1 + 0.7::factX:-xor(factC,factB). + 0.0::factY:-xor(factA,factC). + 0.2::factZ:-and(factC,factA). + + %hop2 + conclusion:-xor(factA,factZ). + + query(conclusion). + ",0.01720000000000001,0.8511702340468094,validation,almost no chance,probably,There is almost no chance that either 'Greg is white' or 'Lily is a swan' but not both.,It is probably the case that either 'Greg is white' or 'Lily is a swan' but not both.,0,Either 'Greg is white' or 'Lily is a swan' but not both. +It is almost certain that Mary went to the hallway. Chances are slight that Fred is in the school. We doubt that Brian is white. Chances are slight that if either 'Fred is in the school' or 'Brian is white' but not both then Bernhard is gray. It is impossible that if 'Mary went to the hallway' or 'Fred is in the school' or both then Daniel got the football. There is little chance that if either 'Fred is in the school' or 'Mary went to the hallway' but not both then John left the milk.,We doubt that either 'Bernhard is gray' or 'Brian is white' but not both.," + 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.95::factA. + 0.1::factB. + 0.2::factC. + %hop1 + 0.1::factX:-xor(factB,factC). + 0.0::factY:-or(factA,factB). + 0.1::factZ:-xor(factB,factA). + + %hop2 + conclusion:-xor(factX,factC). + + query(conclusion). + ",0.19,0.8189637927585517,validation,we doubt,probably,We doubt that either 'Bernhard is gray' or 'Brian is white' but not both.,It is probably the case that either 'Bernhard is gray' or 'Brian is white' but not both.,1,Either 'Bernhard is gray' or 'Brian is white' but not both. +It is highly likely that Mary grabbed the apple. It is likely that Emily is a mouse. There is little chance that Julius is a lion. Chances are about even that if 'Emily is a mouse and Julius is a lion' then Daniel got the football. It is probably not the case that if either 'Julius is a lion' or 'Emily is a mouse' but not both then Lily is a frog. There is a better than even chance that if 'Julius is a lion' or 'Mary grabbed the apple' or both then John moved to the garden.,It is probably not the case that either 'Mary grabbed the apple' or 'John moved to the garden' but not both.," + 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.9::factA. + 0.7::factB. + 0.1::factC. + %hop1 + 0.5::factX:-and(factB,factC). + 0.25::factY:-xor(factC,factB). + 0.6::factZ:-or(factC,factA). + + %hop2 + conclusion:-xor(factA,factZ). + + query(conclusion). + ",0.36600000000000005,0.8243648729745949,validation,probably not,almost certain,It is probably not the case that either 'Mary grabbed the apple' or 'John moved to the garden' but not both.,It is almost certain that either 'Mary grabbed the apple' or 'John moved to the garden' but not both.,1,Either 'Mary grabbed the apple' or 'John moved to the garden' but not both. +It is impossible that Greg is green. There is almost no chance that Mary moved to the office. It is highly unlikely that Sandra took the football. We doubt that if 'Mary moved to the office and Greg is green' then John picked up the milk. It is impossible that if 'Sandra took the football and Greg is green' then Lily is a frog. It is probably not the case that if 'Greg is green and Sandra took the football' then Jeff went to the bedroom.,It is highly likely that either 'Sandra took the football' or 'John picked up the milk' but not both.," + 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.02::factB. + 0.05::factC. + %hop1 + 0.2::factX:-and(factB,factA). + 0.0::factY:-and(factC,factA). + 0.25::factZ:-and(factA,factC). + + %hop2 + conclusion:-xor(factC,factX). + + query(conclusion). + ",0.05000000000000001,0.8867773554710943,validation,highly unlikely,highly likely,It is highly unlikely that either 'Sandra took the football' or 'John picked up the milk' but not both.,It is highly likely that either 'Sandra took the football' or 'John picked up the milk' but not both.,0,Either 'Sandra took the football' or 'John picked up the milk' but not both. +There is little chance that John went to the kitchen. It is highly likely that Lily is a lion. It is probable that Greg is gray. It is likely that if 'John went to the kitchen and Greg is gray' then Fred left the football. Chances are slight that if 'Greg is gray and John went to the kitchen' then Bernhard is yellow. There is a better than even chance that if 'Greg is gray and Lily is a lion' then Yann is bored.,It is unlikely that either 'Lily is a lion' or 'Bernhard is yellow' but not both.," + 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.1::factA. + 0.9::factB. + 0.7::factC. + %hop1 + 0.7::factX:-and(factA,factC). + 0.1::factY:-and(factC,factA). + 0.6::factZ:-and(factC,factB). + + %hop2 + conclusion:-xor(factB,factY). + + query(conclusion). + ",0.8944,0.8359671934386878,validation,highly likely,unlikely,It is highly likely that either 'Lily is a lion' or 'Bernhard is yellow' but not both.,It is unlikely that either 'Lily is a lion' or 'Bernhard is yellow' but not both.,0,Either 'Lily is a lion' or 'Bernhard is yellow' but not both. +There is almost no chance that Lily is white. Chances are about even that Bernhard is a swan. Chances are slight that Mary took the milk. There is little chance that if 'Mary took the milk' or 'Bernhard is a swan' or both then Jeff went to the bedroom. There is almost no chance that if 'Mary took the milk' or 'Bernhard is a swan' or both then Brian is a lion. Chances are about even that if 'Lily is white and Bernhard is a swan' then John dropped the milk.,Chances are about even that either 'Mary took the milk' or 'Bernhard is a swan' but not both.," + 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.5::factB. + 0.1::factC. + %hop1 + 0.1::factX:-or(factC,factB). + 0.02::factY:-or(factC,factB). + 0.5::factZ:-and(factA,factB). + + %hop2 + conclusion:-xor(factC,factB). + + query(conclusion). + ",0.5,0.8861772354470894,validation,about even,impossible,Chances are about even that either 'Mary took the milk' or 'Bernhard is a swan' but not both.,It is impossible that either 'Mary took the milk' or 'Bernhard is a swan' but not both.,1,Either 'Mary took the milk' or 'Bernhard is a swan' but not both. +There is little chance that Julius is green. It is unlikely that John moved to the office. There is almost no chance that Brian is a frog. Chances are about even that if 'Brian is a frog and Julius is green' then Lily is a swan. It is probable that if either 'Julius is green' or 'Brian is a frog' but not both then Mary went to the kitchen. It is improbable that if either 'Julius is green' or 'John moved to the office' but not both then Sandra dropped the milk.,It is probable that 'Brian is a frog' or 'Julius is green' or both.," + 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.1::factA. + 0.2::factB. + 0.02::factC. + %hop1 + 0.5::factX:-and(factC,factA). + 0.7::factY:-xor(factA,factC). + 0.1::factZ:-xor(factA,factB). + + %hop2 + conclusion:-or(factC,factA). + + query(conclusion). + ",0.11800000000000002,0.8305661132226445,validation,little chance,probable,There is little chance that 'Brian is a frog' or 'Julius is green' or both.,It is probable that 'Brian is a frog' or 'Julius is green' or both.,0,'Brian is a frog' or 'Julius is green' or both. +It is highly likely that Brian is a rhino. Chances are about even that Bernhard is a swan. Chances are slight that John picked up the milk. It is highly likely that if 'Brian is a rhino and John picked up the milk' then Yann is bored. It is highly unlikely that if either 'John picked up the milk' or 'Bernhard is a swan' but not both then Jessica is a mouse. It is likely that if 'Brian is a rhino and Bernhard is a swan' then Greg is gray.,There is almost no chance that 'Greg is gray and John picked up the milk'.," + 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.9::factA. + 0.5::factB. + 0.1::factC. + %hop1 + 0.9::factX:-and(factA,factC). + 0.05::factY:-xor(factC,factB). + 0.7::factZ:-and(factA,factB). + + %hop2 + conclusion:-and(factZ,factC). + + query(conclusion). + ",0.0315,0.8661732346469294,validation,almost no chance,highly likely,There is almost no chance that 'Greg is gray and John picked up the milk'.,It is highly likely that 'Greg is gray and John picked up the milk'.,1,'Greg is gray and John picked up the milk'. +It is highly unlikely that Sandra took the milk. There is a better than even chance that John dropped the apple. It is probably not the case that Mary went to the bedroom. We doubt that if 'John dropped the apple and Mary went to the bedroom' then Bernhard is green. Chances are about even that if either 'Sandra took the milk' or 'Mary went to the bedroom' but not both then Greg is a rhino. There is a better than even chance that if either 'John dropped the apple' or 'Sandra took the milk' but not both then Brian is yellow.,There is a very good chance that either 'Greg is a rhino' or 'Bernhard is green' but not both.," + 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.05::factA. + 0.6::factB. + 0.25::factC. + %hop1 + 0.2::factX:-and(factB,factC). + 0.5::factY:-xor(factA,factC). + 0.6::factZ:-xor(factB,factA). + + %hop2 + conclusion:-xor(factY,factX). + + query(conclusion). + ",0.13900000000000004,0.8909781956391278,validation,chances are slight,very good chance,Chances are slight that either 'Greg is a rhino' or 'Bernhard is green' but not both.,There is a very good chance that either 'Greg is a rhino' or 'Bernhard is green' but not both.,0,Either 'Greg is a rhino' or 'Bernhard is green' but not both. +There is little chance that Julius is a swan. It is almost certain that Winona is a wolf. It is probable that Greg is green. It is impossible that if either 'Greg is green' or 'Julius is a swan' but not both then Lily is a frog. It is likely that if 'Julius is a swan and Winona is a wolf' then Brian is a lion. It is unlikely that if either 'Julius is a swan' or 'Winona is a wolf' but not both then Sandra grabbed the milk.,It is probably not the case that 'Sandra grabbed the milk' or 'Julius is a swan' or both.," + 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.1::factA. + 0.95::factB. + 0.7::factC. + %hop1 + 0.0::factX:-xor(factC,factA). + 0.7::factY:-and(factA,factB). + 0.2::factZ:-xor(factA,factB). + + %hop2 + conclusion:-or(factZ,factA). + + query(conclusion). + ",0.27099999999999996,0.883376675335067,validation,probably not,highly likely,It is probably not the case that 'Sandra grabbed the milk' or 'Julius is a swan' or both.,It is highly likely that 'Sandra grabbed the milk' or 'Julius is a swan' or both.,1,'Sandra grabbed the milk' or 'Julius is a swan' or both. +Chances are slight that Brian is white. There is a better than even chance that Jason is tired. We believe that Sandra left the apple. It is likely that if either 'Sandra left the apple' or 'Brian is white' but not both then Emily is a wolf. We believe that if either 'Sandra left the apple' or 'Brian is white' but not both then Julius is a frog. It is improbable that if 'Brian is white and Sandra left the apple' then John moved to the office.,It is improbable that 'Brian is white and Sandra left the apple'.," + 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.1::factA. + 0.6::factB. + 0.75::factC. + %hop1 + 0.7::factX:-xor(factC,factA). + 0.75::factY:-xor(factC,factA). + 0.1::factZ:-and(factA,factC). + + %hop2 + conclusion:-and(factA,factC). + + query(conclusion). + ",0.07500000000000002,0.8077615523104621,validation,improbable,probably,It is improbable that 'Brian is white and Sandra left the apple'.,It is probably the case that 'Brian is white and Sandra left the apple'.,1,'Brian is white and Sandra left the apple'. +Chances are slight that Brian is a rhino. It is almost certain that Julius is green. We believe that Emily is a cat. We doubt that if 'Emily is a cat and Julius is green' then Greg is white. Chances are about even that if 'Brian is a rhino and Emily is a cat' then Jessica is a mouse. There is a better than even chance that if 'Brian is a rhino' or 'Emily is a cat' or both then Bernhard is yellow.,It is probable that 'Julius is green and Brian is a rhino'.," + 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.1::factA. + 0.95::factB. + 0.75::factC. + %hop1 + 0.2::factX:-and(factC,factB). + 0.5::factY:-and(factA,factC). + 0.6::factZ:-or(factA,factC). + + %hop2 + conclusion:-and(factB,factA). + + query(conclusion). + ",0.09500000000000001,0.8193638727745549,validation,little chance,probable,There is little chance that 'Julius is green and Brian is a rhino'.,It is probable that 'Julius is green and Brian is a rhino'.,0,'Julius is green and Brian is a rhino'. +It is probable that Mary went to the hallway. There is almost no chance that Greg is yellow. We believe that Julius is a swan. It is certain that if 'Greg is yellow and Mary went to the hallway' then Brian is a rhino. It is probably the case that if 'Julius is a swan' or 'Mary went to the hallway' or both then John left the milk. There is little chance that if 'Greg is yellow' or 'Mary went to the hallway' or both then Lily is a lion.,It is almost certain that 'Brian is a rhino and Greg is yellow'.," + 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.7::factA. + 0.02::factB. + 0.75::factC. + %hop1 + 1.0::factX:-and(factB,factA). + 0.7::factY:-or(factC,factA). + 0.1::factZ:-or(factB,factA). + + %hop2 + conclusion:-and(factX,factB). + + query(conclusion). + ",0.014000000000000007,0.840368073614723,validation,almost no chance,almost certain,There is almost no chance that 'Brian is a rhino and Greg is yellow'.,It is almost certain that 'Brian is a rhino and Greg is yellow'.,0,'Brian is a rhino and Greg is yellow'. +Chances are about even that Emily is a mouse. It is probably the case that Greg is a rhino. Chances are about even that Bernhard is white. It is almost certain that if 'Bernhard is white and Emily is a mouse' then John got the milk. It is highly unlikely that if 'Greg is a rhino and Emily is a mouse' then Mary went to the bedroom. It is probably the case that if 'Greg is a rhino' or 'Bernhard is white' or both then Sandra took the apple.,There is a better than even chance that 'Emily is a mouse and Mary went to the bedroom'.," + 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.7::factB. + 0.5::factC. + %hop1 + 0.95::factX:-and(factC,factA). + 0.05::factY:-and(factB,factA). + 0.7::factZ:-or(factB,factC). + + %hop2 + conclusion:-and(factA,factY). + + query(conclusion). + ",0.01749999999999999,0.8757751550310062,validation,almost no chance,better than even,There is almost no chance that 'Emily is a mouse and Mary went to the bedroom'.,There is a better than even chance that 'Emily is a mouse and Mary went to the bedroom'.,0,'Emily is a mouse and Mary went to the bedroom'. +We doubt that John picked up the apple. There is little chance that Jeff moved to the office. There is little chance that Mary went to the garden. It is certain that if 'John picked up the apple' or 'Mary went to the garden' or both then Brian is a lion. It is impossible that if either 'Mary went to the garden' or 'John picked up the apple' but not both then Sandra left the football. There is almost no chance that if 'Jeff moved to the office' or 'John picked up the apple' or both then Julius is yellow.,It is unlikely that 'Jeff moved to the office' or 'Mary went to the garden' or both.," + 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.1::factB. + 0.1::factC. + %hop1 + 1.0::factX:-or(factA,factC). + 0.0::factY:-xor(factC,factA). + 0.02::factZ:-or(factB,factA). + + %hop2 + conclusion:-or(factB,factC). + + query(conclusion). + ",0.19000000000000006,0.8761752350470094,validation,unlikely,almost certain,It is unlikely that 'Jeff moved to the office' or 'Mary went to the garden' or both.,It is almost certain that 'Jeff moved to the office' or 'Mary went to the garden' or both.,1,'Jeff moved to the office' or 'Mary went to the garden' or both. +There is a very good chance that Julius is green. Chances are slight that Bernhard is a swan. There is a better than even chance that Greg is yellow. It is likely that if 'Julius is green and Greg is yellow' then John grabbed the apple. It is likely that if 'Julius is green and Bernhard is a swan' then Mary left the football. It is probable that if 'Bernhard is a swan' or 'Julius is green' or both then Bill went to the garden.,It is highly likely that 'Julius is green and Mary left the football'.," + 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.8::factA. + 0.1::factB. + 0.6::factC. + %hop1 + 0.7::factX:-and(factA,factC). + 0.7::factY:-and(factA,factB). + 0.7::factZ:-or(factB,factA). + + %hop2 + conclusion:-and(factA,factY). + + query(conclusion). + ",0.05600000000000001,0.8039607921584316,validation,highly unlikely,highly likely,It is highly unlikely that 'Julius is green and Mary left the football'.,It is highly likely that 'Julius is green and Mary left the football'.,0,'Julius is green and Mary left the football'. +We doubt that Greg is a rhino. It is probably the case that Mary dropped the milk. We doubt that Brian is a swan. It is probably not the case that if 'Brian is a swan and Mary dropped the milk' then Bernhard is white. There is a better than even chance that if 'Brian is a swan' or 'Greg is a rhino' or both then John went to the hallway. It is probably not the case that if 'Mary dropped the milk and Brian is a swan' then Julius is white.,We believe that 'Greg is a rhino' or 'Bernhard is white' or both.," + 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.7::factB. + 0.2::factC. + %hop1 + 0.25::factX:-and(factC,factB). + 0.6::factY:-or(factC,factA). + 0.25::factZ:-and(factB,factC). + + %hop2 + conclusion:-or(factA,factX). + + query(conclusion). + ",0.228,0.8143628725745149,validation,probably not,we believe,It is probably not the case that 'Greg is a rhino' or 'Bernhard is white' or both.,We believe that 'Greg is a rhino' or 'Bernhard is white' or both.,0,'Greg is a rhino' or 'Bernhard is white' or both. +It is probable that Lily is a frog. It is likely that Gertrude is a mouse. It is highly likely that Emily is a wolf. We doubt that if 'Gertrude is a mouse and Emily is a wolf' then Julius is white. It is unlikely that if 'Gertrude is a mouse' or 'Emily is a wolf' or both then John put down the milk. It is probably the case that if either 'Lily is a frog' or 'Gertrude is a mouse' but not both then Bernhard is gray.,There is almost no chance that 'John put down the milk and Julius is white'.," + 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.7::factA. + 0.7::factB. + 0.9::factC. + %hop1 + 0.2::factX:-and(factB,factC). + 0.2::factY:-or(factB,factC). + 0.7::factZ:-xor(factA,factB). + + %hop2 + conclusion:-and(factY,factX). + + query(conclusion). + ",0.025200000000000004,0.8027605521104221,validation,almost no chance,highly likely,There is almost no chance that 'John put down the milk and Julius is white'.,It is highly likely that 'John put down the milk and Julius is white'.,1,'John put down the milk and Julius is white'. +We believe that Antoine is hungry. We believe that John left the milk. It is probably not the case that Mary moved to the office. It is certain that if 'Mary moved to the office' or 'John left the milk' or both then Brian is yellow. We believe that if 'Mary moved to the office and John left the milk' then Bernhard is a lion. It is probably the case that if either 'Antoine is hungry' or 'Mary moved to the office' but not both then Lily is green.,It is almost certain that 'Brian is yellow and Bernhard is a lion'.," + 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.75::factA. + 0.75::factB. + 0.25::factC. + %hop1 + 1.0::factX:-or(factC,factB). + 0.75::factY:-and(factC,factB). + 0.7::factZ:-xor(factA,factC). + + %hop2 + conclusion:-and(factX,factY). + + query(conclusion). + ",0.140625,0.8881776355271054,validation,little chance,almost certain,There is little chance that 'Brian is yellow and Bernhard is a lion'.,It is almost certain that 'Brian is yellow and Bernhard is a lion'.,0,'Brian is yellow and Bernhard is a lion'. +It is improbable that John discarded the apple. There is a better than even chance that Lily is a rhino. It is likely that Greg is a swan. We doubt that if 'Greg is a swan' or 'Lily is a rhino' or both then Brian is a frog. There is almost no chance that if either 'Lily is a rhino' or 'Greg is a swan' but not both then Mary went to the kitchen. It is impossible that if 'Greg is a swan' or 'Lily is a rhino' or both then Julius is yellow.,It is likely that 'Mary went to the kitchen' or 'Greg is a swan' or both.," + 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.1::factA. + 0.6::factB. + 0.7::factC. + %hop1 + 0.2::factX:-or(factC,factB). + 0.02::factY:-xor(factB,factC). + 0.0::factZ:-or(factC,factB). + + %hop2 + conclusion:-or(factY,factC). + + query(conclusion). + ",0.7036,0.8289657931586317,validation,likely,improbable,It is likely that 'Mary went to the kitchen' or 'Greg is a swan' or both.,It is improbable that 'Mary went to the kitchen' or 'Greg is a swan' or both.,1,'Mary went to the kitchen' or 'Greg is a swan' or both. +It is probably not the case that Lily is yellow. It is certain that Bernhard is a swan. We doubt that Mary left the apple. It is likely that if 'Mary left the apple and Lily is yellow' then Brian is green. Chances are about even that if 'Lily is yellow and Mary left the apple' then Fred moved to the office. It is likely that if 'Bernhard is a swan' or 'Mary left the apple' or both then Greg is gray.,There is a very good chance that either 'Fred moved to the office' or 'Lily is yellow' but not both.," + 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.25::factA. + 1.0::factB. + 0.2::factC. + %hop1 + 0.7::factX:-and(factC,factA). + 0.5::factY:-and(factA,factC). + 0.7::factZ:-or(factB,factC). + + %hop2 + conclusion:-xor(factY,factA). + + query(conclusion). + ",0.225,0.8311662332466493,validation,unlikely,very good chance,It is unlikely that either 'Fred moved to the office' or 'Lily is yellow' but not both.,There is a very good chance that either 'Fred moved to the office' or 'Lily is yellow' but not both.,0,Either 'Fred moved to the office' or 'Lily is yellow' but not both. +Chances are slight that Antoine is thirsty. It is probably not the case that Mary moved to the garden. We believe that Greg is a rhino. It is almost certain that if 'Greg is a rhino' or 'Antoine is thirsty' or both then Julius is green. We doubt that if 'Mary moved to the garden' or 'Greg is a rhino' or both then John left the apple. We doubt that if 'Mary moved to the garden' or 'Antoine is thirsty' or both then Brian is a swan.,It is probable that either 'Antoine is thirsty' or 'John left the apple' but not both.," + 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.1::factA. + 0.25::factB. + 0.75::factC. + %hop1 + 0.95::factX:-or(factC,factA). + 0.2::factY:-or(factB,factC). + 0.2::factZ:-or(factB,factA). + + %hop2 + conclusion:-xor(factA,factY). + + query(conclusion). + ",0.23000000000000004,0.8615723144628926,validation,probably not,probable,It is probably not the case that either 'Antoine is thirsty' or 'John left the apple' but not both.,It is probable that either 'Antoine is thirsty' or 'John left the apple' but not both.,0,Either 'Antoine is thirsty' or 'John left the apple' but not both. +It is probably the case that John took the football. We believe that Emily is a wolf. It is probable that Brian is yellow. It is probable that if either 'Emily is a wolf' or 'Brian is yellow' but not both then Mary is in the hallway. It is probable that if either 'Emily is a wolf' or 'John took the football' but not both then Julius is gray. It is probably not the case that if 'John took the football' or 'Brian is yellow' or both then Lily is a rhino.,We believe that 'Brian is yellow' or 'Lily is a rhino' or both.," + 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.7::factA. + 0.75::factB. + 0.7::factC. + %hop1 + 0.7::factX:-xor(factB,factC). + 0.7::factY:-xor(factB,factA). + 0.25::factZ:-or(factA,factC). + + %hop2 + conclusion:-or(factC,factZ). + + query(conclusion). + ",0.7525,0.8435687137427486,validation,we believe,we doubt,We believe that 'Brian is yellow' or 'Lily is a rhino' or both.,We doubt that 'Brian is yellow' or 'Lily is a rhino' or both.,1,'Brian is yellow' or 'Lily is a rhino' or both. +It is probably the case that John picked up the apple. It is almost certain that Sandra took the football. It is impossible that Mary went to the office. There is a better than even chance that if 'Sandra took the football' or 'Mary went to the office' or both then Greg is yellow. It is improbable that if 'Sandra took the football and John picked up the apple' then Lily is a rhino. It is impossible that if 'Sandra took the football' or 'Mary went to the office' or both then Julius is a swan.,Chances are about even that 'John picked up the apple and Greg is yellow'.," + 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.7::factA. + 0.95::factB. + 0.0::factC. + %hop1 + 0.6::factX:-or(factB,factC). + 0.1::factY:-and(factB,factA). + 0.0::factZ:-or(factB,factC). + + %hop2 + conclusion:-and(factA,factX). + + query(conclusion). + ",0.3989999999999999,0.8889777955591118,validation,about even,impossible,Chances are about even that 'John picked up the apple and Greg is yellow'.,It is impossible that 'John picked up the apple and Greg is yellow'.,1,'John picked up the apple and Greg is yellow'. +It is certain that Bernhard is green. It is probably the case that Winona is a sheep. There is a very good chance that Greg is a lion. It is probably the case that if 'Bernhard is green and Winona is a sheep' then John put down the apple. It is certain that if either 'Greg is a lion' or 'Bernhard is green' but not both then Sandra dropped the milk. It is likely that if 'Greg is a lion' or 'Bernhard is green' or both then Lily is a swan.,There is almost no chance that 'Greg is a lion' or 'John put down the apple' or both.," + 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 + 1.0::factA. + 0.7::factB. + 0.8::factC. + %hop1 + 0.7::factX:-and(factA,factB). + 1.0::factY:-xor(factC,factA). + 0.7::factZ:-or(factC,factA). + + %hop2 + conclusion:-or(factC,factX). + + query(conclusion). + ",0.898,0.8419683936787358,validation,highly likely,almost no chance,It is highly likely that 'Greg is a lion' or 'John put down the apple' or both.,There is almost no chance that 'Greg is a lion' or 'John put down the apple' or both.,0,'Greg is a lion' or 'John put down the apple' or both. +It is highly likely that Fred moved to the office. Chances are slight that Greg is gray. There is a very good chance that Sumit is thirsty. It is unlikely that if 'Fred moved to the office' or 'Greg is gray' or both then John is in the garden. It is likely that if either 'Fred moved to the office' or 'Sumit is thirsty' but not both then Mary got the milk. We believe that if 'Fred moved to the office' or 'Greg is gray' or both then Lily is a rhino.,Chances are slight that 'Sumit is thirsty and Fred moved to the office'.," + 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.9::factA. + 0.1::factB. + 0.8::factC. + %hop1 + 0.2::factX:-or(factA,factB). + 0.7::factY:-xor(factA,factC). + 0.75::factZ:-or(factA,factB). + + %hop2 + conclusion:-and(factC,factA). + + query(conclusion). + ",0.7200000000000001,0.8297659531906382,validation,probable,chances are slight,It is probable that 'Sumit is thirsty and Fred moved to the office'.,Chances are slight that 'Sumit is thirsty and Fred moved to the office'.,0,'Sumit is thirsty and Fred moved to the office'. +It is probably not the case that Brian is a rhino. There is almost no chance that John went to the hallway. There is almost no chance that Jeff moved to the garden. We believe that if 'Brian is a rhino' or 'John went to the hallway' or both then Mary put down the apple. Chances are about even that if 'John went to the hallway and Brian is a rhino' then Jessica is a cat. We believe that if 'Jeff moved to the garden' or 'Brian is a rhino' or both then Lily is a frog.,It is probable that either 'John went to the hallway' or 'Mary put down the apple' but not both.," + 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.25::factA. + 0.02::factB. + 0.02::factC. + %hop1 + 0.75::factX:-or(factA,factB). + 0.5::factY:-and(factB,factA). + 0.75::factZ:-or(factC,factA). + + %hop2 + conclusion:-xor(factB,factX). + + query(conclusion). + ",0.18874999999999997,0.8175635127025405,validation,unlikely,probable,It is unlikely that either 'John went to the hallway' or 'Mary put down the apple' but not both.,It is probable that either 'John went to the hallway' or 'Mary put down the apple' but not both.,0,Either 'John went to the hallway' or 'Mary put down the apple' but not both. +It is almost certain that Sandra grabbed the apple. Chances are about even that Mary went to the bedroom. It is impossible that Daniel got the milk. There is little chance that if 'Sandra grabbed the apple' or 'Mary went to the bedroom' or both then Jeff moved to the office. Chances are about even that if 'Daniel got the milk and Sandra grabbed the apple' then Julius is a swan. There is a very good chance that if 'Sandra grabbed the apple and Mary went to the bedroom' then Emily is a wolf.,It is certain that either 'Emily is a wolf' or 'Julius is a swan' but not both.," + 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.95::factA. + 0.5::factB. + 0.0::factC. + %hop1 + 0.1::factX:-or(factA,factB). + 0.5::factY:-and(factC,factA). + 0.8::factZ:-and(factA,factB). + + %hop2 + conclusion:-xor(factZ,factY). + + query(conclusion). + ",0.38,0.8971794358871774,validation,about even,certain,Chances are about even that either 'Emily is a wolf' or 'Julius is a swan' but not both.,It is certain that either 'Emily is a wolf' or 'Julius is a swan' but not both.,0,Either 'Emily is a wolf' or 'Julius is a swan' but not both. +We doubt that John moved to the office. We believe that Emily is a mouse. Chances are slight that Bernhard is a frog. It is probably the case that if either 'John moved to the office' or 'Emily is a mouse' but not both then Sandra dropped the milk. It is probably not the case that if 'John moved to the office' or 'Emily is a mouse' or both then Brian is yellow. There is almost no chance that if either 'John moved to the office' or 'Emily is a mouse' but not both then Winona is a sheep.,It is probably not the case that either 'John moved to the office' or 'Bernhard is a frog' but not both.," + 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.75::factB. + 0.1::factC. + %hop1 + 0.7::factX:-xor(factA,factB). + 0.25::factY:-or(factA,factB). + 0.02::factZ:-xor(factA,factB). + + %hop2 + conclusion:-xor(factA,factC). + + query(conclusion). + ",0.26,0.8929785957191438,validation,probably not,almost certain,It is probably not the case that either 'John moved to the office' or 'Bernhard is a frog' but not both.,It is almost certain that either 'John moved to the office' or 'Bernhard is a frog' but not both.,1,Either 'John moved to the office' or 'Bernhard is a frog' but not both. +It is highly unlikely that John moved to the office. Chances are slight that Greg is a rhino. There is a better than even chance that Mary left the milk. It is highly likely that if 'Mary left the milk and Greg is a rhino' then Sandra dropped the apple. There is little chance that if 'Mary left the milk and Greg is a rhino' then Lily is yellow. It is highly likely that if 'Mary left the milk and John moved to the office' then Brian is a swan.,It is highly unlikely that either 'Lily is yellow' or 'Sandra dropped the apple' but not both.," + 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.05::factA. + 0.1::factB. + 0.6::factC. + %hop1 + 0.9::factX:-and(factC,factB). + 0.1::factY:-and(factC,factB). + 0.9::factZ:-and(factC,factA). + + %hop2 + conclusion:-xor(factY,factX). + + query(conclusion). + ",0.04919999999999999,0.864372874574915,validation,highly unlikely,about even,It is highly unlikely that either 'Lily is yellow' or 'Sandra dropped the apple' but not both.,Chances are about even that either 'Lily is yellow' or 'Sandra dropped the apple' but not both.,1,Either 'Lily is yellow' or 'Sandra dropped the apple' but not both. +Chances are about even that Jeff moved to the garden. We believe that Mary got the football. It is certain that Lily is yellow. There is almost no chance that if 'Mary got the football and Jeff moved to the garden' then Winona is a mouse. It is certain that if 'Mary got the football' or 'Jeff moved to the garden' or both then Bill went to the kitchen. There is a better than even chance that if 'Lily is yellow' or 'Jeff moved to the garden' or both then Brian is white.,Chances are about even that either 'Mary got the football' or 'Jeff moved to the garden' but not both.," + 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. + 1.0::factC. + %hop1 + 0.02::factX:-and(factB,factA). + 1.0::factY:-or(factB,factA). + 0.6::factZ:-or(factC,factA). + + %hop2 + conclusion:-xor(factB,factA). + + query(conclusion). + ",0.5000000000000001,0.8005601120224045,validation,about even,highly unlikely,Chances are about even that either 'Mary got the football' or 'Jeff moved to the garden' but not both.,It is highly unlikely that either 'Mary got the football' or 'Jeff moved to the garden' but not both.,1,Either 'Mary got the football' or 'Jeff moved to the garden' but not both. +It is probably not the case that Julius is white. Chances are about even that Lily is gray. There is almost no chance that Winona is a mouse. Chances are about even that if 'Winona is a mouse and Julius is white' then Jeff went to the bedroom. It is probably not the case that if 'Lily is gray and Julius is white' then Bernhard is a swan. We believe that if either 'Winona is a mouse' or 'Julius is white' but not both then Mary put down the apple.,Chances are slight that 'Julius is white' or 'Lily is gray' or both.," + 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.25::factA. + 0.5::factB. + 0.02::factC. + %hop1 + 0.5::factX:-and(factC,factA). + 0.25::factY:-and(factB,factA). + 0.75::factZ:-xor(factC,factA). + + %hop2 + conclusion:-or(factA,factB). + + query(conclusion). + ",0.625,0.829365873174635,validation,better than even,chances are slight,There is a better than even chance that 'Julius is white' or 'Lily is gray' or both.,Chances are slight that 'Julius is white' or 'Lily is gray' or both.,0,'Julius is white' or 'Lily is gray' or both. +It is certain that Lily is a lion. Chances are slight that Jessica is a cat. There is almost no chance that Mary picked up the milk. There is almost no chance that if 'Lily is a lion and Jessica is a cat' then Sandra is in the kitchen. It is likely that if 'Jessica is a cat' or 'Mary picked up the milk' or both then Julius is a rhino. There is almost no chance that if 'Lily is a lion and Jessica is a cat' then Jeff moved to the garden.,It is highly unlikely that either 'Lily is a lion' or 'Mary picked up the milk' but not both.," + 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 + 1.0::factA. + 0.1::factB. + 0.02::factC. + %hop1 + 0.02::factX:-and(factA,factB). + 0.7::factY:-or(factB,factC). + 0.02::factZ:-and(factA,factB). + + %hop2 + conclusion:-xor(factA,factC). + + query(conclusion). + ",0.98,0.8345669133826765,validation,certain,highly unlikely,It is certain that either 'Lily is a lion' or 'Mary picked up the milk' but not both.,It is highly unlikely that either 'Lily is a lion' or 'Mary picked up the milk' but not both.,0,Either 'Lily is a lion' or 'Mary picked up the milk' but not both. +Chances are about even that Greg is a swan. It is probably not the case that John went to the hallway. We doubt that Emily is a cat. Chances are about even that if 'Emily is a cat' or 'John went to the hallway' or both then Julius is a lion. It is probably not the case that if 'Greg is a swan' or 'Emily is a cat' or both then Sandra took the milk. It is highly unlikely that if 'John went to the hallway and Emily is a cat' then Lily is green.,Chances are about even that 'Sandra took the milk' or 'Greg is a swan' or both.," + 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.2::factC. + %hop1 + 0.5::factX:-or(factC,factB). + 0.25::factY:-or(factA,factC). + 0.05::factZ:-and(factB,factC). + + %hop2 + conclusion:-or(factY,factA). + + query(conclusion). + ",0.5250000000000001,0.8811762352470495,validation,about even,impossible,Chances are about even that 'Sandra took the milk' or 'Greg is a swan' or both.,It is impossible that 'Sandra took the milk' or 'Greg is a swan' or both.,1,'Sandra took the milk' or 'Greg is a swan' or both. +It is almost certain that Mary dropped the milk. It is probable that Greg is a frog. It is certain that Gertrude is a sheep. We doubt that if either 'Mary dropped the milk' or 'Greg is a frog' but not both then John put down the apple. It is likely that if 'Mary dropped the milk' or 'Gertrude is a sheep' or both then Brian is a rhino. It is certain that if either 'Gertrude is a sheep' or 'Greg is a frog' but not both then Sandra took the milk.,Chances are about even that either 'Gertrude is a sheep' or 'John put down the apple' but not both.," + 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.95::factA. + 0.7::factB. + 1.0::factC. + %hop1 + 0.2::factX:-xor(factA,factB). + 0.7::factY:-or(factA,factC). + 1.0::factZ:-xor(factC,factB). + + %hop2 + conclusion:-xor(factC,factX). + + query(conclusion). + ",0.9359999999999999,0.8975795159031806,validation,almost certain,about even,It is almost certain that either 'Gertrude is a sheep' or 'John put down the apple' but not both.,Chances are about even that either 'Gertrude is a sheep' or 'John put down the apple' but not both.,0,Either 'Gertrude is a sheep' or 'John put down the apple' but not both. +It is highly likely that John got the apple. It is likely that Jessica is a mouse. It is likely that Brian is white. It is highly likely that if 'John got the apple' or 'Brian is white' or both then Mary went to the kitchen. We believe that if 'Jessica is a mouse' or 'John got the apple' or both then Bernhard is a swan. It is certain that if 'Brian is white' or 'Jessica is a mouse' or both then Greg is a frog.,It is impossible that 'John got the apple' or 'Greg is a frog' or both.," + 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.9::factA. + 0.7::factB. + 0.7::factC. + %hop1 + 0.9::factX:-or(factA,factC). + 0.75::factY:-or(factB,factA). + 1.0::factZ:-or(factC,factB). + + %hop2 + conclusion:-or(factA,factZ). + + query(conclusion). + ",0.991,0.8609721944388877,validation,certain,impossible,It is certain that 'John got the apple' or 'Greg is a frog' or both.,It is impossible that 'John got the apple' or 'Greg is a frog' or both.,0,'John got the apple' or 'Greg is a frog' or both. +It is unlikely that Julius is a rhino. We doubt that Gertrude is a mouse. It is probable that Bernhard is a swan. It is improbable that if 'Gertrude is a mouse and Bernhard is a swan' then Mary moved to the garden. It is impossible that if either 'Bernhard is a swan' or 'Julius is a rhino' but not both then John went to the office. It is almost certain that if 'Julius is a rhino' or 'Bernhard is a swan' or both then Sandra left the football.,It is probable that either 'John went to the office' or 'Gertrude is a mouse' but not both.," + 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.2::factB. + 0.7::factC. + %hop1 + 0.1::factX:-and(factB,factC). + 0.0::factY:-xor(factC,factA). + 0.95::factZ:-or(factA,factC). + + %hop2 + conclusion:-xor(factY,factB). + + query(conclusion). + ",0.2,0.8081616323264653,validation,unlikely,probable,It is unlikely that either 'John went to the office' or 'Gertrude is a mouse' but not both.,It is probable that either 'John went to the office' or 'Gertrude is a mouse' but not both.,0,Either 'John went to the office' or 'Gertrude is a mouse' but not both. +It is unlikely that John went to the garden. It is unlikely that Sandra grabbed the milk. It is highly likely that Brian is green. It is probable that if either 'Brian is green' or 'Sandra grabbed the milk' but not both then Greg is a rhino. It is probably not the case that if either 'Brian is green' or 'Sandra grabbed the milk' but not both then Bernhard is a swan. It is unlikely that if 'Sandra grabbed the milk' or 'John went to the garden' or both then Jason is tired.,It is highly unlikely that 'Sandra grabbed the milk and Jason is tired'.," + 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.2::factB. + 0.9::factC. + %hop1 + 0.7::factX:-xor(factC,factB). + 0.25::factY:-xor(factC,factB). + 0.2::factZ:-or(factB,factA). + + %hop2 + conclusion:-and(factB,factZ). + + query(conclusion). + ",0.04000000000000001,0.828365673134627,validation,highly unlikely,certain,It is highly unlikely that 'Sandra grabbed the milk and Jason is tired'.,It is certain that 'Sandra grabbed the milk and Jason is tired'.,1,'Sandra grabbed the milk and Jason is tired'. +It is highly unlikely that Mary left the apple. Chances are slight that Julius is gray. It is improbable that Jeff went to the garden. There is a very good chance that if 'Julius is gray' or 'Jeff went to the garden' or both then Lily is yellow. Chances are about even that if 'Julius is gray' or 'Mary left the apple' or both then Brian is a frog. Chances are about even that if 'Julius is gray and Mary left the apple' then Sumit is thirsty.,It is likely that 'Sumit is thirsty and Lily is yellow'.," + 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.05::factA. + 0.1::factB. + 0.1::factC. + %hop1 + 0.8::factX:-or(factB,factC). + 0.5::factY:-or(factB,factA). + 0.5::factZ:-and(factB,factA). + + %hop2 + conclusion:-and(factZ,factX). + + query(conclusion). + ",0.0020000000000000005,0.8441688337667533,validation,impossible,likely,It is impossible that 'Sumit is thirsty and Lily is yellow'.,It is likely that 'Sumit is thirsty and Lily is yellow'.,0,'Sumit is thirsty and Lily is yellow'. +It is unlikely that Bernhard is gray. It is almost certain that Fred dropped the milk. We believe that Mary took the football. We doubt that if either 'Mary took the football' or 'Bernhard is gray' but not both then Jessica is a mouse. There is a better than even chance that if 'Fred dropped the milk' or 'Bernhard is gray' or both then Greg is yellow. There is a better than even chance that if either 'Bernhard is gray' or 'Mary took the football' but not both then Julius is green.,It is likely that either 'Bernhard is gray' or 'Mary took the football' but not both.," + 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.95::factB. + 0.75::factC. + %hop1 + 0.2::factX:-xor(factC,factA). + 0.6::factY:-or(factB,factA). + 0.6::factZ:-xor(factA,factC). + + %hop2 + conclusion:-xor(factA,factC). + + query(conclusion). + ",0.65,0.8023604720944189,validation,likely,little chance,It is likely that either 'Bernhard is gray' or 'Mary took the football' but not both.,There is little chance that either 'Bernhard is gray' or 'Mary took the football' but not both.,1,Either 'Bernhard is gray' or 'Mary took the football' but not both. +It is probably not the case that Greg is white. It is likely that Julius is a frog. It is probably not the case that Lily is a rhino. It is probable that if either 'Greg is white' or 'Julius is a frog' but not both then John dropped the apple. It is probable that if 'Greg is white' or 'Lily is a rhino' or both then Mary moved to the office. We believe that if 'Greg is white and Lily is a rhino' then Jeff left the apple.,Chances are slight that either 'Lily is a rhino' or 'Julius is a frog' but not both.," + 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.25::factA. + 0.7::factB. + 0.25::factC. + %hop1 + 0.7::factX:-xor(factA,factB). + 0.7::factY:-or(factA,factC). + 0.75::factZ:-and(factA,factC). + + %hop2 + conclusion:-xor(factC,factB). + + query(conclusion). + ",0.6,0.8369673934786958,validation,better than even,chances are slight,There is a better than even chance that either 'Lily is a rhino' or 'Julius is a frog' but not both.,Chances are slight that either 'Lily is a rhino' or 'Julius is a frog' but not both.,0,Either 'Lily is a rhino' or 'Julius is a frog' but not both. +It is highly unlikely that Bernhard is a rhino. Chances are slight that Sandra dropped the apple. It is almost certain that John picked up the milk. It is unlikely that if 'John picked up the milk and Bernhard is a rhino' then Jeff moved to the garden. It is highly likely that if 'Bernhard is a rhino' or 'John picked up the milk' or both then Lily is white. It is probable that if 'Bernhard is a rhino and Sandra dropped the apple' then Mary left the football.,It is highly likely that 'Mary left the football' or 'Lily is white' or both.," + 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.05::factA. + 0.1::factB. + 0.95::factC. + %hop1 + 0.2::factX:-and(factC,factA). + 0.9::factY:-or(factA,factC). + 0.7::factZ:-and(factA,factB). + + %hop2 + conclusion:-or(factZ,factY). + + query(conclusion). + ",0.8575999999999999,0.8913782756551311,validation,highly likely,improbable,It is highly likely that 'Mary left the football' or 'Lily is white' or both.,It is improbable that 'Mary left the football' or 'Lily is white' or both.,1,'Mary left the football' or 'Lily is white' or both. +There is a very good chance that Julius is white. There is little chance that Sandra left the apple. It is probably the case that Mary moved to the garden. It is improbable that if 'Sandra left the apple' or 'Julius is white' or both then Brian is a frog. It is probably the case that if 'Sandra left the apple' or 'Julius is white' or both then Lily is a lion. There is a better than even chance that if 'Mary moved to the garden' or 'Julius is white' or both then Greg is a lion.,Chances are about even that either 'Lily is a lion' or 'Brian is a frog' but not both.," + 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.8::factA. + 0.1::factB. + 0.7::factC. + %hop1 + 0.1::factX:-or(factB,factA). + 0.7::factY:-or(factB,factA). + 0.6::factZ:-or(factC,factA). + + %hop2 + conclusion:-xor(factY,factX). + + query(conclusion). + ",0.5412,0.8489697939587918,validation,about even,highly unlikely,Chances are about even that either 'Lily is a lion' or 'Brian is a frog' but not both.,It is highly unlikely that either 'Lily is a lion' or 'Brian is a frog' but not both.,1,Either 'Lily is a lion' or 'Brian is a frog' but not both. +It is likely that John went to the bedroom. There is little chance that Julius is a frog. We believe that Lily is green. It is improbable that if 'Lily is green and John went to the bedroom' then Mary grabbed the milk. There is a very good chance that if either 'Julius is a frog' or 'Lily is green' but not both then Greg is a rhino. We doubt that if 'Julius is a frog and John went to the bedroom' then Yann is thirsty.,There is a better than even chance that 'Julius is a frog and Yann is thirsty'.," + 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.7::factA. + 0.1::factB. + 0.75::factC. + %hop1 + 0.1::factX:-and(factC,factA). + 0.8::factY:-xor(factB,factC). + 0.2::factZ:-and(factB,factA). + + %hop2 + conclusion:-and(factB,factZ). + + query(conclusion). + ",0.014000000000000007,0.8247649529905982,validation,almost no chance,better than even,There is almost no chance that 'Julius is a frog and Yann is thirsty'.,There is a better than even chance that 'Julius is a frog and Yann is thirsty'.,0,'Julius is a frog and Yann is thirsty'. +It is probably not the case that Jason is tired. It is probably not the case that Mary dropped the milk. It is unlikely that Sandra took the football. There is a very good chance that if either 'Jason is tired' or 'Sandra took the football' but not both then Julius is a rhino. There is little chance that if 'Sandra took the football and Jason is tired' then Brian is a swan. It is likely that if either 'Jason is tired' or 'Sandra took the football' but not both then Bernhard is white.,It is highly unlikely that 'Mary dropped the milk and Jason is tired'.," + 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.25::factA. + 0.25::factB. + 0.2::factC. + %hop1 + 0.8::factX:-xor(factA,factC). + 0.1::factY:-and(factC,factA). + 0.7::factZ:-xor(factA,factC). + + %hop2 + conclusion:-and(factB,factA). + + query(conclusion). + ",0.0625,0.8133626725345069,validation,highly unlikely,probable,It is highly unlikely that 'Mary dropped the milk and Jason is tired'.,It is probable that 'Mary dropped the milk and Jason is tired'.,1,'Mary dropped the milk and Jason is tired'. +It is probable that Mary is in the school. It is probably the case that Bill moved to the office. It is probable that Greg is a swan. There is little chance that if either 'Mary is in the school' or 'Greg is a swan' but not both then Emily is a sheep. Chances are about even that if 'Bill moved to the office and Greg is a swan' then Jason is thirsty. It is probable that if 'Mary is in the school' or 'Bill moved to the office' or both then Julius is white.,There is a better than even chance that either 'Emily is a sheep' or 'Julius is white' but not both.," + 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.7::factA. + 0.7::factB. + 0.7::factC. + %hop1 + 0.1::factX:-xor(factA,factC). + 0.5::factY:-and(factB,factC). + 0.7::factZ:-or(factA,factB). + + %hop2 + conclusion:-xor(factX,factZ). + + query(conclusion). + ",0.62902,0.8185637127425485,validation,better than even,little chance,There is a better than even chance that either 'Emily is a sheep' or 'Julius is white' but not both.,There is little chance that either 'Emily is a sheep' or 'Julius is white' but not both.,1,Either 'Emily is a sheep' or 'Julius is white' but not both. +We believe that Bernhard is gray. It is impossible that Daniel grabbed the milk. It is probably not the case that Mary got the football. Chances are slight that if 'Mary got the football and Bernhard is gray' then Gertrude is a cat. We believe that if 'Daniel grabbed the milk' or 'Mary got the football' or both then John picked up the apple. There is almost no chance that if either 'Bernhard is gray' or 'Daniel grabbed the milk' but not both then Sandra dropped the milk.,There is almost no chance that either 'Bernhard is gray' or 'John picked up the apple' but not both.," + 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.75::factA. + 0.0::factB. + 0.25::factC. + %hop1 + 0.1::factX:-and(factC,factA). + 0.75::factY:-or(factB,factC). + 0.02::factZ:-xor(factA,factB). + + %hop2 + conclusion:-xor(factA,factY). + + query(conclusion). + ",0.65625,0.8699739947989598,validation,likely,almost no chance,It is likely that either 'Bernhard is gray' or 'John picked up the apple' but not both.,There is almost no chance that either 'Bernhard is gray' or 'John picked up the apple' but not both.,0,Either 'Bernhard is gray' or 'John picked up the apple' but not both. +It is impossible that Brian is white. It is probably not the case that John put down the apple. There is a better than even chance that Mary left the milk. It is probable that if 'John put down the apple' or 'Brian is white' or both then Bernhard is a rhino. It is probably not the case that if 'John put down the apple' or 'Mary left the milk' or both then Julius is a frog. Chances are about even that if 'Brian is white and John put down the apple' then Daniel dropped the apple.,It is almost certain that 'John put down the apple' or 'Julius is a frog' or both.," + 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.25::factB. + 0.6::factC. + %hop1 + 0.7::factX:-or(factB,factA). + 0.25::factY:-or(factB,factC). + 0.5::factZ:-and(factA,factB). + + %hop2 + conclusion:-or(factB,factY). + + query(conclusion). + ",0.36250000000000004,0.8089617923584717,validation,probably not,almost certain,It is probably not the case that 'John put down the apple' or 'Julius is a frog' or both.,It is almost certain that 'John put down the apple' or 'Julius is a frog' or both.,0,'John put down the apple' or 'Julius is a frog' or both. +We doubt that John moved to the garden. It is probably not the case that Bernhard is a lion. It is likely that Jessica is a cat. It is likely that if 'Jessica is a cat' or 'John moved to the garden' or both then Greg is a rhino. We doubt that if 'John moved to the garden' or 'Jessica is a cat' or both then Lily is a swan. It is certain that if 'Jessica is a cat' or 'John moved to the garden' or both then Julius is yellow.,It is highly unlikely that 'John moved to the garden and Lily is a swan'.," + 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.7::factC. + %hop1 + 0.7::factX:-or(factC,factA). + 0.2::factY:-or(factA,factC). + 1.0::factZ:-or(factC,factA). + + %hop2 + conclusion:-and(factA,factY). + + query(conclusion). + ",0.04000000000000001,0.8919783956791358,validation,highly unlikely,probable,It is highly unlikely that 'John moved to the garden and Lily is a swan'.,It is probable that 'John moved to the garden and Lily is a swan'.,1,'John moved to the garden and Lily is a swan'. +There is almost no chance that Jeff moved to the garden. Chances are about even that Julius is a rhino. It is almost certain that Daniel dropped the apple. It is improbable that if 'Daniel dropped the apple' or 'Julius is a rhino' or both then Greg is a lion. There is a better than even chance that if 'Daniel dropped the apple' or 'Julius is a rhino' or both then John went to the bedroom. It is impossible that if 'Daniel dropped the apple and Julius is a rhino' then Gertrude is a cat.,There is a very good chance that 'John went to the bedroom' or 'Julius is a rhino' or both.," + 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.5::factB. + 0.95::factC. + %hop1 + 0.1::factX:-or(factC,factB). + 0.6::factY:-or(factC,factB). + 0.0::factZ:-and(factC,factB). + + %hop2 + conclusion:-or(factY,factB). + + query(conclusion). + ",0.785,0.8053610722144429,validation,very good chance,highly unlikely,There is a very good chance that 'John went to the bedroom' or 'Julius is a rhino' or both.,It is highly unlikely that 'John went to the bedroom' or 'Julius is a rhino' or both.,1,'John went to the bedroom' or 'Julius is a rhino' or both. +There is a very good chance that Bernhard is yellow. It is highly likely that Daniel left the milk. It is highly unlikely that Sandra took the football. Chances are slight that if 'Bernhard is yellow and Sandra took the football' then Lily is a swan. It is probably not the case that if 'Sandra took the football' or 'Bernhard is yellow' or both then Mary moved to the garden. It is probably not the case that if 'Daniel left the milk' or 'Bernhard is yellow' or both then Brian is a frog.,Chances are slight that 'Sandra took the football' or 'Daniel left the milk' or both.," + 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.8::factA. + 0.9::factB. + 0.05::factC. + %hop1 + 0.1::factX:-and(factA,factC). + 0.25::factY:-or(factC,factA). + 0.25::factZ:-or(factB,factA). + + %hop2 + conclusion:-or(factC,factB). + + query(conclusion). + ",0.905,0.8563712742548509,validation,highly likely,chances are slight,It is highly likely that 'Sandra took the football' or 'Daniel left the milk' or both.,Chances are slight that 'Sandra took the football' or 'Daniel left the milk' or both.,0,'Sandra took the football' or 'Daniel left the milk' or both. +It is probably not the case that Greg is green. It is improbable that Winona is a wolf. It is probably the case that Brian is white. It is highly likely that if 'Winona is a wolf and Greg is green' then Gertrude is a sheep. It is almost certain that if 'Winona is a wolf' or 'Greg is green' or both then Lily is a lion. It is highly likely that if 'Greg is green and Winona is a wolf' then Mary grabbed the apple.,It is highly likely that either 'Gertrude is a sheep' or 'Lily is a lion' but not both.," + 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.25::factA. + 0.1::factB. + 0.7::factC. + %hop1 + 0.9::factX:-and(factB,factA). + 0.95::factY:-or(factB,factA). + 0.9::factZ:-and(factA,factB). + + %hop2 + conclusion:-xor(factX,factY). + + query(conclusion). + ",0.2885,0.865373074614923,validation,probably not,highly likely,It is probably not the case that either 'Gertrude is a sheep' or 'Lily is a lion' but not both.,It is highly likely that either 'Gertrude is a sheep' or 'Lily is a lion' but not both.,0,Either 'Gertrude is a sheep' or 'Lily is a lion' but not both. +Chances are about even that Lily is a lion. There is almost no chance that Yann is tired. It is unlikely that Bernhard is yellow. There is a very good chance that if either 'Lily is a lion' or 'Yann is tired' but not both then Julius is a frog. Chances are about even that if 'Bernhard is yellow' or 'Lily is a lion' or both then Sandra got the milk. It is probably not the case that if 'Lily is a lion' or 'Yann is tired' or both then Mary left the football.,There is little chance that 'Lily is a lion and Bernhard is yellow'.," + 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.02::factB. + 0.2::factC. + %hop1 + 0.8::factX:-xor(factA,factB). + 0.5::factY:-or(factC,factA). + 0.25::factZ:-or(factA,factB). + + %hop2 + conclusion:-and(factA,factC). + + query(conclusion). + ",0.10000000000000002,0.8033606721344269,validation,little chance,almost certain,There is little chance that 'Lily is a lion and Bernhard is yellow'.,It is almost certain that 'Lily is a lion and Bernhard is yellow'.,1,'Lily is a lion and Bernhard is yellow'. +It is improbable that Julius is white. We doubt that Bernhard is green. We doubt that Brian is a lion. There is little chance that if either 'Julius is white' or 'Brian is a lion' but not both then Lily is a rhino. It is probably not the case that if 'Julius is white and Brian is a lion' then Sandra got the milk. It is highly unlikely that if 'Bernhard is green and Julius is white' then Bill went to the garden.,It is improbable that either 'Julius is white' or 'Bill went to the garden' but not both.," + 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.1::factA. + 0.2::factB. + 0.2::factC. + %hop1 + 0.1::factX:-xor(factA,factC). + 0.25::factY:-and(factA,factC). + 0.05::factZ:-and(factB,factA). + + %hop2 + conclusion:-xor(factA,factZ). + + query(conclusion). + ",0.099,0.8337667533506702,validation,improbable,likely,It is improbable that either 'Julius is white' or 'Bill went to the garden' but not both.,It is likely that either 'Julius is white' or 'Bill went to the garden' but not both.,1,Either 'Julius is white' or 'Bill went to the garden' but not both. +There is little chance that Winona is a sheep. It is probably not the case that Bernhard is green. It is impossible that Mary left the football. We doubt that if 'Bernhard is green and Mary left the football' then Fred is in the school. It is impossible that if 'Bernhard is green' or 'Winona is a sheep' or both then Bill went to the garden. It is likely that if 'Winona is a sheep' or 'Mary left the football' or both then John put down the milk.,It is highly unlikely that either 'Mary left the football' or 'John put down the milk' but not both.," + 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.1::factA. + 0.25::factB. + 0.0::factC. + %hop1 + 0.2::factX:-and(factB,factC). + 0.0::factY:-or(factB,factA). + 0.7::factZ:-or(factA,factC). + + %hop2 + conclusion:-xor(factC,factZ). + + query(conclusion). + ",0.07,0.8367673534706941,validation,highly unlikely,we believe,It is highly unlikely that either 'Mary left the football' or 'John put down the milk' but not both.,We believe that either 'Mary left the football' or 'John put down the milk' but not both.,1,Either 'Mary left the football' or 'John put down the milk' but not both. +It is highly likely that Lily is green. It is unlikely that Mary moved to the garden. There is almost no chance that Greg is a swan. It is almost certain that if either 'Greg is a swan' or 'Mary moved to the garden' but not both then Brian is a lion. It is probably not the case that if either 'Mary moved to the garden' or 'Greg is a swan' but not both then John took the football. It is probably not the case that if 'Lily is green and Mary moved to the garden' then Sandra grabbed the apple.,It is highly likely that 'Brian is a lion and Mary moved to the garden'.," + 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.9::factA. + 0.2::factB. + 0.02::factC. + %hop1 + 0.95::factX:-xor(factC,factB). + 0.25::factY:-xor(factB,factC). + 0.25::factZ:-and(factA,factB). + + %hop2 + conclusion:-and(factX,factB). + + query(conclusion). + ",0.1862,0.8877775555111023,validation,unlikely,highly likely,It is unlikely that 'Brian is a lion and Mary moved to the garden'.,It is highly likely that 'Brian is a lion and Mary moved to the garden'.,0,'Brian is a lion and Mary moved to the garden'. +It is probably the case that John moved to the garden. Chances are slight that Bernhard is a swan. It is improbable that Emily is a mouse. It is impossible that if 'Emily is a mouse and John moved to the garden' then Julius is gray. It is impossible that if 'John moved to the garden and Emily is a mouse' then Jeff dropped the apple. We believe that if 'Bernhard is a swan' or 'Emily is a mouse' or both then Mary is in the bathroom.,Chances are slight that either 'Emily is a mouse' or 'Julius is gray' but not both.," + 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.7::factA. + 0.1::factB. + 0.1::factC. + %hop1 + 0.0::factX:-and(factC,factA). + 0.0::factY:-and(factA,factC). + 0.75::factZ:-or(factB,factC). + + %hop2 + conclusion:-xor(factC,factX). + + query(conclusion). + ",0.10000000000000002,0.8149629925985197,validation,chances are slight,almost certain,Chances are slight that either 'Emily is a mouse' or 'Julius is gray' but not both.,It is almost certain that either 'Emily is a mouse' or 'Julius is gray' but not both.,1,Either 'Emily is a mouse' or 'Julius is gray' but not both. +It is impossible that Julius is yellow. It is probable that Jeff went to the garden. Chances are about even that Greg is white. There is a very good chance that if either 'Greg is white' or 'Jeff went to the garden' but not both then Brian is a frog. It is almost certain that if 'Julius is yellow and Jeff went to the garden' then Lily is green. It is probably not the case that if 'Jeff went to the garden' or 'Greg is white' or both then John discarded the apple.,It is impossible that 'Brian is a frog' or 'John discarded the apple' or both.," + 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.7::factB. + 0.5::factC. + %hop1 + 0.8::factX:-xor(factC,factB). + 0.95::factY:-and(factA,factB). + 0.25::factZ:-or(factB,factC). + + %hop2 + conclusion:-or(factX,factZ). + + query(conclusion). + ",0.5125,0.8561712342468494,validation,about even,impossible,Chances are about even that 'Brian is a frog' or 'John discarded the apple' or both.,It is impossible that 'Brian is a frog' or 'John discarded the apple' or both.,0,'Brian is a frog' or 'John discarded the apple' or both. +It is impossible that Julius is gray. There is a very good chance that Bernhard is gray. It is certain that John took the apple. It is unlikely that if 'John took the apple and Bernhard is gray' then Brian is a swan. It is highly unlikely that if either 'Bernhard is gray' or 'Julius is gray' but not both then Greg is green. It is almost certain that if 'Bernhard is gray and Julius is gray' then Jessica is a wolf.,Chances are about even that either 'John took the apple' or 'Julius is gray' but not both.," + 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.8::factB. + 1.0::factC. + %hop1 + 0.2::factX:-and(factC,factB). + 0.05::factY:-xor(factB,factA). + 0.95::factZ:-and(factB,factA). + + %hop2 + conclusion:-xor(factC,factA). + + query(conclusion). + ",1.0,0.8575715143028606,validation,certain,about even,It is certain that either 'John took the apple' or 'Julius is gray' but not both.,Chances are about even that either 'John took the apple' or 'Julius is gray' but not both.,0,Either 'John took the apple' or 'Julius is gray' but not both. +It is impossible that Greg is a frog. It is highly unlikely that Winona is a wolf. It is unlikely that Lily is a rhino. It is likely that if 'Lily is a rhino and Winona is a wolf' then Fred left the apple. There is almost no chance that if 'Winona is a wolf and Lily is a rhino' then Brian is yellow. It is certain that if either 'Lily is a rhino' or 'Winona is a wolf' but not both then Mary went to the garden.,There is a very good chance that 'Greg is a frog' or 'Winona is a wolf' or both.," + 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.05::factB. + 0.2::factC. + %hop1 + 0.7::factX:-and(factC,factB). + 0.02::factY:-and(factB,factC). + 1.0::factZ:-xor(factC,factB). + + %hop2 + conclusion:-or(factA,factB). + + query(conclusion). + ",0.05000000000000001,0.8547709541908382,validation,highly unlikely,very good chance,It is highly unlikely that 'Greg is a frog' or 'Winona is a wolf' or both.,There is a very good chance that 'Greg is a frog' or 'Winona is a wolf' or both.,0,'Greg is a frog' or 'Winona is a wolf' or both. +There is a very good chance that Julius is gray. It is likely that Emily is a mouse. It is likely that Lily is white. There is a very good chance that if either 'Emily is a mouse' or 'Julius is gray' but not both then Greg is a frog. We doubt that if either 'Lily is white' or 'Emily is a mouse' but not both then John discarded the milk. We believe that if 'Julius is gray' or 'Emily is a mouse' or both then Mary left the football.,There is a better than even chance that 'Emily is a mouse and Julius is gray'.," + 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.8::factA. + 0.7::factB. + 0.7::factC. + %hop1 + 0.8::factX:-xor(factB,factA). + 0.2::factY:-xor(factC,factB). + 0.75::factZ:-or(factA,factB). + + %hop2 + conclusion:-and(factB,factA). + + query(conclusion). + ",0.5599999999999999,0.889377875575115,validation,better than even,highly unlikely,There is a better than even chance that 'Emily is a mouse and Julius is gray'.,It is highly unlikely that 'Emily is a mouse and Julius is gray'.,1,'Emily is a mouse and Julius is gray'. +It is probably the case that Fred dropped the milk. There is little chance that Mary got the football. It is improbable that Greg is a swan. Chances are about even that if 'Greg is a swan and Fred dropped the milk' then Bernhard is yellow. It is unlikely that if either 'Mary got the football' or 'Greg is a swan' but not both then Lily is white. There is a better than even chance that if 'Fred dropped the milk and Greg is a swan' then Brian is green.,It is highly unlikely that either 'Greg is a swan' or 'Brian is green' but not both.," + 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.7::factA. + 0.1::factB. + 0.1::factC. + %hop1 + 0.5::factX:-and(factC,factA). + 0.2::factY:-xor(factB,factC). + 0.6::factZ:-and(factA,factC). + + %hop2 + conclusion:-xor(factC,factZ). + + query(conclusion). + ",0.058,0.8801760352070415,validation,highly unlikely,almost certain,It is highly unlikely that either 'Greg is a swan' or 'Brian is green' but not both.,It is almost certain that either 'Greg is a swan' or 'Brian is green' but not both.,1,Either 'Greg is a swan' or 'Brian is green' but not both. +It is highly likely that Brian is a rhino. It is probably not the case that Bill left the football. There is a very good chance that Lily is a lion. It is impossible that if 'Brian is a rhino and Bill left the football' then Winona is a sheep. It is likely that if 'Bill left the football' or 'Brian is a rhino' or both then John went to the kitchen. It is probably not the case that if either 'Bill left the football' or 'Lily is a lion' but not both then Greg is a frog.,It is impossible that 'Greg is a frog and Winona is a sheep'.," + 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.9::factA. + 0.25::factB. + 0.8::factC. + %hop1 + 0.0::factX:-and(factA,factB). + 0.7::factY:-or(factB,factA). + 0.25::factZ:-xor(factB,factC). + + %hop2 + conclusion:-and(factZ,factX). + + query(conclusion). + ",0.0,0.8985797159431886,validation,impossible,very good chance,It is impossible that 'Greg is a frog and Winona is a sheep'.,There is a very good chance that 'Greg is a frog and Winona is a sheep'.,1,'Greg is a frog and Winona is a sheep'. +It is highly likely that Sandra left the milk. There is a better than even chance that Jessica is a mouse. It is highly unlikely that Greg is a frog. It is unlikely that if 'Greg is a frog' or 'Sandra left the milk' or both then Lily is a lion. It is probably the case that if either 'Greg is a frog' or 'Sandra left the milk' but not both then Julius is a swan. We doubt that if 'Sandra left the milk' or 'Jessica is a mouse' or both then Mary moved to the garden.,It is highly likely that 'Sandra left the milk' or 'Lily is a lion' or both.," + 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.9::factA. + 0.6::factB. + 0.05::factC. + %hop1 + 0.2::factX:-or(factC,factA). + 0.7::factY:-xor(factC,factA). + 0.2::factZ:-or(factA,factB). + + %hop2 + conclusion:-or(factA,factX). + + query(conclusion). + ",0.901,0.8925785157031406,validation,highly likely,probably not,It is highly likely that 'Sandra left the milk' or 'Lily is a lion' or both.,It is probably not the case that 'Sandra left the milk' or 'Lily is a lion' or both.,1,'Sandra left the milk' or 'Lily is a lion' or both. +It is almost certain that Winona is a wolf. It is highly unlikely that Yann is thirsty. There is a very good chance that Brian is a rhino. It is certain that if 'Winona is a wolf' or 'Yann is thirsty' or both then Jason is bored. It is probably the case that if either 'Brian is a rhino' or 'Winona is a wolf' but not both then John got the milk. It is highly unlikely that if 'Winona is a wolf' or 'Yann is thirsty' or both then Julius is gray.,There is a very good chance that 'Jason is bored and John got the milk'.," + 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.95::factA. + 0.05::factB. + 0.8::factC. + %hop1 + 1.0::factX:-or(factA,factB). + 0.7::factY:-xor(factC,factA). + 0.05::factZ:-or(factA,factB). + + %hop2 + conclusion:-and(factX,factY). + + query(conclusion). + ",0.13439999999999996,0.8965793158631726,validation,chances are slight,very good chance,Chances are slight that 'Jason is bored and John got the milk'.,There is a very good chance that 'Jason is bored and John got the milk'.,0,'Jason is bored and John got the milk'. +It is almost certain that Lily is a swan. Chances are slight that Mary went to the office. It is probably not the case that Greg is green. It is improbable that if 'Lily is a swan' or 'Mary went to the office' or both then Emily is a sheep. We doubt that if 'Greg is green' or 'Lily is a swan' or both then Sandra got the football. Chances are slight that if either 'Lily is a swan' or 'Mary went to the office' but not both then John dropped the milk.,We doubt that either 'Mary went to the office' or 'John dropped the milk' but not both.," + 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.95::factA. + 0.1::factB. + 0.25::factC. + %hop1 + 0.1::factX:-or(factA,factB). + 0.2::factY:-or(factC,factA). + 0.1::factZ:-xor(factA,factB). + + %hop2 + conclusion:-xor(factB,factZ). + + query(conclusion). + ",0.18500000000000005,0.8431686337267453,validation,we doubt,probably,We doubt that either 'Mary went to the office' or 'John dropped the milk' but not both.,It is probably the case that either 'Mary went to the office' or 'John dropped the milk' but not both.,1,Either 'Mary went to the office' or 'John dropped the milk' but not both. +There is a better than even chance that Greg is yellow. There is a better than even chance that John moved to the office. It is impossible that Jeff discarded the milk. It is probably the case that if either 'Greg is yellow' or 'Jeff discarded the milk' but not both then Mary got the milk. It is highly likely that if either 'Jeff discarded the milk' or 'Greg is yellow' but not both then Sandra is in the kitchen. Chances are about even that if 'Jeff discarded the milk and John moved to the office' then Brian is white.,It is impossible that 'Greg is yellow and Jeff discarded the milk'.," + 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.6::factA. + 0.6::factB. + 0.0::factC. + %hop1 + 0.7::factX:-xor(factA,factC). + 0.9::factY:-xor(factC,factA). + 0.5::factZ:-and(factC,factB). + + %hop2 + conclusion:-and(factA,factC). + + query(conclusion). + ",0.0,0.8483696739347869,validation,impossible,better than even,It is impossible that 'Greg is yellow and Jeff discarded the milk'.,There is a better than even chance that 'Greg is yellow and Jeff discarded the milk'.,1,'Greg is yellow and Jeff discarded the milk'. +It is unlikely that John put down the apple. It is highly likely that Mary got the milk. It is highly unlikely that Bernhard is yellow. It is improbable that if either 'John put down the apple' or 'Mary got the milk' but not both then Brian is green. It is certain that if 'Bernhard is yellow and Mary got the milk' then Greg is white. It is probably not the case that if 'John put down the apple' or 'Mary got the milk' or both then Winona is a mouse.,It is probably not the case that 'Brian is green' or 'Winona is a mouse' or both.," + 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.9::factB. + 0.05::factC. + %hop1 + 0.1::factX:-xor(factA,factB). + 1.0::factY:-and(factC,factB). + 0.25::factZ:-or(factA,factB). + + %hop2 + conclusion:-or(factX,factZ). + + query(conclusion). + ",0.2855,0.8647729545909182,validation,probably not,likely,It is probably not the case that 'Brian is green' or 'Winona is a mouse' or both.,It is likely that 'Brian is green' or 'Winona is a mouse' or both.,1,'Brian is green' or 'Winona is a mouse' or both. +There is little chance that Daniel took the football. It is improbable that Gertrude is a mouse. It is probably not the case that Brian is yellow. It is highly unlikely that if either 'Brian is yellow' or 'Gertrude is a mouse' but not both then John got the milk. We believe that if either 'Gertrude is a mouse' or 'Daniel took the football' but not both then Greg is green. It is probable that if 'Daniel took the football and Brian is yellow' then Bernhard is a frog.,It is probable that 'Brian is yellow' or 'Greg is green' or both.," + 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.1::factA. + 0.1::factB. + 0.25::factC. + %hop1 + 0.05::factX:-xor(factC,factB). + 0.75::factY:-xor(factB,factA). + 0.7::factZ:-and(factA,factC). + + %hop2 + conclusion:-or(factC,factY). + + query(conclusion). + ",0.3512500000000001,0.8967793558711742,validation,probably not,probable,It is probably not the case that 'Brian is yellow' or 'Greg is green' or both.,It is probable that 'Brian is yellow' or 'Greg is green' or both.,0,'Brian is yellow' or 'Greg is green' or both. +It is unlikely that Mary dropped the milk. Chances are slight that Jason is tired. We believe that Emily is a cat. It is probably the case that if 'Mary dropped the milk and Emily is a cat' then John got the milk. Chances are about even that if 'Jason is tired and Emily is a cat' then Brian is a lion. It is highly likely that if 'Mary dropped the milk' or 'Emily is a cat' or both then Sandra took the football.,Chances are slight that 'Emily is a cat and Jason is tired'.," + 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.1::factB. + 0.75::factC. + %hop1 + 0.7::factX:-and(factA,factC). + 0.5::factY:-and(factB,factC). + 0.9::factZ:-or(factA,factC). + + %hop2 + conclusion:-and(factC,factB). + + query(conclusion). + ",0.07500000000000002,0.8841768353670734,validation,chances are slight,probable,Chances are slight that 'Emily is a cat and Jason is tired'.,It is probable that 'Emily is a cat and Jason is tired'.,1,'Emily is a cat and Jason is tired'. +There is a better than even chance that Brian is white. It is probably the case that Daniel left the milk. It is improbable that Bernhard is a rhino. We believe that if either 'Bernhard is a rhino' or 'Daniel left the milk' but not both then Julius is a swan. We believe that if 'Bernhard is a rhino' or 'Brian is white' or both then Gertrude is a wolf. It is probably not the case that if 'Daniel left the milk and Bernhard is a rhino' then John went to the office.,It is highly likely that 'Daniel left the milk' or 'Brian is white' or both.," + 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.6::factA. + 0.7::factB. + 0.1::factC. + %hop1 + 0.75::factX:-xor(factC,factB). + 0.75::factY:-or(factC,factA). + 0.25::factZ:-and(factB,factC). + + %hop2 + conclusion:-or(factB,factA). + + query(conclusion). + ",0.88,0.8707741548309662,validation,highly likely,almost no chance,It is highly likely that 'Daniel left the milk' or 'Brian is white' or both.,There is almost no chance that 'Daniel left the milk' or 'Brian is white' or both.,1,'Daniel left the milk' or 'Brian is white' or both. +We believe that Winona is a wolf. It is probably not the case that Lily is green. It is almost certain that Daniel got the milk. There is little chance that if 'Winona is a wolf and Lily is green' then Greg is a rhino. It is improbable that if 'Daniel got the milk and Winona is a wolf' then Brian is yellow. It is likely that if either 'Daniel got the milk' or 'Lily is green' but not both then Julius is green.,Chances are slight that either 'Greg is a rhino' or 'Brian is yellow' but not both.," + 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.75::factA. + 0.25::factB. + 0.95::factC. + %hop1 + 0.1::factX:-and(factA,factB). + 0.1::factY:-and(factC,factA). + 0.7::factZ:-xor(factC,factB). + + %hop2 + conclusion:-xor(factX,factY). + + query(conclusion). + ",0.08643750000000003,0.880376075215043,validation,chances are slight,very good chance,Chances are slight that either 'Greg is a rhino' or 'Brian is yellow' but not both.,There is a very good chance that either 'Greg is a rhino' or 'Brian is yellow' but not both.,1,Either 'Greg is a rhino' or 'Brian is yellow' but not both. +It is almost certain that Brian is yellow. Chances are about even that Greg is a rhino. Chances are slight that Lily is a lion. It is likely that if either 'Brian is yellow' or 'Greg is a rhino' but not both then Bernhard is green. It is probably not the case that if 'Lily is a lion and Greg is a rhino' then Julius is a frog. There is little chance that if 'Lily is a lion' or 'Brian is yellow' or both then Mary dropped the apple.,Chances are about even that 'Greg is a rhino' or 'Mary dropped the apple' or both.," + 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.95::factA. + 0.5::factB. + 0.1::factC. + %hop1 + 0.7::factX:-xor(factA,factB). + 0.25::factY:-and(factC,factB). + 0.1::factZ:-or(factC,factA). + + %hop2 + conclusion:-or(factB,factZ). + + query(conclusion). + ",0.5477500000000001,0.8641728345669134,validation,about even,certain,Chances are about even that 'Greg is a rhino' or 'Mary dropped the apple' or both.,It is certain that 'Greg is a rhino' or 'Mary dropped the apple' or both.,1,'Greg is a rhino' or 'Mary dropped the apple' or both. +It is almost certain that Julius is yellow. Chances are about even that Lily is a frog. It is almost certain that Jeff discarded the milk. Chances are slight that if either 'Jeff discarded the milk' or 'Lily is a frog' but not both then Brian is green. It is probably the case that if either 'Julius is yellow' or 'Jeff discarded the milk' but not both then John went to the hallway. There is a very good chance that if either 'Lily is a frog' or 'Jeff discarded the milk' but not both then Sandra got the milk.,It is likely that 'Brian is green and Julius is yellow'.," + 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.95::factA. + 0.5::factB. + 0.95::factC. + %hop1 + 0.1::factX:-xor(factC,factB). + 0.7::factY:-xor(factA,factC). + 0.8::factZ:-xor(factB,factC). + + %hop2 + conclusion:-and(factX,factA). + + query(conclusion). + ",0.0475,0.8051610322064413,validation,highly unlikely,likely,It is highly unlikely that 'Brian is green and Julius is yellow'.,It is likely that 'Brian is green and Julius is yellow'.,0,'Brian is green and Julius is yellow'. +It is highly likely that Julius is yellow. We doubt that Greg is a frog. It is unlikely that Daniel took the milk. It is probably not the case that if either 'Daniel took the milk' or 'Greg is a frog' but not both then Jessica is a sheep. It is unlikely that if 'Greg is a frog' or 'Daniel took the milk' or both then Jeff went to the garden. It is highly likely that if 'Daniel took the milk' or 'Greg is a frog' or both then Brian is a rhino.,There is a better than even chance that 'Julius is yellow and Jeff went to the garden'.," + 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.9::factA. + 0.2::factB. + 0.2::factC. + %hop1 + 0.25::factX:-xor(factC,factB). + 0.2::factY:-or(factB,factC). + 0.9::factZ:-or(factC,factB). + + %hop2 + conclusion:-and(factA,factY). + + query(conclusion). + ",0.06480000000000001,0.8195639127825565,validation,highly unlikely,better than even,It is highly unlikely that 'Julius is yellow and Jeff went to the garden'.,There is a better than even chance that 'Julius is yellow and Jeff went to the garden'.,0,'Julius is yellow and Jeff went to the garden'. +It is probably the case that Mary took the football. It is highly unlikely that Daniel got the milk. It is unlikely that Lily is a lion. There is almost no chance that if 'Lily is a lion' or 'Daniel got the milk' or both then Jason is tired. It is almost certain that if 'Daniel got the milk' or 'Mary took the football' or both then Brian is a swan. It is improbable that if 'Daniel got the milk' or 'Mary took the football' or both then John went to the hallway.,It is probably not the case that 'Mary took the football' or 'Daniel got the milk' or both.," + 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.7::factA. + 0.05::factB. + 0.2::factC. + %hop1 + 0.02::factX:-or(factC,factB). + 0.95::factY:-or(factB,factA). + 0.1::factZ:-or(factB,factA). + + %hop2 + conclusion:-or(factA,factB). + + query(conclusion). + ",0.715,0.8681736347269454,validation,probably,probably not,It is probably the case that 'Mary took the football' or 'Daniel got the milk' or both.,It is probably not the case that 'Mary took the football' or 'Daniel got the milk' or both.,0,'Mary took the football' or 'Daniel got the milk' or both. +It is almost certain that Julius is green. Chances are about even that Bernhard is a lion. It is certain that Mary discarded the milk. It is almost certain that if 'Bernhard is a lion' or 'Mary discarded the milk' or both then Greg is a swan. There is almost no chance that if 'Bernhard is a lion and Mary discarded the milk' then Jessica is a cat. It is unlikely that if 'Julius is green and Bernhard is a lion' then John left the football.,It is probably the case that either 'Mary discarded the milk' or 'Greg is a swan' but not both.," + 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.95::factA. + 0.5::factB. + 1.0::factC. + %hop1 + 0.95::factX:-or(factB,factC). + 0.02::factY:-and(factB,factC). + 0.2::factZ:-and(factA,factB). + + %hop2 + conclusion:-xor(factC,factX). + + query(conclusion). + ",0.05000000000000005,0.8817763552710542,validation,highly unlikely,probably,It is highly unlikely that either 'Mary discarded the milk' or 'Greg is a swan' but not both.,It is probably the case that either 'Mary discarded the milk' or 'Greg is a swan' but not both.,0,Either 'Mary discarded the milk' or 'Greg is a swan' but not both. +It is almost certain that Daniel got the football. It is almost certain that Greg is yellow. Chances are about even that Brian is a frog. Chances are about even that if 'Daniel got the football and Greg is yellow' then Bernhard is yellow. It is probably the case that if 'Greg is yellow and Brian is a frog' then Mary picked up the apple. It is impossible that if 'Daniel got the football and Greg is yellow' then John moved to the garden.,There is almost no chance that either 'Mary picked up the apple' or 'Bernhard is yellow' but not both.," + 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.95::factA. + 0.95::factB. + 0.5::factC. + %hop1 + 0.5::factX:-and(factA,factB). + 0.7::factY:-and(factB,factC). + 0.0::factZ:-and(factA,factB). + + %hop2 + conclusion:-xor(factY,factX). + + query(conclusion). + ",0.46787499999999993,0.8181636327265454,validation,about even,almost no chance,Chances are about even that either 'Mary picked up the apple' or 'Bernhard is yellow' but not both.,There is almost no chance that either 'Mary picked up the apple' or 'Bernhard is yellow' but not both.,0,Either 'Mary picked up the apple' or 'Bernhard is yellow' but not both. +It is probably not the case that Lily is a lion. It is probable that Julius is a frog. Chances are slight that Jeff went to the garden. It is almost certain that if 'Julius is a frog' or 'Lily is a lion' or both then John put down the milk. It is probably not the case that if 'Jeff went to the garden' or 'Julius is a frog' or both then Greg is a lion. It is almost certain that if 'Julius is a frog and Jeff went to the garden' then Emily is a cat.,It is highly likely that 'Jeff went to the garden and Emily is a cat'.," + 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.25::factA. + 0.7::factB. + 0.1::factC. + %hop1 + 0.95::factX:-or(factB,factA). + 0.25::factY:-or(factC,factB). + 0.95::factZ:-and(factB,factC). + + %hop2 + conclusion:-and(factC,factZ). + + query(conclusion). + ",0.0665,0.8635727145429086,validation,highly unlikely,highly likely,It is highly unlikely that 'Jeff went to the garden and Emily is a cat'.,It is highly likely that 'Jeff went to the garden and Emily is a cat'.,0,'Jeff went to the garden and Emily is a cat'. +It is certain that Bernhard is a rhino. There is little chance that Julius is white. It is probably not the case that Fred went to the office. There is almost no chance that if either 'Fred went to the office' or 'Bernhard is a rhino' but not both then Greg is a frog. It is improbable that if either 'Julius is white' or 'Bernhard is a rhino' but not both then John moved to the garden. There is a very good chance that if 'Bernhard is a rhino and Fred went to the office' then Brian is green.,We believe that either 'Brian is green' or 'Fred went to the office' but not both.," + 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 + 1.0::factA. + 0.1::factB. + 0.25::factC. + %hop1 + 0.02::factX:-xor(factC,factA). + 0.1::factY:-xor(factB,factA). + 0.8::factZ:-and(factA,factC). + + %hop2 + conclusion:-xor(factZ,factC). + + query(conclusion). + ",0.04999999999999998,0.8225645129025805,validation,highly unlikely,we believe,It is highly unlikely that either 'Brian is green' or 'Fred went to the office' but not both.,We believe that either 'Brian is green' or 'Fred went to the office' but not both.,0,Either 'Brian is green' or 'Fred went to the office' but not both. +We doubt that Julius is green. It is probable that Lily is yellow. It is impossible that Mary went to the office. It is probably the case that if 'Mary went to the office and Julius is green' then Jessica is a mouse. There is a better than even chance that if 'Lily is yellow and Julius is green' then Fred is in the cinema. There is a very good chance that if 'Julius is green' or 'Lily is yellow' or both then Greg is gray.,It is almost certain that 'Julius is green and Jessica is a mouse'.," + 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.7::factB. + 0.0::factC. + %hop1 + 0.7::factX:-and(factC,factA). + 0.6::factY:-and(factB,factA). + 0.8::factZ:-or(factA,factB). + + %hop2 + conclusion:-and(factA,factX). + + query(conclusion). + ",0.0,0.8263652730546109,validation,impossible,almost certain,It is impossible that 'Julius is green and Jessica is a mouse'.,It is almost certain that 'Julius is green and Jessica is a mouse'.,0,'Julius is green and Jessica is a mouse'. +It is probable that Bernhard is gray. It is improbable that Brian is yellow. There is little chance that Julius is gray. It is likely that if either 'Brian is yellow' or 'Julius is gray' but not both then Jessica is a sheep. There is a better than even chance that if either 'Brian is yellow' or 'Julius is gray' but not both then Sumit is tired. It is probably the case that if 'Brian is yellow' or 'Julius is gray' or both then Lily is a frog.,We believe that 'Brian is yellow' or 'Bernhard is gray' or both.," + 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.7::factA. + 0.1::factB. + 0.1::factC. + %hop1 + 0.7::factX:-xor(factB,factC). + 0.6::factY:-xor(factB,factC). + 0.7::factZ:-or(factB,factC). + + %hop2 + conclusion:-or(factB,factA). + + query(conclusion). + ",0.73,0.8085617123424685,validation,we believe,impossible,We believe that 'Brian is yellow' or 'Bernhard is gray' or both.,It is impossible that 'Brian is yellow' or 'Bernhard is gray' or both.,1,'Brian is yellow' or 'Bernhard is gray' or both. +There is little chance that Bernhard is yellow. Chances are slight that Jeff went to the bedroom. It is highly likely that John dropped the apple. It is highly likely that if 'Bernhard is yellow and Jeff went to the bedroom' then Julius is a lion. It is probable that if either 'Bernhard is yellow' or 'John dropped the apple' but not both then Lily is a swan. It is certain that if 'Bernhard is yellow' or 'John dropped the apple' or both then Greg is a swan.,There is a better than even chance that either 'Julius is a lion' or 'Lily is a swan' but not both.," + 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.1::factA. + 0.1::factB. + 0.9::factC. + %hop1 + 0.9::factX:-and(factA,factB). + 0.7::factY:-xor(factA,factC). + 1.0::factZ:-or(factA,factC). + + %hop2 + conclusion:-xor(factX,factY). + + query(conclusion). + ",0.58174,0.8001600320064013,validation,better than even,little chance,There is a better than even chance that either 'Julius is a lion' or 'Lily is a swan' but not both.,There is little chance that either 'Julius is a lion' or 'Lily is a swan' but not both.,1,Either 'Julius is a lion' or 'Lily is a swan' but not both. +It is probably the case that Brian is white. There is almost no chance that Gertrude is a cat. It is probably not the case that Sandra got the milk. We believe that if either 'Brian is white' or 'Gertrude is a cat' but not both then Lily is green. It is highly unlikely that if 'Brian is white' or 'Gertrude is a cat' or both then Bernhard is a frog. It is impossible that if 'Sandra got the milk and Gertrude is a cat' then Mary went to the bedroom.,It is impossible that 'Sandra got the milk and Gertrude is a cat'.," + 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.7::factA. + 0.02::factB. + 0.25::factC. + %hop1 + 0.75::factX:-xor(factA,factB). + 0.05::factY:-or(factA,factB). + 0.0::factZ:-and(factC,factB). + + %hop2 + conclusion:-and(factC,factB). + + query(conclusion). + ",0.005000000000000002,0.8101620324064813,validation,impossible,certain,It is impossible that 'Sandra got the milk and Gertrude is a cat'.,It is certain that 'Sandra got the milk and Gertrude is a cat'.,1,'Sandra got the milk and Gertrude is a cat'. +There is a better than even chance that Greg is yellow. It is highly likely that Sandra left the milk. We believe that Brian is a swan. It is probable that if 'Greg is yellow' or 'Sandra left the milk' or both then Julius is a lion. There is a better than even chance that if 'Greg is yellow' or 'Brian is a swan' or both then John dropped the apple. Chances are about even that if 'Brian is a swan' or 'Sandra left the milk' or both then Lily is a rhino.,Chances are slight that 'Julius is a lion' or 'Lily is a rhino' or both.," + 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.6::factA. + 0.9::factB. + 0.75::factC. + %hop1 + 0.7::factX:-or(factA,factB). + 0.6::factY:-or(factA,factC). + 0.5::factZ:-or(factC,factB). + + %hop2 + conclusion:-or(factX,factZ). + + query(conclusion). + ",0.82875,0.8229645929185837,validation,very good chance,chances are slight,There is a very good chance that 'Julius is a lion' or 'Lily is a rhino' or both.,Chances are slight that 'Julius is a lion' or 'Lily is a rhino' or both.,0,'Julius is a lion' or 'Lily is a rhino' or both. +There is a better than even chance that Bernhard is gray. It is certain that Brian is a swan. It is almost certain that Bill went to the garden. It is probably not the case that if either 'Brian is a swan' or 'Bill went to the garden' but not both then Jason is bored. We believe that if either 'Brian is a swan' or 'Bernhard is gray' but not both then Julius is a frog. It is highly unlikely that if 'Bernhard is gray' or 'Brian is a swan' or both then Greg is yellow.,It is almost certain that 'Bill went to the garden and Brian is a swan'.," + 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.6::factA. + 1.0::factB. + 0.95::factC. + %hop1 + 0.25::factX:-xor(factB,factC). + 0.75::factY:-xor(factB,factA). + 0.05::factZ:-or(factA,factB). + + %hop2 + conclusion:-and(factC,factB). + + query(conclusion). + ",0.95,0.8605721144228846,validation,almost certain,probably not,It is almost certain that 'Bill went to the garden and Brian is a swan'.,It is probably not the case that 'Bill went to the garden and Brian is a swan'.,1,'Bill went to the garden and Brian is a swan'. +It is highly unlikely that Mary grabbed the milk. It is certain that Brian is a lion. There is a better than even chance that John moved to the garden. It is probably not the case that if either 'Mary grabbed the milk' or 'John moved to the garden' but not both then Bernhard is a frog. It is unlikely that if 'John moved to the garden and Mary grabbed the milk' then Greg is yellow. There is a better than even chance that if 'John moved to the garden' or 'Brian is a lion' or both then Daniel dropped the apple.,It is almost certain that 'John moved to the garden and Greg is yellow'.," + 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.05::factA. + 1.0::factB. + 0.6::factC. + %hop1 + 0.25::factX:-xor(factA,factC). + 0.2::factY:-and(factC,factA). + 0.6::factZ:-or(factC,factB). + + %hop2 + conclusion:-and(factC,factY). + + query(conclusion). + ",0.005999999999999998,0.8447689537907581,validation,impossible,almost certain,It is impossible that 'John moved to the garden and Greg is yellow'.,It is almost certain that 'John moved to the garden and Greg is yellow'.,0,'John moved to the garden and Greg is yellow'. +It is improbable that Julius is a swan. It is highly unlikely that Sandra left the football. Chances are slight that John put down the apple. It is impossible that if either 'Sandra left the football' or 'Julius is a swan' but not both then Winona is a mouse. It is almost certain that if 'Sandra left the football and Julius is a swan' then Mary went to the kitchen. Chances are about even that if either 'Sandra left the football' or 'Julius is a swan' but not both then Lily is a swan.,Chances are about even that either 'Mary went to the kitchen' or 'Winona is a mouse' but not both.," + 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.1::factA. + 0.05::factB. + 0.1::factC. + %hop1 + 0.0::factX:-xor(factB,factA). + 0.95::factY:-and(factB,factA). + 0.5::factZ:-xor(factB,factA). + + %hop2 + conclusion:-xor(factY,factX). + + query(conclusion). + ",0.004750000000000003,0.8865773154630926,validation,impossible,about even,It is impossible that either 'Mary went to the kitchen' or 'Winona is a mouse' but not both.,Chances are about even that either 'Mary went to the kitchen' or 'Winona is a mouse' but not both.,0,Either 'Mary went to the kitchen' or 'Winona is a mouse' but not both. +It is impossible that Lily is a lion. It is highly likely that Sandra got the milk. It is almost certain that Mary went to the office. There is little chance that if either 'Mary went to the office' or 'Lily is a lion' but not both then Brian is a rhino. It is likely that if 'Sandra got the milk and Mary went to the office' then Julius is a swan. Chances are about even that if 'Sandra got the milk' or 'Mary went to the office' or both then John is in the garden.,It is impossible that 'Julius is a swan and Lily is a lion'.," + 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.9::factB. + 0.95::factC. + %hop1 + 0.1::factX:-xor(factC,factA). + 0.7::factY:-and(factB,factC). + 0.5::factZ:-or(factB,factC). + + %hop2 + conclusion:-and(factY,factA). + + query(conclusion). + ",0.0,0.8129625925185037,validation,impossible,certain,It is impossible that 'Julius is a swan and Lily is a lion'.,It is certain that 'Julius is a swan and Lily is a lion'.,1,'Julius is a swan and Lily is a lion'. +We doubt that Sandra got the milk. It is probably the case that John discarded the apple. It is highly unlikely that Bernhard is a rhino. It is certain that if either 'John discarded the apple' or 'Bernhard is a rhino' but not both then Lily is a lion. It is probably not the case that if 'Bernhard is a rhino and Sandra got the milk' then Brian is yellow. It is probable that if either 'Sandra got the milk' or 'John discarded the apple' but not both then Bill went to the office.,There is almost no chance that 'Sandra got the milk' or 'Lily is a lion' or both.," + 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.7::factB. + 0.05::factC. + %hop1 + 1.0::factX:-xor(factB,factC). + 0.25::factY:-and(factC,factA). + 0.7::factZ:-xor(factA,factB). + + %hop2 + conclusion:-or(factA,factX). + + query(conclusion). + ",0.744,0.8457691538307661,validation,we believe,almost no chance,We believe that 'Sandra got the milk' or 'Lily is a lion' or both.,There is almost no chance that 'Sandra got the milk' or 'Lily is a lion' or both.,0,'Sandra got the milk' or 'Lily is a lion' or both. +Chances are slight that Bernhard is a rhino. It is certain that Sandra left the apple. It is impossible that Lily is white. It is probable that if either 'Sandra left the apple' or 'Lily is white' but not both then Mary took the milk. We believe that if 'Lily is white' or 'Sandra left the apple' or both then John went to the garden. There is a very good chance that if 'Sandra left the apple and Lily is white' then Julius is a frog.,It is likely that 'John went to the garden and Bernhard is a rhino'.," + 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.1::factA. + 1.0::factB. + 0.0::factC. + %hop1 + 0.7::factX:-xor(factB,factC). + 0.75::factY:-or(factC,factB). + 0.8::factZ:-and(factB,factC). + + %hop2 + conclusion:-and(factY,factA). + + query(conclusion). + ",0.07500000000000002,0.8571714342868574,validation,chances are slight,likely,Chances are slight that 'John went to the garden and Bernhard is a rhino'.,It is likely that 'John went to the garden and Bernhard is a rhino'.,0,'John went to the garden and Bernhard is a rhino'. +There is little chance that Fred is in the school. We believe that Lily is a swan. There is a very good chance that John dropped the apple. We doubt that if either 'Lily is a swan' or 'John dropped the apple' but not both then Bernhard is green. There is little chance that if either 'John dropped the apple' or 'Lily is a swan' but not both then Greg is a lion. It is almost certain that if 'Lily is a swan' or 'Fred is in the school' or both then Brian is white.,It is highly unlikely that either 'Brian is white' or 'Lily is a swan' but not both.," + 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.1::factA. + 0.75::factB. + 0.8::factC. + %hop1 + 0.2::factX:-xor(factB,factC). + 0.1::factY:-xor(factC,factB). + 0.95::factZ:-or(factB,factA). + + %hop2 + conclusion:-xor(factZ,factB). + + query(conclusion). + ",0.06125000000000003,0.8941788357671534,validation,highly unlikely,probable,It is highly unlikely that either 'Brian is white' or 'Lily is a swan' but not both.,It is probable that either 'Brian is white' or 'Lily is a swan' but not both.,1,Either 'Brian is white' or 'Lily is a swan' but not both. +It is impossible that Jeff left the apple. It is probable that Mary went to the garden. It is highly likely that Gertrude is a wolf. There is almost no chance that if either 'Jeff left the apple' or 'Mary went to the garden' but not both then Greg is white. There is little chance that if 'Jeff left the apple' or 'Gertrude is a wolf' or both then Brian is green. It is impossible that if 'Mary went to the garden and Jeff left the apple' then Julius is yellow.,It is improbable that 'Gertrude is a wolf' or 'Brian is green' or both.," + 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.7::factB. + 0.9::factC. + %hop1 + 0.02::factX:-xor(factA,factB). + 0.1::factY:-or(factA,factC). + 0.0::factZ:-and(factB,factA). + + %hop2 + conclusion:-or(factC,factY). + + query(conclusion). + ",0.9,0.885377075415083,validation,highly likely,improbable,It is highly likely that 'Gertrude is a wolf' or 'Brian is green' or both.,It is improbable that 'Gertrude is a wolf' or 'Brian is green' or both.,0,'Gertrude is a wolf' or 'Brian is green' or both. +It is probable that Greg is a rhino. It is highly unlikely that John moved to the garden. There is a very good chance that Bernhard is a lion. We doubt that if either 'Bernhard is a lion' or 'John moved to the garden' but not both then Mary went to the bedroom. We believe that if either 'Bernhard is a lion' or 'Greg is a rhino' but not both then Lily is a lion. There is almost no chance that if either 'Bernhard is a lion' or 'Greg is a rhino' but not both then Brian is yellow.,It is probably not the case that either 'Bernhard is a lion' or 'John moved to the garden' but not both.," + 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.7::factA. + 0.05::factB. + 0.8::factC. + %hop1 + 0.2::factX:-xor(factC,factB). + 0.75::factY:-xor(factC,factA). + 0.02::factZ:-xor(factC,factA). + + %hop2 + conclusion:-xor(factC,factB). + + query(conclusion). + ",0.77,0.8123624724944989,validation,we believe,probably not,We believe that either 'Bernhard is a lion' or 'John moved to the garden' but not both.,It is probably not the case that either 'Bernhard is a lion' or 'John moved to the garden' but not both.,0,Either 'Bernhard is a lion' or 'John moved to the garden' but not both. +It is highly likely that Winona is a sheep. It is probably the case that Brian is white. We doubt that Sandra took the football. It is probable that if either 'Sandra took the football' or 'Brian is white' but not both then Mary discarded the milk. It is almost certain that if 'Sandra took the football' or 'Winona is a sheep' or both then John got the milk. There is almost no chance that if either 'Brian is white' or 'Winona is a sheep' but not both then Lily is a rhino.,There is a better than even chance that 'John got the milk and Brian is white'.," + 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.9::factA. + 0.7::factB. + 0.2::factC. + %hop1 + 0.7::factX:-xor(factC,factB). + 0.95::factY:-or(factC,factA). + 0.02::factZ:-xor(factB,factA). + + %hop2 + conclusion:-and(factY,factB). + + query(conclusion). + ",0.6117999999999999,0.8083616723344669,validation,better than even,highly unlikely,There is a better than even chance that 'John got the milk and Brian is white'.,It is highly unlikely that 'John got the milk and Brian is white'.,1,'John got the milk and Brian is white'. +It is almost certain that Brian is white. It is highly unlikely that Julius is a lion. Chances are slight that Greg is yellow. It is unlikely that if 'Greg is yellow' or 'Brian is white' or both then Lily is green. There is almost no chance that if either 'Greg is yellow' or 'Brian is white' but not both then John moved to the office. It is almost certain that if either 'Greg is yellow' or 'Julius is a lion' but not both then Mary went to the bedroom.,It is probably the case that 'Brian is white and Lily is green'.," + 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.95::factA. + 0.05::factB. + 0.1::factC. + %hop1 + 0.2::factX:-or(factC,factA). + 0.02::factY:-xor(factC,factA). + 0.95::factZ:-xor(factC,factB). + + %hop2 + conclusion:-and(factA,factX). + + query(conclusion). + ",0.19,0.8349669933986797,validation,unlikely,probably,It is unlikely that 'Brian is white and Lily is green'.,It is probably the case that 'Brian is white and Lily is green'.,0,'Brian is white and Lily is green'. +It is highly unlikely that Mary went to the office. It is improbable that Sumit is thirsty. There is a better than even chance that Greg is white. There is almost no chance that if 'Sumit is thirsty' or 'Greg is white' or both then Lily is a swan. It is certain that if 'Greg is white' or 'Mary went to the office' or both then Winona is a mouse. It is impossible that if 'Mary went to the office' or 'Greg is white' or both then Jessica is a cat.,It is likely that 'Lily is a swan' or 'Sumit is thirsty' or both.," + 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.05::factA. + 0.1::factB. + 0.6::factC. + %hop1 + 0.02::factX:-or(factB,factC). + 1.0::factY:-or(factC,factA). + 0.0::factZ:-or(factA,factC). + + %hop2 + conclusion:-or(factX,factB). + + query(conclusion). + ",0.11080000000000002,0.8173634726945389,validation,little chance,likely,There is little chance that 'Lily is a swan' or 'Sumit is thirsty' or both.,It is likely that 'Lily is a swan' or 'Sumit is thirsty' or both.,0,'Lily is a swan' or 'Sumit is thirsty' or both. +It is certain that John discarded the apple. It is almost certain that Bernhard is a swan. It is almost certain that Mary moved to the garden. It is certain that if either 'John discarded the apple' or 'Bernhard is a swan' but not both then Greg is a rhino. It is unlikely that if either 'John discarded the apple' or 'Mary moved to the garden' but not both then Brian is yellow. Chances are about even that if 'John discarded the apple' or 'Mary moved to the garden' or both then Julius is gray.,It is highly likely that 'Mary moved to the garden and Bernhard is a swan'.," + 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 + 1.0::factA. + 0.95::factB. + 0.95::factC. + %hop1 + 1.0::factX:-xor(factA,factB). + 0.2::factY:-xor(factA,factC). + 0.5::factZ:-or(factA,factC). + + %hop2 + conclusion:-and(factC,factB). + + query(conclusion). + ",0.9025,0.8597719543908782,validation,highly likely,we doubt,It is highly likely that 'Mary moved to the garden and Bernhard is a swan'.,We doubt that 'Mary moved to the garden and Bernhard is a swan'.,1,'Mary moved to the garden and Bernhard is a swan'. +It is highly unlikely that Mary went to the office. There is a very good chance that John took the apple. Chances are about even that Julius is gray. It is impossible that if either 'Julius is gray' or 'John took the apple' but not both then Lily is white. Chances are slight that if either 'Mary went to the office' or 'John took the apple' but not both then Greg is white. Chances are slight that if either 'Julius is gray' or 'Mary went to the office' but not both then Sandra left the football.,It is probably the case that 'John took the apple and Mary went to the office'.," + 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.05::factA. + 0.8::factB. + 0.5::factC. + %hop1 + 0.0::factX:-xor(factC,factB). + 0.1::factY:-xor(factA,factB). + 0.1::factZ:-xor(factC,factA). + + %hop2 + conclusion:-and(factB,factA). + + query(conclusion). + ",0.04000000000000001,0.8389677935587118,validation,highly unlikely,probably,It is highly unlikely that 'John took the apple and Mary went to the office'.,It is probably the case that 'John took the apple and Mary went to the office'.,0,'John took the apple and Mary went to the office'. +It is impossible that Winona is a cat. It is probably the case that Lily is a frog. There is a very good chance that Jessica is a sheep. It is likely that if 'Lily is a frog and Winona is a cat' then Brian is green. Chances are slight that if either 'Lily is a frog' or 'Jessica is a sheep' but not both then Bernhard is a lion. It is likely that if either 'Lily is a frog' or 'Winona is a cat' but not both then John went to the hallway.,It is impossible that 'Jessica is a sheep and Brian is green'.," + 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.7::factB. + 0.8::factC. + %hop1 + 0.7::factX:-and(factB,factA). + 0.1::factY:-xor(factB,factC). + 0.7::factZ:-xor(factB,factA). + + %hop2 + conclusion:-and(factC,factX). + + query(conclusion). + ",0.0,0.8911782356471294,validation,impossible,certain,It is impossible that 'Jessica is a sheep and Brian is green'.,It is certain that 'Jessica is a sheep and Brian is green'.,1,'Jessica is a sheep and Brian is green'. +It is probably not the case that John picked up the milk. It is almost certain that Greg is yellow. It is likely that Bernhard is gray. There is a very good chance that if 'Greg is yellow and John picked up the milk' then Lily is a rhino. It is likely that if either 'Bernhard is gray' or 'John picked up the milk' but not both then Sandra dropped the milk. It is almost certain that if either 'John picked up the milk' or 'Greg is yellow' but not both then Daniel left the apple.,Chances are slight that 'Bernhard is gray' or 'Greg is yellow' or both.," + 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.25::factA. + 0.95::factB. + 0.7::factC. + %hop1 + 0.8::factX:-and(factB,factA). + 0.7::factY:-xor(factC,factA). + 0.95::factZ:-xor(factA,factB). + + %hop2 + conclusion:-or(factC,factB). + + query(conclusion). + ",0.985,0.8037607521504301,validation,certain,chances are slight,It is certain that 'Bernhard is gray' or 'Greg is yellow' or both.,Chances are slight that 'Bernhard is gray' or 'Greg is yellow' or both.,0,'Bernhard is gray' or 'Greg is yellow' or both. +Chances are about even that Sandra took the football. It is highly likely that Gertrude is a mouse. It is probably not the case that Julius is gray. It is unlikely that if 'Julius is gray' or 'Sandra took the football' or both then Sumit is bored. There is a better than even chance that if either 'Julius is gray' or 'Gertrude is a mouse' but not both then John went to the bedroom. There is little chance that if either 'Julius is gray' or 'Sandra took the football' but not both then Lily is a lion.,It is impossible that either 'Sandra took the football' or 'Lily is a lion' but not both.," + 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.9::factB. + 0.25::factC. + %hop1 + 0.2::factX:-or(factC,factA). + 0.6::factY:-xor(factC,factB). + 0.1::factZ:-xor(factC,factA). + + %hop2 + conclusion:-xor(factA,factZ). + + query(conclusion). + ",0.47500000000000003,0.8869773954790958,validation,about even,impossible,Chances are about even that either 'Sandra took the football' or 'Lily is a lion' but not both.,It is impossible that either 'Sandra took the football' or 'Lily is a lion' but not both.,0,Either 'Sandra took the football' or 'Lily is a lion' but not both. +Chances are about even that Gertrude is a cat. There is almost no chance that Mary left the milk. It is highly unlikely that Brian is a lion. There is little chance that if either 'Brian is a lion' or 'Gertrude is a cat' but not both then John dropped the apple. It is almost certain that if either 'Mary left the milk' or 'Gertrude is a cat' but not both then Bill went to the garden. Chances are slight that if either 'Mary left the milk' or 'Gertrude is a cat' but not both then Emily is a mouse.,There is almost no chance that 'Emily is a mouse' or 'Bill went to the garden' or both.," + 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.02::factB. + 0.05::factC. + %hop1 + 0.1::factX:-xor(factC,factA). + 0.95::factY:-xor(factB,factA). + 0.1::factZ:-xor(factB,factA). + + %hop2 + conclusion:-or(factZ,factY). + + query(conclusion). + ",0.4775,0.847369473894779,validation,about even,almost no chance,Chances are about even that 'Emily is a mouse' or 'Bill went to the garden' or both.,There is almost no chance that 'Emily is a mouse' or 'Bill went to the garden' or both.,0,'Emily is a mouse' or 'Bill went to the garden' or both. +It is unlikely that Sandra got the football. It is certain that Mary went to the kitchen. It is impossible that Jessica is a sheep. Chances are about even that if either 'Sandra got the football' or 'Jessica is a sheep' but not both then Greg is a swan. It is almost certain that if either 'Jessica is a sheep' or 'Sandra got the football' but not both then Fred dropped the milk. It is almost certain that if either 'Mary went to the kitchen' or 'Jessica is a sheep' but not both then Bernhard is green.,It is unlikely that 'Sandra got the football' or 'Greg is a swan' or both.," + 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. + 1.0::factB. + 0.0::factC. + %hop1 + 0.5::factX:-xor(factA,factC). + 0.95::factY:-xor(factC,factA). + 0.95::factZ:-xor(factB,factC). + + %hop2 + conclusion:-or(factA,factX). + + query(conclusion). + ",0.2,0.8891778355671134,validation,unlikely,almost certain,It is unlikely that 'Sandra got the football' or 'Greg is a swan' or both.,It is almost certain that 'Sandra got the football' or 'Greg is a swan' or both.,1,'Sandra got the football' or 'Greg is a swan' or both. +It is probably the case that Mary went to the hallway. It is probably not the case that John discarded the apple. It is unlikely that Sandra put down the milk. There is almost no chance that if either 'Mary went to the hallway' or 'Sandra put down the milk' but not both then Greg is green. It is likely that if 'Mary went to the hallway and John discarded the apple' then Lily is a rhino. It is certain that if 'John discarded the apple' or 'Sandra put down the milk' or both then Jason is tired.,Chances are slight that 'Lily is a rhino and Mary went to the hallway'.," + 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.7::factA. + 0.25::factB. + 0.2::factC. + %hop1 + 0.02::factX:-xor(factA,factC). + 0.7::factY:-and(factA,factB). + 1.0::factZ:-or(factB,factC). + + %hop2 + conclusion:-and(factY,factA). + + query(conclusion). + ",0.12249999999999996,0.8125625125025006,validation,chances are slight,certain,Chances are slight that 'Lily is a rhino and Mary went to the hallway'.,It is certain that 'Lily is a rhino and Mary went to the hallway'.,1,'Lily is a rhino and Mary went to the hallway'. +It is certain that Mary took the football. It is certain that Greg is green. There is a better than even chance that John dropped the apple. Chances are about even that if either 'John dropped the apple' or 'Greg is green' but not both then Fred moved to the office. There is little chance that if either 'Mary took the football' or 'Greg is green' but not both then Bernhard is gray. It is improbable that if 'John dropped the apple' or 'Mary took the football' or both then Lily is green.,There is little chance that either 'Mary took the football' or 'Fred moved to the office' but not both.," + 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 + 1.0::factA. + 1.0::factB. + 0.6::factC. + %hop1 + 0.5::factX:-xor(factC,factB). + 0.1::factY:-xor(factA,factB). + 0.1::factZ:-or(factC,factA). + + %hop2 + conclusion:-xor(factA,factX). + + query(conclusion). + ",0.8,0.8649729945989197,validation,very good chance,little chance,There is a very good chance that either 'Mary took the football' or 'Fred moved to the office' but not both.,There is little chance that either 'Mary took the football' or 'Fred moved to the office' but not both.,0,Either 'Mary took the football' or 'Fred moved to the office' but not both. +It is probably not the case that Mary moved to the garden. We doubt that Yann is bored. There is almost no chance that John went to the kitchen. It is almost certain that if 'Yann is bored' or 'John went to the kitchen' or both then Winona is a mouse. We believe that if 'Mary moved to the garden' or 'Yann is bored' or both then Greg is a frog. It is probably the case that if 'Mary moved to the garden and Yann is bored' then Lily is green.,It is almost certain that 'Mary moved to the garden' or 'Lily is green' or both.," + 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.25::factA. + 0.2::factB. + 0.02::factC. + %hop1 + 0.95::factX:-or(factB,factC). + 0.75::factY:-or(factA,factB). + 0.7::factZ:-and(factA,factB). + + %hop2 + conclusion:-or(factA,factZ). + + query(conclusion). + ",0.25,0.8525705141028206,validation,probably not,almost certain,It is probably not the case that 'Mary moved to the garden' or 'Lily is green' or both.,It is almost certain that 'Mary moved to the garden' or 'Lily is green' or both.,0,'Mary moved to the garden' or 'Lily is green' or both. +It is highly likely that Jessica is a mouse. It is highly unlikely that Julius is yellow. It is probable that Greg is a swan. It is impossible that if either 'Julius is yellow' or 'Greg is a swan' but not both then Sandra grabbed the milk. There is a better than even chance that if either 'Julius is yellow' or 'Greg is a swan' but not both then Brian is a rhino. We believe that if either 'Greg is a swan' or 'Jessica is a mouse' but not both then John moved to the garden.,It is certain that 'Julius is yellow and Brian is a rhino'.," + 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.9::factA. + 0.05::factB. + 0.7::factC. + %hop1 + 0.0::factX:-xor(factB,factC). + 0.6::factY:-xor(factB,factC). + 0.75::factZ:-xor(factC,factA). + + %hop2 + conclusion:-and(factB,factY). + + query(conclusion). + ",0.009,0.8579715943188638,validation,impossible,certain,It is impossible that 'Julius is yellow and Brian is a rhino'.,It is certain that 'Julius is yellow and Brian is a rhino'.,0,'Julius is yellow and Brian is a rhino'. +It is highly likely that Brian is a rhino. Chances are about even that Gertrude is a mouse. It is unlikely that Julius is gray. It is probably the case that if 'Gertrude is a mouse' or 'Julius is gray' or both then Greg is white. It is highly unlikely that if either 'Julius is gray' or 'Brian is a rhino' but not both then Mary went to the office. It is almost certain that if 'Julius is gray' or 'Brian is a rhino' or both then Daniel dropped the milk.,There is a better than even chance that 'Julius is gray' or 'Gertrude is a mouse' or both.," + 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.9::factA. + 0.5::factB. + 0.2::factC. + %hop1 + 0.7::factX:-or(factB,factC). + 0.05::factY:-xor(factC,factA). + 0.95::factZ:-or(factC,factA). + + %hop2 + conclusion:-or(factC,factB). + + query(conclusion). + ",0.6,0.861372274454891,validation,better than even,chances are slight,There is a better than even chance that 'Julius is gray' or 'Gertrude is a mouse' or both.,Chances are slight that 'Julius is gray' or 'Gertrude is a mouse' or both.,1,'Julius is gray' or 'Gertrude is a mouse' or both. +It is improbable that Winona is a sheep. We doubt that Sandra left the football. We believe that Brian is white. It is highly unlikely that if 'Brian is white' or 'Winona is a sheep' or both then Julius is a swan. There is almost no chance that if 'Winona is a sheep and Brian is white' then Bernhard is green. There is almost no chance that if either 'Winona is a sheep' or 'Brian is white' but not both then Mary went to the office.,We believe that either 'Bernhard is green' or 'Brian is white' but not both.," + 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.1::factA. + 0.2::factB. + 0.75::factC. + %hop1 + 0.05::factX:-or(factC,factA). + 0.02::factY:-and(factA,factC). + 0.02::factZ:-xor(factA,factC). + + %hop2 + conclusion:-xor(factY,factC). + + query(conclusion). + ",0.7485,0.8207641528305661,validation,we believe,chances are slight,We believe that either 'Bernhard is green' or 'Brian is white' but not both.,Chances are slight that either 'Bernhard is green' or 'Brian is white' but not both.,1,Either 'Bernhard is green' or 'Brian is white' but not both. +It is likely that Bernhard is a swan. It is likely that Mary dropped the milk. It is certain that Greg is green. It is probably the case that if either 'Bernhard is a swan' or 'Greg is green' but not both then Julius is a swan. We doubt that if either 'Bernhard is a swan' or 'Greg is green' but not both then Brian is yellow. Chances are slight that if 'Bernhard is a swan and Greg is green' then Winona is a cat.,It is impossible that either 'Bernhard is a swan' or 'Julius is a swan' but not both.," + 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.7::factA. + 0.7::factB. + 1.0::factC. + %hop1 + 0.7::factX:-xor(factA,factC). + 0.2::factY:-xor(factA,factC). + 0.1::factZ:-and(factA,factC). + + %hop2 + conclusion:-xor(factA,factX). + + query(conclusion). + ",0.9099999999999999,0.8567713542708542,validation,highly likely,impossible,It is highly likely that either 'Bernhard is a swan' or 'Julius is a swan' but not both.,It is impossible that either 'Bernhard is a swan' or 'Julius is a swan' but not both.,0,Either 'Bernhard is a swan' or 'Julius is a swan' but not both. +There is almost no chance that Mary went to the office. It is impossible that John took the milk. We believe that Julius is a lion. We doubt that if 'Julius is a lion and John took the milk' then Sumit is thirsty. It is highly likely that if 'Mary went to the office' or 'John took the milk' or both then Lily is a frog. We believe that if either 'John took the milk' or 'Julius is a lion' but not both then Bernhard is a rhino.,There is almost no chance that 'Mary went to the office' or 'Lily is a frog' or both.," + 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.0::factB. + 0.75::factC. + %hop1 + 0.2::factX:-and(factC,factB). + 0.9::factY:-or(factA,factB). + 0.75::factZ:-xor(factB,factC). + + %hop2 + conclusion:-or(factA,factY). + + query(conclusion). + ",0.02,0.8485697139427886,validation,almost no chance,highly likely,There is almost no chance that 'Mary went to the office' or 'Lily is a frog' or both.,It is highly likely that 'Mary went to the office' or 'Lily is a frog' or both.,1,'Mary went to the office' or 'Lily is a frog' or both. +It is unlikely that Julius is a swan. It is highly unlikely that Gertrude is a mouse. We doubt that John went to the office. There is little chance that if 'Julius is a swan and John went to the office' then Lily is gray. We believe that if either 'Julius is a swan' or 'Gertrude is a mouse' but not both then Daniel grabbed the apple. There is almost no chance that if either 'Gertrude is a mouse' or 'John went to the office' but not both then Mary got the football.,It is impossible that 'John went to the office and Mary got the football'.," + 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.05::factB. + 0.2::factC. + %hop1 + 0.1::factX:-and(factA,factC). + 0.75::factY:-xor(factA,factB). + 0.02::factZ:-xor(factB,factC). + + %hop2 + conclusion:-and(factC,factZ). + + query(conclusion). + ",0.0037999999999999996,0.8945789157831566,validation,impossible,better than even,It is impossible that 'John went to the office and Mary got the football'.,There is a better than even chance that 'John went to the office and Mary got the football'.,1,'John went to the office and Mary got the football'. +It is highly likely that Mary grabbed the milk. It is certain that Lily is a frog. We doubt that Bill went to the garden. Chances are slight that if either 'Bill went to the garden' or 'Mary grabbed the milk' but not both then Jessica is a mouse. We believe that if 'Mary grabbed the milk' or 'Bill went to the garden' or both then Brian is a rhino. It is probable that if 'Mary grabbed the milk' or 'Lily is a frog' or both then Greg is a lion.,Chances are about even that 'Mary grabbed the milk' or 'Greg is a lion' or both.," + 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.9::factA. + 1.0::factB. + 0.2::factC. + %hop1 + 0.1::factX:-xor(factC,factA). + 0.75::factY:-or(factA,factC). + 0.7::factZ:-or(factA,factB). + + %hop2 + conclusion:-or(factA,factZ). + + query(conclusion). + ",0.97,0.838367673534707,validation,almost certain,about even,It is almost certain that 'Mary grabbed the milk' or 'Greg is a lion' or both.,Chances are about even that 'Mary grabbed the milk' or 'Greg is a lion' or both.,0,'Mary grabbed the milk' or 'Greg is a lion' or both. +We believe that Bernhard is a frog. It is probably the case that Winona is a wolf. There is a better than even chance that Jeff went to the hallway. It is probably the case that if either 'Bernhard is a frog' or 'Jeff went to the hallway' but not both then Brian is a rhino. There is almost no chance that if 'Jeff went to the hallway' or 'Winona is a wolf' or both then Julius is a swan. It is improbable that if 'Winona is a wolf' or 'Jeff went to the hallway' or both then Greg is yellow.,There is a better than even chance that either 'Greg is yellow' or 'Winona is a wolf' but not both.," + 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.75::factA. + 0.7::factB. + 0.6::factC. + %hop1 + 0.7::factX:-xor(factA,factC). + 0.02::factY:-or(factC,factB). + 0.1::factZ:-or(factB,factC). + + %hop2 + conclusion:-xor(factZ,factB). + + query(conclusion). + ",0.6479999999999999,0.8045609121824365,validation,better than even,little chance,There is a better than even chance that either 'Greg is yellow' or 'Winona is a wolf' but not both.,There is little chance that either 'Greg is yellow' or 'Winona is a wolf' but not both.,1,Either 'Greg is yellow' or 'Winona is a wolf' but not both. +There is a very good chance that Emily is a wolf. It is probably the case that Mary picked up the milk. It is probable that John moved to the office. Chances are slight that if 'Emily is a wolf and John moved to the office' then Gertrude is a mouse. It is improbable that if either 'Emily is a wolf' or 'Mary picked up the milk' but not both then Bernhard is a frog. It is probable that if 'Mary picked up the milk' or 'John moved to the office' or both then Fred left the apple.,It is probable that either 'Bernhard is a frog' or 'Mary picked up the milk' but not both.," + 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.8::factA. + 0.7::factB. + 0.7::factC. + %hop1 + 0.1::factX:-and(factA,factC). + 0.1::factY:-xor(factA,factB). + 0.7::factZ:-or(factB,factC). + + %hop2 + conclusion:-xor(factY,factB). + + query(conclusion). + ",0.71,0.8531706341268254,validation,probable,we doubt,It is probable that either 'Bernhard is a frog' or 'Mary picked up the milk' but not both.,We doubt that either 'Bernhard is a frog' or 'Mary picked up the milk' but not both.,1,Either 'Bernhard is a frog' or 'Mary picked up the milk' but not both. +There is almost no chance that Fred left the football. There is a very good chance that Julius is yellow. It is unlikely that Greg is a lion. It is probable that if 'Julius is yellow' or 'Greg is a lion' or both then John moved to the garden. We doubt that if 'Julius is yellow and Greg is a lion' then Brian is gray. It is probably not the case that if 'Fred left the football' or 'Greg is a lion' or both then Mary went to the hallway.,There is a better than even chance that 'John moved to the garden and Julius is yellow'.," + 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.8::factB. + 0.2::factC. + %hop1 + 0.7::factX:-or(factB,factC). + 0.2::factY:-and(factB,factC). + 0.25::factZ:-or(factA,factC). + + %hop2 + conclusion:-and(factX,factB). + + query(conclusion). + ",0.5599999999999999,0.8625725145029006,validation,better than even,almost no chance,There is a better than even chance that 'John moved to the garden and Julius is yellow'.,There is almost no chance that 'John moved to the garden and Julius is yellow'.,1,'John moved to the garden and Julius is yellow'. +It is highly unlikely that Mary went to the hallway. There is a very good chance that Julius is a frog. There is a better than even chance that Emily is a cat. It is probable that if 'Emily is a cat' or 'Julius is a frog' or both then Lily is yellow. It is unlikely that if 'Emily is a cat and Julius is a frog' then Bernhard is green. Chances are about even that if either 'Emily is a cat' or 'Mary went to the hallway' but not both then John picked up the apple.,It is probably the case that 'Mary went to the hallway' or 'Lily is yellow' or both.," + 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.05::factA. + 0.8::factB. + 0.6::factC. + %hop1 + 0.7::factX:-or(factC,factB). + 0.2::factY:-and(factC,factB). + 0.5::factZ:-xor(factC,factA). + + %hop2 + conclusion:-or(factA,factX). + + query(conclusion). + ",0.6617999999999999,0.8617723544708942,validation,probably,little chance,It is probably the case that 'Mary went to the hallway' or 'Lily is yellow' or both.,There is little chance that 'Mary went to the hallway' or 'Lily is yellow' or both.,1,'Mary went to the hallway' or 'Lily is yellow' or both. +There is a very good chance that Emily is a wolf. It is almost certain that Sandra dropped the apple. It is likely that Brian is a lion. There is a better than even chance that if either 'Emily is a wolf' or 'Brian is a lion' but not both then Lily is yellow. It is highly likely that if 'Sandra dropped the apple and Brian is a lion' then Bernhard is green. It is probably not the case that if 'Sandra dropped the apple and Emily is a wolf' then Mary left the football.,There is a better than even chance that 'Emily is a wolf and Brian is a lion'.," + 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.8::factA. + 0.95::factB. + 0.7::factC. + %hop1 + 0.6::factX:-xor(factA,factC). + 0.9::factY:-and(factB,factC). + 0.25::factZ:-and(factB,factA). + + %hop2 + conclusion:-and(factA,factC). + + query(conclusion). + ",0.5599999999999999,0.8397679535907181,validation,better than even,highly unlikely,There is a better than even chance that 'Emily is a wolf and Brian is a lion'.,It is highly unlikely that 'Emily is a wolf and Brian is a lion'.,1,'Emily is a wolf and Brian is a lion'. +It is highly unlikely that Brian is white. It is almost certain that Lily is a lion. There is a better than even chance that John went to the garden. Chances are slight that if 'Lily is a lion' or 'Brian is white' or both then Sandra got the milk. There is little chance that if either 'Lily is a lion' or 'Brian is white' but not both then Julius is gray. It is likely that if 'Lily is a lion' or 'John went to the garden' or both then Jessica is a wolf.,It is probably the case that 'Brian is white' or 'Julius is gray' or both.," + 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.05::factA. + 0.95::factB. + 0.6::factC. + %hop1 + 0.1::factX:-or(factB,factA). + 0.1::factY:-xor(factB,factA). + 0.7::factZ:-or(factB,factC). + + %hop2 + conclusion:-or(factA,factY). + + query(conclusion). + ",0.14025,0.8291658331666333,validation,chances are slight,probably,Chances are slight that 'Brian is white' or 'Julius is gray' or both.,It is probably the case that 'Brian is white' or 'Julius is gray' or both.,0,'Brian is white' or 'Julius is gray' or both. +It is probably not the case that Brian is a frog. It is impossible that Mary went to the hallway. We doubt that John is in the garden. Chances are slight that if 'Brian is a frog and John is in the garden' then Gertrude is a cat. It is probably the case that if 'John is in the garden' or 'Mary went to the hallway' or both then Julius is white. It is highly unlikely that if 'John is in the garden and Brian is a frog' then Greg is a lion.,It is impossible that 'John is in the garden and Greg is a lion'.," + 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.25::factA. + 0.0::factB. + 0.2::factC. + %hop1 + 0.1::factX:-and(factA,factC). + 0.7::factY:-or(factC,factB). + 0.05::factZ:-and(factC,factA). + + %hop2 + conclusion:-and(factC,factZ). + + query(conclusion). + ",0.0025000000000000005,0.8953790758151631,validation,impossible,certain,It is impossible that 'John is in the garden and Greg is a lion'.,It is certain that 'John is in the garden and Greg is a lion'.,1,'John is in the garden and Greg is a lion'. +It is probable that Julius is a frog. Chances are slight that Sandra took the apple. It is highly unlikely that Bernhard is green. It is improbable that if either 'Julius is a frog' or 'Sandra took the apple' but not both then Greg is yellow. It is likely that if 'Julius is a frog' or 'Sandra took the apple' or both then Jessica is a mouse. It is impossible that if either 'Sandra took the apple' or 'Bernhard is green' but not both then Brian is white.,There is a better than even chance that 'Greg is yellow' or 'Bernhard is green' or both.," + 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.7::factA. + 0.1::factB. + 0.05::factC. + %hop1 + 0.1::factX:-xor(factA,factB). + 0.7::factY:-or(factA,factB). + 0.0::factZ:-xor(factB,factC). + + %hop2 + conclusion:-or(factX,factC). + + query(conclusion). + ",0.11269999999999998,0.8721744348869774,validation,improbable,better than even,It is improbable that 'Greg is yellow' or 'Bernhard is green' or both.,There is a better than even chance that 'Greg is yellow' or 'Bernhard is green' or both.,0,'Greg is yellow' or 'Bernhard is green' or both. +We doubt that Bernhard is white. It is improbable that Mary went to the bedroom. Chances are about even that Brian is a rhino. It is impossible that if 'Mary went to the bedroom' or 'Brian is a rhino' or both then Lily is gray. It is likely that if either 'Brian is a rhino' or 'Mary went to the bedroom' but not both then Greg is a frog. It is highly likely that if 'Brian is a rhino and Mary went to the bedroom' then John got the milk.,It is probably not the case that either 'Mary went to the bedroom' or 'Bernhard is white' but not both.," + 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.1::factB. + 0.5::factC. + %hop1 + 0.0::factX:-or(factB,factC). + 0.7::factY:-xor(factC,factB). + 0.9::factZ:-and(factC,factB). + + %hop2 + conclusion:-xor(factB,factA). + + query(conclusion). + ",0.26,0.8253650730146029,validation,probably not,likely,It is probably not the case that either 'Mary went to the bedroom' or 'Bernhard is white' but not both.,It is likely that either 'Mary went to the bedroom' or 'Bernhard is white' but not both.,1,Either 'Mary went to the bedroom' or 'Bernhard is white' but not both. +There is a better than even chance that Bernhard is a frog. Chances are about even that Daniel got the football. We doubt that Brian is a rhino. It is probable that if either 'Brian is a rhino' or 'Daniel got the football' but not both then John picked up the apple. There is a very good chance that if 'Brian is a rhino and Daniel got the football' then Julius is gray. It is probable that if 'Daniel got the football and Bernhard is a frog' then Mary went to the office.,Chances are about even that 'Julius is gray and John picked up the apple'.," + 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.6::factA. + 0.5::factB. + 0.2::factC. + %hop1 + 0.7::factX:-xor(factC,factB). + 0.8::factY:-and(factC,factB). + 0.7::factZ:-and(factB,factA). + + %hop2 + conclusion:-and(factY,factX). + + query(conclusion). + ",0.0,0.8977795559111822,validation,impossible,about even,It is impossible that 'Julius is gray and John picked up the apple'.,Chances are about even that 'Julius is gray and John picked up the apple'.,0,'Julius is gray and John picked up the apple'. +Chances are about even that Brian is a frog. It is certain that Lily is gray. It is impossible that Greg is white. It is improbable that if 'Brian is a frog' or 'Greg is white' or both then Gertrude is a sheep. It is improbable that if 'Brian is a frog and Greg is white' then Julius is yellow. Chances are slight that if 'Greg is white' or 'Lily is gray' or both then John moved to the office.,There is a very good chance that 'Greg is white and Lily is gray'.," + 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. + 1.0::factB. + 0.0::factC. + %hop1 + 0.1::factX:-or(factA,factC). + 0.1::factY:-and(factA,factC). + 0.1::factZ:-or(factC,factB). + + %hop2 + conclusion:-and(factC,factB). + + query(conclusion). + ",0.0,0.8997799559911982,validation,impossible,very good chance,It is impossible that 'Greg is white and Lily is gray'.,There is a very good chance that 'Greg is white and Lily is gray'.,0,'Greg is white and Lily is gray'. +It is highly unlikely that Emily is a mouse. It is unlikely that Lily is a swan. There is a better than even chance that Daniel got the football. Chances are about even that if 'Lily is a swan and Emily is a mouse' then Sumit is thirsty. There is almost no chance that if 'Lily is a swan' or 'Daniel got the football' or both then Julius is a lion. Chances are slight that if 'Emily is a mouse' or 'Lily is a swan' or both then Brian is a rhino.,We doubt that 'Lily is a swan' or 'Brian is a rhino' or both.," + 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.05::factA. + 0.2::factB. + 0.6::factC. + %hop1 + 0.5::factX:-and(factB,factA). + 0.02::factY:-or(factB,factC). + 0.1::factZ:-or(factA,factB). + + %hop2 + conclusion:-or(factB,factZ). + + query(conclusion). + ",0.20400000000000004,0.8581716343268654,validation,we doubt,certain,We doubt that 'Lily is a swan' or 'Brian is a rhino' or both.,It is certain that 'Lily is a swan' or 'Brian is a rhino' or both.,1,'Lily is a swan' or 'Brian is a rhino' or both. +It is almost certain that Julius is white. Chances are about even that Lily is a lion. Chances are about even that Bernhard is green. It is likely that if 'Bernhard is green and Julius is white' then Brian is gray. It is improbable that if 'Lily is a lion and Julius is white' then Mary grabbed the milk. Chances are slight that if 'Lily is a lion and Julius is white' then John took the apple.,There is little chance that 'Lily is a lion' or 'Brian is gray' or both.," + 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.95::factA. + 0.5::factB. + 0.5::factC. + %hop1 + 0.7::factX:-and(factC,factA). + 0.1::factY:-and(factB,factA). + 0.1::factZ:-and(factB,factA). + + %hop2 + conclusion:-or(factB,factX). + + query(conclusion). + ",0.6662499999999999,0.8059611922384476,validation,probably,little chance,It is probably the case that 'Lily is a lion' or 'Brian is gray' or both.,There is little chance that 'Lily is a lion' or 'Brian is gray' or both.,0,'Lily is a lion' or 'Brian is gray' or both. +It is probable that Brian is a frog. It is impossible that Jessica is a cat. It is highly unlikely that John took the apple. It is highly unlikely that if 'Jessica is a cat and Brian is a frog' then Julius is yellow. There is almost no chance that if either 'Brian is a frog' or 'John took the apple' but not both then Daniel got the milk. We doubt that if 'Jessica is a cat' or 'Brian is a frog' or both then Fred went to the office.,It is probably not the case that 'Brian is a frog' or 'John took the apple' or both.," + 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.7::factA. + 0.0::factB. + 0.05::factC. + %hop1 + 0.05::factX:-and(factB,factA). + 0.02::factY:-xor(factA,factC). + 0.2::factZ:-or(factB,factA). + + %hop2 + conclusion:-or(factA,factC). + + query(conclusion). + ",0.715,0.8771754350870175,validation,probable,probably not,It is probable that 'Brian is a frog' or 'John took the apple' or both.,It is probably not the case that 'Brian is a frog' or 'John took the apple' or both.,0,'Brian is a frog' or 'John took the apple' or both. +It is almost certain that Sandra dropped the milk. There is little chance that Greg is a frog. It is likely that Lily is yellow. We believe that if 'Greg is a frog' or 'Sandra dropped the milk' or both then Brian is a lion. It is highly unlikely that if 'Sandra dropped the milk' or 'Greg is a frog' or both then Bernhard is a frog. It is almost certain that if 'Lily is yellow' or 'Sandra dropped the milk' or both then Mary discarded the milk.,It is certain that either 'Brian is a lion' or 'Sandra dropped the milk' but not both.," + 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.95::factA. + 0.1::factB. + 0.7::factC. + %hop1 + 0.75::factX:-or(factB,factA). + 0.05::factY:-or(factA,factB). + 0.95::factZ:-or(factC,factA). + + %hop2 + conclusion:-xor(factX,factA). + + query(conclusion). + ",0.24125,0.8119623924784957,validation,probably not,certain,It is probably not the case that either 'Brian is a lion' or 'Sandra dropped the milk' but not both.,It is certain that either 'Brian is a lion' or 'Sandra dropped the milk' but not both.,0,Either 'Brian is a lion' or 'Sandra dropped the milk' but not both. +It is probable that Brian is a frog. It is probable that John left the football. It is likely that Greg is yellow. It is almost certain that if 'John left the football and Greg is yellow' then Lily is a lion. There is a very good chance that if 'Brian is a frog and John left the football' then Bernhard is green. There is a very good chance that if either 'Greg is yellow' or 'Brian is a frog' but not both then Mary took the milk.,It is probably the case that 'Greg is yellow and Mary took the milk'.," + 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.7::factA. + 0.7::factB. + 0.7::factC. + %hop1 + 0.95::factX:-and(factB,factC). + 0.8::factY:-and(factA,factB). + 0.8::factZ:-xor(factC,factA). + + %hop2 + conclusion:-and(factC,factZ). + + query(conclusion). + ",0.168,0.8875775155031006,validation,we doubt,probably,We doubt that 'Greg is yellow and Mary took the milk'.,It is probably the case that 'Greg is yellow and Mary took the milk'.,0,'Greg is yellow and Mary took the milk'. +It is highly unlikely that Mary moved to the office. There is almost no chance that Lily is gray. It is highly likely that Emily is a mouse. There is a very good chance that if 'Lily is gray' or 'Emily is a mouse' or both then Winona is a sheep. Chances are about even that if 'Mary moved to the office and Lily is gray' then Julius is yellow. It is highly unlikely that if 'Mary moved to the office and Emily is a mouse' then Brian is white.,It is impossible that 'Brian is white and Emily is a mouse'.," + 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.05::factA. + 0.02::factB. + 0.9::factC. + %hop1 + 0.8::factX:-or(factB,factC). + 0.5::factY:-and(factA,factB). + 0.05::factZ:-and(factA,factC). + + %hop2 + conclusion:-and(factZ,factC). + + query(conclusion). + ",0.0022500000000000016,0.8915783156631326,validation,impossible,certain,It is impossible that 'Brian is white and Emily is a mouse'.,It is certain that 'Brian is white and Emily is a mouse'.,1,'Brian is white and Emily is a mouse'. +It is impossible that Julius is a swan. It is certain that Gertrude is a sheep. Chances are slight that Mary moved to the office. It is certain that if either 'Gertrude is a sheep' or 'Mary moved to the office' but not both then Fred went to the garden. Chances are about even that if 'Gertrude is a sheep and Mary moved to the office' then Jason is tired. It is highly unlikely that if either 'Julius is a swan' or 'Gertrude is a sheep' but not both then Greg is a rhino.,It is likely that 'Mary moved to the office' or 'Greg is a rhino' or both.," + 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. + 1.0::factB. + 0.1::factC. + %hop1 + 1.0::factX:-xor(factB,factC). + 0.5::factY:-and(factB,factC). + 0.05::factZ:-xor(factA,factB). + + %hop2 + conclusion:-or(factC,factZ). + + query(conclusion). + ",0.14500000000000002,0.8587717543508702,validation,chances are slight,likely,Chances are slight that 'Mary moved to the office' or 'Greg is a rhino' or both.,It is likely that 'Mary moved to the office' or 'Greg is a rhino' or both.,0,'Mary moved to the office' or 'Greg is a rhino' or both. +There is a very good chance that Daniel dropped the milk. There is a very good chance that Julius is gray. We believe that Emily is a mouse. It is likely that if 'Emily is a mouse' or 'Daniel dropped the milk' or both then Mary went to the office. We doubt that if either 'Julius is gray' or 'Daniel dropped the milk' but not both then Sandra is in the kitchen. Chances are slight that if 'Emily is a mouse and Daniel dropped the milk' then Lily is a swan.,It is likely that 'Sandra is in the kitchen' or 'Lily is a swan' or both.," + 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.8::factA. + 0.8::factB. + 0.75::factC. + %hop1 + 0.7::factX:-or(factC,factA). + 0.2::factY:-xor(factB,factA). + 0.1::factZ:-and(factC,factA). + + %hop2 + conclusion:-or(factY,factZ). + + query(conclusion). + ",0.12160000000000004,0.8947789557911582,validation,improbable,likely,It is improbable that 'Sandra is in the kitchen' or 'Lily is a swan' or both.,It is likely that 'Sandra is in the kitchen' or 'Lily is a swan' or both.,0,'Sandra is in the kitchen' or 'Lily is a swan' or both. +It is probably the case that Greg is a lion. Chances are about even that Lily is a rhino. It is impossible that Gertrude is a mouse. There is little chance that if 'Greg is a lion and Lily is a rhino' then Daniel got the football. It is highly unlikely that if 'Greg is a lion and Gertrude is a mouse' then Bernhard is white. We believe that if either 'Gertrude is a mouse' or 'Greg is a lion' but not both then Jason is tired.,It is unlikely that either 'Daniel got the football' or 'Greg is a lion' but not both.," + 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.7::factA. + 0.5::factB. + 0.0::factC. + %hop1 + 0.1::factX:-and(factA,factB). + 0.05::factY:-and(factA,factC). + 0.75::factZ:-xor(factC,factA). + + %hop2 + conclusion:-xor(factX,factA). + + query(conclusion). + ",0.6649999999999999,0.8241648329665934,validation,probably,unlikely,It is probably the case that either 'Daniel got the football' or 'Greg is a lion' but not both.,It is unlikely that either 'Daniel got the football' or 'Greg is a lion' but not both.,0,Either 'Daniel got the football' or 'Greg is a lion' but not both. +It is impossible that Bernhard is a rhino. There is little chance that Greg is a frog. It is probable that John took the apple. Chances are about even that if 'Greg is a frog and Bernhard is a rhino' then Daniel left the milk. Chances are about even that if 'Greg is a frog and John took the apple' then Lily is yellow. It is highly likely that if 'John took the apple' or 'Bernhard is a rhino' or both then Sandra dropped the milk.,We doubt that either 'Lily is yellow' or 'John took the apple' but not both.," + 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.5::factX:-and(factB,factA). + 0.5::factY:-and(factB,factC). + 0.9::factZ:-or(factC,factA). + + %hop2 + conclusion:-xor(factY,factC). + + query(conclusion). + ",0.6649999999999999,0.8923784756951391,validation,likely,we doubt,It is likely that either 'Lily is yellow' or 'John took the apple' but not both.,We doubt that either 'Lily is yellow' or 'John took the apple' but not both.,0,Either 'Lily is yellow' or 'John took the apple' but not both. +It is almost certain that Greg is a swan. It is probably not the case that Julius is yellow. There is little chance that Gertrude is a mouse. There is a better than even chance that if 'Julius is yellow and Gertrude is a mouse' then Brian is a lion. It is impossible that if either 'Greg is a swan' or 'Julius is yellow' but not both then Bernhard is gray. There is a better than even chance that if 'Julius is yellow and Greg is a swan' then Mary grabbed the milk.,It is improbable that either 'Gertrude is a mouse' or 'Bernhard is gray' but not both.," + 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.95::factA. + 0.25::factB. + 0.1::factC. + %hop1 + 0.6::factX:-and(factB,factC). + 0.0::factY:-xor(factA,factB). + 0.6::factZ:-and(factB,factA). + + %hop2 + conclusion:-xor(factC,factY). + + query(conclusion). + ",0.10000000000000002,0.8329665933186637,validation,improbable,highly likely,It is improbable that either 'Gertrude is a mouse' or 'Bernhard is gray' but not both.,It is highly likely that either 'Gertrude is a mouse' or 'Bernhard is gray' but not both.,1,Either 'Gertrude is a mouse' or 'Bernhard is gray' but not both. +It is probable that Lily is white. It is probable that Emily is a mouse. It is impossible that Mary left the football. There is a better than even chance that if either 'Lily is white' or 'Mary left the football' but not both then Julius is a frog. It is certain that if either 'Lily is white' or 'Emily is a mouse' but not both then John went to the garden. It is highly unlikely that if either 'Lily is white' or 'Emily is a mouse' but not both then Brian is a swan.,There is almost no chance that 'Brian is a swan and Lily is white'.," + 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.7::factA. + 0.7::factB. + 0.0::factC. + %hop1 + 0.6::factX:-xor(factA,factC). + 1.0::factY:-xor(factA,factB). + 0.05::factZ:-xor(factA,factB). + + %hop2 + conclusion:-and(factZ,factA). + + query(conclusion). + ",0.010500000000000006,0.8153630726145229,validation,almost no chance,highly likely,There is almost no chance that 'Brian is a swan and Lily is white'.,It is highly likely that 'Brian is a swan and Lily is white'.,1,'Brian is a swan and Lily is white'. +It is certain that Mary got the football. Chances are about even that Julius is a swan. There is little chance that Bernhard is a lion. It is improbable that if either 'Mary got the football' or 'Julius is a swan' but not both then John took the apple. Chances are about even that if 'Bernhard is a lion and Julius is a swan' then Jessica is a cat. Chances are about even that if 'Julius is a swan and Bernhard is a lion' then Jeff discarded the milk.,There is little chance that 'John took the apple' or 'Bernhard is a lion' or both.," + 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 + 1.0::factA. + 0.5::factB. + 0.1::factC. + %hop1 + 0.1::factX:-xor(factA,factB). + 0.5::factY:-and(factC,factB). + 0.5::factZ:-and(factB,factC). + + %hop2 + conclusion:-or(factX,factC). + + query(conclusion). + ",0.14500000000000002,0.8015603120624125,validation,little chance,probable,There is little chance that 'John took the apple' or 'Bernhard is a lion' or both.,It is probable that 'John took the apple' or 'Bernhard is a lion' or both.,1,'John took the apple' or 'Bernhard is a lion' or both. +There is a very good chance that Mary moved to the garden. It is certain that John went to the hallway. We doubt that Julius is a frog. It is highly likely that if 'Mary moved to the garden and John went to the hallway' then Greg is yellow. It is highly likely that if either 'John went to the hallway' or 'Mary moved to the garden' but not both then Bernhard is gray. There is a better than even chance that if either 'Julius is a frog' or 'John went to the hallway' but not both then Sandra got the milk.,It is likely that either 'Julius is a frog' or 'Bernhard is gray' but not both.," + 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.8::factA. + 1.0::factB. + 0.2::factC. + %hop1 + 0.9::factX:-and(factA,factB). + 0.9::factY:-xor(factB,factA). + 0.6::factZ:-xor(factC,factB). + + %hop2 + conclusion:-xor(factC,factY). + + query(conclusion). + ",0.308,0.878375675135027,validation,probably not,likely,It is probably not the case that either 'Julius is a frog' or 'Bernhard is gray' but not both.,It is likely that either 'Julius is a frog' or 'Bernhard is gray' but not both.,0,Either 'Julius is a frog' or 'Bernhard is gray' but not both. +Chances are about even that Mary dropped the apple. It is likely that Fred is in the cinema. There is a very good chance that Jessica is a mouse. We doubt that if either 'Jessica is a mouse' or 'Fred is in the cinema' but not both then Lily is a rhino. There is little chance that if 'Jessica is a mouse and Mary dropped the apple' then Julius is a swan. It is probably the case that if 'Fred is in the cinema' or 'Mary dropped the apple' or both then Greg is gray.,It is almost certain that 'Fred is in the cinema' or 'Jessica is a mouse' or both.," + 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.7::factB. + 0.8::factC. + %hop1 + 0.2::factX:-xor(factC,factB). + 0.1::factY:-and(factC,factA). + 0.7::factZ:-or(factB,factA). + + %hop2 + conclusion:-or(factB,factC). + + query(conclusion). + ",0.94,0.888377675535107,validation,almost certain,unlikely,It is almost certain that 'Fred is in the cinema' or 'Jessica is a mouse' or both.,It is unlikely that 'Fred is in the cinema' or 'Jessica is a mouse' or both.,1,'Fred is in the cinema' or 'Jessica is a mouse' or both. +It is probably not the case that Brian is a swan. It is probably the case that Greg is white. There is a very good chance that Lily is a frog. It is improbable that if 'Greg is white and Brian is a swan' then John grabbed the milk. There is a very good chance that if either 'Greg is white' or 'Brian is a swan' but not both then Daniel took the apple. It is probably the case that if 'Lily is a frog' or 'Greg is white' or both then Bernhard is white.,There is a better than even chance that 'Greg is white and Lily is a frog'.," + 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.25::factA. + 0.7::factB. + 0.8::factC. + %hop1 + 0.1::factX:-and(factB,factA). + 0.8::factY:-xor(factB,factA). + 0.7::factZ:-or(factC,factB). + + %hop2 + conclusion:-and(factB,factC). + + query(conclusion). + ",0.5599999999999999,0.869373874774955,validation,better than even,highly unlikely,There is a better than even chance that 'Greg is white and Lily is a frog'.,It is highly unlikely that 'Greg is white and Lily is a frog'.,1,'Greg is white and Lily is a frog'. +There is almost no chance that Mary went to the bedroom. It is almost certain that Julius is white. It is impossible that Bernhard is a frog. There is a very good chance that if either 'Julius is white' or 'Bernhard is a frog' but not both then John put down the milk. There is little chance that if either 'Mary went to the bedroom' or 'Bernhard is a frog' but not both then Greg is a rhino. We believe that if either 'Bernhard is a frog' or 'Mary went to the bedroom' but not both then Jessica is a sheep.,It is impossible that 'John put down the milk and Greg is a rhino'.," + 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.95::factB. + 0.0::factC. + %hop1 + 0.8::factX:-xor(factB,factC). + 0.1::factY:-xor(factA,factC). + 0.75::factZ:-xor(factC,factA). + + %hop2 + conclusion:-and(factX,factY). + + query(conclusion). + ",0.0015200000000000012,0.8901780356071214,validation,impossible,almost certain,It is impossible that 'John put down the milk and Greg is a rhino'.,It is almost certain that 'John put down the milk and Greg is a rhino'.,1,'John put down the milk and Greg is a rhino'. +There is a very good chance that Jessica is a cat. We believe that John dropped the apple. There is a very good chance that Greg is a swan. It is probably not the case that if 'John dropped the apple and Jessica is a cat' then Bernhard is gray. Chances are slight that if 'Jessica is a cat' or 'John dropped the apple' or both then Fred went to the garden. It is probably the case that if 'Greg is a swan' or 'Jessica is a cat' or both then Brian is white.,Chances are slight that 'Greg is a swan and Brian is white'.," + 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.8::factA. + 0.75::factB. + 0.8::factC. + %hop1 + 0.25::factX:-and(factB,factA). + 0.1::factY:-or(factA,factB). + 0.7::factZ:-or(factC,factA). + + %hop2 + conclusion:-and(factC,factZ). + + query(conclusion). + ",0.5599999999999999,0.8839767953590718,validation,better than even,chances are slight,There is a better than even chance that 'Greg is a swan and Brian is white'.,Chances are slight that 'Greg is a swan and Brian is white'.,0,'Greg is a swan and Brian is white'. +It is probably the case that Jessica is a sheep. There is little chance that Sandra dropped the milk. There is a better than even chance that Mary left the football. There is a very good chance that if 'Mary left the football and Sandra dropped the milk' then Bernhard is green. There is little chance that if 'Mary left the football and Sandra dropped the milk' then Brian is yellow. It is unlikely that if 'Mary left the football' or 'Jessica is a sheep' or both then Lily is a lion.,There is a better than even chance that 'Mary left the football and Brian is yellow'.," + 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.7::factA. + 0.1::factB. + 0.6::factC. + %hop1 + 0.8::factX:-and(factC,factB). + 0.1::factY:-and(factC,factB). + 0.2::factZ:-or(factC,factA). + + %hop2 + conclusion:-and(factC,factY). + + query(conclusion). + ",0.005999999999999998,0.8751750350070014,validation,impossible,better than even,It is impossible that 'Mary left the football and Brian is yellow'.,There is a better than even chance that 'Mary left the football and Brian is yellow'.,0,'Mary left the football and Brian is yellow'. +It is likely that Lily is green. It is almost certain that Julius is a swan. It is unlikely that Mary discarded the milk. It is almost certain that if 'Julius is a swan' or 'Mary discarded the milk' or both then Antoine is thirsty. Chances are slight that if either 'Mary discarded the milk' or 'Julius is a swan' but not both then Bernhard is a frog. There is a better than even chance that if 'Mary discarded the milk and Julius is a swan' then John went to the garden.,It is improbable that either 'Lily is green' or 'Mary discarded the milk' but not both.," + 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.7::factA. + 0.95::factB. + 0.2::factC. + %hop1 + 0.95::factX:-or(factB,factC). + 0.1::factY:-xor(factC,factB). + 0.6::factZ:-and(factC,factB). + + %hop2 + conclusion:-xor(factA,factC). + + query(conclusion). + ",0.62,0.8327665533106622,validation,better than even,improbable,There is a better than even chance that either 'Lily is green' or 'Mary discarded the milk' but not both.,It is improbable that either 'Lily is green' or 'Mary discarded the milk' but not both.,0,Either 'Lily is green' or 'Mary discarded the milk' but not both. +Chances are about even that Greg is a swan. There is little chance that Julius is a frog. It is highly unlikely that Bernhard is gray. There is little chance that if either 'Bernhard is gray' or 'Julius is a frog' but not both then Brian is white. It is improbable that if either 'Bernhard is gray' or 'Julius is a frog' but not both then Mary dropped the apple. It is certain that if 'Bernhard is gray' or 'Julius is a frog' or both then Bill went to the bedroom.,It is impossible that 'Mary dropped the apple and Julius is a frog'.," + 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.1::factB. + 0.05::factC. + %hop1 + 0.1::factX:-xor(factC,factB). + 0.1::factY:-xor(factC,factB). + 1.0::factZ:-or(factC,factB). + + %hop2 + conclusion:-and(factY,factB). + + query(conclusion). + ",0.0095,0.8845769153830766,validation,impossible,about even,It is impossible that 'Mary dropped the apple and Julius is a frog'.,Chances are about even that 'Mary dropped the apple and Julius is a frog'.,1,'Mary dropped the apple and Julius is a frog'. +It is highly likely that Daniel grabbed the apple. It is almost certain that Brian is a frog. It is highly likely that Emily is a wolf. We believe that if 'Emily is a wolf' or 'Brian is a frog' or both then Sandra is in the kitchen. It is certain that if 'Brian is a frog and Daniel grabbed the apple' then John dropped the milk. It is almost certain that if 'Daniel grabbed the apple' or 'Brian is a frog' or both then Bernhard is a lion.,It is probably not the case that 'John dropped the milk and Daniel grabbed the apple'.," + 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.9::factA. + 0.95::factB. + 0.9::factC. + %hop1 + 0.75::factX:-or(factC,factB). + 1.0::factY:-and(factB,factA). + 0.95::factZ:-or(factA,factB). + + %hop2 + conclusion:-and(factY,factA). + + query(conclusion). + ",0.855,0.8097619523904781,validation,highly likely,probably not,It is highly likely that 'John dropped the milk and Daniel grabbed the apple'.,It is probably not the case that 'John dropped the milk and Daniel grabbed the apple'.,0,'John dropped the milk and Daniel grabbed the apple'. +Chances are slight that Mary went to the kitchen. It is likely that Greg is gray. It is impossible that Jeff put down the milk. There is little chance that if either 'Greg is gray' or 'Jeff put down the milk' but not both then Bill moved to the office. Chances are about even that if 'Mary went to the kitchen' or 'Greg is gray' or both then Brian is a swan. It is certain that if either 'Jeff put down the milk' or 'Greg is gray' but not both then John took the apple.,It is almost certain that 'Bill moved to the office' or 'Jeff put down the milk' or both.," + 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.1::factA. + 0.7::factB. + 0.0::factC. + %hop1 + 0.1::factX:-xor(factB,factC). + 0.5::factY:-or(factA,factB). + 1.0::factZ:-xor(factC,factB). + + %hop2 + conclusion:-or(factX,factC). + + query(conclusion). + ",0.07,0.8469693938787758,validation,highly unlikely,almost certain,It is highly unlikely that 'Bill moved to the office' or 'Jeff put down the milk' or both.,It is almost certain that 'Bill moved to the office' or 'Jeff put down the milk' or both.,0,'Bill moved to the office' or 'Jeff put down the milk' or both. +There is almost no chance that Brian is a lion. It is improbable that Lily is a frog. It is almost certain that Greg is gray. It is impossible that if either 'Lily is a frog' or 'Brian is a lion' but not both then Bill went to the kitchen. There is a very good chance that if 'Lily is a frog and Brian is a lion' then John moved to the garden. It is probably not the case that if 'Brian is a lion and Greg is gray' then Sandra got the football.,It is highly likely that either 'Greg is gray' or 'Lily is a frog' but not both.," + 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.1::factB. + 0.95::factC. + %hop1 + 0.0::factX:-xor(factB,factA). + 0.8::factY:-and(factB,factA). + 0.25::factZ:-and(factA,factC). + + %hop2 + conclusion:-xor(factC,factB). + + query(conclusion). + ",0.86,0.8715743148629725,validation,highly likely,unlikely,It is highly likely that either 'Greg is gray' or 'Lily is a frog' but not both.,It is unlikely that either 'Greg is gray' or 'Lily is a frog' but not both.,1,Either 'Greg is gray' or 'Lily is a frog' but not both. +It is improbable that Emily is a cat. It is probably not the case that John went to the hallway. It is impossible that Greg is a frog. We doubt that if either 'Emily is a cat' or 'Greg is a frog' but not both then Winona is a wolf. It is probably the case that if 'Greg is a frog' or 'Emily is a cat' or both then Mary moved to the office. It is likely that if 'Emily is a cat' or 'Greg is a frog' or both then Lily is a rhino.,There is a better than even chance that either 'Greg is a frog' or 'Winona is a wolf' but not both.," + 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.1::factA. + 0.25::factB. + 0.0::factC. + %hop1 + 0.2::factX:-xor(factA,factC). + 0.7::factY:-or(factC,factA). + 0.7::factZ:-or(factA,factC). + + %hop2 + conclusion:-xor(factC,factX). + + query(conclusion). + ",0.02000000000000001,0.8701740348069614,validation,almost no chance,better than even,There is almost no chance that either 'Greg is a frog' or 'Winona is a wolf' but not both.,There is a better than even chance that either 'Greg is a frog' or 'Winona is a wolf' but not both.,0,Either 'Greg is a frog' or 'Winona is a wolf' but not both. +There is little chance that Brian is a lion. We doubt that Mary got the football. It is likely that Jeff moved to the office. There is a better than even chance that if either 'Mary got the football' or 'Jeff moved to the office' but not both then John dropped the apple. There is a better than even chance that if either 'Mary got the football' or 'Brian is a lion' but not both then Julius is a frog. There is little chance that if 'Jeff moved to the office' or 'Mary got the football' or both then Bernhard is a swan.,It is almost certain that either 'Brian is a lion' or 'Bernhard is a swan' but not both.," + 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.1::factA. + 0.2::factB. + 0.7::factC. + %hop1 + 0.6::factX:-xor(factB,factC). + 0.6::factY:-xor(factB,factA). + 0.1::factZ:-or(factC,factB). + + %hop2 + conclusion:-xor(factA,factZ). + + query(conclusion). + ",0.16080000000000005,0.8895779155831166,validation,we doubt,almost certain,We doubt that either 'Brian is a lion' or 'Bernhard is a swan' but not both.,It is almost certain that either 'Brian is a lion' or 'Bernhard is a swan' but not both.,0,Either 'Brian is a lion' or 'Bernhard is a swan' but not both. +It is certain that Julius is a frog. It is probably the case that Gertrude is a sheep. It is almost certain that Greg is a swan. It is probable that if either 'Greg is a swan' or 'Gertrude is a sheep' but not both then Bernhard is gray. There is little chance that if 'Greg is a swan and Julius is a frog' then Mary went to the office. It is highly likely that if 'Greg is a swan and Julius is a frog' then Brian is white.,It is unlikely that 'Julius is a frog' or 'Gertrude is a sheep' or both.," + 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 + 1.0::factA. + 0.7::factB. + 0.95::factC. + %hop1 + 0.7::factX:-xor(factC,factB). + 0.1::factY:-and(factC,factA). + 0.9::factZ:-and(factC,factA). + + %hop2 + conclusion:-or(factA,factB). + + query(conclusion). + ",1.0,0.8179635927185437,validation,certain,unlikely,It is certain that 'Julius is a frog' or 'Gertrude is a sheep' or both.,It is unlikely that 'Julius is a frog' or 'Gertrude is a sheep' or both.,0,'Julius is a frog' or 'Gertrude is a sheep' or both. +It is likely that Greg is a rhino. There is a better than even chance that Sandra left the milk. It is highly likely that Brian is a lion. There is a better than even chance that if either 'Greg is a rhino' or 'Sandra left the milk' but not both then Lily is white. We doubt that if 'Sandra left the milk' or 'Brian is a lion' or both then John went to the office. It is impossible that if either 'Sandra left the milk' or 'Greg is a rhino' but not both then Bernhard is green.,It is certain that 'Brian is a lion and Bernhard is green'.," + 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.7::factA. + 0.6::factB. + 0.9::factC. + %hop1 + 0.6::factX:-xor(factA,factB). + 0.2::factY:-or(factB,factC). + 0.0::factZ:-xor(factB,factA). + + %hop2 + conclusion:-and(factC,factZ). + + query(conclusion). + ",0.0,0.834366873374675,validation,impossible,certain,It is impossible that 'Brian is a lion and Bernhard is green'.,It is certain that 'Brian is a lion and Bernhard is green'.,0,'Brian is a lion and Bernhard is green'. +Chances are about even that Lily is white. Chances are about even that Mary is in the bathroom. It is unlikely that Yann is hungry. We believe that if either 'Yann is hungry' or 'Mary is in the bathroom' but not both then Brian is a frog. There is little chance that if 'Yann is hungry' or 'Mary is in the bathroom' or both then Greg is yellow. It is probably the case that if either 'Mary is in the bathroom' or 'Yann is hungry' but not both then John went to the garden.,There is almost no chance that 'Greg is yellow and Lily is white'.," + 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.5::factB. + 0.2::factC. + %hop1 + 0.75::factX:-xor(factC,factB). + 0.1::factY:-or(factC,factB). + 0.7::factZ:-xor(factB,factC). + + %hop2 + conclusion:-and(factY,factA). + + query(conclusion). + ",0.029999999999999995,0.8517703540708141,validation,almost no chance,better than even,There is almost no chance that 'Greg is yellow and Lily is white'.,There is a better than even chance that 'Greg is yellow and Lily is white'.,1,'Greg is yellow and Lily is white'. +There is little chance that Sandra got the football. We believe that Brian is yellow. It is likely that Bernhard is yellow. It is unlikely that if 'Sandra got the football and Brian is yellow' then Jessica is a mouse. It is certain that if 'Sandra got the football and Bernhard is yellow' then Daniel grabbed the milk. There is a very good chance that if 'Sandra got the football and Brian is yellow' then John went to the hallway.,It is highly unlikely that either 'John went to the hallway' or 'Daniel grabbed the milk' but not both.," + 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.1::factA. + 0.75::factB. + 0.7::factC. + %hop1 + 0.2::factX:-and(factA,factB). + 1.0::factY:-and(factA,factC). + 0.8::factZ:-and(factA,factB). + + %hop2 + conclusion:-xor(factZ,factY). + + query(conclusion). + ",0.046000000000000034,0.8933786757351471,validation,highly unlikely,certain,It is highly unlikely that either 'John went to the hallway' or 'Daniel grabbed the milk' but not both.,It is certain that either 'John went to the hallway' or 'Daniel grabbed the milk' but not both.,1,Either 'John went to the hallway' or 'Daniel grabbed the milk' but not both. +Chances are slight that Mary left the football. There is a very good chance that John moved to the garden. It is probably not the case that Jessica is a cat. It is probable that if either 'Mary left the football' or 'John moved to the garden' but not both then Lily is a swan. We doubt that if 'Mary left the football and Jessica is a cat' then Bernhard is green. It is likely that if either 'John moved to the garden' or 'Jessica is a cat' but not both then Brian is white.,There is a very good chance that 'John moved to the garden' or 'Bernhard is green' or both.," + 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.1::factA. + 0.8::factB. + 0.25::factC. + %hop1 + 0.7::factX:-xor(factA,factB). + 0.2::factY:-and(factA,factC). + 0.7::factZ:-xor(factB,factC). + + %hop2 + conclusion:-or(factB,factY). + + query(conclusion). + ",0.801,0.882376475295059,validation,very good chance,chances are slight,There is a very good chance that 'John moved to the garden' or 'Bernhard is green' or both.,Chances are slight that 'John moved to the garden' or 'Bernhard is green' or both.,1,'John moved to the garden' or 'Bernhard is green' or both. +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.,Chances are about even that 'Emily is a sheep and Julius is yellow'.," + 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). + ",0.07,0.8041608321664333,validation,highly unlikely,about even,It is highly unlikely that 'Emily is a sheep and Julius is yellow'.,Chances are about even that 'Emily is a sheep and Julius is yellow'.,0,'Emily is a sheep and Julius is yellow'. +It is probable that John went to the bedroom. It is unlikely that Julius is yellow. It is certain that Brian is a frog. It is unlikely that if either 'Brian is a frog' or 'John went to the bedroom' but not both then Mary moved to the garden. It is probably the case that if 'Julius is yellow and John went to the bedroom' then Lily is a rhino. It is unlikely that if either 'Julius is yellow' or 'Brian is a frog' but not both then Daniel put down the milk.,Chances are about even that either 'Mary moved to the garden' or 'Brian is a frog' but not both.," + 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.7::factA. + 0.2::factB. + 1.0::factC. + %hop1 + 0.2::factX:-xor(factC,factA). + 0.7::factY:-and(factB,factA). + 0.2::factZ:-xor(factB,factC). + + %hop2 + conclusion:-xor(factX,factC). + + query(conclusion). + ",0.94,0.8831766353270654,validation,almost certain,about even,It is almost certain that either 'Mary moved to the garden' or 'Brian is a frog' but not both.,Chances are about even that either 'Mary moved to the garden' or 'Brian is a frog' but not both.,0,Either 'Mary moved to the garden' or 'Brian is a frog' but not both. +It is highly likely that Brian is a lion. It is probable that John took the apple. We doubt that Emily is a wolf. It is unlikely that if 'Brian is a lion and Emily is a wolf' then Jessica is a cat. There is almost no chance that if 'John took the apple' or 'Brian is a lion' or both then Lily is a swan. Chances are about even that if 'Brian is a lion and John took the apple' then Jeff went to the bedroom.,It is highly likely that either 'Lily is a swan' or 'Jeff went to the bedroom' but not both.," + 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.9::factA. + 0.7::factB. + 0.2::factC. + %hop1 + 0.2::factX:-and(factA,factC). + 0.02::factY:-or(factB,factA). + 0.5::factZ:-and(factA,factB). + + %hop2 + conclusion:-xor(factY,factZ). + + query(conclusion). + ",0.3218,0.8679735947189438,validation,probably not,highly likely,It is probably not the case that either 'Lily is a swan' or 'Jeff went to the bedroom' but not both.,It is highly likely that either 'Lily is a swan' or 'Jeff went to the bedroom' but not both.,0,Either 'Lily is a swan' or 'Jeff went to the bedroom' but not both. +It is impossible that John put down the milk. It is probably the case that Mary left the football. There is a very good chance that Bernhard is gray. It is likely that if either 'Bernhard is gray' or 'Mary left the football' but not both then Greg is a frog. It is probably the case that if 'Bernhard is gray and Mary left the football' then Brian is a rhino. There is little chance that if either 'Mary left the football' or 'John put down the milk' but not both then Lily is a lion.,It is impossible that 'Greg is a frog and John put down the milk'.," + 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.7::factB. + 0.8::factC. + %hop1 + 0.7::factX:-xor(factC,factB). + 0.7::factY:-and(factC,factB). + 0.1::factZ:-xor(factB,factA). + + %hop2 + conclusion:-and(factX,factA). + + query(conclusion). + ",0.0,0.8445689137827566,validation,impossible,likely,It is impossible that 'Greg is a frog and John put down the milk'.,It is likely that 'Greg is a frog and John put down the milk'.,1,'Greg is a frog and John put down the milk'. +There is a very good chance that Lily is a lion. We believe that Sandra dropped the milk. It is unlikely that Brian is gray. There is a better than even chance that if either 'Lily is a lion' or 'Brian is gray' but not both then Gertrude is a mouse. It is almost certain that if 'Lily is a lion' or 'Brian is gray' or both then Bill left the football. It is impossible that if either 'Lily is a lion' or 'Brian is gray' but not both then Antoine is hungry.,There is a very good chance that 'Brian is gray and Sandra dropped the milk'.," + 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.8::factA. + 0.75::factB. + 0.2::factC. + %hop1 + 0.6::factX:-xor(factA,factC). + 0.95::factY:-or(factA,factC). + 0.0::factZ:-xor(factA,factC). + + %hop2 + conclusion:-and(factC,factB). + + query(conclusion). + ",0.15,0.8991798359671934,validation,chances are slight,very good chance,Chances are slight that 'Brian is gray and Sandra dropped the milk'.,There is a very good chance that 'Brian is gray and Sandra dropped the milk'.,0,'Brian is gray and Sandra dropped the milk'. +We believe that Lily is white. It is almost certain that Bernhard is gray. There is a very good chance that John picked up the apple. Chances are about even that if 'Lily is white and Bernhard is gray' then Fred went to the garden. It is highly unlikely that if 'John picked up the apple and Lily is white' then Winona is a wolf. It is impossible that if 'John picked up the apple and Bernhard is gray' then Daniel got the milk.,We believe that either 'Fred went to the garden' or 'Daniel got the milk' but not both.," + 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.75::factA. + 0.95::factB. + 0.8::factC. + %hop1 + 0.5::factX:-and(factA,factB). + 0.05::factY:-and(factC,factA). + 0.0::factZ:-and(factC,factB). + + %hop2 + conclusion:-xor(factX,factZ). + + query(conclusion). + ",0.35625,0.8551710342068414,validation,probably not,we believe,It is probably not the case that either 'Fred went to the garden' or 'Daniel got the milk' but not both.,We believe that either 'Fred went to the garden' or 'Daniel got the milk' but not both.,0,Either 'Fred went to the garden' or 'Daniel got the milk' but not both. +It is probably the case that Winona is a mouse. It is impossible that Emily is a sheep. It is improbable that Julius is yellow. There is almost no chance that if 'Winona is a mouse and Emily is a sheep' then Mary went to the office. It is almost certain that if either 'Winona is a mouse' or 'Julius is yellow' but not both then John left the milk. Chances are slight that if 'Winona is a mouse' or 'Emily is a sheep' or both then Brian is gray.,It is improbable that either 'Winona is a mouse' or 'John left the milk' but not both.," + 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.7::factA. + 0.0::factB. + 0.1::factC. + %hop1 + 0.02::factX:-and(factA,factB). + 0.95::factY:-xor(factA,factC). + 0.1::factZ:-or(factA,factB). + + %hop2 + conclusion:-xor(factA,factY). + + query(conclusion). + ",0.13000000000000006,0.8471694338867773,validation,improbable,likely,It is improbable that either 'Winona is a mouse' or 'John left the milk' but not both.,It is likely that either 'Winona is a mouse' or 'John left the milk' but not both.,1,Either 'Winona is a mouse' or 'John left the milk' but not both. +There is almost no chance that Lily is green. It is unlikely that Brian is white. It is impossible that John moved to the office. There is almost no chance that if 'John moved to the office' or 'Brian is white' or both then Bernhard is a swan. There is a better than even chance that if either 'Brian is white' or 'Lily is green' but not both then Greg is gray. There is little chance that if either 'Brian is white' or 'Lily is green' but not both then Daniel dropped the milk.,It is certain that 'Lily is green and John moved to the office'.," + 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.2::factB. + 0.0::factC. + %hop1 + 0.02::factX:-or(factC,factB). + 0.6::factY:-xor(factB,factA). + 0.1::factZ:-xor(factB,factA). + + %hop2 + conclusion:-and(factA,factC). + + query(conclusion). + ",0.0,0.890378075615123,validation,impossible,certain,It is impossible that 'Lily is green and John moved to the office'.,It is certain that 'Lily is green and John moved to the office'.,0,'Lily is green and John moved to the office'. +It is highly unlikely that Brian is a lion. It is probable that Julius is a rhino. It is probably the case that Bernhard is green. It is likely that if 'Bernhard is green' or 'Brian is a lion' or both then Winona is a wolf. It is probably not the case that if either 'Bernhard is green' or 'Julius is a rhino' but not both then John moved to the garden. It is probably not the case that if 'Bernhard is green and Julius is a rhino' then Greg is white.,It is probable that 'Winona is a wolf and Brian is a lion'.," + 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.05::factA. + 0.7::factB. + 0.7::factC. + %hop1 + 0.7::factX:-or(factC,factA). + 0.25::factY:-xor(factC,factB). + 0.25::factZ:-and(factC,factB). + + %hop2 + conclusion:-and(factX,factA). + + query(conclusion). + ",0.035,0.8145629125825165,validation,highly unlikely,probable,It is highly unlikely that 'Winona is a wolf and Brian is a lion'.,It is probable that 'Winona is a wolf and Brian is a lion'.,0,'Winona is a wolf and Brian is a lion'. +It is likely that Sandra dropped the apple. It is certain that Bernhard is gray. It is unlikely that Lily is a swan. It is probable that if 'Lily is a swan and Bernhard is gray' then Jessica is a sheep. It is probably not the case that if 'Lily is a swan and Bernhard is gray' then Julius is a lion. It is certain that if 'Bernhard is gray' or 'Sandra dropped the apple' or both then Mary left the football.,There is little chance that either 'Lily is a swan' or 'Sandra dropped the apple' but not both.," + 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.7::factA. + 1.0::factB. + 0.2::factC. + %hop1 + 0.7::factX:-and(factC,factB). + 0.25::factY:-and(factC,factB). + 1.0::factZ:-or(factB,factA). + + %hop2 + conclusion:-xor(factC,factA). + + query(conclusion). + ",0.62,0.8565713142628526,validation,better than even,little chance,There is a better than even chance that either 'Lily is a swan' or 'Sandra dropped the apple' but not both.,There is little chance that either 'Lily is a swan' or 'Sandra dropped the apple' but not both.,0,Either 'Lily is a swan' or 'Sandra dropped the apple' but not both. +It is impossible that Lily is gray. There is a better than even chance that Brian is a swan. It is certain that Julius is a frog. It is highly likely that if 'Lily is gray' or 'Julius is a frog' or both then Sandra left the milk. There is little chance that if either 'Brian is a swan' or 'Julius is a frog' but not both then Mary went to the hallway. It is certain that if 'Brian is a swan' or 'Julius is a frog' or both then John took the apple.,It is highly unlikely that 'Mary went to the hallway and Julius is a frog'.," + 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.6::factB. + 1.0::factC. + %hop1 + 0.9::factX:-or(factA,factC). + 0.1::factY:-xor(factB,factC). + 1.0::factZ:-or(factB,factC). + + %hop2 + conclusion:-and(factY,factC). + + query(conclusion). + ",0.04000000000000001,0.8365673134626925,validation,highly unlikely,about even,It is highly unlikely that 'Mary went to the hallway and Julius is a frog'.,Chances are about even that 'Mary went to the hallway and Julius is a frog'.,1,'Mary went to the hallway and Julius is a frog'. +It is unlikely that Brian is a rhino. It is highly likely that John picked up the milk. There is almost no chance that Mary discarded the apple. It is almost certain that if 'John picked up the milk and Mary discarded the apple' then Bernhard is a lion. Chances are about even that if 'John picked up the milk' or 'Brian is a rhino' or both then Lily is a swan. It is probably the case that if either 'Mary discarded the apple' or 'John picked up the milk' but not both then Sandra is in the kitchen.,We doubt that 'Bernhard is a lion' or 'Brian is a rhino' or both.," + 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.9::factB. + 0.02::factC. + %hop1 + 0.95::factX:-and(factB,factC). + 0.5::factY:-or(factB,factA). + 0.7::factZ:-xor(factC,factB). + + %hop2 + conclusion:-or(factX,factA). + + query(conclusion). + ",0.21368000000000006,0.842368473694739,validation,we doubt,almost certain,We doubt that 'Bernhard is a lion' or 'Brian is a rhino' or both.,It is almost certain that 'Bernhard is a lion' or 'Brian is a rhino' or both.,1,'Bernhard is a lion' or 'Brian is a rhino' or both. +We believe that Julius is a lion. There is little chance that Sandra dropped the milk. There is a better than even chance that Fred went to the garden. It is certain that if 'Fred went to the garden' or 'Julius is a lion' or both then Bernhard is a swan. Chances are slight that if 'Sandra dropped the milk and Fred went to the garden' then Brian is a rhino. There is little chance that if 'Fred went to the garden' or 'Julius is a lion' or both then John picked up the apple.,There is almost no chance that either 'Fred went to the garden' or 'Brian is a rhino' but not both.," + 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.75::factA. + 0.1::factB. + 0.6::factC. + %hop1 + 1.0::factX:-or(factC,factA). + 0.1::factY:-and(factB,factC). + 0.1::factZ:-or(factC,factA). + + %hop2 + conclusion:-xor(factC,factY). + + query(conclusion). + ",0.594,0.8749749949989998,validation,better than even,almost no chance,There is a better than even chance that either 'Fred went to the garden' or 'Brian is a rhino' but not both.,There is almost no chance that either 'Fred went to the garden' or 'Brian is a rhino' but not both.,0,Either 'Fred went to the garden' or 'Brian is a rhino' but not both. +It is probably the case that John moved to the office. It is certain that Brian is yellow. Chances are slight that Julius is gray. It is unlikely that if 'Julius is gray and Brian is yellow' then Jeff went to the hallway. It is certain that if 'Julius is gray and Brian is yellow' then Greg is green. It is probably the case that if 'John moved to the office' or 'Julius is gray' or both then Lily is a frog.,It is certain that 'Brian is yellow' or 'John moved to the office' or both.," + 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.7::factA. + 1.0::factB. + 0.1::factC. + %hop1 + 0.2::factX:-and(factC,factB). + 1.0::factY:-and(factC,factB). + 0.7::factZ:-or(factA,factC). + + %hop2 + conclusion:-or(factB,factA). + + query(conclusion). + ",1.0,0.8141628325665133,validation,certain,almost no chance,It is certain that 'Brian is yellow' or 'John moved to the office' or both.,There is almost no chance that 'Brian is yellow' or 'John moved to the office' or both.,1,'Brian is yellow' or 'John moved to the office' or both. +It is impossible that Mary went to the garden. It is impossible that Winona is a wolf. Chances are slight that Lily is a swan. There is a very good chance that if 'Mary went to the garden' or 'Winona is a wolf' or both then Emily is a sheep. It is improbable that if 'Lily is a swan' or 'Mary went to the garden' or both then Bernhard is gray. It is probable that if either 'Winona is a wolf' or 'Lily is a swan' but not both then Sandra got the milk.,Chances are about even that 'Winona is a wolf and Bernhard is gray'.," + 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.0::factB. + 0.1::factC. + %hop1 + 0.8::factX:-or(factA,factB). + 0.1::factY:-or(factC,factA). + 0.7::factZ:-xor(factB,factC). + + %hop2 + conclusion:-and(factB,factY). + + query(conclusion). + ",0.0,0.8807761552310462,validation,impossible,about even,It is impossible that 'Winona is a wolf and Bernhard is gray'.,Chances are about even that 'Winona is a wolf and Bernhard is gray'.,0,'Winona is a wolf and Bernhard is gray'. +It is probably not the case that Mary went to the bedroom. It is impossible that John discarded the apple. We doubt that Bernhard is a swan. Chances are slight that if 'John discarded the apple' or 'Mary went to the bedroom' or both then Sandra dropped the milk. There is little chance that if 'John discarded the apple' or 'Bernhard is a swan' or both then Brian is a rhino. It is highly likely that if 'John discarded the apple' or 'Bernhard is a swan' or both then Lily is a frog.,There is a better than even chance that 'John discarded the apple' or 'Sandra dropped the milk' or both.," + 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.25::factA. + 0.0::factB. + 0.2::factC. + %hop1 + 0.1::factX:-or(factB,factA). + 0.1::factY:-or(factB,factC). + 0.9::factZ:-or(factB,factC). + + %hop2 + conclusion:-or(factB,factX). + + query(conclusion). + ",0.025000000000000012,0.875375075015003,validation,almost no chance,better than even,There is almost no chance that 'John discarded the apple' or 'Sandra dropped the milk' or both.,There is a better than even chance that 'John discarded the apple' or 'Sandra dropped the milk' or both.,0,'John discarded the apple' or 'Sandra dropped the milk' or both. +There is a very good chance that Brian is a swan. Chances are about even that Daniel got the football. There is little chance that Sandra dropped the milk. It is probable that if either 'Sandra dropped the milk' or 'Daniel got the football' but not both then Winona is a sheep. It is highly unlikely that if 'Sandra dropped the milk and Daniel got the football' then Julius is gray. It is probable that if 'Brian is a swan and Sandra dropped the milk' then Greg is a lion.,There is a very good chance that 'Winona is a sheep and Brian is a swan'.," + 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.8::factA. + 0.5::factB. + 0.1::factC. + %hop1 + 0.7::factX:-xor(factC,factB). + 0.05::factY:-and(factC,factB). + 0.7::factZ:-and(factA,factC). + + %hop2 + conclusion:-and(factX,factA). + + query(conclusion). + ",0.27999999999999997,0.8465693138627726,validation,probably not,very good chance,It is probably not the case that 'Winona is a sheep and Brian is a swan'.,There is a very good chance that 'Winona is a sheep and Brian is a swan'.,0,'Winona is a sheep and Brian is a swan'. +It is likely that John got the apple. It is probably the case that Bernhard is green. It is highly unlikely that Gertrude is a mouse. It is impossible that if 'Bernhard is green and John got the apple' then Antoine is thirsty. We doubt that if 'Gertrude is a mouse' or 'Bernhard is green' or both then Mary left the football. There is a very good chance that if 'John got the apple and Bernhard is green' then Greg is a rhino.,Chances are about even that 'Antoine is thirsty' or 'Greg is a rhino' or both.," + 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.7::factA. + 0.7::factB. + 0.05::factC. + %hop1 + 0.0::factX:-and(factB,factA). + 0.2::factY:-or(factC,factB). + 0.8::factZ:-and(factA,factB). + + %hop2 + conclusion:-or(factX,factZ). + + query(conclusion). + ",0.39199999999999996,0.8927785557111423,validation,about even,impossible,Chances are about even that 'Antoine is thirsty' or 'Greg is a rhino' or both.,It is impossible that 'Antoine is thirsty' or 'Greg is a rhino' or both.,1,'Antoine is thirsty' or 'Greg is a rhino' or both. +It is improbable that Mary grabbed the milk. It is highly likely that Julius is a swan. There is a very good chance that John moved to the office. It is probably the case that if either 'Julius is a swan' or 'Mary grabbed the milk' but not both then Greg is a frog. It is impossible that if 'John moved to the office and Julius is a swan' then Winona is a wolf. It is probably not the case that if 'Mary grabbed the milk and Julius is a swan' then Bernhard is a frog.,It is improbable that either 'Bernhard is a frog' or 'Julius is a swan' but not both.," + 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.1::factA. + 0.9::factB. + 0.8::factC. + %hop1 + 0.7::factX:-xor(factB,factA). + 0.0::factY:-and(factC,factB). + 0.25::factZ:-and(factA,factB). + + %hop2 + conclusion:-xor(factZ,factB). + + query(conclusion). + ",0.8775000000000001,0.8747749549909982,validation,highly likely,improbable,It is highly likely that either 'Bernhard is a frog' or 'Julius is a swan' but not both.,It is improbable that either 'Bernhard is a frog' or 'Julius is a swan' but not both.,0,Either 'Bernhard is a frog' or 'Julius is a swan' but not both. +It is likely that Brian is a rhino. There is a very good chance that Mary went to the hallway. It is probably not the case that Jeff moved to the garden. It is improbable that if 'Jeff moved to the garden and Mary went to the hallway' then Lily is white. It is improbable that if 'Mary went to the hallway' or 'Jeff moved to the garden' or both then Daniel got the apple. It is likely that if 'Brian is a rhino and Jeff moved to the garden' then Bernhard is a lion.,It is certain that either 'Bernhard is a lion' or 'Jeff moved to the garden' but not both.," + 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.7::factA. + 0.8::factB. + 0.25::factC. + %hop1 + 0.1::factX:-and(factC,factB). + 0.1::factY:-or(factB,factC). + 0.7::factZ:-and(factA,factC). + + %hop2 + conclusion:-xor(factZ,factC). + + query(conclusion). + ",0.12749999999999997,0.8795759151830366,validation,improbable,certain,It is improbable that either 'Bernhard is a lion' or 'Jeff moved to the garden' but not both.,It is certain that either 'Bernhard is a lion' or 'Jeff moved to the garden' but not both.,0,Either 'Bernhard is a lion' or 'Jeff moved to the garden' but not both. +It is highly likely that Bernhard is a swan. There is little chance that John went to the office. It is probably the case that Brian is yellow. It is probable that if either 'Bernhard is a swan' or 'Brian is yellow' but not both then Winona is a mouse. We believe that if either 'Bernhard is a swan' or 'Brian is yellow' but not both then Lily is gray. It is highly likely that if 'Brian is yellow' or 'Bernhard is a swan' or both then Julius is white.,Chances are about even that 'Winona is a mouse and Brian is yellow'.," + 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.9::factA. + 0.1::factB. + 0.7::factC. + %hop1 + 0.7::factX:-xor(factA,factC). + 0.75::factY:-xor(factA,factC). + 0.9::factZ:-or(factC,factA). + + %hop2 + conclusion:-and(factX,factC). + + query(conclusion). + ",0.04899999999999998,0.8885777155431086,validation,highly unlikely,about even,It is highly unlikely that 'Winona is a mouse and Brian is yellow'.,Chances are about even that 'Winona is a mouse and Brian is yellow'.,0,'Winona is a mouse and Brian is yellow'. +We doubt that John went to the office. We doubt that Mary got the football. We doubt that Sandra left the milk. Chances are about even that if 'Sandra left the milk and John went to the office' then Lily is green. It is almost certain that if either 'John went to the office' or 'Mary got the football' but not both then Julius is a frog. It is improbable that if 'John went to the office and Sandra left the milk' then Bernhard is a swan.,It is impossible that 'Julius is a frog and Bernhard is a swan'.," + 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.2::factB. + 0.2::factC. + %hop1 + 0.5::factX:-and(factC,factA). + 0.95::factY:-xor(factA,factB). + 0.1::factZ:-and(factA,factC). + + %hop2 + conclusion:-and(factY,factZ). + + query(conclusion). + ",0.0030399999999999997,0.8205641128225645,validation,impossible,we believe,It is impossible that 'Julius is a frog and Bernhard is a swan'.,We believe that 'Julius is a frog and Bernhard is a swan'.,1,'Julius is a frog and Bernhard is a swan'. +It is probably the case that Winona is a mouse. There is a better than even chance that Bernhard is green. We believe that Mary got the apple. We believe that if 'Mary got the apple and Bernhard is green' then Lily is a frog. There is a very good chance that if either 'Mary got the apple' or 'Winona is a mouse' but not both then Julius is a rhino. It is highly unlikely that if 'Mary got the apple' or 'Bernhard is green' or both then Brian is a swan.,There is almost no chance that 'Mary got the apple' or 'Julius is a rhino' or both.," + 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.7::factA. + 0.6::factB. + 0.75::factC. + %hop1 + 0.75::factX:-and(factC,factB). + 0.8::factY:-xor(factC,factA). + 0.05::factZ:-or(factC,factB). + + %hop2 + conclusion:-or(factC,factY). + + query(conclusion). + ",0.89,0.8449689937987598,validation,highly likely,almost no chance,It is highly likely that 'Mary got the apple' or 'Julius is a rhino' or both.,There is almost no chance that 'Mary got the apple' or 'Julius is a rhino' or both.,0,'Mary got the apple' or 'Julius is a rhino' or both. +There is a better than even chance that John went to the bedroom. It is impossible that Jason is tired. There is little chance that Julius is white. It is unlikely that if 'John went to the bedroom and Jason is tired' then Jessica is a cat. It is impossible that if either 'John went to the bedroom' or 'Jason is tired' but not both then Greg is a lion. It is highly likely that if 'Julius is white and John went to the bedroom' then Bernhard is gray.,It is impossible that 'Greg is a lion and Jason is tired'.," + 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.6::factA. + 0.0::factB. + 0.1::factC. + %hop1 + 0.2::factX:-and(factA,factB). + 0.0::factY:-xor(factA,factB). + 0.9::factZ:-and(factC,factA). + + %hop2 + conclusion:-and(factY,factB). + + query(conclusion). + ",0.0,0.8219643928785757,validation,impossible,almost certain,It is impossible that 'Greg is a lion and Jason is tired'.,It is almost certain that 'Greg is a lion and Jason is tired'.,1,'Greg is a lion and Jason is tired'. +It is almost certain that Julius is a rhino. It is highly unlikely that Mary grabbed the milk. There is a better than even chance that Lily is yellow. It is probably the case that if either 'Julius is a rhino' or 'Lily is yellow' but not both then Sandra took the football. It is highly unlikely that if 'Julius is a rhino and Mary grabbed the milk' then Bernhard is a swan. It is highly unlikely that if either 'Mary grabbed the milk' or 'Lily is yellow' but not both then John went to the garden.,It is impossible that 'Julius is a rhino and Bernhard is a swan'.," + 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.95::factA. + 0.05::factB. + 0.6::factC. + %hop1 + 0.7::factX:-xor(factA,factC). + 0.05::factY:-and(factA,factB). + 0.05::factZ:-xor(factB,factC). + + %hop2 + conclusion:-and(factA,factY). + + query(conclusion). + ",0.0023749999999999995,0.8727745549109822,validation,impossible,likely,It is impossible that 'Julius is a rhino and Bernhard is a swan'.,It is likely that 'Julius is a rhino and Bernhard is a swan'.,1,'Julius is a rhino and Bernhard is a swan'. +There is little chance that Julius is yellow. It is probably not the case that Greg is a rhino. It is probably not the case that Mary went to the bedroom. There is almost no chance that if 'Julius is yellow' or 'Greg is a rhino' or both then John discarded the apple. It is probably not the case that if 'Mary went to the bedroom' or 'Julius is yellow' or both then Bernhard is green. It is improbable that if 'Julius is yellow and Mary went to the bedroom' then Brian is a frog.,It is likely that either 'Mary went to the bedroom' or 'Bernhard is green' but not both.," + 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.1::factA. + 0.25::factB. + 0.25::factC. + %hop1 + 0.02::factX:-or(factA,factB). + 0.25::factY:-or(factC,factA). + 0.1::factZ:-and(factA,factC). + + %hop2 + conclusion:-xor(factC,factY). + + query(conclusion). + ",0.20625000000000002,0.870374074814963,validation,we doubt,likely,We doubt that either 'Mary went to the bedroom' or 'Bernhard is green' but not both.,It is likely that either 'Mary went to the bedroom' or 'Bernhard is green' but not both.,0,Either 'Mary went to the bedroom' or 'Bernhard is green' but not both. +It is impossible that John moved to the office. We doubt that Brian is gray. There is a better than even chance that Jessica is a cat. It is improbable that if 'Jessica is a cat' or 'Brian is gray' or both then Bernhard is a frog. We believe that if 'Brian is gray and Jessica is a cat' then Greg is white. It is certain that if 'John moved to the office and Jessica is a cat' then Daniel left the milk.,It is impossible that either 'John moved to the office' or 'Daniel left the milk' but not both.," + 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.2::factB. + 0.6::factC. + %hop1 + 0.1::factX:-or(factC,factB). + 0.75::factY:-and(factB,factC). + 1.0::factZ:-and(factA,factC). + + %hop2 + conclusion:-xor(factA,factZ). + + query(conclusion). + ",0.0,0.8989797959591919,validation,impossible,about even,It is impossible that either 'John moved to the office' or 'Daniel left the milk' but not both.,Chances are about even that either 'John moved to the office' or 'Daniel left the milk' but not both.,1,Either 'John moved to the office' or 'Daniel left the milk' but not both. +There is almost no chance that John went to the office. We doubt that Lily is yellow. It is probable that Sandra dropped the apple. It is probable that if either 'Sandra dropped the apple' or 'John went to the office' but not both then Brian is green. There is a better than even chance that if 'John went to the office' or 'Lily is yellow' or both then Bernhard is a rhino. It is probable that if 'Lily is yellow and John went to the office' then Mary moved to the garden.,There is a very good chance that 'Bernhard is a rhino' or 'Lily is yellow' or both.," + 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.2::factB. + 0.7::factC. + %hop1 + 0.7::factX:-xor(factC,factA). + 0.6::factY:-or(factA,factB). + 0.7::factZ:-and(factB,factA). + + %hop2 + conclusion:-or(factY,factB). + + query(conclusion). + ",0.2096,0.8009601920384077,validation,we doubt,very good chance,We doubt that 'Bernhard is a rhino' or 'Lily is yellow' or both.,There is a very good chance that 'Bernhard is a rhino' or 'Lily is yellow' or both.,0,'Bernhard is a rhino' or 'Lily is yellow' or both. +We doubt that John went to the garden. It is almost certain that Julius is a frog. There is little chance that Bernhard is a swan. We doubt that if 'Julius is a frog' or 'Bernhard is a swan' or both then Lily is yellow. We believe that if either 'Bernhard is a swan' or 'John went to the garden' but not both then Fred dropped the milk. It is likely that if 'John went to the garden and Bernhard is a swan' then Mary left the football.,There is little chance that either 'Bernhard is a swan' or 'Mary left the football' but not both.," + 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.95::factB. + 0.1::factC. + %hop1 + 0.2::factX:-or(factB,factC). + 0.75::factY:-xor(factC,factA). + 0.7::factZ:-and(factA,factC). + + %hop2 + conclusion:-xor(factC,factZ). + + query(conclusion). + ",0.08600000000000002,0.8553710742148429,validation,little chance,likely,There is little chance that either 'Bernhard is a swan' or 'Mary left the football' but not both.,It is likely that either 'Bernhard is a swan' or 'Mary left the football' but not both.,1,Either 'Bernhard is a swan' or 'Mary left the football' but not both. +It is improbable that Bill went to the office. It is probably the case that Winona is a wolf. It is probable that Mary left the football. Chances are about even that if either 'Winona is a wolf' or 'Bill went to the office' but not both then Yann is tired. It is highly unlikely that if either 'Bill went to the office' or 'Winona is a wolf' but not both then Lily is white. It is probably not the case that if 'Bill went to the office' or 'Mary left the football' or both then Jason is bored.,It is probably not the case that 'Bill went to the office' or 'Jason is bored' or both.," + 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.1::factA. + 0.7::factB. + 0.7::factC. + %hop1 + 0.5::factX:-xor(factB,factA). + 0.05::factY:-xor(factA,factB). + 0.25::factZ:-or(factA,factC). + + %hop2 + conclusion:-or(factA,factZ). + + query(conclusion). + ",0.2575,0.830366073214643,validation,probably not,almost certain,It is probably not the case that 'Bill went to the office' or 'Jason is bored' or both.,It is almost certain that 'Bill went to the office' or 'Jason is bored' or both.,1,'Bill went to the office' or 'Jason is bored' or both. +It is probably not the case that Winona is a cat. There is a very good chance that Julius is white. There is a very good chance that Mary picked up the apple. It is probably not the case that if 'Mary picked up the apple and Julius is white' then Bernhard is a swan. There is little chance that if 'Winona is a cat and Mary picked up the apple' then Sandra dropped the milk. It is likely that if either 'Julius is white' or 'Mary picked up the apple' but not both then John left the apple.,It is highly unlikely that 'John left the apple and Winona is a cat'.," + 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.25::factA. + 0.8::factB. + 0.8::factC. + %hop1 + 0.25::factX:-and(factC,factB). + 0.1::factY:-and(factA,factC). + 0.7::factZ:-xor(factB,factC). + + %hop2 + conclusion:-and(factZ,factA). + + query(conclusion). + ",0.05599999999999999,0.8159631926385277,validation,highly unlikely,probable,It is highly unlikely that 'John left the apple and Winona is a cat'.,It is probable that 'John left the apple and Winona is a cat'.,1,'John left the apple and Winona is a cat'. +It is probable that Greg is green. There is almost no chance that Gertrude is a mouse. We believe that John dropped the apple. We doubt that if 'Gertrude is a mouse' or 'Greg is green' or both then Lily is a lion. It is probable that if 'Gertrude is a mouse' or 'Greg is green' or both then Yann is tired. It is unlikely that if either 'Greg is green' or 'Gertrude is a mouse' but not both then Bernhard is a swan.,It is highly likely that 'Yann is tired and Lily is a lion'.," + 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.7::factA. + 0.02::factB. + 0.75::factC. + %hop1 + 0.2::factX:-or(factB,factA). + 0.7::factY:-or(factB,factA). + 0.2::factZ:-xor(factA,factB). + + %hop2 + conclusion:-and(factY,factX). + + query(conclusion). + ",0.09883999999999998,0.8211642328465694,validation,little chance,highly likely,There is little chance that 'Yann is tired and Lily is a lion'.,It is highly likely that 'Yann is tired and Lily is a lion'.,0,'Yann is tired and Lily is a lion'. +It is highly unlikely that Greg is a frog. It is highly likely that Lily is a swan. It is unlikely that Bernhard is green. Chances are slight that if 'Greg is a frog' or 'Bernhard is green' or both then Mary went to the hallway. There is almost no chance that if 'Greg is a frog' or 'Bernhard is green' or both then John picked up the apple. It is almost certain that if 'Bernhard is green and Greg is a frog' then Daniel left the football.,We believe that either 'Lily is a swan' or 'Bernhard is green' but not both.," + 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.05::factA. + 0.9::factB. + 0.2::factC. + %hop1 + 0.1::factX:-or(factA,factC). + 0.02::factY:-or(factA,factC). + 0.95::factZ:-and(factC,factA). + + %hop2 + conclusion:-xor(factB,factC). + + query(conclusion). + ",0.74,0.871374274854971,validation,we believe,chances are slight,We believe that either 'Lily is a swan' or 'Bernhard is green' but not both.,Chances are slight that either 'Lily is a swan' or 'Bernhard is green' but not both.,1,Either 'Lily is a swan' or 'Bernhard is green' but not both. +There is little chance that Jeff put down the milk. There is a better than even chance that Greg is yellow. It is improbable that John moved to the garden. Chances are about even that if 'Jeff put down the milk' or 'John moved to the garden' or both then Julius is a swan. It is certain that if 'Greg is yellow' or 'John moved to the garden' or both then Sandra left the milk. It is impossible that if 'Jeff put down the milk and John moved to the garden' then Brian is white.,Chances are slight that either 'Brian is white' or 'Julius is a swan' but not both.," + 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.1::factA. + 0.6::factB. + 0.1::factC. + %hop1 + 0.5::factX:-or(factA,factC). + 1.0::factY:-or(factB,factC). + 0.0::factZ:-and(factA,factC). + + %hop2 + conclusion:-xor(factZ,factX). + + query(conclusion). + ",0.09500000000000001,0.844368873774755,validation,chances are slight,likely,Chances are slight that either 'Brian is white' or 'Julius is a swan' but not both.,It is likely that either 'Brian is white' or 'Julius is a swan' but not both.,1,Either 'Brian is white' or 'Julius is a swan' but not both. +It is likely that Jeff put down the milk. It is improbable that Lily is green. It is highly unlikely that Greg is a rhino. We doubt that if 'Lily is green and Jeff put down the milk' then Jessica is a wolf. It is certain that if 'Jeff put down the milk and Greg is a rhino' then Mary went to the bedroom. It is certain that if 'Greg is a rhino' or 'Jeff put down the milk' or both then Julius is a swan.,It is almost certain that 'Lily is green and Mary went to the bedroom'.," + 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.7::factA. + 0.1::factB. + 0.05::factC. + %hop1 + 0.2::factX:-and(factB,factA). + 1.0::factY:-and(factA,factC). + 1.0::factZ:-or(factC,factA). + + %hop2 + conclusion:-and(factB,factY). + + query(conclusion). + ",0.003500000000000001,0.8281656331266253,validation,impossible,almost certain,It is impossible that 'Lily is green and Mary went to the bedroom'.,It is almost certain that 'Lily is green and Mary went to the bedroom'.,0,'Lily is green and Mary went to the bedroom'. +It is highly likely that Mary dropped the milk. There is almost no chance that Julius is gray. It is almost certain that Lily is a lion. There is little chance that if either 'Mary dropped the milk' or 'Julius is gray' but not both then Sandra left the milk. There is a very good chance that if 'Mary dropped the milk' or 'Lily is a lion' or both then John moved to the office. It is improbable that if 'Mary dropped the milk and Lily is a lion' then Brian is yellow.,It is probable that 'Brian is yellow' or 'Julius is gray' or both.," + 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.9::factA. + 0.02::factB. + 0.95::factC. + %hop1 + 0.1::factX:-xor(factA,factB). + 0.8::factY:-or(factA,factC). + 0.1::factZ:-and(factA,factC). + + %hop2 + conclusion:-or(factZ,factB). + + query(conclusion). + ",0.10378999999999998,0.8543708741748349,validation,little chance,probable,There is little chance that 'Brian is yellow' or 'Julius is gray' or both.,It is probable that 'Brian is yellow' or 'Julius is gray' or both.,0,'Brian is yellow' or 'Julius is gray' or both. +It is almost certain that Julius is a lion. We believe that Mary left the football. It is certain that Sandra dropped the milk. It is probably the case that if 'Mary left the football' or 'Sandra dropped the milk' or both then Jeff moved to the garden. We doubt that if 'Sandra dropped the milk and Mary left the football' then Greg is a rhino. There is a better than even chance that if either 'Sandra dropped the milk' or 'Mary left the football' but not both then Emily is a cat.,It is highly likely that 'Mary left the football and Emily is a cat'.," + 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.95::factA. + 0.75::factB. + 1.0::factC. + %hop1 + 0.7::factX:-or(factB,factC). + 0.2::factY:-and(factC,factB). + 0.6::factZ:-xor(factC,factB). + + %hop2 + conclusion:-and(factB,factZ). + + query(conclusion). + ",0.0,0.8955791158231646,validation,impossible,highly likely,It is impossible that 'Mary left the football and Emily is a cat'.,It is highly likely that 'Mary left the football and Emily is a cat'.,0,'Mary left the football and Emily is a cat'. +It is highly likely that Lily is green. There is a very good chance that Julius is a lion. There is almost no chance that John moved to the garden. There is a better than even chance that if 'Lily is green and Julius is a lion' then Sandra dropped the milk. There is a better than even chance that if 'John moved to the garden' or 'Julius is a lion' or both then Mary discarded the milk. Chances are slight that if 'John moved to the garden' or 'Lily is green' or both then Bernhard is green.,There is almost no chance that either 'Lily is green' or 'Mary discarded the milk' but not both.," + 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.9::factA. + 0.8::factB. + 0.02::factC. + %hop1 + 0.6::factX:-and(factA,factB). + 0.6::factY:-or(factC,factB). + 0.1::factZ:-or(factC,factA). + + %hop2 + conclusion:-xor(factA,factY). + + query(conclusion). + ",0.51408,0.8025605121024205,validation,about even,almost no chance,Chances are about even that either 'Lily is green' or 'Mary discarded the milk' but not both.,There is almost no chance that either 'Lily is green' or 'Mary discarded the milk' but not both.,0,Either 'Lily is green' or 'Mary discarded the milk' but not both. +It is highly unlikely that Julius is a swan. There is little chance that Jessica is a sheep. We believe that Bernhard is green. It is improbable that if either 'Jessica is a sheep' or 'Bernhard is green' but not both then Mary put down the apple. It is likely that if either 'Jessica is a sheep' or 'Julius is a swan' but not both then Brian is white. There is almost no chance that if 'Bernhard is green' or 'Jessica is a sheep' or both then John grabbed the milk.,Chances are slight that 'Brian is white' or 'Julius is a swan' or both.," + 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.05::factA. + 0.1::factB. + 0.75::factC. + %hop1 + 0.1::factX:-xor(factB,factC). + 0.7::factY:-xor(factB,factA). + 0.02::factZ:-or(factC,factB). + + %hop2 + conclusion:-or(factY,factA). + + query(conclusion). + ",0.11650000000000002,0.8851770354070814,validation,chances are slight,certain,Chances are slight that 'Brian is white' or 'Julius is a swan' or both.,It is certain that 'Brian is white' or 'Julius is a swan' or both.,1,'Brian is white' or 'Julius is a swan' or both. +It is probable that Lily is gray. There is a very good chance that Greg is a frog. It is highly unlikely that Mary went to the office. There is a better than even chance that if either 'Mary went to the office' or 'Greg is a frog' but not both then Jeff discarded the milk. There is little chance that if either 'Lily is gray' or 'Mary went to the office' but not both then John dropped the milk. It is probably the case that if 'Mary went to the office and Lily is gray' then Brian is a swan.,It is probably not the case that either 'Greg is a frog' or 'Brian is a swan' but not both.," + 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.7::factA. + 0.8::factB. + 0.05::factC. + %hop1 + 0.6::factX:-xor(factC,factB). + 0.1::factY:-xor(factA,factC). + 0.7::factZ:-and(factC,factA). + + %hop2 + conclusion:-xor(factB,factZ). + + query(conclusion). + ",0.7853,0.8055611122224445,validation,very good chance,probably not,There is a very good chance that either 'Greg is a frog' or 'Brian is a swan' but not both.,It is probably not the case that either 'Greg is a frog' or 'Brian is a swan' but not both.,0,Either 'Greg is a frog' or 'Brian is a swan' but not both. +We doubt that Bernhard is a frog. It is probable that Greg is a rhino. Chances are slight that Fred went to the garden. It is highly unlikely that if either 'Fred went to the garden' or 'Bernhard is a frog' but not both then Jeff dropped the apple. Chances are slight that if 'Fred went to the garden' or 'Greg is a rhino' or both then John picked up the milk. It is highly likely that if either 'Fred went to the garden' or 'Greg is a rhino' but not both then Gertrude is a mouse.,It is impossible that 'John picked up the milk and Jeff dropped the apple'.," + 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.7::factB. + 0.1::factC. + %hop1 + 0.05::factX:-xor(factC,factA). + 0.1::factY:-or(factC,factB). + 0.9::factZ:-xor(factC,factB). + + %hop2 + conclusion:-and(factY,factX). + + query(conclusion). + ",0.0010300000000000008,0.8897779555911183,validation,impossible,very good chance,It is impossible that 'John picked up the milk and Jeff dropped the apple'.,There is a very good chance that 'John picked up the milk and Jeff dropped the apple'.,1,'John picked up the milk and Jeff dropped the apple'. +There is a very good chance that Mary went to the hallway. It is highly unlikely that Gertrude is a sheep. It is probably the case that Julius is gray. It is certain that if 'Julius is gray' or 'Gertrude is a sheep' or both then Bernhard is yellow. It is likely that if 'Gertrude is a sheep' or 'Julius is gray' or both then Sandra got the milk. There is a better than even chance that if 'Gertrude is a sheep and Julius is gray' then John moved to the office.,It is highly unlikely that 'Gertrude is a sheep' or 'John moved to the office' or both.," + 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.8::factA. + 0.05::factB. + 0.7::factC. + %hop1 + 1.0::factX:-or(factC,factB). + 0.7::factY:-or(factB,factC). + 0.6::factZ:-and(factB,factC). + + %hop2 + conclusion:-or(factB,factZ). + + query(conclusion). + ",0.05000000000000001,0.8271654330866173,validation,highly unlikely,probable,It is highly unlikely that 'Gertrude is a sheep' or 'John moved to the office' or both.,It is probable that 'Gertrude is a sheep' or 'John moved to the office' or both.,1,'Gertrude is a sheep' or 'John moved to the office' or both. +It is impossible that Greg is yellow. It is probably the case that Julius is a rhino. There is almost no chance that John went to the garden. It is unlikely that if 'Greg is yellow' or 'Julius is a rhino' or both then Mary picked up the milk. It is impossible that if 'John went to the garden and Julius is a rhino' then Lily is a lion. We doubt that if either 'Greg is yellow' or 'John went to the garden' but not both then Bernhard is green.,Chances are slight that 'Mary picked up the milk and Julius is a rhino'.," + 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.7::factB. + 0.02::factC. + %hop1 + 0.2::factX:-or(factA,factB). + 0.0::factY:-and(factC,factB). + 0.2::factZ:-xor(factA,factC). + + %hop2 + conclusion:-and(factX,factB). + + query(conclusion). + ",0.14,0.8377675535107021,validation,chances are slight,certain,Chances are slight that 'Mary picked up the milk and Julius is a rhino'.,It is certain that 'Mary picked up the milk and Julius is a rhino'.,1,'Mary picked up the milk and Julius is a rhino'. +There is almost no chance that Julius is yellow. There is little chance that Lily is a frog. It is probable that John got the apple. It is highly unlikely that if either 'Julius is yellow' or 'Lily is a frog' but not both then Brian is green. Chances are slight that if 'John got the apple and Julius is yellow' then Bernhard is a swan. It is almost certain that if 'Lily is a frog' or 'John got the apple' or both then Sandra left the milk.,It is impossible that 'Bernhard is a swan' or 'Sandra left the milk' or both.," + 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.1::factB. + 0.7::factC. + %hop1 + 0.05::factX:-xor(factA,factB). + 0.1::factY:-and(factC,factA). + 0.95::factZ:-or(factB,factC). + + %hop2 + conclusion:-or(factY,factZ). + + query(conclusion). + ",0.6935699999999999,0.8857771554310863,validation,probable,impossible,It is probable that 'Bernhard is a swan' or 'Sandra left the milk' or both.,It is impossible that 'Bernhard is a swan' or 'Sandra left the milk' or both.,0,'Bernhard is a swan' or 'Sandra left the milk' or both. +We doubt that Gertrude is a cat. It is improbable that Julius is a swan. It is unlikely that Fred went to the garden. It is probably the case that if 'Julius is a swan' or 'Gertrude is a cat' or both then Lily is yellow. There is a better than even chance that if 'Julius is a swan and Gertrude is a cat' then Bernhard is gray. It is unlikely that if either 'Julius is a swan' or 'Fred went to the garden' but not both then Brian is green.,It is probably not the case that either 'Gertrude is a cat' or 'Fred went to the garden' but not both.," + 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.1::factB. + 0.2::factC. + %hop1 + 0.7::factX:-or(factB,factA). + 0.6::factY:-and(factB,factA). + 0.2::factZ:-xor(factB,factC). + + %hop2 + conclusion:-xor(factA,factC). + + query(conclusion). + ",0.32,0.8537707541508301,validation,probably not,certain,It is probably not the case that either 'Gertrude is a cat' or 'Fred went to the garden' but not both.,It is certain that either 'Gertrude is a cat' or 'Fred went to the garden' but not both.,1,Either 'Gertrude is a cat' or 'Fred went to the garden' but not both. +There is almost no chance that Winona is a sheep. It is highly likely that Emily is a wolf. There is little chance that Mary took the milk. It is probably the case that if either 'Winona is a sheep' or 'Emily is a wolf' but not both then John went to the garden. We doubt that if 'Winona is a sheep' or 'Mary took the milk' or both then Jeff dropped the apple. It is highly unlikely that if 'Mary took the milk and Winona is a sheep' then Julius is white.,It is impossible that 'Emily is a wolf and Julius is white'.," + 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.9::factB. + 0.1::factC. + %hop1 + 0.7::factX:-xor(factA,factB). + 0.2::factY:-or(factA,factC). + 0.05::factZ:-and(factC,factA). + + %hop2 + conclusion:-and(factB,factZ). + + query(conclusion). + ",9.000000000000003e-05,0.8017603520704141,validation,impossible,likely,It is impossible that 'Emily is a wolf and Julius is white'.,It is likely that 'Emily is a wolf and Julius is white'.,1,'Emily is a wolf and Julius is white'. +We believe that Julius is a rhino. There is little chance that Greg is a swan. We believe that John discarded the apple. It is probable that if either 'John discarded the apple' or 'Julius is a rhino' but not both then Bernhard is green. It is probably not the case that if either 'Julius is a rhino' or 'Greg is a swan' but not both then Mary went to the garden. It is almost certain that if either 'Julius is a rhino' or 'Greg is a swan' but not both then Sandra took the milk.,It is highly unlikely that either 'Greg is a swan' or 'John discarded the apple' but not both.," + 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.75::factA. + 0.1::factB. + 0.75::factC. + %hop1 + 0.7::factX:-xor(factC,factA). + 0.25::factY:-xor(factA,factB). + 0.95::factZ:-xor(factA,factB). + + %hop2 + conclusion:-xor(factB,factC). + + query(conclusion). + ",0.7,0.8769753950790158,validation,likely,highly unlikely,It is likely that either 'Greg is a swan' or 'John discarded the apple' but not both.,It is highly unlikely that either 'Greg is a swan' or 'John discarded the apple' but not both.,0,Either 'Greg is a swan' or 'John discarded the apple' but not both. +It is probably the case that Brian is green. It is impossible that Fred is in the school. It is highly unlikely that Bernhard is white. It is impossible that if either 'Fred is in the school' or 'Bernhard is white' but not both then Greg is a frog. It is highly unlikely that if 'Brian is green' or 'Fred is in the school' or both then Jeff went to the garden. There is a better than even chance that if either 'Brian is green' or 'Fred is in the school' but not both then John moved to the office.,It is highly unlikely that either 'Bernhard is white' or 'Fred is in the school' but not both.," + 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.7::factA. + 0.0::factB. + 0.05::factC. + %hop1 + 0.0::factX:-xor(factB,factC). + 0.05::factY:-or(factA,factB). + 0.6::factZ:-xor(factA,factB). + + %hop2 + conclusion:-xor(factC,factB). + + query(conclusion). + ",0.05000000000000001,0.8479695939187838,validation,highly unlikely,we believe,It is highly unlikely that either 'Bernhard is white' or 'Fred is in the school' but not both.,We believe that either 'Bernhard is white' or 'Fred is in the school' but not both.,1,Either 'Bernhard is white' or 'Fred is in the school' but not both. +It is unlikely that Greg is a rhino. It is certain that Jessica is a sheep. There is almost no chance that Mary went to the office. It is probably not the case that if 'Mary went to the office and Jessica is a sheep' then Brian is a swan. We believe that if 'Mary went to the office' or 'Greg is a rhino' or both then John dropped the apple. It is probable that if 'Greg is a rhino and Jessica is a sheep' then Julius is gray.,It is improbable that 'Jessica is a sheep' or 'Greg is a rhino' or both.," + 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. + 1.0::factB. + 0.02::factC. + %hop1 + 0.25::factX:-and(factC,factB). + 0.75::factY:-or(factC,factA). + 0.7::factZ:-and(factA,factB). + + %hop2 + conclusion:-or(factB,factA). + + query(conclusion). + ",1.0,0.8767753550710142,validation,certain,improbable,It is certain that 'Jessica is a sheep' or 'Greg is a rhino' or both.,It is improbable that 'Jessica is a sheep' or 'Greg is a rhino' or both.,0,'Jessica is a sheep' or 'Greg is a rhino' or both. +We doubt that Julius is a swan. It is highly likely that Gertrude is a sheep. It is certain that Bernhard is white. We believe that if either 'Bernhard is white' or 'Julius is a swan' but not both then Greg is white. We doubt that if 'Gertrude is a sheep' or 'Bernhard is white' or both then Sandra dropped the milk. It is likely that if 'Bernhard is white and Julius is a swan' then John got the apple.,It is impossible that 'Greg is white and Bernhard is white'.," + 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.9::factB. + 1.0::factC. + %hop1 + 0.75::factX:-xor(factC,factA). + 0.2::factY:-or(factB,factC). + 0.7::factZ:-and(factC,factA). + + %hop2 + conclusion:-and(factX,factC). + + query(conclusion). + ",0.6,0.8121624324864973,validation,better than even,impossible,There is a better than even chance that 'Greg is white and Bernhard is white'.,It is impossible that 'Greg is white and Bernhard is white'.,0,'Greg is white and Bernhard is white'. +It is unlikely that Antoine is hungry. It is highly unlikely that John went to the hallway. It is probably not the case that Lily is yellow. It is impossible that if 'Antoine is hungry and John went to the hallway' then Winona is a sheep. Chances are slight that if 'John went to the hallway and Lily is yellow' then Jeff discarded the milk. It is probable that if 'Antoine is hungry' or 'John went to the hallway' or both then Julius is white.,It is almost certain that 'Julius is white and Jeff discarded the milk'.," + 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.05::factB. + 0.25::factC. + %hop1 + 0.0::factX:-and(factA,factB). + 0.1::factY:-and(factB,factC). + 0.7::factZ:-or(factA,factB). + + %hop2 + conclusion:-and(factZ,factY). + + query(conclusion). + ",0.0008750000000000001,0.8777755551110222,validation,impossible,almost certain,It is impossible that 'Julius is white and Jeff discarded the milk'.,It is almost certain that 'Julius is white and Jeff discarded the milk'.,0,'Julius is white and Jeff discarded the milk'. +It is certain that Bernhard is a swan. It is highly likely that Bill moved to the office. It is almost certain that Brian is yellow. There is a better than even chance that if 'Brian is yellow and Bernhard is a swan' then Daniel took the football. It is almost certain that if 'Brian is yellow and Bill moved to the office' then Mary dropped the milk. It is unlikely that if 'Brian is yellow' or 'Bill moved to the office' or both then John went to the bedroom.,It is highly unlikely that 'Brian is yellow and Bill moved to the office'.," + 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 + 1.0::factA. + 0.9::factB. + 0.95::factC. + %hop1 + 0.6::factX:-and(factC,factA). + 0.95::factY:-and(factC,factB). + 0.2::factZ:-or(factC,factB). + + %hop2 + conclusion:-and(factC,factB). + + query(conclusion). + ",0.855,0.8495699139827966,validation,highly likely,highly unlikely,It is highly likely that 'Brian is yellow and Bill moved to the office'.,It is highly unlikely that 'Brian is yellow and Bill moved to the office'.,0,'Brian is yellow and Bill moved to the office'. +There is little chance that John discarded the apple. We doubt that Bernhard is a lion. There is almost no chance that Brian is a rhino. It is highly unlikely that if 'Brian is a rhino and John discarded the apple' then Daniel got the milk. It is highly likely that if 'John discarded the apple' or 'Bernhard is a lion' or both then Jason is tired. It is impossible that if 'Brian is a rhino' or 'John discarded the apple' or both then Lily is a rhino.,It is impossible that 'John discarded the apple and Daniel got the milk'.," + 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.1::factA. + 0.2::factB. + 0.02::factC. + %hop1 + 0.05::factX:-and(factC,factA). + 0.9::factY:-or(factA,factB). + 0.0::factZ:-or(factC,factA). + + %hop2 + conclusion:-and(factA,factX). + + query(conclusion). + ",0.00010000000000000009,0.8325665133026605,validation,impossible,we believe,It is impossible that 'John discarded the apple and Daniel got the milk'.,We believe that 'John discarded the apple and Daniel got the milk'.,1,'John discarded the apple and Daniel got the milk'. +There is a very good chance that Mary went to the bedroom. It is probable that Lily is a swan. It is almost certain that John picked up the apple. It is improbable that if either 'John picked up the apple' or 'Lily is a swan' but not both then Fred is in the school. There is little chance that if either 'John picked up the apple' or 'Mary went to the bedroom' but not both then Winona is a mouse. There is little chance that if 'Mary went to the bedroom and John picked up the apple' then Bernhard is green.,It is probably not the case that either 'John picked up the apple' or 'Mary went to the bedroom' but not both.," + 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.8::factA. + 0.7::factB. + 0.95::factC. + %hop1 + 0.1::factX:-xor(factC,factB). + 0.1::factY:-xor(factC,factA). + 0.1::factZ:-and(factA,factC). + + %hop2 + conclusion:-xor(factC,factA). + + query(conclusion). + ",0.23,0.8719743948789758,validation,probably not,highly likely,It is probably not the case that either 'John picked up the apple' or 'Mary went to the bedroom' but not both.,It is highly likely that either 'John picked up the apple' or 'Mary went to the bedroom' but not both.,1,Either 'John picked up the apple' or 'Mary went to the bedroom' but not both. +We believe that Julius is gray. It is improbable that Bill went to the garden. Chances are about even that Mary got the football. Chances are about even that if 'Mary got the football and Bill went to the garden' then Greg is a lion. It is probably the case that if 'Mary got the football and Bill went to the garden' then Gertrude is a sheep. It is almost certain that if 'Bill went to the garden' or 'Julius is gray' or both then Brian is green.,It is highly unlikely that either 'Greg is a lion' or 'Bill went to the garden' but not both.," + 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.75::factA. + 0.1::factB. + 0.5::factC. + %hop1 + 0.5::factX:-and(factC,factB). + 0.7::factY:-and(factC,factB). + 0.95::factZ:-or(factB,factA). + + %hop2 + conclusion:-xor(factX,factB). + + query(conclusion). + ",0.075,0.8273654730946189,validation,highly unlikely,likely,It is highly unlikely that either 'Greg is a lion' or 'Bill went to the garden' but not both.,It is likely that either 'Greg is a lion' or 'Bill went to the garden' but not both.,1,Either 'Greg is a lion' or 'Bill went to the garden' but not both. +It is improbable that Antoine is bored. It is highly likely that Greg is a frog. There is a better than even chance that Sandra took the milk. There is a very good chance that if 'Greg is a frog and Sandra took the milk' then Julius is white. It is likely that if 'Antoine is bored and Sandra took the milk' then John went to the bedroom. Chances are about even that if 'Antoine is bored and Greg is a frog' then Mary left the football.,There is a better than even chance that either 'Mary left the football' or 'Sandra took the milk' but not both.," + 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.1::factA. + 0.9::factB. + 0.6::factC. + %hop1 + 0.8::factX:-and(factB,factC). + 0.7::factY:-and(factA,factC). + 0.5::factZ:-and(factA,factB). + + %hop2 + conclusion:-xor(factZ,factC). + + query(conclusion). + ",0.591,0.8043608721744349,validation,better than even,chances are slight,There is a better than even chance that either 'Mary left the football' or 'Sandra took the milk' but not both.,Chances are slight that either 'Mary left the football' or 'Sandra took the milk' but not both.,1,Either 'Mary left the football' or 'Sandra took the milk' but not both. +Chances are about even that Jessica is a mouse. It is certain that Lily is a frog. It is improbable that John went to the kitchen. It is impossible that if 'John went to the kitchen and Lily is a frog' then Bernhard is green. It is probably the case that if 'Jessica is a mouse and John went to the kitchen' then Greg is gray. There is almost no chance that if 'Jessica is a mouse and Lily is a frog' then Sandra left the milk.,It is certain that 'Jessica is a mouse and Lily is a frog'.," + 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. + 1.0::factB. + 0.1::factC. + %hop1 + 0.0::factX:-and(factC,factB). + 0.7::factY:-and(factA,factC). + 0.02::factZ:-and(factA,factB). + + %hop2 + conclusion:-and(factA,factB). + + query(conclusion). + ",0.5,0.8233646729345869,validation,about even,certain,Chances are about even that 'Jessica is a mouse and Lily is a frog'.,It is certain that 'Jessica is a mouse and Lily is a frog'.,0,'Jessica is a mouse and Lily is a frog'. +It is impossible that Julius is gray. Chances are about even that Lily is a lion. It is probable that Daniel dropped the apple. We believe that if either 'Lily is a lion' or 'Daniel dropped the apple' but not both then Antoine is thirsty. Chances are slight that if 'Lily is a lion and Julius is gray' then Winona is a mouse. It is probable that if 'Lily is a lion' or 'Julius is gray' or both then John went to the bedroom.,It is probably not the case that either 'John went to the bedroom' or 'Winona is a mouse' but not both.," + 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.5::factB. + 0.7::factC. + %hop1 + 0.75::factX:-xor(factB,factC). + 0.1::factY:-and(factB,factA). + 0.7::factZ:-or(factB,factA). + + %hop2 + conclusion:-xor(factZ,factY). + + query(conclusion). + ",0.3499999999999999,0.8071614322864573,validation,probably not,probable,It is probably not the case that either 'John went to the bedroom' or 'Winona is a mouse' but not both.,It is probable that either 'John went to the bedroom' or 'Winona is a mouse' but not both.,1,Either 'John went to the bedroom' or 'Winona is a mouse' but not both. +It is impossible that Gertrude is a mouse. There is a better than even chance that John put down the apple. There is almost no chance that Julius is green. There is a better than even chance that if 'Julius is green and John put down the apple' then Greg is a frog. Chances are slight that if either 'Gertrude is a mouse' or 'Julius is green' but not both then Mary dropped the milk. We doubt that if 'Julius is green and Gertrude is a mouse' then Jason is bored.,It is probable that 'Mary dropped the milk and Jason is bored'.," + 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.6::factB. + 0.02::factC. + %hop1 + 0.6::factX:-and(factC,factB). + 0.1::factY:-xor(factA,factC). + 0.2::factZ:-and(factC,factA). + + %hop2 + conclusion:-and(factY,factZ). + + query(conclusion). + ",0.0,0.877375475095019,validation,impossible,probable,It is impossible that 'Mary dropped the milk and Jason is bored'.,It is probable that 'Mary dropped the milk and Jason is bored'.,0,'Mary dropped the milk and Jason is bored'. +There is a better than even chance that John left the football. It is probably the case that Mary moved to the office. It is probably the case that Daniel dropped the apple. There is a better than even chance that if either 'John left the football' or 'Daniel dropped the apple' but not both then Bernhard is yellow. There is a very good chance that if 'John left the football' or 'Mary moved to the office' or both then Lily is green. It is probably not the case that if 'Mary moved to the office' or 'Daniel dropped the apple' or both then Julius is a swan.,There is a very good chance that 'Lily is green' or 'Mary moved to the office' or both.," + 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.6::factA. + 0.7::factB. + 0.7::factC. + %hop1 + 0.6::factX:-xor(factA,factC). + 0.8::factY:-or(factA,factB). + 0.25::factZ:-or(factB,factC). + + %hop2 + conclusion:-or(factY,factB). + + query(conclusion). + ",0.844,0.837367473494699,validation,very good chance,unlikely,There is a very good chance that 'Lily is green' or 'Mary moved to the office' or both.,It is unlikely that 'Lily is green' or 'Mary moved to the office' or both.,1,'Lily is green' or 'Mary moved to the office' or both. +Chances are about even that Emily is a mouse. It is probable that Sandra left the apple. We believe that Bill moved to the office. It is unlikely that if 'Emily is a mouse' or 'Bill moved to the office' or both then Julius is a lion. It is probably not the case that if either 'Bill moved to the office' or 'Sandra left the apple' but not both then Greg is yellow. It is unlikely that if either 'Emily is a mouse' or 'Bill moved to the office' but not both then Bernhard is gray.,It is impossible that either 'Bernhard is gray' or 'Emily is a mouse' but not both.," + 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.7::factB. + 0.75::factC. + %hop1 + 0.2::factX:-or(factA,factC). + 0.25::factY:-xor(factC,factB). + 0.2::factZ:-xor(factA,factC). + + %hop2 + conclusion:-xor(factZ,factA). + + query(conclusion). + ",0.55,0.8999799959991999,validation,better than even,impossible,There is a better than even chance that either 'Bernhard is gray' or 'Emily is a mouse' but not both.,It is impossible that either 'Bernhard is gray' or 'Emily is a mouse' but not both.,0,Either 'Bernhard is gray' or 'Emily is a mouse' but not both. +It is certain that Greg is a swan. Chances are slight that Mary took the milk. It is certain that Jason is bored. It is probable that if 'Greg is a swan' or 'Jason is bored' or both then Bernhard is a swan. It is impossible that if either 'Mary took the milk' or 'Greg is a swan' but not both then Sandra dropped the milk. There is little chance that if 'Mary took the milk and Jason is bored' then Julius is a frog.,Chances are slight that 'Julius is a frog' or 'Greg is a swan' or both.," + 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 + 1.0::factA. + 0.1::factB. + 1.0::factC. + %hop1 + 0.7::factX:-or(factA,factC). + 0.0::factY:-xor(factB,factA). + 0.1::factZ:-and(factB,factC). + + %hop2 + conclusion:-or(factZ,factA). + + query(conclusion). + ",1.0,0.8629725945189037,validation,certain,chances are slight,It is certain that 'Julius is a frog' or 'Greg is a swan' or both.,Chances are slight that 'Julius is a frog' or 'Greg is a swan' or both.,0,'Julius is a frog' or 'Greg is a swan' or both. +We doubt that Sandra took the football. Chances are slight that Bernhard is yellow. There is a better than even chance that Greg is a swan. There is almost no chance that if either 'Greg is a swan' or 'Sandra took the football' but not both then Gertrude is a wolf. There is a better than even chance that if 'Sandra took the football' or 'Greg is a swan' or both then John picked up the apple. It is probably not the case that if either 'Sandra took the football' or 'Bernhard is yellow' but not both then Brian is green.,There is a better than even chance that either 'Gertrude is a wolf' or 'Greg is a swan' but not both.," + 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.1::factB. + 0.6::factC. + %hop1 + 0.02::factX:-xor(factC,factA). + 0.6::factY:-or(factA,factC). + 0.25::factZ:-xor(factA,factB). + + %hop2 + conclusion:-xor(factX,factC). + + query(conclusion). + ",0.5920000000000001,0.8275655131026205,validation,better than even,highly unlikely,There is a better than even chance that either 'Gertrude is a wolf' or 'Greg is a swan' but not both.,It is highly unlikely that either 'Gertrude is a wolf' or 'Greg is a swan' but not both.,1,Either 'Gertrude is a wolf' or 'Greg is a swan' but not both. +It is probably not the case that Daniel dropped the apple. It is probably not the case that Julius is a lion. It is unlikely that John put down the apple. It is probable that if 'Julius is a lion and John put down the apple' then Mary went to the garden. It is certain that if either 'John put down the apple' or 'Daniel dropped the apple' but not both then Greg is a swan. It is unlikely that if either 'John put down the apple' or 'Daniel dropped the apple' but not both then Antoine is hungry.,There is a very good chance that 'Mary went to the garden' or 'Daniel dropped the apple' or both.," + 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.25::factA. + 0.25::factB. + 0.2::factC. + %hop1 + 0.7::factX:-and(factB,factC). + 1.0::factY:-xor(factC,factA). + 0.2::factZ:-xor(factC,factA). + + %hop2 + conclusion:-or(factX,factA). + + query(conclusion). + ",0.27625000000000005,0.8249649929985997,validation,probably not,very good chance,It is probably not the case that 'Mary went to the garden' or 'Daniel dropped the apple' or both.,There is a very good chance that 'Mary went to the garden' or 'Daniel dropped the apple' or both.,0,'Mary went to the garden' or 'Daniel dropped the apple' or both. +Chances are about even that Bill went to the office. We doubt that Gertrude is a mouse. There is almost no chance that Greg is a swan. Chances are about even that if 'Greg is a swan and Gertrude is a mouse' then Brian is a frog. It is almost certain that if 'Bill went to the office' or 'Gertrude is a mouse' or both then Jeff left the apple. It is probable that if 'Gertrude is a mouse and Bill went to the office' then Lily is yellow.,Chances are about even that either 'Lily is yellow' or 'Brian is a frog' but not both.," + 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.2::factB. + 0.02::factC. + %hop1 + 0.5::factX:-and(factC,factB). + 0.95::factY:-or(factA,factB). + 0.7::factZ:-and(factB,factA). + + %hop2 + conclusion:-xor(factZ,factX). + + query(conclusion). + ",0.0706,0.8515703140628126,validation,highly unlikely,about even,It is highly unlikely that either 'Lily is yellow' or 'Brian is a frog' but not both.,Chances are about even that either 'Lily is yellow' or 'Brian is a frog' but not both.,0,Either 'Lily is yellow' or 'Brian is a frog' but not both. +It is likely that Jeff went to the hallway. There is almost no chance that Gertrude is a mouse. It is probable that Mary left the milk. It is highly unlikely that if 'Jeff went to the hallway' or 'Gertrude is a mouse' or both then Winona is a sheep. There is little chance that if 'Mary left the milk and Jeff went to the hallway' then Bernhard is gray. Chances are slight that if either 'Jeff went to the hallway' or 'Gertrude is a mouse' but not both then Lily is white.,It is probably the case that either 'Mary left the milk' or 'Winona is a sheep' but not both.," + 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.7::factA. + 0.02::factB. + 0.7::factC. + %hop1 + 0.05::factX:-or(factA,factB). + 0.1::factY:-and(factC,factA). + 0.1::factZ:-xor(factA,factB). + + %hop2 + conclusion:-xor(factC,factX). + + query(conclusion). + ",0.6858799999999999,0.8177635527105421,validation,probably,little chance,It is probably the case that either 'Mary left the milk' or 'Winona is a sheep' but not both.,There is little chance that either 'Mary left the milk' or 'Winona is a sheep' but not both.,1,Either 'Mary left the milk' or 'Winona is a sheep' but not both. +There is a better than even chance that Julius is a rhino. It is likely that John moved to the office. It is certain that Mary went to the kitchen. There is a very good chance that if either 'Mary went to the kitchen' or 'John moved to the office' but not both then Lily is green. It is certain that if either 'John moved to the office' or 'Julius is a rhino' but not both then Brian is white. It is highly unlikely that if either 'John moved to the office' or 'Mary went to the kitchen' but not both then Bernhard is yellow.,Chances are about even that either 'Mary went to the kitchen' or 'Brian is white' but not both.," + 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.6::factA. + 0.7::factB. + 1.0::factC. + %hop1 + 0.8::factX:-xor(factC,factB). + 1.0::factY:-xor(factB,factA). + 0.05::factZ:-xor(factB,factC). + + %hop2 + conclusion:-xor(factC,factY). + + query(conclusion). + ",0.5399999999999999,0.8215643128625725,validation,about even,certain,Chances are about even that either 'Mary went to the kitchen' or 'Brian is white' but not both.,It is certain that either 'Mary went to the kitchen' or 'Brian is white' but not both.,1,Either 'Mary went to the kitchen' or 'Brian is white' but not both. +It is almost certain that Julius is white. There is almost no chance that Mary left the football. It is probable that Lily is gray. It is highly unlikely that if 'Mary left the football' or 'Julius is white' or both then John went to the office. We believe that if 'Julius is white and Lily is gray' then Brian is a rhino. It is almost certain that if either 'Julius is white' or 'Mary left the football' but not both then Gertrude is a cat.,It is almost certain that 'Brian is a rhino' or 'Mary left the football' or both.," + 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.95::factA. + 0.02::factB. + 0.7::factC. + %hop1 + 0.05::factX:-or(factB,factA). + 0.75::factY:-and(factA,factC). + 0.95::factZ:-xor(factA,factB). + + %hop2 + conclusion:-or(factY,factB). + + query(conclusion). + ",0.508775,0.8381676335267053,validation,about even,almost certain,Chances are about even that 'Brian is a rhino' or 'Mary left the football' or both.,It is almost certain that 'Brian is a rhino' or 'Mary left the football' or both.,0,'Brian is a rhino' or 'Mary left the football' or both. +Chances are slight that John put down the apple. We doubt that Lily is yellow. Chances are slight that Bernhard is a frog. It is certain that if 'John put down the apple and Lily is yellow' then Greg is a rhino. We doubt that if 'Lily is yellow' or 'Bernhard is a frog' or both then Brian is white. We believe that if either 'Bernhard is a frog' or 'John put down the apple' but not both then Mary went to the office.,It is probably the case that 'Brian is white' or 'Bernhard is a frog' or both.," + 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.1::factA. + 0.2::factB. + 0.1::factC. + %hop1 + 1.0::factX:-and(factA,factB). + 0.2::factY:-or(factB,factC). + 0.75::factZ:-xor(factC,factA). + + %hop2 + conclusion:-or(factY,factC). + + query(conclusion). + ",0.136,0.8937787557511502,validation,improbable,probably,It is improbable that 'Brian is white' or 'Bernhard is a frog' or both.,It is probably the case that 'Brian is white' or 'Bernhard is a frog' or both.,0,'Brian is white' or 'Bernhard is a frog' or both. +There is a better than even chance that Bernhard is a rhino. Chances are slight that Sumit is bored. It is probably the case that Julius is a lion. It is probably the case that if either 'Bernhard is a rhino' or 'Sumit is bored' but not both then Gertrude is a mouse. It is probable that if either 'Bernhard is a rhino' or 'Sumit is bored' but not both then Greg is a swan. Chances are slight that if 'Sumit is bored and Bernhard is a rhino' then Mary took the football.,We believe that 'Greg is a swan and Julius is a lion'.," + 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.6::factA. + 0.1::factB. + 0.7::factC. + %hop1 + 0.7::factX:-xor(factA,factB). + 0.7::factY:-xor(factA,factB). + 0.1::factZ:-and(factB,factA). + + %hop2 + conclusion:-and(factY,factC). + + query(conclusion). + ",0.2841999999999999,0.8835767153430686,validation,probably not,we believe,It is probably not the case that 'Greg is a swan and Julius is a lion'.,We believe that 'Greg is a swan and Julius is a lion'.,0,'Greg is a swan and Julius is a lion'. +It is probably the case that Lily is green. It is highly likely that Julius is green. It is likely that Daniel dropped the milk. There is little chance that if 'Julius is green' or 'Daniel dropped the milk' or both then Greg is a rhino. It is certain that if 'Lily is green' or 'Julius is green' or both then Mary left the milk. It is highly unlikely that if either 'Daniel dropped the milk' or 'Julius is green' but not both then Emily is a mouse.,It is almost certain that 'Julius is green' or 'Daniel dropped the milk' or both.," + 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.7::factA. + 0.9::factB. + 0.7::factC. + %hop1 + 0.1::factX:-or(factB,factC). + 1.0::factY:-or(factA,factB). + 0.05::factZ:-xor(factC,factB). + + %hop2 + conclusion:-or(factB,factC). + + query(conclusion). + ",0.97,0.8203640728145629,validation,almost certain,we doubt,It is almost certain that 'Julius is green' or 'Daniel dropped the milk' or both.,We doubt that 'Julius is green' or 'Daniel dropped the milk' or both.,1,'Julius is green' or 'Daniel dropped the milk' or both. +It is certain that Sandra grabbed the milk. It is likely that Lily is yellow. It is improbable that Greg is a swan. It is certain that if 'Sandra grabbed the milk' or 'Lily is yellow' or both then Jessica is a mouse. It is probably the case that if 'Lily is yellow and Sandra grabbed the milk' then Bernhard is gray. There is a better than even chance that if 'Lily is yellow' or 'Greg is a swan' or both then John moved to the office.,It is impossible that either 'Sandra grabbed the milk' or 'Jessica is a mouse' but not both.," + 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 + 1.0::factA. + 0.7::factB. + 0.1::factC. + %hop1 + 1.0::factX:-or(factA,factB). + 0.7::factY:-and(factB,factA). + 0.6::factZ:-or(factB,factC). + + %hop2 + conclusion:-xor(factA,factX). + + query(conclusion). + ",0.0,0.8521704340868174,validation,impossible,about even,It is impossible that either 'Sandra grabbed the milk' or 'Jessica is a mouse' but not both.,Chances are about even that either 'Sandra grabbed the milk' or 'Jessica is a mouse' but not both.,1,Either 'Sandra grabbed the milk' or 'Jessica is a mouse' but not both. +We believe that Julius is a lion. We doubt that Gertrude is a cat. It is unlikely that Bernhard is a rhino. It is unlikely that if 'Gertrude is a cat' or 'Bernhard is a rhino' or both then Greg is a swan. It is almost certain that if 'Julius is a lion and Bernhard is a rhino' then Lily is yellow. It is almost certain that if 'Gertrude is a cat' or 'Bernhard is a rhino' or both then John picked up the milk.,There is a better than even chance that 'Julius is a lion and Lily is yellow'.," + 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.75::factA. + 0.2::factB. + 0.2::factC. + %hop1 + 0.2::factX:-or(factB,factC). + 0.95::factY:-and(factA,factC). + 0.95::factZ:-or(factB,factC). + + %hop2 + conclusion:-and(factA,factY). + + query(conclusion). + ",0.1425,0.8111622324464893,validation,chances are slight,better than even,Chances are slight that 'Julius is a lion and Lily is yellow'.,There is a better than even chance that 'Julius is a lion and Lily is yellow'.,0,'Julius is a lion and Lily is yellow'. +It is almost certain that Jeff went to the bedroom. It is impossible that Lily is a swan. It is highly likely that Jason is tired. Chances are about even that if 'Jeff went to the bedroom and Jason is tired' then Antoine is bored. It is impossible that if either 'Jeff went to the bedroom' or 'Jason is tired' but not both then Brian is a lion. Chances are about even that if either 'Lily is a swan' or 'Jason is tired' but not both then Daniel grabbed the milk.,Chances are about even that 'Daniel grabbed the milk' or 'Brian is a lion' or both.," + 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.95::factA. + 0.0::factB. + 0.9::factC. + %hop1 + 0.5::factX:-and(factA,factC). + 0.0::factY:-xor(factA,factC). + 0.5::factZ:-xor(factB,factC). + + %hop2 + conclusion:-or(factZ,factY). + + query(conclusion). + ",0.45000000000000007,0.8357671534306862,validation,about even,almost no chance,Chances are about even that 'Daniel grabbed the milk' or 'Brian is a lion' or both.,There is almost no chance that 'Daniel grabbed the milk' or 'Brian is a lion' or both.,1,'Daniel grabbed the milk' or 'Brian is a lion' or both. +It is probably not the case that Mary went to the hallway. It is highly unlikely that John took the football. It is likely that Greg is a rhino. There is a very good chance that if 'John took the football' or 'Greg is a rhino' or both then Bernhard is yellow. Chances are about even that if 'Mary went to the hallway and John took the football' then Julius is a frog. There is a very good chance that if either 'John took the football' or 'Greg is a rhino' but not both then Sandra dropped the milk.,It is highly unlikely that 'Bernhard is yellow' or 'Sandra dropped the milk' or both.," + 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.25::factA. + 0.05::factB. + 0.7::factC. + %hop1 + 0.8::factX:-or(factB,factC). + 0.5::factY:-and(factA,factB). + 0.8::factZ:-xor(factB,factC). + + %hop2 + conclusion:-or(factX,factZ). + + query(conclusion). + ",0.6808,0.8117623524704941,validation,probably,highly unlikely,It is probably the case that 'Bernhard is yellow' or 'Sandra dropped the milk' or both.,It is highly unlikely that 'Bernhard is yellow' or 'Sandra dropped the milk' or both.,0,'Bernhard is yellow' or 'Sandra dropped the milk' or both. +There is a very good chance that Julius is a frog. There is a very good chance that Greg is a swan. It is almost certain that Mary put down the apple. It is impossible that if either 'Greg is a swan' or 'Mary put down the apple' but not both then Brian is a lion. It is highly unlikely that if either 'Julius is a frog' or 'Greg is a swan' but not both then Sandra took the milk. It is impossible that if either 'Julius is a frog' or 'Mary put down the apple' but not both then Bernhard is a rhino.,It is unlikely that 'Greg is a swan' or 'Sandra took the milk' or both.," + 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.8::factA. + 0.8::factB. + 0.95::factC. + %hop1 + 0.0::factX:-xor(factB,factC). + 0.05::factY:-xor(factA,factB). + 0.0::factZ:-xor(factA,factC). + + %hop2 + conclusion:-or(factB,factY). + + query(conclusion). + ",0.808,0.8631726345269054,validation,very good chance,unlikely,There is a very good chance that 'Greg is a swan' or 'Sandra took the milk' or both.,It is unlikely that 'Greg is a swan' or 'Sandra took the milk' or both.,0,'Greg is a swan' or 'Sandra took the milk' or both. +There is a very good chance that Julius is a rhino. It is almost certain that Brian is green. There is almost no chance that Mary got the football. It is certain that if either 'Mary got the football' or 'Julius is a rhino' but not both then Greg is white. There is a better than even chance that if either 'Julius is a rhino' or 'Mary got the football' but not both then Jeff went to the garden. We believe that if 'Mary got the football and Julius is a rhino' then Fred dropped the apple.,It is almost certain that 'Mary got the football and Julius is a rhino'.," + 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.8::factA. + 0.95::factB. + 0.02::factC. + %hop1 + 1.0::factX:-xor(factC,factA). + 0.6::factY:-xor(factA,factC). + 0.75::factZ:-and(factC,factA). + + %hop2 + conclusion:-and(factC,factA). + + query(conclusion). + ",0.01600000000000001,0.8639727945589117,validation,almost no chance,almost certain,There is almost no chance that 'Mary got the football and Julius is a rhino'.,It is almost certain that 'Mary got the football and Julius is a rhino'.,0,'Mary got the football and Julius is a rhino'. +It is unlikely that Jeff went to the bedroom. It is highly likely that Julius is a frog. There is almost no chance that Brian is white. It is almost certain that if 'Brian is white' or 'Jeff went to the bedroom' or both then John took the football. There is almost no chance that if either 'Brian is white' or 'Julius is a frog' but not both then Fred put down the apple. It is highly unlikely that if either 'Brian is white' or 'Jeff went to the bedroom' but not both then Lily is a rhino.,Chances are about even that either 'Lily is a rhino' or 'Brian is white' but not both.," + 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.9::factB. + 0.02::factC. + %hop1 + 0.95::factX:-or(factC,factA). + 0.02::factY:-xor(factC,factB). + 0.05::factZ:-xor(factC,factA). + + %hop2 + conclusion:-xor(factZ,factC). + + query(conclusion). + ",0.028999999999999998,0.8221644328865774,validation,almost no chance,about even,There is almost no chance that either 'Lily is a rhino' or 'Brian is white' but not both.,Chances are about even that either 'Lily is a rhino' or 'Brian is white' but not both.,0,Either 'Lily is a rhino' or 'Brian is white' but not both. +It is certain that Julius is a swan. It is highly unlikely that Sandra took the football. There is a very good chance that John moved to the garden. It is probably not the case that if 'Sandra took the football and Julius is a swan' then Greg is yellow. Chances are about even that if 'Julius is a swan and Sandra took the football' then Bernhard is a rhino. It is likely that if either 'John moved to the garden' or 'Julius is a swan' but not both then Mary left the milk.,It is improbable that 'Sandra took the football' or 'Julius is a swan' or both.," + 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 + 1.0::factA. + 0.05::factB. + 0.8::factC. + %hop1 + 0.25::factX:-and(factB,factA). + 0.5::factY:-and(factA,factB). + 0.7::factZ:-xor(factC,factA). + + %hop2 + conclusion:-or(factB,factA). + + query(conclusion). + ",1.0,0.8137627525505101,validation,certain,improbable,It is certain that 'Sandra took the football' or 'Julius is a swan' or both.,It is improbable that 'Sandra took the football' or 'Julius is a swan' or both.,0,'Sandra took the football' or 'Julius is a swan' or both. +It is highly unlikely that Bernhard is a frog. There is almost no chance that Jeff went to the bedroom. It is probably not the case that Greg is green. There is a very good chance that if 'Bernhard is a frog and Greg is green' then Julius is a swan. It is improbable that if 'Greg is green and Jeff went to the bedroom' then John got the football. It is certain that if 'Bernhard is a frog and Greg is green' then Mary left the football.,We believe that 'Jeff went to the bedroom' or 'John got the football' or both.," + 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.05::factA. + 0.02::factB. + 0.25::factC. + %hop1 + 0.8::factX:-and(factA,factC). + 0.1::factY:-and(factC,factB). + 1.0::factZ:-and(factA,factC). + + %hop2 + conclusion:-or(factB,factY). + + query(conclusion). + ",0.02,0.8513702740548109,validation,almost no chance,we believe,There is almost no chance that 'Jeff went to the bedroom' or 'John got the football' or both.,We believe that 'Jeff went to the bedroom' or 'John got the football' or both.,0,'Jeff went to the bedroom' or 'John got the football' or both. +It is likely that Greg is a swan. It is probably the case that Daniel left the apple. It is highly likely that Bernhard is a rhino. It is highly likely that if 'Daniel left the apple' or 'Bernhard is a rhino' or both then Julius is a lion. There is a very good chance that if 'Daniel left the apple and Bernhard is a rhino' then John got the milk. It is impossible that if 'Bernhard is a rhino and Daniel left the apple' then Mary went to the garden.,Chances are about even that 'John got the milk and Julius is a lion'.," + 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.7::factA. + 0.7::factB. + 0.9::factC. + %hop1 + 0.9::factX:-or(factB,factC). + 0.8::factY:-and(factB,factC). + 0.0::factZ:-and(factC,factB). + + %hop2 + conclusion:-and(factY,factX). + + query(conclusion). + ",0.4536,0.8691738347669534,validation,about even,impossible,Chances are about even that 'John got the milk and Julius is a lion'.,It is impossible that 'John got the milk and Julius is a lion'.,1,'John got the milk and Julius is a lion'. +It is probably the case that Mary went to the bedroom. It is probable that Greg is yellow. It is almost certain that Brian is a rhino. It is probably not the case that if 'Greg is yellow and Mary went to the bedroom' then Lily is white. Chances are slight that if either 'Greg is yellow' or 'Brian is a rhino' but not both then Sandra dropped the milk. Chances are slight that if 'Brian is a rhino' or 'Greg is yellow' or both then Julius is a lion.,There is almost no chance that 'Lily is white and Julius is a lion'.," + 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.7::factA. + 0.7::factB. + 0.95::factC. + %hop1 + 0.25::factX:-and(factB,factA). + 0.1::factY:-xor(factB,factC). + 0.1::factZ:-or(factC,factB). + + %hop2 + conclusion:-and(factX,factZ). + + query(conclusion). + ",0.012250000000000004,0.8029605921184236,validation,almost no chance,almost certain,There is almost no chance that 'Lily is white and Julius is a lion'.,It is almost certain that 'Lily is white and Julius is a lion'.,1,'Lily is white and Julius is a lion'. +It is unlikely that Mary put down the apple. Chances are about even that Sandra left the milk. We doubt that Lily is white. It is impossible that if 'Sandra left the milk and Mary put down the apple' then Julius is a lion. It is highly unlikely that if either 'Mary put down the apple' or 'Sandra left the milk' but not both then John got the apple. Chances are slight that if 'Sandra left the milk' or 'Lily is white' or both then Greg is a rhino.,Chances are about even that either 'Sandra left the milk' or 'Greg is a rhino' but not both.," + 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.5::factB. + 0.2::factC. + %hop1 + 0.0::factX:-and(factB,factA). + 0.05::factY:-xor(factA,factB). + 0.1::factZ:-or(factB,factC). + + %hop2 + conclusion:-xor(factB,factZ). + + query(conclusion). + ",0.45999999999999996,0.8321664332866573,validation,about even,highly unlikely,Chances are about even that either 'Sandra left the milk' or 'Greg is a rhino' but not both.,It is highly unlikely that either 'Sandra left the milk' or 'Greg is a rhino' but not both.,1,Either 'Sandra left the milk' or 'Greg is a rhino' but not both. +It is almost certain that Emily is a wolf. It is improbable that Fred left the football. It is likely that Julius is white. It is probably not the case that if 'Emily is a wolf and Julius is white' then Mary went to the garden. It is highly likely that if 'Julius is white' or 'Fred left the football' or both then Sandra dropped the milk. We doubt that if either 'Julius is white' or 'Fred left the football' but not both then Greg is a rhino.,We believe that 'Sandra dropped the milk' or 'Julius is white' or both.," + 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.95::factA. + 0.1::factB. + 0.7::factC. + %hop1 + 0.25::factX:-and(factA,factC). + 0.9::factY:-or(factC,factB). + 0.2::factZ:-xor(factC,factB). + + %hop2 + conclusion:-or(factY,factC). + + query(conclusion). + ",0.727,0.8231646329265854,validation,we believe,improbable,We believe that 'Sandra dropped the milk' or 'Julius is white' or both.,It is improbable that 'Sandra dropped the milk' or 'Julius is white' or both.,1,'Sandra dropped the milk' or 'Julius is white' or both. +There is a better than even chance that Julius is white. It is highly unlikely that Sandra got the football. It is certain that Jeff left the apple. It is probable that if 'Jeff left the apple' or 'Sandra got the football' or both then Lily is a frog. We doubt that if 'Sandra got the football and Julius is white' then Brian is a swan. We doubt that if either 'Sandra got the football' or 'Julius is white' but not both then John went to the garden.,There is a very good chance that 'Brian is a swan' or 'Sandra got the football' or both.," + 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.6::factA. + 0.05::factB. + 1.0::factC. + %hop1 + 0.7::factX:-or(factC,factB). + 0.2::factY:-and(factB,factA). + 0.2::factZ:-xor(factB,factA). + + %hop2 + conclusion:-or(factY,factB). + + query(conclusion). + ",0.05000000000000001,0.8109621924384877,validation,highly unlikely,very good chance,It is highly unlikely that 'Brian is a swan' or 'Sandra got the football' or both.,There is a very good chance that 'Brian is a swan' or 'Sandra got the football' or both.,0,'Brian is a swan' or 'Sandra got the football' or both. +It is unlikely that John went to the hallway. There is almost no chance that Brian is white. It is highly likely that Greg is green. It is improbable that if 'John went to the hallway and Brian is white' then Jessica is a cat. Chances are slight that if either 'Greg is green' or 'John went to the hallway' but not both then Sandra got the football. There is a better than even chance that if either 'Brian is white' or 'John went to the hallway' but not both then Mary left the milk.,It is improbable that either 'Brian is white' or 'Mary left the milk' but not both.," + 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.02::factB. + 0.9::factC. + %hop1 + 0.1::factX:-and(factA,factB). + 0.1::factY:-xor(factC,factA). + 0.6::factZ:-xor(factB,factA). + + %hop2 + conclusion:-xor(factB,factZ). + + query(conclusion). + ",0.128,0.8523704740948189,validation,improbable,probable,It is improbable that either 'Brian is white' or 'Mary left the milk' but not both.,It is probable that either 'Brian is white' or 'Mary left the milk' but not both.,1,Either 'Brian is white' or 'Mary left the milk' but not both. +It is likely that Mary moved to the office. There is a very good chance that Lily is a rhino. It is highly unlikely that Brian is gray. It is highly unlikely that if 'Brian is gray' or 'Mary moved to the office' or both then Sandra took the apple. It is probably the case that if 'Brian is gray and Mary moved to the office' then Bernhard is green. It is probably not the case that if 'Lily is a rhino' or 'Brian is gray' or both then Julius is a swan.,There is a better than even chance that either 'Mary moved to the office' or 'Julius is a swan' but not both.," + 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.7::factA. + 0.8::factB. + 0.05::factC. + %hop1 + 0.05::factX:-or(factC,factA). + 0.7::factY:-and(factC,factA). + 0.25::factZ:-or(factB,factC). + + %hop2 + conclusion:-xor(factA,factZ). + + query(conclusion). + ",0.619,0.8307661532306462,validation,better than even,little chance,There is a better than even chance that either 'Mary moved to the office' or 'Julius is a swan' but not both.,There is little chance that either 'Mary moved to the office' or 'Julius is a swan' but not both.,1,Either 'Mary moved to the office' or 'Julius is a swan' but not both. +It is almost certain that Julius is green. Chances are about even that Brian is white. There is a very good chance that John discarded the apple. It is likely that if 'Brian is white' or 'Julius is green' or both then Sandra dropped the milk. We believe that if 'Julius is green' or 'John discarded the apple' or both then Bernhard is a frog. It is improbable that if 'Julius is green and John discarded the apple' then Mary went to the bedroom.,It is probably not the case that 'Sandra dropped the milk and Brian is white'.," + 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.95::factA. + 0.5::factB. + 0.8::factC. + %hop1 + 0.7::factX:-or(factB,factA). + 0.75::factY:-or(factA,factC). + 0.1::factZ:-and(factA,factC). + + %hop2 + conclusion:-and(factX,factB). + + query(conclusion). + ",0.3499999999999999,0.8067613522704541,validation,probably not,probably,It is probably not the case that 'Sandra dropped the milk and Brian is white'.,It is probably the case that 'Sandra dropped the milk and Brian is white'.,1,'Sandra dropped the milk and Brian is white'. +It is improbable that John dropped the apple. It is probably the case that Bernhard is gray. There is a better than even chance that Fred is in the school. It is probable that if either 'Bernhard is gray' or 'Fred is in the school' but not both then Antoine is thirsty. We believe that if 'John dropped the apple' or 'Bernhard is gray' or both then Brian is yellow. Chances are slight that if either 'John dropped the apple' or 'Bernhard is gray' but not both then Greg is green.,It is improbable that 'Greg is green' or 'Brian is yellow' or both.," + 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.1::factA. + 0.7::factB. + 0.6::factC. + %hop1 + 0.7::factX:-xor(factB,factC). + 0.75::factY:-or(factA,factB). + 0.1::factZ:-xor(factA,factB). + + %hop2 + conclusion:-or(factZ,factY). + + query(conclusion). + ",0.564,0.8031606321264253,validation,better than even,improbable,There is a better than even chance that 'Greg is green' or 'Brian is yellow' or both.,It is improbable that 'Greg is green' or 'Brian is yellow' or both.,0,'Greg is green' or 'Brian is yellow' or both. +There is little chance that Gertrude is a mouse. It is impossible that Bernhard is gray. There is a better than even chance that Fred moved to the office. There is a very good chance that if 'Fred moved to the office' or 'Gertrude is a mouse' or both then Mary left the milk. Chances are about even that if 'Fred moved to the office and Gertrude is a mouse' then John went to the hallway. It is highly unlikely that if 'Bernhard is gray and Gertrude is a mouse' then Julius is a lion.,It is impossible that 'Bernhard is gray' or 'Fred moved to the office' or both.," + 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.1::factA. + 0.0::factB. + 0.6::factC. + %hop1 + 0.8::factX:-or(factC,factA). + 0.5::factY:-and(factC,factA). + 0.05::factZ:-and(factB,factA). + + %hop2 + conclusion:-or(factB,factC). + + query(conclusion). + ",0.6,0.8267653530706142,validation,better than even,impossible,There is a better than even chance that 'Bernhard is gray' or 'Fred moved to the office' or both.,It is impossible that 'Bernhard is gray' or 'Fred moved to the office' or both.,0,'Bernhard is gray' or 'Fred moved to the office' or both. +We doubt that Greg is a swan. It is almost certain that Julius is yellow. It is probable that Daniel dropped the apple. There is little chance that if 'Daniel dropped the apple' or 'Greg is a swan' or both then Emily is a cat. It is likely that if 'Daniel dropped the apple and Greg is a swan' then Mary went to the hallway. There is almost no chance that if either 'Greg is a swan' or 'Daniel dropped the apple' but not both then Lily is gray.,It is probably not the case that either 'Julius is yellow' or 'Daniel dropped the apple' but not both.," + 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.95::factB. + 0.7::factC. + %hop1 + 0.1::factX:-or(factC,factA). + 0.7::factY:-and(factC,factA). + 0.02::factZ:-xor(factA,factC). + + %hop2 + conclusion:-xor(factB,factC). + + query(conclusion). + ",0.32000000000000006,0.8637727545509102,validation,probably not,probably,It is probably not the case that either 'Julius is yellow' or 'Daniel dropped the apple' but not both.,It is probably the case that either 'Julius is yellow' or 'Daniel dropped the apple' but not both.,1,Either 'Julius is yellow' or 'Daniel dropped the apple' but not both. +It is certain that John went to the kitchen. It is probably the case that Lily is white. Chances are about even that Brian is a lion. It is improbable that if either 'Brian is a lion' or 'John went to the kitchen' but not both then Julius is green. It is highly likely that if 'Lily is white' or 'Brian is a lion' or both then Greg is yellow. It is probable that if 'Brian is a lion and Lily is white' then Mary put down the milk.,It is impossible that 'Brian is a lion and Julius is green'.," + 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 + 1.0::factA. + 0.7::factB. + 0.5::factC. + %hop1 + 0.1::factX:-xor(factC,factA). + 0.9::factY:-or(factB,factC). + 0.7::factZ:-and(factC,factB). + + %hop2 + conclusion:-and(factC,factX). + + query(conclusion). + ",0.0,0.8399679935987198,validation,impossible,better than even,It is impossible that 'Brian is a lion and Julius is green'.,There is a better than even chance that 'Brian is a lion and Julius is green'.,1,'Brian is a lion and Julius is green'. +It is likely that Julius is a lion. There is a very good chance that Brian is a rhino. It is almost certain that Mary picked up the apple. It is highly unlikely that if either 'Julius is a lion' or 'Mary picked up the apple' but not both then John went to the kitchen. It is highly unlikely that if 'Mary picked up the apple and Brian is a rhino' then Greg is a frog. It is almost certain that if 'Mary picked up the apple and Julius is a lion' then Lily is a frog.,It is impossible that 'Lily is a frog and John went to the kitchen'.," + 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.7::factA. + 0.8::factB. + 0.95::factC. + %hop1 + 0.05::factX:-xor(factA,factC). + 0.05::factY:-and(factC,factB). + 0.95::factZ:-and(factC,factA). + + %hop2 + conclusion:-and(factZ,factX). + + query(conclusion). + ",0.0,0.8549709941988398,validation,impossible,better than even,It is impossible that 'Lily is a frog and John went to the kitchen'.,There is a better than even chance that 'Lily is a frog and John went to the kitchen'.,1,'Lily is a frog and John went to the kitchen'. +We believe that John grabbed the milk. Chances are slight that Lily is green. It is impossible that Daniel took the apple. It is impossible that if either 'John grabbed the milk' or 'Daniel took the apple' but not both then Winona is a wolf. It is highly unlikely that if either 'Lily is green' or 'John grabbed the milk' but not both then Fred went to the garden. There is almost no chance that if 'Lily is green' or 'John grabbed the milk' or both then Bernhard is a lion.,Chances are slight that 'Bernhard is a lion' or 'Lily is green' or both.," + 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.75::factA. + 0.1::factB. + 0.0::factC. + %hop1 + 0.0::factX:-xor(factA,factC). + 0.05::factY:-xor(factB,factA). + 0.02::factZ:-or(factB,factA). + + %hop2 + conclusion:-or(factZ,factB). + + query(conclusion). + ",0.11350000000000005,0.8277655531106222,validation,chances are slight,probable,Chances are slight that 'Bernhard is a lion' or 'Lily is green' or both.,It is probable that 'Bernhard is a lion' or 'Lily is green' or both.,1,'Bernhard is a lion' or 'Lily is green' or both.