context,hypothesis,problog,probability,rnd,split,probability_word,distractor,valid_hypothesis,invalid_hypothesis,label,hypothesis_assertion There is almost no chance that Greg is gray. Chances are slight that John discarded the apple. It is improbable that Sandra got the milk. It is improbable that if 'Greg is gray and Sandra got the milk' then Winona is a mouse. It is likely that if 'Sandra got the milk' or 'Greg is gray' or both then Julius is a swan. There is little chance that if 'John discarded the apple and Sandra got the milk' then Brian is a frog.,It is highly likely that either 'John discarded the apple' or 'Sandra 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.02::factA. 0.1::factB. 0.1::factC. %hop1 0.1::factX:-and(factA,factC). 0.7::factY:-or(factC,factA). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.18000000000000005,0.4680936187237448,train,unlikely,highly likely,It is unlikely that either 'John discarded the apple' or 'Sandra got the milk' but not both.,It is highly likely that either 'John discarded the apple' or 'Sandra got the milk' but not both.,0,Either 'John discarded the apple' or 'Sandra got the milk' but not both. It is impossible that Brian is a lion. It is likely that Jeff moved to the garden. It is highly unlikely that John got the milk. It is highly likely that if 'Jeff moved to the garden' or 'John got the milk' or both then Bernhard is a rhino. There is little chance that if 'John got the milk' or 'Jeff moved to the garden' or both then Mary went to the hallway. There is almost no chance that if 'Brian is a lion' or 'John got the milk' or both then Antoine is bored.,It is probably not the case that either 'Jeff moved to the garden' or 'Brian 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.0::factA. 0.7::factB. 0.05::factC. %hop1 0.9::factX:-or(factB,factC). 0.1::factY:-or(factC,factB). 0.02::factZ:-or(factA,factC). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.7,0.42028405681136227,train,probably,probably not,It is probably the case that either 'Jeff moved to the garden' or 'Brian is a lion' but not both.,It is probably not the case that either 'Jeff moved to the garden' or 'Brian is a lion' but not both.,0,Either 'Jeff moved to the garden' or 'Brian is a lion' but not both. Chances are about even that Bernhard is green. It is almost certain that Greg is a swan. It is unlikely that Daniel got the football. It is impossible that if 'Daniel got the football and Bernhard is green' then Sandra left the apple. It is highly likely that if 'Greg is a swan and Daniel got the football' then Mary discarded the milk. There is almost no chance that if 'Daniel got the football and Greg is a swan' then John went to the hallway.,It is impossible that 'Sandra left the apple' 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.5::factA. 0.95::factB. 0.2::factC. %hop1 0.0::factX:-and(factC,factA). 0.9::factY:-and(factB,factC). 0.02::factZ:-and(factC,factB). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.003800000000000003,0.45609121824364873,train,impossible,probable,It is impossible that 'Sandra left the apple' or 'John went to the hallway' or both.,It is probable that 'Sandra left the apple' or 'John went to the hallway' or both.,1,'Sandra left the apple' or 'John went to the hallway' or both. There is almost no chance that Antoine is hungry. It is highly unlikely that Mary left the football. It is certain that John took the apple. There is little chance that if either 'John took the apple' or 'Antoine is hungry' but not both then Brian is a frog. It is unlikely that if either 'John took the apple' or 'Antoine is hungry' but not both then Bernhard is green. Chances are slight that if either 'John took the apple' or 'Mary left the football' but not both then Fred went to the garden.,It is certain that 'Brian is a frog' 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.02::factA. 0.05::factB. 1.0::factC. %hop1 0.1::factX:-xor(factC,factA). 0.2::factY:-xor(factC,factA). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.27440000000000003,0.13822764552910582,train,probably not,certain,It is probably not the case that 'Brian is a frog' or 'Bernhard is green' or both.,It is certain that 'Brian is a frog' or 'Bernhard is green' or both.,0,'Brian is a frog' or 'Bernhard is green' or both. Chances are slight that Lily is a frog. We doubt that Brian is yellow. It is probably not the case that Mary went to the garden. We believe that if 'Lily is a frog and Brian is yellow' then Julius is gray. It is certain that if 'Brian is yellow and Mary went to the garden' then Daniel took the milk. There is a better than even chance that if 'Lily is a frog' or 'Brian is yellow' or both then Sandra left the milk.,It is probably not the case that 'Lily is a frog' 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.1::factA. 0.2::factB. 0.25::factC. %hop1 0.75::factX:-and(factA,factB). 1.0::factY:-and(factB,factC). 0.6::factZ:-or(factA,factB). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.325,0.2430486097219444,train,probably not,almost certain,It is probably not the case that 'Lily is a frog' or 'Mary went to the garden' or both.,It is almost certain that 'Lily is a frog' or 'Mary went to the garden' or both.,1,'Lily is a frog' or 'Mary went to the garden' or both. It is highly likely that Gertrude is a cat. There is a better than even chance that Brian is white. It is highly unlikely that Lily is green. There is a very good chance that if either 'Gertrude is a cat' or 'Brian is white' but not both then Daniel took the football. It is highly unlikely that if 'Brian is white and Gertrude is a cat' then Mary went to the hallway. It is probably not the case that if either 'Lily is green' or 'Brian is white' but not both then John put down the apple.,It is highly unlikely that 'Lily is green 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.9::factA. 0.6::factB. 0.05::factC. %hop1 0.8::factX:-xor(factA,factB). 0.05::factY:-and(factB,factA). 0.25::factZ:-xor(factC,factB). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.045000000000000005,0.1268253650730146,train,highly unlikely,likely,It is highly unlikely that 'Lily is green and Gertrude is a cat'.,It is likely that 'Lily is green and Gertrude is a cat'.,1,'Lily is green and Gertrude is a cat'. It is highly unlikely that Mary left the football. It is highly likely that Lily is white. It is likely that Bernhard is white. Chances are about even that if either 'Lily is white' or 'Bernhard is white' but not both then Gertrude is a wolf. It is probably the case that if 'Bernhard is white' or 'Lily is white' or both then John dropped the apple. It is unlikely that if 'Mary left the football and Bernhard is white' then Greg is a rhino.,It is certain that either 'Greg is a rhino' 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 0.05::factA. 0.9::factB. 0.7::factC. %hop1 0.5::factX:-xor(factB,factC). 0.7::factY:-or(factC,factB). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.1763,0.7113422684536908,train,we doubt,certain,We doubt that either 'Greg is a rhino' or 'Gertrude is a wolf' but not both.,It is certain that either 'Greg is a rhino' or 'Gertrude is a wolf' but not both.,0,Either 'Greg is a rhino' or 'Gertrude is a wolf' but not both. There is a better than even chance that Daniel got the football. There is little chance that Brian is yellow. There is almost no chance that Julius is a swan. It is unlikely that if 'Brian is yellow' or 'Julius is a swan' or both then Greg is a lion. It is highly unlikely that if 'Julius is a swan and Daniel got the football' then Mary discarded the milk. It is highly unlikely that if either 'Brian is yellow' or 'Daniel got the football' but not both then Lily is a rhino.,It is highly unlikely that either 'Julius is a swan' 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.6::factA. 0.1::factB. 0.02::factC. %hop1 0.2::factX:-or(factB,factC). 0.05::factY:-and(factC,factA). 0.05::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.0356,0.2966593318663733,train,highly unlikely,certain,It is highly unlikely that either 'Julius is a swan' or 'Greg is a lion' but not both.,It is certain that either 'Julius is a swan' or 'Greg is a lion' but not both.,1,Either 'Julius is a swan' or 'Greg is a lion' but not both. It is probably not the case that Brian is white. It is probably the case that Winona is a wolf. We doubt that Bernhard is green. Chances are about even that if 'Bernhard is green and Winona is a wolf' then John discarded the apple. We doubt that if 'Winona is a wolf and Brian is white' then Mary went to the office. It is improbable that if 'Bernhard is green' or 'Winona is a wolf' or both then Lily is yellow.,Chances are slight that 'John discarded the apple' or 'Mary 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.25::factA. 0.7::factB. 0.2::factC. %hop1 0.5::factX:-and(factC,factB). 0.2::factY:-and(factB,factA). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.10149999999999999,0.3802760552110422,train,chances are slight,likely,Chances are slight that 'John discarded the apple' or 'Mary went to the office' or both.,It is likely that 'John discarded the apple' or 'Mary went to the office' or both.,1,'John discarded the apple' or 'Mary went to the office' or both. It is highly likely that Greg is a swan. We doubt that Lily is a lion. It is improbable that Brian is yellow. It is improbable that if 'Brian is yellow' or 'Lily is a lion' or both then Julius is gray. It is probably the case that if 'Brian is yellow' or 'Greg is a swan' or both then John left the milk. It is certain that if 'Brian is yellow and Greg is a swan' then Bernhard is a frog.,It is highly unlikely that 'Brian is yellow and John 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.9::factA. 0.2::factB. 0.1::factC. %hop1 0.1::factX:-or(factC,factB). 0.7::factY:-or(factC,factA). 1.0::factZ:-and(factC,factA). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.07,0.41408281656331264,train,highly unlikely,certain,It is highly unlikely that 'Brian is yellow and John left the milk'.,It is certain that 'Brian is yellow and John left the milk'.,1,'Brian is yellow and John left the milk'. It is highly likely that Julius is a frog. It is probably not the case that Sandra took the football. There is little chance that Bill went to the office. It is probably not the case that if 'Sandra took the football' or 'Julius is a frog' or both then Bernhard is a swan. We believe that if 'Julius is a frog and Bill went to the office' then Greg is yellow. There is a very good chance that if 'Sandra took the football' or 'Julius is a frog' or both then John discarded the apple.,There is a very good chance that 'Bill went to the office' 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.9::factA. 0.25::factB. 0.1::factC. %hop1 0.25::factX:-or(factB,factA). 0.75::factY:-and(factA,factC). 0.8::factZ:-or(factB,factA). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.30812500000000004,0.22904580916183237,train,probably not,very good chance,It is probably not the case that 'Bill went to the office' or 'Bernhard is a swan' or both.,There is a very good chance that 'Bill went to the office' or 'Bernhard is a swan' or both.,0,'Bill went to the office' or 'Bernhard is a swan' or both. It is unlikely that Jessica is a cat. There is a better than even chance that Brian is a rhino. Chances are slight that Sandra dropped the milk. It is improbable that if either 'Brian is a rhino' or 'Jessica is a cat' but not both then John left the football. It is improbable that if either 'Sandra dropped the milk' or 'Jessica is a cat' but not both then Greg is a lion. Chances are about even that if 'Jessica is a cat and Brian is a rhino' then Julius is a frog.,It is unlikely that 'Sandra dropped the milk' or 'John 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.2::factA. 0.6::factB. 0.1::factC. %hop1 0.1::factX:-xor(factB,factA). 0.1::factY:-xor(factC,factA). 0.5::factZ:-and(factA,factB). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.15040000000000003,0.12962592518503702,train,unlikely,probable,It is unlikely that 'Sandra dropped the milk' or 'John left the football' or both.,It is probable that 'Sandra dropped the milk' or 'John left the football' or both.,1,'Sandra dropped the milk' or 'John left the football' or both. It is certain that Brian is white. We doubt that Bill went to the kitchen. It is unlikely that John moved to the office. We believe that if either 'Bill went to the kitchen' or 'John moved to the office' but not both then Sandra got the football. There is little chance that if either 'Bill went to the kitchen' or 'Brian is white' but not both then Bernhard is gray. It is likely that if 'Bill went to the kitchen' or 'John moved to the office' or both then Greg is a lion.,It is probably not the case that 'Sandra got the football' 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 1.0::factA. 0.2::factB. 0.2::factC. %hop1 0.75::factX:-xor(factB,factC). 0.1::factY:-xor(factB,factA). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.32,0.34226845369073816,train,probably not,almost certain,It is probably not the case that 'Sandra got the football' or 'John moved to the office' or both.,It is almost certain that 'Sandra got the football' or 'John moved to the office' or both.,1,'Sandra got the football' or 'John moved to the office' or both. It is likely that Daniel got the milk. It is highly likely that Greg is a swan. It is probably not the case that Mary dropped the apple. It is unlikely that if 'Mary dropped the apple and Daniel got the milk' then Lily is green. There is a very good chance that if either 'Mary dropped the apple' or 'Greg is a swan' but not both then Julius is gray. It is likely that if 'Mary dropped the apple and Daniel got the milk' then John went to the hallway.,It is highly unlikely that 'Lily is green and Mary 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.7::factA. 0.9::factB. 0.25::factC. %hop1 0.2::factX:-and(factC,factA). 0.8::factY:-xor(factC,factB). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.035,0.5077015403080616,train,highly unlikely,very good chance,It is highly unlikely that 'Lily is green and Mary dropped the apple'.,There is a very good chance that 'Lily is green and Mary dropped the apple'.,1,'Lily is green and Mary dropped the apple'. We believe that Greg is yellow. It is unlikely that Mary left the milk. There is almost no chance that Emily is a mouse. It is almost certain that if 'Greg is yellow' or 'Emily is a mouse' or both then Winona is a wolf. It is highly likely that if 'Emily is a mouse' or 'Greg is yellow' or both then Jeff went to the bedroom. Chances are about even that if 'Mary left the milk' or 'Greg is yellow' or both then Lily is a rhino.,There is a better than even chance that either 'Jeff went to the bedroom' 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.2::factB. 0.02::factC. %hop1 0.95::factX:-or(factA,factC). 0.9::factY:-or(factC,factA). 0.5::factZ:-or(factB,factA). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.07949999999999997,0.10322064412882577,train,little chance,better than even,There is little chance that either 'Jeff went to the bedroom' or 'Greg is yellow' but not both.,There is a better than even chance that either 'Jeff went to the bedroom' or 'Greg is yellow' but not both.,0,Either 'Jeff went to the bedroom' or 'Greg is yellow' but not both. It is likely that Brian is a rhino. It is probable that Fred put down the apple. Chances are slight that John moved to the office. It is highly likely that if 'Fred put down the apple and Brian is a rhino' then Jeff discarded the milk. It is almost certain that if 'Fred put down the apple and Brian is a rhino' then Julius is white. It is probable that if 'Brian is a rhino and Fred put down the apple' then Greg is yellow.,There is almost no chance that 'Julius is white and Fred put down 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.7::factA. 0.7::factB. 0.1::factC. %hop1 0.9::factX:-and(factB,factA). 0.95::factY:-and(factB,factA). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.4654999999999999,0.4910982196439288,train,about even,almost no chance,Chances are about even that 'Julius is white and Fred put down the apple'.,There is almost no chance that 'Julius is white and Fred put down the apple'.,0,'Julius is white and Fred put down the apple'. It is probably not the case that Bill went to the office. It is highly unlikely that Winona is a wolf. It is likely that John grabbed the apple. It is unlikely that if 'John grabbed the apple and Winona is a wolf' then Sandra put down the milk. It is improbable that if 'Bill went to the office and John grabbed the apple' then Julius is a lion. There is a very good chance that if 'John grabbed the apple and Winona is a wolf' then Brian is yellow.,There is a better than even chance that 'Julius is a lion 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.25::factA. 0.05::factB. 0.7::factC. %hop1 0.2::factX:-and(factC,factB). 0.1::factY:-and(factA,factC). 0.8::factZ:-and(factC,factB). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.0008750000000000001,0.5823164632926585,train,impossible,better than even,It is impossible that 'Julius is a lion and Winona is a wolf'.,There is a better than even chance that 'Julius is a lion and Winona is a wolf'.,0,'Julius is a lion and Winona is a wolf'. It is almost certain that Daniel left the milk. It is certain that Greg is a frog. It is probably not the case that Julius is white. We doubt that if 'Daniel left the milk' or 'Greg is a frog' or both then Mary went to the bedroom. It is probably the case that if either 'Daniel left the milk' or 'Julius is white' but not both then Brian is green. It is highly likely that if 'Daniel left the milk' or 'Julius is white' or both then John dropped the apple.,It is probably the case that either 'John dropped the apple' 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.95::factA. 1.0::factB. 0.25::factC. %hop1 0.2::factX:-or(factA,factB). 0.7::factY:-xor(factA,factC). 0.9::factZ:-or(factA,factC). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.66625,0.021204240848169634,train,probably,highly unlikely,It is probably the case that either 'John dropped the apple' or 'Julius is white' but not both.,It is highly unlikely that either 'John dropped the apple' or 'Julius is white' but not both.,1,Either 'John dropped the apple' or 'Julius is white' but not both. It is impossible that Jason is thirsty. We doubt that Emily is a sheep. It is certain that Greg is yellow. Chances are about even that if 'Emily is a sheep and Jason is thirsty' then Brian is a frog. It is probably not the case that if either 'Emily is a sheep' or 'Jason is thirsty' but not both then Bernhard is a swan. There is a better than even chance that if 'Emily is a sheep' or 'Jason is thirsty' or both then Mary left the football.,It is probable that 'Brian is a frog' 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.0::factA. 0.2::factB. 1.0::factC. %hop1 0.5::factX:-and(factB,factA). 0.25::factY:-xor(factB,factA). 0.6::factZ:-or(factB,factA). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.05000000000000001,0.7411482296459292,train,highly unlikely,probable,It is highly unlikely that 'Brian is a frog' or 'Bernhard is a swan' or both.,It is probable that 'Brian is a frog' or 'Bernhard is a swan' or both.,0,'Brian is a frog' or 'Bernhard is a swan' or both. It is likely that Brian is yellow. It is certain that John went to the garden. It is highly unlikely that Bernhard is gray. It is likely that if 'Brian is yellow and Bernhard is gray' then Jessica is a mouse. It is probably not the case that if either 'John went to the garden' or 'Brian is yellow' but not both then Julius is gray. It is certain that if 'John went to the garden' or 'Brian is yellow' or both then Mary left the apple.,It is certain that 'Jessica is a mouse' or 'John 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.7::factA. 1.0::factB. 0.05::factC. %hop1 0.7::factX:-and(factA,factC). 0.25::factY:-xor(factB,factA). 1.0::factZ:-or(factB,factA). %hop2 conclusion:-or(factX,factB). query(conclusion). ",1.0,0.35267053410682137,train,certain,unlikely,It is certain that 'Jessica is a mouse' or 'John went to the garden' or both.,It is unlikely that 'Jessica is a mouse' or 'John went to the garden' or both.,1,'Jessica is a mouse' or 'John went to the garden' or both. We doubt that Brian is a rhino. It is likely that Bernhard is yellow. It is certain that Greg is white. It is unlikely that if 'Bernhard is yellow and Brian is a rhino' then Jeff moved to the garden. There is a very good chance that if 'Brian is a rhino and Bernhard is yellow' then John left the milk. There is a better than even chance that if 'Bernhard is yellow' or 'Brian is a rhino' or both then Mary went to the kitchen.,There is little chance that either 'Bernhard is yellow' 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.2::factA. 0.7::factB. 1.0::factC. %hop1 0.2::factX:-and(factB,factA). 0.8::factY:-and(factA,factB). 0.6::factZ:-or(factB,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.62,0.10642128425685136,train,better than even,little chance,There is a better than even chance that either 'Bernhard is yellow' or 'Brian is a rhino' but not both.,There is little chance that either 'Bernhard is yellow' or 'Brian is a rhino' but not both.,0,Either 'Bernhard is yellow' or 'Brian is a rhino' but not both. It is likely that Sandra left the football. It is probably not the case that Lily is a frog. It is probably not the case that Bernhard is yellow. It is improbable that if 'Lily is a frog' or 'Bernhard is yellow' or both then Julius is a lion. It is certain that if 'Lily is a frog and Sandra left the football' then Mary went to the garden. It is improbable that if 'Sandra left the football' or 'Bernhard is yellow' or both then Greg is a rhino.,It is impossible that 'Julius is a lion' or 'Sandra 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.7::factA. 0.25::factB. 0.25::factC. %hop1 0.1::factX:-or(factB,factC). 1.0::factY:-and(factB,factA). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.713125,0.08021604320864173,train,probably,impossible,It is probably the case that 'Julius is a lion' or 'Sandra left the football' or both.,It is impossible that 'Julius is a lion' or 'Sandra left the football' or both.,0,'Julius is a lion' or 'Sandra left the football' or both. It is probable that Brian is a rhino. There is a better than even chance that John put down the apple. We doubt that Bernhard is a swan. It is likely that if 'Brian is a rhino and Bernhard is a swan' then Winona is a wolf. It is highly unlikely that if 'John put down the apple' or 'Bernhard is a swan' or both then Sandra took the football. It is highly unlikely that if 'Brian is a rhino and Bernhard is a swan' then Mary dropped the apple.,It is impossible that 'Brian is a rhino and Mary 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.7::factA. 0.6::factB. 0.2::factC. %hop1 0.7::factX:-and(factA,factC). 0.05::factY:-or(factB,factC). 0.05::factZ:-and(factA,factC). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.007000000000000003,0.2628525705141028,train,impossible,better than even,It is impossible that 'Brian is a rhino and Mary dropped the apple'.,There is a better than even chance that 'Brian is a rhino and Mary dropped the apple'.,1,'Brian is a rhino and Mary dropped the apple'. We doubt that Lily is gray. There is almost no chance that Daniel grabbed the apple. There is almost no chance that Brian is a rhino. It is certain that if either 'Lily is gray' or 'Daniel grabbed the apple' but not both then John moved to the garden. There is almost no chance that if 'Brian is a rhino' or 'Daniel grabbed the apple' or both then Sandra got the football. It is highly unlikely that if either 'Daniel grabbed the apple' or 'Lily is gray' but not both then Mary went to the hallway.,It is impossible that 'Lily is gray 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.02::factB. 0.02::factC. %hop1 1.0::factX:-xor(factA,factB). 0.02::factY:-or(factC,factB). 0.05::factZ:-xor(factB,factA). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.00015840000000000008,0.4290858171634327,train,impossible,probable,It is impossible that 'Lily is gray and Sandra got the football'.,It is probable that 'Lily is gray and Sandra got the football'.,1,'Lily is gray and Sandra got the football'. It is impossible that John dropped the apple. There is a better than even chance that Daniel got the milk. There is almost no chance that Lily is a lion. It is probably the case that if 'John dropped the apple and Daniel got the milk' then Jeff discarded the milk. We doubt that if 'John dropped the apple and Daniel got the milk' then Mary went to the garden. There is a very good chance that if 'Daniel got the milk and Lily is a lion' then Greg is gray.,Chances are about even that either 'Greg is gray' or 'John 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.0::factA. 0.6::factB. 0.02::factC. %hop1 0.7::factX:-and(factA,factB). 0.2::factY:-and(factA,factB). 0.8::factZ:-and(factB,factC). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.0096,0.5887177435487098,train,impossible,about even,It is impossible that either 'Greg is gray' or 'John dropped the apple' but not both.,Chances are about even that either 'Greg is gray' or 'John dropped the apple' but not both.,0,Either 'Greg is gray' or 'John dropped the apple' but not both. There is a better than even chance that Greg is a rhino. It is almost certain that Mary went to the office. It is probable that Bernhard is gray. It is unlikely that if either 'Greg is a rhino' or 'Bernhard is gray' but not both then John grabbed the milk. There is a better than even chance that if 'Bernhard is gray and Mary went to the office' then Lily is yellow. It is likely that if either 'Mary went to the office' or 'Bernhard is gray' but not both then Emily is a wolf.,It is almost certain that 'John grabbed 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.6::factA. 0.95::factB. 0.7::factC. %hop1 0.2::factX:-xor(factA,factC). 0.6::factY:-and(factC,factB). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.036000000000000004,0.715743148629726,train,highly unlikely,almost certain,It is highly unlikely that 'John grabbed the milk and Greg is a rhino'.,It is almost certain that 'John grabbed the milk and Greg is a rhino'.,0,'John grabbed the milk and Greg is a rhino'. It is almost certain that Bernhard is green. There is almost no chance that Greg is a swan. Chances are about even that Lily is yellow. It is likely that if either 'Bernhard is green' or 'Lily is yellow' but not both then Sandra dropped the milk. There is a very good chance that if 'Greg is a swan' or 'Bernhard is green' or both then John got the apple. Chances are about even that if 'Greg is a swan and Lily is yellow' then Mary moved to the garden.,Chances are about even that either 'Bernhard is green' 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.95::factA. 0.02::factB. 0.5::factC. %hop1 0.7::factX:-xor(factA,factC). 0.8::factY:-or(factB,factA). 0.5::factZ:-and(factB,factC). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5,0.7105421084216843,train,about even,almost certain,Chances are about even that either 'Bernhard is green' or 'Lily is yellow' but not both.,It is almost certain that either 'Bernhard is green' or 'Lily is yellow' but not both.,1,Either 'Bernhard is green' or 'Lily is yellow' but not both. It is certain that Bernhard is a swan. We doubt that Brian is yellow. It is probable that John left the milk. It is almost certain that if 'John left the milk' or 'Bernhard is a swan' or both then Gertrude is a cat. We believe that if 'Bernhard is a swan and Brian is yellow' then Jessica is a mouse. We doubt that if 'Brian is yellow' or 'Bernhard is a swan' or both then Julius is gray.,It is likely that 'Bernhard is a swan and John 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 1.0::factA. 0.2::factB. 0.7::factC. %hop1 0.95::factX:-or(factC,factA). 0.75::factY:-and(factA,factB). 0.2::factZ:-or(factB,factA). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.7,0.7245449089817964,train,likely,impossible,It is likely that 'Bernhard is a swan and John left the milk'.,It is impossible that 'Bernhard is a swan and John left the milk'.,1,'Bernhard is a swan and John left the milk'. It is highly likely that Brian is a swan. There is a very good chance that Lily is white. It is highly likely that Winona is a sheep. It is probably the case that if 'Winona is a sheep and Brian is a swan' then Sumit is thirsty. It is probably not the case that if 'Brian is a swan and Lily is white' then John put down the apple. It is highly likely that if 'Brian is a swan and Lily is white' then Greg is a frog.,There is a better than even chance that 'Sumit is thirsty and John put down 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.8::factB. 0.9::factC. %hop1 0.7::factX:-and(factC,factA). 0.25::factY:-and(factA,factB). 0.9::factZ:-and(factA,factB). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.11340000000000001,0.7727545509101821,train,improbable,better than even,It is improbable that 'Sumit is thirsty and John put down the apple'.,There is a better than even chance that 'Sumit is thirsty and John put down the apple'.,0,'Sumit is thirsty and John put down the apple'. It is unlikely that John dropped the apple. It is improbable that Brian is a lion. We believe that Antoine is bored. It is certain that if 'John dropped the apple' or 'Brian is a lion' or both then Winona is a sheep. It is highly likely that if 'Brian is a lion' or 'John dropped the apple' or both then Greg is a swan. There is a very good chance that if 'Brian is a lion' or 'Antoine is bored' or both then Bill went to the garden.,We believe that 'Bill went to the garden' or 'Antoine 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.2::factA. 0.1::factB. 0.75::factC. %hop1 1.0::factX:-or(factA,factB). 0.9::factY:-or(factB,factA). 0.8::factZ:-or(factB,factC). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.77,0.16623324664932987,train,we believe,almost no chance,We believe that 'Bill went to the garden' or 'Antoine is bored' or both.,There is almost no chance that 'Bill went to the garden' or 'Antoine is bored' or both.,1,'Bill went to the garden' or 'Antoine is bored' or both. It is certain that Mary dropped the milk. It is impossible that Emily is a cat. It is improbable that Bernhard is gray. It is probably not the case that if 'Mary dropped the milk' or 'Emily is a cat' or both then Lily is green. There is a better than even chance that if either 'Mary dropped the milk' or 'Emily is a cat' but not both then Gertrude is a wolf. Chances are about even that if 'Mary dropped the milk' or 'Bernhard is gray' or both then Brian is a rhino.,There is little chance that 'Bernhard is gray' or 'Emily 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.0::factB. 0.1::factC. %hop1 0.25::factX:-or(factA,factB). 0.6::factY:-xor(factA,factB). 0.5::factZ:-or(factA,factC). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.10000000000000002,0.5215043008601721,train,little chance,very good chance,There is little chance that 'Bernhard is gray' or 'Emily is a cat' or both.,There is a very good chance that 'Bernhard is gray' or 'Emily is a cat' or both.,1,'Bernhard is gray' or 'Emily is a cat' or both. It is probably not the case that Bernhard is a lion. It is almost certain that Lily is a swan. It is probable that Julius is white. There is little chance that if 'Bernhard is a lion and Julius is white' then Mary grabbed the milk. It is improbable that if either 'Bernhard is a lion' or 'Lily is a swan' but not both then John got the apple. There is a better than even chance that if 'Julius is white and Bernhard is a lion' then Bill left the football.,It is unlikely that 'John got the apple' or 'Bill 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.25::factA. 0.95::factB. 0.7::factC. %hop1 0.1::factX:-and(factA,factC). 0.1::factY:-xor(factA,factB). 0.6::factZ:-and(factC,factA). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.17697500000000002,0.33926785357071415,train,unlikely,certain,It is unlikely that 'John got the apple' or 'Bill left the football' or both.,It is certain that 'John got the apple' or 'Bill left the football' or both.,1,'John got the apple' or 'Bill left the football' or both. It is improbable that Mary went to the office. It is highly likely that Julius is gray. It is probably the case that John discarded the apple. Chances are slight that if either 'John discarded the apple' or 'Mary went to the office' but not both then Lily is a frog. It is unlikely that if 'John discarded the apple and Julius is gray' then Greg is gray. It is likely that if either 'Mary went to the office' or 'Julius is gray' but not both then Bernhard is green.,We believe that 'Mary went to the office' 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.9::factB. 0.7::factC. %hop1 0.1::factX:-xor(factC,factA). 0.2::factY:-and(factC,factB). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.73,0.6753350670134027,train,we believe,we doubt,We believe that 'Mary went to the office' or 'John discarded the apple' or both.,We doubt that 'Mary went to the office' or 'John discarded the apple' or both.,1,'Mary went to the office' or 'John discarded the apple' or both. Chances are slight that Brian is a rhino. It is almost certain that Mary dropped the apple. Chances are slight that Julius is a frog. It is likely that if 'Julius is a frog' or 'Brian is a rhino' or both then Gertrude is a sheep. It is unlikely that if either 'Brian is a rhino' or 'Julius is a frog' but not both then John went to the office. It is unlikely that if 'Brian is a rhino' or 'Julius is a frog' or both then Greg is green.,It is impossible that 'John went 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.95::factB. 0.1::factC. %hop1 0.7::factX:-or(factC,factA). 0.2::factY:-xor(factA,factC). 0.2::factZ:-or(factA,factC). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.0072,0.3694738947789558,train,impossible,highly likely,It is impossible that 'John went to the office and Greg is green'.,It is highly likely that 'John went to the office and Greg is green'.,1,'John went to the office and Greg is green'. Chances are slight that Mary grabbed the milk. It is impossible that Julius is white. It is probably not the case that Jessica is a cat. It is probably not the case that if 'Julius is white' or 'Jessica is a cat' or both then Brian is white. Chances are about even that if 'Julius is white and Jessica is a cat' then Bernhard is a swan. It is impossible that if 'Jessica is a cat' or 'Mary grabbed the milk' or both then John discarded the apple.,It is likely that either 'Julius is white' 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.1::factA. 0.0::factB. 0.25::factC. %hop1 0.25::factX:-or(factB,factC). 0.5::factY:-and(factB,factC). 0.0::factZ:-or(factC,factA). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.0,0.40648129625925183,train,impossible,likely,It is impossible that either 'Julius is white' or 'John discarded the apple' but not both.,It is likely that either 'Julius is white' or 'John discarded the apple' but not both.,0,Either 'Julius is white' or 'John discarded the apple' but not both. There is little chance that Julius is a swan. It is unlikely that Lily is a rhino. It is probably not the case that Winona is a sheep. There is little chance that if 'Lily is a rhino' or 'Julius is a swan' or both then John got the apple. It is almost certain that if 'Lily is a rhino and Julius is a swan' then Mary left the milk. There is a better than even chance that if either 'Lily is a rhino' or 'Julius is a swan' but not both then Greg is yellow.,There is a very good chance that either 'Lily is a rhino' or 'John 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.1::factA. 0.2::factB. 0.25::factC. %hop1 0.1::factX:-or(factB,factA). 0.95::factY:-and(factB,factA). 0.6::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.188,0.503500700140028,train,unlikely,very good chance,It is unlikely that either 'Lily is a rhino' or 'John got the apple' but not both.,There is a very good chance that either 'Lily is a rhino' or 'John got the apple' but not both.,0,Either 'Lily is a rhino' or 'John got the apple' but not both. We believe that Jason is tired. It is improbable that Greg is white. It is highly likely that Mary left the football. It is probable that if either 'Jason is tired' or 'Mary left the football' but not both then Lily is a frog. It is highly unlikely that if either 'Greg is white' or 'Jason is tired' but not both then Winona is a cat. It is improbable that if 'Greg is white' or 'Jason is tired' or both then John dropped the milk.,It is almost certain that 'John dropped the milk' or 'Greg 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.75::factA. 0.1::factB. 0.9::factC. %hop1 0.7::factX:-xor(factA,factC). 0.05::factY:-xor(factB,factA). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.16750000000000007,0.6635327065413082,train,we doubt,almost certain,We doubt that 'John dropped the milk' or 'Greg is white' or both.,It is almost certain that 'John dropped the milk' or 'Greg is white' or both.,0,'John dropped the milk' or 'Greg is white' or both. Chances are about even that Jeff discarded the milk. It is improbable that Fred is in the school. Chances are about even that Greg is a swan. It is improbable that if 'Greg is a swan' or 'Jeff discarded the milk' or both then Brian is white. We believe that if 'Fred is in the school and Jeff discarded the milk' then Bernhard is yellow. It is probably not the case that if 'Fred is in the school and Greg is a swan' then John dropped the apple.,It is highly unlikely that 'Brian 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.5::factA. 0.1::factB. 0.5::factC. %hop1 0.1::factX:-or(factC,factA). 0.75::factY:-and(factB,factA). 0.25::factZ:-and(factB,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.05000000000000001,0.7889577915583117,train,highly unlikely,almost certain,It is highly unlikely that 'Brian is white and Jeff discarded the milk'.,It is almost certain that 'Brian is white and Jeff discarded the milk'.,1,'Brian is white and Jeff discarded the milk'. We doubt that John picked up the apple. There is almost no chance that Greg is a lion. Chances are about even that Mary went to the office. Chances are slight that if 'Mary went to the office' or 'Greg is a lion' or both then Fred left the football. It is highly likely that if either 'Greg is a lion' or 'Mary went to the office' but not both then Julius is a swan. It is probable that if either 'Mary went to the office' or 'Greg is a lion' but not both then Lily is a swan.,It is probably not the case that 'Mary went to the office 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.02::factB. 0.5::factC. %hop1 0.1::factX:-or(factC,factB). 0.9::factY:-xor(factB,factC). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.343,0.5207041408281656,train,probably not,likely,It is probably not the case that 'Mary went to the office and Lily is a swan'.,It is likely that 'Mary went to the office and Lily is a swan'.,1,'Mary went to the office and Lily is a swan'. It is almost certain that Gertrude is a wolf. There is almost no chance that Lily is a swan. Chances are slight that Brian is yellow. We doubt that if 'Lily is a swan and Gertrude is a wolf' then Antoine is bored. Chances are slight that if either 'Lily is a swan' or 'Gertrude is a wolf' but not both then Julius is white. It is probably not the case that if 'Brian is yellow' or 'Gertrude is a wolf' or both then Mary took the milk.,It is probably not the case that either 'Mary took the milk' 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.95::factA. 0.02::factB. 0.1::factC. %hop1 0.2::factX:-and(factB,factA). 0.1::factY:-xor(factB,factA). 0.25::factZ:-or(factC,factA). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.28539499999999995,0.22384476895379077,train,probably not,probable,It is probably not the case that either 'Mary took the milk' or 'Julius is white' but not both.,It is probable that either 'Mary took the milk' or 'Julius is white' but not both.,1,Either 'Mary took the milk' or 'Julius is white' but not both. There is a better than even chance that Brian is a frog. Chances are about even that Jeff moved to the garden. There is almost no chance that Sandra took the football. Chances are about even that if 'Sandra took the football and Jeff moved to the garden' then Julius is a swan. It is almost certain that if 'Sandra took the football' or 'Jeff moved to the garden' or both then Greg is a swan. It is likely that if 'Brian is a frog' or 'Jeff moved to the garden' or both then Mary went to the hallway.,There is a better than even chance that 'Mary went to the hallway' 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.5::factB. 0.02::factC. %hop1 0.5::factX:-and(factC,factB). 0.95::factY:-or(factC,factB). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.5615,0.636127225445089,train,better than even,almost no chance,There is a better than even chance that 'Mary went to the hallway' or 'Julius is a swan' or both.,There is almost no chance that 'Mary went to the hallway' or 'Julius is a swan' or both.,1,'Mary went to the hallway' or 'Julius is a swan' or both. Chances are slight that Greg is a rhino. It is certain that Sandra left the football. We doubt that Daniel took the apple. There is a better than even chance that if 'Daniel took the apple and Sandra left the football' then Jessica is a cat. There is a better than even chance that if 'Daniel took the apple' or 'Sandra left the football' or both then Winona is a wolf. We believe that if either 'Greg is a rhino' or 'Sandra left the football' but not both then Julius is a swan.,It is highly likely that 'Greg is a rhino 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.1::factA. 1.0::factB. 0.2::factC. %hop1 0.6::factX:-and(factC,factB). 0.6::factY:-or(factC,factB). 0.75::factZ:-xor(factA,factB). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.06,0.6975395079015804,train,highly unlikely,highly likely,It is highly unlikely that 'Greg is a rhino and Winona is a wolf'.,It is highly likely that 'Greg is a rhino and Winona is a wolf'.,0,'Greg is a rhino and Winona is a wolf'. There is a better than even chance that John moved to the office. It is certain that Julius is a rhino. It is highly unlikely that Bernhard is gray. It is certain that if 'Bernhard is gray and John moved to the office' then Brian is yellow. It is probably not the case that if 'John moved to the office' or 'Bernhard is gray' or both then Mary put down the apple. It is certain that if 'Bernhard is gray' or 'John moved to the office' or both then Winona is a wolf.,There is almost no chance that 'John moved to the office 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.6::factA. 1.0::factB. 0.05::factC. %hop1 1.0::factX:-and(factC,factA). 0.25::factY:-or(factA,factC). 1.0::factZ:-or(factC,factA). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.029999999999999995,0.011402280456091218,train,almost no chance,very good chance,There is almost no chance that 'John moved to the office and Bernhard is gray'.,There is a very good chance that 'John moved to the office and Bernhard is gray'.,1,'John moved to the office and Bernhard is gray'. Chances are about even that Sumit is tired. It is likely that Antoine is thirsty. Chances are slight that Brian is a lion. We doubt that if either 'Brian is a lion' or 'Antoine is thirsty' but not both then Winona is a mouse. It is probably the case that if 'Antoine is thirsty' or 'Sumit is tired' or both then Bernhard is a frog. Chances are slight that if either 'Brian is a lion' or 'Antoine is thirsty' but not both then John moved to the garden.,It is almost certain that 'Sumit is tired and Antoine 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.5::factA. 0.7::factB. 0.1::factC. %hop1 0.2::factX:-xor(factC,factB). 0.7::factY:-or(factB,factA). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.3499999999999999,0.3614722944588918,train,probably not,almost certain,It is probably not the case that 'Sumit is tired and Antoine is thirsty'.,It is almost certain that 'Sumit is tired and Antoine is thirsty'.,0,'Sumit is tired and Antoine is thirsty'. It is highly unlikely that Fred put down the apple. It is probably the case that Gertrude is a cat. It is probably the case that John went to the kitchen. It is almost certain that if 'John went to the kitchen and Fred put down the apple' then Bill left the football. We doubt that if 'John went to the kitchen and Gertrude is a cat' then Greg is a rhino. We doubt that if 'John went to the kitchen' or 'Fred put down the apple' or both then Jeff discarded the milk.,It is likely that 'Fred put down the apple 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.05::factA. 0.7::factB. 0.7::factC. %hop1 0.95::factX:-and(factC,factA). 0.2::factY:-and(factC,factB). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.035,0.4380876175235047,train,highly unlikely,likely,It is highly unlikely that 'Fred put down the apple and Gertrude is a cat'.,It is likely that 'Fred put down the apple and Gertrude is a cat'.,0,'Fred put down the apple and Gertrude is a cat'. It is unlikely that Brian is a swan. There is a very good chance that Julius is yellow. It is probable that John discarded the milk. It is highly likely that if 'Brian is a swan and Julius is yellow' then Mary got the apple. We believe that if either 'Brian is a swan' or 'John discarded the milk' but not both then Greg is green. It is impossible that if either 'Brian is a swan' or 'Julius is yellow' but not both then Fred is in the office.,It is unlikely that either 'Brian is a swan' or 'Fred is in 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.2::factA. 0.8::factB. 0.7::factC. %hop1 0.9::factX:-and(factA,factB). 0.75::factY:-xor(factA,factC). 0.0::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.2,0.15403080616123224,train,unlikely,likely,It is unlikely that either 'Brian is a swan' or 'Fred is in the office' but not both.,It is likely that either 'Brian is a swan' or 'Fred is in the office' but not both.,1,Either 'Brian is a swan' or 'Fred is in the office' but not both. It is unlikely that Lily is a swan. It is unlikely that Mary went to the kitchen. There is almost no chance that Sumit is thirsty. We believe that if 'Mary went to the kitchen and Lily is a swan' then Julius is white. We believe that if 'Sumit is thirsty' or 'Mary went to the kitchen' or both then Greg is a rhino. We doubt that if 'Sumit is thirsty' or 'Mary went to the kitchen' or both then Brian is white.,It is highly likely that either 'Sumit is thirsty' 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.2::factA. 0.2::factB. 0.02::factC. %hop1 0.75::factX:-and(factB,factA). 0.75::factY:-or(factC,factB). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.21200000000000002,0.7869573914782957,train,we doubt,highly likely,We doubt that either 'Sumit is thirsty' or 'Lily is a swan' but not both.,It is highly likely that either 'Sumit is thirsty' or 'Lily is a swan' but not both.,0,Either 'Sumit is thirsty' or 'Lily is a swan' but not both. It is probably the case that Brian is white. It is unlikely that Julius is yellow. It is almost certain that John put down the apple. It is impossible that if either 'Julius is yellow' or 'Brian is white' but not both then Bernhard is a swan. It is unlikely that if 'Julius is yellow' or 'John put down the apple' or both then Mary left the football. It is highly likely that if 'John put down the apple' or 'Julius is yellow' or both then Lily is a lion.,It is unlikely that 'Lily is a lion' 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.7::factA. 0.2::factB. 0.95::factC. %hop1 0.0::factX:-xor(factB,factA). 0.2::factY:-or(factB,factC). 0.9::factZ:-or(factC,factB). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.9591999999999999,0.5603120624124825,train,almost certain,unlikely,It is almost certain that 'Lily is a lion' or 'Brian is white' or both.,It is unlikely that 'Lily is a lion' or 'Brian is white' or both.,0,'Lily is a lion' or 'Brian is white' or both. It is highly likely that Bernhard is a swan. Chances are about even that Jessica is a cat. It is highly unlikely that Fred went to the garden. We doubt that if 'Fred went to the garden' or 'Jessica is a cat' or both then John moved to the office. It is highly unlikely that if 'Fred went to the garden and Bernhard is a swan' then Brian is a rhino. It is probably the case that if 'Bernhard is a swan and Jessica is a cat' then Emily is a sheep.,It is highly likely that 'Emily is a sheep' 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.9::factA. 0.5::factB. 0.05::factC. %hop1 0.2::factX:-or(factC,factB). 0.05::factY:-and(factC,factA). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.9,0.6807361472294459,train,highly likely,impossible,It is highly likely that 'Emily is a sheep' or 'Bernhard is a swan' or both.,It is impossible that 'Emily is a sheep' or 'Bernhard is a swan' or both.,1,'Emily is a sheep' or 'Bernhard is a swan' or both. There is almost no chance that Brian is white. It is unlikely that Sandra left the milk. Chances are about even that Bernhard is gray. It is improbable that if 'Bernhard is gray' or 'Brian is white' or both then John dropped the milk. It is likely that if 'Bernhard is gray and Brian is white' then Fred put down the apple. There is almost no chance that if 'Sandra left the milk' or 'Brian is white' or both then Mary went to the kitchen.,It is impossible that 'Mary went to the kitchen 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.02::factA. 0.2::factB. 0.5::factC. %hop1 0.1::factX:-or(factC,factA). 0.7::factY:-and(factC,factA). 0.02::factZ:-or(factB,factA). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.0021600000000000005,0.15663132626525306,train,impossible,better than even,It is impossible that 'Mary went to the kitchen and Bernhard is gray'.,There is a better than even chance that 'Mary went to the kitchen and Bernhard is gray'.,1,'Mary went to the kitchen and Bernhard is gray'. It is unlikely that Julius is a swan. There is a better than even chance that Mary went to the bedroom. It is certain that Brian is gray. It is likely that if either 'Julius is a swan' or 'Brian is gray' but not both then John put down the milk. It is highly likely that if 'Brian is gray' or 'Mary went to the bedroom' or both then Jeff moved to the office. It is improbable that if 'Mary went to the bedroom' or 'Brian is gray' or both then Greg is yellow.,It is improbable that 'Brian is gray 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.2::factA. 0.6::factB. 1.0::factC. %hop1 0.7::factX:-xor(factA,factC). 0.9::factY:-or(factC,factB). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.10000000000000002,0.27965593118623727,train,improbable,we believe,It is improbable that 'Brian is gray and Greg is yellow'.,We believe that 'Brian is gray and Greg is yellow'.,1,'Brian is gray and Greg is yellow'. There is a better than even chance that Emily is a wolf. It is probably the case that Jessica is a cat. It is impossible that Mary went to the hallway. It is probably not the case that if 'Mary went to the hallway and Jessica is a cat' then Julius is a swan. We believe that if 'Mary went to the hallway' or 'Jessica is a cat' or both then Brian is a frog. It is probably the case that if 'Jessica is a cat' or 'Mary went to the hallway' or both then Jason is tired.,Chances are about even that 'Julius is a swan 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.7::factB. 0.0::factC. %hop1 0.25::factX:-and(factC,factB). 0.75::factY:-or(factC,factB). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.0,0.6861372274454891,train,impossible,about even,It is impossible that 'Julius is a swan and Jason is tired'.,Chances are about even that 'Julius is a swan and Jason is tired'.,0,'Julius is a swan and Jason is tired'. It is likely that Julius is green. There is almost no chance that Greg is a lion. It is improbable that Brian is gray. There is little chance that if either 'Julius is green' or 'Greg is a lion' but not both then Mary is in the bathroom. It is highly likely that if 'Greg is a lion and Julius is green' then Jeff moved to the garden. It is certain that if either 'Greg is a lion' or 'Julius is green' but not both then Bernhard is yellow.,There is a better than even chance that either 'Mary is in the bathroom' 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.7::factA. 0.02::factB. 0.1::factC. %hop1 0.1::factX:-xor(factA,factB). 0.9::factY:-and(factB,factA). 1.0::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.6227999999999999,0.11562312462492498,train,better than even,impossible,There is a better than even chance that either 'Mary is in the bathroom' or 'Bernhard is yellow' but not both.,It is impossible that either 'Mary is in the bathroom' or 'Bernhard is yellow' but not both.,1,Either 'Mary is in the bathroom' or 'Bernhard is yellow' but not both. It is almost certain that Antoine is hungry. We doubt that Lily is green. It is certain that John went to the bedroom. Chances are about even that if either 'Lily is green' or 'Antoine is hungry' but not both then Sandra dropped the milk. It is highly likely that if 'Antoine is hungry and John went to the bedroom' then Brian is a frog. It is probably the case that if 'John went to the bedroom' or 'Lily is green' or both then Mary picked up the apple.,It is highly likely that 'Lily is green' or 'Brian 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.95::factA. 0.2::factB. 1.0::factC. %hop1 0.5::factX:-xor(factB,factA). 0.9::factY:-and(factA,factC). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.884,0.6971394278855771,train,highly likely,improbable,It is highly likely that 'Lily is green' or 'Brian is a frog' or both.,It is improbable that 'Lily is green' or 'Brian is a frog' or both.,1,'Lily is green' or 'Brian is a frog' or both. We doubt that John left the football. There is almost no chance that Brian is green. There is almost no chance that Lily is a swan. We doubt that if 'John left the football and Lily is a swan' then Yann is tired. There is a better than even chance that if either 'Brian is green' or 'Lily is a swan' but not both then Julius is a rhino. We believe that if 'John left the football' or 'Lily is a swan' or both then Mary moved to the garden.,There is a better than even chance that 'Yann is tired 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.2::factA. 0.02::factB. 0.02::factC. %hop1 0.2::factX:-and(factA,factC). 0.6::factY:-xor(factB,factC). 0.75::factZ:-or(factA,factC). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.0006000000000000003,0.2536507301460292,train,impossible,better than even,It is impossible that 'Yann is tired and Mary moved to the garden'.,There is a better than even chance that 'Yann is tired and Mary moved to the garden'.,0,'Yann is tired and Mary moved to the garden'. It is unlikely that Bernhard is a swan. It is probably the case that John put down the milk. There is almost no chance that Mary picked up the apple. Chances are about even that if 'Bernhard is a swan and Mary picked up the apple' then Brian is yellow. It is unlikely that if either 'Mary picked up the apple' or 'Bernhard is a swan' but not both then Winona is a cat. It is highly unlikely that if 'John put down the milk' or 'Mary picked up the apple' or both then Lily is a rhino.,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.2::factA. 0.7::factB. 0.02::factC. %hop1 0.5::factX:-and(factA,factC). 0.2::factY:-xor(factC,factA). 0.05::factZ:-or(factB,factC). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.05330000000000001,0.6423284656931386,train,highly unlikely,likely,It is highly unlikely 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. It is impossible that Julius is a swan. It is almost certain that Mary dropped the milk. It is highly likely that Sandra left the apple. There is little chance that if 'Sandra left the apple' or 'Mary dropped the milk' or both then Greg is a rhino. We doubt that if 'Mary dropped the milk and Sandra left the apple' then Bernhard is white. It is almost certain that if 'Mary dropped the milk and Julius is a swan' then Jeff moved to the office.,Chances are slight that 'Greg 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.0::factA. 0.95::factB. 0.9::factC. %hop1 0.1::factX:-or(factC,factB). 0.2::factY:-and(factB,factC). 0.95::factZ:-and(factB,factA). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.0995,0.28665733146629324,train,chances are slight,highly likely,Chances are slight that 'Greg is a rhino' or 'Julius is a swan' or both.,It is highly likely that 'Greg is a rhino' or 'Julius is a swan' or both.,1,'Greg is a rhino' or 'Julius is a swan' or both. There is little chance that Fred went to the garden. It is almost certain that Greg is yellow. There is little chance that Lily is yellow. It is unlikely that if 'Lily is yellow' or 'Greg is yellow' or both then Bernhard is a rhino. It is unlikely that if 'Greg is yellow and Lily is yellow' then Sandra dropped the milk. It is unlikely that if 'Lily is yellow and Greg is yellow' then John discarded the milk.,It is almost certain that 'Lily is yellow' 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.1::factA. 0.95::factB. 0.1::factC. %hop1 0.2::factX:-or(factC,factB). 0.2::factY:-and(factB,factC). 0.2::factZ:-and(factC,factB). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.955,0.06881376275255051,train,almost certain,improbable,It is almost certain that 'Lily is yellow' or 'Greg is yellow' or both.,It is improbable that 'Lily is yellow' or 'Greg is yellow' or both.,1,'Lily is yellow' or 'Greg is yellow' or both. Chances are about even that Bernhard is gray. It is improbable that Sandra left the milk. It is highly unlikely that Jeff went to the hallway. It is highly likely that if 'Sandra left the milk and Jeff went to the hallway' then Julius is a lion. We believe that if either 'Sandra left the milk' or 'Jeff went to the hallway' but not both then Gertrude is a mouse. There is almost no chance that if 'Jeff went to the hallway' or 'Sandra left the milk' or both then Brian is white.,It is highly unlikely that 'Brian is white' or 'Jeff 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.5::factA. 0.1::factB. 0.05::factC. %hop1 0.9::factX:-and(factB,factC). 0.75::factY:-xor(factB,factC). 0.02::factZ:-or(factC,factB). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.051900000000000016,0.22184436887377476,train,highly unlikely,likely,It is highly unlikely that 'Brian is white' or 'Jeff went to the hallway' or both.,It is likely that 'Brian is white' or 'Jeff went to the hallway' or both.,1,'Brian is white' or 'Jeff went to the hallway' or both. It is probably not the case that Winona is a wolf. It is probably not the case that Jason is thirsty. It is unlikely that Mary went to the hallway. It is probable that if 'Jason is thirsty and Winona is a wolf' then Lily is green. Chances are about even that if either 'Jason is thirsty' or 'Mary went to the hallway' but not both then Daniel left the milk. We doubt that if either 'Mary went to the hallway' or 'Winona is a wolf' but not both then Bernhard is a rhino.,It is probably the case that either 'Winona is a wolf' or 'Lily 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.25::factB. 0.2::factC. %hop1 0.7::factX:-and(factB,factA). 0.5::factY:-xor(factB,factC). 0.2::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.20624999999999996,0.3726745349069814,train,we doubt,probably,We doubt that either 'Winona is a wolf' or 'Lily is green' but not both.,It is probably the case that either 'Winona is a wolf' or 'Lily is green' but not both.,0,Either 'Winona is a wolf' or 'Lily is green' but not both. It is almost certain that Brian is yellow. There is a very good chance that Lily is a swan. It is unlikely that Julius is green. There is a better than even chance that if either 'Lily is a swan' or 'Brian is yellow' but not both then Sandra grabbed the apple. It is probably not the case that if 'Julius is green and Lily is a swan' then Bernhard is white. It is highly unlikely that if 'Julius is green' or 'Lily is a swan' or both then Fred went to the garden.,It is likely that either 'Lily is a swan' 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.95::factA. 0.8::factB. 0.2::factC. %hop1 0.6::factX:-xor(factB,factA). 0.25::factY:-and(factC,factB). 0.05::factZ:-or(factC,factB). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.23,0.7959591918383677,train,probably not,likely,It is probably not the case that either 'Lily is a swan' or 'Brian is yellow' but not both.,It is likely that either 'Lily is a swan' or 'Brian is yellow' but not both.,0,Either 'Lily is a swan' or 'Brian is yellow' but not both. There is a better than even chance that Bernhard is a swan. It is almost certain that John went to the hallway. It is highly unlikely that Greg is yellow. There is little chance that if either 'Greg is yellow' or 'Bernhard is a swan' but not both then Jeff discarded the milk. Chances are slight that if either 'Greg is yellow' or 'Bernhard is a swan' but not both then Brian is yellow. It is highly unlikely that if 'Bernhard is a swan' or 'John went to the hallway' or both then Lily is gray.,It is improbable that 'Greg is yellow' 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.6::factA. 0.95::factB. 0.05::factC. %hop1 0.1::factX:-xor(factC,factA). 0.1::factY:-xor(factC,factA). 0.05::factZ:-or(factA,factB). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.10700000000000003,0.23084616923384677,train,improbable,almost certain,It is improbable that 'Greg is yellow' or 'Brian is yellow' or both.,It is almost certain that 'Greg is yellow' or 'Brian is yellow' or both.,1,'Greg is yellow' or 'Brian is yellow' or both. We doubt that Winona is a mouse. There is a very good chance that Jessica is a cat. There is little chance that Daniel dropped the milk. There is a better than even chance that if either 'Winona is a mouse' or 'Jessica is a cat' but not both then Mary moved to the garden. We doubt that if 'Jessica is a cat and Daniel dropped the milk' then John went to the office. It is likely that if either 'Daniel dropped the milk' or 'Winona is a mouse' but not both then Bernhard is gray.,There is a very good chance that 'Daniel dropped the milk' 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 0.2::factA. 0.8::factB. 0.1::factC. %hop1 0.6::factX:-xor(factA,factB). 0.2::factY:-and(factB,factC). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.8200000000000001,0.7779555911182237,train,very good chance,impossible,There is a very good chance that 'Daniel dropped the milk' or 'Jessica is a cat' or both.,It is impossible that 'Daniel dropped the milk' or 'Jessica is a cat' or both.,1,'Daniel dropped the milk' or 'Jessica is a cat' or both. It is highly unlikely that Gertrude is a sheep. We doubt that Bernhard is green. It is almost certain that Mary left the milk. We doubt that if 'Mary left the milk' or 'Gertrude is a sheep' or both then John picked up the apple. There is a very good chance that if either 'Mary left the milk' or 'Gertrude is a sheep' but not both then Bill went to the office. It is certain that if either 'Gertrude is a sheep' or 'Mary left the milk' but not both then Lily is a frog.,It is almost certain that 'Lily 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 0.05::factA. 0.2::factB. 0.95::factC. %hop1 0.2::factX:-or(factC,factA). 0.8::factY:-xor(factC,factA). 1.0::factZ:-xor(factA,factC). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.9524999999999999,0.265253050610122,train,almost certain,chances are slight,It is almost certain that 'Lily is a frog' or 'Gertrude is a sheep' or both.,Chances are slight that 'Lily is a frog' or 'Gertrude is a sheep' or both.,1,'Lily is a frog' or 'Gertrude is a sheep' or both. It is likely that Lily is a swan. It is likely that Winona is a cat. It is certain that Brian is white. We believe that if either 'Winona is a cat' or 'Brian is white' but not both then Yann is tired. There is a better than even chance that if 'Brian is white and Lily is a swan' then Bernhard is a rhino. It is almost certain that if either 'Lily is a swan' or 'Brian is white' but not both then Mary moved to the garden.,It is almost certain that 'Lily is a swan 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.7::factA. 0.7::factB. 1.0::factC. %hop1 0.75::factX:-xor(factB,factC). 0.6::factY:-and(factC,factA). 0.95::factZ:-xor(factA,factC). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.41999999999999993,0.7039407881576315,train,about even,almost certain,Chances are about even that 'Lily is a swan and Bernhard is a rhino'.,It is almost certain that 'Lily is a swan and Bernhard is a rhino'.,0,'Lily is a swan and Bernhard is a rhino'. There is a better than even chance that Greg is a swan. There is a better than even chance that Brian is gray. We believe that Lily is a frog. Chances are about even that if 'Lily is a frog' or 'Greg is a swan' or both then Bill moved to the office. It is certain that if either 'Greg is a swan' or 'Lily is a frog' but not both then John went to the kitchen. It is probably not the case that if either 'Brian is gray' or 'Lily is a frog' but not both then Mary left the milk.,We doubt that 'Bill moved to the office' or 'John 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.6::factA. 0.6::factB. 0.75::factC. %hop1 0.5::factX:-or(factC,factA). 1.0::factY:-xor(factA,factC). 0.25::factZ:-xor(factB,factC). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.675,0.2720544108821764,train,probable,we doubt,It is probable that 'Bill moved to the office' or 'John went to the kitchen' or both.,We doubt that 'Bill moved to the office' or 'John went to the kitchen' or both.,0,'Bill moved to the office' or 'John went to the kitchen' or both. Chances are slight that Bernhard is a swan. It is highly unlikely that Antoine is thirsty. Chances are slight that John got the milk. We believe that if either 'Antoine is thirsty' or 'Bernhard is a swan' but not both then Emily is a sheep. It is unlikely that if either 'John got the milk' or 'Antoine is thirsty' but not both then Jessica is a mouse. There is almost no chance that if 'Antoine is thirsty and John got the milk' then Greg is a frog.,It is highly likely that either 'Jessica is a mouse' 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.05::factB. 0.1::factC. %hop1 0.75::factX:-xor(factB,factA). 0.2::factY:-xor(factC,factB). 0.02::factZ:-and(factB,factC). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.12240000000000006,0.2450490098019604,train,improbable,highly likely,It is improbable that either 'Jessica is a mouse' or 'Bernhard is a swan' but not both.,It is highly likely that either 'Jessica is a mouse' or 'Bernhard is a swan' but not both.,0,Either 'Jessica is a mouse' or 'Bernhard is a swan' but not both. Chances are about even that Jason is thirsty. Chances are slight that Sandra put down the milk. It is unlikely that Brian is a swan. It is probable that if 'Brian is a swan and Jason is thirsty' then Julius is a frog. It is likely that if 'Brian is a swan and Sandra put down the milk' then Mary went to the office. It is probable that if either 'Brian is a swan' or 'Jason is thirsty' but not both then Daniel dropped the apple.,There is a better than even chance that 'Daniel dropped the apple' or 'Jason 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.5::factA. 0.1::factB. 0.2::factC. %hop1 0.7::factX:-and(factC,factA). 0.7::factY:-and(factC,factB). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.5700000000000001,0.5671134226845369,train,better than even,impossible,There is a better than even chance that 'Daniel dropped the apple' or 'Jason is thirsty' or both.,It is impossible that 'Daniel dropped the apple' or 'Jason is thirsty' or both.,1,'Daniel dropped the apple' or 'Jason is thirsty' or both. It is certain that Daniel took the apple. There is little chance that Julius is a lion. It is likely that Mary left the milk. It is highly unlikely that if 'Daniel took the apple and Mary left the milk' then Gertrude is a cat. It is unlikely that if either 'Daniel took the apple' or 'Julius is a lion' but not both then Brian is yellow. We believe that if either 'Julius is a lion' or 'Mary left the milk' but not both then Greg is white.,Chances are about even that 'Julius is a lion' or 'Daniel 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 1.0::factA. 0.1::factB. 0.7::factC. %hop1 0.05::factX:-and(factA,factC). 0.2::factY:-xor(factA,factB). 0.75::factZ:-xor(factB,factC). %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.1878375675135027,train,certain,about even,It is certain that 'Julius is a lion' or 'Daniel took the apple' or both.,Chances are about even that 'Julius is a lion' or 'Daniel took the apple' or both.,0,'Julius is a lion' or 'Daniel took the apple' or both. It is certain that Jeff put down the milk. There is almost no chance that John got the milk. Chances are about even that Lily is gray. We doubt that if 'John got the milk and Jeff put down the milk' then Greg is white. There is little chance that if either 'Lily is gray' or 'Jeff put down the milk' but not both then Brian is a frog. It is probably the case that if 'John got the milk and Lily is gray' then Mary went to the garden.,We believe that 'Jeff 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 1.0::factA. 0.02::factB. 0.5::factC. %hop1 0.2::factX:-and(factB,factA). 0.1::factY:-xor(factC,factA). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.004000000000000002,0.3244648929785957,train,impossible,we believe,It is impossible that 'Jeff put down the milk and Greg is white'.,We believe that 'Jeff put down the milk and Greg is white'.,0,'Jeff put down the milk and Greg is white'. Chances are about even that Mary dropped the apple. There is little chance that Brian is yellow. It is unlikely that Daniel got the milk. We doubt that if 'Mary dropped the apple' or 'Daniel got the milk' or both then Greg is a rhino. It is impossible that if 'Daniel got the milk' or 'Mary dropped the apple' or both then Lily is green. We doubt that if 'Daniel got the milk and Mary dropped the apple' then John went to the hallway.,There is a very good chance that 'Greg is a rhino' 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.5::factA. 0.1::factB. 0.2::factC. %hop1 0.2::factX:-or(factA,factC). 0.0::factY:-or(factC,factA). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.12000000000000001,0.3074614922984597,train,little chance,very good chance,There is little chance that 'Greg is a rhino' or 'Lily is green' or both.,There is a very good chance that 'Greg is a rhino' or 'Lily is green' or both.,0,'Greg is a rhino' or 'Lily is green' or both. It is improbable that John put down the milk. It is probably not the case that Mary took the milk. We believe that Bernhard is yellow. It is highly likely that if either 'Bernhard is yellow' or 'John put down the milk' but not both then Winona is a wolf. There is a very good chance that if 'Bernhard is yellow and John put down the milk' then Brian is a swan. There is almost no chance that if either 'John put down the milk' or 'Bernhard is yellow' but not both then Lily is white.,It is almost certain that 'Brian is a swan' 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 0.1::factA. 0.25::factB. 0.75::factC. %hop1 0.9::factX:-xor(factC,factA). 0.8::factY:-and(factC,factA). 0.02::factZ:-xor(factA,factC). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.10000000000000002,0.010802160432086417,train,little chance,almost certain,There is little chance that 'Brian is a swan' or 'John put down the milk' or both.,It is almost certain that 'Brian is a swan' or 'John put down the milk' or both.,0,'Brian is a swan' or 'John put down the milk' or both. Chances are slight that Sandra left the milk. It is unlikely that Bill went to the garden. It is probably the case that John picked up the milk. Chances are about even that if 'Bill went to the garden and Sandra left the milk' then Greg is a frog. There is a very good chance that if 'Sandra left the milk and Bill went to the garden' then Lily is yellow. Chances are slight that if 'Sandra left the milk and John picked up the milk' then Bernhard is green.,There is a better than even chance that 'Sandra left the milk 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.1::factA. 0.2::factB. 0.7::factC. %hop1 0.5::factX:-and(factB,factA). 0.8::factY:-and(factA,factB). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.01600000000000001,0.5343068613722745,train,almost no chance,better than even,There is almost no chance that 'Sandra left the milk and Lily is yellow'.,There is a better than even chance that 'Sandra left the milk and Lily is yellow'.,0,'Sandra left the milk and Lily is yellow'. There is a very good chance that Greg is yellow. It is probable that Sandra got the milk. Chances are about even that Winona is a wolf. It is unlikely that if 'Sandra got the milk and Greg is yellow' then Brian is yellow. There is a better than even chance that if either 'Sandra got the milk' or 'Greg is yellow' but not both then Jeff moved to the garden. It is certain that if 'Winona is a wolf' or 'Greg is yellow' or both then Julius is white.,It is likely that 'Julius is white and Jeff 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.8::factA. 0.7::factB. 0.5::factC. %hop1 0.2::factX:-and(factB,factA). 0.6::factY:-xor(factB,factA). 1.0::factZ:-or(factC,factA). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.186,0.3824764952990598,train,we doubt,likely,We doubt that 'Julius is white and Jeff moved to the garden'.,It is likely that 'Julius is white and Jeff moved to the garden'.,0,'Julius is white and Jeff moved to the garden'. It is probably not the case that Jason is tired. We doubt that Lily is a frog. It is probable that John moved to the garden. It is probably the case that if 'John moved to the garden' or 'Jason is tired' or both then Julius is a rhino. It is probably the case that if 'Jason is tired' or 'Lily is a frog' or both then Jessica is a sheep. Chances are about even that if 'Jason is tired and Lily is a frog' then Mary went to the office.,It is unlikely that 'Jessica is a sheep 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.2::factB. 0.7::factC. %hop1 0.7::factX:-or(factC,factA). 0.7::factY:-or(factA,factB). 0.5::factZ:-and(factA,factB). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.175,0.2484496899379876,train,unlikely,very good chance,It is unlikely that 'Jessica is a sheep and Jason is tired'.,There is a very good chance that 'Jessica is a sheep and Jason is tired'.,1,'Jessica is a sheep and Jason is tired'. Chances are slight that Gertrude is a cat. It is unlikely that Jason is thirsty. We doubt that John dropped the apple. It is probably not the case that if 'Jason is thirsty' or 'John dropped the apple' or both then Greg is a swan. There is almost no chance that if 'Gertrude is a cat and Jason is thirsty' then Julius is a lion. It is highly likely that if 'Jason is thirsty and John dropped the apple' then Bernhard is yellow.,It is unlikely that either 'John dropped 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.1::factA. 0.2::factB. 0.2::factC. %hop1 0.25::factX:-or(factB,factC). 0.02::factY:-and(factA,factB). 0.9::factZ:-and(factB,factC). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.19,0.3386677335467093,train,unlikely,highly likely,It is unlikely that either 'John dropped the apple' or 'Greg is a swan' but not both.,It is highly likely that either 'John dropped the apple' or 'Greg is a swan' but not both.,1,Either 'John dropped the apple' or 'Greg is a swan' but not both. There is a better than even chance that Winona is a sheep. It is likely that Mary dropped the apple. There is almost no chance that Brian is white. There is a very good chance that if 'Mary dropped the apple' or 'Brian is white' or both then Lily is a rhino. It is likely that if 'Winona is a sheep' or 'Mary dropped the apple' or both then Bill went to the kitchen. There is little chance that if 'Winona is a sheep' or 'Brian is white' or both then Greg is a lion.,It is highly unlikely that either 'Mary dropped the apple' 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.6::factA. 0.7::factB. 0.02::factC. %hop1 0.8::factX:-or(factB,factC). 0.7::factY:-or(factA,factB). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.45999999999999996,0.4418883776755351,train,about even,highly unlikely,Chances are about even that either 'Mary dropped the apple' or 'Winona is a sheep' but not both.,It is highly unlikely that either 'Mary dropped the apple' or 'Winona is a sheep' but not both.,0,Either 'Mary dropped the apple' or 'Winona is a sheep' but not both. It is probable that Brian is a frog. There is almost no chance that Julius is yellow. It is impossible that Jeff dropped the apple. There is little chance that if 'Julius is yellow and Jeff dropped the apple' then John went to the hallway. It is impossible that if either 'Brian is a frog' or 'Julius is yellow' but not both then Bill moved to the office. It is highly unlikely that if 'Brian is a frog and Julius is yellow' then Bernhard is yellow.,It is impossible that 'John went to the hallway 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.7::factA. 0.02::factB. 0.0::factC. %hop1 0.1::factX:-and(factB,factC). 0.0::factY:-xor(factA,factB). 0.05::factZ:-and(factA,factB). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.0,0.12822564512902582,train,impossible,probably,It is impossible that 'John went to the hallway and Julius is yellow'.,It is probably the case that 'John went to the hallway and Julius is yellow'.,1,'John went to the hallway and Julius is yellow'. It is improbable that Winona is a mouse. It is almost certain that Mary got the football. There is little chance that Julius is a rhino. We believe that if either 'Julius is a rhino' or 'Mary got the football' but not both then John went to the hallway. It is almost certain that if 'Mary got the football and Julius is a rhino' then Gertrude is a sheep. It is probable that if 'Winona is a mouse and Julius is a rhino' then Jeff left the apple.,It is highly likely that either 'Mary got the football' 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. 0.95::factB. 0.1::factC. %hop1 0.75::factX:-xor(factC,factB). 0.95::factY:-and(factB,factC). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.85975,0.7729545909181836,train,highly likely,highly unlikely,It is highly likely that either 'Mary got the football' or 'Gertrude is a sheep' but not both.,It is highly unlikely that either 'Mary got the football' or 'Gertrude is a sheep' but not both.,1,Either 'Mary got the football' or 'Gertrude is a sheep' but not both. Chances are slight that Brian is white. It is unlikely that Jessica is a sheep. There is a better than even chance that Julius is a lion. Chances are about even that if either 'Brian is white' or 'Jessica is a sheep' but not both then Bernhard is yellow. We doubt that if 'Jessica is a sheep and Julius is a lion' then Daniel put down the milk. Chances are about even that if 'Jessica is a sheep and Julius is a lion' then Lily is green.,Chances are slight that either 'Lily is green' or 'Jessica 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. 0.2::factB. 0.6::factC. %hop1 0.5::factX:-xor(factA,factB). 0.2::factY:-and(factB,factC). 0.5::factZ:-and(factB,factC). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.14000000000000004,0.6195239047809562,train,chances are slight,likely,Chances are slight that either 'Lily is green' or 'Jessica is a sheep' but not both.,It is likely that either 'Lily is green' or 'Jessica is a sheep' but not both.,1,Either 'Lily is green' or 'Jessica is a sheep' but not both. It is impossible that Julius is gray. There is little chance that John went to the garden. It is probable that Jeff left the football. There is little chance that if either 'John went to the garden' or 'Jeff left the football' but not both then Gertrude is a sheep. Chances are about even that if either 'John went to the garden' or 'Julius is gray' but not both then Fred put down the apple. Chances are slight that if either 'Jeff left the football' or 'Julius is gray' but not both then Lily is a frog.,It is highly unlikely that either 'Fred put down the apple' or 'John 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.0::factA. 0.1::factB. 0.7::factC. %hop1 0.1::factX:-xor(factB,factC). 0.5::factY:-xor(factB,factA). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.05000000000000001,0.48189637927585516,train,highly unlikely,probably,It is highly unlikely that either 'Fred put down the apple' or 'John went to the garden' but not both.,It is probably the case that either 'Fred put down the apple' or 'John went to the garden' but not both.,1,Either 'Fred put down the apple' or 'John went to the garden' but not both. It is certain that Daniel grabbed the milk. It is highly unlikely that Antoine is hungry. There is almost no chance that Brian is a rhino. There is almost no chance that if 'Antoine is hungry' or 'Brian is a rhino' or both then Lily is white. There is a very good chance that if 'Brian is a rhino and Daniel grabbed the milk' then Winona is a mouse. It is highly unlikely that if 'Antoine is hungry' or 'Daniel grabbed the milk' or both then Jessica is a sheep.,It is impossible that either 'Winona is a mouse' 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 1.0::factA. 0.05::factB. 0.02::factC. %hop1 0.02::factX:-or(factB,factC). 0.8::factY:-and(factC,factA). 0.05::factZ:-or(factB,factA). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.004000000000000002,0.02660532106421284,train,impossible,probable,It is impossible that either 'Winona is a mouse' or 'Brian is a rhino' but not both.,It is probable that either 'Winona is a mouse' or 'Brian is a rhino' but not both.,1,Either 'Winona is a mouse' or 'Brian is a rhino' but not both. Chances are about even that Jason is tired. It is almost certain that Sandra took the football. There is almost no chance that Greg is a rhino. It is highly likely that if 'Jason is tired' or 'Greg is a rhino' or both then Jessica is a cat. It is likely that if either 'Jason is tired' or 'Greg is a rhino' but not both then Lily is a swan. It is improbable that if 'Sandra took the football' or 'Jason is tired' or both then John went to the bedroom.,It is almost certain that 'Sandra took the football' 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.5::factA. 0.95::factB. 0.02::factC. %hop1 0.9::factX:-or(factA,factC). 0.7::factY:-xor(factA,factC). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.9675,0.6133226645329066,train,almost certain,probably not,It is almost certain that 'Sandra took the football' or 'Lily is a swan' or both.,It is probably not the case that 'Sandra took the football' or 'Lily is a swan' or both.,1,'Sandra took the football' or 'Lily is a swan' or both. It is probably the case that Bernhard is a lion. There is almost no chance that John went to the hallway. It is probably the case that Brian is a swan. It is almost certain that if either 'Brian is a swan' or 'Bernhard is a lion' but not both then Sandra dropped the milk. It is impossible that if either 'Brian is a swan' or 'John went to the hallway' but not both then Fred moved to the office. We believe that if 'Bernhard is a lion' or 'John went to the hallway' or both then Mary put down the apple.,It is highly unlikely that 'Bernhard is a lion 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.7::factA. 0.02::factB. 0.7::factC. %hop1 0.95::factX:-xor(factC,factA). 0.0::factY:-xor(factC,factB). 0.75::factZ:-or(factA,factB). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.48999999999999994,0.48009601920384076,train,about even,highly unlikely,Chances are about even that 'Bernhard is a lion and Brian is a swan'.,It is highly unlikely that 'Bernhard is a lion and Brian is a swan'.,0,'Bernhard is a lion and Brian is a swan'. It is likely that Greg is a frog. It is highly likely that Lily is green. It is certain that Bernhard is gray. It is highly unlikely that if 'Greg is a frog' or 'Lily is green' or both then Antoine is hungry. It is highly likely that if 'Bernhard is gray' or 'Greg is a frog' or both then Julius is a swan. There is a very good chance that if either 'Lily is green' or 'Bernhard is gray' but not both then Mary dropped the milk.,There is almost no chance that either 'Julius is a swan' or 'Antoine is hungry' 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. 1.0::factC. %hop1 0.05::factX:-or(factA,factB). 0.9::factY:-or(factC,factA). 0.8::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.8612,0.1904380876175235,train,highly likely,almost no chance,It is highly likely that either 'Julius is a swan' or 'Antoine is hungry' but not both.,There is almost no chance that either 'Julius is a swan' or 'Antoine is hungry' but not both.,0,Either 'Julius is a swan' or 'Antoine is hungry' but not both. It is certain that Mary moved to the office. It is probably the case that John took the football. There is a better than even chance that Bernhard is gray. It is highly likely that if 'John took the football and Mary moved to the office' then Daniel dropped the apple. There is a better than even chance that if 'Bernhard is gray' or 'Mary moved to the office' or both then Julius is a lion. It is certain that if 'Bernhard is gray and John took the football' then Greg is a rhino.,It is highly unlikely that 'John took the football 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 1.0::factA. 0.7::factB. 0.6::factC. %hop1 0.9::factX:-and(factB,factA). 0.6::factY:-or(factC,factA). 1.0::factZ:-and(factC,factB). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.7,0.4434886977395479,train,likely,highly unlikely,It is likely that 'John took the football and Mary moved to the office'.,It is highly unlikely that 'John took the football and Mary moved to the office'.,0,'John took the football and Mary moved to the office'. Chances are about even that Antoine is bored. It is probably not the case that Jeff moved to the garden. It is likely that Brian is a frog. We believe that if 'Jeff moved to the garden' or 'Antoine is bored' or both then Greg is a swan. It is almost certain that if 'Antoine is bored and Jeff moved to the garden' then Mary got the football. It is certain that if 'Brian is a frog and Jeff moved to the garden' then Lily is white.,It is unlikely that 'Jeff moved to the garden and Greg 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.5::factA. 0.25::factB. 0.7::factC. %hop1 0.75::factX:-or(factB,factA). 0.95::factY:-and(factA,factB). 1.0::factZ:-and(factC,factB). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.1875,0.6985397079415884,train,unlikely,we believe,It is unlikely that 'Jeff moved to the garden and Greg is a swan'.,We believe that 'Jeff moved to the garden and Greg is a swan'.,1,'Jeff moved to the garden and Greg is a swan'. Chances are slight that Greg is a rhino. It is probably not the case that Fred dropped the milk. We doubt that Mary left the apple. There is almost no chance that if either 'Fred dropped the milk' or 'Mary left the apple' but not both then Bill moved to the office. It is highly likely that if either 'Mary left the apple' or 'Fred dropped the milk' but not both then Brian is a swan. There is little chance that if 'Greg is a rhino' or 'Fred dropped the milk' or both then Julius is a lion.,It is impossible that 'Brian is a swan' or 'Mary 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.1::factA. 0.25::factB. 0.2::factC. %hop1 0.02::factX:-xor(factB,factC). 0.9::factY:-xor(factC,factB). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.38000000000000006,0.46689337867573516,train,about even,impossible,Chances are about even that 'Brian is a swan' or 'Mary left the apple' or both.,It is impossible that 'Brian is a swan' or 'Mary left the apple' or both.,0,'Brian is a swan' or 'Mary left the apple' or both. There is a very good chance that Jessica is a sheep. It is probable that Julius is a rhino. It is improbable that Brian is green. It is certain that if either 'Jessica is a sheep' or 'Brian is green' but not both then Jason is bored. It is highly likely that if 'Brian is green and Jessica is a sheep' then Mary left the apple. There is little chance that if either 'Julius is a rhino' or 'Brian is green' but not both then Lily is a swan.,It is probable that either 'Brian is green' 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.8::factA. 0.7::factB. 0.1::factC. %hop1 1.0::factX:-xor(factA,factC). 0.9::factY:-and(factC,factA). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.16000000000000003,0.39267853570714145,train,we doubt,probable,We doubt that either 'Brian is green' or 'Lily is a swan' but not both.,It is probable that either 'Brian is green' or 'Lily is a swan' but not both.,0,Either 'Brian is green' or 'Lily is a swan' but not both. It is highly unlikely that Jessica is a mouse. We believe that Brian is white. Chances are about even that Bernhard is yellow. It is impossible that if 'Bernhard is yellow' or 'Jessica is a mouse' or both then John went to the kitchen. It is impossible that if 'Bernhard is yellow' or 'Jessica is a mouse' or both then Bill left the milk. It is probably the case that if 'Jessica is a mouse and Bernhard is yellow' then Lily is a lion.,It is almost certain that 'Lily is a lion 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.05::factA. 0.75::factB. 0.5::factC. %hop1 0.0::factX:-or(factC,factA). 0.0::factY:-or(factC,factA). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.0,0.6309261852370475,train,impossible,almost certain,It is impossible that 'Lily is a lion and John went to the kitchen'.,It is almost certain that 'Lily is a lion and John went to the kitchen'.,0,'Lily is a lion and John went to the kitchen'. There is a very good chance that Julius is a swan. It is certain that Bernhard is a frog. There is almost no chance that Fred is in the school. There is a better than even chance that if either 'Julius is a swan' or 'Fred is in the school' but not both then Daniel dropped the apple. There is a better than even chance that if either 'Fred is in the school' or 'Bernhard is a frog' but not both then Brian is a lion. There is little chance that if 'Fred is in the school' or 'Bernhard is a frog' or both then Sandra left the milk.,There is almost no chance that either 'Julius is a swan' or 'Sandra 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.8::factA. 1.0::factB. 0.02::factC. %hop1 0.6::factX:-xor(factA,factC). 0.6::factY:-xor(factC,factB). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.74,0.3108621724344869,train,we believe,almost no chance,We believe that either 'Julius is a swan' or 'Sandra left the milk' but not both.,There is almost no chance that either 'Julius is a swan' or 'Sandra left the milk' but not both.,0,Either 'Julius is a swan' or 'Sandra left the milk' but not both. It is probably the case that Jeff moved to the garden. It is highly likely that Julius is a rhino. We doubt that Lily is a lion. It is certain that if either 'Julius is a rhino' or 'Lily is a lion' but not both then Sandra put down the milk. It is likely that if either 'Jeff moved to the garden' or 'Julius is a rhino' but not both then Mary went to the office. It is probably the case that if 'Lily is a lion' or 'Julius is a rhino' or both then Greg is a frog.,It is likely that 'Mary went to the office 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.9::factB. 0.2::factC. %hop1 1.0::factX:-xor(factB,factC). 0.7::factY:-xor(factA,factB). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.047599999999999996,0.5777155431086217,train,highly unlikely,likely,It is highly unlikely that 'Mary went to the office and Lily is a lion'.,It is likely that 'Mary went to the office and Lily is a lion'.,0,'Mary went to the office and Lily is a lion'. We doubt that Brian is yellow. It is highly likely that John left the apple. We believe that Bernhard is a frog. There is little chance that if 'Bernhard is a frog' or 'John left the apple' or both then Mary picked up the apple. It is unlikely that if 'Brian is yellow' or 'John left the apple' or both then Greg is a swan. It is highly unlikely that if 'John left the apple and Brian is yellow' then Jeff went to the bedroom.,It is likely that 'John left the apple 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.2::factA. 0.9::factB. 0.75::factC. %hop1 0.1::factX:-or(factC,factB). 0.2::factY:-or(factA,factB). 0.05::factZ:-and(factB,factA). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.675,0.268253650730146,train,likely,impossible,It is likely that 'John left the apple and Bernhard is a frog'.,It is impossible that 'John left the apple and Bernhard is a frog'.,1,'John left the apple and Bernhard is a frog'. It is highly likely that Brian is gray. We doubt that Daniel took the apple. There is a better than even chance that Bernhard is a rhino. It is certain that if either 'Brian is gray' or 'Bernhard is a rhino' but not both then Bill left the milk. It is impossible that if 'Brian is gray' or 'Daniel took the apple' or both then Mary moved to the office. There is little chance that if either 'Bernhard is a rhino' or 'Daniel took the apple' but not both then Lily is a lion.,It is highly unlikely that 'Lily is a lion 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.9::factA. 0.2::factB. 0.6::factC. %hop1 1.0::factX:-xor(factA,factC). 0.0::factY:-or(factA,factB). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.048,0.4958991798359672,train,highly unlikely,better than even,It is highly unlikely that 'Lily is a lion and Bernhard is a rhino'.,There is a better than even chance that 'Lily is a lion and Bernhard is a rhino'.,1,'Lily is a lion and Bernhard is a rhino'. We doubt that Julius is gray. It is certain that Brian is a frog. We doubt that Greg is a rhino. There is little chance that if 'Brian is a frog' or 'Greg is a rhino' or both then Bernhard is yellow. It is almost certain that if either 'Julius is gray' or 'Brian is a frog' but not both then Mary took the football. It is probably the case that if either 'Brian is a frog' or 'Julius is gray' but not both then John dropped the apple.,It is unlikely that 'Greg is a rhino and Mary took 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. 1.0::factB. 0.2::factC. %hop1 0.1::factX:-or(factB,factC). 0.95::factY:-xor(factA,factB). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.15200000000000002,0.35547109421884376,train,unlikely,likely,It is unlikely that 'Greg is a rhino and Mary took the football'.,It is likely that 'Greg is a rhino and Mary took the football'.,1,'Greg is a rhino and Mary took the football'. Chances are slight that John moved to the garden. Chances are slight that Jason is tired. It is unlikely that Jessica is a cat. We doubt that if 'Jason is tired and Jessica is a cat' then Brian is a frog. It is certain that if either 'Jason is tired' or 'John moved to the garden' but not both then Sandra left the milk. It is highly likely that if 'John moved to the garden and Jason is tired' then Lily is green.,It is unlikely that 'Sandra left the milk' 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.1::factA. 0.1::factB. 0.2::factC. %hop1 0.2::factX:-and(factB,factC). 1.0::factY:-xor(factB,factA). 0.9::factZ:-and(factA,factB). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.189,0.7355471094218844,train,unlikely,very good chance,It is unlikely that 'Sandra left the milk' or 'Lily is green' or both.,There is a very good chance that 'Sandra left the milk' or 'Lily is green' or both.,1,'Sandra left the milk' or 'Lily is green' or both. Chances are slight that Julius is white. There is little chance that Greg is a lion. It is certain that John put down the apple. It is probably the case that if 'Julius is white and Greg is a lion' then Sandra got the milk. Chances are slight that if 'Julius is white' or 'John put down the apple' or both then Lily is gray. It is probably the case that if 'John put down the apple' or 'Greg is a lion' or both then Bernhard is a rhino.,There is a very good chance that 'Julius is white' 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.1::factA. 0.1::factB. 1.0::factC. %hop1 0.7::factX:-and(factA,factB). 0.1::factY:-or(factA,factC). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.10000000000000002,0.41048209641928385,train,chances are slight,very good chance,Chances are slight that 'Julius is white' or 'Sandra got the milk' or both.,There is a very good chance that 'Julius is white' or 'Sandra got the milk' or both.,0,'Julius is white' or 'Sandra got the milk' or both. There is a very good chance that Mary is in the school. There is little chance that Lily is white. It is unlikely that Jason is tired. It is highly likely that if 'Jason is tired and Lily is white' then Winona is a mouse. It is certain that if 'Jason is tired' or 'Lily is white' or both then John dropped the apple. It is almost certain that if 'Jason is tired and Mary is in the school' then Brian is yellow.,It is almost certain that 'Jason is tired' 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.1::factB. 0.2::factC. %hop1 0.9::factX:-and(factC,factB). 1.0::factY:-or(factC,factB). 0.95::factZ:-and(factC,factA). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.28,0.04620924184836967,train,probably not,almost certain,It is probably not the case that 'Jason is tired' or 'Lily is white' or both.,It is almost certain that 'Jason is tired' or 'Lily is white' or both.,0,'Jason is tired' or 'Lily is white' or both. There is almost no chance that Julius is yellow. There is almost no chance that Lily is a swan. It is probably the case that Daniel dropped the milk. Chances are about even that if 'Lily is a swan and Julius is yellow' then John picked up the apple. It is impossible that if 'Daniel dropped the milk and Lily is a swan' then Bill went to the kitchen. It is probably the case that if 'Julius is yellow and Lily is a swan' then Sandra left the football.,There is almost no chance that 'Lily is a swan' or 'Sandra 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.02::factA. 0.02::factB. 0.7::factC. %hop1 0.5::factX:-and(factB,factA). 0.0::factY:-and(factC,factB). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.02,0.6415283056611323,train,almost no chance,likely,There is almost no chance that 'Lily is a swan' or 'Sandra left the football' or both.,It is likely that 'Lily is a swan' or 'Sandra left the football' or both.,1,'Lily is a swan' or 'Sandra left the football' or both. We doubt that Emily is a wolf. It is unlikely that John got the milk. It is impossible that Bernhard is a rhino. Chances are about even that if either 'John got the milk' or 'Bernhard is a rhino' but not both then Mary moved to the garden. It is almost certain that if 'John got the milk and Emily is a wolf' then Greg is a swan. It is almost certain that if 'John got the milk and Bernhard is a rhino' then Daniel left the apple.,It is highly likely that either 'John got the milk' or 'Bernhard 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.2::factB. 0.0::factC. %hop1 0.5::factX:-xor(factB,factC). 0.95::factY:-and(factB,factA). 0.95::factZ:-and(factB,factC). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.2,0.6277255451090218,train,unlikely,highly likely,It is unlikely that either 'John got the milk' or 'Bernhard is a rhino' but not both.,It is highly likely that either 'John got the milk' or 'Bernhard is a rhino' but not both.,0,Either 'John got the milk' or 'Bernhard is a rhino' but not both. There is a better than even chance that Sandra took the milk. It is almost certain that John left the football. Chances are about even that Mary went to the office. There is a very good chance that if 'John left the football and Sandra took the milk' then Greg is green. Chances are about even that if 'Sandra took the milk and Mary went to the office' then Brian is yellow. We believe that if either 'Sandra took the milk' or 'John left the football' but not both then Julius is a swan.,It is certain that either 'Mary went to the office' 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.6::factA. 0.95::factB. 0.5::factC. %hop1 0.8::factX:-and(factB,factA). 0.5::factY:-and(factA,factC). 0.75::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5000000000000001,0.7209441888377676,train,about even,certain,Chances are about even that either 'Mary went to the office' or 'Sandra took the milk' but not both.,It is certain that either 'Mary went to the office' or 'Sandra took the milk' but not both.,0,Either 'Mary went to the office' or 'Sandra took the milk' but not both. It is probably the case that Julius is yellow. It is likely that John grabbed the apple. It is certain that Emily is a wolf. There is a better than even chance that if 'Emily is a wolf' or 'John grabbed the apple' or both then Gertrude is a sheep. Chances are slight that if either 'John grabbed the apple' or 'Julius is yellow' but not both then Lily is a frog. Chances are about even that if 'John grabbed the apple and Emily is a wolf' then Bernhard is a swan.,Chances are about even that either 'Emily is a wolf' 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.7::factB. 1.0::factC. %hop1 0.6::factX:-or(factC,factB). 0.1::factY:-xor(factB,factA). 0.5::factZ:-and(factB,factC). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.4,0.2694538907781556,train,about even,certain,Chances are about even that either 'Emily is a wolf' or 'Gertrude is a sheep' but not both.,It is certain that either 'Emily is a wolf' or 'Gertrude is a sheep' but not both.,1,Either 'Emily is a wolf' or 'Gertrude is a sheep' but not both. It is highly unlikely that Bernhard is a swan. It is unlikely that Gertrude is a cat. There is a very good chance that Mary moved to the garden. It is highly unlikely that if 'Bernhard is a swan and Gertrude is a cat' then Julius is gray. It is probably not the case that if 'Mary moved to the garden and Bernhard is a swan' then John dropped the apple. We believe that if either 'Gertrude is a cat' or 'Mary moved to the garden' but not both then Brian is white.,Chances are slight that 'Gertrude is a cat' 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.05::factA. 0.2::factB. 0.8::factC. %hop1 0.05::factX:-and(factA,factB). 0.25::factY:-and(factC,factA). 0.75::factZ:-xor(factB,factC). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.68,0.4896979395879176,train,probable,chances are slight,It is probable that 'Gertrude is a cat' or 'Brian is white' or both.,Chances are slight that 'Gertrude is a cat' or 'Brian is white' or both.,0,'Gertrude is a cat' or 'Brian is white' or both. There is almost no chance that Lily is a rhino. There is a very good chance that Mary left the football. It is highly unlikely that Gertrude is a mouse. Chances are about even that if 'Lily is a rhino and Mary left the football' then Fred moved to the office. There is a very good chance that if 'Lily is a rhino' or 'Gertrude is a mouse' or both then Greg is yellow. Chances are slight that if either 'Gertrude is a mouse' or 'Mary left the football' but not both then Bernhard is gray.,It is impossible that 'Fred moved to the office 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.02::factA. 0.8::factB. 0.05::factC. %hop1 0.5::factX:-and(factA,factB). 0.8::factY:-or(factA,factC). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.0007600000000000005,0.5457091418283657,train,impossible,better than even,It is impossible that 'Fred moved to the office and Bernhard is gray'.,There is a better than even chance that 'Fred moved to the office and Bernhard is gray'.,1,'Fred moved to the office and Bernhard is gray'. It is highly likely that Emily is a sheep. It is certain that Julius is white. It is probably not the case that Mary left the milk. It is probably not the case that if 'Mary left the milk and Julius is white' then Bernhard is green. We believe that if either 'Mary left the milk' or 'Julius is white' but not both then John discarded the apple. It is probable that if 'Mary left the milk and Emily is a sheep' then Lily is a lion.,There is little chance that 'John discarded the apple' 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.9::factA. 1.0::factB. 0.25::factC. %hop1 0.25::factX:-and(factC,factB). 0.75::factY:-xor(factC,factB). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.625,0.20144028805761152,train,better than even,little chance,There is a better than even chance that 'John discarded the apple' or 'Bernhard is green' or both.,There is little chance that 'John discarded the apple' or 'Bernhard is green' or both.,0,'John discarded the apple' or 'Bernhard is green' or both. It is probably not the case that Julius is white. It is certain that Greg is a swan. There is little chance that Mary left the football. It is probable that if either 'Julius is white' or 'Mary left the football' but not both then Winona is a mouse. Chances are about even that if 'Julius is white and Mary left the football' then John took the apple. It is probably not the case that if either 'Julius is white' or 'Greg is a swan' but not both then Lily is green.,It is impossible that 'John took the apple and Winona 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.25::factA. 1.0::factB. 0.1::factC. %hop1 0.7::factX:-xor(factA,factC). 0.5::factY:-and(factA,factC). 0.25::factZ:-xor(factA,factB). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.0,0.26805361072214445,train,impossible,certain,It is impossible that 'John took the apple and Winona is a mouse'.,It is certain that 'John took the apple and Winona is a mouse'.,1,'John took the apple and Winona is a mouse'. It is impossible that Daniel got the football. There is little chance that Bernhard is a frog. It is impossible that Lily is a swan. It is likely that if 'Bernhard is a frog' or 'Daniel got the football' or both then Mary moved to the garden. There is a better than even chance that if 'Bernhard is a frog' or 'Daniel got the football' or both then Greg is gray. There is almost no chance that if 'Lily is a swan' or 'Daniel got the football' or both then Jason is tired.,It is certain that either 'Greg is gray' or 'Mary 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.0::factA. 0.1::factB. 0.0::factC. %hop1 0.7::factX:-or(factB,factA). 0.6::factY:-or(factB,factA). 0.02::factZ:-or(factC,factA). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.04600000000000001,0.376875375075015,train,highly unlikely,certain,It is highly unlikely that either 'Greg is gray' or 'Mary moved to the garden' but not both.,It is certain that either 'Greg is gray' or 'Mary moved to the garden' but not both.,0,Either 'Greg is gray' or 'Mary moved to the garden' but not both. It is almost certain that Brian is green. There is a better than even chance that Lily is a frog. It is improbable that Mary took the football. There is a very good chance that if 'Brian is green and Lily is a frog' then John put down the apple. It is certain that if 'Mary took the football and Lily is a frog' then Julius is yellow. It is probable that if 'Brian is green and Mary took the football' then Bernhard is a swan.,Chances are about even that either 'John put down the apple' 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.95::factA. 0.6::factB. 0.1::factC. %hop1 0.8::factX:-and(factA,factB). 1.0::factY:-and(factC,factB). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.4648,0.15083016603320665,train,about even,almost no chance,Chances are about even that either 'John put down the apple' or 'Mary took the football' but not both.,There is almost no chance that either 'John put down the apple' or 'Mary took the football' but not both.,1,Either 'John put down the apple' or 'Mary took the football' but not both. It is improbable that Brian is a rhino. It is impossible that Lily is a swan. Chances are slight that John left the football. There is almost no chance that if 'John left the football and Brian is a rhino' then Jessica is a cat. It is improbable that if 'Lily is a swan' or 'John left the football' or both then Julius is a frog. There is little chance that if either 'John left the football' or 'Lily is a swan' but not both then Emily is a wolf.,It is certain that either 'Brian is a rhino' or 'John 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.1::factA. 0.0::factB. 0.1::factC. %hop1 0.02::factX:-and(factC,factA). 0.1::factY:-or(factB,factC). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.18000000000000005,0.1820364072814563,train,we doubt,certain,We doubt that either 'Brian is a rhino' or 'John left the football' but not both.,It is certain that either 'Brian is a rhino' or 'John left the football' but not both.,0,Either 'Brian is a rhino' or 'John left the football' but not both. Chances are about even that Lily is yellow. It is certain that Brian is gray. It is unlikely that Greg is a rhino. There is a very good chance that if 'Lily is yellow and Greg is a rhino' then Emily is a cat. It is impossible that if 'Brian is gray and Lily is yellow' then Mary left the football. There is a better than even chance that if 'Greg is a rhino' or 'Brian is gray' or both then Bernhard is a swan.,Chances are about even that either 'Lily is yellow' or 'Brian 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.5::factA. 1.0::factB. 0.2::factC. %hop1 0.8::factX:-and(factA,factC). 0.0::factY:-and(factB,factA). 0.6::factZ:-or(factC,factB). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5,0.2598519703940788,train,about even,certain,Chances are about even that either 'Lily is yellow' or 'Brian is gray' but not both.,It is certain that either 'Lily is yellow' or 'Brian is gray' but not both.,1,Either 'Lily is yellow' or 'Brian is gray' but not both. It is probably the case that Brian is yellow. There is a very good chance that Bernhard is green. It is highly likely that Mary left the milk. It is certain that if 'Bernhard is green and Mary left the milk' then Greg is a lion. It is almost certain that if 'Bernhard is green' or 'Mary left the milk' or both then Fred put down the apple. It is impossible that if 'Brian is yellow' or 'Bernhard is green' or both then John went to the kitchen.,There is little chance that either 'John went to the kitchen' 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.7::factA. 0.8::factB. 0.9::factC. %hop1 1.0::factX:-and(factB,factC). 0.95::factY:-or(factB,factC). 0.0::factZ:-or(factA,factB). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.8,0.10122024404880976,train,very good chance,little chance,There is a very good chance that either 'John went to the kitchen' or 'Bernhard is green' but not both.,There is little chance that either 'John went to the kitchen' or 'Bernhard is green' but not both.,0,Either 'John went to the kitchen' or 'Bernhard is green' but not both. We believe that Greg is green. It is impossible that Mary moved to the garden. There is almost no chance that Brian is gray. We doubt that if either 'Mary moved to the garden' or 'Greg is green' but not both then Lily is white. It is probably the case that if either 'Brian is gray' or 'Greg is green' but not both then John left the apple. It is likely that if 'Greg is green and Brian is gray' then Bernhard is a swan.,Chances are about even that 'Greg is green 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.75::factA. 0.0::factB. 0.02::factC. %hop1 0.2::factX:-xor(factB,factA). 0.7::factY:-xor(factC,factA). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.5145,0.4204840968193639,train,about even,almost no chance,Chances are about even that 'Greg is green and John left the apple'.,There is almost no chance that 'Greg is green and John left the apple'.,1,'Greg is green and John left the apple'. It is improbable that Mary went to the office. There is a very good chance that Brian is green. There is a very good chance that John picked up the apple. It is highly likely that if 'John picked up the apple' or 'Mary went to the office' or both then Greg is a frog. It is highly unlikely that if 'Brian is green' or 'John picked up the apple' or both then Bernhard is yellow. There is little chance that if either 'John picked up the apple' or 'Brian is green' but not both then Sandra dropped the milk.,It is unlikely that 'Sandra 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.1::factA. 0.8::factB. 0.8::factC. %hop1 0.9::factX:-or(factC,factA). 0.05::factY:-or(factB,factC). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.75416,0.5643128625725145,train,we believe,unlikely,We believe that 'Sandra dropped the milk' or 'Greg is a frog' or both.,It is unlikely that 'Sandra dropped the milk' or 'Greg is a frog' or both.,0,'Sandra dropped the milk' or 'Greg is a frog' or both. There is little chance that Sandra took the milk. It is improbable that Jessica is a cat. It is probably not the case that Brian is green. There is a better than even chance that if 'Brian is green' or 'Sandra took the milk' or both then Lily is a frog. We believe that if 'Jessica is a cat' or 'Brian is green' or both then Mary moved to the office. It is certain that if 'Sandra took the milk and Brian is green' then John got the apple.,It is probably the case that 'John got the apple' 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.1::factA. 0.1::factB. 0.25::factC. %hop1 0.6::factX:-or(factC,factA). 0.75::factY:-or(factB,factC). 1.0::factZ:-and(factA,factC). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.25,0.26785357071414284,train,probably not,probably,It is probably not the case that 'John got the apple' or 'Brian is green' or both.,It is probably the case that 'John got the apple' or 'Brian is green' or both.,0,'John got the apple' or 'Brian is green' or both. We doubt that Brian is white. It is probable that Sandra left the apple. It is highly likely that Lily is green. It is almost certain that if 'Sandra left the apple and Lily is green' then Bernhard is gray. Chances are slight that if 'Lily is green and Sandra left the apple' then Greg is a swan. It is probably not the case that if either 'Brian is white' or 'Lily is green' but not both then John moved to the garden.,It is certain that 'Greg is a swan 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.2::factA. 0.7::factB. 0.9::factC. %hop1 0.95::factX:-and(factB,factC). 0.1::factY:-and(factC,factB). 0.25::factZ:-xor(factA,factC). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.06300000000000001,0.17563512702540507,train,highly unlikely,certain,It is highly unlikely that 'Greg is a swan and Lily is green'.,It is certain that 'Greg is a swan and Lily is green'.,0,'Greg is a swan and Lily is green'. There is little chance that Jason is tired. It is unlikely that Lily is a swan. It is highly likely that Brian is a frog. It is probably the case that if 'Jason is tired and Lily is a swan' then Bernhard is white. Chances are about even that if 'Brian is a frog and Lily is a swan' then Mary got the football. Chances are about even that if 'Jason is tired and Lily is a swan' then John went to the garden.,There is almost no chance that 'Bernhard is white and Brian 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.1::factA. 0.2::factB. 0.9::factC. %hop1 0.7::factX:-and(factA,factB). 0.5::factY:-and(factC,factB). 0.5::factZ:-and(factA,factB). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.01260000000000001,0.07081416283256652,train,almost no chance,probable,There is almost no chance that 'Bernhard is white and Brian is a frog'.,It is probable that 'Bernhard is white and Brian is a frog'.,1,'Bernhard is white and Brian is a frog'. There is a better than even chance that Lily is yellow. It is highly likely that Brian is a lion. Chances are slight that Fred went to the garden. It is impossible that if 'Lily is yellow and Brian is a lion' then Gertrude is a mouse. We doubt that if 'Fred went to the garden and Lily is yellow' then Julius is a swan. There is little chance that if 'Brian is a lion' or 'Fred went to the garden' or both then John took the football.,It is highly likely that 'Brian is a lion' or 'John took 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.9::factB. 0.1::factC. %hop1 0.0::factX:-and(factA,factB). 0.2::factY:-and(factC,factA). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.901,0.34326865373074616,train,highly likely,highly unlikely,It is highly likely that 'Brian is a lion' or 'John took the football' or both.,It is highly unlikely that 'Brian is a lion' or 'John took the football' or both.,1,'Brian is a lion' or 'John took the football' or both. We doubt that Lily is a lion. It is improbable that Mary went to the kitchen. There is a better than even chance that John got the apple. It is almost certain that if 'Mary went to the kitchen and Lily is a lion' then Brian is gray. It is certain that if 'Lily is a lion and Mary went to the kitchen' then Gertrude is a wolf. It is unlikely that if either 'Lily is a lion' or 'John got the apple' but not both then Bernhard is white.,Chances are about even that either 'Bernhard is white' or 'John 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.1::factB. 0.6::factC. %hop1 0.95::factX:-and(factB,factA). 1.0::factY:-and(factA,factB). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.52,0.35227045409081814,train,about even,certain,Chances are about even that either 'Bernhard is white' or 'John got the apple' but not both.,It is certain that either 'Bernhard is white' or 'John got the apple' but not both.,1,Either 'Bernhard is white' or 'John got the apple' but not both. Chances are slight that Yann is bored. It is unlikely that Greg is gray. It is certain that Daniel got the milk. Chances are about even that if either 'Daniel got the milk' or 'Greg is gray' but not both then John went to the bedroom. We doubt that if 'Daniel got the milk' or 'Greg is gray' or both then Sandra left the apple. There is little chance that if 'Yann is bored' or 'Greg is gray' or both then Jessica is a mouse.,It is highly likely that either 'Yann is bored' 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.1::factA. 0.2::factB. 1.0::factC. %hop1 0.5::factX:-xor(factC,factB). 0.2::factY:-or(factC,factB). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.9,0.1964392878575715,train,highly likely,highly unlikely,It is highly likely that either 'Yann is bored' or 'Daniel got the milk' but not both.,It is highly unlikely that either 'Yann is bored' or 'Daniel got the milk' but not both.,1,Either 'Yann is bored' or 'Daniel got the milk' but not both. It is highly unlikely that Bernhard is a rhino. It is highly likely that Lily is a lion. It is improbable that Brian is a frog. It is probable that if 'Bernhard is a rhino' or 'Brian is a frog' or both then Greg is a swan. It is certain that if either 'Lily is a lion' or 'Bernhard is a rhino' but not both then Sandra dropped the milk. It is highly likely that if either 'Brian is a frog' or 'Bernhard is a rhino' but not both then Mary went to the hallway.,It is unlikely that 'Mary went to the hallway' 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.05::factA. 0.9::factB. 0.1::factC. %hop1 0.7::factX:-or(factA,factC). 1.0::factY:-xor(factB,factA). 0.9::factZ:-xor(factC,factA). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.9126,0.5909181836367273,train,highly likely,unlikely,It is highly likely that 'Mary went to the hallway' or 'Lily is a lion' or both.,It is unlikely that 'Mary went to the hallway' or 'Lily is a lion' or both.,0,'Mary went to the hallway' or 'Lily is a lion' or both. It is probably not the case that John put down the apple. It is unlikely that Emily is a wolf. There is little chance that Lily is a frog. It is likely that if either 'Emily is a wolf' or 'John put down the apple' but not both then Antoine is thirsty. It is unlikely that if 'John put down the apple' or 'Lily is a frog' or both then Greg is green. Chances are about even that if 'Emily is a wolf' or 'Lily is a frog' or both then Mary went to the kitchen.,It is probably not the case that 'Mary went to the kitchen' 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.25::factA. 0.2::factB. 0.1::factC. %hop1 0.7::factX:-xor(factB,factA). 0.2::factY:-or(factA,factC). 0.5::factZ:-or(factB,factC). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.24000000000000005,0.367873574714943,train,probably not,likely,It is probably not the case that 'Mary went to the kitchen' or 'Emily is a wolf' or both.,It is likely that 'Mary went to the kitchen' or 'Emily is a wolf' or both.,1,'Mary went to the kitchen' or 'Emily is a wolf' or both. It is probably not the case that Greg is yellow. Chances are slight that Sandra got the football. It is improbable that Bernhard is a frog. There is a very good chance that if 'Sandra got the football and Bernhard is a frog' then Brian is a lion. It is probable that if 'Greg is yellow' or 'Bernhard is a frog' or both then Julius is yellow. It is highly likely that if either 'Bernhard is a frog' or 'Greg is yellow' but not both then Jeff went to the garden.,It is almost certain that either 'Bernhard is a frog' or 'Brian 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.1::factC. %hop1 0.8::factX:-and(factB,factC). 0.7::factY:-or(factA,factC). 0.9::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.09200000000000004,0.6887377475495099,train,chances are slight,almost certain,Chances are slight that either 'Bernhard is a frog' or 'Brian is a lion' but not both.,It is almost certain that either 'Bernhard is a frog' or 'Brian is a lion' but not both.,0,Either 'Bernhard is a frog' or 'Brian is a lion' but not both. We doubt that Julius is a swan. There is almost no chance that Bill went to the bedroom. It is impossible that Bernhard is gray. There is a very good chance that if 'Bernhard is gray and Bill went to the bedroom' then Lily is a frog. It is highly likely that if either 'Bill went to the bedroom' or 'Julius is a swan' but not both then Winona is a sheep. We believe that if either 'Bernhard is gray' or 'Bill went to the bedroom' but not both then Sandra grabbed the apple.,We believe that either 'Bernhard is gray' or 'Sandra grabbed 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.02::factB. 0.0::factC. %hop1 0.8::factX:-and(factC,factB). 0.9::factY:-xor(factB,factA). 0.75::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.014999999999999998,0.4996999399879976,train,almost no chance,we believe,There is almost no chance that either 'Bernhard is gray' or 'Sandra grabbed the apple' but not both.,We believe that either 'Bernhard is gray' or 'Sandra grabbed the apple' but not both.,0,Either 'Bernhard is gray' or 'Sandra grabbed the apple' but not both. It is impossible that John picked up the milk. It is probably the case that Greg is a swan. It is probably not the case that Lily is gray. It is likely that if either 'Greg is a swan' or 'Lily is gray' but not both then Julius is a rhino. It is certain that if 'John picked up the milk' or 'Greg is a swan' or both then Mary moved to the garden. There is little chance that if 'John picked up the milk' or 'Greg is a swan' or both then Brian is green.,It is improbable that either 'Lily is gray' or 'Mary 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.0::factA. 0.7::factB. 0.25::factC. %hop1 0.7::factX:-xor(factB,factC). 1.0::factY:-or(factA,factB). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.6,0.6483296659331866,train,better than even,improbable,There is a better than even chance that either 'Lily is gray' or 'Mary moved to the garden' but not both.,It is improbable that either 'Lily is gray' or 'Mary moved to the garden' but not both.,0,Either 'Lily is gray' or 'Mary moved to the garden' but not both. We believe that John went to the garden. There is almost no chance that Sumit is bored. There is a better than even chance that Lily is green. It is unlikely that if 'John went to the garden' or 'Lily is green' or both then Brian is white. It is probable that if either 'John went to the garden' or 'Lily is green' but not both then Mary got the apple. There is a better than even chance that if 'Lily is green and Sumit is bored' then Julius is a swan.,It is likely that either 'Sumit is bored' 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.75::factA. 0.02::factB. 0.6::factC. %hop1 0.2::factX:-or(factA,factC). 0.7::factY:-xor(factA,factC). 0.6::factZ:-and(factC,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.19280000000000003,0.32126425285057014,train,we doubt,likely,We doubt that either 'Sumit is bored' or 'Brian is white' but not both.,It is likely that either 'Sumit is bored' or 'Brian is white' but not both.,0,Either 'Sumit is bored' or 'Brian is white' but not both. There is almost no chance that Bernhard is gray. It is highly unlikely that John went to the garden. Chances are about even that Julius is a swan. It is certain that if either 'Bernhard is gray' or 'John went to the garden' but not both then Brian is white. Chances are about even that if 'John went to the garden' or 'Julius is a swan' or both then Greg is a frog. It is probably not the case that if 'Julius is a swan' or 'Bernhard is gray' or both then Gertrude is a sheep.,It is impossible that 'Bernhard is gray' 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.02::factA. 0.05::factB. 0.5::factC. %hop1 1.0::factX:-xor(factA,factB). 0.5::factY:-or(factB,factC). 0.25::factZ:-or(factC,factA). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.51,0.27485497099419887,train,about even,impossible,Chances are about even that 'Bernhard is gray' or 'Julius is a swan' or both.,It is impossible that 'Bernhard is gray' or 'Julius is a swan' or both.,0,'Bernhard is gray' or 'Julius is a swan' or both. It is impossible that Greg is a rhino. It is almost certain that Jessica is a cat. Chances are slight that Bernhard is gray. It is unlikely that if either 'Greg is a rhino' or 'Bernhard is gray' but not both then John grabbed the apple. It is probable that if 'Bernhard is gray' or 'Greg is a rhino' or both then Lily is a frog. There is a better than even chance that if 'Greg is a rhino and Bernhard is gray' then Mary left the milk.,Chances are slight that 'Lily is a frog' 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 0.0::factA. 0.95::factB. 0.1::factC. %hop1 0.2::factX:-xor(factA,factC). 0.7::factY:-or(factC,factA). 0.6::factZ:-and(factA,factC). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.9535,0.7631526305261053,train,almost certain,chances are slight,It is almost certain that 'Lily is a frog' or 'Jessica is a cat' or both.,Chances are slight that 'Lily is a frog' or 'Jessica is a cat' or both.,0,'Lily is a frog' or 'Jessica is a cat' or both. There is little chance that Greg is white. We doubt that Bernhard is a swan. There is a better than even chance that Mary dropped the apple. It is probably not the case that if 'Greg is white and Mary dropped the apple' then Jason is tired. It is probably not the case that if either 'Mary dropped the apple' or 'Bernhard is a swan' but not both then Winona is a sheep. Chances are about even that if 'Mary dropped the apple and Bernhard is a swan' then John left the apple.,It is highly unlikely that 'John left the apple' 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 0.1::factA. 0.2::factB. 0.6::factC. %hop1 0.25::factX:-and(factA,factC). 0.25::factY:-xor(factC,factB). 0.5::factZ:-and(factC,factB). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.0735,0.039407881576315265,train,highly unlikely,better than even,It is highly unlikely that 'John left the apple' or 'Jason is tired' or both.,There is a better than even chance that 'John left the apple' or 'Jason is tired' or both.,1,'John left the apple' or 'Jason is tired' or both. We doubt that Mary went to the office. It is certain that Daniel dropped the apple. We believe that Julius is white. It is improbable that if 'Mary went to the office and Daniel dropped the apple' then Greg is a rhino. It is highly likely that if 'Mary went to the office and Daniel dropped the apple' then Bernhard is green. It is unlikely that if 'Mary went to the office and Daniel dropped the apple' then Lily is a swan.,It is certain that 'Bernhard 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. 1.0::factB. 0.75::factC. %hop1 0.1::factX:-and(factA,factB). 0.9::factY:-and(factA,factB). 0.2::factZ:-and(factA,factB). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.18000000000000002,0.5939187837567513,train,unlikely,certain,It is unlikely that 'Bernhard is green and Mary went to the office'.,It is certain that 'Bernhard is green and Mary went to the office'.,0,'Bernhard is green and Mary went to the office'. It is probable that John dropped the apple. Chances are about even that Greg is white. We doubt that Lily is yellow. It is probable that if either 'Lily is yellow' or 'John dropped the apple' but not both then Brian is a rhino. We believe that if 'Greg is white and Lily is yellow' then Mary moved to the office. It is highly unlikely that if 'John dropped the apple and Greg is white' then Daniel put down the milk.,Chances are about even that 'Daniel put down the milk and John 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.7::factA. 0.5::factB. 0.2::factC. %hop1 0.7::factX:-xor(factC,factA). 0.75::factY:-and(factB,factC). 0.05::factZ:-and(factA,factB). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.01749999999999999,0.11022204440888178,train,almost no chance,about even,There is almost no chance that 'Daniel put down the milk and John dropped the apple'.,Chances are about even that 'Daniel put down the milk and John dropped the apple'.,0,'Daniel put down the milk and John dropped the apple'. It is almost certain that John dropped the apple. We doubt that Julius is white. It is probable that Sandra grabbed the milk. It is probable that if 'John dropped the apple and Sandra grabbed the milk' then Lily is a rhino. It is almost certain that if 'Julius is white' or 'John dropped the apple' or both then Yann is tired. It is probable that if 'John dropped the apple and Sandra grabbed the milk' then Brian is a swan.,It is almost certain that 'Brian is a swan' or 'Yann 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.95::factA. 0.2::factB. 0.7::factC. %hop1 0.7::factX:-and(factA,factC). 0.95::factY:-or(factB,factA). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.935275,0.5381076215243049,train,almost certain,chances are slight,It is almost certain that 'Brian is a swan' or 'Yann is tired' or both.,Chances are slight that 'Brian is a swan' or 'Yann is tired' or both.,1,'Brian is a swan' or 'Yann is tired' or both. There is little chance that Brian is a rhino. It is certain that Bernhard is a swan. It is probable that Julius is white. It is impossible that if 'Julius is white and Brian is a rhino' then Lily is a lion. There is little chance that if 'Brian is a rhino and Julius is white' then Winona is a sheep. It is probably not the case that if 'Julius is white' or 'Brian is a rhino' or both then John went to the kitchen.,It is impossible that either 'John 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.1::factA. 1.0::factB. 0.7::factC. %hop1 0.0::factX:-and(factC,factA). 0.1::factY:-and(factA,factC). 0.25::factZ:-or(factC,factA). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.5325,0.6827365473094619,train,about even,impossible,Chances are about even that either 'John went to the kitchen' or 'Julius is white' but not both.,It is impossible that either 'John went to the kitchen' or 'Julius is white' but not both.,0,Either 'John went to the kitchen' or 'Julius is white' but not both. We believe that Lily is white. It is impossible that Emily is a mouse. There is little chance that Brian is a swan. It is probably the case that if 'Emily is a mouse and Lily is white' then John put down the milk. It is unlikely that if 'Lily is white' or 'Brian is a swan' or both then Winona is a wolf. It is likely that if 'Emily is a mouse' or 'Lily is white' or both then Sandra left the apple.,It is almost certain that 'John put down the milk 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.75::factA. 0.0::factB. 0.1::factC. %hop1 0.7::factX:-and(factB,factA). 0.2::factY:-or(factA,factC). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.0,0.03900780156031206,train,impossible,almost certain,It is impossible that 'John put down the milk and Brian is a swan'.,It is almost certain that 'John put down the milk and Brian is a swan'.,0,'John put down the milk and Brian is a swan'. There is little chance that John went to the kitchen. It is unlikely that Julius is a lion. We doubt that Sandra took the football. It is probably not the case that if 'Sandra took the football' or 'Julius is a lion' or both then Jason is tired. It is probable that if either 'Sandra took the football' or 'Julius is a lion' but not both then Greg is yellow. There is little chance that if either 'Sandra took the football' or 'Julius is a lion' but not both then Brian is gray.,It is probably not the case that either 'John went to the kitchen' 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.1::factA. 0.2::factB. 0.2::factC. %hop1 0.25::factX:-or(factC,factB). 0.7::factY:-xor(factC,factB). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.26,0.08101620324064814,train,probably not,likely,It is probably not the case that either 'John went to the kitchen' or 'Julius is a lion' but not both.,It is likely that either 'John went to the kitchen' or 'Julius is a lion' but not both.,1,Either 'John went to the kitchen' or 'Julius is a lion' but not both. There is a better than even chance that Julius is a swan. It is unlikely that Mary moved to the garden. Chances are slight that Winona is a sheep. It is probable that if 'Winona is a sheep' or 'Mary moved to the garden' or both then Antoine is thirsty. It is probably not the case that if either 'Julius is a swan' or 'Mary moved to the garden' but not both then Brian is a swan. It is impossible that if 'Winona is a sheep and Julius is a swan' then Bill went to the bedroom.,There is almost no chance that 'Brian is a swan and Antoine 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.6::factA. 0.2::factB. 0.1::factC. %hop1 0.7::factX:-or(factC,factB). 0.25::factY:-xor(factA,factB). 0.0::factZ:-and(factC,factA). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.022400000000000014,0.5923184636927386,train,almost no chance,better than even,There is almost no chance that 'Brian is a swan and Antoine is thirsty'.,There is a better than even chance that 'Brian is a swan and Antoine is thirsty'.,1,'Brian is a swan and Antoine is thirsty'. It is unlikely that Jessica is a cat. It is certain that Sandra dropped the apple. Chances are slight that Bernhard is a lion. It is highly unlikely that if 'Jessica is a cat and Bernhard is a lion' then Bill got the milk there. It is highly unlikely that if 'Jessica is a cat' or 'Bernhard is a lion' or both then Mary moved to the office. It is impossible that if 'Sandra dropped the apple' or 'Jessica is a cat' or both then Lily is white.,Chances are about even that 'Mary moved to the office and Bill got the milk there'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(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.1::factC. %hop1 0.05::factX:-and(factA,factC). 0.05::factY:-or(factA,factC). 0.0::factZ:-or(factB,factA). %hop2 conclusion:-and(factY,factX). query(conclusion). ",5.000000000000004e-05,0.5243048609721944,train,impossible,about even,It is impossible that 'Mary moved to the office and Bill got the milk there'.,Chances are about even that 'Mary moved to the office and Bill got the milk there'.,0,'Mary moved to the office and Bill got the milk there'. There is a very good chance that Greg is yellow. We believe that Bernhard is a rhino. It is almost certain that John put down the apple. It is likely that if 'Greg is yellow and John put down the apple' then Brian is yellow. There is a better than even chance that if either 'Bernhard is a rhino' or 'John put down the apple' but not both then Mary went to the office. There is a better than even chance that if 'Bernhard is a rhino' or 'Greg is yellow' or both then Emily is a mouse.,It is impossible that 'Emily is a mouse' 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.8::factA. 0.75::factB. 0.95::factC. %hop1 0.7::factX:-and(factA,factC). 0.6::factY:-xor(factB,factC). 0.6::factZ:-or(factB,factA). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.7828,0.27845569113822766,train,very good chance,impossible,There is a very good chance that 'Emily is a mouse' or 'Brian is yellow' or both.,It is impossible that 'Emily is a mouse' or 'Brian is yellow' or both.,0,'Emily is a mouse' or 'Brian is yellow' or both. It is likely that Lily is a rhino. Chances are about even that Greg is a lion. We believe that Sandra dropped the milk. Chances are about even that if 'Greg is a lion and Sandra dropped the milk' then Julius is white. It is likely that if either 'Lily is a rhino' or 'Sandra dropped the milk' but not both then Bernhard is white. Chances are about even that if either 'Sandra dropped the milk' or 'Lily is a rhino' but not both then Brian is green.,We believe that either 'Lily is a rhino' 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.7::factA. 0.5::factB. 0.75::factC. %hop1 0.5::factX:-and(factB,factC). 0.7::factY:-xor(factA,factC). 0.5::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.735,0.08401680336067213,train,we believe,little chance,We believe that either 'Lily is a rhino' or 'Bernhard is white' but not both.,There is little chance that either 'Lily is a rhino' or 'Bernhard is white' but not both.,1,Either 'Lily is a rhino' or 'Bernhard is white' but not both. There is a better than even chance that Daniel left the apple. There is a very good chance that Sandra put down the milk. Chances are slight that Bernhard is a frog. There is a better than even chance that if 'Daniel left the apple' or 'Bernhard is a frog' or both then Greg is gray. We doubt that if 'Bernhard is a frog' or 'Daniel left the apple' or both then Lily is a lion. It is highly unlikely that if 'Bernhard is a frog and Daniel left the apple' then Winona is a sheep.,It is almost certain that either 'Daniel left the apple' 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.6::factA. 0.8::factB. 0.1::factC. %hop1 0.6::factX:-or(factA,factC). 0.2::factY:-or(factC,factA). 0.05::factZ:-and(factC,factA). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.48800000000000004,0.741748349669934,train,about even,almost certain,Chances are about even that either 'Daniel left the apple' or 'Lily is a lion' but not both.,It is almost certain that either 'Daniel left the apple' or 'Lily is a lion' but not both.,0,Either 'Daniel left the apple' or 'Lily is a lion' but not both. There is a better than even chance that Brian is green. It is highly likely that Mary discarded the milk. It is improbable that Bill went to the kitchen. Chances are about even that if either 'Bill went to the kitchen' or 'Brian is green' but not both then Lily is white. There is little chance that if 'Mary discarded the milk' or 'Brian is green' or both then John moved to the office. Chances are slight that if 'Mary discarded the milk and Bill went to the kitchen' then Sandra took the apple.,There is a very good chance that 'Bill went to the kitchen and Mary 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.9::factB. 0.1::factC. %hop1 0.5::factX:-xor(factC,factA). 0.1::factY:-or(factB,factA). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.09000000000000001,0.7085417083416683,train,chances are slight,very good chance,Chances are slight that 'Bill went to the kitchen and Mary discarded the milk'.,There is a very good chance that 'Bill went to the kitchen and Mary discarded the milk'.,0,'Bill went to the kitchen and Mary discarded the milk'. It is almost certain that Daniel took the apple. We believe that Sandra got the milk. It is certain that Julius is a swan. It is probably not the case that if either 'Daniel took the apple' or 'Sandra got the milk' but not both then Winona is a cat. We doubt that if 'Sandra got the milk' or 'Julius is a swan' or both then Mary is in the hallway. It is probable that if 'Julius is a swan and Daniel took the apple' then Greg is gray.,Chances are about even that either 'Greg is gray' or 'Sandra 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.95::factA. 0.75::factB. 1.0::factC. %hop1 0.25::factX:-xor(factA,factB). 0.2::factY:-or(factB,factC). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.41750000000000004,0.14442888577715543,train,about even,almost no chance,Chances are about even that either 'Greg is gray' or 'Sandra got the milk' but not both.,There is almost no chance that either 'Greg is gray' or 'Sandra got the milk' but not both.,1,Either 'Greg is gray' or 'Sandra got the milk' but not both. It is highly unlikely that Julius is gray. Chances are slight that Sandra left the football. It is probably not the case that Lily is a lion. There is a very good chance that if either 'Julius is gray' or 'Lily is a lion' but not both then Bernhard is a rhino. It is highly unlikely that if 'Julius is gray' or 'Sandra left the football' or both then John discarded the apple. Chances are slight that if 'Lily is a lion' or 'Sandra left the football' or both then Mary went to the kitchen.,There is almost no chance that 'Lily is a lion 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.05::factA. 0.1::factB. 0.25::factC. %hop1 0.8::factX:-xor(factA,factC). 0.05::factY:-or(factA,factB). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.012500000000000006,0.5623124624924986,train,almost no chance,about even,There is almost no chance that 'Lily is a lion and Julius is gray'.,Chances are about even that 'Lily is a lion and Julius is gray'.,1,'Lily is a lion and Julius is gray'. It is highly likely that Brian is a frog. It is almost certain that Gertrude is a sheep. There is a very good chance that Bernhard is green. It is improbable that if 'Gertrude is a sheep and Bernhard is green' then Daniel took the milk. There is almost no chance that if 'Brian is a frog and Bernhard is green' then John discarded the apple. It is certain that if 'Gertrude is a sheep and Bernhard is green' then Sandra left the milk.,We believe that either 'Gertrude is a sheep' 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.9::factA. 0.95::factB. 0.8::factC. %hop1 0.1::factX:-and(factB,factC). 0.02::factY:-and(factA,factC). 1.0::factZ:-and(factB,factC). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.23,0.7179435887177436,train,probably not,we believe,It is probably not the case that either 'Gertrude is a sheep' or 'Bernhard is green' but not both.,We believe that either 'Gertrude is a sheep' or 'Bernhard is green' but not both.,0,Either 'Gertrude is a sheep' or 'Bernhard is green' but not both. There is a very good chance that Bill went to the office. It is almost certain that Bernhard is green. There is almost no chance that Lily is white. It is unlikely that if either 'Lily is white' or 'Bill went to the office' but not both then Sandra left the milk. There is little chance that if 'Bernhard is green and Bill went to the office' then Sumit is thirsty. Chances are about even that if 'Bernhard is green' or 'Bill went to the office' or both then Mary dropped the apple.,We doubt that either 'Lily is white' or 'Sandra 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.8::factA. 0.95::factB. 0.02::factC. %hop1 0.2::factX:-xor(factC,factA). 0.1::factY:-and(factB,factA). 0.5::factZ:-or(factB,factA). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.17600000000000002,0.39547909581916385,train,we doubt,very good chance,We doubt that either 'Lily is white' or 'Sandra left the milk' but not both.,There is a very good chance that either 'Lily is white' or 'Sandra left the milk' but not both.,1,Either 'Lily is white' or 'Sandra left the milk' but not both. There is a better than even chance that Sumit is thirsty. We doubt that Greg is a rhino. Chances are slight that John went to the garden. It is almost certain that if 'Sumit is thirsty' or 'John went to the garden' or both then Lily is a lion. There is almost no chance that if 'Sumit is thirsty and Greg is a rhino' then Bernhard is a swan. It is almost certain that if 'Sumit is thirsty' or 'John went to the garden' or both then Brian is a frog.,It is probably the case that 'John went to the garden and Brian 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.6::factA. 0.2::factB. 0.1::factC. %hop1 0.95::factX:-or(factA,factC). 0.02::factY:-and(factA,factB). 0.95::factZ:-or(factA,factC). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.09500000000000001,0.7863572714542909,train,chances are slight,probably,Chances are slight that 'John went to the garden and Brian is a frog'.,It is probably the case that 'John went to the garden and Brian is a frog'.,0,'John went to the garden and Brian is a frog'. It is probably the case that Julius is gray. There is almost no chance that Mary went to the office. There is little chance that Brian is a rhino. We doubt that if either 'Mary went to the office' or 'Julius is gray' but not both then Lily is a lion. It is probably not the case that if 'Mary went to the office' or 'Julius is gray' or both then Emily is a mouse. It is highly likely that if 'Julius is gray' or 'Brian is a rhino' or both then Bernhard is a frog.,There is a very good chance that 'Bernhard is a frog 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.7::factA. 0.02::factB. 0.1::factC. %hop1 0.2::factX:-xor(factB,factA). 0.25::factY:-or(factB,factA). 0.9::factZ:-or(factA,factC). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.157635,0.33466693338667736,train,unlikely,very good chance,It is unlikely that 'Bernhard is a frog and Emily is a mouse'.,There is a very good chance that 'Bernhard is a frog and Emily is a mouse'.,0,'Bernhard is a frog and Emily is a mouse'. We doubt that Julius is a frog. It is probably not the case that Fred put down the apple. It is improbable that Gertrude is a mouse. There is a better than even chance that if 'Julius is a frog and Fred put down the apple' then Greg is a swan. It is probably not the case that if 'Gertrude is a mouse' or 'Fred put down the apple' or both then Lily is yellow. It is certain that if 'Julius is a frog' or 'Gertrude is a mouse' or both then Mary moved to the garden.,It is probably not the case that 'Julius 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.2::factA. 0.25::factB. 0.1::factC. %hop1 0.6::factX:-and(factA,factB). 0.25::factY:-or(factC,factB). 1.0::factZ:-or(factA,factC). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.28,0.3264652930586117,train,probably not,probably,It is probably not the case that 'Julius is a frog' or 'Gertrude is a mouse' or both.,It is probably the case that 'Julius is a frog' or 'Gertrude is a mouse' or both.,1,'Julius is a frog' or 'Gertrude is a mouse' or both. It is highly likely that Mary got the football. We believe that Greg is a lion. Chances are slight that Julius is gray. It is almost certain that if 'Julius is gray and Greg is a lion' then Yann is hungry. It is improbable that if 'Greg is a lion' or 'Julius is gray' or both then Brian is a lion. It is highly unlikely that if 'Julius is gray' or 'Mary got the football' or both then John went to the kitchen.,It is certain that either 'Brian is a lion' or 'John went to the kitchen' 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.75::factB. 0.1::factC. %hop1 0.95::factX:-and(factC,factB). 0.1::factY:-or(factB,factC). 0.05::factZ:-or(factC,factA). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.11592500000000001,0.5583116623324665,train,chances are slight,certain,Chances are slight that either 'Brian is a lion' or 'John went to the kitchen' but not both.,It is certain that either 'Brian is a lion' or 'John went to the kitchen' but not both.,0,Either 'Brian is a lion' or 'John went to the kitchen' but not both. There is almost no chance that Emily is a sheep. It is likely that Antoine is hungry. There is little chance that Greg is a rhino. We believe that if either 'Greg is a rhino' or 'Emily is a sheep' but not both then Julius is a swan. There is a better than even chance that if either 'Emily is a sheep' or 'Greg is a rhino' but not both then Winona is a cat. We believe that if 'Greg is a rhino and Emily is a sheep' then Brian is white.,There is a better than even chance that 'Winona is a cat' or 'Emily 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.02::factA. 0.7::factB. 0.1::factC. %hop1 0.75::factX:-xor(factC,factA). 0.6::factY:-xor(factA,factC). 0.75::factZ:-and(factC,factA). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.07880000000000001,0.1872374474894979,train,chances are slight,better than even,Chances are slight that 'Winona is a cat' or 'Emily is a sheep' or both.,There is a better than even chance that 'Winona is a cat' or 'Emily is a sheep' or both.,0,'Winona is a cat' or 'Emily is a sheep' or both. It is probably not the case that Lily is a swan. It is highly unlikely that Sandra left the milk. We believe that Jeff moved to the office. There is almost no chance that if either 'Lily is a swan' or 'Sandra left the milk' but not both then Sumit is thirsty. We doubt that if either 'Lily is a swan' or 'Jeff moved to the office' but not both then John grabbed the apple. Chances are slight that if 'Jeff moved to the office and Lily is a swan' then Mary got the football.,It is improbable that either 'Mary got the football' or 'John grabbed 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.05::factB. 0.75::factC. %hop1 0.02::factX:-xor(factA,factB). 0.2::factY:-xor(factA,factC). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.14375,0.5163032606521304,train,improbable,better than even,It is improbable that either 'Mary got the football' or 'John grabbed the apple' but not both.,There is a better than even chance that either 'Mary got the football' or 'John grabbed the apple' but not both.,1,Either 'Mary got the football' or 'John grabbed the apple' but not both. It is highly likely that Lily is a frog. Chances are slight that Bernhard is green. There is a very good chance that Julius is white. There is little chance that if either 'Lily is a frog' or 'Bernhard is green' but not both then Brian is yellow. There is a better than even chance that if 'Bernhard is green' or 'Lily is a frog' or both then Sandra left the milk. It is highly unlikely that if 'Julius is white' or 'Lily is a frog' or both then John went to the garden.,It is almost certain that either 'Brian is yellow' 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.9::factA. 0.1::factB. 0.8::factC. %hop1 0.1::factX:-xor(factA,factB). 0.6::factY:-or(factB,factA). 0.05::factZ:-or(factC,factA). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.18000000000000005,0.6733346669333867,train,we doubt,almost certain,We doubt that either 'Brian is yellow' or 'Bernhard is green' but not both.,It is almost certain that either 'Brian is yellow' or 'Bernhard is green' but not both.,0,Either 'Brian is yellow' or 'Bernhard is green' but not both. There is almost no chance that Lily is a swan. It is improbable that Mary picked up the milk. It is probably the case that Greg is a lion. It is likely that if 'Lily is a swan and Mary picked up the milk' then John discarded the apple. Chances are about even that if 'Greg is a lion' or 'Mary picked up the milk' or both then Bernhard is green. Chances are about even that if either 'Greg is a lion' or 'Mary picked up the milk' but not both then Fred went to the garden.,There is almost no chance that either 'Lily 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.02::factA. 0.1::factB. 0.7::factC. %hop1 0.7::factX:-and(factA,factB). 0.5::factY:-or(factC,factB). 0.5::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.0186,0.5363072614522905,train,almost no chance,we believe,There is almost no chance that either 'Lily is a swan' or 'John discarded the apple' but not both.,We believe that either 'Lily is a swan' or 'John discarded the apple' but not both.,1,Either 'Lily is a swan' or 'John discarded the apple' but not both. Chances are about even that Lily is gray. There is a better than even chance that Mary got the apple. There is a better than even chance that John dropped the milk. Chances are slight that if 'John dropped the milk and Mary got the apple' then Jessica is a cat. It is highly likely that if 'Mary got the apple and John dropped the milk' then Brian is a rhino. It is probably not the case that if either 'John dropped the milk' or 'Lily is gray' but not both then Julius is a swan.,It is almost certain that either 'John dropped the milk' 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.5::factA. 0.6::factB. 0.6::factC. %hop1 0.1::factX:-and(factC,factB). 0.9::factY:-and(factB,factC). 0.25::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5000000000000001,0.5429085817163433,train,about even,almost certain,Chances are about even that either 'John dropped the milk' or 'Lily is gray' but not both.,It is almost certain that either 'John dropped the milk' or 'Lily is gray' but not both.,0,Either 'John dropped the milk' or 'Lily is gray' but not both. It is impossible that Greg is a frog. It is probable that Lily is a rhino. It is highly unlikely that John went to the office. It is impossible that if 'Lily is a rhino' or 'John went to the office' or both then Julius is white. It is improbable that if 'John went to the office' or 'Greg is a frog' or both then Jeff left the apple. It is highly unlikely that if 'Lily is a rhino and Greg is a frog' then Sandra is in the kitchen.,There is a better than even chance that 'Julius is white and Jeff 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.0::factA. 0.7::factB. 0.05::factC. %hop1 0.0::factX:-or(factB,factC). 0.1::factY:-or(factC,factA). 0.05::factZ:-and(factB,factA). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.0,0.5039007801560312,train,impossible,better than even,It is impossible that 'Julius is white and Jeff left the apple'.,There is a better than even chance that 'Julius is white and Jeff left the apple'.,0,'Julius is white and Jeff left the apple'. It is likely that John went to the bedroom. There is little chance that Gertrude is a mouse. It is impossible that Mary moved to the office. There is a very good chance that if 'John went to the bedroom and Mary moved to the office' then Lily is yellow. There is a better than even chance that if either 'John went to the bedroom' or 'Gertrude is a mouse' but not both then Jeff dropped the apple. It is certain that if either 'John went to the bedroom' or 'Mary moved to the office' but not both then Brian is a lion.,There is almost no chance that 'Jeff dropped the apple 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.7::factA. 0.1::factB. 0.0::factC. %hop1 0.8::factX:-and(factA,factC). 0.6::factY:-xor(factA,factB). 1.0::factZ:-xor(factA,factC). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.37799999999999995,0.6021204240848169,train,about even,almost no chance,Chances are about even that 'Jeff dropped the apple and Brian is a lion'.,There is almost no chance that 'Jeff dropped the apple and Brian is a lion'.,0,'Jeff dropped the apple and Brian is a lion'. There is a better than even chance that Jeff moved to the office. We doubt that John grabbed the apple. There is little chance that Bernhard is a frog. There is a very good chance that if 'Jeff moved to the office and Bernhard is a frog' then Brian is a rhino. We doubt that if 'Bernhard is a frog and John grabbed the apple' then Julius is a swan. It is probably the case that if 'Jeff moved to the office and John grabbed the apple' then Jessica is a mouse.,It is highly unlikely that 'Brian is a rhino and Jeff 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.6::factA. 0.2::factB. 0.1::factC. %hop1 0.8::factX:-and(factA,factC). 0.2::factY:-and(factC,factB). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.048,0.1384276855371074,train,highly unlikely,we believe,It is highly unlikely that 'Brian is a rhino and Jeff moved to the office'.,We believe that 'Brian is a rhino and Jeff moved to the office'.,1,'Brian is a rhino and Jeff moved to the office'. There is little chance that Jeff moved to the garden. It is impossible that Julius is gray. There is a very good chance that Bill went to the kitchen. It is highly unlikely that if either 'Jeff moved to the garden' or 'Bill went to the kitchen' but not both then Greg is white. We doubt that if 'Jeff moved to the garden and Bill went to the kitchen' then Lily is a lion. We believe that if 'Jeff moved to the garden' or 'Julius is gray' or both then Bernhard is a rhino.,It is impossible that 'Bill went to the kitchen' or 'Jeff 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.1::factA. 0.0::factB. 0.8::factC. %hop1 0.05::factX:-xor(factA,factC). 0.2::factY:-and(factA,factC). 0.75::factZ:-or(factA,factB). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.8200000000000001,0.535507101420284,train,very good chance,impossible,There is a very good chance that 'Bill went to the kitchen' or 'Jeff moved to the garden' or both.,It is impossible that 'Bill went to the kitchen' or 'Jeff moved to the garden' or both.,0,'Bill went to the kitchen' or 'Jeff moved to the garden' or both. It is almost certain that Lily is a frog. We believe that Bernhard is white. Chances are slight that Gertrude is a cat. It is probably the case that if 'Bernhard is white and Gertrude is a cat' then Brian is yellow. It is probably the case that if 'Lily is a frog and Bernhard is white' then Mary left the milk. There is little chance that if 'Lily is a frog' or 'Bernhard is white' or both then John went to the hallway.,We doubt that 'Gertrude is a cat' 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.95::factA. 0.75::factB. 0.1::factC. %hop1 0.7::factX:-and(factB,factC). 0.7::factY:-and(factA,factB). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.18887500000000004,0.12042408481696339,train,we doubt,we believe,We doubt that 'Gertrude is a cat' or 'John went to the hallway' or both.,We believe that 'Gertrude is a cat' or 'John went to the hallway' or both.,1,'Gertrude is a cat' or 'John went to the hallway' or both. There is a very good chance that Winona is a wolf. There is little chance that Emily is a wolf. We doubt that John went to the bedroom. There is almost no chance that if 'Winona is a wolf and Emily is a wolf' then Bernhard is yellow. There is little chance that if 'Emily is a wolf' or 'John went to the bedroom' or both then Julius is a lion. Chances are slight that if either 'John went to the bedroom' or 'Emily is a wolf' but not both then Daniel got the football.,There is little chance that 'Julius is a lion' 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.8::factA. 0.1::factB. 0.2::factC. %hop1 0.02::factX:-and(factA,factB). 0.1::factY:-or(factB,factC). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.11800000000000002,0.15443088617723544,train,little chance,likely,There is little chance that 'Julius is a lion' or 'Emily is a wolf' or both.,It is likely that 'Julius is a lion' or 'Emily is a wolf' or both.,1,'Julius is a lion' or 'Emily is a wolf' or both. It is impossible that Brian is green. It is certain that John went to the bedroom. There is little chance that Lily is a rhino. It is likely that if 'Brian is green' or 'John went to the bedroom' or both then Jessica is a cat. It is impossible that if 'Brian is green and Lily is a rhino' then Greg is a swan. Chances are about even that if 'Brian is green and John went to the bedroom' then Daniel dropped the milk.,It is likely that 'Lily is a rhino 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.0::factA. 1.0::factB. 0.1::factC. %hop1 0.7::factX:-or(factA,factB). 0.0::factY:-and(factA,factC). 0.5::factZ:-and(factA,factB). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.07,0.269253850770154,train,highly unlikely,likely,It is highly unlikely that 'Lily is a rhino and Jessica is a cat'.,It is likely that 'Lily is a rhino and Jessica is a cat'.,0,'Lily is a rhino and Jessica is a cat'. There is a better than even chance that John took the milk. It is probably not the case that Bernhard is yellow. It is certain that Brian is a rhino. It is probably the case that if 'Bernhard is yellow' or 'John took the milk' or both then Mary moved to the garden. It is improbable that if 'John took the milk' or 'Bernhard is yellow' or both then Greg is a lion. It is highly unlikely that if either 'John took the milk' or 'Bernhard is yellow' but not both then Winona is a mouse.,There is almost no chance that either 'Mary moved 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.6::factA. 0.25::factB. 1.0::factC. %hop1 0.7::factX:-or(factB,factA). 0.1::factY:-or(factA,factB). 0.05::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.51,0.056811362272454494,train,about even,almost no chance,Chances are about even that either 'Mary moved to the garden' or 'Brian is a rhino' but not both.,There is almost no chance that either 'Mary moved to the garden' or 'Brian is a rhino' but not both.,0,Either 'Mary moved to the garden' or 'Brian is a rhino' but not both. It is improbable that Emily is a mouse. It is certain that Mary went to the office. It is probably not the case that Jessica is a wolf. It is probable that if 'Mary went to the office and Emily is a mouse' then Julius is a swan. There is a better than even chance that if either 'Jessica is a wolf' or 'Mary went to the office' but not both then Bernhard is white. There is a better than even chance that if 'Jessica is a wolf' or 'Emily is a mouse' or both then Bill left the milk.,We doubt that 'Bill left the milk 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.1::factA. 1.0::factB. 0.25::factC. %hop1 0.7::factX:-and(factB,factA). 0.6::factY:-xor(factC,factB). 0.6::factZ:-or(factC,factA). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.195,0.44848969793958793,train,we doubt,highly likely,We doubt that 'Bill left the milk and Mary went to the office'.,It is highly likely that 'Bill left the milk and Mary went to the office'.,1,'Bill left the milk and Mary went to the office'. It is probably not the case that Greg is a swan. It is impossible that Fred is in the cinema. It is impossible that John discarded the milk. It is probable that if either 'Fred is in the cinema' or 'Greg is a swan' but not both then Brian is green. It is probably not the case that if 'Greg is a swan and Fred is in the cinema' then Mary got the football. There is little chance that if either 'Fred is in the cinema' or 'Greg is a swan' but not both then Julius is yellow.,It is probably not the case that 'Brian 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.25::factA. 0.0::factB. 0.0::factC. %hop1 0.7::factX:-xor(factB,factA). 0.25::factY:-and(factA,factB). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.25,0.7223444688937788,train,probably not,probable,It is probably not the case that 'Brian is green' or 'Greg is a swan' or both.,It is probable that 'Brian is green' or 'Greg is a swan' or both.,1,'Brian is green' or 'Greg is a swan' or both. It is probably the case that Lily is green. It is highly unlikely that Brian is white. It is probably not the case that John dropped the apple. There is almost no chance that if either 'John dropped the apple' or 'Lily is green' but not both then Julius is yellow. It is certain that if 'John dropped the apple' or 'Lily is green' or both then Bernhard is a rhino. It is highly unlikely that if 'Lily is green and Brian is white' then Greg is gray.,It is certain that 'Bernhard is a rhino and Greg 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.7::factA. 0.05::factB. 0.25::factC. %hop1 0.02::factX:-xor(factC,factA). 1.0::factY:-or(factC,factA). 0.05::factZ:-and(factA,factB). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.0017500000000000005,0.20044008801760352,train,impossible,certain,It is impossible that 'Bernhard is a rhino and Greg is gray'.,It is certain that 'Bernhard is a rhino and Greg is gray'.,0,'Bernhard is a rhino and Greg is gray'. There is a very good chance that Greg is a lion. It is almost certain that Emily is a wolf. We doubt that Jeff moved to the garden. It is probably not the case that if 'Greg is a lion' or 'Jeff moved to the garden' or both then Brian is a frog. Chances are about even that if 'Jeff moved to the garden and Greg is a lion' then Mary left the football. There is a better than even chance that if 'Emily is a wolf' or 'Jeff moved to the garden' or both then John went to the bedroom.,There is almost no chance that 'Brian is a frog' 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.8::factA. 0.95::factB. 0.2::factC. %hop1 0.25::factX:-or(factA,factC). 0.5::factY:-and(factC,factA). 0.6::factZ:-or(factB,factC). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.9605,0.45069013802760555,train,almost certain,almost no chance,It is almost certain that 'Brian is a frog' or 'Emily is a wolf' or both.,There is almost no chance that 'Brian is a frog' or 'Emily is a wolf' or both.,0,'Brian is a frog' or 'Emily is a wolf' or both. We doubt that Gertrude is a mouse. There is a very good chance that Greg is a swan. There is little chance that Mary discarded the milk. There is little chance that if 'Greg is a swan and Mary discarded the milk' then Bernhard is a frog. It is highly likely that if 'Mary discarded the milk and Greg is a swan' then Julius is white. It is almost certain that if 'Gertrude is a mouse' or 'Greg is a swan' or both then Brian is yellow.,It is improbable that 'Bernhard is a frog' or 'Mary discarded 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. 0.8::factB. 0.1::factC. %hop1 0.1::factX:-and(factB,factC). 0.9::factY:-and(factC,factB). 0.95::factZ:-or(factA,factB). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.10000000000000002,0.1888377675535107,train,improbable,we believe,It is improbable that 'Bernhard is a frog' or 'Mary discarded the milk' or both.,We believe that 'Bernhard is a frog' or 'Mary discarded the milk' or both.,1,'Bernhard is a frog' or 'Mary discarded the milk' or both. It is improbable that Greg is yellow. There is a very good chance that Mary went to the bedroom. It is likely that Bernhard is a swan. Chances are slight that if 'Bernhard is a swan' or 'Greg is yellow' or both then Brian is white. Chances are slight that if either 'Greg is yellow' or 'Bernhard is a swan' but not both then Sandra grabbed the apple. It is probably not the case that if 'Mary went to the bedroom and Bernhard is a swan' then Emily is a mouse.,It is likely 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.1::factA. 0.8::factB. 0.7::factC. %hop1 0.1::factX:-or(factC,factA). 0.1::factY:-xor(factA,factC). 0.25::factZ:-and(factB,factC). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.014000000000000007,0.29925985197039406,train,almost no chance,likely,There is almost no chance that 'Brian is white and Emily is a mouse'.,It is likely that 'Brian is white and Emily is a mouse'.,0,'Brian is white and Emily is a mouse'. It is impossible that Lily is a lion. It is probable that Jeff went to the garden. There is a better than even chance that Sandra dropped the milk. It is highly likely that if 'Lily is a lion and Jeff went to the garden' then Julius is a rhino. It is highly likely that if either 'Sandra dropped the milk' or 'Jeff went to the garden' but not both then Daniel put down the milk. It is likely that if 'Lily is a lion and Sandra dropped the milk' then Greg is a swan.,It is probably the case that 'Sandra dropped 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.6::factC. %hop1 0.9::factX:-and(factA,factB). 0.9::factY:-xor(factC,factB). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.0,0.04100820164032806,train,impossible,probably,It is impossible that 'Sandra dropped the milk and Julius is a rhino'.,It is probably the case that 'Sandra dropped the milk and Julius is a rhino'.,0,'Sandra dropped the milk and Julius is a rhino'. There is a very good chance that Jessica is a cat. We doubt that Lily is a lion. It is likely that Brian is green. Chances are slight that if 'Jessica is a cat' or 'Lily is a lion' or both then Mary moved to the garden. It is likely that if 'Lily is a lion and Jessica is a cat' then John left the milk. Chances are about even that if either 'Brian is green' or 'Jessica is a cat' but not both then Fred dropped the apple.,We believe that either 'Fred dropped the apple' 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.8::factA. 0.2::factB. 0.7::factC. %hop1 0.1::factX:-or(factA,factB). 0.7::factY:-and(factB,factA). 0.5::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.75,0.5123024604920984,train,we believe,improbable,We believe that either 'Fred dropped the apple' or 'Brian is green' but not both.,It is improbable that either 'Fred dropped the apple' or 'Brian is green' but not both.,1,Either 'Fred dropped the apple' or 'Brian is green' but not both. It is likely that Greg is a rhino. There is a very good chance that John went to the bedroom. There is little chance that Fred moved to the office. It is impossible that if 'Fred moved to the office' or 'Greg is a rhino' or both then Julius is a lion. We doubt that if 'Greg is a rhino' or 'Fred moved to the office' or both then Emily is a wolf. It is probably the case that if 'Fred moved to the office' or 'Greg is a rhino' or both then Sandra left the apple.,We believe that either 'Fred moved to the office' 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.7::factA. 0.8::factB. 0.1::factC. %hop1 0.0::factX:-or(factC,factA). 0.2::factY:-or(factA,factC). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.74,0.48849769953990796,train,we believe,impossible,We believe that either 'Fred moved to the office' or 'John went to the bedroom' but not both.,It is impossible that either 'Fred moved to the office' or 'John went to the bedroom' but not both.,1,Either 'Fred moved to the office' or 'John went to the bedroom' but not both. It is almost certain that Sandra took the milk. It is probable that Julius is gray. It is probably not the case that Fred went to the garden. It is probably the case that if 'Sandra took the milk' or 'Julius is gray' or both then Jason is tired. It is unlikely that if 'Sandra took the milk and Fred went to the garden' then Brian is white. There is little chance that if either 'Sandra took the milk' or 'Fred went to the garden' but not both then John dropped the milk.,It is probably the case that 'Fred went to the garden 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.95::factA. 0.7::factB. 0.25::factC. %hop1 0.7::factX:-or(factA,factB). 0.2::factY:-and(factA,factC). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.0012500000000000013,0.33526705341068214,train,impossible,probably,It is impossible that 'Fred went to the garden and John dropped the milk'.,It is probably the case that 'Fred went to the garden and John dropped the milk'.,0,'Fred went to the garden and John dropped the milk'. It is unlikely that John put down the apple. It is probably the case that Bernhard is a swan. There is little chance that Mary dropped the milk. There is a very good chance that if 'John put down the apple and Mary dropped the milk' then Jessica is a mouse. It is almost certain that if either 'Mary dropped the milk' or 'John put down the apple' but not both then Greg is yellow. It is likely that if either 'John put down the apple' or 'Bernhard is a swan' but not both then Lily is white.,There is little chance that 'Jessica is a mouse' 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.2::factA. 0.7::factB. 0.1::factC. %hop1 0.8::factX:-and(factA,factC). 0.95::factY:-xor(factC,factA). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.10000000000000002,0.46649329865973194,train,little chance,certain,There is little chance that 'Jessica is a mouse' or 'Mary dropped the milk' or both.,It is certain that 'Jessica is a mouse' or 'Mary dropped the milk' or both.,1,'Jessica is a mouse' or 'Mary dropped the milk' or both. It is probably not the case that John moved to the garden. It is likely that Yann is bored. There is little chance that Lily is a rhino. It is unlikely that if 'John moved to the garden and Lily is a rhino' then Mary grabbed the milk. It is almost certain that if 'Lily is a rhino and Yann is bored' then Julius is a lion. It is probable that if either 'John moved to the garden' or 'Yann is bored' but not both then Bernhard is gray.,There is a better than even chance that either 'John moved to the garden' 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.25::factA. 0.7::factB. 0.1::factC. %hop1 0.2::factX:-and(factA,factC). 0.95::factY:-and(factC,factB). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.5650000000000001,0.3490698139627926,train,better than even,improbable,There is a better than even chance that either 'John moved to the garden' or 'Bernhard is gray' but not both.,It is improbable that either 'John moved to the garden' or 'Bernhard is gray' but not both.,1,Either 'John moved to the garden' or 'Bernhard is gray' but not both. It is certain that Greg is a rhino. It is improbable that Bernhard is a swan. It is probably the case that Julius is yellow. There is almost no chance that if either 'Bernhard is a swan' or 'Greg is a rhino' but not both then John discarded the milk. It is highly unlikely that if 'Julius is yellow' or 'Bernhard is a swan' or both then Mary got the football. We doubt that if either 'Bernhard is a swan' or 'Greg is a rhino' but not both then Winona is a sheep.,It is probable that 'Bernhard is a swan 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 1.0::factA. 0.1::factB. 0.7::factC. %hop1 0.02::factX:-xor(factB,factA). 0.05::factY:-or(factC,factB). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.07,0.7993598719743948,train,highly unlikely,probable,It is highly unlikely that 'Bernhard is a swan and Julius is yellow'.,It is probable that 'Bernhard is a swan and Julius is yellow'.,0,'Bernhard is a swan and Julius is yellow'. Chances are about even that Julius is yellow. There is a very good chance that John moved to the garden. Chances are about even that Emily is a wolf. There is a very good chance that if 'John moved to the garden' or 'Julius is yellow' or both then Greg is a swan. It is impossible that if 'John moved to the garden' or 'Emily is a wolf' or both then Mary left the football. It is improbable that if 'Julius is yellow' or 'John moved to the garden' or both then Lily is a rhino.,It is improbable that 'John moved to the garden 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.5::factA. 0.8::factB. 0.5::factC. %hop1 0.8::factX:-or(factB,factA). 0.0::factY:-or(factB,factC). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.08000000000000002,0.23064612922584518,train,improbable,likely,It is improbable that 'John moved to the garden and Lily is a rhino'.,It is likely that 'John moved to the garden and Lily is a rhino'.,1,'John moved to the garden and Lily is a rhino'. It is probable that Lily is a rhino. It is probably not the case that Julius is a rhino. There is a very good chance that Daniel took the apple. It is likely that if either 'Julius is a rhino' or 'Daniel took the apple' but not both then Mary got the football. It is probably not the case that if either 'Lily is a rhino' or 'Julius is a rhino' but not both then John dropped the milk. It is highly likely that if 'Daniel took the apple and Julius is a rhino' then Brian is a frog.,There is a better than even chance that either 'Lily is a rhino' 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.7::factA. 0.25::factB. 0.8::factC. %hop1 0.7::factX:-xor(factB,factC). 0.25::factY:-xor(factA,factB). 0.9::factZ:-and(factC,factB). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.6,0.3744748949789958,train,better than even,chances are slight,There is a better than even chance that either 'Lily is a rhino' or 'Julius is a rhino' but not both.,Chances are slight that either 'Lily is a rhino' or 'Julius is a rhino' but not both.,1,Either 'Lily is a rhino' or 'Julius is a rhino' but not both. There is a better than even chance that Fred left the football. It is almost certain that Brian is green. It is highly likely that Lily is a swan. It is highly likely that if either 'Brian is green' or 'Lily is a swan' but not both then Gertrude is a cat. It is impossible that if either 'Fred left the football' or 'Lily is a swan' but not both then Mary went to the office. It is probably not the case that if either 'Fred left the football' or 'Brian is green' but not both then Daniel took the apple.,It is impossible that 'Fred left the football 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.6::factA. 0.95::factB. 0.9::factC. %hop1 0.9::factX:-xor(factB,factC). 0.0::factY:-xor(factA,factC). 0.25::factZ:-xor(factA,factB). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.0,0.6395279055811163,train,impossible,about even,It is impossible that 'Fred left the football and Mary went to the office'.,Chances are about even that 'Fred left the football and Mary went to the office'.,1,'Fred left the football and Mary went to the office'. We believe that Winona is a mouse. It is impossible that Bernhard is green. It is probably the case that Julius is white. We doubt that if 'Julius is white and Bernhard is green' then Lily is yellow. Chances are slight that if 'Bernhard is green and Winona is a mouse' then John left the football. It is impossible that if either 'Julius is white' or 'Bernhard is green' but not both then Mary went to the kitchen.,It is impossible that 'Bernhard is green' 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.75::factA. 0.0::factB. 0.7::factC. %hop1 0.2::factX:-and(factC,factB). 0.1::factY:-and(factB,factA). 0.0::factZ:-xor(factC,factB). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.0,0.016203240648129627,train,impossible,almost certain,It is impossible that 'Bernhard is green' or 'Mary went to the kitchen' or both.,It is almost certain that 'Bernhard is green' or 'Mary went to the kitchen' or both.,1,'Bernhard is green' or 'Mary went to the kitchen' or both. It is likely that Bernhard is gray. It is almost certain that Julius is green. There is a very good chance that Lily is a rhino. There is almost no chance that if 'Lily is a rhino' or 'Julius is green' or both then John moved to the office. It is highly likely that if either 'Julius is green' or 'Lily is a rhino' but not both then Mary went to the bedroom. It is highly unlikely that if 'Bernhard is gray and Lily is a rhino' then Brian is a frog.,It is almost certain that 'John moved to the office' 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.7::factA. 0.95::factB. 0.8::factC. %hop1 0.02::factX:-or(factC,factB). 0.9::factY:-xor(factB,factC). 0.05::factZ:-and(factA,factC). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.9508,0.03600720144028806,train,almost certain,almost no chance,It is almost certain that 'John moved to the office' or 'Julius is green' or both.,There is almost no chance that 'John moved to the office' or 'Julius is green' or both.,1,'John moved to the office' or 'Julius is green' or both. Chances are slight that Greg is a swan. It is probably not the case that Jessica is a cat. It is unlikely that John put down the apple. It is certain that if 'Jessica is a cat and John put down the apple' then Gertrude is a sheep. It is improbable that if 'John put down the apple' or 'Jessica is a cat' or both then Bernhard is a swan. There is a better than even chance that if 'John put down the apple' or 'Jessica is a cat' or both then Julius is a rhino.,It is unlikely that either 'Jessica is a cat' 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.1::factA. 0.25::factB. 0.2::factC. %hop1 1.0::factX:-and(factB,factC). 0.1::factY:-or(factC,factB). 0.6::factZ:-or(factC,factB). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.19000000000000006,0.6337267453490698,train,unlikely,almost certain,It is unlikely that either 'Jessica is a cat' or 'Julius is a rhino' but not both.,It is almost certain that either 'Jessica is a cat' or 'Julius is a rhino' but not both.,1,Either 'Jessica is a cat' or 'Julius is a rhino' but not both. There is almost no chance that Bernhard is a swan. It is highly unlikely that Sandra left the milk. It is certain that Brian is gray. It is probably not the case that if 'Brian is gray and Bernhard is a swan' then Winona is a wolf. There is a very good chance that if 'Brian is gray and Bernhard is a swan' then Greg is a rhino. There is little chance that if either 'Bernhard is a swan' or 'Sandra left the milk' but not both then Julius is yellow.,It is highly unlikely that either 'Sandra left the milk' 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.02::factA. 0.05::factB. 1.0::factC. %hop1 0.25::factX:-and(factC,factA). 0.8::factY:-and(factC,factA). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.05450000000000002,0.736747349469894,train,highly unlikely,likely,It is highly unlikely that either 'Sandra left the milk' or 'Winona is a wolf' but not both.,It is likely that either 'Sandra left the milk' or 'Winona is a wolf' but not both.,1,Either 'Sandra left the milk' or 'Winona is a wolf' but not both. It is almost certain that Mary went to the hallway. We believe that Daniel dropped the milk. It is certain that Bernhard is a rhino. It is certain that if 'Bernhard is a rhino' or 'Mary went to the hallway' or both then Julius is white. It is improbable that if 'Mary went to the hallway' or 'Daniel dropped the milk' or both then Greg is a frog. Chances are slight that if 'Daniel dropped the milk' or 'Mary went to the hallway' or both then John took the football.,It is unlikely that either 'Mary went to the hallway' or 'John 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.95::factA. 0.75::factB. 1.0::factC. %hop1 1.0::factX:-or(factC,factA). 0.1::factY:-or(factA,factB). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.85875,0.6647329465893179,train,highly likely,unlikely,It is highly likely that either 'Mary went to the hallway' or 'John took the football' but not both.,It is unlikely that either 'Mary went to the hallway' or 'John took the football' but not both.,0,Either 'Mary went to the hallway' or 'John took the football' but not both. There is a better than even chance that John discarded the milk. It is likely that Lily is a swan. We doubt that Julius is a rhino. It is likely that if either 'Lily is a swan' or 'John discarded the milk' but not both then Mary dropped the apple. There is a very good chance that if 'John discarded the milk and Lily is a swan' then Jessica is a mouse. It is probable that if 'John discarded the milk' or 'Lily is a swan' or both then Bernhard is yellow.,It is certain that 'Jessica is a mouse' 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.6::factA. 0.7::factB. 0.2::factC. %hop1 0.7::factX:-xor(factB,factA). 0.8::factY:-and(factA,factB). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.4688,0.614122824564913,train,about even,certain,Chances are about even that 'Jessica is a mouse' or 'Julius is a rhino' or both.,It is certain that 'Jessica is a mouse' or 'Julius is a rhino' or both.,0,'Jessica is a mouse' or 'Julius is a rhino' or both. We doubt that Julius is gray. It is highly likely that Brian is white. We believe that Greg is green. There is a very good chance that if 'Brian is white and Greg is green' then Sandra took the milk. There is almost no chance that if 'Greg is green' or 'Brian is white' or both then John went to the garden. We doubt that if either 'Greg is green' or 'Brian is white' but not both then Mary left the milk.,Chances are about even that 'Sandra took 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.2::factA. 0.9::factB. 0.75::factC. %hop1 0.8::factX:-and(factB,factC). 0.02::factY:-or(factC,factB). 0.2::factZ:-xor(factC,factB). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.54,0.2520504100820164,train,about even,certain,Chances are about even that 'Sandra took the milk and Brian is white'.,It is certain that 'Sandra took the milk and Brian is white'.,1,'Sandra took the milk and Brian is white'. It is impossible that Julius is gray. It is probable that Lily is green. It is highly unlikely that John put down the milk. Chances are slight that if 'Lily is green and Julius is gray' then Sumit is thirsty. It is almost certain that if 'Lily is green and Julius is gray' then Bernhard is a rhino. There is a very good chance that if either 'Lily is green' or 'John put down the milk' but not both then Jason is tired.,It is highly unlikely that 'Lily is green 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.05::factC. %hop1 0.1::factX:-and(factB,factA). 0.95::factY:-and(factB,factA). 0.8::factZ:-xor(factB,factC). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.035,0.4346869373874775,train,highly unlikely,almost certain,It is highly unlikely that 'Lily is green and John put down the milk'.,It is almost certain that 'Lily is green and John put down the milk'.,1,'Lily is green and John put down the milk'. We doubt that Lily is a lion. There is a very good chance that Emily is a wolf. It is almost certain that Fred put down the apple. It is probably not the case that if 'Emily is a wolf' or 'Lily is a lion' or both then Brian is a swan. It is impossible that if either 'Fred put down the apple' or 'Lily is a lion' but not both then John went to the garden. There is a better than even chance that if 'Emily is a wolf' or 'Fred put down the apple' or both then Julius is gray.,It is almost certain that 'Fred put down the apple' 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.2::factA. 0.8::factB. 0.95::factC. %hop1 0.25::factX:-or(factB,factA). 0.0::factY:-xor(factC,factA). 0.6::factZ:-or(factB,factC). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.974,0.014402880576115223,train,almost certain,about even,It is almost certain that 'Fred put down the apple' or 'Julius is gray' or both.,Chances are about even that 'Fred put down the apple' or 'Julius is gray' or both.,1,'Fred put down the apple' or 'Julius is gray' or both. It is improbable that Mary discarded the milk. There is little chance that Greg is a rhino. It is likely that Jason is tired. It is certain that if either 'Greg is a rhino' or 'Mary discarded the milk' but not both then Emily is a mouse. It is probable that if either 'Mary discarded the milk' or 'Jason is tired' but not both then Julius is a swan. It is unlikely that if 'Jason is tired and Greg is a rhino' then Bill went to the garden.,Chances are about even that 'Bill went to the garden' 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.1::factB. 0.7::factC. %hop1 1.0::factX:-xor(factB,factA). 0.7::factY:-xor(factA,factC). 0.2::factZ:-and(factC,factB). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.46717999999999993,0.27765553110622126,train,about even,impossible,Chances are about even that 'Bill went to the garden' or 'Julius is a swan' or both.,It is impossible that 'Bill went to the garden' or 'Julius is a swan' or both.,1,'Bill went to the garden' or 'Julius is a swan' or both. We believe that Fred went to the garden. We doubt that Julius is a swan. There is a very good chance that Greg is white. It is highly unlikely that if 'Greg is white and Julius is a swan' then Sandra left the apple. There is almost no chance that if 'Fred went to the garden' or 'Julius is a swan' or both then Brian is green. It is almost certain that if 'Julius is a swan and Greg is white' then Daniel dropped the milk.,It is improbable that 'Julius is a swan' or 'Greg 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.75::factA. 0.2::factB. 0.8::factC. %hop1 0.05::factX:-and(factC,factB). 0.02::factY:-or(factA,factB). 0.95::factZ:-and(factB,factC). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.8400000000000001,0.5699139827965594,train,very good chance,improbable,There is a very good chance that 'Julius is a swan' or 'Greg is white' or both.,It is improbable that 'Julius is a swan' or 'Greg is white' or both.,0,'Julius is a swan' or 'Greg is white' or both. There is a better than even chance that Greg is a lion. It is probable that Lily is green. Chances are about even that John went to the garden. It is probable that if 'Greg is a lion' or 'Lily is green' or both then Winona is a sheep. It is unlikely that if either 'John went to the garden' or 'Greg is a lion' but not both then Julius is a swan. It is unlikely that if 'John went to the garden' or 'Lily is green' or both then Brian is yellow.,There is a very good chance that 'Winona is a sheep' or 'John 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.6::factA. 0.7::factB. 0.5::factC. %hop1 0.7::factX:-or(factA,factB). 0.2::factY:-xor(factC,factA). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.8079999999999999,0.14402880576115223,train,very good chance,probably not,There is a very good chance that 'Winona is a sheep' or 'John went to the garden' or both.,It is probably not the case that 'Winona is a sheep' or 'John went to the garden' or both.,1,'Winona is a sheep' or 'John went to the garden' or both. It is unlikely that Sandra got the football. It is unlikely that John moved to the garden. There is almost no chance that Julius is yellow. There is little chance that if either 'Julius is yellow' or 'Sandra got the football' but not both then Daniel dropped the milk. It is probably the case that if 'John moved to the garden and Sandra got the football' then Brian is a frog. There is almost no chance that if either 'John moved to the garden' or 'Sandra got the football' but not both then Bernhard is yellow.,We doubt that either 'Julius is yellow' 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.2::factA. 0.2::factB. 0.02::factC. %hop1 0.1::factX:-xor(factC,factA). 0.7::factY:-and(factB,factA). 0.02::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.21200000000000002,0.6093218643728746,train,we doubt,very good chance,We doubt that either 'Julius is yellow' or 'Sandra got the football' but not both.,There is a very good chance that either 'Julius is yellow' or 'Sandra got the football' but not both.,1,Either 'Julius is yellow' or 'Sandra got the football' but not both. It is likely that Mary moved to the garden. There is almost no chance that Greg is a lion. It is probably not the case that Brian is green. It is impossible that if 'Greg is a lion' or 'Brian is green' or both then Jessica is a cat. It is almost certain that if 'Brian is green' or 'Greg is a lion' or both then John went to the office. It is probably not the case that if either 'Greg is a lion' or 'Brian is green' but not both then Julius is a swan.,There is almost no chance that 'Greg is a lion 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.02::factB. 0.25::factC. %hop1 0.0::factX:-or(factB,factC). 0.95::factY:-or(factC,factB). 0.25::factZ:-xor(factB,factC). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.019,0.4528905781156231,train,almost no chance,probable,There is almost no chance that 'Greg is a lion and John went to the office'.,It is probable that 'Greg is a lion and John went to the office'.,1,'Greg is a lion and John went to the office'. We doubt that Emily is a wolf. It is probably not the case that Daniel got the milk. It is highly likely that John left the apple. It is probably not the case that if 'Emily is a wolf and Daniel got the milk' then Greg is yellow. It is certain that if 'Emily is a wolf' or 'Daniel got the milk' or both then Bernhard is a swan. Chances are about even that if 'Daniel got the milk' or 'Emily is a wolf' or both then Mary dropped the milk.,It is probably the case that either 'Mary dropped 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.2::factA. 0.25::factB. 0.9::factC. %hop1 0.25::factX:-and(factA,factB). 1.0::factY:-or(factA,factB). 0.5::factZ:-or(factB,factA). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.2,0.6431286257251451,train,we doubt,probably,We doubt that either 'Mary dropped the milk' or 'Bernhard is a swan' but not both.,It is probably the case that either 'Mary dropped the milk' or 'Bernhard is a swan' but not both.,0,Either 'Mary dropped the milk' or 'Bernhard is a swan' but not both. We believe that John moved to the office. It is almost certain that Julius is green. There is almost no chance that Greg is a lion. We doubt that if either 'Julius is green' or 'Greg is a lion' but not both then Brian is a frog. We doubt that if 'John moved to the office' or 'Greg is a lion' or both then Mary went to the bedroom. It is probably not the case that if 'Julius is green' or 'John moved to the office' or both then Lily is yellow.,There is almost no chance that 'Greg is a lion 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.75::factA. 0.95::factB. 0.02::factC. %hop1 0.2::factX:-xor(factB,factC). 0.2::factY:-or(factA,factC). 0.25::factZ:-or(factB,factA). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.014999999999999998,0.40428085617123427,train,almost no chance,likely,There is almost no chance that 'Greg is a lion and John moved to the office'.,It is likely that 'Greg is a lion and John moved to the office'.,1,'Greg is a lion and John moved to the office'. It is highly unlikely that Julius is gray. It is improbable that Fred is in the cinema. There is a better than even chance that Bernhard is a rhino. It is highly likely that if 'Julius is gray' or 'Fred is in the cinema' or both then John took the apple. It is highly likely that if 'Julius is gray' or 'Bernhard is a rhino' or both then Brian is white. We believe that if 'Fred is in the cinema' or 'Bernhard is a rhino' or both then Lily is yellow.,Chances are about even that 'Lily is yellow 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.05::factA. 0.1::factB. 0.6::factC. %hop1 0.9::factX:-or(factA,factB). 0.9::factY:-or(factA,factC). 0.75::factZ:-or(factB,factC). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.40635000000000004,0.11782356471294259,train,about even,highly unlikely,Chances are about even that 'Lily is yellow and Brian is white'.,It is highly unlikely that 'Lily is yellow and Brian is white'.,1,'Lily is yellow and Brian is white'. Chances are about even that Greg is a swan. We believe that Julius is a rhino. It is probably not the case that Gertrude is a mouse. It is almost certain that if 'Greg is a swan' or 'Gertrude is a mouse' or both then Daniel took the apple. It is impossible that if 'Greg is a swan and Julius is a rhino' then Lily is white. It is probable that if 'Gertrude is a mouse and Julius is a rhino' then Mary discarded the milk.,There is a better than even chance that 'Gertrude is a mouse' or 'Daniel 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.5::factA. 0.75::factB. 0.25::factC. %hop1 0.95::factX:-or(factA,factC). 0.0::factY:-and(factA,factB). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.6062500000000001,0.39227845569113823,train,better than even,impossible,There is a better than even chance that 'Gertrude is a mouse' or 'Daniel took the apple' or both.,It is impossible that 'Gertrude is a mouse' or 'Daniel took the apple' or both.,1,'Gertrude is a mouse' or 'Daniel took the apple' or both. We believe that Gertrude is a sheep. There is a better than even chance that Lily is a rhino. It is highly likely that Bernhard is a swan. It is likely that if 'Bernhard is a swan and Gertrude is a sheep' then Julius is a swan. It is probably the case that if 'Lily is a rhino' or 'Bernhard is a swan' or both then John went to the office. There is a very good chance that if 'Lily is a rhino and Gertrude is a sheep' then Mary left the football.,There is almost no chance that 'Gertrude is a sheep' 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.75::factA. 0.6::factB. 0.9::factC. %hop1 0.7::factX:-and(factC,factA). 0.7::factY:-or(factB,factC). 0.8::factZ:-and(factB,factA). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.918,0.6077215443088618,train,highly likely,almost no chance,It is highly likely that 'Gertrude is a sheep' or 'John went to the office' or both.,There is almost no chance that 'Gertrude is a sheep' or 'John went to the office' or both.,0,'Gertrude is a sheep' or 'John went to the office' or both. It is certain that Lily is a swan. There is a very good chance that Gertrude is a mouse. There is almost no chance that Greg is a frog. It is probably the case that if either 'Greg is a frog' or 'Gertrude is a mouse' but not both then Sandra put down the milk. It is likely that if 'Gertrude is a mouse and Greg is a frog' then Brian is white. It is certain that if either 'Gertrude is a mouse' or 'Lily is a swan' but not both then John went to the kitchen.,Chances are slight that 'Gertrude is a mouse' or 'John 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 1.0::factA. 0.8::factB. 0.02::factC. %hop1 0.7::factX:-xor(factC,factB). 0.7::factY:-and(factB,factC). 1.0::factZ:-xor(factB,factA). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",1.0,0.6257251450290058,train,certain,chances are slight,It is certain that 'Gertrude is a mouse' or 'John went to the kitchen' or both.,Chances are slight that 'Gertrude is a mouse' or 'John went to the kitchen' or both.,0,'Gertrude is a mouse' or 'John went to the kitchen' or both. There is a better than even chance that Gertrude is a sheep. It is impossible that Fred left the football. There is a better than even chance that Julius is a swan. It is probable that if 'Gertrude is a sheep' or 'Julius is a swan' or both then Lily is white. It is likely that if 'Fred left the football' or 'Julius is a swan' or both then Bill went to the office. There is little chance that if 'Julius is a swan' or 'Fred left the football' or both then Mary dropped the apple.,It is impossible that 'Julius is a swan' or 'Bill 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.6::factA. 0.0::factB. 0.6::factC. %hop1 0.7::factX:-or(factA,factC). 0.7::factY:-or(factB,factC). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.6,0.3680736147229446,train,better than even,impossible,There is a better than even chance that 'Julius is a swan' or 'Bill went to the office' or both.,It is impossible that 'Julius is a swan' or 'Bill went to the office' or both.,0,'Julius is a swan' or 'Bill went to the office' or both. It is certain that Lily is a swan. It is probably the case that Winona is a cat. Chances are slight that Mary dropped the apple. There is almost no chance that if 'Mary dropped the apple' or 'Lily is a swan' or both then Julius is a rhino. It is probable that if 'Winona is a cat' or 'Mary dropped the apple' or both then Sandra left the milk. It is improbable that if 'Winona is a cat and Lily is a swan' then Jeff moved to the office.,Chances are about even that either 'Jeff moved to the office' or 'Sandra 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 1.0::factA. 0.7::factB. 0.1::factC. %hop1 0.02::factX:-or(factC,factA). 0.7::factY:-or(factB,factC). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.4829999999999999,0.6903380676135227,train,about even,almost certain,Chances are about even that either 'Jeff moved to the office' or 'Sandra left the milk' but not both.,It is almost certain that either 'Jeff moved to the office' or 'Sandra left the milk' but not both.,1,Either 'Jeff moved to the office' or 'Sandra left the milk' but not both. There is almost no chance that Brian is a swan. It is impossible that Mary went to the bedroom. It is impossible that Greg is white. Chances are about even that if 'Greg is white and Mary went to the bedroom' then Emily is a wolf. It is probably the case that if 'Greg is white' or 'Mary went to the bedroom' or both then Sandra dropped the milk. It is improbable that if either 'Mary went to the bedroom' or 'Brian is a swan' but not both then Bernhard is yellow.,There is a very good chance that either 'Emily is a wolf' 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.02::factA. 0.0::factB. 0.0::factC. %hop1 0.5::factX:-and(factC,factB). 0.7::factY:-or(factC,factB). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.0,0.5459091818363673,train,impossible,very good chance,It is impossible that either 'Emily is a wolf' or 'Sandra dropped the milk' but not both.,There is a very good chance that either 'Emily is a wolf' or 'Sandra dropped the milk' but not both.,0,Either 'Emily is a wolf' or 'Sandra dropped the milk' but not both. Chances are about even that Mary moved to the office. It is highly unlikely that Brian is yellow. We believe that Greg is gray. There is almost no chance that if 'Mary moved to the office' or 'Greg is gray' or both then Gertrude is a cat. It is improbable that if 'Brian is yellow' or 'Greg is gray' or both then Bill left the milk. There is almost no chance that if 'Brian is yellow' or 'Greg is gray' or both then Emily is a sheep.,There is a very good chance that either 'Gertrude is a cat' 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.5::factA. 0.05::factB. 0.75::factC. %hop1 0.02::factX:-or(factA,factC). 0.1::factY:-or(factB,factC). 0.02::factZ:-or(factB,factC). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.03214499999999999,0.2510502100420084,train,almost no chance,very good chance,There is almost no chance that either 'Gertrude is a cat' or 'Emily is a sheep' but not both.,There is a very good chance that either 'Gertrude is a cat' or 'Emily is a sheep' but not both.,0,Either 'Gertrude is a cat' or 'Emily is a sheep' but not both. It is highly unlikely that Mary went to the kitchen. It is certain that Bernhard is a frog. It is probably the case that Brian is white. There is little chance that if 'Brian is white' or 'Mary went to the kitchen' or both then Sandra dropped the milk. There is a very good chance that if either 'Mary went to the kitchen' or 'Bernhard is a frog' but not both then Lily is green. It is certain that if 'Mary went to the kitchen' or 'Bernhard is a frog' or both then John is in the garden.,It is highly unlikely that 'Mary went to the kitchen' or 'John is in 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.05::factA. 1.0::factB. 0.7::factC. %hop1 0.1::factX:-or(factC,factA). 0.8::factY:-xor(factA,factB). 1.0::factZ:-or(factA,factB). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",1.0,0.0704140828165633,train,certain,highly unlikely,It is certain that 'Mary went to the kitchen' or 'John is in the garden' or both.,It is highly unlikely that 'Mary went to the kitchen' or 'John is in the garden' or both.,0,'Mary went to the kitchen' or 'John is in the garden' or both. It is probable that Bernhard is a rhino. It is improbable that Fred is in the cinema. There is a better than even chance that Julius is green. There is almost no chance that if 'Julius is green and Fred is in the cinema' then Brian is yellow. Chances are slight that if either 'Julius is green' or 'Fred is in the cinema' but not both then Bill left the football. It is highly likely that if either 'Fred is in the cinema' or 'Bernhard is a rhino' but not both then Lily is a lion.,It is probably the case that 'Bill left the football and Fred is in the cinema'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(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.02::factX:-and(factC,factB). 0.1::factY:-xor(factC,factB). 0.9::factZ:-xor(factB,factA). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.004000000000000002,0.6317263452690538,train,impossible,probably,It is impossible that 'Bill left the football and Fred is in the cinema'.,It is probably the case that 'Bill left the football and Fred is in the cinema'.,0,'Bill left the football and Fred is in the cinema'. There is almost no chance that Gertrude is a cat. It is likely that Brian is white. It is probably not the case that Daniel dropped the milk. It is improbable that if 'Gertrude is a cat' or 'Brian is white' or both then Mary picked up the apple. There is little chance that if 'Daniel dropped the milk' or 'Gertrude is a cat' or both then Lily is a lion. There is little chance that if 'Daniel dropped the milk' or 'Brian is white' or both then Greg is a swan.,It is unlikely that 'Daniel 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.02::factA. 0.7::factB. 0.25::factC. %hop1 0.1::factX:-or(factA,factB). 0.1::factY:-or(factC,factA). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.175,0.15063012602520504,train,unlikely,likely,It is unlikely that 'Daniel dropped the milk and Brian is white'.,It is likely that 'Daniel dropped the milk and Brian is white'.,1,'Daniel dropped the milk and Brian is white'. It is likely that Bernhard is a swan. There is a better than even chance that Mary moved to the garden. Chances are slight that Emily is a mouse. Chances are slight that if 'Bernhard is a swan and Mary moved to the garden' then Brian is gray. It is impossible that if either 'Bernhard is a swan' or 'Mary moved to the garden' but not both then Sandra left the apple. There is almost no chance that if either 'Emily is a mouse' or 'Mary moved to the garden' but not both then Julius is a rhino.,It is improbable that 'Emily is a mouse' 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.6::factB. 0.1::factC. %hop1 0.1::factX:-and(factA,factB). 0.0::factY:-xor(factA,factB). 0.02::factZ:-xor(factC,factB). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.73,0.6859371874374875,train,we believe,improbable,We believe that 'Emily is a mouse' or 'Bernhard is a swan' or both.,It is improbable that 'Emily is a mouse' or 'Bernhard is a swan' or both.,0,'Emily is a mouse' or 'Bernhard is a swan' or both. There is almost no chance that Brian is a lion. It is highly unlikely that Sumit is thirsty. There is little chance that Greg is a lion. It is probably not the case that if 'Greg is a lion and Sumit is thirsty' then Sandra left the football. It is highly likely that if either 'Greg is a lion' or 'Brian is a lion' but not both then Mary got the apple. There is almost no chance that if 'Sumit is thirsty and Brian is a lion' then John moved to the garden.,There is almost no chance that either 'John moved to the garden' or 'Brian 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.02::factA. 0.05::factB. 0.1::factC. %hop1 0.25::factX:-and(factC,factB). 0.9::factY:-xor(factC,factA). 0.02::factZ:-and(factB,factA). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.019979999999999998,0.796759351870374,train,almost no chance,certain,There is almost no chance that either 'John moved to the garden' or 'Brian is a lion' but not both.,It is certain that either 'John moved to the garden' or 'Brian is a lion' but not both.,1,Either 'John moved to the garden' or 'Brian is a lion' but not both. Chances are about even that Jeff moved to the garden. It is probably the case that Greg is gray. Chances are about even that Sandra took the milk. There is a better than even chance that if 'Sandra took the milk' or 'Greg is gray' or both then Julius is yellow. Chances are slight that if 'Sandra took the milk and Greg is gray' then Mary got the football. Chances are slight that if 'Greg is gray' or 'Sandra took the milk' or both then John went to the hallway.,We believe that 'Jeff moved to the garden' 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.7::factB. 0.5::factC. %hop1 0.6::factX:-or(factC,factB). 0.1::factY:-and(factC,factB). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.7549999999999999,0.3044608921784357,train,we believe,we doubt,We believe that 'Jeff moved to the garden' or 'Julius is yellow' or both.,We doubt that 'Jeff moved to the garden' or 'Julius is yellow' or both.,1,'Jeff moved to the garden' or 'Julius is yellow' or both. It is unlikely that Julius is a lion. It is almost certain that John grabbed the apple. We doubt that Winona is a wolf. We believe that if 'Winona is a wolf' or 'John grabbed the apple' or both then Mary moved to the garden. It is probably the case that if 'John grabbed the apple' or 'Winona is a wolf' or both then Greg is white. There is almost no chance that if either 'Winona is a wolf' or 'John grabbed the apple' but not both then Lily is yellow.,Chances are about even that 'Greg is white 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.2::factA. 0.95::factB. 0.2::factC. %hop1 0.75::factX:-or(factC,factB). 0.7::factY:-or(factB,factC). 0.02::factZ:-xor(factC,factB). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.504,0.23844768953790757,train,about even,almost no chance,Chances are about even that 'Greg is white and Mary moved to the garden'.,There is almost no chance that 'Greg is white and Mary moved to the garden'.,1,'Greg is white and Mary moved to the garden'. It is highly unlikely that Bernhard is yellow. There is little chance that Sandra grabbed the apple. It is almost certain that Brian is gray. There is a better than even chance that if 'Bernhard is yellow' or 'Sandra grabbed the apple' or both then John got the milk. There is a better than even chance that if either 'Bernhard is yellow' or 'Brian is gray' but not both then Greg is green. Chances are slight that if 'Bernhard is yellow and Sandra grabbed the apple' then Mary went to the bedroom.,It is improbable that either 'Sandra grabbed 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.05::factA. 0.1::factB. 0.95::factC. %hop1 0.6::factX:-or(factA,factB). 0.6::factY:-xor(factA,factC). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.0995,0.6455291058211642,train,improbable,probable,It is improbable that either 'Sandra grabbed the apple' or 'Mary went to the bedroom' but not both.,It is probable that either 'Sandra grabbed the apple' or 'Mary went to the bedroom' but not both.,1,Either 'Sandra grabbed the apple' or 'Mary went to the bedroom' but not both. There is a better than even chance that Emily is a cat. It is highly likely that John moved to the garden. It is probably not the case that Daniel dropped the apple. It is improbable that if 'Emily is a cat' or 'John moved to the garden' or both then Julius is yellow. There is little chance that if 'Emily is a cat' or 'John moved to the garden' or both then Brian is a rhino. It is improbable that if either 'Emily is a cat' or 'Daniel dropped the apple' but not both then Sandra got the milk.,There is a better than even chance 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.6::factA. 0.9::factB. 0.25::factC. %hop1 0.1::factX:-or(factA,factB). 0.1::factY:-or(factA,factB). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.009600000000000008,0.4642928585717143,train,impossible,better than even,It is impossible that 'Julius is yellow and Brian is a rhino'.,There is a better than even chance that 'Julius is yellow and Brian is a rhino'.,0,'Julius is yellow and Brian is a rhino'. It is almost certain that Bernhard is green. It is impossible that Julius is yellow. There is almost no chance that Sandra left the milk. It is probable that if 'Sandra left the milk and Bernhard is green' then John took the apple. There is almost no chance that if either 'Sandra left the milk' or 'Bernhard is green' but not both then Mary went to the hallway. We doubt that if 'Bernhard is green' or 'Julius is yellow' or both then Lily is a frog.,It is impossible that 'Bernhard is green' 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.95::factA. 0.0::factB. 0.02::factC. %hop1 0.7::factX:-and(factC,factA). 0.02::factY:-xor(factC,factA). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.95,0.42868573714742947,train,almost certain,impossible,It is almost certain that 'Bernhard is green' or 'Julius is yellow' or both.,It is impossible that 'Bernhard is green' or 'Julius is yellow' or both.,0,'Bernhard is green' or 'Julius is yellow' or both. We believe that Jason is tired. There is a better than even chance that Greg is a frog. It is probably not the case that Fred discarded the apple. Chances are about even that if 'Fred discarded the apple and Jason is tired' then John left the milk. It is impossible that if 'Greg is a frog and Jason is tired' then Brian is a rhino. There is little chance that if either 'Fred discarded the apple' or 'Greg is a frog' but not both then Julius is white.,It is impossible that 'John left 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.75::factA. 0.6::factB. 0.25::factC. %hop1 0.5::factX:-and(factC,factA). 0.0::factY:-and(factB,factA). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.0037499999999999986,0.16923384676935388,train,impossible,we believe,It is impossible that 'John left the milk and Julius is white'.,We believe that 'John left the milk and Julius is white'.,1,'John left the milk and Julius is white'. It is certain that Bernhard is green. It is probably not the case that Yann is bored. Chances are slight that Mary went to the office. It is highly unlikely that if 'Bernhard is green' or 'Mary went to the office' or both then Lily is white. It is certain that if 'Bernhard is green' or 'Mary went to the office' or both then Julius is a lion. There is almost no chance that if 'Mary went to the office and Bernhard is green' then John dropped the milk.,It is certain that 'Bernhard is green' 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 1.0::factA. 0.25::factB. 0.1::factC. %hop1 0.05::factX:-or(factA,factC). 1.0::factY:-or(factA,factC). 0.02::factZ:-and(factC,factA). %hop2 conclusion:-or(factA,factY). query(conclusion). ",1.0,0.6471294258851771,train,certain,almost no chance,It is certain that 'Bernhard is green' or 'Julius is a lion' or both.,There is almost no chance that 'Bernhard is green' or 'Julius is a lion' or both.,1,'Bernhard is green' or 'Julius is a lion' or both. It is probably the case that Julius is gray. There is a better than even chance that Greg is green. It is highly likely that John moved to the office. There is a very good chance that if 'John moved to the office and Greg is green' then Lily is a lion. It is unlikely that if 'Julius is gray' or 'John moved to the office' or both then Bernhard is a rhino. We believe that if 'John moved to the office' or 'Greg is green' or both then Brian is yellow.,It is highly likely that 'Julius is gray' 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.7::factA. 0.6::factB. 0.9::factC. %hop1 0.8::factX:-and(factC,factB). 0.2::factY:-or(factA,factC). 0.75::factZ:-or(factC,factB). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.88,0.6275255051010202,train,highly likely,highly unlikely,It is highly likely that 'Julius is gray' or 'Greg is green' or both.,It is highly unlikely that 'Julius is gray' or 'Greg is green' or both.,1,'Julius is gray' or 'Greg is green' or both. There is little chance that Sandra left the football. We doubt that Greg is a rhino. It is impossible that John put down the apple. It is improbable that if 'Greg is a rhino and Sandra left the football' then Julius is a lion. It is probably not the case that if 'Greg is a rhino and Sandra left the football' then Lily is yellow. There is a very good chance that if either 'John put down the apple' or 'Sandra left the football' but not both then Mary went to the bedroom.,It is probable that 'John put down the apple' 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.1::factA. 0.2::factB. 0.0::factC. %hop1 0.1::factX:-and(factB,factA). 0.25::factY:-and(factB,factA). 0.8::factZ:-xor(factC,factA). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.005000000000000002,0.03580716143228646,train,impossible,probable,It is impossible that 'John put down the apple' or 'Lily is yellow' or both.,It is probable that 'John put down the apple' or 'Lily is yellow' or both.,0,'John put down the apple' or 'Lily is yellow' or both. We doubt that John grabbed the milk. It is probably the case that Bernhard is green. It is certain that Brian is white. It is impossible that if 'Bernhard is green and Brian is white' then Winona is a wolf. It is improbable that if 'Brian is white and Bernhard is green' then Jessica is a cat. It is improbable that if 'Brian is white' or 'Bernhard is green' or both then Mary got the apple.,It is almost certain that 'Mary got the apple' or 'John grabbed 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. 0.7::factB. 1.0::factC. %hop1 0.0::factX:-and(factB,factC). 0.1::factY:-and(factC,factB). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.28,0.29045809161832364,train,probably not,almost certain,It is probably not the case that 'Mary got the apple' or 'John grabbed the milk' or both.,It is almost certain that 'Mary got the apple' or 'John grabbed the milk' or both.,0,'Mary got the apple' or 'John grabbed the milk' or both. There is almost no chance that Mary dropped the milk. It is highly likely that John went to the garden. It is improbable that Bernhard is a rhino. It is highly unlikely that if 'John went to the garden' or 'Mary dropped the milk' or both then Sandra grabbed the apple. It is unlikely that if either 'Bernhard is a rhino' or 'Mary dropped the milk' but not both then Lily is a swan. It is unlikely that if 'Mary dropped the milk and Bernhard is a rhino' then Brian is a lion.,We believe that 'Sandra 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.02::factA. 0.9::factB. 0.1::factC. %hop1 0.05::factX:-or(factB,factA). 0.2::factY:-xor(factC,factA). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.0010620000000000007,0.3024604920984197,train,impossible,we believe,It is impossible that 'Sandra grabbed the apple and Lily is a swan'.,We believe that 'Sandra grabbed the apple and Lily is a swan'.,0,'Sandra grabbed the apple and Lily is a swan'. There is almost no chance that Bill got the milk there. There is a very good chance that Julius is a swan. It is probable that Jeff went to the bedroom. It is impossible that if 'Julius is a swan and Bill got the milk there' then Bernhard is white. It is probable that if either 'Julius is a swan' or 'Bill got the milk there' but not both then Fred left the football. It is unlikely that if 'Bill got the milk there and Jeff went to the bedroom' then Greg is a rhino.,It is probably the case that either 'Fred left the football' 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.8::factB. 0.7::factC. %hop1 0.0::factX:-and(factB,factA). 0.7::factY:-xor(factB,factA). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.254,0.4950990198039608,train,probably not,probably,It is probably not the case that either 'Fred left the football' or 'Julius is a swan' but not both.,It is probably the case that either 'Fred left the football' or 'Julius is a swan' but not both.,0,Either 'Fred left the football' or 'Julius is a swan' but not both. It is certain that John went to the garden. We believe that Greg is a rhino. We doubt that Mary got the apple. There is a better than even chance that if either 'Greg is a rhino' or 'Mary got the apple' but not both then Brian is green. It is likely that if either 'John went to the garden' or 'Mary got the apple' but not both then Daniel took the milk. It is likely that if 'Greg is a rhino' or 'Mary got the apple' or both then Bernhard is a swan.,It is highly unlikely that either 'Daniel took 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 1.0::factA. 0.75::factB. 0.2::factC. %hop1 0.6::factX:-xor(factB,factC). 0.7::factY:-xor(factA,factC). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.47000000000000003,0.7651530306061213,train,about even,highly unlikely,Chances are about even that either 'Daniel took the milk' or 'Greg is a rhino' but not both.,It is highly unlikely that either 'Daniel took the milk' or 'Greg is a rhino' but not both.,0,Either 'Daniel took the milk' or 'Greg is a rhino' but not both. Chances are slight that Lily is green. It is unlikely that Bill left the football. It is certain that Fred went to the garden. It is likely that if either 'Fred went to the garden' or 'Bill left the football' but not both then Mary moved to the office. Chances are slight that if either 'Lily is green' or 'Fred went to the garden' but not both then Bernhard is gray. Chances are slight that if 'Bill left the football and Fred went to the garden' then Greg is green.,There is a very good chance that either 'Bernhard is gray' or 'Greg 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.2::factB. 1.0::factC. %hop1 0.7::factX:-xor(factC,factB). 0.1::factY:-xor(factA,factC). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.10640000000000002,0.662132426485297,train,little chance,very good chance,There is little chance that either 'Bernhard is gray' or 'Greg is green' but not both.,There is a very good chance that either 'Bernhard is gray' or 'Greg is green' but not both.,0,Either 'Bernhard is gray' or 'Greg is green' but not both. It is probably not the case that Mary took the football. There is a very good chance that Julius is a swan. There is a very good chance that John put down the apple. There is a better than even chance that if either 'Mary took the football' or 'John put down the apple' but not both then Greg is a rhino. There is a better than even chance that if 'John put down the apple and Julius is a swan' then Brian is a frog. It is improbable that if 'Mary took the football' or 'Julius is a swan' or both then Emily is a wolf.,It is unlikely that 'Greg is a rhino and Brian 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.8::factB. 0.8::factC. %hop1 0.6::factX:-xor(factA,factC). 0.6::factY:-and(factC,factB). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.17280000000000004,0.13542708541708343,train,unlikely,certain,It is unlikely that 'Greg is a rhino and Brian is a frog'.,It is certain that 'Greg is a rhino and Brian is a frog'.,1,'Greg is a rhino and Brian is a frog'. It is highly likely that Lily is yellow. There is a better than even chance that Winona is a mouse. There is a very good chance that John went to the office. It is probably the case that if 'John went to the office' or 'Lily is yellow' or both then Mary dropped the apple. It is probably not the case that if 'John went to the office' or 'Winona is a mouse' or both then Greg is a swan. It is improbable that if either 'Lily is yellow' or 'John went to the office' but not both then Bernhard is a frog.,There is almost no chance that 'Lily is yellow 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.9::factA. 0.6::factB. 0.8::factC. %hop1 0.7::factX:-or(factC,factA). 0.25::factY:-or(factC,factB). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.018000000000000002,0.007401480296059212,train,almost no chance,we believe,There is almost no chance that 'Lily is yellow and Bernhard is a frog'.,We believe that 'Lily is yellow and Bernhard is a frog'.,1,'Lily is yellow and Bernhard is a frog'. There is a very good chance that Bernhard is a lion. We believe that Jessica is a cat. There is a very good chance that Sandra left the milk. There is a better than even chance that if 'Bernhard is a lion and Jessica is a cat' then Lily is gray. Chances are slight that if 'Jessica is a cat and Sandra left the milk' then Gertrude is a mouse. There is a very good chance that if 'Jessica is a cat' or 'Sandra left the milk' or both then John dropped the apple.,There is almost no chance that either 'John dropped the apple' 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.8::factA. 0.75::factB. 0.8::factC. %hop1 0.6::factX:-and(factA,factB). 0.1::factY:-and(factB,factC). 0.8::factZ:-or(factB,factC). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.544,0.5277055411082217,train,about even,almost no chance,Chances are about even that either 'John dropped the apple' or 'Lily is gray' but not both.,There is almost no chance that either 'John dropped the apple' or 'Lily is gray' but not both.,0,Either 'John dropped the apple' or 'Lily is gray' but not both. It is likely that Mary got the apple. There is a better than even chance that Sandra left the football. There is a better than even chance that Greg is a frog. There is a very good chance that if 'Greg is a frog' or 'Sandra left the football' or both then Gertrude is a sheep. It is certain that if either 'Greg is a frog' or 'Sandra left the football' but not both then John went to the kitchen. It is highly likely that if 'Mary got the apple and Greg is a frog' then Bernhard is a swan.,It is probably not the case that either 'Gertrude is a sheep' or 'Sandra 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.6::factB. 0.6::factC. %hop1 0.8::factX:-or(factC,factB). 1.0::factY:-xor(factC,factB). 0.9::factZ:-and(factA,factC). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.31200000000000006,0.6957391478295659,train,probably not,highly likely,It is probably not the case that either 'Gertrude is a sheep' or 'Sandra left the football' but not both.,It is highly likely that either 'Gertrude is a sheep' or 'Sandra left the football' but not both.,1,Either 'Gertrude is a sheep' or 'Sandra left the football' but not both. It is likely that Greg is a swan. Chances are about even that Mary grabbed the milk. There is almost no chance that Bernhard is a frog. It is unlikely that if 'Bernhard is a frog and Mary grabbed the milk' then John went to the office. It is certain that if 'Mary grabbed the milk' or 'Bernhard is a frog' or both then Jessica is a cat. It is impossible that if either 'Mary grabbed the milk' or 'Bernhard is a frog' but not both then Lily is a lion.,Chances are about even that either 'John went to the office' 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.7::factA. 0.5::factB. 0.02::factC. %hop1 0.2::factX:-and(factC,factB). 1.0::factY:-or(factB,factC). 0.0::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.508,0.6889377875575114,train,about even,certain,Chances are about even that either 'John went to the office' or 'Jessica is a cat' but not both.,It is certain that either 'John went to the office' or 'Jessica is a cat' but not both.,1,Either 'John went to the office' or 'Jessica is a cat' but not both. There is little chance that Bernhard is gray. It is likely that Greg is a swan. It is impossible that Lily is a lion. We believe that if 'Lily is a lion and Greg is a swan' then John dropped the apple. There is a very good chance that if either 'Lily is a lion' or 'Bernhard is gray' but not both then Julius is white. Chances are slight that if 'Greg is a swan and Bernhard is gray' then Sandra took the milk.,It is impossible that 'Sandra took 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.1::factA. 0.7::factB. 0.0::factC. %hop1 0.75::factX:-and(factC,factB). 0.8::factY:-xor(factC,factA). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.007000000000000003,0.36967393478695737,train,impossible,certain,It is impossible that 'Sandra took the milk' or 'Lily is a lion' or both.,It is certain that 'Sandra took the milk' or 'Lily is a lion' or both.,1,'Sandra took the milk' or 'Lily is a lion' or both. It is certain that Jeff moved to the garden. It is certain that Julius is green. There is a better than even chance that Lily is a lion. It is likely that if 'Jeff moved to the garden' or 'Lily is a lion' or both then Winona is a wolf. It is impossible that if either 'Lily is a lion' or 'Julius is green' but not both then John left the football. It is likely that if either 'Jeff moved to the garden' or 'Lily is a lion' but not both then Greg is a rhino.,There is a better than even chance that 'John left the football 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. 1.0::factB. 0.6::factC. %hop1 0.7::factX:-or(factA,factC). 0.0::factY:-xor(factC,factB). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.0,0.6463292658531706,train,impossible,better than even,It is impossible that 'John left the football and Julius is green'.,There is a better than even chance that 'John left the football and Julius is green'.,0,'John left the football and Julius is green'. It is certain that Mary went to the office. It is impossible that Antoine is thirsty. It is unlikely that Emily is a mouse. Chances are about even that if either 'Mary went to the office' or 'Emily is a mouse' but not both then Jessica is a cat. There is little chance that if 'Emily is a mouse and Mary went to the office' then Lily is white. It is unlikely that if 'Emily is a mouse' or 'Mary went to the office' or both then Brian is yellow.,It is likely that 'Jessica is a cat 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 1.0::factA. 0.0::factB. 0.2::factC. %hop1 0.5::factX:-xor(factA,factC). 0.1::factY:-and(factC,factA). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.0,0.37827565513102623,train,impossible,likely,It is impossible that 'Jessica is a cat and Lily is white'.,It is likely that 'Jessica is a cat and Lily is white'.,0,'Jessica is a cat and Lily is white'. There is a better than even chance that Greg is white. There is almost no chance that Bernhard is a frog. It is highly likely that Mary left the football. We doubt that if 'Bernhard is a frog and Mary left the football' then Julius is a swan. It is almost certain that if 'Greg is white' or 'Bernhard is a frog' or both then John took the apple. It is probably the case that if either 'Bernhard is a frog' or 'Greg is white' but not both then Winona is a wolf.,There is a better than even chance that 'Julius is a swan' or 'Greg 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.02::factB. 0.9::factC. %hop1 0.2::factX:-and(factB,factC). 0.95::factY:-or(factA,factB). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.60144,0.16403280656131225,train,better than even,improbable,There is a better than even chance that 'Julius is a swan' or 'Greg is white' or both.,It is improbable that 'Julius is a swan' or 'Greg is white' or both.,1,'Julius is a swan' or 'Greg is white' or both. Chances are about even that Emily is a mouse. Chances are slight that Mary discarded the milk. There is little chance that John grabbed the apple. It is impossible that if either 'Emily is a mouse' or 'Mary discarded the milk' but not both then Antoine is thirsty. It is almost certain that if 'Emily is a mouse and John grabbed the apple' then Greg is a swan. There is a better than even chance that if either 'Emily is a mouse' or 'Mary discarded the milk' but not both then Bernhard is yellow.,It is probably the case that 'Mary discarded the milk' or 'John 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.5::factA. 0.1::factB. 0.1::factC. %hop1 0.0::factX:-xor(factA,factB). 0.95::factY:-and(factA,factC). 0.6::factZ:-xor(factA,factB). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.19000000000000006,0.40228045609121826,train,we doubt,probably,We doubt that 'Mary discarded the milk' or 'John grabbed the apple' or both.,It is probably the case that 'Mary discarded the milk' or 'John grabbed the apple' or both.,0,'Mary discarded the milk' or 'John grabbed the apple' or both. There is little chance that Brian is yellow. It is certain that Lily is green. It is highly unlikely that Bill went to the bedroom. There is little chance that if 'Bill went to the bedroom and Lily is green' then Fred left the football. It is probable that if 'Bill went to the bedroom' or 'Lily is green' or both then Mary got the milk. Chances are slight that if 'Brian is yellow and Lily is green' then Emily is a wolf.,It is impossible that 'Fred left the football and Bill 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.1::factA. 1.0::factB. 0.05::factC. %hop1 0.1::factX:-and(factC,factB). 0.7::factY:-or(factC,factB). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.005000000000000002,0.07001400280056011,train,impossible,about even,It is impossible that 'Fred left the football and Bill went to the bedroom'.,Chances are about even that 'Fred left the football and Bill went to the bedroom'.,1,'Fred left the football and Bill went to the bedroom'. It is highly unlikely that Brian is a lion. It is unlikely that Bernhard is white. It is likely that Sandra dropped the apple. It is probable that if 'Brian is a lion and Sandra dropped the apple' then Winona is a wolf. It is likely that if 'Sandra dropped the apple and Brian is a lion' then Greg is yellow. It is unlikely that if 'Sandra dropped the apple' or 'Bernhard is white' or both then John went to the garden.,It is probably the case that 'Brian is a lion' 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.05::factA. 0.2::factB. 0.7::factC. %hop1 0.7::factX:-and(factA,factC). 0.7::factY:-and(factC,factA). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.24000000000000005,0.33546709341868375,train,probably not,probably,It is probably not the case that 'Brian is a lion' or 'Bernhard is white' or both.,It is probably the case that 'Brian is a lion' or 'Bernhard is white' or both.,0,'Brian is a lion' or 'Bernhard is white' or both. We doubt that Bernhard is yellow. It is almost certain that Emily is a wolf. It is improbable that Daniel grabbed the apple. It is improbable that if 'Emily is a wolf and Bernhard is yellow' then Greg is a lion. Chances are slight that if 'Bernhard is yellow and Emily is a wolf' then Jason is tired. It is likely that if either 'Bernhard is yellow' or 'Daniel grabbed the apple' but not both then John went to the hallway.,It is probable that either 'Bernhard is yellow' or 'Daniel grabbed 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.1::factC. %hop1 0.1::factX:-and(factB,factA). 0.1::factY:-and(factA,factB). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.26,0.6653330666133227,train,probably not,probable,It is probably not the case that either 'Bernhard is yellow' or 'Daniel grabbed the apple' but not both.,It is probable that either 'Bernhard is yellow' or 'Daniel grabbed the apple' but not both.,0,Either 'Bernhard is yellow' or 'Daniel grabbed the apple' but not both. It is almost certain that Brian is a frog. It is impossible that Winona is a sheep. It is unlikely that Daniel got the milk. It is likely that if either 'Daniel got the milk' or 'Brian is a frog' but not both then Bernhard is green. There is little chance that if 'Winona is a sheep' or 'Daniel got the milk' or both then John left the football. It is highly likely that if 'Brian is a frog' or 'Winona is a sheep' or both then Lily is yellow.,It is unlikely that either 'John left the football' 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.95::factA. 0.0::factB. 0.2::factC. %hop1 0.7::factX:-xor(factC,factA). 0.1::factY:-or(factB,factC). 0.9::factZ:-or(factA,factB). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.18000000000000002,0.579115823164633,train,unlikely,probably,It is unlikely that either 'John left the football' or 'Daniel got the milk' but not both.,It is probably the case that either 'John left the football' or 'Daniel got the milk' but not both.,1,Either 'John left the football' or 'Daniel got the milk' but not both. There is a very good chance that Bernhard is a rhino. It is highly unlikely that Mary moved to the office. It is certain that Brian is a frog. It is probably the case that if 'Bernhard is a rhino and Brian is a frog' then Jessica is a sheep. It is probable that if 'Brian is a frog and Bernhard is a rhino' then Yann is hungry. It is probably the case that if 'Bernhard is a rhino' or 'Mary moved to the office' or both then Lily is yellow.,It is likely that either 'Jessica is a sheep' 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.8::factA. 0.05::factB. 1.0::factC. %hop1 0.7::factX:-and(factA,factC). 0.7::factY:-and(factC,factA). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.343,0.16743348669733946,train,probably not,likely,It is probably not the case that either 'Jessica is a sheep' or 'Lily is yellow' but not both.,It is likely that either 'Jessica is a sheep' or 'Lily is yellow' but not both.,0,Either 'Jessica is a sheep' or 'Lily is yellow' but not both. It is unlikely that Julius is a frog. Chances are about even that Brian is gray. We doubt that Lily is yellow. It is highly likely that if 'Julius is a frog' or 'Brian is gray' or both then Mary went to the kitchen. It is certain that if 'Lily is yellow and Julius is a frog' then Winona is a sheep. Chances are about even that if 'Lily is yellow and Julius is a frog' then John left the milk.,It is impossible that 'Mary went to the kitchen' 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.2::factA. 0.5::factB. 0.2::factC. %hop1 0.9::factX:-or(factA,factB). 1.0::factY:-and(factC,factA). 0.5::factZ:-and(factC,factA). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.5599999999999999,0.541508301660332,train,better than even,impossible,There is a better than even chance that 'Mary went to the kitchen' or 'Julius is a frog' or both.,It is impossible that 'Mary went to the kitchen' or 'Julius is a frog' or both.,0,'Mary went to the kitchen' or 'Julius is a frog' or both. There is a better than even chance that Brian is gray. It is improbable that Yann is tired. It is unlikely that Bernhard is white. It is probable that if 'Bernhard is white' or 'Brian is gray' or both then Greg is a lion. It is probably the case that if 'Bernhard is white' or 'Yann is tired' or both then Mary picked up the milk. It is highly likely that if 'Bernhard is white and Yann is tired' then John went to the kitchen.,We doubt that either 'Yann is tired' 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.6::factA. 0.1::factB. 0.2::factC. %hop1 0.7::factX:-or(factC,factA). 0.7::factY:-or(factC,factB). 0.9::factZ:-and(factC,factB). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.15600000000000006,0.639127825565113,train,we doubt,highly likely,We doubt that either 'Yann is tired' or 'Mary picked up the milk' but not both.,It is highly likely that either 'Yann is tired' or 'Mary picked up the milk' but not both.,1,Either 'Yann is tired' or 'Mary picked up the milk' but not both. We doubt that Bernhard is gray. There is a very good chance that Daniel got the football. It is certain that Brian is yellow. It is probably not the case that if 'Bernhard is gray' or 'Brian is yellow' or both then Winona is a sheep. It is probable that if 'Brian is yellow and Bernhard is gray' then Mary went to the kitchen. There is a better than even chance that if either 'Brian is yellow' or 'Bernhard is gray' but not both then Lily is a lion.,It is highly unlikely that 'Mary went to the kitchen' 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.8::factB. 1.0::factC. %hop1 0.25::factX:-or(factA,factC). 0.7::factY:-and(factC,factA). 0.6::factZ:-xor(factC,factA). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.62,0.4464892978595719,train,better than even,highly unlikely,There is a better than even chance that 'Mary went to the kitchen' or 'Lily is a lion' or both.,It is highly unlikely that 'Mary went to the kitchen' or 'Lily is a lion' or both.,0,'Mary went to the kitchen' or 'Lily is a lion' or both. It is likely that Jessica is a cat. Chances are slight that Jason is tired. There is almost no chance that Mary got the football. Chances are slight that if 'Mary got the football and Jessica is a cat' then Lily is a rhino. There is little chance that if 'Mary got the football and Jessica is a cat' then Sandra grabbed the milk. It is certain that if either 'Mary got the football' or 'Jessica is a cat' but not both then Julius is green.,It is certain that either 'Mary got the football' 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.7::factA. 0.1::factB. 0.02::factC. %hop1 0.1::factX:-and(factC,factA). 0.1::factY:-and(factC,factA). 1.0::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.116,0.7025405081016203,train,little chance,certain,There is little chance that either 'Mary got the football' or 'Jason is tired' but not both.,It is certain that either 'Mary got the football' or 'Jason is tired' but not both.,0,Either 'Mary got the football' or 'Jason is tired' but not both. There is almost no chance that Gertrude is a cat. There is a very good chance that Brian is yellow. There is a better than even chance that Julius is a lion. It is unlikely that if either 'Gertrude is a cat' or 'Julius is a lion' but not both then Jeff went to the bedroom. It is likely that if 'Brian is yellow and Gertrude is a cat' then Greg is a swan. There is a better than even chance that if 'Brian is yellow' or 'Julius is a lion' or both then Emily is a wolf.,There is almost no chance that 'Gertrude is a cat 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.02::factA. 0.8::factB. 0.6::factC. %hop1 0.2::factX:-xor(factA,factC). 0.7::factY:-and(factB,factA). 0.6::factZ:-or(factB,factC). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.011039999999999996,0.15623124624924986,train,almost no chance,almost certain,There is almost no chance that 'Gertrude is a cat and Emily is a wolf'.,It is almost certain that 'Gertrude is a cat and Emily is a wolf'.,1,'Gertrude is a cat and Emily is a wolf'. It is highly unlikely that Brian is yellow. There is little chance that Daniel dropped the apple. It is improbable that Mary went to the kitchen. We doubt that if either 'Mary went to the kitchen' or 'Brian is yellow' but not both then Winona is a wolf. It is probably not the case that if either 'Daniel dropped the apple' or 'Brian is yellow' but not both then Lily is a frog. There is almost no chance that if 'Daniel dropped the apple' or 'Brian is yellow' or both then Greg is a swan.,It is probable that 'Winona is a wolf and Greg 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.05::factA. 0.1::factB. 0.1::factC. %hop1 0.2::factX:-xor(factC,factA). 0.25::factY:-xor(factB,factA). 0.02::factZ:-or(factB,factA). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.00021800000000000007,0.17523504700940187,train,impossible,probable,It is impossible that 'Winona is a wolf and Greg is a swan'.,It is probable that 'Winona is a wolf and Greg is a swan'.,0,'Winona is a wolf and Greg is a swan'. We believe that Emily is a wolf. 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 and Emily is a wolf' then Jessica is a sheep. It is certain that if 'Greg is a swan and Lily is a rhino' then John went to the garden. We believe that if 'Emily is a wolf and Lily is a rhino' then Mary dropped the apple.,It is probably not the case that 'Mary dropped the apple 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.75::factA. 0.6::factB. 0.7::factC. %hop1 0.2::factX:-and(factC,factA). 1.0::factY:-and(factC,factB). 0.75::factZ:-and(factA,factB). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.3375,0.43148629725945187,train,probably not,almost certain,It is probably not the case that 'Mary dropped the apple and Emily is a wolf'.,It is almost certain that 'Mary dropped the apple and Emily is a wolf'.,1,'Mary dropped the apple and Emily is a wolf'. There is little chance that Brian is a rhino. We believe that Lily is a swan. It is impossible that Mary left the football. We doubt that if 'Lily is a swan and Brian is a rhino' then Julius is a frog. It is almost certain that if 'Mary left the football and Brian is a rhino' then Fred went to the garden. There is little chance that if either 'Lily is a swan' or 'Mary left the football' but not both then Greg is yellow.,There is a very good chance 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.1::factA. 0.75::factB. 0.0::factC. %hop1 0.2::factX:-and(factB,factA). 0.95::factY:-and(factC,factA). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.775,0.6801360272054411,train,very good chance,highly unlikely,There is a very good chance that 'Lily is a swan' or 'Brian is a rhino' or both.,It is highly unlikely that 'Lily is a swan' or 'Brian is a rhino' or both.,1,'Lily is a swan' or 'Brian is a rhino' or both. Chances are about even that Daniel grabbed the apple. Chances are slight that Jason is tired. It is certain that Brian is white. It is highly likely that if either 'Brian is white' or 'Jason is tired' but not both then Sandra left the milk. There is almost no chance that if either 'Brian is white' or 'Jason is tired' but not both then John went to the office. We doubt that if either 'Brian is white' or 'Daniel grabbed the apple' but not both then Mary picked up the milk.,There is a better than even chance that 'Jason is tired' 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.5::factA. 0.1::factB. 1.0::factC. %hop1 0.9::factX:-xor(factC,factB). 0.02::factY:-xor(factC,factB). 0.2::factZ:-xor(factC,factA). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.55,0.26605321064212845,train,better than even,improbable,There is a better than even chance that 'Jason is tired' or 'Daniel grabbed the apple' or both.,It is improbable that 'Jason is tired' or 'Daniel grabbed the apple' or both.,1,'Jason is tired' or 'Daniel grabbed the apple' or both. There is almost no chance that Daniel dropped the apple. It is highly unlikely that Bernhard is a lion. It is improbable that Sandra took the milk. It is probably the case that if 'Daniel dropped the apple' or 'Sandra took the milk' or both then Greg is a frog. It is impossible that if 'Bernhard is a lion and Sandra took the milk' then Gertrude is a mouse. There is a better than even chance that if 'Daniel dropped the apple and Bernhard is a lion' then Lily is gray.,There is little chance that either 'Greg is a frog' 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.02::factA. 0.05::factB. 0.1::factC. %hop1 0.7::factX:-or(factA,factC). 0.0::factY:-and(factB,factC). 0.6::factZ:-and(factA,factB). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.08236000000000002,0.1222244448889778,train,little chance,probable,There is little chance that either 'Greg is a frog' or 'Lily is gray' but not both.,It is probable that either 'Greg is a frog' or 'Lily is gray' but not both.,1,Either 'Greg is a frog' or 'Lily is gray' but not both. It is unlikely that Emily is a mouse. It is almost certain that John took the apple. It is unlikely that Brian is white. There is a better than even chance that if either 'Emily is a mouse' or 'John took the apple' but not both then Sandra got the milk. It is unlikely that if either 'Emily is a mouse' or 'John took the apple' but not both then Bernhard is a swan. It is highly likely that if either 'Brian is white' or 'Emily is a mouse' but not both then Mary went to the kitchen.,There is little chance that 'Mary went to the kitchen' 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.2::factA. 0.95::factB. 0.2::factC. %hop1 0.6::factX:-xor(factA,factB). 0.2::factY:-xor(factA,factB). 0.9::factZ:-xor(factC,factA). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.6636,0.22844568913782756,train,probably,little chance,It is probably the case that 'Mary went to the kitchen' or 'Sandra got the milk' or both.,There is little chance that 'Mary went to the kitchen' or 'Sandra got the milk' or both.,0,'Mary went to the kitchen' or 'Sandra got the milk' or both. It is impossible that Jessica is a cat. It is highly likely that Julius is a lion. It is improbable that Mary went to the bedroom. It is almost certain that if either 'Jessica is a cat' or 'Mary went to the bedroom' but not both then John got the apple. It is unlikely that if 'Julius is a lion' or 'Jessica is a cat' or both then Bernhard is a rhino. It is highly likely that if 'Jessica is a cat and Julius is a lion' then Sandra left the milk.,There is a very good chance that either 'Julius is a lion' or 'John 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.0::factA. 0.9::factB. 0.1::factC. %hop1 0.95::factX:-xor(factA,factC). 0.2::factY:-or(factB,factA). 0.9::factZ:-and(factA,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.824,0.7241448289657931,train,very good chance,impossible,There is a very good chance that either 'Julius is a lion' or 'John got the apple' but not both.,It is impossible that either 'Julius is a lion' or 'John got the apple' but not both.,1,Either 'Julius is a lion' or 'John got the apple' but not both. It is highly likely that Brian is gray. There is little chance that Greg is a rhino. It is almost certain that Lily is a lion. There is almost no chance that if either 'Lily is a lion' or 'Greg is a rhino' but not both then Emily is a mouse. It is unlikely that if 'Brian is gray' or 'Greg is a rhino' or both then Daniel dropped the milk. It is highly likely that if 'Lily is a lion' or 'Brian is gray' or both then John went to the office.,It is probably the case that 'Daniel dropped the milk 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.9::factA. 0.1::factB. 0.95::factC. %hop1 0.02::factX:-xor(factC,factB). 0.2::factY:-or(factA,factB). 0.9::factZ:-or(factC,factA). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.1729,0.2930586117223445,train,we doubt,probably,We doubt that 'Daniel dropped the milk and Lily is a lion'.,It is probably the case that 'Daniel dropped the milk and Lily is a lion'.,0,'Daniel dropped the milk and Lily is a lion'. It is impossible that Bernhard is a swan. It is highly unlikely that Brian is a frog. There is a better than even chance that Lily is green. It is improbable that if 'Brian is a frog and Bernhard is a swan' then Greg is white. It is highly unlikely that if 'Lily is green and Brian is a frog' then Mary went to the hallway. There is a better than even chance that if either 'Bernhard is a swan' or 'Lily is green' but not both then Jessica is a cat.,There is almost no chance that 'Jessica is a cat' 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.0::factA. 0.05::factB. 0.6::factC. %hop1 0.1::factX:-and(factB,factA). 0.05::factY:-and(factC,factB). 0.6::factZ:-xor(factA,factC). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.6,0.6659331866373275,train,better than even,almost no chance,There is a better than even chance that 'Jessica is a cat' or 'Lily is green' or both.,There is almost no chance that 'Jessica is a cat' or 'Lily is green' or both.,0,'Jessica is a cat' or 'Lily is green' or both. It is almost certain that Emily is a mouse. Chances are slight that Lily is green. Chances are slight that Jeff left the apple. It is probably not the case that if 'Jeff left the apple and Lily is green' then John went to the hallway. Chances are slight that if 'Lily is green' or 'Emily is a mouse' or both then Brian is a swan. It is impossible that if 'Emily is a mouse' or 'Jeff left the apple' or both then Mary dropped the apple.,Chances are slight that 'Jeff left the apple' 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.1::factB. 0.1::factC. %hop1 0.25::factX:-and(factC,factB). 0.1::factY:-or(factB,factA). 0.0::factZ:-or(factA,factC). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.10000000000000002,0.6533306661332267,train,chances are slight,probable,Chances are slight that 'Jeff left the apple' or 'Mary dropped the apple' or both.,It is probable that 'Jeff left the apple' or 'Mary dropped the apple' or both.,1,'Jeff left the apple' or 'Mary dropped the apple' or both. It is improbable that Mary grabbed the milk. It is highly unlikely that Brian is a swan. It is probably not the case that Bernhard is green. We doubt that if 'Mary grabbed the milk and Brian is a swan' then Daniel got the football. There is almost no chance that if either 'Mary grabbed the milk' or 'Brian is a swan' but not both then Gertrude is a wolf. It is improbable that if 'Brian is a swan' or 'Mary grabbed the milk' or both then John is in the garden.,It is certain that 'Brian is a swan' or 'Mary grabbed 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.05::factB. 0.25::factC. %hop1 0.2::factX:-and(factA,factB). 0.02::factY:-xor(factA,factB). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.14500000000000002,0.05121024204840968,train,little chance,certain,There is little chance that 'Brian is a swan' or 'Mary grabbed the milk' or both.,It is certain that 'Brian is a swan' or 'Mary grabbed the milk' or both.,0,'Brian is a swan' or 'Mary grabbed the milk' or both. We doubt that Jessica is a cat. It is improbable that Brian is green. Chances are about even that Julius is a rhino. Chances are slight that if 'Julius is a rhino' or 'Brian is green' or both then Mary got the football. It is highly unlikely that if either 'Brian is green' or 'Jessica is a cat' but not both then Bernhard is a lion. It is probably not the case that if 'Brian is green and Julius is a rhino' then Bill left the milk.,It is probably not the case that either 'Jessica is a cat' 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.2::factA. 0.1::factB. 0.5::factC. %hop1 0.1::factX:-or(factC,factB). 0.05::factY:-xor(factB,factA). 0.25::factZ:-and(factB,factC). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.26,0.6725345069013803,train,probably not,probable,It is probably not the case that either 'Jessica is a cat' or 'Brian is green' but not both.,It is probable that either 'Jessica is a cat' or 'Brian is green' but not both.,1,Either 'Jessica is a cat' or 'Brian is green' but not both. It is highly likely that Emily is a mouse. It is certain that Bernhard is yellow. It is unlikely that Lily is a swan. Chances are about even that if 'Bernhard is yellow and Lily is a swan' then Julius is a swan. There is little chance that if 'Emily is a mouse' or 'Lily is a swan' or both then Mary went to the bedroom. It is unlikely that if 'Lily is a swan' or 'Emily is a mouse' or both then John discarded the apple.,There is a very good chance that either 'Julius is a swan' 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.9::factA. 1.0::factB. 0.2::factC. %hop1 0.5::factX:-and(factB,factC). 0.1::factY:-or(factA,factC). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.8200000000000001,0.6345269053810763,train,very good chance,we doubt,There is a very good chance that either 'Julius is a swan' or 'Emily is a mouse' but not both.,We doubt that either 'Julius is a swan' or 'Emily is a mouse' but not both.,1,Either 'Julius is a swan' or 'Emily is a mouse' but not both. Chances are about even that Mary picked up the milk. It is almost certain that Lily is a lion. It is unlikely that Greg is yellow. There is a better than even chance that if 'Mary picked up the milk and Greg is yellow' then Brian is white. There is almost no chance that if 'Lily is a lion and Mary picked up the milk' then Gertrude is a mouse. There is a very good chance that if 'Greg is yellow and Mary picked up the milk' then Bernhard is a swan.,Chances are slight that 'Brian 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.5::factA. 0.95::factB. 0.2::factC. %hop1 0.6::factX:-and(factA,factC). 0.02::factY:-and(factB,factA). 0.8::factZ:-and(factC,factA). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.09200000000000004,0.5349069813962792,train,chances are slight,probable,Chances are slight that 'Brian is white' or 'Bernhard is a swan' or both.,It is probable that 'Brian is white' or 'Bernhard is a swan' or both.,1,'Brian is white' or 'Bernhard is a swan' or both. Chances are about even that Greg is green. We doubt that Jeff left the apple. It is certain that Bernhard is a swan. It is highly unlikely that if 'Bernhard is a swan and Jeff left the apple' then Julius is white. There is a better than even chance that if 'Bernhard is a swan and Greg is green' then Mary moved to the office. There is almost no chance that if either 'Jeff left the apple' or 'Bernhard is a swan' but not both then John went to the garden.,It is probably the case that either 'Bernhard is a swan' or 'Mary 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.5::factA. 0.2::factB. 1.0::factC. %hop1 0.05::factX:-and(factC,factB). 0.6::factY:-and(factC,factA). 0.02::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.7000000000000001,0.5113022604520904,train,probably,little chance,It is probably the case that either 'Bernhard is a swan' or 'Mary moved to the office' but not both.,There is little chance that either 'Bernhard is a swan' or 'Mary moved to the office' but not both.,1,Either 'Bernhard is a swan' or 'Mary moved to the office' but not both. It is highly unlikely that Julius is gray. It is unlikely that John moved to the garden. It is probably the case that Mary went to the office. It is unlikely that if either 'John moved to the garden' or 'Julius is gray' but not both then Brian is a frog. It is unlikely that if 'Mary went to the office' or 'John moved to the garden' or both then Daniel grabbed the milk. Chances are slight that if 'John moved to the garden' or 'Julius is gray' or both then Bernhard is a swan.,It is impossible that 'Julius is gray 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.05::factA. 0.2::factB. 0.7::factC. %hop1 0.2::factX:-xor(factB,factA). 0.2::factY:-or(factC,factB). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.005000000000000002,0.5361072214442889,train,impossible,better than even,It is impossible that 'Julius is gray and Bernhard is a swan'.,There is a better than even chance that 'Julius is gray and Bernhard is a swan'.,1,'Julius is gray and Bernhard is a swan'. It is improbable that Winona is a wolf. It is highly unlikely that Greg is white. It is highly likely that Julius is yellow. Chances are about even that if either 'Julius is yellow' or 'Greg is white' but not both then Bernhard is a frog. It is probable that if 'Julius is yellow and Greg is white' then Lily is a lion. We believe that if 'Greg is white' or 'Julius is yellow' or both then John went to the bedroom.,It is probable that 'John went to the bedroom 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.1::factA. 0.05::factB. 0.9::factC. %hop1 0.5::factX:-xor(factC,factB). 0.7::factY:-and(factC,factB). 0.75::factZ:-or(factB,factC). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.06787500000000005,0.7997599519903981,train,highly unlikely,probable,It is highly unlikely that 'John went to the bedroom and Winona is a wolf'.,It is probable that 'John went to the bedroom and Winona is a wolf'.,0,'John went to the bedroom and Winona is a wolf'. There is almost no chance that Mary took the football. It is highly likely that Julius is a swan. It is probably not the case that John went to the garden. There is almost no chance that if either 'John went to the garden' or 'Julius is a swan' but not both then Brian is a rhino. There is a very good chance that if 'Mary took the football and John went to the garden' then Greg is a frog. It is unlikely that if either 'Mary took the football' or 'John went to the garden' but not both then Daniel dropped the milk.,It is certain that 'Greg is a frog and Daniel 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.02::factA. 0.9::factB. 0.25::factC. %hop1 0.02::factX:-xor(factC,factB). 0.8::factY:-and(factA,factC). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.0,0.3100620124024805,train,impossible,certain,It is impossible that 'Greg is a frog and Daniel dropped the milk'.,It is certain that 'Greg is a frog and Daniel dropped the milk'.,0,'Greg is a frog and Daniel dropped the milk'. It is probably not the case that Jeff went to the bedroom. We believe that Julius is a swan. It is unlikely that Bernhard is a lion. It is likely that if either 'Julius is a swan' or 'Bernhard is a lion' but not both then Mary put down the apple. It is probably the case that if either 'Bernhard is a lion' or 'Jeff went to the bedroom' but not both then Sandra got the milk. It is likely that if 'Julius is a swan and Bernhard is a lion' then John left the football.,Chances are about even that 'Mary put down the apple and Julius 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.25::factA. 0.75::factB. 0.2::factC. %hop1 0.7::factX:-xor(factB,factC). 0.7::factY:-xor(factC,factA). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.42,0.25125025005001,train,about even,certain,Chances are about even that 'Mary put down the apple and Julius is a swan'.,It is certain that 'Mary put down the apple and Julius is a swan'.,1,'Mary put down the apple and Julius is a swan'. There is little chance that Daniel took the milk. It is improbable that Brian is yellow. It is highly unlikely that Greg is a swan. It is unlikely that if 'Brian is yellow' or 'Daniel took the milk' or both then Lily is green. It is probably the case that if 'Brian is yellow' or 'Greg is a swan' or both then Bernhard is green. It is probably not the case that if 'Brian is yellow and Greg is a swan' then Mary picked up the apple.,It is probably the case that either 'Brian is yellow' or 'Daniel 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.1::factB. 0.05::factC. %hop1 0.2::factX:-or(factB,factA). 0.7::factY:-or(factB,factC). 0.25::factZ:-and(factB,factC). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.18000000000000005,0.6273254650930186,train,we doubt,probably,We doubt that either 'Brian is yellow' or 'Daniel took the milk' but not both.,It is probably the case that either 'Brian is yellow' or 'Daniel took the milk' but not both.,0,Either 'Brian is yellow' or 'Daniel took the milk' but not both. Chances are about even that Mary went to the garden. It is probably the case that Greg is yellow. It is unlikely that Julius is gray. It is certain that if 'Mary went to the garden' or 'Greg is yellow' or both then John got the apple. It is unlikely that if 'Mary went to the garden' or 'Julius is gray' or both then Brian is a rhino. We believe that if 'Julius is gray' or 'Mary went to the garden' or both then Gertrude is a mouse.,It is unlikely that either 'Gertrude is a mouse' 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.5::factA. 0.7::factB. 0.2::factC. %hop1 1.0::factX:-or(factA,factB). 0.2::factY:-or(factA,factC). 0.75::factZ:-or(factC,factA). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.2,0.6283256651330266,train,unlikely,highly likely,It is unlikely that either 'Gertrude is a mouse' or 'Mary went to the garden' but not both.,It is highly likely that either 'Gertrude is a mouse' or 'Mary went to the garden' but not both.,1,Either 'Gertrude is a mouse' or 'Mary went to the garden' but not both. It is certain that John picked up the apple. It is improbable that Mary took the milk. It is improbable that Gertrude is a cat. It is probably not the case that if 'John picked up the apple and Mary took the milk' then Julius is yellow. It is highly unlikely that if 'Mary took the milk and John picked up the apple' then Greg is a swan. We believe that if either 'Mary took the milk' or 'John picked up the apple' but not both then Emily is a mouse.,There is little chance that either 'Julius is yellow' or 'Gertrude 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 1.0::factA. 0.1::factB. 0.1::factC. %hop1 0.25::factX:-and(factA,factB). 0.05::factY:-and(factB,factA). 0.75::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.12000000000000001,0.500500100020004,train,little chance,better than even,There is little chance that either 'Julius is yellow' or 'Gertrude is a cat' but not both.,There is a better than even chance that either 'Julius is yellow' or 'Gertrude is a cat' but not both.,1,Either 'Julius is yellow' or 'Gertrude is a cat' but not both. It is probably not the case that Gertrude is a mouse. It is impossible that Julius is a lion. It is highly unlikely that Lily is yellow. It is improbable that if 'Lily is yellow and Gertrude is a mouse' then Bernhard is a swan. It is certain that if 'Lily is yellow and Gertrude is a mouse' then Brian is a frog. There is a better than even chance that if either 'Julius is a lion' or 'Gertrude is a mouse' but not both then John took the apple.,It is almost certain that either 'Brian is a frog' 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.25::factA. 0.0::factB. 0.05::factC. %hop1 0.1::factX:-and(factC,factA). 1.0::factY:-and(factC,factA). 0.6::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.012500000000000006,0.3664732946589318,train,almost no chance,almost certain,There is almost no chance that either 'Brian is a frog' or 'Julius is a lion' but not both.,It is almost certain that either 'Brian is a frog' or 'Julius is a lion' but not both.,0,Either 'Brian is a frog' or 'Julius is a lion' but not both. It is almost certain that Fred dropped the milk. It is probably the case that Greg is green. It is certain that John went to the garden. It is unlikely that if either 'Fred dropped the milk' or 'Greg is green' but not both then Bernhard is yellow. There is a better than even chance that if either 'Fred dropped the milk' or 'Greg is green' but not both then Lily is a rhino. It is improbable that if 'Fred dropped the milk and John went to the garden' then Brian is white.,It is likely that either 'Lily is a rhino' 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.7::factB. 1.0::factC. %hop1 0.2::factX:-xor(factA,factB). 0.6::factY:-xor(factA,factB). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.17920000000000003,0.539507901580316,train,we doubt,likely,We doubt that either 'Lily is a rhino' or 'Bernhard is yellow' but not both.,It is likely that either 'Lily is a rhino' or 'Bernhard is yellow' but not both.,0,Either 'Lily is a rhino' or 'Bernhard is yellow' but not both. It is likely that Bernhard is a swan. It is highly unlikely that Lily is a rhino. It is highly likely that Julius is a swan. It is improbable that if 'Bernhard is a swan' or 'Julius is a swan' or both then Antoine is hungry. There is a very good chance that if 'Bernhard is a swan' or 'Lily is a rhino' or both then Mary dropped the milk. Chances are about even that if either 'Bernhard is a swan' or 'Julius is a swan' but not both then Bill left the football.,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.7::factA. 0.05::factB. 0.9::factC. %hop1 0.1::factX:-or(factA,factC). 0.8::factY:-or(factA,factB). 0.5::factZ:-xor(factA,factC). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.905,0.7371474294858972,train,highly likely,unlikely,It is highly likely 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. It is almost certain that Brian is yellow. We doubt that Mary dropped the milk. There is almost no chance that John took the football. Chances are slight that if 'John took the football' or 'Mary dropped the milk' or both then Jason is thirsty. It is probably the case that if 'John took the football and Mary dropped the milk' then Greg is gray. It is probably not the case that if 'Brian is yellow' or 'Mary dropped the milk' or both then Bernhard is white.,There is a very good chance that 'Greg is gray' 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.95::factA. 0.2::factB. 0.02::factC. %hop1 0.1::factX:-or(factC,factB). 0.7::factY:-and(factC,factB). 0.25::factZ:-or(factA,factB). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.2,0.33366673334666935,train,unlikely,very good chance,It is unlikely that 'Greg is gray' or 'Mary dropped the milk' or both.,There is a very good chance that 'Greg is gray' or 'Mary dropped the milk' or both.,0,'Greg is gray' or 'Mary dropped the milk' or both. It is improbable that Brian is a lion. There is almost no chance that Gertrude is a sheep. It is unlikely that Greg is white. It is almost certain that if 'Brian is a lion' or 'Gertrude is a sheep' or both then Jeff went to the garden. It is impossible that if 'Brian is a lion' or 'Gertrude is a sheep' or both then John discarded the milk. We believe that if either 'Brian is a lion' or 'Greg is white' but not both then Lily is a swan.,It is impossible that 'John discarded the milk 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.1::factA. 0.02::factB. 0.2::factC. %hop1 0.95::factX:-or(factA,factB). 0.0::factY:-or(factA,factB). 0.75::factZ:-xor(factA,factC). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.0,0.5011002200440088,train,impossible,very good chance,It is impossible that 'John discarded the milk and Lily is a swan'.,There is a very good chance that 'John discarded the milk and Lily is a swan'.,1,'John discarded the milk and Lily is a swan'. It is probably not the case that Lily is gray. It is improbable that Julius is a frog. There is a very good chance that Jeff went to the hallway. It is almost certain that if either 'Lily is gray' or 'Julius is a frog' but not both then Mary left the football. It is unlikely that if either 'Jeff went to the hallway' or 'Lily is gray' but not both then John moved to the office. It is impossible that if 'Jeff went to the hallway' or 'Julius is a frog' or both then Bernhard is green.,There is a very good chance that 'Jeff went to the hallway' 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.25::factA. 0.1::factB. 0.8::factC. %hop1 0.95::factX:-xor(factA,factB). 0.2::factY:-xor(factC,factA). 0.0::factZ:-or(factC,factB). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.8,0.737747549509902,train,very good chance,improbable,There is a very good chance that 'Jeff went to the hallway' or 'Bernhard is green' or both.,It is improbable that 'Jeff went to the hallway' or 'Bernhard is green' or both.,1,'Jeff went to the hallway' or 'Bernhard is green' or both. It is highly likely that Lily is green. It is almost certain that Daniel took the apple. There is a very good chance that John moved to the office. There is little chance that if 'Lily is green and John moved to the office' then Mary went to the office. It is almost certain that if either 'Daniel took the apple' or 'John moved to the office' but not both then Julius is a swan. Chances are slight that if 'Daniel took the apple and John moved to the office' then Jessica is a wolf.,It is unlikely that either 'Daniel took 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.9::factA. 0.95::factB. 0.8::factC. %hop1 0.1::factX:-and(factA,factC). 0.95::factY:-xor(factB,factC). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.8852,0.21104220844168833,train,highly likely,unlikely,It is highly likely that either 'Daniel took the apple' or 'Mary went to the office' but not both.,It is unlikely that either 'Daniel took the apple' or 'Mary went to the office' but not both.,0,Either 'Daniel took the apple' or 'Mary went to the office' but not both. It is unlikely that John dropped the apple. It is certain that Gertrude is a cat. There is a very good chance that Winona is a mouse. There is almost no chance that if 'John dropped the apple' or 'Winona is a mouse' or both then Mary took the milk. It is impossible that if either 'Winona is a mouse' or 'John dropped the apple' but not both then Bernhard is a frog. It is probable that if either 'Winona is a mouse' or 'Gertrude is a cat' but not both then Brian is a rhino.,It is impossible that 'Bernhard is a frog 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.2::factA. 1.0::factB. 0.8::factC. %hop1 0.02::factX:-or(factA,factC). 0.0::factY:-xor(factC,factA). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.0,0.3672734546909382,train,impossible,about even,It is impossible that 'Bernhard is a frog and Mary took the milk'.,Chances are about even that 'Bernhard is a frog and Mary took the milk'.,1,'Bernhard is a frog and Mary took the milk'. It is impossible that John moved to the office. There is almost no chance that Gertrude is a sheep. It is certain that Brian is a rhino. It is probably the case that if either 'Brian is a rhino' or 'Gertrude is a sheep' but not both then Jeff put down the milk. It is highly likely that if 'Brian is a rhino and John moved to the office' then Lily is white. Chances are about even that if either 'Gertrude is a sheep' or 'John moved to the office' but not both then Sandra dropped the milk.,There is a very good chance that 'John moved to the office 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.0::factA. 0.02::factB. 1.0::factC. %hop1 0.7::factX:-xor(factC,factB). 0.9::factY:-and(factC,factA). 0.5::factZ:-xor(factB,factA). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.4178835767153431,train,impossible,very good chance,It is impossible that 'John moved to the office and Brian is a rhino'.,There is a very good chance that 'John moved to the office and Brian is a rhino'.,0,'John moved to the office and Brian is a rhino'. It is probable that Julius is a frog. There is a better than even chance that Greg is white. It is highly unlikely that Bernhard is yellow. It is almost certain that if either 'Bernhard is yellow' or 'Julius is a frog' but not both then Brian is a lion. There is a very good chance that if either 'Julius is a frog' or 'Greg is white' but not both then Mary dropped the milk. It is highly likely that if either 'Bernhard is yellow' or 'Greg is white' but not both then Jeff moved to the garden.,It is likely that either 'Greg is white' or 'Mary 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. 0.6::factB. 0.05::factC. %hop1 0.95::factX:-xor(factC,factA). 0.8::factY:-xor(factA,factB). 0.9::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.6799999999999999,0.3350670134026805,train,likely,almost no chance,It is likely that either 'Greg is white' or 'Mary dropped the milk' but not both.,There is almost no chance that either 'Greg is white' or 'Mary dropped the milk' but not both.,1,Either 'Greg is white' or 'Mary dropped the milk' but not both. It is almost certain that Jessica is a cat. It is certain that Lily is a lion. It is highly unlikely that Julius is white. It is almost certain that if 'Lily is a lion and Jessica is a cat' then Brian is yellow. There is little chance that if either 'Lily is a lion' or 'Julius is white' but not both then Greg is a frog. It is highly unlikely that if either 'Lily is a lion' or 'Julius is white' but not both then John took the apple.,It is highly unlikely that 'John took the apple 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.95::factA. 1.0::factB. 0.05::factC. %hop1 0.95::factX:-and(factB,factA). 0.1::factY:-xor(factB,factC). 0.05::factZ:-xor(factB,factC). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.04286875,0.14362872574514904,train,highly unlikely,very good chance,It is highly unlikely that 'John took the apple and Brian is yellow'.,There is a very good chance that 'John took the apple and Brian is yellow'.,1,'John took the apple and Brian is yellow'. It is likely that Jeff moved to the garden. It is probably not the case that Bernhard is green. Chances are about even that Greg is a rhino. There is a very good chance that if either 'Jeff moved to the garden' or 'Greg is a rhino' but not both then Lily is a lion. It is probably not the case that if 'Jeff moved to the garden' or 'Greg is a rhino' or both then Jessica is a sheep. Chances are slight that if either 'Jeff moved to the garden' or 'Greg is a rhino' but not both then John grabbed the apple.,There is a better than even chance that either 'Jeff moved to the garden' 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.7::factA. 0.25::factB. 0.5::factC. %hop1 0.8::factX:-xor(factA,factC). 0.25::factY:-or(factA,factC). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.6,0.04260852170434087,train,better than even,little chance,There is a better than even chance that either 'Jeff moved to the garden' or 'Bernhard is green' but not both.,There is little chance that either 'Jeff moved to the garden' or 'Bernhard is green' but not both.,1,Either 'Jeff moved to the garden' or 'Bernhard is green' but not both. Chances are slight that Brian is a frog. It is impossible that Lily is green. It is probable that Bernhard is gray. It is improbable that if 'Brian is a frog' or 'Bernhard is gray' or both then Greg is a rhino. It is almost certain that if 'Lily is green' or 'Bernhard is gray' or both then Winona is a sheep. It is improbable that if 'Lily is green and Brian is a frog' then Jeff left the apple.,It is impossible that 'Bernhard is gray and Jeff 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.0::factB. 0.7::factC. %hop1 0.1::factX:-or(factA,factC). 0.95::factY:-or(factB,factC). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.0,0.4148829765953191,train,impossible,better than even,It is impossible that 'Bernhard is gray and Jeff left the apple'.,There is a better than even chance that 'Bernhard is gray and Jeff left the apple'.,1,'Bernhard is gray and Jeff left the apple'. It is certain that Mary left the football. We doubt that Sandra got the milk. It is highly unlikely that Bernhard is gray. Chances are slight that if either 'Bernhard is gray' or 'Sandra got the milk' but not both then Gertrude is a cat. Chances are about even that if either 'Bernhard is gray' or 'Mary left the football' but not both then Greg is yellow. It is highly likely that if 'Bernhard is gray and Sandra got the milk' then John picked up the apple.,It is improbable that 'Mary left the football' 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 1.0::factA. 0.2::factB. 0.05::factC. %hop1 0.1::factX:-xor(factC,factB). 0.5::factY:-xor(factC,factA). 0.9::factZ:-and(factC,factB). %hop2 conclusion:-or(factA,factY). query(conclusion). ",1.0,0.14562912582516505,train,certain,improbable,It is certain that 'Mary left the football' or 'Greg is yellow' or both.,It is improbable that 'Mary left the football' or 'Greg is yellow' or both.,0,'Mary left the football' or 'Greg is yellow' or both. It is highly unlikely that Yann is hungry. It is likely that John went to the hallway. There is a very good chance that Bernhard is green. It is unlikely that if 'John went to the hallway and Yann is hungry' then Emily is a wolf. It is probably the case that if either 'John went to the hallway' or 'Bernhard is green' but not both then Brian is yellow. It is almost certain that if 'John went to the hallway and Yann is hungry' then Lily is a rhino.,We doubt that 'Bernhard is green 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.05::factA. 0.7::factB. 0.8::factC. %hop1 0.2::factX:-and(factB,factA). 0.7::factY:-xor(factB,factC). 0.95::factZ:-and(factB,factA). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.168,0.16063212642528507,train,we doubt,certain,We doubt that 'Bernhard is green and Brian is yellow'.,It is certain that 'Bernhard is green and Brian is yellow'.,1,'Bernhard is green and Brian is yellow'. It is probable that Sandra left the apple. It is probably not the case that Jessica is a mouse. It is certain that Mary moved to the garden. There is a better than even chance that if 'Mary moved to the garden' or 'Sandra left the apple' or both then Emily is a wolf. We doubt that if 'Sandra left the apple' or 'Mary moved to the garden' or both then John went to the office. There is a better than even chance that if either 'Mary moved to the garden' or 'Sandra left the apple' but not both then Lily is a lion.,There is a very good chance that either 'John went to the office' 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.7::factA. 0.25::factB. 1.0::factC. %hop1 0.6::factX:-or(factC,factA). 0.2::factY:-or(factA,factC). 0.6::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.308,0.633126625325065,train,probably not,very good chance,It is probably not the case that either 'John went to the office' or 'Lily is a lion' but not both.,There is a very good chance that either 'John went to the office' or 'Lily is a lion' but not both.,0,Either 'John went to the office' or 'Lily is a lion' but not both. It is probably the case that Julius is gray. It is unlikely that Bernhard is yellow. It is probably the case that Brian is a rhino. It is highly unlikely that if 'Bernhard is yellow and Brian is a rhino' then Sandra took the milk. Chances are slight that if 'Brian is a rhino and Bernhard is yellow' then Mary went to the kitchen. It is certain that if 'Bernhard is yellow and Brian is a rhino' then Lily is a lion.,It is highly 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.7::factA. 0.2::factB. 0.7::factC. %hop1 0.05::factX:-and(factB,factC). 0.1::factY:-and(factC,factB). 1.0::factZ:-and(factB,factC). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.06,0.6413282656531306,train,highly unlikely,about even,It is highly unlikely that either 'Lily is a lion' or 'Bernhard is yellow' but not both.,Chances are about even that either 'Lily is a lion' or 'Bernhard is yellow' but not both.,1,Either 'Lily is a lion' or 'Bernhard is yellow' but not both. It is almost certain that Julius is a frog. It is likely that Winona is a sheep. It is unlikely that John moved to the office. It is improbable that if 'Julius is a frog' or 'Winona is a sheep' or both then Mary grabbed the milk. Chances are slight that if either 'Winona is a sheep' or 'John moved to the office' but not both then Yann is hungry. It is highly unlikely that if 'Julius is a frog' or 'John moved to the office' or both then Greg is a swan.,It is impossible that 'Mary grabbed the milk and Greg 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.7::factB. 0.2::factC. %hop1 0.1::factX:-or(factA,factB). 0.1::factY:-xor(factB,factC). 0.05::factZ:-or(factA,factC). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.004785000000000004,0.792758551710342,train,impossible,about even,It is impossible that 'Mary grabbed the milk and Greg is a swan'.,Chances are about even that 'Mary grabbed the milk and Greg is a swan'.,1,'Mary grabbed the milk and Greg is a swan'. There is a very good chance that Jessica is a cat. It is probable that Brian is yellow. It is certain that Mary went to the kitchen. It is certain that if either 'Brian is yellow' or 'Jessica is a cat' but not both then Greg is white. It is highly unlikely that if 'Jessica is a cat and Mary went to the kitchen' then Yann is hungry. It is improbable that if 'Brian is yellow' or 'Jessica is a cat' or both then Julius is green.,It is likely that 'Mary went to the kitchen 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.8::factA. 0.7::factB. 1.0::factC. %hop1 1.0::factX:-xor(factB,factA). 0.05::factY:-and(factA,factC). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.04000000000000001,0.11882376475295059,train,highly unlikely,likely,It is highly unlikely that 'Mary went to the kitchen and Yann is hungry'.,It is likely that 'Mary went to the kitchen and Yann is hungry'.,0,'Mary went to the kitchen and Yann is hungry'. There is almost no chance that Brian is a lion. Chances are slight that Fred left the apple. We doubt that John went to the bedroom. There is a better than even chance that if 'John went to the bedroom and Fred left the apple' then Daniel took the football. We doubt that if 'Fred left the apple' or 'Brian is a lion' or both then Greg is green. There is a very good chance that if 'Brian is a lion and Fred left the apple' then Mary dropped the milk.,It is highly likely that either 'Greg is green' or 'Brian 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.02::factA. 0.1::factB. 0.2::factC. %hop1 0.6::factX:-and(factC,factB). 0.2::factY:-or(factB,factA). 0.8::factZ:-and(factA,factB). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.0356,0.5501100220044008,train,highly unlikely,highly likely,It is highly unlikely that either 'Greg is green' or 'Brian is a lion' but not both.,It is highly likely that either 'Greg is green' or 'Brian is a lion' but not both.,0,Either 'Greg is green' or 'Brian is a lion' but not both. There is almost no chance that Emily is a mouse. We believe that Lily is white. It is impossible that John went to the bedroom. It is probably the case that if 'Lily is white' or 'Emily is a mouse' or both then Fred put down the apple. It is improbable that if either 'Lily is white' or 'Emily is a mouse' but not both then Sandra left the milk. There is a better than even chance that if 'Lily is white and Emily is a mouse' then Julius is a frog.,There is a very good chance that 'Emily is a mouse' 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.75::factB. 0.0::factC. %hop1 0.7::factX:-or(factB,factA). 0.1::factY:-xor(factB,factA). 0.6::factZ:-and(factB,factA). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.09350000000000003,0.3920784156831366,train,little chance,very good chance,There is little chance that 'Emily is a mouse' or 'Sandra left the milk' or both.,There is a very good chance that 'Emily is a mouse' or 'Sandra left the milk' or both.,0,'Emily is a mouse' or 'Sandra left the milk' or both. It is unlikely that John went to the hallway. It is certain that Gertrude is a mouse. Chances are slight that Lily is a rhino. Chances are slight that if 'John went to the hallway' or 'Gertrude is a mouse' or both then Greg is white. There is a very good chance that if 'Lily is a rhino' or 'Gertrude is a mouse' or both then Emily is a sheep. We doubt that if 'John went to the hallway' or 'Gertrude is a mouse' or both then Bernhard is yellow.,It is highly likely that either 'Gertrude is a mouse' or 'Lily 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. 1.0::factB. 0.1::factC. %hop1 0.1::factX:-or(factA,factB). 0.8::factY:-or(factC,factB). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.9,0.7951590318063613,train,highly likely,chances are slight,It is highly likely that either 'Gertrude is a mouse' or 'Lily is a rhino' but not both.,Chances are slight that either 'Gertrude is a mouse' or 'Lily is a rhino' but not both.,1,Either 'Gertrude is a mouse' or 'Lily is a rhino' but not both. There is a better than even chance that John grabbed the apple. We doubt that Bernhard is green. It is highly unlikely that Greg is gray. There is little chance that if 'Greg is gray and Bernhard is green' then Julius is white. It is highly likely that if either 'Greg is gray' or 'John grabbed the apple' but not both then Sandra took the football. We doubt that if either 'John grabbed the apple' or 'Greg is gray' but not both then Lily is yellow.,It is improbable that either 'Lily is yellow' 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.05::factC. %hop1 0.1::factX:-and(factC,factB). 0.9::factY:-xor(factC,factA). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.11883999999999999,0.15383076615323066,train,improbable,very good chance,It is improbable that either 'Lily is yellow' or 'Julius is white' but not both.,There is a very good chance that either 'Lily is yellow' or 'Julius is white' but not both.,1,Either 'Lily is yellow' or 'Julius is white' but not both. It is certain that Antoine is thirsty. It is almost certain that Julius is a swan. It is probably the case that Brian is green. We believe that if 'Brian is green and Julius is a swan' then Bernhard is a rhino. It is highly likely that if either 'Brian is green' or 'Julius is a swan' but not both then John discarded the apple. It is certain that if either 'Julius is a swan' or 'Brian is green' but not both then Mary went to the office.,There is a very good chance that either 'Bernhard is a rhino' 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 1.0::factA. 0.95::factB. 0.7::factC. %hop1 0.75::factX:-and(factC,factB). 0.9::factY:-xor(factC,factB). 1.0::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.81875,0.11342268453690738,train,very good chance,we doubt,There is a very good chance that either 'Bernhard is a rhino' or 'Mary went to the office' but not both.,We doubt that either 'Bernhard is a rhino' or 'Mary went to the office' but not both.,1,Either 'Bernhard is a rhino' or 'Mary went to the office' but not both. It is probably not the case that Julius is yellow. There is almost no chance that Emily is a wolf. There is a better than even chance that Brian is a lion. Chances are about even that if 'Brian is a lion and Emily is a wolf' then Bernhard is green. There is a very good chance that if 'Emily is a wolf' or 'Julius is yellow' or both then Mary left the milk. It is highly unlikely that if 'Brian is a lion' or 'Julius is yellow' or both then John went to the office.,It is impossible 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.25::factA. 0.02::factB. 0.6::factC. %hop1 0.5::factX:-and(factC,factB). 0.8::factY:-or(factB,factA). 0.05::factZ:-or(factC,factA). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.005999999999999998,0.6689337867573515,train,impossible,we believe,It is impossible that 'Brian is a lion and Bernhard is green'.,We believe that 'Brian is a lion and Bernhard is green'.,1,'Brian is a lion and Bernhard is green'. It is highly likely that Brian is a swan. There is almost no chance that Daniel got the football. It is highly likely that Sandra left the milk. It is improbable that if either 'Daniel got the football' or 'Sandra left the milk' but not both then Winona is a wolf. It is almost certain that if either 'Brian is a swan' or 'Daniel got the football' but not both then Bernhard is green. It is unlikely that if 'Daniel got the football' or 'Brian is a swan' or both then Antoine is thirsty.,It is probable that 'Daniel got the football' 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.9::factA. 0.02::factB. 0.9::factC. %hop1 0.1::factX:-xor(factB,factC). 0.95::factY:-xor(factA,factB). 0.2::factZ:-or(factB,factA). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.10820000000000002,0.4340868173634727,train,little chance,probable,There is little chance that 'Daniel got the football' or 'Winona is a wolf' or both.,It is probable that 'Daniel got the football' or 'Winona is a wolf' or both.,0,'Daniel got the football' or 'Winona is a wolf' or both. It is highly unlikely that Julius is a frog. Chances are about even that Lily is yellow. It is improbable that Fred left the football. Chances are slight that if 'Lily is yellow' or 'Fred left the football' or both then Bernhard is green. It is probably the case that if either 'Fred left the football' or 'Lily is yellow' but not both then Bill went to the bedroom. It is unlikely that if either 'Lily is yellow' or 'Fred left the football' but not both then Brian is white.,There is a better than even chance that 'Fred left the football' 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.5::factB. 0.1::factC. %hop1 0.1::factX:-or(factB,factC). 0.7::factY:-xor(factC,factB). 0.2::factZ:-xor(factB,factC). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.55,0.5521104220844169,train,better than even,almost no chance,There is a better than even chance that 'Fred left the football' or 'Lily is yellow' or both.,There is almost no chance that 'Fred left the football' or 'Lily is yellow' or both.,1,'Fred left the football' or 'Lily is yellow' or both. There is almost no chance that Bernhard is a rhino. There is a very good chance that Mary picked up the milk. It is highly likely that Julius is a lion. It is highly unlikely that if either 'Bernhard is a rhino' or 'Mary picked up the milk' but not both then John went to the office. It is likely that if 'Bernhard is a rhino' or 'Julius is a lion' or both then Brian is green. Chances are about even that if 'Julius is a lion and Mary picked up the milk' then Greg is a frog.,It is almost certain that 'Mary picked up the milk 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.02::factA. 0.8::factB. 0.9::factC. %hop1 0.05::factX:-xor(factA,factB). 0.7::factY:-or(factA,factC). 0.5::factZ:-and(factC,factB). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.039200000000000006,0.03860772154430886,train,highly unlikely,almost certain,It is highly unlikely that 'Mary picked up the milk and John went to the office'.,It is almost certain that 'Mary picked up the milk and John went to the office'.,0,'Mary picked up the milk and John went to the office'. It is almost certain that Bernhard is a rhino. It is certain that Julius is white. There is a better than even chance that John took the football. It is impossible that if either 'Bernhard is a rhino' or 'Julius is white' but not both then Mary moved to the office. There is almost no chance that if either 'Julius is white' or 'Bernhard is a rhino' but not both then Brian is yellow. It is unlikely that if 'Bernhard is a rhino and John took the football' then Jessica is a cat.,It is impossible that either 'Mary moved to the office' 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.95::factA. 1.0::factB. 0.6::factC. %hop1 0.0::factX:-xor(factA,factB). 0.02::factY:-xor(factB,factA). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.001000000000000001,0.3096619323864773,train,impossible,we believe,It is impossible that either 'Mary moved to the office' or 'Brian is yellow' but not both.,We believe that either 'Mary moved to the office' or 'Brian is yellow' but not both.,1,Either 'Mary moved to the office' or 'Brian is yellow' but not both. We doubt that Mary went to the bedroom. It is unlikely that Jeff moved to the garden. Chances are about even that Lily is a rhino. It is impossible that if 'Lily is a rhino and Jeff moved to the garden' then Bernhard is yellow. It is probably not the case that if either 'Mary went to the bedroom' or 'Jeff moved to the garden' but not both then Julius is white. It is certain that if 'Lily is a rhino' or 'Jeff moved to the garden' or both then John dropped the apple.,It is impossible that 'Julius is white' 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.2::factA. 0.2::factB. 0.5::factC. %hop1 0.0::factX:-and(factC,factB). 0.25::factY:-xor(factA,factB). 1.0::factZ:-or(factC,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.54,0.794758951790358,train,about even,impossible,Chances are about even that 'Julius is white' or 'Lily is a rhino' or both.,It is impossible that 'Julius is white' or 'Lily is a rhino' or both.,0,'Julius is white' or 'Lily is a rhino' or both. We believe that Sumit is tired. It is almost certain that Sandra left the milk. It is highly unlikely that Greg is yellow. It is certain that if 'Sumit is tired' or 'Sandra left the milk' or both then Lily is a lion. It is highly unlikely that if 'Greg is yellow' or 'Sumit is tired' or both then Mary went to the bedroom. It is probable that if 'Greg is yellow and Sandra left the milk' then Brian is a rhino.,It is impossible that 'Mary went to the bedroom 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.75::factA. 0.95::factB. 0.05::factC. %hop1 1.0::factX:-or(factA,factB). 0.05::factY:-or(factC,factA). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.0025000000000000005,0.3986797359471894,train,impossible,certain,It is impossible that 'Mary went to the bedroom and Greg is yellow'.,It is certain that 'Mary went to the bedroom and Greg is yellow'.,1,'Mary went to the bedroom and Greg is yellow'. It is certain that Julius is a frog. It is improbable that Bernhard is gray. We believe that Greg is a swan. It is highly unlikely that if 'Bernhard is gray and Greg is a swan' then Lily is a frog. We doubt that if 'Greg is a swan and Bernhard is gray' then Fred left the football. There is a better than even chance that if either 'Bernhard is gray' or 'Julius is a frog' but not both then John took the apple.,There is almost no chance that 'Fred left 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 1.0::factA. 0.1::factB. 0.75::factC. %hop1 0.05::factX:-and(factB,factC). 0.2::factY:-and(factC,factB). 0.6::factZ:-xor(factB,factA). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.75,0.6709341868373675,train,we believe,almost no chance,We believe that 'Fred left the football' or 'Greg is a swan' or both.,There is almost no chance that 'Fred left the football' or 'Greg is a swan' or both.,0,'Fred left the football' or 'Greg is a swan' or both. It is highly unlikely that Greg is yellow. It is highly likely that Julius is a swan. It is probably not the case that Gertrude is a sheep. There is little chance that if either 'Gertrude is a sheep' or 'Greg is yellow' but not both then Mary went to the bedroom. It is probable that if 'Greg is yellow' or 'Julius is a swan' or both then Fred is in the office. It is almost certain that if either 'Greg is yellow' or 'Julius is a swan' but not both then Bill left the football.,It is highly likely that 'Fred is in the office 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.05::factA. 0.9::factB. 0.25::factC. %hop1 0.1::factX:-xor(factC,factA). 0.7::factY:-or(factA,factB). 0.95::factZ:-xor(factA,factB). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.158375,0.6165233046609322,train,we doubt,highly likely,We doubt that 'Fred is in the office and Gertrude is a sheep'.,It is highly likely that 'Fred is in the office and Gertrude is a sheep'.,0,'Fred is in the office and Gertrude is a sheep'. We doubt that Bernhard is a rhino. It is highly unlikely that Mary went to the garden. It is highly likely that Julius is white. It is probable that if 'Bernhard is a rhino' or 'Julius is white' or both then John left the milk. Chances are about even that if 'Mary went to the garden' or 'Bernhard is a rhino' or both then Greg is yellow. It is unlikely that if either 'Mary went to the garden' or 'Julius is white' but not both then Winona is a wolf.,We doubt that 'Bernhard is a rhino' 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.2::factA. 0.05::factB. 0.9::factC. %hop1 0.7::factX:-or(factA,factC). 0.5::factY:-or(factB,factA). 0.2::factZ:-xor(factB,factC). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.92,0.239247849569914,train,highly likely,we doubt,It is highly likely that 'Bernhard is a rhino' or 'Julius is white' or both.,We doubt that 'Bernhard is a rhino' or 'Julius is white' or both.,0,'Bernhard is a rhino' or 'Julius is white' or both. It is probable that Brian is green. Chances are slight that Mary took the football. It is probably the case that John went to the bedroom. Chances are slight that if 'John went to the bedroom' or 'Mary took the football' or both then Julius is yellow. There is little chance that if 'Brian is green' or 'Mary took the football' or both then Gertrude is a mouse. It is almost certain that if 'Mary took the football' or 'John went to the bedroom' or both then Bernhard is a swan.,We believe that 'Brian is green' or 'Mary took 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.7::factA. 0.1::factB. 0.7::factC. %hop1 0.1::factX:-or(factC,factB). 0.1::factY:-or(factA,factB). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.73,0.35827165433086616,train,we believe,we doubt,We believe that 'Brian is green' or 'Mary took the football' or both.,We doubt that 'Brian is green' or 'Mary took the football' or both.,1,'Brian is green' or 'Mary took the football' or both. It is probable that Mary went to the bedroom. It is probably the case that Julius is gray. It is impossible that John left the milk. It is highly unlikely that if 'Julius is gray' or 'Mary went to the bedroom' or both then Brian is a rhino. It is almost certain that if 'John left the milk' or 'Mary went to the bedroom' or both then Lily is a lion. There is a better than even chance that if 'John left the milk and Julius is gray' then Bernhard is a frog.,It is highly unlikely that 'John left the milk' 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.0::factC. %hop1 0.05::factX:-or(factB,factA). 0.95::factY:-or(factC,factA). 0.6::factZ:-and(factC,factB). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.04549999999999999,0.3846769353870774,train,highly unlikely,probably,It is highly unlikely that 'John left the milk' or 'Brian is a rhino' or both.,It is probably the case that 'John left the milk' or 'Brian is a rhino' or both.,1,'John left the milk' or 'Brian is a rhino' or both. Chances are slight that Brian is gray. There is little chance that Julius is a rhino. It is highly unlikely that Daniel left the apple. It is highly unlikely that if either 'Julius is a rhino' or 'Brian is gray' but not both then Lily is white. It is probably not the case that if 'Brian is gray' or 'Julius is a rhino' or both then Greg is a frog. There is a better than even chance that if 'Daniel left the apple and Julius is a rhino' then Bernhard is a lion.,It is improbable that 'Lily is white' 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.1::factA. 0.1::factB. 0.05::factC. %hop1 0.05::factX:-xor(factB,factA). 0.25::factY:-or(factA,factB). 0.6::factZ:-and(factC,factB). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.10450000000000001,0.04820964192838568,train,improbable,certain,It is improbable that 'Lily is white' or 'Brian is gray' or both.,It is certain that 'Lily is white' or 'Brian is gray' or both.,1,'Lily is white' or 'Brian is gray' or both. There is almost no chance that Gertrude is a cat. It is probably not the case that Brian is a rhino. It is probably the case that Sandra took the milk. It is impossible that if either 'Sandra took the milk' or 'Brian is a rhino' but not both then Lily is a lion. It is probable that if either 'Sandra took the milk' or 'Gertrude is a cat' but not both then John went to the bedroom. We doubt that if 'Sandra took the milk and Brian is a rhino' then Julius is a frog.,It is impossible that 'Gertrude is a cat and John 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.02::factA. 0.25::factB. 0.7::factC. %hop1 0.0::factX:-xor(factC,factB). 0.7::factY:-xor(factC,factA). 0.2::factZ:-and(factC,factB). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.004200000000000002,0.7193438687737548,train,impossible,better than even,It is impossible that 'Gertrude is a cat and John went to the bedroom'.,There is a better than even chance that 'Gertrude is a cat and John went to the bedroom'.,1,'Gertrude is a cat and John went to the bedroom'. Chances are about even that John put down the apple. It is probably not the case that Greg is a frog. It is probable that Brian is a swan. Chances are about even that if 'Greg is a frog' or 'Brian is a swan' or both then Jessica is a cat. We believe that if 'Greg is a frog' or 'Brian is a swan' or both then Fred is in the school. Chances are slight that if 'Greg is a frog' or 'Brian is a swan' or both then Mary dropped the milk.,There is almost no chance that either 'John put down the apple' 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.5::factA. 0.25::factB. 0.7::factC. %hop1 0.5::factX:-or(factB,factC). 0.75::factY:-or(factB,factC). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.5,0.4512902580516103,train,about even,almost no chance,Chances are about even that either 'John put down the apple' or 'Jessica is a cat' but not both.,There is almost no chance that either 'John put down the apple' or 'Jessica is a cat' but not both.,0,Either 'John put down the apple' or 'Jessica is a cat' but not both. It is probably the case that Julius is yellow. There is a better than even chance that Bernhard is a frog. It is almost certain that Brian is a rhino. It is impossible that if 'Brian is a rhino' or 'Julius is yellow' or both then Jeff moved to the garden. It is probable that if 'Brian is a rhino and Bernhard is a frog' then Mary left the football. It is highly likely that if 'Brian is a rhino' or 'Bernhard is a frog' or both then John put down the milk.,There is a better than even chance that 'Jeff moved to the garden' 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.7::factA. 0.6::factB. 0.95::factC. %hop1 0.0::factX:-or(factC,factA). 0.7::factY:-and(factC,factB). 0.9::factZ:-or(factC,factB). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.6,0.7449489897979596,train,better than even,highly unlikely,There is a better than even chance that 'Jeff moved to the garden' or 'Bernhard is a frog' or both.,It is highly unlikely that 'Jeff moved to the garden' or 'Bernhard is a frog' or both.,1,'Jeff moved to the garden' or 'Bernhard is a frog' or both. There is almost no chance that Daniel left the apple. It is impossible that Brian is white. It is probable that Jessica is a wolf. It is probable that if 'Brian is white and Jessica is a wolf' then Mary went to the bedroom. It is almost certain that if 'Brian is white and Jessica is a wolf' then Julius is a frog. It is impossible that if either 'Jessica is a wolf' or 'Brian is white' but not both then Lily is a swan.,There is a very good chance that either 'Lily is a swan' 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.02::factA. 0.0::factB. 0.7::factC. %hop1 0.7::factX:-and(factB,factC). 0.95::factY:-and(factB,factC). 0.0::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.0,0.7787557511502301,train,impossible,very good chance,It is impossible that either 'Lily is a swan' or 'Julius is a frog' but not both.,There is a very good chance that either 'Lily is a swan' or 'Julius is a frog' but not both.,0,Either 'Lily is a swan' or 'Julius is a frog' but not both. It is probably not the case that Jeff discarded the milk. It is probably the case that Julius is gray. There is little chance that Bernhard is a swan. We doubt that if either 'Jeff discarded the milk' or 'Bernhard is a swan' but not both then John moved to the garden. It is highly unlikely that if either 'Bernhard is a swan' or 'Jeff discarded the milk' but not both then Brian is white. It is probable that if 'Julius is gray and Jeff discarded the milk' then Sandra got the milk.,There is a better than even chance that either 'Julius is gray' or 'Sandra 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.25::factA. 0.7::factB. 0.1::factC. %hop1 0.2::factX:-xor(factA,factC). 0.05::factY:-xor(factC,factA). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.5775,0.2998599719943989,train,better than even,impossible,There is a better than even chance that either 'Julius is gray' or 'Sandra got the milk' but not both.,It is impossible that either 'Julius is gray' or 'Sandra got the milk' but not both.,1,Either 'Julius is gray' or 'Sandra got the milk' but not both. We doubt that John is in the garden. Chances are about even that Julius is a lion. We believe that Mary picked up the milk. It is impossible that if 'Mary picked up the milk and John is in the garden' then Jessica is a mouse. There is a better than even chance that if either 'John is in the garden' or 'Julius is a lion' but not both then Bernhard is a frog. It is highly unlikely that if 'John is in the garden and Julius is a lion' then Greg is a rhino.,We believe that 'Jessica is a mouse 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.5::factB. 0.75::factC. %hop1 0.0::factX:-and(factC,factA). 0.6::factY:-xor(factA,factB). 0.05::factZ:-and(factA,factB). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.0,0.15303060612122424,train,impossible,we believe,It is impossible that 'Jessica is a mouse and Greg is a rhino'.,We believe that 'Jessica is a mouse and Greg is a rhino'.,0,'Jessica is a mouse and Greg is a rhino'. It is probably not the case that Mary grabbed the milk. It is probable that Sandra dropped the milk. There is a better than even chance that John got the apple. There is almost no chance that if 'Sandra dropped the milk and John got the apple' then Bernhard is a frog. We doubt that if 'Mary grabbed the milk and John got the apple' then Lily is yellow. There is a better than even chance that if 'Sandra dropped the milk' or 'Mary grabbed the milk' or both then Julius is a swan.,There is little chance that 'Bernhard is a frog' or 'John 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.25::factA. 0.7::factB. 0.6::factC. %hop1 0.02::factX:-and(factB,factC). 0.2::factY:-and(factA,factC). 0.6::factZ:-or(factB,factA). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.6,0.4044808961792358,train,better than even,little chance,There is a better than even chance that 'Bernhard is a frog' or 'John got the apple' or both.,There is little chance that 'Bernhard is a frog' or 'John got the apple' or both.,0,'Bernhard is a frog' or 'John got the apple' or both. It is highly likely that Brian is a rhino. There is a better than even chance that Jeff left the football. There is little chance that John dropped the milk. Chances are slight that if 'Brian is a rhino and John dropped the milk' then Julius is white. It is likely that if 'John dropped the milk' or 'Jeff left the football' or both then Bernhard is gray. We doubt that if 'Brian is a rhino and Jeff left the football' then Sandra got the football.,There is almost no chance that either 'Bernhard is gray' 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.6::factB. 0.1::factC. %hop1 0.1::factX:-and(factA,factC). 0.7::factY:-or(factC,factB). 0.2::factZ:-and(factA,factB). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.4048,0.12262452490498099,train,about even,almost no chance,Chances are about even that either 'Bernhard is gray' or 'Sandra got the football' but not both.,There is almost no chance that either 'Bernhard is gray' or 'Sandra got the football' but not both.,0,Either 'Bernhard is gray' or 'Sandra got the football' but not both. It is almost certain that Gertrude is a mouse. It is probably the case that Julius is a rhino. It is likely that John got the apple. It is impossible that if either 'Julius is a rhino' or 'John got the apple' but not both then Lily is a swan. It is certain that if either 'Julius is a rhino' or 'John got the apple' but not both then Bernhard is a lion. Chances are about even that if 'Gertrude is a mouse and Julius is a rhino' then Mary went to the garden.,We doubt that 'Julius is a rhino' 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.95::factA. 0.7::factB. 0.7::factC. %hop1 0.0::factX:-xor(factB,factC). 1.0::factY:-xor(factB,factC). 0.5::factZ:-and(factA,factB). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.7,0.39807961592318464,train,probably,we doubt,It is probably the case that 'Julius is a rhino' or 'Mary went to the garden' or both.,We doubt that 'Julius is a rhino' or 'Mary went to the garden' or both.,0,'Julius is a rhino' or 'Mary went to the garden' or both. There is almost no chance that John picked up the apple. It is almost certain that Bernhard is a rhino. It is highly unlikely that Lily is white. It is probably the case that if 'Lily is white and John picked up the apple' then Greg is a frog. It is certain that if 'John picked up the apple' or 'Bernhard is a rhino' or both then Julius is a swan. It is probable that if 'Bernhard is a rhino and John picked up the apple' then Yann is bored.,It is almost certain that 'Julius is a swan 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.02::factA. 0.95::factB. 0.05::factC. %hop1 0.7::factX:-and(factC,factA). 1.0::factY:-or(factA,factB). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.95,0.6879375875175036,train,almost certain,about even,It is almost certain that 'Julius is a swan and Bernhard is a rhino'.,Chances are about even that 'Julius is a swan and Bernhard is a rhino'.,1,'Julius is a swan and Bernhard is a rhino'. We believe that Bernhard is a frog. There is little chance that Julius is a lion. It is highly unlikely that Daniel grabbed the apple. It is probable that if either 'Daniel grabbed the apple' or 'Bernhard is a frog' but not both then Sumit is hungry. It is likely that if either 'Daniel grabbed the apple' or 'Julius is a lion' but not both then Mary moved to the garden. It is highly likely that if 'Daniel grabbed the apple and Julius is a lion' then Winona is a wolf.,There is almost no chance that either 'Julius is a lion' or 'Sumit is hungry' 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.05::factC. %hop1 0.7::factX:-xor(factC,factA). 0.7::factY:-xor(factC,factB). 0.9::factZ:-and(factC,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.506,0.5589117823564713,train,about even,almost no chance,Chances are about even that either 'Julius is a lion' or 'Sumit is hungry' but not both.,There is almost no chance that either 'Julius is a lion' or 'Sumit is hungry' but not both.,0,Either 'Julius is a lion' or 'Sumit is hungry' but not both. It is probably not the case that Bernhard is a frog. There is little chance that Greg is white. There is little chance that John went to the bedroom. We doubt that if 'Greg is white' or 'John went to the bedroom' or both then Sandra got the milk. It is impossible that if 'John went to the bedroom and Bernhard is a frog' then Lily is yellow. We believe that if 'John went to the bedroom' or 'Bernhard is a frog' or both then Brian is a lion.,We believe that 'Lily is yellow' 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.1::factB. 0.1::factC. %hop1 0.2::factX:-or(factB,factC). 0.0::factY:-and(factC,factA). 0.75::factZ:-or(factC,factA). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.10000000000000002,0.6367273454690938,train,improbable,we believe,It is improbable that 'Lily is yellow' or 'John went to the bedroom' or both.,We believe that 'Lily is yellow' or 'John went to the bedroom' or both.,0,'Lily is yellow' or 'John went to the bedroom' or both. It is unlikely that Sandra left the milk. There is almost no chance that Emily is a mouse. It is impossible that Greg is white. It is likely that if 'Emily is a mouse and Greg is white' then Mary put down the apple. It is almost certain that if 'Emily is a mouse' or 'Sandra left the milk' or both then John dropped the apple. We doubt that if 'Emily is a mouse and Sandra left the milk' then Brian is a lion.,We doubt that 'Sandra left the milk' or 'Greg 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.02::factB. 0.0::factC. %hop1 0.7::factX:-and(factB,factC). 0.95::factY:-or(factB,factA). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.2,0.7845569113822765,train,we doubt,almost certain,We doubt that 'Sandra left the milk' or 'Greg is white' or both.,It is almost certain that 'Sandra left the milk' or 'Greg is white' or both.,1,'Sandra left the milk' or 'Greg is white' or both. It is unlikely that Jessica is a mouse. It is impossible that Sumit is tired. It is improbable that Emily is a wolf. It is probable that if 'Sumit is tired' or 'Jessica is a mouse' or both then Julius is yellow. It is probably not the case that if either 'Sumit is tired' or 'Jessica is a mouse' but not both then Lily is a lion. It is probably not the case that if either 'Sumit is tired' or 'Emily is a wolf' but not both then John went to the hallway.,It is probable that either 'Julius is yellow' 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.2::factA. 0.0::factB. 0.1::factC. %hop1 0.7::factX:-or(factB,factA). 0.25::factY:-xor(factB,factA). 0.25::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.14,0.7909581916383277,train,little chance,probable,There is little chance that either 'Julius is yellow' or 'Sumit is tired' but not both.,It is probable that either 'Julius is yellow' or 'Sumit is tired' but not both.,0,Either 'Julius is yellow' or 'Sumit is tired' but not both. It is probably the case that Sumit is hungry. There is a better than even chance that Julius is a lion. It is unlikely that Bernhard is a swan. It is highly unlikely that if either 'Bernhard is a swan' or 'Julius is a lion' but not both then John left the apple. There is a better than even chance that if 'Sumit is hungry' or 'Bernhard is a swan' or both then Sandra took the football. There is a better than even chance that if either 'Bernhard is a swan' or 'Julius is a lion' but not both then Brian is a rhino.,There is almost no chance that 'John left the apple and Sumit 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.6::factB. 0.2::factC. %hop1 0.05::factX:-xor(factC,factB). 0.6::factY:-or(factA,factC). 0.6::factZ:-xor(factC,factB). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.0196,0.6789357871574315,train,almost no chance,almost certain,There is almost no chance that 'John left the apple and Sumit is hungry'.,It is almost certain that 'John left the apple and Sumit is hungry'.,1,'John left the apple and Sumit is hungry'. We doubt that Brian is a rhino. There is a very good chance that Sandra left the football. It is improbable that Julius is a frog. Chances are slight that if 'Sandra left the football' or 'Brian is a rhino' or both then Bill got the milk there. It is probably not the case that if 'Julius is a frog' or 'Sandra left the football' or both then Greg is a swan. It is highly unlikely that if 'Julius is a frog and Brian is a rhino' then Jeff went to the bedroom.,It is probably not the case that either 'Greg is a swan' 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.2::factA. 0.8::factB. 0.1::factC. %hop1 0.1::factX:-or(factB,factA). 0.25::factY:-or(factC,factB). 0.05::factZ:-and(factC,factA). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.255,0.08761752350470094,train,probably not,almost certain,It is probably not the case that either 'Greg is a swan' or 'Julius is a frog' but not both.,It is almost certain that either 'Greg is a swan' or 'Julius is a frog' but not both.,1,Either 'Greg is a swan' or 'Julius is a frog' but not both. It is probably not the case that Lily is yellow. It is unlikely that Emily is a sheep. It is likely that Mary went to the hallway. It is probably the case that if 'Emily is a sheep' or 'Mary went to the hallway' or both then Julius is a rhino. It is probable that if 'Mary went to the hallway' or 'Emily is a sheep' or both then Brian is a lion. It is likely that if either 'Mary went to the hallway' or 'Lily is yellow' but not both then John got the milk.,It is highly unlikely that 'Mary went to the hallway' or 'Emily 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.25::factA. 0.2::factB. 0.7::factC. %hop1 0.7::factX:-or(factB,factC). 0.7::factY:-or(factC,factB). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.7599999999999999,0.09181836367273455,train,we believe,highly unlikely,We believe that 'Mary went to the hallway' or 'Emily is a sheep' or both.,It is highly unlikely that 'Mary went to the hallway' or 'Emily is a sheep' or both.,0,'Mary went to the hallway' or 'Emily is a sheep' or both. It is probably not the case that Lily is a lion. It is almost certain that Emily is a mouse. It is likely that Brian is a swan. It is unlikely that if 'Brian is a swan and Lily is a lion' then Fred went to the garden. There is a better than even chance that if either 'Emily is a mouse' or 'Brian is a swan' but not both then Mary took the football. It is improbable that if 'Lily is a lion' or 'Brian is a swan' or both then Greg is a rhino.,It is impossible that 'Mary took the football 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.25::factA. 0.95::factB. 0.7::factC. %hop1 0.2::factX:-and(factC,factA). 0.6::factY:-xor(factB,factC). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.006375000000000008,0.002000400080016003,train,impossible,very good chance,It is impossible that 'Mary took the football and Greg is a rhino'.,There is a very good chance that 'Mary took the football and Greg is a rhino'.,1,'Mary took the football and Greg is a rhino'. There is a very good chance that Brian is a swan. It is certain that Yann is thirsty. It is likely that Bernhard is a frog. We doubt that if 'Brian is a swan and Yann is thirsty' then Emily is a wolf. There is almost no chance that if 'Bernhard is a frog' or 'Yann is thirsty' or both then Mary took the football. There is little chance that if 'Bernhard is a frog and Yann is thirsty' then Lily is gray.,We doubt that 'Emily is a wolf' or 'Yann 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.8::factA. 1.0::factB. 0.7::factC. %hop1 0.2::factX:-and(factA,factB). 0.02::factY:-or(factC,factB). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-or(factX,factB). query(conclusion). ",1.0,0.4294858971794359,train,certain,we doubt,It is certain that 'Emily is a wolf' or 'Yann is thirsty' or both.,We doubt that 'Emily is a wolf' or 'Yann is thirsty' or both.,0,'Emily is a wolf' or 'Yann is thirsty' or both. It is certain that Jeff left the apple. Chances are slight that Mary got the football. It is likely that Lily is a swan. It is probably the case that if 'Jeff left the apple' or 'Mary got the football' or both then Winona is a mouse. It is likely that if 'Lily is a swan and Mary got the football' then John dropped the milk. It is impossible that if 'Mary got the football and Jeff left the apple' then Julius is yellow.,It is likely that either 'Winona is a mouse' 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 1.0::factA. 0.1::factB. 0.7::factC. %hop1 0.7::factX:-or(factA,factB). 0.7::factY:-and(factC,factB). 0.0::factZ:-and(factB,factA). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.7,0.5229045809161832,train,likely,impossible,It is likely that either 'Winona is a mouse' or 'Julius is yellow' but not both.,It is impossible that either 'Winona is a mouse' or 'Julius is yellow' but not both.,1,Either 'Winona is a mouse' or 'Julius is yellow' but not both. There is little chance that Brian is a swan. Chances are slight that Jeff moved to the garden. There is a very good chance that Mary dropped the milk. Chances are slight that if 'Brian is a swan and Jeff moved to the garden' then Emily is a sheep. It is probable that if either 'Mary dropped the milk' or 'Jeff moved to the garden' but not both then John went to the hallway. It is highly unlikely that if 'Mary dropped the milk' or 'Jeff moved to the garden' or both then Yann is hungry.,It is highly likely that 'Emily is a sheep' 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.1::factA. 0.1::factB. 0.8::factC. %hop1 0.1::factX:-and(factA,factB). 0.7::factY:-xor(factC,factB). 0.05::factZ:-or(factC,factB). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.10000000000000002,0.6055211042208442,train,chances are slight,highly likely,Chances are slight that 'Emily is a sheep' or 'Brian is a swan' or both.,It is highly likely that 'Emily is a sheep' or 'Brian is a swan' or both.,0,'Emily is a sheep' or 'Brian is a swan' or both. There is little chance that Greg is a lion. It is probably not the case that Emily is a wolf. We believe that Fred put down the apple. It is certain that if either 'Greg is a lion' or 'Fred put down the apple' but not both then Bernhard is green. It is improbable that if either 'Greg is a lion' or 'Fred put down the apple' but not both then Jason is bored. It is unlikely that if either 'Greg is a lion' or 'Emily is a wolf' but not both then Brian is a rhino.,There is little chance that 'Brian is a rhino' 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.25::factB. 0.75::factC. %hop1 1.0::factX:-xor(factA,factC). 0.1::factY:-xor(factA,factC). 0.2::factZ:-xor(factA,factB). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.12625000000000006,0.5619123824764953,train,little chance,very good chance,There is little chance that 'Brian is a rhino' or 'Jason is bored' or both.,There is a very good chance that 'Brian is a rhino' or 'Jason is bored' or both.,1,'Brian is a rhino' or 'Jason is bored' or both. Chances are slight that Lily is white. Chances are slight that Sandra left the football. Chances are about even that Julius is a swan. It is probably the case that if 'Sandra left the football' or 'Lily is white' or both then Bernhard is a rhino. We doubt that if 'Lily is white and Julius is a swan' then Greg is green. There is a very good chance that if 'Lily is white' or 'Sandra left the football' or both then John put down the apple.,There is a very good chance that either 'Sandra left the football' or 'Lily 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.1::factB. 0.5::factC. %hop1 0.7::factX:-or(factB,factA). 0.2::factY:-and(factA,factC). 0.8::factZ:-or(factA,factB). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.18000000000000005,0.5731146229245849,train,we doubt,very good chance,We doubt that either 'Sandra left the football' or 'Lily is white' but not both.,There is a very good chance that either 'Sandra left the football' or 'Lily is white' but not both.,0,Either 'Sandra left the football' or 'Lily is white' but not both. We believe that Mary dropped the apple. There is little chance that Winona is a sheep. We believe that Julius is a frog. It is probably not the case that if either 'Julius is a frog' or 'Mary dropped the apple' but not both then Lily is a lion. It is probable that if 'Mary dropped the apple' or 'Julius is a frog' or both then John discarded the milk. It is likely that if 'Julius is a frog and Winona is a sheep' then Greg is a swan.,There is little chance that 'John discarded the milk' 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.75::factA. 0.1::factB. 0.75::factC. %hop1 0.25::factX:-xor(factC,factA). 0.7::factY:-or(factA,factC). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.8812500000000001,0.7069413882776555,train,highly likely,little chance,It is highly likely that 'John discarded the milk' or 'Mary dropped the apple' or both.,There is little chance that 'John discarded the milk' or 'Mary dropped the apple' or both.,0,'John discarded the milk' or 'Mary dropped the apple' or both. It is certain that Julius is a frog. There is little chance that John left the milk. It is probably not the case that Greg is a swan. Chances are about even that if 'Greg is a swan' or 'John left the milk' or both then Lily is gray. There is a very good chance that if 'Julius is a frog and John left the milk' then Mary went to the office. It is likely that if 'Greg is a swan and John left the milk' then Jessica is a sheep.,It is unlikely that 'Lily is gray' 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 1.0::factA. 0.1::factB. 0.25::factC. %hop1 0.5::factX:-or(factC,factB). 0.8::factY:-and(factA,factB). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-or(factX,factA). query(conclusion). ",1.0,0.0690138027605521,train,certain,unlikely,It is certain that 'Lily is gray' or 'Julius is a frog' or both.,It is unlikely that 'Lily is gray' or 'Julius is a frog' or both.,0,'Lily is gray' or 'Julius is a frog' or both. We doubt that Brian is yellow. It is improbable that Julius is gray. It is unlikely that Jeff went to the bedroom. It is probable that if either 'Brian is yellow' or 'Julius is gray' but not both then Yann is hungry. It is unlikely that if either 'Jeff went to the bedroom' or 'Brian is yellow' but not both then John got the milk. There is almost no chance that if either 'Brian is yellow' or 'Julius is gray' but not both then Bernhard is a swan.,It is unlikely that either 'Yann is hungry' or 'John 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.2::factA. 0.1::factB. 0.2::factC. %hop1 0.7::factX:-xor(factA,factB). 0.2::factY:-xor(factC,factA). 0.02::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.2012,0.5545109021804361,train,unlikely,certain,It is unlikely that either 'Yann is hungry' or 'John got the milk' but not both.,It is certain that either 'Yann is hungry' or 'John got the milk' but not both.,1,Either 'Yann is hungry' or 'John got the milk' but not both. It is unlikely that Greg is yellow. Chances are slight that Brian is a frog. We believe that John moved to the garden. It is unlikely that if 'John moved to the garden' or 'Greg is yellow' or both then Sandra dropped the milk. We believe that if 'John moved to the garden' or 'Brian is a frog' or both then Mary left the football. We doubt that if 'Greg is yellow' or 'Brian is a frog' or both then Lily is gray.,There is little chance that 'Sandra dropped the milk' 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.2::factA. 0.1::factB. 0.75::factC. %hop1 0.2::factX:-or(factC,factA). 0.75::factY:-or(factC,factB). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.628,0.15883176635327065,train,better than even,little chance,There is a better than even chance that 'Sandra dropped the milk' or 'Mary left the football' or both.,There is little chance that 'Sandra dropped the milk' or 'Mary left the football' or both.,0,'Sandra dropped the milk' or 'Mary left the football' or both. It is impossible that Jeff went to the garden. It is probably the case that Fred left the football. Chances are about even that Julius is white. We believe that if 'Jeff went to the garden and Fred left the football' then Mary dropped the milk. It is probable that if 'Jeff went to the garden' or 'Julius is white' or both then Bernhard is a rhino. There is almost no chance that if either 'Fred left the football' or 'Julius is white' but not both then Brian is a frog.,Chances are about even that 'Julius is white' or 'Brian 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.7::factB. 0.5::factC. %hop1 0.75::factX:-and(factA,factB). 0.7::factY:-or(factA,factC). 0.02::factZ:-xor(factB,factC). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.507,0.49329865973194637,train,about even,highly unlikely,Chances are about even that 'Julius is white' or 'Brian is a frog' or both.,It is highly unlikely that 'Julius is white' or 'Brian is a frog' or both.,1,'Julius is white' or 'Brian is a frog' or both. It is probably the case that Lily is yellow. It is highly likely that John went to the garden. It is probable that Brian is white. There is a better than even chance that if 'Lily is yellow and John went to the garden' then Bernhard is green. It is probably the case that if 'Brian is white' or 'Lily is yellow' or both then Jeff dropped the apple. There is a very good chance that if 'Lily is yellow and Brian is white' then Greg is a rhino.,It is probably not the case that either 'Lily is yellow' 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.7::factA. 0.9::factB. 0.7::factC. %hop1 0.6::factX:-and(factA,factB). 0.7::factY:-or(factC,factA). 0.8::factZ:-and(factA,factC). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.30799999999999994,0.18383676735347068,train,probably not,almost certain,It is probably not the case that either 'Lily is yellow' or 'Greg is a rhino' but not both.,It is almost certain that either 'Lily is yellow' or 'Greg is a rhino' but not both.,1,Either 'Lily is yellow' or 'Greg is a rhino' but not both. It is impossible that Jessica is a cat. There is little chance that Lily is a frog. There is a very good chance that Greg is white. It is highly likely that if 'Lily is a frog and Greg is white' then Emily is a mouse. It is probable that if 'Greg is white and Jessica is a cat' then Brian is green. Chances are about even that if 'Lily is a frog and Jessica is a cat' then John went to the garden.,There is a very good chance that 'Jessica is a cat' or 'Greg 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.0::factA. 0.1::factB. 0.8::factC. %hop1 0.9::factX:-and(factB,factC). 0.7::factY:-and(factC,factA). 0.5::factZ:-and(factB,factA). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.8,0.27865573114622927,train,very good chance,impossible,There is a very good chance that 'Jessica is a cat' or 'Greg is white' or both.,It is impossible that 'Jessica is a cat' or 'Greg is white' or both.,1,'Jessica is a cat' or 'Greg is white' or both. It is impossible that Bernhard is a swan. We believe that Julius is yellow. It is highly likely that Greg is a frog. It is almost certain that if either 'Julius is yellow' or 'Bernhard is a swan' but not both then John dropped the milk. There is little chance that if 'Bernhard is a swan' or 'Greg is a frog' or both then Mary moved to the office. Chances are about even that if 'Bernhard is a swan' or 'Julius is yellow' or both then Winona is a cat.,There is a very good chance that 'Mary moved to the office 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.0::factA. 0.75::factB. 0.9::factC. %hop1 0.95::factX:-xor(factB,factA). 0.1::factY:-or(factA,factC). 0.5::factZ:-or(factA,factB). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.09000000000000001,0.134626925385077,train,improbable,very good chance,It is improbable that 'Mary moved to the office and Greg is a frog'.,There is a very good chance that 'Mary moved to the office and Greg is a frog'.,0,'Mary moved to the office and Greg is a frog'. We believe that Julius is a lion. There is a very good chance that Fred left the apple. It is impossible that Brian is a rhino. It is highly likely that if either 'Brian is a rhino' or 'Julius is a lion' but not both then Mary went to the bedroom. It is probably not the case that if 'Julius is a lion' or 'Brian is a rhino' or both then Greg is a frog. It is probable that if 'Fred left the apple and Julius is a lion' then John dropped the milk.,We doubt that 'Greg is a frog' 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.75::factA. 0.8::factB. 0.0::factC. %hop1 0.9::factX:-xor(factC,factA). 0.25::factY:-or(factA,factC). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.7500000000000001,0.26965393078615724,train,we believe,we doubt,We believe that 'Greg is a frog' or 'Julius is a lion' or both.,We doubt that 'Greg is a frog' or 'Julius is a lion' or both.,0,'Greg is a frog' or 'Julius is a lion' or both. It is probable that John picked up the milk. Chances are about even that Brian is a frog. We believe that Jeff went to the bedroom. It is probably the case that if 'Jeff went to the bedroom' or 'Brian is a frog' or both then Sandra left the milk. We doubt that if 'Jeff went to the bedroom and Brian is a frog' then Bernhard is a lion. There is little chance that if 'John picked up the milk and Jeff went to the bedroom' then Lily is a swan.,It is probably the case that 'Lily is a swan 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.5::factB. 0.75::factC. %hop1 0.7::factX:-or(factC,factB). 0.2::factY:-and(factC,factB). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.03675000000000001,0.16343268653730747,train,highly unlikely,probably,It is highly unlikely that 'Lily is a swan and Sandra left the milk'.,It is probably the case that 'Lily is a swan and Sandra left the milk'.,0,'Lily is a swan and Sandra left the milk'. We doubt that John discarded the milk. It is probably the case that Brian is gray. It is unlikely that Emily is a sheep. It is certain that if either 'Emily is a sheep' or 'John discarded the milk' but not both then Mary moved to the garden. It is highly unlikely that if 'John discarded the milk' or 'Brian is gray' or both then Bernhard is a frog. It is almost certain that if either 'John discarded the milk' or 'Brian is gray' but not both then Lily is white.,It is probably not the case that 'Emily is a sheep' 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.2::factA. 0.7::factB. 0.2::factC. %hop1 1.0::factX:-xor(factC,factA). 0.05::factY:-or(factA,factB). 0.95::factZ:-xor(factA,factB). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.6711999999999999,0.6899379875975195,train,probable,probably not,It is probable that 'Emily is a sheep' or 'Lily is white' or both.,It is probably not the case that 'Emily is a sheep' or 'Lily is white' or both.,0,'Emily is a sheep' or 'Lily is white' or both. It is impossible that Lily is green. Chances are slight that Sandra left the football. Chances are slight that Julius is white. It is certain that if either 'Julius is white' or 'Sandra left the football' but not both then Greg is a frog. It is probably not the case that if either 'Lily is green' or 'Sandra left the football' but not both then Mary went to the bedroom. It is unlikely that if 'Sandra left the football' or 'Julius is white' or both then Bernhard is white.,It is highly likely that either 'Bernhard is white' 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.0::factA. 0.1::factB. 0.1::factC. %hop1 1.0::factX:-xor(factC,factB). 0.25::factY:-xor(factA,factB). 0.2::factZ:-or(factB,factC). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.09800000000000006,0.6091218243648729,train,little chance,highly likely,There is little chance that either 'Bernhard is white' or 'Julius is white' but not both.,It is highly likely that either 'Bernhard is white' or 'Julius is white' but not both.,0,Either 'Bernhard is white' or 'Julius is white' but not both. Chances are slight that Jeff discarded the milk. It is highly unlikely that Lily is green. There is a better than even chance that Mary moved to the office. It is certain that if 'Lily is green and Mary moved to the office' then Bernhard is white. It is likely that if either 'Jeff discarded the milk' or 'Mary moved to the office' but not both then Julius is gray. It is improbable that if either 'Lily is green' or 'Jeff discarded the milk' but not both then Greg is a frog.,Chances are about even that either 'Julius is gray' 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.1::factA. 0.05::factB. 0.6::factC. %hop1 1.0::factX:-and(factB,factC). 0.7::factY:-xor(factA,factC). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.39819999999999994,0.08281656331266253,train,about even,impossible,Chances are about even that either 'Julius is gray' or 'Bernhard is white' but not both.,It is impossible that either 'Julius is gray' or 'Bernhard is white' but not both.,1,Either 'Julius is gray' or 'Bernhard is white' but not both. We believe that John discarded the apple. It is probable that Gertrude is a sheep. Chances are about even that Mary went to the garden. It is certain that if 'Gertrude is a sheep' or 'Mary went to the garden' or both then Emily is a cat. Chances are about even that if 'Gertrude is a sheep and John discarded the apple' then Daniel grabbed the milk. We believe that if 'Mary went to the garden and John discarded the apple' then Greg is yellow.,It is likely that either 'Greg is yellow' 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.7::factB. 0.5::factC. %hop1 1.0::factX:-or(factB,factC). 0.5::factY:-and(factB,factA). 0.75::factZ:-and(factC,factA). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.21875000000000003,0.08201640328065612,train,unlikely,likely,It is unlikely that either 'Greg is yellow' or 'Mary went to the garden' but not both.,It is likely that either 'Greg is yellow' or 'Mary went to the garden' but not both.,0,Either 'Greg is yellow' or 'Mary went to the garden' but not both. It is certain that John got the milk. It is probably the case that Brian is green. It is probable that Lily is a swan. Chances are slight that if 'John got the milk and Lily is a swan' then Fred went to the garden. It is improbable that if 'John got the milk and Lily is a swan' then Greg is yellow. It is likely that if either 'Brian is green' or 'John got the milk' but not both then Mary left the football.,It is certain that 'Fred went to the garden' or 'John 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 1.0::factA. 0.7::factB. 0.7::factC. %hop1 0.1::factX:-and(factA,factC). 0.1::factY:-and(factA,factC). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-or(factX,factA). query(conclusion). ",1.0,0.14202840568113623,train,certain,about even,It is certain that 'Fred went to the garden' or 'John got the milk' or both.,Chances are about even that 'Fred went to the garden' or 'John got the milk' or both.,1,'Fred went to the garden' or 'John got the milk' or both. We believe that Lily is a frog. There is little chance that John discarded the apple. It is unlikely that Brian is white. We doubt that if 'Lily is a frog and John discarded the apple' then Greg is a swan. It is unlikely that if 'Lily is a frog' or 'Brian is white' or both then Mary got the milk. It is impossible that if 'John discarded the apple' or 'Lily is a frog' or both then Bill went to the garden.,We believe that either 'Bill went to the garden' 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.75::factA. 0.1::factB. 0.2::factC. %hop1 0.2::factX:-and(factA,factB). 0.2::factY:-or(factA,factC). 0.0::factZ:-or(factB,factA). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.75,0.5707141428285657,train,we believe,highly unlikely,We believe that either 'Bill went to the garden' or 'Lily is a frog' but not both.,It is highly unlikely that either 'Bill went to the garden' or 'Lily is a frog' but not both.,1,Either 'Bill went to the garden' or 'Lily is a frog' but not both. There is a better than even chance that John got the milk. It is almost certain that Fred went to the garden. Chances are slight that Bernhard is green. It is impossible that if 'John got the milk' or 'Bernhard is green' or both then Greg is gray. It is probably the case that if 'Bernhard is green and John got the milk' then Gertrude is a cat. It is highly likely that if 'Fred went to the garden and John got the milk' then Julius is a swan.,There is almost no chance that 'Greg is gray' 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.95::factB. 0.1::factC. %hop1 0.0::factX:-or(factA,factC). 0.7::factY:-and(factC,factA). 0.9::factZ:-and(factB,factA). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.5129999999999999,0.40708141628325667,train,about even,almost no chance,Chances are about even that 'Greg is gray' or 'Julius is a swan' or both.,There is almost no chance that 'Greg is gray' or 'Julius is a swan' or both.,0,'Greg is gray' or 'Julius is a swan' or both. Chances are slight that Antoine is thirsty. It is probably not the case that Greg is green. We believe that Sandra put down the milk. It is almost certain that if either 'Antoine is thirsty' or 'Sandra put down the milk' but not both then Winona is a cat. It is probably the case that if 'Antoine is thirsty and Greg is green' then Lily is a lion. It is probable that if 'Sandra put down the milk and Antoine is thirsty' then John went to the bedroom.,It is certain that 'Antoine is thirsty 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:-xor(factA,factC). 0.7::factY:-and(factA,factB). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.025000000000000012,0.07221444288857772,train,almost no chance,certain,There is almost no chance that 'Antoine is thirsty and Greg is green'.,It is certain that 'Antoine is thirsty and Greg is green'.,0,'Antoine is thirsty and Greg is green'. It is impossible that Greg is a rhino. We believe that Mary discarded the milk. It is almost certain that John went to the office. There is a better than even chance that if 'John went to the office' or 'Greg is a rhino' or both then Emily is a mouse. It is improbable that if 'Mary discarded the milk' or 'Greg is a rhino' or both then Winona is a sheep. There is a very good chance that if 'Mary discarded the milk' or 'Greg is a rhino' or both then Brian is a swan.,It is impossible that 'Greg is a rhino 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.0::factA. 0.75::factB. 0.95::factC. %hop1 0.6::factX:-or(factC,factA). 0.1::factY:-or(factB,factA). 0.8::factZ:-or(factB,factA). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.0,0.07941588317663532,train,impossible,about even,It is impossible that 'Greg is a rhino and Winona is a sheep'.,Chances are about even that 'Greg is a rhino and Winona is a sheep'.,1,'Greg is a rhino and Winona is a sheep'. Chances are slight that Winona is a wolf. It is certain that Mary went to the office. We doubt that Daniel left the milk. There is almost no chance that if 'Daniel left the milk and Winona is a wolf' then Brian is green. Chances are about even that if 'Daniel left the milk' or 'Mary went to the office' or both then Julius is gray. It is highly likely that if 'Mary went to the office and Daniel left the milk' then Lily is a swan.,It is probably not the case that either 'Lily is a swan' 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. 1.0::factB. 0.2::factC. %hop1 0.02::factX:-and(factC,factA). 0.5::factY:-or(factC,factB). 0.9::factZ:-and(factB,factC). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.24400000000000002,0.1930386077215443,train,probably not,we believe,It is probably not the case that either 'Lily is a swan' or 'Winona is a wolf' but not both.,We believe that either 'Lily is a swan' or 'Winona is a wolf' but not both.,1,Either 'Lily is a swan' or 'Winona is a wolf' but not both. It is almost certain that Brian is gray. There is a very good chance that John picked up the apple. It is almost certain that Julius is a frog. It is probably the case that if 'John picked up the apple and Brian is gray' then Jessica is a mouse. There is almost no chance that if either 'Julius is a frog' or 'Brian is gray' but not both then Greg is yellow. We doubt that if 'John picked up the apple and Julius is a frog' then Mary got the milk.,It is highly unlikely that either 'Jessica is a mouse' or 'Mary 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.95::factA. 0.8::factB. 0.95::factC. %hop1 0.7::factX:-and(factB,factA). 0.02::factY:-xor(factC,factA). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.48183999999999994,0.15823164632926584,train,about even,highly unlikely,Chances are about even that either 'Jessica is a mouse' or 'Mary got the milk' but not both.,It is highly unlikely that either 'Jessica is a mouse' or 'Mary got the milk' but not both.,0,Either 'Jessica is a mouse' or 'Mary got the milk' but not both. We doubt that Greg is a lion. Chances are about even that Bernhard is yellow. It is highly unlikely that Mary grabbed the apple. It is highly unlikely that if 'Greg is a lion and Mary grabbed the apple' then John got the milk. It is almost certain that if 'Mary grabbed the apple' or 'Greg is a lion' or both then Brian is a swan. We doubt that if either 'Greg is a lion' or 'Bernhard is yellow' but not both then Jessica is a mouse.,It is probable that 'Mary grabbed the apple' 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.2::factA. 0.5::factB. 0.05::factC. %hop1 0.05::factX:-and(factA,factC). 0.95::factY:-or(factC,factA). 0.2::factZ:-xor(factA,factB). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.24000000000000005,0.23484696939387878,train,probably not,probable,It is probably not the case that 'Mary grabbed the apple' or 'Greg is a lion' or both.,It is probable that 'Mary grabbed the apple' or 'Greg is a lion' or both.,0,'Mary grabbed the apple' or 'Greg is a lion' or both. Chances are about even that Brian is a frog. Chances are about even that John picked up the milk. We doubt that Julius is white. It is likely that if 'Brian is a frog' or 'John picked up the milk' or both then Lily is a lion. There is little chance that if 'Brian is a frog and Julius is white' then Jeff went to the garden. Chances are slight that if 'John picked up the milk' or 'Julius is white' or both then Sandra dropped the apple.,It is probable that either 'Jeff went to the garden' 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.5::factA. 0.5::factB. 0.2::factC. %hop1 0.7::factX:-or(factA,factB). 0.1::factY:-and(factA,factC). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.19000000000000006,0.21984396879375875,train,unlikely,probable,It is unlikely that either 'Jeff went to the garden' or 'Julius is white' but not both.,It is probable that either 'Jeff went to the garden' or 'Julius is white' but not both.,0,Either 'Jeff went to the garden' or 'Julius is white' but not both. It is unlikely that Lily is yellow. We believe that Greg is a frog. We doubt that Bernhard is green. It is highly unlikely that if 'Greg is a frog' or 'Bernhard is green' or both then Mary picked up the milk. It is probably the case that if either 'Greg is a frog' or 'Lily is yellow' but not both then Julius is gray. Chances are slight that if 'Greg is a frog' or 'Bernhard is green' or both then John went to the kitchen.,It is probably the case that 'Julius is gray 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.2::factA. 0.75::factB. 0.2::factC. %hop1 0.05::factX:-or(factB,factC). 0.7::factY:-xor(factB,factA). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.035,0.34146829365873177,train,highly unlikely,probably,It is highly unlikely that 'Julius is gray and Lily is yellow'.,It is probably the case that 'Julius is gray and Lily is yellow'.,0,'Julius is gray and Lily is yellow'. It is highly unlikely that Brian is a rhino. There is almost no chance that Sandra took the milk. It is highly likely that Bernhard is green. It is probable that if 'Sandra took the milk' or 'Bernhard is green' or both then Gertrude is a sheep. Chances are slight that if 'Bernhard is green' or 'Brian is a rhino' or both then Lily is yellow. It is impossible that if either 'Sandra took the milk' or 'Bernhard is green' but not both then Jeff went to the garden.,There is almost no chance that 'Gertrude is a sheep' 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.05::factA. 0.02::factB. 0.9::factC. %hop1 0.7::factX:-or(factB,factC). 0.1::factY:-or(factC,factA). 0.0::factZ:-xor(factB,factC). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.6374,0.5341068213642729,train,better than even,almost no chance,There is a better than even chance that 'Gertrude is a sheep' or 'Sandra took the milk' or both.,There is almost no chance that 'Gertrude is a sheep' or 'Sandra took the milk' or both.,0,'Gertrude is a sheep' or 'Sandra took the milk' or both. It is almost certain that Yann is tired. It is almost certain that Lily is green. There is a better than even chance that Mary went to the garden. It is almost certain that if 'Lily is green and Mary went to the garden' then Brian is a rhino. It is unlikely that if either 'Yann is tired' or 'Lily is green' but not both then John got the milk. There is a very good chance that if 'Mary went to the garden' or 'Lily is green' or both then Greg is gray.,It is almost certain that either 'Mary went to the garden' or 'Lily 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.95::factA. 0.95::factB. 0.6::factC. %hop1 0.95::factX:-and(factB,factC). 0.2::factY:-xor(factA,factB). 0.8::factZ:-or(factC,factB). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.41000000000000003,0.6105221044208842,train,about even,almost certain,Chances are about even that either 'Mary went to the garden' or 'Lily is green' but not both.,It is almost certain that either 'Mary went to the garden' or 'Lily is green' but not both.,0,Either 'Mary went to the garden' or 'Lily is green' but not both. It is certain that Mary went to the bedroom. It is almost certain that Gertrude is a sheep. It is likely that Bernhard is white. It is probably not the case that if either 'Mary went to the bedroom' or 'Bernhard is white' but not both then Julius is a frog. It is likely that if either 'Bernhard is white' or 'Gertrude is a sheep' but not both then Sandra left the milk. It is probably the case that if 'Gertrude is a sheep' or 'Mary went to the bedroom' or both then Daniel dropped the apple.,It is certain that 'Bernhard is white' or 'Mary 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 1.0::factA. 0.95::factB. 0.7::factC. %hop1 0.25::factX:-xor(factA,factC). 0.7::factY:-xor(factC,factB). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.5443088617723545,train,certain,chances are slight,It is certain that 'Bernhard is white' or 'Mary went to the bedroom' or both.,Chances are slight that 'Bernhard is white' or 'Mary went to the bedroom' or both.,1,'Bernhard is white' or 'Mary went to the bedroom' or both. It is probably the case that Mary left the milk. It is likely that John went to the garden. It is improbable that Bernhard is yellow. It is certain that if either 'John went to the garden' or 'Mary left the milk' but not both then Sandra took the football. We believe that if 'Mary left the milk and John went to the garden' then Lily is a lion. There is little chance that if either 'Mary left the milk' or 'Bernhard is yellow' but not both then Brian is white.,There is a very good chance 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.7::factA. 0.7::factB. 0.1::factC. %hop1 1.0::factX:-xor(factB,factA). 0.75::factY:-and(factA,factB). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.7875,0.7921584316863373,train,very good chance,little chance,There is a very good chance that either 'Sandra took the football' or 'Lily is a lion' but not both.,There is little chance that either 'Sandra took the football' or 'Lily is a lion' but not both.,1,Either 'Sandra took the football' or 'Lily is a lion' but not both. It is probably not the case that Jessica is a cat. It is probably not the case that Bill went to the garden. It is unlikely that Antoine is thirsty. It is unlikely that if 'Jessica is a cat and Bill went to the garden' then Daniel got the milk. There is a better than even chance that if either 'Jessica is a cat' or 'Bill went to the garden' but not both then Bernhard is a swan. There is almost no chance that if either 'Jessica is a cat' or 'Bill went to the garden' but not both then Brian is a frog.,Chances are about even that 'Bernhard is a swan' or 'Antoine 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.25::factA. 0.25::factB. 0.2::factC. %hop1 0.2::factX:-and(factA,factB). 0.6::factY:-xor(factA,factB). 0.02::factZ:-xor(factA,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.37999999999999995,0.28285657131426284,train,about even,impossible,Chances are about even that 'Bernhard is a swan' or 'Antoine is thirsty' or both.,It is impossible that 'Bernhard is a swan' or 'Antoine is thirsty' or both.,1,'Bernhard is a swan' or 'Antoine is thirsty' or both. It is highly unlikely that Sandra got the milk. It is probably the case that Lily is green. It is highly unlikely that Brian is yellow. It is probable that if 'Brian is yellow and Sandra got the milk' then Fred put down the apple. It is probably not the case that if either 'Brian is yellow' or 'Lily is green' but not both then John left the football. It is probably not the case that if either 'Brian is yellow' or 'Lily is green' but not both then Bernhard is a rhino.,There is a very good chance that 'Sandra got the milk and John 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.05::factA. 0.7::factB. 0.05::factC. %hop1 0.7::factX:-and(factC,factA). 0.25::factY:-xor(factC,factB). 0.25::factZ:-xor(factC,factB). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.008500000000000002,0.5539107821564313,train,impossible,very good chance,It is impossible that 'Sandra got the milk and John left the football'.,There is a very good chance that 'Sandra got the milk and John left the football'.,0,'Sandra got the milk and John left the football'. It is unlikely that Lily is yellow. It is probably the case that Julius is green. It is unlikely that Fred dropped the milk. There is a better than even chance that if either 'Lily is yellow' or 'Julius is green' but not both then John put down the apple. We believe that if 'Julius is green' or 'Lily is yellow' or both then Greg is gray. It is impossible that if 'Julius is green' or 'Fred dropped the milk' or both then Brian is a lion.,Chances are about even that 'John put down the apple' 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.2::factA. 0.7::factB. 0.2::factC. %hop1 0.6::factX:-xor(factA,factB). 0.75::factY:-or(factB,factA). 0.0::factZ:-or(factB,factC). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.5359999999999999,0.46109221844368875,train,about even,impossible,Chances are about even that 'John put down the apple' or 'Lily is yellow' or both.,It is impossible that 'John put down the apple' or 'Lily is yellow' or both.,1,'John put down the apple' or 'Lily is yellow' or both. It is probably the case that John got the milk. There is a very good chance that Lily is a rhino. We believe that Greg is white. It is highly likely that if 'Lily is a rhino' or 'Greg is white' or both then Emily is a wolf. It is unlikely that if 'John got the milk and Greg is white' then Sandra took the football. It is probably not the case that if either 'John got the milk' or 'Lily is a rhino' but not both then Mary moved to the garden.,We believe that either 'Mary moved to the garden' or 'Lily 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.7::factA. 0.8::factB. 0.75::factC. %hop1 0.9::factX:-or(factB,factC). 0.2::factY:-and(factA,factC). 0.25::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.775,0.6039207841568314,train,we believe,highly unlikely,We believe that either 'Mary moved to the garden' or 'Lily is a rhino' but not both.,It is highly unlikely that either 'Mary moved to the garden' or 'Lily is a rhino' but not both.,1,Either 'Mary moved to the garden' or 'Lily is a rhino' but not both. It is impossible that John is in the garden. Chances are slight that Bernhard is a frog. There is almost no chance that Julius is white. Chances are about even that if either 'Bernhard is a frog' or 'Julius is white' but not both then Jessica is a mouse. It is almost certain that if either 'Bernhard is a frog' or 'John is in the garden' but not both then Gertrude is a cat. It is probably the case that if either 'Bernhard is a frog' or 'Julius is white' but not both then Sandra left the milk.,Chances are slight that 'Bernhard is a frog' 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.0::factA. 0.1::factB. 0.02::factC. %hop1 0.5::factX:-xor(factB,factC). 0.95::factY:-xor(factB,factA). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.10000000000000002,0.41268253650730147,train,chances are slight,better than even,Chances are slight that 'Bernhard is a frog' or 'Gertrude is a cat' or both.,There is a better than even chance that 'Bernhard is a frog' or 'Gertrude is a cat' or both.,1,'Bernhard is a frog' or 'Gertrude is a cat' or both. Chances are about even that Brian is a swan. It is highly unlikely that Julius is white. Chances are about even that Sandra left the apple. It is likely that if 'Sandra left the apple and Julius is white' then Lily is gray. Chances are slight that if 'Julius is white and Sandra left the apple' then Bernhard is a rhino. There is a very good chance that if 'Sandra left the apple and Brian is a swan' then John moved to the garden.,Chances are about even that either 'Julius is white' 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.5::factA. 0.05::factB. 0.5::factC. %hop1 0.7::factX:-and(factC,factB). 0.1::factY:-and(factB,factC). 0.8::factZ:-and(factC,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5,0.6643328665733147,train,about even,almost no chance,Chances are about even that either 'Julius is white' or 'Brian is a swan' but not both.,There is almost no chance that either 'Julius is white' or 'Brian is a swan' but not both.,1,Either 'Julius is white' or 'Brian is a swan' but not both. There is a very good chance that Greg is a frog. It is likely that Gertrude is a mouse. There is little chance that Lily is white. There is a better than even chance that if either 'Gertrude is a mouse' or 'Greg is a frog' but not both then John got the apple. Chances are slight that if either 'Greg is a frog' or 'Lily is white' but not both then Yann is hungry. It is almost certain that if 'Gertrude is a mouse and Greg is a frog' then Brian is gray.,There is almost no chance that 'Brian is gray' or 'Yann is hungry' 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.1::factC. %hop1 0.6::factX:-xor(factB,factA). 0.1::factY:-xor(factA,factC). 0.95::factZ:-and(factB,factA). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.55812,0.1906381276255251,train,better than even,almost no chance,There is a better than even chance that 'Brian is gray' or 'Yann is hungry' or both.,There is almost no chance that 'Brian is gray' or 'Yann is hungry' or both.,0,'Brian is gray' or 'Yann is hungry' or both. It is probably not the case that John took the football. It is certain that Fred went to the office. We doubt that Mary is in the bathroom. There is little chance that if 'Mary is in the bathroom and John took the football' then Bernhard is a swan. There is almost no chance that if 'John took the football and Fred went to the office' then Julius is a frog. There is a very good chance that if 'Fred went to the office and Mary is in the bathroom' then Lily is green.,It is impossible that either 'Bernhard is a swan' 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. 1.0::factB. 0.2::factC. %hop1 0.1::factX:-and(factC,factA). 0.02::factY:-and(factA,factB). 0.8::factZ:-and(factB,factC). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.009800000000000003,0.6047209441888378,train,impossible,highly likely,It is impossible that either 'Bernhard is a swan' or 'Julius is a frog' but not both.,It is highly likely that either 'Bernhard is a swan' or 'Julius is a frog' but not both.,1,Either 'Bernhard is a swan' or 'Julius is a frog' but not both. We doubt that Lily is a rhino. There is almost no chance that Mary dropped the milk. It is impossible that Fred went to the garden. It is probably not the case that if either 'Mary dropped the milk' or 'Lily is a rhino' but not both then Greg is a swan. It is almost certain that if 'Mary dropped the milk and Lily is a rhino' then John discarded the apple. There is little chance that if either 'Fred went to the garden' or 'Mary dropped the milk' but not both then Bernhard is yellow.,It is unlikely that either 'Fred went to the garden' or 'Lily 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.02::factB. 0.0::factC. %hop1 0.25::factX:-xor(factB,factA). 0.95::factY:-and(factB,factA). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.2,0.11122224444888978,train,unlikely,we believe,It is unlikely that either 'Fred went to the garden' or 'Lily is a rhino' but not both.,We believe that either 'Fred went to the garden' or 'Lily is a rhino' but not both.,1,Either 'Fred went to the garden' or 'Lily is a rhino' but not both. It is probably the case that Julius is a swan. We doubt that Fred moved to the office. There is a better than even chance that Bernhard is yellow. Chances are about even that if 'Fred moved to the office' or 'Bernhard is yellow' or both then Greg is a rhino. It is probable that if 'Julius is a swan and Fred moved to the office' then John put down the milk. Chances are slight that if 'Fred moved to the office' or 'Bernhard is yellow' or both then Brian is a swan.,It is highly unlikely that 'Bernhard is yellow 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.7::factA. 0.2::factB. 0.6::factC. %hop1 0.5::factX:-or(factB,factC). 0.7::factY:-and(factA,factB). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.0588,0.033006601320264055,train,highly unlikely,likely,It is highly unlikely that 'Bernhard is yellow and John put down the milk'.,It is likely that 'Bernhard is yellow and John put down the milk'.,1,'Bernhard is yellow and John put down the milk'. It is probable that Brian is a frog. It is impossible that Mary picked up the milk. There is a very good chance that Greg is a rhino. We doubt that if either 'Mary picked up the milk' or 'Greg is a rhino' but not both then Julius is yellow. It is probably the case that if 'Greg is a rhino' or 'Brian is a frog' or both then Jason is tired. Chances are slight that if 'Mary picked up the milk' or 'Brian is a frog' or both then Lily is a swan.,It is unlikely that 'Brian 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.7::factA. 0.0::factB. 0.8::factC. %hop1 0.2::factX:-xor(factB,factC). 0.7::factY:-or(factC,factA). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.748,0.48769753950790157,train,we believe,unlikely,We believe that 'Brian is a frog' or 'Julius is yellow' or both.,It is unlikely that 'Brian is a frog' or 'Julius is yellow' or both.,0,'Brian is a frog' or 'Julius is yellow' or both. Chances are about even that Mary went to the hallway. Chances are slight that Daniel dropped the apple. It is impossible that Bernhard is a swan. We believe that if either 'Bernhard is a swan' or 'Mary went to the hallway' but not both then Greg is a frog. We believe that if 'Mary went to the hallway' or 'Bernhard is a swan' or both then Lily is a lion. It is unlikely that if 'Bernhard is a swan and Mary went to the hallway' then John put down the milk.,It is impossible that either 'John put down 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.5::factA. 0.1::factB. 0.0::factC. %hop1 0.75::factX:-xor(factC,factA). 0.75::factY:-or(factA,factC). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.0,0.34466893378675734,train,impossible,probable,It is impossible that either 'John put down the milk' or 'Bernhard is a swan' but not both.,It is probable that either 'John put down the milk' or 'Bernhard is a swan' but not both.,1,Either 'John put down the milk' or 'Bernhard is a swan' but not both. There is little chance that Julius is a lion. There is almost no chance that Jessica is a mouse. It is impossible that Lily is a swan. It is improbable that if 'Jessica is a mouse' or 'Lily is a swan' or both then Greg is a swan. It is probable that if 'Jessica is a mouse and Lily is a swan' then John moved to the office. We believe that if either 'Lily is a swan' or 'Jessica is a mouse' but not both then Mary dropped the milk.,It is impossible that either 'Mary dropped 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 0.1::factA. 0.02::factB. 0.0::factC. %hop1 0.1::factX:-or(factB,factC). 0.7::factY:-and(factB,factC). 0.75::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.005000000000000002,0.1940388077615523,train,impossible,better than even,It is impossible that either 'Mary dropped the milk' or 'Jessica is a mouse' but not both.,There is a better than even chance that either 'Mary dropped the milk' or 'Jessica is a mouse' but not both.,1,Either 'Mary dropped the milk' or 'Jessica is a mouse' but not both. We believe that Yann is tired. It is impossible that Brian is a frog. We believe that John went to the garden. It is likely that if 'Brian is a frog' or 'Yann is tired' or both then Julius is a rhino. It is certain that if either 'Brian is a frog' or 'Yann is tired' but not both then Sandra left the milk. It is improbable that if 'John went to the garden' or 'Brian is a frog' or both then Bernhard is yellow.,We believe that 'Julius is a rhino' or 'Yann 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.75::factA. 0.0::factB. 0.75::factC. %hop1 0.7::factX:-or(factB,factA). 1.0::factY:-xor(factB,factA). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.75,0.40028005601120226,train,we believe,almost no chance,We believe that 'Julius is a rhino' or 'Yann is tired' or both.,There is almost no chance that 'Julius is a rhino' or 'Yann is tired' or both.,1,'Julius is a rhino' or 'Yann is tired' or both. It is unlikely that Sandra dropped the apple. We doubt that Fred is in the cinema. It is impossible that Bill moved to the office. We believe that if either 'Sandra dropped the apple' or 'Bill moved to the office' but not both then John got the milk. Chances are slight that if either 'Sandra dropped the apple' or 'Fred is in the cinema' but not both then Mary went to the garden. Chances are about even that if either 'Bill moved to the office' or 'Fred is in the cinema' but not both then Julius is white.,It is probably not the case that either 'Fred is in the cinema' or 'John 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.2::factA. 0.2::factB. 0.0::factC. %hop1 0.75::factX:-xor(factA,factC). 0.1::factY:-xor(factA,factB). 0.5::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.29000000000000004,0.027005401080216044,train,probably not,highly likely,It is probably not the case that either 'Fred is in the cinema' or 'John got the milk' but not both.,It is highly likely that either 'Fred is in the cinema' or 'John got the milk' but not both.,1,Either 'Fred is in the cinema' or 'John got the milk' but not both. It is probable that Emily is a mouse. Chances are slight that Mary moved to the garden. It is impossible that Lily is green. It is certain that if 'Lily is green and Mary moved to the garden' then Bernhard is a rhino. It is probably the case that if either 'Emily is a mouse' or 'Lily is green' but not both then John discarded the apple. It is highly unlikely that if 'Mary moved to the garden and Emily is a mouse' then Brian is gray.,It is likely that either 'Lily is green' 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.7::factA. 0.1::factB. 0.0::factC. %hop1 1.0::factX:-and(factC,factB). 0.7::factY:-xor(factA,factC). 0.05::factZ:-and(factB,factA). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.7,0.76375275055011,train,likely,improbable,It is likely that either 'Lily is green' or 'Emily is a mouse' but not both.,It is improbable that either 'Lily is green' or 'Emily is a mouse' but not both.,1,Either 'Lily is green' or 'Emily is a mouse' but not both. It is likely that Brian is a swan. It is probably the case that Bernhard is a frog. It is highly likely that Greg is yellow. There is almost no chance that if 'Brian is a swan' or 'Bernhard is a frog' or both then Mary went to the hallway. It is highly unlikely that if 'Greg is yellow and Brian is a swan' then Sandra grabbed the milk. It is highly unlikely that if 'Greg is yellow and Brian is a swan' then Lily is a lion.,It is certain that 'Lily is a lion' or 'Mary 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.7::factA. 0.7::factB. 0.9::factC. %hop1 0.02::factX:-or(factA,factB). 0.05::factY:-and(factC,factA). 0.05::factZ:-and(factC,factA). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.049069999999999996,0.6007201440288058,train,highly unlikely,certain,It is highly unlikely that 'Lily is a lion' or 'Mary went to the hallway' or both.,It is certain that 'Lily is a lion' or 'Mary went to the hallway' or both.,0,'Lily is a lion' or 'Mary went to the hallway' or both. There is a very good chance that Bernhard is yellow. There is a better than even chance that Daniel got the milk. It is almost certain that Mary went to the garden. Chances are about even that if 'Daniel got the milk' or 'Bernhard is yellow' or both then Julius is a lion. There is a very good chance that if 'Daniel got the milk and Mary went to the garden' then John left the apple. There is a very good chance that if either 'Daniel got the milk' or 'Bernhard is yellow' but not both then Brian is a swan.,We believe that 'Bernhard is yellow and Mary 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.8::factA. 0.6::factB. 0.95::factC. %hop1 0.5::factX:-or(factB,factA). 0.8::factY:-and(factB,factC). 0.8::factZ:-xor(factB,factA). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.76,0.6779355871174235,train,we believe,chances are slight,We believe that 'Bernhard is yellow and Mary went to the garden'.,Chances are slight that 'Bernhard is yellow and Mary went to the garden'.,1,'Bernhard is yellow and Mary went to the garden'. It is highly likely that Brian is white. It is probably not the case that Greg is a rhino. It is unlikely that Mary left the milk. We doubt that if 'Mary left the milk and Greg is a rhino' then Gertrude is a sheep. There is a better than even chance that if 'Brian is white' or 'Mary left the milk' or both then Bill went to the office. It is highly unlikely that if 'Brian is white' or 'Greg is a rhino' or both then John picked up the milk.,It is impossible that 'Gertrude is a sheep 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.25::factB. 0.2::factC. %hop1 0.2::factX:-and(factC,factB). 0.6::factY:-or(factA,factC). 0.05::factZ:-or(factA,factB). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.009,0.4878975795159032,train,impossible,highly likely,It is impossible that 'Gertrude is a sheep and Brian is white'.,It is highly likely that 'Gertrude is a sheep and Brian is white'.,1,'Gertrude is a sheep and Brian is white'. Chances are about even that Mary got the football. We believe that Jessica is a cat. It is highly likely that Brian is yellow. It is certain that if either 'Brian is yellow' or 'Jessica is a cat' but not both then John went to the kitchen. It is probably the case that if 'Jessica is a cat and Mary got the football' then Bernhard is a frog. We doubt that if 'Mary got the football and Brian is yellow' then Greg is yellow.,It is highly likely that 'Jessica is a cat' 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.5::factA. 0.75::factB. 0.9::factC. %hop1 1.0::factX:-xor(factC,factB). 0.7::factY:-and(factB,factA). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.875,0.045809161832366475,train,highly likely,unlikely,It is highly likely that 'Jessica is a cat' or 'Mary got the football' or both.,It is unlikely that 'Jessica is a cat' or 'Mary got the football' or both.,1,'Jessica is a cat' or 'Mary got the football' or both. We doubt that Julius is yellow. There is almost no chance that Emily is a cat. It is probable that Greg is a frog. It is certain that if 'Emily is a cat' or 'Greg is a frog' or both then Fred left the football. It is impossible that if 'Emily is a cat' or 'Julius is yellow' or both then John grabbed the apple. It is highly unlikely that if 'Emily is a cat and Greg is a frog' then Brian is yellow.,We doubt that either 'Greg is a frog' or 'John grabbed 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.02::factB. 0.7::factC. %hop1 1.0::factX:-or(factB,factC). 0.0::factY:-or(factB,factA). 0.05::factZ:-and(factB,factC). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.7,0.7819563912782557,train,likely,we doubt,It is likely that either 'Greg is a frog' or 'John grabbed the apple' but not both.,We doubt that either 'Greg is a frog' or 'John grabbed the apple' but not both.,0,Either 'Greg is a frog' or 'John grabbed the apple' but not both. It is highly unlikely that John went to the hallway. We doubt that Greg is a lion. We believe that Sandra dropped the milk. It is probable that if 'Sandra dropped the milk and Greg is a lion' then Lily is green. It is likely that if 'Greg is a lion and Sandra dropped the milk' then Brian is yellow. It is unlikely that if 'Sandra dropped the milk' or 'John went to the hallway' or both then Julius is green.,It is probably the case that 'Lily is green' 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.05::factA. 0.2::factB. 0.75::factC. %hop1 0.7::factX:-and(factC,factB). 0.7::factY:-and(factB,factC). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.23650000000000002,0.7401480296059212,train,probably not,probably,It is probably not the case that 'Lily is green' or 'Julius is green' or both.,It is probably the case that 'Lily is green' or 'Julius is green' or both.,0,'Lily is green' or 'Julius is green' or both. There is a very good chance that Mary went to the office. It is probable that Antoine is bored. It is highly likely that Julius is green. It is probable that if 'Julius is green' or 'Mary went to the office' or both then Lily is a swan. It is certain that if 'Mary went to the office' or 'Antoine is bored' or both then Emily is a mouse. It is highly likely that if 'Julius is green and Antoine is bored' then Sandra left the milk.,Chances are slight that 'Julius is green 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.8::factA. 0.7::factB. 0.9::factC. %hop1 0.7::factX:-or(factC,factA). 1.0::factY:-or(factA,factB). 0.9::factZ:-and(factC,factB). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.63,0.35707141428285655,train,better than even,chances are slight,There is a better than even chance that 'Julius is green and Lily is a swan'.,Chances are slight that 'Julius is green and Lily is a swan'.,0,'Julius is green and Lily is a swan'. There is a better than even chance that John got the apple. There is a very good chance that Lily is a lion. It is unlikely that Gertrude is a cat. There is a very good chance that if either 'Lily is a lion' or 'John got the apple' but not both then Jessica is a mouse. It is impossible that if 'Gertrude is a cat and Lily is a lion' then Jeff went to the bedroom. It is certain that if either 'Gertrude is a cat' or 'Lily is a lion' but not both then Bernhard is a swan.,It is highly likely that 'John got the apple 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.6::factA. 0.8::factB. 0.2::factC. %hop1 0.8::factX:-xor(factB,factA). 0.0::factY:-and(factC,factB). 1.0::factZ:-xor(factC,factB). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.09600000000000002,0.06961392278455691,train,little chance,highly likely,There is little chance that 'John got the apple and Jessica is a mouse'.,It is highly likely that 'John got the apple and Jessica is a mouse'.,0,'John got the apple and Jessica is a mouse'. It is certain that Mary is in the hallway. Chances are slight that Jeff left the football. It is highly likely that Bernhard is a frog. It is likely that if either 'Mary is in the hallway' or 'Jeff left the football' but not both then Greg is yellow. It is probable that if either 'Bernhard is a frog' or 'Jeff left the football' but not both then John went to the bedroom. Chances are slight that if 'Bernhard is a frog and Mary is in the hallway' then Brian is green.,It is highly likely that either 'Brian is green' or 'Mary is in the hallway' 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.9::factC. %hop1 0.7::factX:-xor(factA,factB). 0.7::factY:-xor(factC,factB). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.9099999999999999,0.39527905581116224,train,highly likely,chances are slight,It is highly likely that either 'Brian is green' or 'Mary is in the hallway' but not both.,Chances are slight that either 'Brian is green' or 'Mary is in the hallway' but not both.,1,Either 'Brian is green' or 'Mary is in the hallway' but not both. Chances are slight that Bill moved to the office. It is certain that John picked up the milk. It is impossible that Brian is green. There is a very good chance that if 'Brian is green and Bill moved to the office' then Sandra is in the kitchen. It is probably not the case that if 'John picked up the milk' or 'Brian is green' or both then Mary left the football. It is almost certain that if 'Brian is green' or 'Bill moved to the office' or both then Lily is a rhino.,It is certain that either 'Brian is green' or 'Sandra is in the kitchen' 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.0::factC. %hop1 0.8::factX:-and(factC,factA). 0.25::factY:-or(factB,factC). 0.95::factZ:-or(factC,factA). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.0,0.36587317463492697,train,impossible,certain,It is impossible that either 'Brian is green' or 'Sandra is in the kitchen' but not both.,It is certain that either 'Brian is green' or 'Sandra is in the kitchen' but not both.,0,Either 'Brian is green' or 'Sandra is in the kitchen' but not both. It is certain that Sandra left the apple. There is almost no chance that Greg is a rhino. It is certain that Brian is green. We doubt that if 'Brian is green and Sandra left the apple' then Lily is white. There is a better than even chance that if 'Sandra left the apple' or 'Brian is green' or both then Sumit is tired. It is highly unlikely that if 'Sandra left the apple' or 'Greg is a rhino' or both then Bernhard is a swan.,It is improbable that 'Bernhard is a swan' 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 1.0::factA. 0.02::factB. 1.0::factC. %hop1 0.2::factX:-and(factC,factA). 0.6::factY:-or(factA,factC). 0.05::factZ:-or(factA,factB). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",1.0,0.04500900180036007,train,certain,improbable,It is certain that 'Bernhard is a swan' or 'Brian is green' or both.,It is improbable that 'Bernhard is a swan' or 'Brian is green' or both.,0,'Bernhard is a swan' or 'Brian is green' or both. It is certain that Jeff left the apple. Chances are about even that Jessica is a mouse. There is a very good chance that Julius is white. It is highly likely that if 'Julius is white and Jeff left the apple' then Lily is a swan. It is probably not the case that if either 'Jessica is a mouse' or 'Jeff left the apple' but not both then Mary went to the hallway. Chances are about even that if 'Jeff left the apple and Jessica is a mouse' then Greg is a frog.,Chances are about even that either 'Lily is a swan' 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.5::factB. 0.8::factC. %hop1 0.9::factX:-and(factC,factA). 0.25::factY:-xor(factB,factA). 0.5::factZ:-and(factA,factB). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.5,0.15923184636927384,train,about even,certain,Chances are about even that either 'Lily is a swan' or 'Jessica is a mouse' but not both.,It is certain that either 'Lily is a swan' or 'Jessica is a mouse' but not both.,1,Either 'Lily is a swan' or 'Jessica is a mouse' but not both. It is certain that Greg is a frog. It is improbable that Brian is a rhino. It is probable that Daniel dropped the apple. It is highly likely that if 'Daniel dropped the apple' or 'Greg is a frog' or both then Lily is yellow. It is highly likely that if 'Brian is a rhino' or 'Daniel dropped the apple' or both then John went to the hallway. There is a very good chance that if either 'Daniel dropped the apple' or 'Greg is a frog' but not both then Mary moved to the office.,It is likely that either 'John went to the hallway' 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 1.0::factA. 0.1::factB. 0.7::factC. %hop1 0.9::factX:-or(factC,factA). 0.9::factY:-or(factB,factC). 0.8::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.3744,0.23244648929785958,train,probably not,likely,It is probably not the case that either 'John went to the hallway' or 'Lily is yellow' but not both.,It is likely that either 'John went to the hallway' or 'Lily is yellow' but not both.,0,Either 'John went to the hallway' or 'Lily is yellow' but not both. Chances are about even that Sandra dropped the milk. It is unlikely that Fred went to the garden. It is certain that John got the apple. It is improbable that if 'Sandra dropped the milk' or 'John got the apple' or both then Mary left the football. It is impossible that if 'Sandra dropped the milk and John got the apple' then Lily is green. There is little chance that if either 'Sandra dropped the milk' or 'John got the apple' but not both then Bernhard is a frog.,It is likely that 'Mary left the football 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.5::factA. 0.2::factB. 1.0::factC. %hop1 0.1::factX:-or(factA,factC). 0.0::factY:-and(factA,factC). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.10000000000000002,0.6749349869973995,train,little chance,likely,There is little chance that 'Mary left the football and John got the apple'.,It is likely that 'Mary left the football and John got the apple'.,0,'Mary left the football and John got the apple'. It is improbable that Winona is a wolf. It is highly likely that Lily is a frog. It is probable that Brian is green. It is almost certain that if 'Lily is a frog' or 'Winona is a wolf' or both then Sandra dropped the apple. It is highly unlikely that if either 'Lily is a frog' or 'Winona is a wolf' but not both then Greg is a frog. It is almost certain that if either 'Lily is a frog' or 'Brian is green' but not both then Bernhard is a rhino.,It is highly unlikely that 'Sandra dropped 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.1::factA. 0.9::factB. 0.7::factC. %hop1 0.95::factX:-or(factB,factA). 0.05::factY:-xor(factB,factA). 0.95::factZ:-xor(factB,factC). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.03895,0.34746949389877974,train,highly unlikely,probable,It is highly unlikely that 'Sandra dropped the apple and Greg is a frog'.,It is probable that 'Sandra dropped the apple and Greg is a frog'.,1,'Sandra dropped the apple and Greg is a frog'. It is likely that Greg is white. Chances are about even that Lily is gray. It is probable that Bernhard is a frog. It is impossible that if either 'Lily is gray' or 'Greg is white' but not both then Gertrude is a mouse. It is unlikely that if 'Greg is white and Bernhard is a frog' then Julius is yellow. We doubt that if 'Greg is white and Lily is gray' then John dropped the apple.,It is probably not the case 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.7::factA. 0.5::factB. 0.7::factC. %hop1 0.0::factX:-xor(factB,factA). 0.2::factY:-and(factA,factC). 0.2::factZ:-and(factA,factB). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.3499999999999999,0.6095219043808762,train,probably not,certain,It is probably not the case that 'Greg is white and Lily is gray'.,It is certain that 'Greg is white and Lily is gray'.,1,'Greg is white and Lily is gray'. It is probable that John moved to the garden. It is probable that Bernhard is a swan. We doubt that Julius is a frog. Chances are slight that if either 'John moved to the garden' or 'Julius is a frog' but not both then Mary went to the hallway. Chances are about even that if 'Julius is a frog and John moved to the garden' then Gertrude is a mouse. It is likely that if 'Julius is a frog' or 'Bernhard is a swan' or both then Brian is gray.,It is highly unlikely that 'Julius is a frog' 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.7::factB. 0.2::factC. %hop1 0.1::factX:-xor(factA,factC). 0.5::factY:-and(factC,factA). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.76,0.048009601920384073,train,we believe,highly unlikely,We believe that 'Julius is a frog' or 'John moved to the garden' or both.,It is highly unlikely that 'Julius is a frog' or 'John moved to the garden' or both.,0,'Julius is a frog' or 'John moved to the garden' or both. There is little chance that Bernhard is yellow. It is improbable that Greg is gray. Chances are about even that Julius is white. There is almost no chance that if 'Bernhard is yellow' or 'Greg is gray' or both then Mary left the football. There is a better than even chance that if either 'Julius is white' or 'Bernhard is yellow' but not both then Brian is yellow. It is probable that if 'Julius is white' or 'Greg is gray' or both then John went to the garden.,There is a better than even chance that 'Bernhard is yellow' 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.1::factA. 0.1::factB. 0.5::factC. %hop1 0.02::factX:-or(factA,factB). 0.6::factY:-xor(factC,factA). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.10180000000000003,0.3682736547309462,train,chances are slight,better than even,Chances are slight that 'Bernhard is yellow' or 'Mary left the football' or both.,There is a better than even chance that 'Bernhard is yellow' or 'Mary left the football' or both.,0,'Bernhard is yellow' or 'Mary left the football' or both. It is improbable that Brian is yellow. Chances are about even that Bernhard is a swan. It is probable that Yann is hungry. We doubt that if 'Yann is hungry' or 'Brian is yellow' or both then Gertrude is a cat. It is highly likely that if 'Yann is hungry' or 'Brian is yellow' or both then Emily is a wolf. It is probable that if 'Bernhard is a swan' or 'Brian is yellow' or both then Mary moved to the garden.,There is almost no chance that 'Brian is yellow 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.1::factA. 0.5::factB. 0.7::factC. %hop1 0.2::factX:-or(factC,factA). 0.9::factY:-or(factC,factA). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.02000000000000001,0.7081416283256652,train,almost no chance,we believe,There is almost no chance that 'Brian is yellow and Gertrude is a cat'.,We believe that 'Brian is yellow and Gertrude is a cat'.,1,'Brian is yellow and Gertrude is a cat'. It is probably the case that Jason is tired. It is highly unlikely that Bernhard is white. It is probably the case that John went to the garden. It is unlikely that if 'John went to the garden and Jason is tired' then Jessica is a wolf. It is almost certain that if 'Jason is tired' or 'John went to the garden' or both then Julius is yellow. It is likely that if 'Bernhard is white and John went to the garden' then Lily is a lion.,Chances are about even that either 'Jason is tired' or 'John 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.7::factA. 0.05::factB. 0.7::factC. %hop1 0.2::factX:-and(factC,factA). 0.95::factY:-or(factA,factC). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.42,0.28105621124224844,train,about even,almost no chance,Chances are about even that either 'Jason is tired' or 'John went to the garden' but not both.,There is almost no chance that either 'Jason is tired' or 'John went to the garden' but not both.,1,Either 'Jason is tired' or 'John went to the garden' but not both. There is almost no chance that Mary went to the hallway. It is unlikely that Julius is a rhino. It is highly likely that Jeff moved to the office. It is highly unlikely that if 'Mary went to the hallway' or 'Jeff moved to the office' or both then Greg is white. There is a very good chance that if either 'Julius is a rhino' or 'Jeff moved to the office' but not both then Jessica is a mouse. It is highly unlikely that if either 'Jeff moved to the office' or 'Julius is a rhino' but not both then Bernhard is green.,There is almost no chance that 'Jessica is a mouse' or 'Greg 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.02::factA. 0.2::factB. 0.9::factC. %hop1 0.05::factX:-or(factA,factC). 0.8::factY:-xor(factB,factC). 0.05::factZ:-xor(factC,factB). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.608284,0.45829165833166635,train,better than even,almost no chance,There is a better than even chance that 'Jessica is a mouse' or 'Greg is white' or both.,There is almost no chance that 'Jessica is a mouse' or 'Greg is white' or both.,0,'Jessica is a mouse' or 'Greg is white' or both. It is highly likely that Brian is white. It is probable that Winona is a sheep. It is probably the case that Julius is a swan. It is highly unlikely that if either 'Winona is a sheep' or 'Julius is a swan' but not both then Fred left the football. There is a better than even chance that if 'Winona is a sheep' or 'Brian is white' or both then John went to the hallway. It is highly likely that if either 'Brian is white' or 'Julius is a swan' but not both then Greg is a swan.,Chances are about even that either 'John went to the hallway' 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.9::factA. 0.7::factB. 0.7::factC. %hop1 0.05::factX:-xor(factB,factC). 0.6::factY:-or(factB,factA). 0.9::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.4672,0.7481496299259852,train,about even,almost no chance,Chances are about even that either 'John went to the hallway' or 'Julius is a swan' but not both.,There is almost no chance that either 'John went to the hallway' or 'Julius is a swan' but not both.,1,Either 'John went to the hallway' or 'Julius is a swan' but not both. It is likely that John went to the bedroom. We believe that Bill left the football. Chances are slight that Emily is a cat. It is likely that if either 'Bill left the football' or 'John went to the bedroom' but not both then Greg is a swan. There is almost no chance that if 'Emily is a cat' or 'Bill left the football' or both then Lily is a frog. We doubt that if 'Emily is a cat and Bill left the football' then Mary discarded the milk.,It is probably the case that 'Greg is a swan' or 'Emily 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.7::factA. 0.75::factB. 0.1::factC. %hop1 0.7::factX:-xor(factB,factA). 0.02::factY:-or(factC,factB). 0.2::factZ:-and(factC,factB). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.35200000000000004,0.6911382276455291,train,probably not,probably,It is probably not the case that 'Greg is a swan' or 'Emily is a cat' or both.,It is probably the case that 'Greg is a swan' or 'Emily is a cat' or both.,0,'Greg is a swan' or 'Emily is a cat' or both. It is highly unlikely that Brian is a frog. It is highly unlikely that Greg is a swan. It is unlikely that Mary left the football. There is a very good chance that if 'Brian is a frog' or 'Greg is a swan' or both then Bernhard is gray. It is unlikely that if 'Mary left the football and Greg is a swan' then Yann is thirsty. It is almost certain that if 'Greg is a swan' or 'Mary left the football' or both then Winona is a mouse.,It is likely that 'Mary left the football and Winona 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.05::factB. 0.2::factC. %hop1 0.8::factX:-or(factA,factB). 0.2::factY:-and(factC,factB). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.19,0.23444688937787558,train,unlikely,likely,It is unlikely that 'Mary left the football and Winona is a mouse'.,It is likely that 'Mary left the football and Winona is a mouse'.,0,'Mary left the football and Winona is a mouse'. It is unlikely that Mary got the football. It is unlikely that John went to the hallway. It is unlikely that Bill moved to the office. It is highly likely that if either 'Bill moved to the office' or 'John went to the hallway' but not both then Bernhard is yellow. It is probable that if either 'John went to the hallway' or 'Mary got the football' but not both then Daniel took the milk. It is probable that if 'Bill moved to the office' or 'Mary got the football' or both then Greg is a lion.,It is probably not the case that either 'Bill moved to the office' or 'Daniel 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.2::factA. 0.2::factB. 0.2::factC. %hop1 0.9::factX:-xor(factC,factB). 0.7::factY:-xor(factB,factA). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.33440000000000003,0.5271054210842169,train,probably not,probably,It is probably not the case that either 'Bill moved to the office' or 'Daniel took the milk' but not both.,It is probably the case that either 'Bill moved to the office' or 'Daniel took the milk' but not both.,1,Either 'Bill moved to the office' or 'Daniel took the milk' but not both. Chances are slight that Julius is white. It is probable that Emily is a sheep. There is almost no chance that Greg is a frog. There is a very good chance that if 'Greg is a frog' or 'Julius is white' or both then Bernhard is green. There is a better than even chance that if 'Greg is a frog and Emily is a sheep' then Fred moved to the office. There is almost no chance that if 'Greg is a frog' or 'Julius is white' or both then John went to the bedroom.,We doubt that either 'Bernhard is green' 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.1::factA. 0.7::factB. 0.02::factC. %hop1 0.8::factX:-or(factC,factA). 0.6::factY:-and(factC,factB). 0.02::factZ:-or(factC,factA). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.6622399999999999,0.16223244648929785,train,probable,we doubt,It is probable that either 'Bernhard is green' or 'Emily is a sheep' but not both.,We doubt that either 'Bernhard is green' or 'Emily is a sheep' but not both.,0,Either 'Bernhard is green' or 'Emily is a sheep' but not both. There is almost no chance that John went to the garden. It is probably the case that Sandra got the football. It is almost certain that Brian is a swan. It is unlikely that if 'Sandra got the football and John went to the garden' then Julius is a lion. It is unlikely that if 'Sandra got the football' or 'John went to the garden' or both then Greg is a frog. There is a very good chance that if 'Sandra got the football' or 'Brian is a swan' or both then Fred dropped the milk.,It is impossible that 'Fred dropped the milk 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.02::factA. 0.7::factB. 0.95::factC. %hop1 0.2::factX:-and(factB,factA). 0.2::factY:-or(factB,factA). 0.8::factZ:-or(factB,factC). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.5599999999999999,0.3854770954190838,train,better than even,impossible,There is a better than even chance that 'Fred dropped the milk and Sandra got the football'.,It is impossible that 'Fred dropped the milk and Sandra got the football'.,0,'Fred dropped the milk and Sandra got the football'. There is almost no chance that Brian is yellow. It is highly unlikely that Julius is white. It is probably the case that John discarded the apple. There is a very good chance that if 'Julius is white' or 'Brian is yellow' or both then Gertrude is a cat. There is a very good chance that if 'Julius is white' or 'Brian is yellow' or both then Jessica is a mouse. There is little chance that if 'John discarded the apple' or 'Brian is yellow' or both then Jeff went to the garden.,Chances are slight that 'Jeff went to the garden' 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.02::factA. 0.05::factB. 0.7::factC. %hop1 0.8::factX:-or(factB,factA). 0.8::factY:-or(factB,factA). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.11707000000000005,0.35167033406681336,train,chances are slight,highly likely,Chances are slight that 'Jeff went to the garden' or 'Julius is white' or both.,It is highly likely that 'Jeff went to the garden' or 'Julius is white' or both.,1,'Jeff went to the garden' or 'Julius is white' or both. It is probably the case that Jeff left the apple. It is highly likely that Mary moved to the office. It is likely that John put down the apple. Chances are slight that if either 'John put down the apple' or 'Jeff left the apple' but not both then Bill got the milk there. It is probable that if 'John put down the apple' or 'Jeff left the apple' or both then Brian is white. It is probably not the case that if 'Mary moved to the office and John put down the apple' then Julius is a lion.,It is unlikely that 'Julius is a lion' or 'Bill got the milk there' 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:-xor(factC,factA). 0.7::factY:-or(factC,factA). 0.25::factZ:-and(factB,factC). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.19477499999999998,0.5967193438687738,train,unlikely,almost certain,It is unlikely that 'Julius is a lion' or 'Bill got the milk there' or both.,It is almost certain that 'Julius is a lion' or 'Bill got the milk there' or both.,1,'Julius is a lion' or 'Bill got the milk there' or both. There is a very good chance that Winona is a mouse. We doubt that Daniel got the milk. It is almost certain that Mary went to the hallway. It is unlikely that if 'Mary went to the hallway and Winona is a mouse' then Sandra left the football. It is certain that if 'Winona is a mouse' or 'Mary went to the hallway' or both then John moved to the office. It is highly unlikely that if either 'Daniel got the milk' or 'Winona is a mouse' but not both then Greg is a lion.,It is probably not the case that 'John moved to the office' or 'Mary 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.8::factA. 0.2::factB. 0.95::factC. %hop1 0.2::factX:-and(factC,factA). 1.0::factY:-or(factA,factC). 0.05::factZ:-xor(factB,factA). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.99,0.34646929385877173,train,certain,probably not,It is certain that 'John moved to the office' or 'Mary went to the hallway' or both.,It is probably not the case that 'John moved to the office' or 'Mary went to the hallway' or both.,0,'John moved to the office' or 'Mary went to the hallway' or both. There is almost no chance that Fred went to the garden. It is highly likely that Greg is a swan. We doubt that John discarded the apple. It is probable that if 'John discarded the apple' or 'Fred went to the garden' or both then Lily is white. It is highly unlikely that if either 'Fred went to the garden' or 'John discarded the apple' but not both then Julius is a swan. It is likely that if 'Greg is a swan and John discarded the apple' then Bernhard is a lion.,It is likely that 'Julius is a swan 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.02::factA. 0.9::factB. 0.2::factC. %hop1 0.7::factX:-or(factC,factA). 0.05::factY:-xor(factA,factC). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.009800000000000003,0.5233046609321864,train,impossible,likely,It is impossible that 'Julius is a swan and John discarded the apple'.,It is likely that 'Julius is a swan and John discarded the apple'.,0,'Julius is a swan and John discarded the apple'. It is impossible that Lily is a lion. There is almost no chance that Sandra dropped the milk. It is unlikely that Mary went to the office. It is probably not the case that if 'Sandra dropped the milk' or 'Lily is a lion' or both then Daniel took the football. It is unlikely that if 'Lily is a lion' or 'Sandra dropped the milk' or both then Bernhard is white. Chances are slight that if either 'Lily is a lion' or 'Sandra dropped the milk' but not both then John put down the milk.,It is highly likely that 'Daniel took the football 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.02::factB. 0.2::factC. %hop1 0.25::factX:-or(factB,factA). 0.2::factY:-or(factA,factB). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.0005000000000000001,0.5067013402680536,train,impossible,highly likely,It is impossible that 'Daniel took the football and John put down the milk'.,It is highly likely that 'Daniel took the football and John put down the milk'.,0,'Daniel took the football and John put down the milk'. It is certain that Sumit is tired. We believe that Brian is a lion. It is almost certain that John went to the office. There is a better than even chance that if either 'John went to the office' or 'Sumit is tired' but not both then Bernhard is a swan. It is improbable that if 'Brian is a lion and John went to the office' then Julius is yellow. It is likely that if 'Brian is a lion and John went to the office' then Mary dropped the apple.,It is certain that either 'John went to the office' 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 1.0::factA. 0.75::factB. 0.95::factC. %hop1 0.6::factX:-xor(factC,factA). 0.1::factY:-and(factB,factC). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.98,0.27345469093818764,train,certain,probably not,It is certain that either 'John went to the office' or 'Bernhard is a swan' but not both.,It is probably not the case that either 'John went to the office' or 'Bernhard is a swan' but not both.,1,Either 'John went to the office' or 'Bernhard is a swan' but not both. It is probable that Winona is a wolf. It is likely that Mary moved to the office. It is probable that Jason is bored. We believe that if 'Winona is a wolf and Jason is bored' then Jessica is a cat. It is likely that if 'Winona is a wolf' or 'Mary moved to the office' or both then Bernhard is a swan. We doubt that if either 'Jason is bored' or 'Winona is a wolf' but not both then Julius is a frog.,Chances are about even that either 'Winona is a wolf' or 'Jason is bored' 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.75::factX:-and(factA,factC). 0.7::factY:-or(factA,factB). 0.2::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.42,0.05001000200040008,train,about even,highly unlikely,Chances are about even that either 'Winona is a wolf' or 'Jason is bored' but not both.,It is highly unlikely that either 'Winona is a wolf' or 'Jason is bored' but not both.,1,Either 'Winona is a wolf' or 'Jason is bored' but not both. It is improbable that John discarded the apple. It is impossible that Julius is a swan. It is almost certain that Greg is yellow. It is highly unlikely that if either 'Greg is yellow' or 'Julius is a swan' but not both then Emily is a wolf. It is highly unlikely that if 'Greg is yellow and Julius is a swan' then Bernhard is a frog. There is a better than even chance that if 'Julius is a swan and Greg is yellow' then Lily is a lion.,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.1::factA. 0.0::factB. 0.95::factC. %hop1 0.05::factX:-xor(factC,factB). 0.05::factY:-and(factC,factB). 0.6::factZ:-and(factB,factC). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.0,0.7501500300060012,train,impossible,about even,It is impossible that 'Julius is a swan and Lily is a lion'.,Chances are about even that 'Julius is a swan and Lily is a lion'.,1,'Julius is a swan and Lily is a lion'. It is highly likely that Greg is a swan. There is almost no chance that Julius is a rhino. We doubt that Jessica is a cat. It is probable that if either 'Julius is a rhino' or 'Greg is a swan' but not both then Bernhard is yellow. It is probably the case that if either 'Jessica is a cat' or 'Greg is a swan' but not both then Sandra got the milk. It is impossible that if either 'Greg is a swan' or 'Julius is a rhino' but not both then John discarded the apple.,It is highly likely that either 'John discarded 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.02::factB. 0.2::factC. %hop1 0.7::factX:-xor(factB,factA). 0.7::factY:-xor(factC,factA). 0.0::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.9,0.670134026805361,train,highly likely,unlikely,It is highly likely that either 'John discarded the apple' or 'Greg is a swan' but not both.,It is unlikely that either 'John discarded the apple' or 'Greg is a swan' but not both.,1,Either 'John discarded the apple' or 'Greg is a swan' but not both. We doubt that Lily is a rhino. It is impossible that Greg is green. It is unlikely that Julius is a frog. It is highly likely that if 'Greg is green and Lily is a rhino' then Yann is tired. Chances are slight that if either 'Greg is green' or 'Julius is a frog' but not both then John grabbed the apple. It is unlikely that if 'Lily is a rhino' or 'Julius is a frog' or both then Brian is a swan.,It is probable that 'Lily is a rhino' or 'Yann 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.0::factB. 0.2::factC. %hop1 0.9::factX:-and(factB,factA). 0.1::factY:-xor(factB,factC). 0.2::factZ:-or(factA,factC). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.2,0.610122024404881,train,unlikely,probable,It is unlikely that 'Lily is a rhino' or 'Yann is tired' or both.,It is probable that 'Lily is a rhino' or 'Yann is tired' or both.,0,'Lily is a rhino' or 'Yann is tired' or both. It is likely that Bernhard is a frog. It is probable that Greg is a lion. It is likely that Sumit is bored. Chances are about even that if 'Greg is a lion' or 'Bernhard is a frog' or both then Winona is a mouse. There is a better than even chance that if either 'Greg is a lion' or 'Bernhard is a frog' but not both then Daniel took the apple. It is highly likely that if 'Sumit is bored and Bernhard is a frog' then Brian is a swan.,It is impossible that either 'Bernhard is a frog' 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.7::factB. 0.7::factC. %hop1 0.5::factX:-or(factB,factA). 0.6::factY:-xor(factB,factA). 0.9::factZ:-and(factC,factA). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.42,0.6001200240048009,train,about even,impossible,Chances are about even that either 'Bernhard is a frog' or 'Greg is a lion' but not both.,It is impossible that either 'Bernhard is a frog' or 'Greg is a lion' but not both.,0,Either 'Bernhard is a frog' or 'Greg is a lion' but not both. There is little chance that Brian is green. It is improbable that Sandra dropped the apple. There is a very good chance that John went to the kitchen. Chances are slight that if 'Sandra dropped the apple' or 'Brian is green' or both then Bernhard is a lion. It is impossible that if 'Sandra dropped the apple and John went to the kitchen' then Lily is a frog. There is little chance that if 'John went to the kitchen' or 'Brian is green' or both then Mary moved to the garden.,It is probable that 'Brian is green 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.1::factA. 0.1::factB. 0.8::factC. %hop1 0.1::factX:-or(factB,factA). 0.0::factY:-and(factB,factC). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.010000000000000004,0.5591118223644729,train,almost no chance,probable,There is almost no chance that 'Brian is green and Mary moved to the garden'.,It is probable that 'Brian is green and Mary moved to the garden'.,0,'Brian is green and Mary moved to the garden'. It is improbable that Julius is white. Chances are about even that Mary left the milk. There is a better than even chance that Brian is a frog. It is unlikely that if either 'Mary left the milk' or 'Brian is a frog' but not both then Greg is a lion. It is unlikely that if 'Mary left the milk and Brian is a frog' then Jeff put down the milk. It is almost certain that if 'Julius is white' or 'Brian is a frog' or both then John went to the hallway.,We doubt that 'Jeff put down 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.1::factA. 0.5::factB. 0.6::factC. %hop1 0.2::factX:-xor(factB,factC). 0.2::factY:-and(factB,factC). 0.95::factZ:-or(factA,factC). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.16000000000000003,0.07521504300860173,train,we doubt,highly likely,We doubt that 'Jeff put down the milk' or 'Greg is a lion' or both.,It is highly likely that 'Jeff put down the milk' or 'Greg is a lion' or both.,1,'Jeff put down the milk' or 'Greg is a lion' or both. It is improbable that Fred left the football. It is highly likely that Gertrude is a sheep. It is probably the case that Mary went to the bedroom. It is impossible that if either 'Mary went to the bedroom' or 'Gertrude is a sheep' but not both then Julius is a rhino. It is impossible that if 'Fred left the football' or 'Gertrude is a sheep' or both then Brian is white. There is little chance that if 'Gertrude is a sheep and Fred left the football' then Lily is green.,It is impossible that 'Brian is white 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.1::factA. 0.9::factB. 0.7::factC. %hop1 0.0::factX:-xor(factC,factB). 0.0::factY:-or(factA,factB). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.0,0.0614122824564913,train,impossible,almost certain,It is impossible that 'Brian is white and Mary went to the bedroom'.,It is almost certain that 'Brian is white and Mary went to the bedroom'.,1,'Brian is white and Mary went to the bedroom'. It is probably the case that Greg is a frog. We believe that Brian is a rhino. It is impossible that John put down the milk. There is almost no chance that if 'Brian is a rhino' or 'Greg is a frog' or both then Jessica is a cat. Chances are about even that if either 'John put down the milk' or 'Brian is a rhino' but not both then Mary grabbed the apple. We believe that if 'Brian is a rhino and John put down the milk' then Bernhard is a frog.,There is almost no chance 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.7::factA. 0.75::factB. 0.0::factC. %hop1 0.02::factX:-or(factB,factA). 0.5::factY:-xor(factC,factB). 0.75::factZ:-and(factB,factC). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.925,0.7601520304060813,train,almost certain,almost no chance,It is almost certain that 'Brian is a rhino' or 'Greg is a frog' or both.,There is almost no chance 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 probable that Jessica is a wolf. It is almost certain that Brian is a rhino. There is a very good chance that Julius is gray. It is probably the case that if 'Brian is a rhino and Jessica is a wolf' then Bernhard is green. There is a very good chance that if 'Brian is a rhino and Julius is gray' then Greg is a frog. It is impossible that if 'Julius is gray and Brian is a rhino' then John went to the kitchen.,It is impossible that 'John went to the kitchen 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.95::factB. 0.8::factC. %hop1 0.7::factX:-and(factB,factA). 0.8::factY:-and(factB,factC). 0.0::factZ:-and(factC,factB). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.0,0.45149029805961194,train,impossible,almost certain,It is impossible that 'John went to the kitchen and Bernhard is green'.,It is almost certain that 'John went to the kitchen and Bernhard is green'.,1,'John went to the kitchen and Bernhard is green'. It is unlikely that Lily is a swan. There is almost no chance that Bernhard is yellow. There is a better than even chance that Julius is a frog. There is a better than even chance that if either 'Lily is a swan' or 'Julius is a frog' but not both then Brian is green. It is highly unlikely that if either 'Julius is a frog' or 'Bernhard is yellow' but not both then Emily is a mouse. There is a very good chance that if either 'Lily is a swan' or 'Bernhard is yellow' but not both then John went to the hallway.,It is highly likely that 'Lily is a swan 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.2::factA. 0.02::factB. 0.6::factC. %hop1 0.6::factX:-xor(factA,factC). 0.05::factY:-xor(factC,factB). 0.8::factZ:-xor(factA,factB). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.15680000000000002,0.010602120424084817,train,unlikely,highly likely,It is unlikely that 'Lily is a swan and John went to the hallway'.,It is highly likely that 'Lily is a swan and John went to the hallway'.,0,'Lily is a swan and John went to the hallway'. There is a very good chance that Bill went to the bedroom. There is a very good chance that John put down the apple. It is highly likely that Brian is a swan. It is highly unlikely that if 'Bill went to the bedroom and John put down the apple' then Sandra got the football. There is little chance that if either 'Bill went to the bedroom' or 'Brian is a swan' but not both then Bernhard is a rhino. There is a very good chance that if either 'Bill went to the bedroom' or 'Brian is a swan' but not both then Greg is yellow.,It is improbable that 'Bill went to the bedroom' 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.8::factA. 0.8::factB. 0.9::factC. %hop1 0.05::factX:-and(factA,factB). 0.1::factY:-xor(factA,factC). 0.8::factZ:-xor(factA,factC). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.8,0.35807161432286455,train,very good chance,improbable,There is a very good chance that 'Bill went to the bedroom' or 'Sandra got the football' or both.,It is improbable that 'Bill went to the bedroom' or 'Sandra got the football' or both.,0,'Bill went to the bedroom' or 'Sandra got the football' or both. It is impossible that Sandra left the milk. We believe that Daniel took the apple. We believe that Julius is a frog. There is little chance that if 'Daniel took the apple and Julius is a frog' then Mary went to the office. There is a better than even chance that if 'Sandra left the milk' or 'Julius is a frog' or both then Greg is white. We doubt that if 'Sandra left the milk' or 'Daniel took the apple' or both then Bernhard is yellow.,It is unlikely that either 'Bernhard is yellow' 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.0::factA. 0.75::factB. 0.75::factC. %hop1 0.1::factX:-and(factB,factC). 0.6::factY:-or(factA,factC). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.18375,0.5915183036607321,train,unlikely,we believe,It is unlikely that either 'Bernhard is yellow' or 'Mary went to the office' but not both.,We believe that either 'Bernhard is yellow' or 'Mary went to the office' but not both.,1,Either 'Bernhard is yellow' or 'Mary went to the office' but not both. There is little chance that Bernhard is green. It is highly unlikely that Mary moved to the office. Chances are about even that John got the apple. It is probable that if 'Mary moved to the office and Bernhard is green' then Lily is a rhino. It is certain that if either 'Bernhard is green' or 'John got the apple' but not both then Brian is a lion. It is impossible that if either 'John got the apple' or 'Mary moved to the office' but not both then Jeff went to the bedroom.,It is impossible that 'Brian is a lion' or 'John 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.05::factB. 0.5::factC. %hop1 0.7::factX:-and(factB,factA). 1.0::factY:-xor(factA,factC). 0.0::factZ:-xor(factC,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.55,0.17083416683336666,train,better than even,impossible,There is a better than even chance that 'Brian is a lion' or 'John got the apple' or both.,It is impossible that 'Brian is a lion' or 'John got the apple' or both.,0,'Brian is a lion' or 'John got the apple' or both. There is little chance that Greg is gray. It is probably not the case that Brian is yellow. It is highly unlikely that Sandra took the milk. It is likely that if 'Sandra took the milk and Greg is gray' then John is in the garden. Chances are about even that if 'Sandra took the milk' or 'Greg is gray' or both then Julius is a frog. Chances are about even that if 'Greg is gray' or 'Brian is yellow' or both then Bernhard is a lion.,It is likely that either 'Brian is yellow' 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.25::factB. 0.05::factC. %hop1 0.7::factX:-and(factC,factA). 0.5::factY:-or(factC,factA). 0.5::factZ:-or(factA,factB). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.27499999999999997,0.2938587717543509,train,probably not,likely,It is probably not the case that either 'Brian is yellow' or 'Sandra took the milk' but not both.,It is likely that either 'Brian is yellow' or 'Sandra took the milk' but not both.,0,Either 'Brian is yellow' or 'Sandra took the milk' but not both. It is highly likely that John dropped the apple. There is a better than even chance that Brian is a swan. It is certain that Greg is a lion. It is probable that if 'Greg is a lion and Brian is a swan' then Sandra got the football. It is probably not the case that if 'Brian is a swan' or 'John dropped the apple' or both then Mary discarded the milk. It is unlikely that if 'John dropped the apple and Greg is a lion' then Lily is a frog.,There is a very good chance that either 'Lily is a frog' 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.9::factA. 0.6::factB. 1.0::factC. %hop1 0.7::factX:-and(factC,factB). 0.25::factY:-or(factB,factA). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.82,0.2994598919783957,train,very good chance,we doubt,There is a very good chance that either 'Lily is a frog' or 'Greg is a lion' but not both.,We doubt that either 'Lily is a frog' or 'Greg is a lion' but not both.,1,Either 'Lily is a frog' or 'Greg is a lion' but not both. It is unlikely that Greg is a lion. There is a very good chance that Bernhard is white. It is unlikely that John went to the bedroom. We believe that if 'Greg is a lion and John went to the bedroom' then Brian is a frog. It is highly unlikely that if 'Greg is a lion' or 'John went to the bedroom' or both then Lily is white. It is certain that if 'Greg is a lion and Bernhard is white' then Daniel grabbed the apple.,It is impossible that 'Lily is white 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.2::factA. 0.8::factB. 0.2::factC. %hop1 0.75::factX:-and(factA,factC). 0.05::factY:-or(factA,factC). 1.0::factZ:-and(factA,factB). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.008000000000000004,0.3280656131226245,train,impossible,highly likely,It is impossible that 'Lily is white and Daniel grabbed the apple'.,It is highly likely that 'Lily is white and Daniel grabbed the apple'.,1,'Lily is white and Daniel grabbed the apple'. It is improbable that Fred went to the garden. It is probably the case that Gertrude is a cat. It is likely that Brian is a rhino. It is probably the case that if 'Brian is a rhino' or 'Gertrude is a cat' or both then Emily is a wolf. It is likely that if either 'Fred went to the garden' or 'Brian is a rhino' but not both then Mary dropped the milk. It is impossible that if 'Brian is a rhino and Fred went to the garden' then John moved to the office.,Chances are about even that 'Fred went to the garden' 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.1::factA. 0.7::factB. 0.7::factC. %hop1 0.7::factX:-or(factC,factB). 0.7::factY:-xor(factA,factC). 0.0::factZ:-and(factC,factA). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.5409999999999999,0.5099019803960793,train,about even,impossible,Chances are about even that 'Fred went to the garden' or 'Mary dropped the milk' or both.,It is impossible that 'Fred went to the garden' or 'Mary dropped the milk' or both.,1,'Fred went to the garden' or 'Mary dropped the milk' or both. There is almost no chance that Jeff moved to the office. There is almost no chance that Emily is a sheep. Chances are slight that Julius is white. There is a very good chance that if 'Jeff moved to the office' or 'Julius is white' or both then Brian is a frog. We doubt that if either 'Jeff moved to the office' or 'Julius is white' but not both then Greg is a frog. Chances are about even that if either 'Emily is a sheep' or 'Julius is white' but not both then Mary grabbed the apple.,Chances are about even that 'Jeff moved to the office 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.02::factB. 0.1::factC. %hop1 0.8::factX:-or(factA,factC). 0.2::factY:-xor(factA,factC). 0.5::factZ:-xor(factB,factC). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0020000000000000005,0.583116623324665,train,impossible,about even,It is impossible that 'Jeff moved to the office and Julius is white'.,Chances are about even that 'Jeff moved to the office and Julius is white'.,0,'Jeff moved to the office and Julius is white'. It is probable that Jessica is a mouse. There is a better than even chance that Julius is a rhino. There is little chance that Sandra left the football. It is improbable that if 'Julius is a rhino' or 'Sandra left the football' or both then John went to the office. It is unlikely that if either 'Sandra left the football' or 'Jessica is a mouse' but not both then Mary got the milk. There is almost no chance that if 'Jessica is a mouse' or 'Julius is a rhino' or both then Brian is a swan.,It is highly unlikely that 'Jessica is a mouse' or 'Sandra 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.7::factA. 0.6::factB. 0.1::factC. %hop1 0.1::factX:-or(factB,factC). 0.2::factY:-xor(factC,factA). 0.02::factZ:-or(factA,factB). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.73,0.7593518703740748,train,we believe,highly unlikely,We believe that 'Jessica is a mouse' or 'Sandra left the football' or both.,It is highly unlikely that 'Jessica is a mouse' or 'Sandra left the football' or both.,0,'Jessica is a mouse' or 'Sandra left the football' or both. It is highly likely that Sandra is in the kitchen. We doubt that Mary went to the office. It is likely that Julius is white. It is almost certain that if 'Mary went to the office and Sandra is in the kitchen' then Yann is hungry. It is probably not the case that if 'Sandra is in the kitchen' or 'Julius is white' or both then Bernhard is a frog. There is a better than even chance that if 'Julius is white and Sandra is in the kitchen' then Emily is a mouse.,It is probable that 'Bernhard is a frog and Sandra is in 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.9::factA. 0.2::factB. 0.7::factC. %hop1 0.95::factX:-and(factB,factA). 0.25::factY:-or(factA,factC). 0.6::factZ:-and(factC,factA). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.225,0.47689537907581514,train,we doubt,probable,We doubt that 'Bernhard is a frog and Sandra is in the kitchen'.,It is probable that 'Bernhard is a frog and Sandra is in the kitchen'.,0,'Bernhard is a frog and Sandra is in the kitchen'. It is impossible that Bernhard is yellow. It is unlikely that Lily is white. There is little chance that Brian is a swan. It is impossible that if either 'Bernhard is yellow' or 'Lily is white' but not both then Julius is green. It is certain that if either 'Bernhard is yellow' or 'Brian is a swan' but not both then Jessica is a mouse. It is likely that if either 'Brian is a swan' or 'Bernhard is yellow' but not both then John left the milk.,There is a better than even chance that 'Lily is white 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.0::factA. 0.2::factB. 0.1::factC. %hop1 0.0::factX:-xor(factA,factB). 1.0::factY:-xor(factA,factC). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.02000000000000001,0.6307261452290458,train,almost no chance,better than even,There is almost no chance that 'Lily is white and Brian is a swan'.,There is a better than even chance that 'Lily is white and Brian is a swan'.,0,'Lily is white and Brian is a swan'. It is highly unlikely that Sumit is tired. It is impossible that Brian is a rhino. It is probably not the case that Mary left the football. There is a very good chance that if 'Mary left the football and Brian is a rhino' then John went to the bedroom. It is almost certain that if either 'Sumit is tired' or 'Brian is a rhino' but not both then Daniel got the milk. It is certain that if either 'Brian is a rhino' or 'Sumit is tired' but not both then Bernhard is gray.,It is likely that either 'John went to the bedroom' 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.05::factA. 0.0::factB. 0.25::factC. %hop1 0.8::factX:-and(factC,factB). 0.95::factY:-xor(factA,factB). 1.0::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.25,0.08881776355271054,train,probably not,likely,It is probably not the case that either 'John went to the bedroom' or 'Mary left the football' but not both.,It is likely that either 'John went to the bedroom' or 'Mary left the football' but not both.,0,Either 'John went to the bedroom' or 'Mary left the football' but not both. Chances are about even that Bill went to the garden. It is impossible that Lily is a rhino. It is almost certain that Sandra took the milk. We doubt that if either 'Sandra took the milk' or 'Bill went to the garden' but not both then Jessica is a mouse. Chances are about even that if 'Sandra took the milk' or 'Bill went to the garden' or both then Daniel grabbed the apple. There is almost no chance that if 'Bill went to the garden' or 'Lily is a rhino' or both then Bernhard is green.,There is almost no chance that either 'Daniel grabbed the apple' 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.5::factA. 0.0::factB. 0.95::factC. %hop1 0.2::factX:-xor(factC,factA). 0.5::factY:-or(factC,factA). 0.02::factZ:-or(factA,factB). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.48750000000000004,0.23664732946589317,train,about even,almost no chance,Chances are about even that either 'Daniel grabbed the apple' or 'Sandra took the milk' but not both.,There is almost no chance that either 'Daniel grabbed the apple' or 'Sandra took the milk' but not both.,0,Either 'Daniel grabbed the apple' or 'Sandra took the milk' but not both. It is impossible that Sumit is tired. There is a very good chance that Jeff moved to the office. We believe that Lily is green. We believe that if 'Lily is green' or 'Jeff moved to the office' or both then Bernhard is green. Chances are slight that if 'Lily is green and Jeff moved to the office' then Sandra left the milk. It is probable that if 'Jeff moved to the office' or 'Sumit is tired' or both then Brian is white.,Chances are about even that either 'Lily 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.0::factA. 0.8::factB. 0.75::factC. %hop1 0.75::factX:-or(factC,factB). 0.1::factY:-and(factC,factB). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.47000000000000003,0.7659531906381276,train,about even,impossible,Chances are about even that either 'Lily is green' or 'Brian is white' but not both.,It is impossible that either 'Lily is green' or 'Brian is white' but not both.,1,Either 'Lily is green' or 'Brian is white' but not both. It is probable that Greg is white. It is improbable that Sumit is thirsty. It is unlikely that Julius is a frog. We believe that if 'Julius is a frog' or 'Greg is white' or both then Lily is yellow. It is probable that if 'Greg is white and Julius is a frog' then Mary moved to the garden. There is a better than even chance that if 'Julius is a frog' or 'Greg is white' or both then Brian is a lion.,It is highly likely that 'Lily is yellow 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.7::factA. 0.1::factB. 0.2::factC. %hop1 0.75::factX:-or(factC,factA). 0.7::factY:-and(factA,factC). 0.6::factZ:-or(factC,factA). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.0735,0.4978995799159832,train,highly unlikely,highly likely,It is highly unlikely that 'Lily is yellow and Mary moved to the garden'.,It is highly likely that 'Lily is yellow and Mary moved to the garden'.,0,'Lily is yellow and Mary moved to the garden'. It is unlikely that Gertrude is a mouse. Chances are slight that Daniel took the football. It is highly likely that Bernhard is a rhino. There is little chance that if 'Bernhard is a rhino and Daniel took the football' then Greg is green. It is probably not the case that if 'Daniel took the football' or 'Bernhard is a rhino' or both then Lily is a lion. It is highly likely that if 'Bernhard is a rhino and Daniel took the football' then John dropped the milk.,It is certain that 'Bernhard is a rhino 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.2::factA. 0.1::factB. 0.9::factC. %hop1 0.1::factX:-and(factC,factB). 0.25::factY:-or(factB,factC). 0.9::factZ:-and(factC,factB). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.08100000000000002,0.6961392278455691,train,chances are slight,certain,Chances are slight that 'Bernhard is a rhino and John dropped the milk'.,It is certain that 'Bernhard is a rhino and John dropped the milk'.,0,'Bernhard is a rhino and John dropped the milk'. Chances are about even that Sumit is thirsty. It is impossible that Yann is hungry. It is likely that Jeff went to the bedroom. It is almost certain that if 'Yann is hungry and Jeff went to the bedroom' then Julius is white. It is unlikely that if either 'Yann is hungry' or 'Sumit is thirsty' but not both then Bernhard is a rhino. Chances are about even that if 'Sumit is thirsty and Yann is hungry' then Lily is a lion.,There is a better than even chance that either 'Lily is a lion' or 'Bernhard 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.5::factA. 0.0::factB. 0.7::factC. %hop1 0.95::factX:-and(factB,factC). 0.2::factY:-xor(factB,factA). 0.5::factZ:-and(factA,factB). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.10000000000000002,0.6115223044608922,train,chances are slight,better than even,Chances are slight that either 'Lily is a lion' or 'Bernhard is a rhino' but not both.,There is a better than even chance that either 'Lily is a lion' or 'Bernhard is a rhino' but not both.,0,Either 'Lily is a lion' or 'Bernhard is a rhino' but not both. It is unlikely that Brian is white. It is certain that Emily is a cat. It is probable that Sandra left the milk. It is certain that if 'Sandra left the milk and Emily is a cat' then John dropped the apple. It is highly likely that if 'Emily is a cat' or 'Brian is white' or both then Bill went to the garden. It is unlikely that if 'Emily is a cat and Sandra left the milk' then Greg is a frog.,It is impossible that 'Sandra 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.2::factA. 1.0::factB. 0.7::factC. %hop1 1.0::factX:-and(factC,factB). 0.9::factY:-or(factB,factA). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.7599999999999999,0.7041408281656332,train,we believe,impossible,We believe that 'Sandra left the milk' or 'Brian is white' or both.,It is impossible that 'Sandra left the milk' or 'Brian is white' or both.,0,'Sandra left the milk' or 'Brian is white' or both. It is probable that Brian is white. It is probably not the case that Fred went to the garden. It is highly unlikely that Sandra left the football. Chances are about even that if 'Sandra left the football' or 'Fred went to the garden' or both then Jason is tired. It is almost certain that if 'Fred went to the garden' or 'Sandra left the football' or both then Greg is a lion. Chances are slight that if 'Sandra left the football and Fred went to the garden' then Bernhard is yellow.,It is probably the case that 'Fred went to the garden' 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 0.7::factA. 0.25::factB. 0.05::factC. %hop1 0.5::factX:-or(factC,factB). 0.95::factY:-or(factB,factC). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.26875,0.3064612922584517,train,probably not,probably,It is probably not the case that 'Fred went to the garden' or 'Jason is tired' or both.,It is probably the case that 'Fred went to the garden' or 'Jason is tired' or both.,0,'Fred went to the garden' or 'Jason is tired' or both. We believe that Sandra left the football. Chances are about even that Yann is tired. There is little chance that Julius is a swan. There is a better than even chance that if 'Yann is tired' or 'Sandra left the football' or both then John discarded the apple. There is almost no chance that if 'Yann is tired' or 'Julius is a swan' or both then Greg is yellow. It is impossible that if 'Sandra left the football and Julius is a swan' then Brian is white.,There is almost no chance that 'Brian is white' or 'Sandra 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.75::factA. 0.5::factB. 0.1::factC. %hop1 0.6::factX:-or(factB,factA). 0.02::factY:-or(factB,factC). 0.0::factZ:-and(factA,factC). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.75,0.14722944588917783,train,we believe,almost no chance,We believe that 'Brian is white' or 'Sandra left the football' or both.,There is almost no chance that 'Brian is white' or 'Sandra left the football' or both.,0,'Brian is white' or 'Sandra left the football' or both. It is impossible that Brian is a rhino. We doubt that Fred discarded the apple. It is probably not the case that Daniel took the milk. It is unlikely that if 'Brian is a rhino' or 'Fred discarded the apple' or both then Bill went to the kitchen. It is probably not the case that if 'Fred discarded the apple' or 'Brian is a rhino' or both then Lily is white. It is almost certain that if 'Brian is a rhino and Daniel took the milk' then John is in the garden.,It is likely that 'John is in the garden' 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.0::factA. 0.2::factB. 0.25::factC. %hop1 0.2::factX:-or(factA,factB). 0.25::factY:-or(factB,factA). 0.95::factZ:-and(factA,factC). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.0,0.5897179435887178,train,impossible,likely,It is impossible that 'John is in the garden' or 'Brian is a rhino' or both.,It is likely that 'John is in the garden' or 'Brian is a rhino' or both.,0,'John is in the garden' or 'Brian is a rhino' or both. It is impossible that Julius is a lion. We doubt that Brian is a frog. It is almost certain that Jeff moved to the office. It is probable that if 'Brian is a frog and Jeff moved to the office' then John took the football. We believe that if 'Julius is a lion and Jeff moved to the office' then Bernhard is gray. It is unlikely that if either 'Julius is a lion' or 'Jeff moved to the office' but not both then Daniel grabbed the milk.,We doubt that 'Julius is a lion' or 'Daniel grabbed 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.0::factA. 0.2::factB. 0.95::factC. %hop1 0.7::factX:-and(factB,factC). 0.75::factY:-and(factA,factC). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.19,0.14022804560912183,train,we doubt,probable,We doubt that 'Julius is a lion' or 'Daniel grabbed the milk' or both.,It is probable that 'Julius is a lion' or 'Daniel grabbed the milk' or both.,1,'Julius is a lion' or 'Daniel grabbed the milk' or both. It is probably not the case that Brian is gray. Chances are about even that Lily is yellow. There is almost no chance that John went to the office. It is almost certain that if 'Lily is yellow and Brian is gray' then Mary left the milk. It is certain that if 'Brian is gray' or 'John went to the office' or both then Antoine is thirsty. It is impossible that if 'John went to the office' or 'Lily is yellow' or both then Julius is a swan.,It is highly likely that 'Brian is gray and Antoine 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.25::factA. 0.5::factB. 0.02::factC. %hop1 0.95::factX:-and(factB,factA). 1.0::factY:-or(factA,factC). 0.0::factZ:-or(factC,factB). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.25,0.354870974194839,train,probably not,highly likely,It is probably not the case that 'Brian is gray and Antoine is thirsty'.,It is highly likely that 'Brian is gray and Antoine is thirsty'.,0,'Brian is gray and Antoine is thirsty'. It is almost certain that Mary went to the office. It is probably not the case that Greg is a swan. There is little chance that Bernhard is gray. There is little chance that if either 'Greg is a swan' or 'Mary went to the office' but not both then Jason is tired. We believe that if 'Greg is a swan' or 'Bernhard is gray' or both then Lily is yellow. It is highly likely that if 'Greg is a swan' or 'Bernhard is gray' or both then Brian is a lion.,It is impossible that 'Jason is tired and Greg 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.25::factB. 0.1::factC. %hop1 0.1::factX:-xor(factB,factA). 0.75::factY:-or(factB,factC). 0.9::factZ:-or(factB,factC). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.0012500000000000013,0.3872774554910982,train,impossible,likely,It is impossible that 'Jason is tired and Greg is a swan'.,It is likely that 'Jason is tired and Greg is a swan'.,1,'Jason is tired and Greg is a swan'. It is impossible that Mary left the football. We believe that Brian is a frog. It is unlikely that John moved to the office. There is a better than even chance that if either 'John moved to the office' or 'Brian is a frog' but not both then Julius is yellow. It is almost certain that if 'Mary left the football' or 'John moved to the office' or both then Lily is gray. Chances are about even that if either 'Brian is a frog' or 'Mary left the football' but not both then Bernhard is a rhino.,It is certain that either 'Brian is a frog' or 'Bernhard 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.75::factB. 0.2::factC. %hop1 0.6::factX:-xor(factC,factB). 0.95::factY:-or(factA,factC). 0.5::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.375,0.10662132426485298,train,probably not,certain,It is probably not the case that either 'Brian is a frog' or 'Bernhard is a rhino' but not both.,It is certain that either 'Brian is a frog' or 'Bernhard is a rhino' but not both.,0,Either 'Brian is a frog' or 'Bernhard is a rhino' but not both. There is a very good chance that Daniel left the milk. There is a better than even chance that Julius is a frog. It is likely that Mary put down the apple. It is probable that if either 'Daniel left the milk' or 'Mary put down the apple' but not both then Yann is tired. There is a very good chance that if either 'Julius is a frog' or 'Mary put down the apple' but not both then Sandra grabbed the apple. It is improbable that if 'Julius is a frog and Daniel left the milk' then Bernhard is a swan.,Chances are slight that 'Yann is tired' or 'Mary 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.8::factA. 0.6::factB. 0.7::factC. %hop1 0.7::factX:-xor(factA,factC). 0.8::factY:-xor(factB,factC). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.868,0.7987597519503901,train,highly likely,chances are slight,It is highly likely that 'Yann is tired' or 'Mary put down the apple' or both.,Chances are slight that 'Yann is tired' or 'Mary put down the apple' or both.,0,'Yann is tired' or 'Mary put down the apple' or both. It is certain that Bernhard is gray. It is probably the case that John put down the apple. There is almost no chance that Lily is white. It is almost certain that if 'John put down the apple' or 'Lily is white' or both then Julius is a swan. It is improbable that if 'Bernhard is gray and John put down the apple' then Brian is a frog. It is highly likely that if 'Bernhard is gray and Lily is white' then Mary left the football.,It is probably not the case that 'Mary left the football' 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 1.0::factA. 0.7::factB. 0.02::factC. %hop1 0.95::factX:-or(factB,factC). 0.1::factY:-and(factA,factB). 0.9::factZ:-and(factA,factC). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",1.0,0.29905981196239245,train,certain,probably not,It is certain that 'Mary left the football' or 'Bernhard is gray' or both.,It is probably not the case that 'Mary left the football' or 'Bernhard is gray' or both.,0,'Mary left the football' or 'Bernhard is gray' or both. It is probably not the case that Gertrude is a sheep. There is a very good chance that Mary picked up the milk. There is little chance that Brian is a swan. Chances are about even that if 'Mary picked up the milk' or 'Brian is a swan' or both then Bernhard is green. Chances are about even that if 'Brian is a swan' or 'Mary picked up the milk' or both then John took the football. It is unlikely that if 'Mary picked up the milk' or 'Gertrude is a sheep' or both then Bill went to the office.,There is a better than even chance that 'John took the football' 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.25::factA. 0.8::factB. 0.1::factC. %hop1 0.5::factX:-or(factB,factC). 0.5::factY:-or(factC,factB). 0.2::factZ:-or(factB,factA). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.615,0.03780756151230246,train,better than even,highly unlikely,There is a better than even chance that 'John took the football' or 'Bernhard is green' or both.,It is highly unlikely that 'John took the football' or 'Bernhard is green' or both.,1,'John took the football' or 'Bernhard is green' or both. Chances are about even that Fred moved to the office. There is little chance that Antoine is thirsty. It is probable that Yann is bored. It is unlikely that if either 'Yann is bored' or 'Antoine is thirsty' but not both then Mary left the football. It is highly unlikely that if 'Antoine is thirsty' or 'Fred moved to the office' or both then Julius is a lion. It is improbable that if 'Fred moved to the office and Yann is bored' then John grabbed the apple.,It is probably the case that 'Mary left the football' or 'Antoine 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.5::factA. 0.1::factB. 0.7::factC. %hop1 0.2::factX:-xor(factC,factB). 0.05::factY:-or(factB,factA). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.22600000000000003,0.32206441288257653,train,probably not,probably,It is probably not the case that 'Mary left the football' or 'Antoine is thirsty' or both.,It is probably the case that 'Mary left the football' or 'Antoine is thirsty' or both.,0,'Mary left the football' or 'Antoine is thirsty' or both. There is a better than even chance that John discarded the apple. There is a better than even chance that Bill moved to the office. It is certain that Sandra dropped the milk. It is certain that if 'John discarded the apple' or 'Bill moved to the office' or both then Julius is a frog. Chances are slight that if 'Sandra dropped the milk and John discarded the apple' then Lily is white. There is a very good chance that if 'Bill moved to the office' or 'John discarded the apple' or both then Mary went to the bedroom.,There is a very good chance that 'Julius is a frog' 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.6::factA. 0.6::factB. 1.0::factC. %hop1 1.0::factX:-or(factA,factB). 0.1::factY:-and(factC,factA). 0.8::factZ:-or(factB,factA). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.8400000000000001,0.7815563112622524,train,very good chance,little chance,There is a very good chance that 'Julius is a frog' or 'Lily is white' or both.,There is little chance that 'Julius is a frog' or 'Lily is white' or both.,1,'Julius is a frog' or 'Lily is white' or both. It is unlikely that Bernhard is yellow. It is probably the case that Mary went to the garden. We believe that Julius is a swan. It is probably the case that if 'Mary went to the garden' or 'Bernhard is yellow' or both then Lily is green. There is little chance that if 'Mary went to the garden and Bernhard is yellow' then Sumit is hungry. Chances are about even that if 'Mary went to the garden' or 'Julius is a swan' or both then Brian is a frog.,It is impossible that either 'Mary went to the garden' 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.2::factA. 0.7::factB. 0.75::factC. %hop1 0.7::factX:-or(factB,factA). 0.1::factY:-and(factB,factA). 0.5::factZ:-or(factB,factC). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.4,0.13162632526505302,train,about even,impossible,Chances are about even that either 'Mary went to the garden' or 'Julius is a swan' but not both.,It is impossible that either 'Mary went to the garden' or 'Julius is a swan' but not both.,0,Either 'Mary went to the garden' or 'Julius is a swan' but not both. It is probable that Daniel left the football. There is a better than even chance that Brian is a rhino. Chances are about even that Bernhard is gray. There is little chance that if either 'Bernhard is gray' or 'Brian is a rhino' but not both then Greg is a lion. It is certain that if 'Brian is a rhino' or 'Bernhard is gray' or both then Lily is a frog. It is improbable that if 'Bernhard is gray' or 'Daniel left the football' or both then Julius is white.,Chances are about even that 'Bernhard is gray' 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.7::factA. 0.6::factB. 0.5::factC. %hop1 0.1::factX:-xor(factC,factB). 1.0::factY:-or(factB,factC). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.53,0.6707341468293658,train,about even,almost no chance,Chances are about even that 'Bernhard is gray' or 'Greg is a lion' or both.,There is almost no chance that 'Bernhard is gray' or 'Greg is a lion' or both.,1,'Bernhard is gray' or 'Greg is a lion' or both. It is impossible that Bernhard is a swan. It is certain that Greg is white. It is probably not the case that John went to the garden. It is unlikely that if 'Greg is white and Bernhard is a swan' then Sandra left the apple. It is almost certain that if either 'Greg is white' or 'John went to the garden' but not both then Yann is tired. It is certain that if 'John went to the garden' or 'Greg is white' or both then Brian is a frog.,It is impossible that 'Brian is a frog 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.0::factA. 1.0::factB. 0.25::factC. %hop1 0.2::factX:-and(factB,factA). 0.95::factY:-xor(factB,factC). 1.0::factZ:-or(factC,factB). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.0,0.03520704140828165,train,impossible,probable,It is impossible that 'Brian is a frog and Sandra left the apple'.,It is probable that 'Brian is a frog and Sandra left the apple'.,1,'Brian is a frog and Sandra left the apple'. It is probably not the case that Mary got the football. It is improbable that Jessica is a sheep. We doubt that Bernhard is a rhino. We believe that if 'Bernhard is a rhino and Jessica is a sheep' then Greg is a swan. Chances are about even that if either 'Jessica is a sheep' or 'Bernhard is a rhino' but not both then Sumit is hungry. There is almost no chance that if 'Jessica is a sheep' or 'Bernhard is a rhino' or both then Lily is a lion.,There is almost no chance that 'Jessica is a sheep 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.1::factB. 0.2::factC. %hop1 0.75::factX:-and(factC,factB). 0.5::factY:-xor(factB,factC). 0.02::factZ:-or(factB,factC). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.025000000000000012,0.1926385277055411,train,almost no chance,better than even,There is almost no chance that 'Jessica is a sheep and Mary got the football'.,There is a better than even chance that 'Jessica is a sheep and Mary got the football'.,1,'Jessica is a sheep and Mary got the football'. It is probable that Julius is a frog. It is almost certain that Brian is a rhino. There is almost no chance that Jessica is a cat. We doubt that if 'Julius is a frog' or 'Jessica is a cat' or both then Greg is white. We believe that if either 'Julius is a frog' or 'Jessica is a cat' but not both then Mary left the football. We believe that if 'Jessica is a cat and Brian is a rhino' then John took the apple.,Chances are about even that either 'Brian is a rhino' 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.95::factB. 0.02::factC. %hop1 0.2::factX:-or(factA,factC). 0.75::factY:-xor(factA,factC). 0.75::factZ:-and(factC,factB). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.48290000000000005,0.7855571114222845,train,about even,highly unlikely,Chances are about even that either 'Brian is a rhino' or 'Mary left the football' but not both.,It is highly unlikely that either 'Brian is a rhino' or 'Mary left the football' but not both.,1,Either 'Brian is a rhino' or 'Mary left the football' but not both. It is almost certain that Julius is white. There is a better than even chance that Mary went to the hallway. It is likely that John moved to the office. It is unlikely that if either 'Mary went to the hallway' or 'John moved to the office' but not both then Sumit is hungry. It is probably not the case that if either 'Mary went to the hallway' or 'John moved to the office' but not both then Brian is a frog. It is certain that if 'Julius is white' or 'John moved to the office' or both then Lily is a swan.,It is unlikely that either 'Sumit is hungry' 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.95::factA. 0.6::factB. 0.7::factC. %hop1 0.2::factX:-xor(factB,factC). 0.25::factY:-xor(factB,factC). 1.0::factZ:-or(factA,factC). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.16099999999999998,0.060612122424484896,train,unlikely,certain,It is unlikely that either 'Sumit is hungry' or 'Brian is a frog' but not both.,It is certain that either 'Sumit is hungry' or 'Brian is a frog' but not both.,1,Either 'Sumit is hungry' or 'Brian is a frog' but not both. There is almost no chance that Brian is gray. Chances are about even that Daniel left the apple. There is almost no chance that John is in the garden. It is impossible that if 'Brian is gray' or 'John is in the garden' or both then Greg is a frog. It is highly unlikely that if either 'Brian is gray' or 'John is in the garden' but not both then Julius is a frog. It is highly unlikely that if either 'Brian is gray' or 'Daniel left the apple' but not both then Mary went to the kitchen.,There is almost no chance that 'Julius is a frog' 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.02::factA. 0.5::factB. 0.02::factC. %hop1 0.0::factX:-or(factA,factC). 0.05::factY:-xor(factA,factC). 0.05::factZ:-xor(factA,factB). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.020980000000000006,0.5299059811962392,train,almost no chance,about even,There is almost no chance that 'Julius is a frog' or 'Brian is gray' or both.,Chances are about even that 'Julius is a frog' or 'Brian is gray' or both.,1,'Julius is a frog' or 'Brian is gray' or both. There is little chance that Winona is a mouse. It is improbable that Daniel dropped the apple. There is a very good chance that Antoine is hungry. It is highly likely that if either 'Antoine is hungry' or 'Daniel dropped the apple' but not both then Greg is white. We doubt that if 'Winona is a mouse' or 'Antoine is hungry' or both then John went to the kitchen. It is highly likely that if either 'Winona is a mouse' or 'Daniel dropped the apple' but not both then Lily is gray.,There is a very good chance that 'Antoine is hungry' or 'Greg 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.1::factA. 0.1::factB. 0.8::factC. %hop1 0.9::factX:-xor(factC,factB). 0.2::factY:-or(factA,factC). 0.9::factZ:-xor(factA,factB). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.8180000000000001,0.4284856971394279,train,very good chance,highly unlikely,There is a very good chance that 'Antoine is hungry' or 'Greg is white' or both.,It is highly unlikely that 'Antoine is hungry' or 'Greg is white' or both.,1,'Antoine is hungry' or 'Greg is white' or both. There is a better than even chance that Sandra dropped the milk. It is highly likely that Bernhard is a swan. There is a better than even chance that Greg is a frog. It is highly likely that if either 'Sandra dropped the milk' or 'Greg is a frog' but not both then Brian is yellow. There is a better than even chance that if 'Greg is a frog' or 'Bernhard is a swan' or both then Julius is a rhino. There is a better than even chance that if 'Greg is a frog and Sandra dropped the milk' then John left the apple.,It is highly unlikely that 'Greg 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.6::factA. 0.9::factB. 0.6::factC. %hop1 0.9::factX:-xor(factA,factC). 0.6::factY:-or(factC,factB). 0.6::factZ:-and(factC,factA). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.5399999999999999,0.47889577915583115,train,about even,highly unlikely,Chances are about even that 'Greg is a frog and Bernhard is a swan'.,It is highly unlikely that 'Greg is a frog and Bernhard is a swan'.,0,'Greg is a frog and Bernhard is a swan'. There is little chance that Bernhard is green. It is certain that Gertrude is a cat. We believe that Sandra got the football. It is unlikely that if 'Sandra got the football and Gertrude is a cat' then John went to the hallway. Chances are about even that if 'Gertrude is a cat and Sandra got the football' then Brian is white. It is likely that if 'Bernhard is green' or 'Sandra got the football' or both then Lily is a lion.,It is highly likely that 'Brian is white 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.1::factA. 1.0::factB. 0.75::factC. %hop1 0.2::factX:-and(factC,factB). 0.5::factY:-and(factB,factC). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.2625,0.3902780556111222,train,probably not,highly likely,It is probably not the case that 'Brian is white and Lily is a lion'.,It is highly likely that 'Brian is white and Lily is a lion'.,0,'Brian is white and Lily is a lion'. There is little chance that Emily is a wolf. It is likely that Lily is green. There is almost no chance that Greg is a frog. Chances are about even that if either 'Emily is a wolf' or 'Lily is green' but not both then Winona is a cat. There is a very good chance that if 'Lily is green' or 'Emily is a wolf' or both then Bernhard is white. It is almost certain that if 'Emily is a wolf' or 'Greg is a frog' or both then Julius is a swan.,There is almost no chance 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.1::factA. 0.7::factB. 0.02::factC. %hop1 0.5::factX:-xor(factA,factB). 0.8::factY:-or(factB,factA). 0.95::factZ:-or(factA,factC). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.022100000000000012,0.22784556911382275,train,almost no chance,certain,There is almost no chance 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.,1,Either 'Emily is a wolf' or 'Julius is a swan' but not both. It is unlikely that John got the apple. It is probably the case that Sandra took the milk. It is impossible that Jason is tired. It is highly likely that if either 'Sandra took the milk' or 'Jason is tired' but not both then Fred went to the garden. There is a better than even chance that if either 'John got the apple' or 'Sandra took the milk' but not both then Lily is a lion. It is improbable that if 'Jason is tired and John got the apple' then Brian is white.,It is probably not the case that 'Lily is a lion and Sandra 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.2::factA. 0.7::factB. 0.0::factC. %hop1 0.9::factX:-xor(factB,factC). 0.6::factY:-xor(factA,factB). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.33599999999999997,0.014602920584116823,train,probably not,we believe,It is probably not the case that 'Lily is a lion and Sandra took the milk'.,We believe that 'Lily is a lion and Sandra took the milk'.,1,'Lily is a lion and Sandra took the milk'. It is almost certain that Mary picked up the apple. It is likely that Julius is a swan. We doubt that Greg is yellow. It is improbable that if either 'Julius is a swan' or 'Mary picked up the apple' but not both then Sumit is thirsty. It is impossible that if either 'Julius is a swan' or 'Mary picked up the apple' but not both then Bernhard is a frog. Chances are slight that if either 'Greg is yellow' or 'Julius is a swan' but not both then Sandra left the milk.,It is almost certain that 'Sandra left the milk' or 'Mary picked up 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.7::factB. 0.2::factC. %hop1 0.1::factX:-xor(factB,factA). 0.0::factY:-xor(factB,factA). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.9531000000000001,0.7399479895979196,train,almost certain,chances are slight,It is almost certain that 'Sandra left the milk' or 'Mary picked up the apple' or both.,Chances are slight that 'Sandra left the milk' or 'Mary picked up the apple' or both.,1,'Sandra left the milk' or 'Mary picked up the apple' or both. It is likely that Lily is a rhino. Chances are slight that Emily is a wolf. We believe that Gertrude is a mouse. It is unlikely that if 'Emily is a wolf' or 'Lily is a rhino' or both then John moved to the garden. There is little chance that if 'Gertrude is a mouse and Lily is a rhino' then Bernhard is a frog. There is a better than even chance that if 'Lily is a rhino and Gertrude is a mouse' then Julius is a lion.,There is almost no chance that 'Lily is a rhino' 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.7::factA. 0.1::factB. 0.75::factC. %hop1 0.2::factX:-or(factB,factA). 0.1::factY:-and(factC,factA). 0.6::factZ:-and(factA,factC). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.73,0.5955191038207641,train,we believe,almost no chance,We believe that 'Lily is a rhino' or 'Emily is a wolf' or both.,There is almost no chance that 'Lily is a rhino' or 'Emily is a wolf' or both.,0,'Lily is a rhino' or 'Emily is a wolf' or both. It is probably not the case that John discarded the milk. There is almost no chance that Sumit is thirsty. It is impossible that Mary dropped the apple. It is unlikely that if 'John discarded the milk' or 'Sumit is thirsty' or both then Julius is white. It is highly likely that if 'Sumit is thirsty' or 'John discarded the milk' or both then Sandra left the milk. It is improbable that if 'John discarded the milk' or 'Sumit is thirsty' or both then Daniel got the football.,It is highly likely that 'Sumit is thirsty and Mary 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.25::factA. 0.02::factB. 0.0::factC. %hop1 0.2::factX:-or(factA,factB). 0.9::factY:-or(factB,factA). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.7143428685737148,train,impossible,highly likely,It is impossible that 'Sumit is thirsty and Mary dropped the apple'.,It is highly likely that 'Sumit is thirsty and Mary dropped the apple'.,0,'Sumit is thirsty and Mary dropped the apple'. It is impossible that Sumit is bored. There is little chance that John moved to the garden. We doubt that Mary dropped the apple. It is probably not the case that if either 'Sumit is bored' or 'Mary dropped the apple' but not both then Greg is yellow. It is improbable that if either 'Mary dropped the apple' or 'Sumit is bored' but not both then Sandra put down the milk. It is highly likely that if 'Mary dropped the apple and John moved to the garden' then Bernhard is a rhino.,It is probably the case that 'Sandra put down the milk and Sumit 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.1::factB. 0.2::factC. %hop1 0.25::factX:-xor(factA,factC). 0.1::factY:-xor(factC,factA). 0.9::factZ:-and(factC,factB). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.0,0.3642728545709142,train,impossible,probably,It is impossible that 'Sandra put down the milk and Sumit is bored'.,It is probably the case that 'Sandra put down the milk and Sumit is bored'.,0,'Sandra put down the milk and Sumit is bored'. It is almost certain that John discarded the apple. It is improbable that Fred moved to the office. It is highly unlikely that Brian is white. It is unlikely that if either 'John discarded the apple' or 'Brian is white' but not both then Bernhard is gray. Chances are about even that if either 'Fred moved to the office' or 'Brian is white' but not both then Mary took the football. It is impossible that if 'Brian is white' or 'John discarded the apple' or both then Jessica is a cat.,It is highly unlikely that either 'Brian is white' 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.95::factA. 0.1::factB. 0.05::factC. %hop1 0.2::factX:-xor(factA,factC). 0.5::factY:-xor(factB,factC). 0.0::factZ:-or(factC,factA). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.05000000000000001,0.368873774754951,train,highly unlikely,about even,It is highly unlikely that either 'Brian is white' or 'Jessica is a cat' but not both.,Chances are about even that either 'Brian is white' or 'Jessica is a cat' but not both.,1,Either 'Brian is white' or 'Jessica is a cat' but not both. It is probably the case that Emily is a mouse. It is certain that Brian is a frog. We doubt that Yann is tired. It is probably not the case that if either 'Brian is a frog' or 'Yann is tired' but not both then Lily is yellow. It is probably the case that if either 'Emily is a mouse' or 'Brian is a frog' but not both then Bernhard is green. There is almost no chance that if either 'Yann is tired' or 'Emily is a mouse' but not both then Greg is a swan.,We doubt that either 'Bernhard is green' 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.7::factA. 1.0::factB. 0.2::factC. %hop1 0.25::factX:-xor(factB,factC). 0.7::factY:-xor(factA,factB). 0.02::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.9099999999999999,0.48109621924384877,train,highly likely,we doubt,It is highly likely that either 'Bernhard is green' or 'Emily is a mouse' but not both.,We doubt that either 'Bernhard is green' or 'Emily is a mouse' but not both.,0,Either 'Bernhard is green' or 'Emily is a mouse' but not both. We doubt that Gertrude is a sheep. It is probable that Bernhard is a lion. It is improbable that John put down the milk. It is likely that if 'Bernhard is a lion and Gertrude is a sheep' then Lily is gray. There is almost no chance that if 'Gertrude is a sheep' or 'Bernhard is a lion' or both then Mary took the football. It is probably the case that if either 'John put down the milk' or 'Gertrude is a sheep' but not both then Greg is a frog.,It is almost certain that either 'Mary took the football' 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.2::factA. 0.7::factB. 0.1::factC. %hop1 0.7::factX:-and(factB,factA). 0.02::factY:-or(factA,factB). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.20720000000000002,0.505501100220044,train,unlikely,almost certain,It is unlikely that either 'Mary took the football' or 'Gertrude is a sheep' but not both.,It is almost certain that either 'Mary took the football' or 'Gertrude is a sheep' but not both.,0,Either 'Mary took the football' or 'Gertrude is a sheep' but not both. We believe that Brian is white. Chances are slight that Jessica is a sheep. There is little chance that Mary left the apple. Chances are about even that if either 'Jessica is a sheep' or 'Mary left the apple' but not both then Julius is a swan. Chances are slight that if 'Mary left the apple and Jessica is a sheep' then Bernhard is yellow. It is improbable that if 'Brian is white and Mary left the apple' then Sandra got the football.,We believe 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.75::factA. 0.1::factB. 0.1::factC. %hop1 0.5::factX:-xor(factB,factC). 0.1::factY:-and(factC,factB). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.7725,0.3162632526505301,train,we believe,probably not,We believe that 'Brian is white' or 'Julius is a swan' or both.,It is probably not the case that 'Brian is white' or 'Julius is a swan' or both.,1,'Brian is white' or 'Julius is a swan' or both. There is almost no chance that Sandra dropped the milk. Chances are slight that John took the apple. It is highly likely that Bernhard is white. Chances are about even that if either 'Bernhard is white' or 'John took the apple' but not both then Bill went to the garden. It is likely that if 'John took the apple' or 'Bernhard is white' or both then Greg is a lion. There is a very good chance that if either 'John took the apple' or 'Sandra dropped the milk' but not both then Julius is a frog.,There is almost no chance that 'Julius is a frog and Bill 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.02::factA. 0.1::factB. 0.9::factC. %hop1 0.5::factX:-xor(factC,factB). 0.7::factY:-or(factB,factC). 0.8::factZ:-xor(factB,factA). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.010400000000000008,0.23424684936987397,train,almost no chance,almost certain,There is almost no chance that 'Julius is a frog and Bill went to the garden'.,It is almost certain that 'Julius is a frog and Bill went to the garden'.,1,'Julius is a frog and Bill went to the garden'. There is almost no chance that Brian is a swan. It is almost certain that Jason is tired. It is likely that Greg is a rhino. There is almost no chance that if 'Greg is a rhino and Jason is tired' then Sandra took the milk. It is highly likely that if 'Greg is a rhino and Jason is tired' then Fred put down the apple. There is almost no chance that if either 'Brian is a swan' or 'Greg is a rhino' but not both then Bernhard is a lion.,It is likely that either 'Greg is a rhino' 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.02::factA. 0.95::factB. 0.7::factC. %hop1 0.02::factX:-and(factC,factB). 0.9::factY:-and(factC,factB). 0.02::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.692,0.7243448689737948,train,likely,probably not,It is likely that either 'Greg is a rhino' or 'Brian is a swan' but not both.,It is probably not the case that either 'Greg is a rhino' or 'Brian is a swan' but not both.,1,Either 'Greg is a rhino' or 'Brian is a swan' but not both. We believe that Mary went to the bedroom. Chances are about even that Julius is a swan. It is certain that Brian is a lion. Chances are about even that if 'Mary went to the bedroom and Julius is a swan' then Sandra left the football. There is a better than even chance that if 'Brian is a lion' or 'Julius is a swan' or both then Greg is white. It is almost certain that if 'Mary went to the bedroom and Julius is a swan' then John dropped the apple.,There is a better than even chance that either 'Brian is a lion' or 'John 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.75::factA. 0.5::factB. 1.0::factC. %hop1 0.5::factX:-and(factA,factB). 0.6::factY:-or(factC,factB). 0.95::factZ:-and(factA,factB). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.64375,0.6869373874774956,train,better than even,chances are slight,There is a better than even chance that either 'Brian is a lion' or 'John dropped the apple' but not both.,Chances are slight that either 'Brian is a lion' or 'John dropped the apple' but not both.,1,Either 'Brian is a lion' or 'John dropped the apple' but not both. There is a better than even chance that Greg is green. There is almost no chance that Lily is white. It is impossible that Daniel got the milk. It is probable that if either 'Lily is white' or 'Daniel got the milk' but not both then Mary dropped the apple. Chances are slight that if 'Lily is white and Greg is green' then Brian is a swan. It is impossible that if either 'Daniel got the milk' or 'Greg is green' but not both then John moved to the office.,It is highly unlikely that either 'Greg is green' 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.6::factA. 0.02::factB. 0.0::factC. %hop1 0.7::factX:-xor(factB,factC). 0.1::factY:-and(factB,factA). 0.0::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.6,0.3652730546109222,train,better than even,highly unlikely,There is a better than even chance that either 'Greg is green' or 'Daniel got the milk' but not both.,It is highly unlikely that either 'Greg is green' or 'Daniel got the milk' but not both.,0,Either 'Greg is green' or 'Daniel got the milk' but not both. Chances are slight that Brian is a lion. It is likely that John went to the bedroom. It is probable that Mary took the football. It is certain that if 'John went to the bedroom' or 'Brian is a lion' or both then Bernhard is green. We believe that if 'Mary took the football and John went to the bedroom' then Winona is a wolf. There is almost no chance that if either 'Mary took the football' or 'Brian is a lion' but not both then Greg is a frog.,It is probably the case that 'John went to the bedroom 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.1::factA. 0.7::factB. 0.7::factC. %hop1 1.0::factX:-or(factB,factA). 0.75::factY:-and(factC,factB). 0.02::factZ:-xor(factC,factA). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.3675,0.6481296259251851,train,probably not,probably,It is probably not the case that 'John went to the bedroom and Winona is a wolf'.,It is probably the case that 'John went to the bedroom and Winona is a wolf'.,0,'John went to the bedroom and Winona is a wolf'. Chances are about even that John went to the hallway. It is improbable that Jeff left the apple. There is almost no chance that Lily is gray. We believe that if 'Lily is gray and John went to the hallway' then Bill moved to the office. It is improbable that if either 'Lily is gray' or 'John went to the hallway' but not both then Sandra took the football. It is probably not the case that if 'John went to the hallway and Jeff left the apple' then Bernhard is a swan.,It is certain that 'Jeff left the apple' 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.5::factA. 0.1::factB. 0.02::factC. %hop1 0.75::factX:-and(factC,factA). 0.1::factY:-xor(factC,factA). 0.25::factZ:-and(factA,factB). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.10000000000000002,0.6061212242448489,train,chances are slight,certain,Chances are slight that 'Jeff left the apple' or 'Bernhard is a swan' or both.,It is certain that 'Jeff left the apple' or 'Bernhard is a swan' or both.,0,'Jeff left the apple' or 'Bernhard is a swan' or both. There is a very good chance that John went to the kitchen. Chances are slight that Greg is a frog. We believe that Jessica is a mouse. It is probably not the case that if 'John went to the kitchen and Jessica is a mouse' then Mary took the milk. We believe that if 'Jessica is a mouse' or 'Greg is a frog' or both then Julius is yellow. There is almost no chance that if 'Jessica is a mouse' or 'John went to the kitchen' or both then Bernhard is gray.,Chances are slight that 'John went to the kitchen 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.8::factA. 0.1::factB. 0.75::factC. %hop1 0.25::factX:-and(factA,factC). 0.75::factY:-or(factC,factB). 0.02::factZ:-or(factC,factA). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.08000000000000002,0.40688137627525506,train,chances are slight,better than even,Chances are slight that 'John went to the kitchen and Greg is a frog'.,There is a better than even chance that 'John went to the kitchen and Greg is a frog'.,1,'John went to the kitchen and Greg is a frog'. Chances are about even that Bernhard is a swan. Chances are about even that John dropped the milk. Chances are about even that Greg is white. It is likely that if 'Bernhard is a swan' or 'John dropped the milk' or both then Sandra got the milk. It is highly unlikely that if either 'John dropped the milk' or 'Bernhard is a swan' but not both then Mary went to the office. There is a very good chance that if 'Bernhard is a swan and Greg is white' then Lily is a rhino.,There is almost no chance that 'Mary went to the office 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.5::factA. 0.5::factB. 0.5::factC. %hop1 0.7::factX:-or(factA,factB). 0.05::factY:-xor(factB,factA). 0.8::factZ:-and(factA,factC). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.012500000000000006,0.48289657931586316,train,almost no chance,likely,There is almost no chance that 'Mary went to the office and Bernhard is a swan'.,It is likely that 'Mary went to the office and Bernhard is a swan'.,1,'Mary went to the office and Bernhard is a swan'. It is likely that Mary went to the bedroom. It is probably not the case that Bernhard is green. It is probably the case that Daniel got the milk. It is almost certain that if either 'Bernhard is green' or 'Mary went to the bedroom' but not both then Emily is a mouse. There is almost no chance that if 'Mary went to the bedroom' or 'Daniel got the milk' or both then Julius is white. It is highly unlikely that if 'Daniel got the milk and Bernhard is green' then John moved to the garden.,There is almost no chance that either 'Julius is white' 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.25::factB. 0.7::factC. %hop1 0.95::factX:-xor(factB,factA). 0.02::factY:-or(factA,factC). 0.05::factZ:-and(factC,factB). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.026600000000000002,0.7479495899179835,train,almost no chance,we believe,There is almost no chance that either 'Julius is white' or 'John moved to the garden' but not both.,We believe that either 'Julius is white' or 'John moved to the garden' but not both.,1,Either 'Julius is white' or 'John moved to the garden' but not both. It is highly unlikely that Julius is a rhino. There is a very good chance that Emily is a mouse. There is almost no chance that John went to the hallway. It is certain that if 'Julius is a rhino and Emily is a mouse' then Jason is tired. It is likely that if either 'Julius is a rhino' or 'Emily is a mouse' but not both then Brian is yellow. There is little chance that if either 'Julius is a rhino' or 'John went to the hallway' but not both then Greg is a lion.,There is a very good chance that 'Emily is a mouse' 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.05::factA. 0.8::factB. 0.02::factC. %hop1 1.0::factX:-and(factA,factB). 0.7::factY:-xor(factA,factB). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.81,0.50750150030006,train,very good chance,highly unlikely,There is a very good chance that 'Emily is a mouse' or 'Julius is a rhino' or both.,It is highly unlikely that 'Emily is a mouse' or 'Julius is a rhino' or both.,1,'Emily is a mouse' or 'Julius is a rhino' or both. It is certain that Bernhard is green. We believe that Winona is a mouse. There is almost no chance that Greg is white. It is certain that if either 'Greg is white' or 'Winona is a mouse' but not both then John put down the milk. It is certain that if either 'Greg is white' or 'Bernhard is green' but not both then Julius is a frog. It is highly unlikely that if 'Greg is white' or 'Bernhard is green' or both then Mary went to the garden.,We believe that 'Mary went to the garden' 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.75::factB. 0.02::factC. %hop1 1.0::factX:-xor(factC,factB). 1.0::factY:-xor(factC,factA). 0.05::factZ:-or(factC,factA). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.753,0.619123824764953,train,we believe,impossible,We believe that 'Mary went to the garden' or 'John put down the milk' or both.,It is impossible that 'Mary went to the garden' or 'John put down the milk' or both.,1,'Mary went to the garden' or 'John put down the milk' or both. It is highly unlikely that Brian is a swan. Chances are slight that Julius is yellow. It is probable that Mary went to the garden. It is almost certain that if 'Brian is a swan and Julius is yellow' then Bernhard is white. Chances are about even that if 'Brian is a swan and Mary went to the garden' then Jessica is a sheep. It is impossible that if either 'Julius is yellow' or 'Mary went to the garden' but not both then Bill left the milk.,It is probable that 'Brian is a swan and Mary 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.05::factA. 0.1::factB. 0.7::factC. %hop1 0.95::factX:-and(factA,factB). 0.5::factY:-and(factA,factC). 0.0::factZ:-xor(factB,factC). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.035,0.1746349269853971,train,highly unlikely,probable,It is highly unlikely that 'Brian is a swan and Mary went to the garden'.,It is probable that 'Brian is a swan and Mary went to the garden'.,0,'Brian is a swan and Mary went to the garden'. It is certain that Jason is bored. It is almost certain that Emily is a mouse. We doubt that Julius is a swan. It is highly likely that if 'Jason is bored' or 'Julius is a swan' or both then Lily is a frog. Chances are slight that if 'Emily is a mouse' or 'Jason is bored' or both then Winona is a wolf. It is impossible that if 'Emily is a mouse' or 'Jason is bored' or both then Greg is gray.,It is highly likely that either 'Winona is a wolf' or 'Jason is bored' 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.95::factB. 0.2::factC. %hop1 0.9::factX:-or(factA,factC). 0.1::factY:-or(factB,factA). 0.0::factZ:-or(factB,factA). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.9,0.3864772954590918,train,highly likely,probably not,It is highly likely that either 'Winona is a wolf' or 'Jason is bored' but not both.,It is probably not the case that either 'Winona is a wolf' or 'Jason is bored' but not both.,1,Either 'Winona is a wolf' or 'Jason is bored' but not both. There is almost no chance that John discarded the apple. There is almost no chance that Daniel took the milk. There is a better than even chance that Bernhard is a swan. It is improbable that if 'Daniel took the milk' or 'Bernhard is a swan' or both then Greg is yellow. There is a very good chance that if either 'John discarded the apple' or 'Bernhard is a swan' but not both then Brian is yellow. It is unlikely that if 'Bernhard is a swan and Daniel took the milk' then Julius is a frog.,It is certain that either 'Bernhard is a swan' 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.02::factA. 0.02::factB. 0.6::factC. %hop1 0.1::factX:-or(factB,factC). 0.8::factY:-xor(factA,factC). 0.2::factZ:-and(factC,factB). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.5408,0.7379475895179036,train,about even,certain,Chances are about even that either 'Bernhard is a swan' or 'Greg is yellow' but not both.,It is certain that either 'Bernhard is a swan' or 'Greg is yellow' but not both.,0,Either 'Bernhard is a swan' or 'Greg is yellow' but not both. It is almost certain that John moved to the garden. It is almost certain that Jason is tired. There is almost no chance that Mary went to the hallway. It is improbable that if 'John moved to the garden' or 'Jason is tired' or both then Bernhard is green. It is probable that if 'John moved to the garden' or 'Jason is tired' or both then Brian is a rhino. Chances are slight that if 'John moved to the garden and Mary went to the hallway' then Sandra left the apple.,There is almost no chance that either 'Sandra left the apple' 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.95::factA. 0.95::factB. 0.02::factC. %hop1 0.1::factX:-or(factA,factB). 0.7::factY:-or(factA,factB). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.69749,0.2900580116023205,train,probable,almost no chance,It is probable that either 'Sandra left the apple' or 'Brian is a rhino' but not both.,There is almost no chance that either 'Sandra left the apple' or 'Brian is a rhino' but not both.,0,Either 'Sandra left the apple' or 'Brian is a rhino' but not both. Chances are about even that Brian is green. There is a better than even chance that Mary went to the bedroom. Chances are about even that Julius is white. We believe that if either 'Julius is white' or 'Mary went to the bedroom' but not both then Jessica is a mouse. It is almost certain that if either 'Brian is green' or 'Julius is white' but not both then John discarded the milk. It is highly unlikely that if either 'Julius is white' or 'Brian is green' but not both then Bernhard is a swan.,Chances are about even that either 'Julius is white' or 'John 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.5::factA. 0.6::factB. 0.5::factC. %hop1 0.75::factX:-xor(factC,factB). 0.95::factY:-xor(factA,factC). 0.05::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.5,0.5903180636127225,train,about even,almost certain,Chances are about even that either 'Julius is white' or 'John discarded the milk' but not both.,It is almost certain that either 'Julius is white' or 'John discarded the milk' but not both.,1,Either 'Julius is white' or 'John discarded the milk' but not both. It is likely that Bernhard is gray. There is a better than even chance that Sumit is hungry. There is little chance that Lily is a swan. There is a better than even chance that if 'Bernhard is gray' or 'Sumit is hungry' or both then Brian is green. It is almost certain that if 'Sumit is hungry' or 'Lily is a swan' or both then John got the football. It is almost certain that if 'Sumit is hungry and Bernhard is gray' then Mary went to the bedroom.,It is probably not the case that 'Brian is green and Sumit 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.6::factB. 0.1::factC. %hop1 0.6::factX:-or(factA,factB). 0.95::factY:-or(factB,factC). 0.95::factZ:-and(factB,factA). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.36,0.2608521704340868,train,probably not,probable,It is probably not the case that 'Brian is green and Sumit is hungry'.,It is probable that 'Brian is green and Sumit is hungry'.,1,'Brian is green and Sumit is hungry'. It is highly unlikely that Jason is tired. There is almost no chance that Julius is white. It is impossible that Greg is green. It is impossible that if either 'Julius is white' or 'Jason is tired' but not both then Mary went to the hallway. There is little chance that if either 'Greg is green' or 'Jason is tired' but not both then John took the milk. There is almost no chance that if 'Julius is white' or 'Jason is tired' or both then Bernhard is a swan.,There is a very good chance that 'Mary went to the hallway 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.05::factA. 0.02::factB. 0.0::factC. %hop1 0.0::factX:-xor(factB,factA). 0.1::factY:-xor(factC,factA). 0.02::factZ:-or(factB,factA). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.0,0.09941988397679535,train,impossible,very good chance,It is impossible that 'Mary went to the hallway and Jason is tired'.,There is a very good chance that 'Mary went to the hallway and Jason is tired'.,0,'Mary went to the hallway and Jason is tired'. There is little chance that Greg is green. There is little chance that Jason is tired. There is almost no chance that Julius is a lion. It is highly unlikely that if 'Greg is green and Julius is a lion' then Bernhard is gray. It is highly unlikely that if 'Greg is green and Jason is tired' then Daniel left the milk. There is a very good chance that if 'Julius is a lion' or 'Greg is green' or both then John went to the garden.,It is probable that either 'Greg is green' 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.1::factA. 0.1::factB. 0.02::factC. %hop1 0.05::factX:-and(factA,factC). 0.05::factY:-and(factA,factB). 0.8::factZ:-or(factC,factA). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.18000000000000005,0.21224244848969795,train,we doubt,probable,We doubt that either 'Greg is green' or 'Jason is tired' but not both.,It is probable that either 'Greg is green' or 'Jason is tired' but not both.,0,Either 'Greg is green' or 'Jason is tired' but not both. Chances are slight that Lily is a swan. It is certain that Jason is tired. There is a better than even chance that John took the apple. Chances are slight that if 'Lily is a swan' or 'Jason is tired' or both then Mary got the milk. We believe that if 'Jason is tired' or 'John took the apple' or both then Jeff moved to the garden. It is probable that if 'Lily is a swan' or 'Jason is tired' or both then Brian is yellow.,It is highly likely that either 'Mary got the milk' 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.1::factA. 1.0::factB. 0.6::factC. %hop1 0.1::factX:-or(factA,factB). 0.75::factY:-or(factB,factC). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.9,0.09821964392878575,train,highly likely,highly unlikely,It is highly likely that either 'Mary got the milk' or 'Jason is tired' but not both.,It is highly unlikely that either 'Mary got the milk' or 'Jason is tired' but not both.,1,Either 'Mary got the milk' or 'Jason is tired' but not both. There is little chance that Greg is a rhino. It is almost certain that John went to the hallway. It is impossible that Mary got the apple. It is probably not the case that if 'Greg is a rhino' or 'Mary got the apple' or both then Lily is green. There is little chance that if either 'Mary got the apple' or 'Greg is a rhino' but not both then Sandra took the milk. It is impossible that if either 'Mary got the apple' or 'Greg is a rhino' but not both then Bernhard is a frog.,There is almost no chance that 'Lily is green' 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.95::factB. 0.0::factC. %hop1 0.25::factX:-or(factA,factC). 0.1::factY:-xor(factC,factA). 0.0::factZ:-xor(factC,factA). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.025000000000000012,0.5733146629325865,train,almost no chance,about even,There is almost no chance that 'Lily is green' or 'Bernhard is a frog' or both.,Chances are about even that 'Lily is green' or 'Bernhard is a frog' or both.,1,'Lily is green' or 'Bernhard is a frog' or both. Chances are slight that Bill moved to the office. There is little chance that Yann is thirsty. It is likely that Lily is a lion. It is impossible that if 'Lily is a lion' or 'Yann is thirsty' or both then Daniel dropped the milk. It is probably the case that if either 'Yann is thirsty' or 'Bill moved to the office' but not both then Greg is a swan. There is almost no chance that if 'Bill moved to the office' or 'Yann is thirsty' or both then Julius is gray.,There is little chance that either 'Lily is a lion' or 'Daniel 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.7::factC. %hop1 0.0::factX:-or(factC,factB). 0.7::factY:-xor(factB,factA). 0.02::factZ:-or(factA,factB). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.7,0.10182036407281456,train,probable,little chance,It is probable that either 'Lily is a lion' or 'Daniel dropped the milk' but not both.,There is little chance that either 'Lily is a lion' or 'Daniel dropped the milk' but not both.,0,Either 'Lily is a lion' or 'Daniel dropped the milk' but not both. We doubt that Julius is gray. There is almost no chance that Sumit is tired. There is almost no chance that Winona is a sheep. There is a very good chance that if 'Winona is a sheep' or 'Julius is gray' or both then Mary went to the kitchen. There is a very good chance that if 'Winona is a sheep' or 'Julius is gray' or both then Lily is a lion. We believe that if 'Julius is gray' or 'Winona is a sheep' or both then Brian is a frog.,It is impossible that 'Winona is a sheep 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.2::factA. 0.02::factB. 0.02::factC. %hop1 0.8::factX:-or(factC,factA). 0.8::factY:-or(factC,factA). 0.75::factZ:-or(factA,factC). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.004000000000000002,0.33046609321864373,train,impossible,we believe,It is impossible that 'Winona is a sheep and Julius is gray'.,We believe that 'Winona is a sheep and Julius is gray'.,1,'Winona is a sheep and Julius is gray'. There is almost no chance that John dropped the apple. It is likely that Bernhard is a frog. We believe that Greg is a swan. There is a better than even chance that if 'Greg is a swan' or 'Bernhard is a frog' or both then Jeff left the apple. There is little chance that if either 'Greg is a swan' or 'Bernhard is a frog' but not both then Mary went to the hallway. Chances are about even that if 'Bernhard is a frog' or 'John dropped the apple' or both then Brian is a lion.,Chances are about even that 'Mary went to the hallway' 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.02::factA. 0.7::factB. 0.75::factC. %hop1 0.6::factX:-or(factC,factB). 0.1::factY:-xor(factC,factB). 0.5::factZ:-or(factB,factA). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.38402500000000006,0.01800360072014403,train,about even,impossible,Chances are about even that 'Mary went to the hallway' or 'Brian is a lion' or both.,It is impossible that 'Mary went to the hallway' or 'Brian is a lion' or both.,1,'Mary went to the hallway' or 'Brian is a lion' or both. It is highly unlikely that Bill went to the bedroom. It is improbable that Brian is a lion. We believe that Lily is white. It is highly unlikely that if 'Lily is white' or 'Bill went to the bedroom' or both then Greg is a frog. Chances are slight that if 'Bill went to the bedroom and Lily is white' then John moved to the garden. It is highly unlikely that if 'Bill went to the bedroom' or 'Lily is white' or both then Emily is a wolf.,Chances are slight that either 'Lily is white' or 'Greg 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.05::factA. 0.1::factB. 0.75::factC. %hop1 0.05::factX:-or(factC,factA). 0.1::factY:-and(factA,factC). 0.05::factZ:-or(factA,factC). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.713125,0.7785557111422284,train,probably,chances are slight,It is probably the case that either 'Lily is white' or 'Greg is a frog' but not both.,Chances are slight that either 'Lily is white' or 'Greg is a frog' but not both.,0,Either 'Lily is white' or 'Greg is a frog' but not both. Chances are slight that Bernhard is a rhino. It is probable that Greg is yellow. There is almost no chance that Fred went to the garden. There is a better than even chance that if 'Fred went to the garden' or 'Bernhard is a rhino' or both then Brian is a swan. It is certain that if either 'Greg is yellow' or 'Bernhard is a rhino' but not both then Jessica is a cat. There is a better than even chance that if either 'Bernhard is a rhino' or 'Greg is yellow' but not both then Mary dropped the milk.,There is a better than even chance that 'Fred 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. 0.7::factB. 0.02::factC. %hop1 0.6::factX:-or(factC,factA). 1.0::factY:-xor(factB,factA). 0.6::factZ:-xor(factA,factB). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0020000000000000005,0.5575115023004601,train,impossible,better than even,It is impossible that 'Fred went to the garden and Bernhard is a rhino'.,There is a better than even chance that 'Fred went to the garden and Bernhard is a rhino'.,0,'Fred went to the garden and Bernhard is a rhino'. It is probably the case that John moved to the office. Chances are about even that Gertrude is a mouse. It is impossible that Lily is a swan. There is almost no chance that if 'Gertrude is a mouse and John moved to the office' then Bernhard is a lion. It is impossible that if 'Gertrude is a mouse and Lily is a swan' then Antoine is bored. It is highly unlikely that if either 'Gertrude is a mouse' or 'John moved to the office' but not both then Mary grabbed the milk.,It is certain that either 'Mary grabbed the milk' or 'Bernhard 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.02::factX:-and(factB,factA). 0.0::factY:-and(factB,factC). 0.05::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.03200000000000001,0.7751550310062012,train,almost no chance,certain,There is almost no chance that either 'Mary grabbed the milk' or 'Bernhard is a lion' but not both.,It is certain that either 'Mary grabbed the milk' or 'Bernhard is a lion' but not both.,0,Either 'Mary grabbed the milk' or 'Bernhard is a lion' but not both. It is probably the case that Bernhard is green. There is almost no chance that Gertrude is a mouse. It is certain that Sandra left the milk. There is a better than even chance that if either 'Gertrude is a mouse' or 'Bernhard is green' but not both then Julius is gray. There is a very good chance that if 'Gertrude is a mouse' or 'Sandra left the milk' or both then Jeff moved to the garden. There is little chance that if 'Gertrude is a mouse and Sandra left the milk' then Brian is white.,It is impossible that 'Jeff moved to the garden' 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.7::factA. 0.02::factB. 1.0::factC. %hop1 0.6::factX:-xor(factB,factA). 0.8::factY:-or(factB,factC). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.88304,0.06821364272854571,train,highly likely,impossible,It is highly likely that 'Jeff moved to the garden' or 'Julius is gray' or both.,It is impossible that 'Jeff moved to the garden' or 'Julius is gray' or both.,0,'Jeff moved to the garden' or 'Julius is gray' or both. There is almost no chance that Brian is a rhino. There is little chance that Yann is hungry. There is almost no chance that John left the football. It is probably the case that if either 'John left the football' or 'Brian is a rhino' but not both then Mary moved to the office. There is a very good chance that if 'Yann is hungry' or 'Brian is a rhino' or both then Julius is a swan. It is certain that if either 'Yann is hungry' or 'Brian is a rhino' but not both then Greg is white.,There is almost no chance that 'Julius is a swan 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.02::factA. 0.1::factB. 0.02::factC. %hop1 0.7::factX:-xor(factC,factA). 0.8::factY:-or(factB,factA). 1.0::factZ:-xor(factB,factA). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.012073599999999993,0.16843368673734746,train,almost no chance,likely,There is almost no chance that 'Julius is a swan and Mary moved to the office'.,It is likely that 'Julius is a swan and Mary moved to the office'.,1,'Julius is a swan and Mary moved to the office'. It is likely that Greg is a rhino. Chances are about even that Winona is a sheep. There is almost no chance that John discarded the milk. Chances are about even that if 'Greg is a rhino' or 'John discarded the milk' or both then Bernhard is a frog. It is likely that if either 'John discarded the milk' or 'Winona is a sheep' but not both then Lily is a swan. We believe that if 'John discarded the milk and Winona is a sheep' then Mary went to the bedroom.,It is probably the case that 'Mary went to the bedroom and John 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.7::factA. 0.5::factB. 0.02::factC. %hop1 0.5::factX:-or(factA,factC). 0.7::factY:-xor(factC,factB). 0.75::factZ:-and(factC,factB). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.007500000000000004,0.5159031806361273,train,impossible,probably,It is impossible that 'Mary went to the bedroom and John discarded the milk'.,It is probably the case that 'Mary went to the bedroom and John discarded the milk'.,0,'Mary went to the bedroom and John discarded the milk'. It is unlikely that Mary left the milk. It is probably the case that Jeff went to the garden. Chances are slight that John discarded the apple. There is a very good chance that if 'Jeff went to the garden' or 'John discarded the apple' or both then Greg is a lion. There is little chance that if 'Mary left the milk and John discarded the apple' then Lily is green. There is a very good chance that if either 'Jeff went to the garden' or 'Mary left the milk' but not both then Julius is gray.,We doubt that 'Jeff went to the garden' 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.2::factA. 0.7::factB. 0.1::factC. %hop1 0.8::factX:-or(factB,factC). 0.1::factY:-and(factA,factC). 0.8::factZ:-xor(factB,factA). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.7599999999999999,0.4872974594918984,train,we believe,we doubt,We believe that 'Jeff went to the garden' or 'Mary left the milk' or both.,We doubt that 'Jeff went to the garden' or 'Mary left the milk' or both.,0,'Jeff went to the garden' or 'Mary left the milk' or both. It is highly unlikely that Lily is a rhino. We doubt that Julius is gray. We doubt that John dropped the apple. We doubt that if 'Julius is gray and Lily is a rhino' then Bernhard is yellow. It is improbable that if 'Lily is a rhino and Julius is gray' then Fred left the apple. There is almost no chance that if 'John dropped the apple and Lily is a rhino' then Mary went to the hallway.,It is probably not the case that 'Lily is a rhino' or 'John 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.2::factB. 0.2::factC. %hop1 0.2::factX:-and(factB,factA). 0.1::factY:-and(factA,factB). 0.02::factZ:-and(factC,factA). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.24000000000000005,0.15283056611322265,train,probably not,certain,It is probably not the case that 'Lily is a rhino' or 'John dropped the apple' or both.,It is certain that 'Lily is a rhino' or 'John dropped the apple' or both.,1,'Lily is a rhino' or 'John dropped the apple' or both. There is almost no chance that Sandra took the football. It is unlikely that John went to the kitchen. It is improbable that Brian is yellow. There is little chance that if either 'Brian is yellow' or 'Sandra took the football' but not both then Julius is a rhino. It is highly likely that if 'Sandra took the football' or 'John went to the kitchen' or both then Antoine is thirsty. It is likely that if 'John went to the kitchen and Sandra took the football' then Lily is a frog.,It is improbable that 'Brian is yellow' 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.2::factB. 0.1::factC. %hop1 0.1::factX:-xor(factC,factA). 0.9::factY:-or(factA,factB). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.10180000000000003,0.26305261052210444,train,improbable,probably,It is improbable that 'Brian is yellow' or 'Julius is a rhino' or both.,It is probably the case that 'Brian is yellow' or 'Julius is a rhino' or both.,1,'Brian is yellow' or 'Julius is a rhino' or both. We doubt that Greg is gray. It is unlikely that Brian is yellow. It is almost certain that Julius is a rhino. It is probably the case that if either 'Brian is yellow' or 'Julius is a rhino' but not both then Mary left the apple. There is a very good chance that if either 'Brian is yellow' or 'Greg is gray' but not both then Lily is a lion. It is highly unlikely that if 'Brian is yellow and Greg is gray' then Daniel got the milk.,It is probably not the case that 'Brian is yellow' 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.2::factB. 0.95::factC. %hop1 0.7::factX:-xor(factB,factC). 0.8::factY:-xor(factB,factA). 0.05::factZ:-and(factB,factA). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.328,0.3500700140028006,train,probably not,probably,It is probably not the case that 'Brian is yellow' or 'Lily is a lion' or both.,It is probably the case that 'Brian is yellow' or 'Lily is a lion' or both.,1,'Brian is yellow' or 'Lily is a lion' or both. It is certain that Greg is yellow. We doubt that John put down the milk. Chances are slight that Emily is a mouse. It is improbable that if 'Greg is yellow and Emily is a mouse' then Julius is gray. There is little chance that if 'Emily is a mouse' or 'Greg is yellow' or both then Brian is a rhino. It is certain that if 'John put down the milk' or 'Emily is a mouse' or both then Bernhard is a swan.,It is certain that 'Greg is yellow 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.2::factB. 0.1::factC. %hop1 0.1::factX:-and(factA,factC). 0.1::factY:-or(factC,factA). 1.0::factZ:-or(factB,factC). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.010000000000000004,0.23704740948189637,train,almost no chance,certain,There is almost no chance that 'Greg is yellow and Julius is gray'.,It is certain that 'Greg is yellow and Julius is gray'.,0,'Greg is yellow and Julius is gray'. It is highly likely that Sandra got the milk. It is unlikely that Bernhard is a swan. There is little chance that Bill went to the office. Chances are about even that if either 'Sandra got the milk' or 'Bernhard is a swan' but not both then Emily is a sheep. It is highly likely that if 'Sandra got the milk and Bill went to the office' then Brian is a lion. It is highly likely that if 'Bernhard is a swan' or 'Sandra got the milk' or both then Julius is a frog.,It is almost certain that either 'Julius is a frog' 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.9::factA. 0.2::factB. 0.1::factC. %hop1 0.5::factX:-xor(factA,factB). 0.9::factY:-and(factA,factC). 0.9::factZ:-or(factB,factA). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.532,0.5959191838367673,train,about even,almost certain,Chances are about even that either 'Julius is a frog' or 'Emily is a sheep' but not both.,It is almost certain that either 'Julius is a frog' or 'Emily is a sheep' but not both.,0,Either 'Julius is a frog' or 'Emily is a sheep' but not both. There is a very good chance that Greg is gray. We doubt that Julius is a swan. It is impossible that Winona is a sheep. It is almost certain that if 'Greg is gray and Julius is a swan' then Lily is a frog. We doubt that if 'Winona is a sheep' or 'Julius is a swan' or both then Brian is a rhino. Chances are about even that if 'Winona is a sheep and Greg is gray' then John picked up the apple.,It is highly unlikely that 'Greg is gray' or 'John picked up 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.8::factA. 0.2::factB. 0.0::factC. %hop1 0.95::factX:-and(factA,factB). 0.2::factY:-or(factC,factB). 0.5::factZ:-and(factC,factA). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.8,0.7853570714142829,train,very good chance,highly unlikely,There is a very good chance that 'Greg is gray' or 'John picked up the apple' or both.,It is highly unlikely that 'Greg is gray' or 'John picked up the apple' or both.,0,'Greg is gray' or 'John picked up the apple' or both. Chances are about even that Jeff discarded the milk. There is almost no chance that Daniel left the football. There is a better than even chance that Lily is green. It is probable that if either 'Lily is green' or 'Daniel left the football' but not both then Brian is a rhino. It is unlikely that if either 'Jeff discarded the milk' or 'Daniel left the football' but not both then Julius is yellow. There is a very good chance that if 'Jeff discarded the milk' or 'Daniel left the football' or both then Bernhard is a swan.,Chances are about even that either 'Bernhard is a swan' or 'Daniel 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.5::factA. 0.02::factB. 0.6::factC. %hop1 0.7::factX:-xor(factC,factB). 0.2::factY:-xor(factA,factB). 0.8::factZ:-or(factA,factB). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.396,0.7533506701340268,train,about even,impossible,Chances are about even that either 'Bernhard is a swan' or 'Daniel left the football' but not both.,It is impossible that either 'Bernhard is a swan' or 'Daniel left the football' but not both.,1,Either 'Bernhard is a swan' or 'Daniel left the football' but not both. There is a very good chance that Brian is a frog. It is unlikely that Gertrude is a cat. It is likely that Winona is a sheep. We doubt that if 'Brian is a frog and Winona is a sheep' then Julius is white. There is a better than even chance that if 'Brian is a frog and Winona is a sheep' then Greg is a rhino. It is highly unlikely that if either 'Gertrude is a cat' or 'Brian is a frog' but not both then Bernhard is green.,There is a very good chance that 'Greg is a rhino' or 'Brian 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.8::factA. 0.2::factB. 0.7::factC. %hop1 0.2::factX:-and(factA,factC). 0.6::factY:-and(factA,factC). 0.05::factZ:-xor(factB,factA). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.8,0.4976995399079816,train,very good chance,chances are slight,There is a very good chance that 'Greg is a rhino' or 'Brian is a frog' or both.,Chances are slight that 'Greg is a rhino' or 'Brian is a frog' or both.,1,'Greg is a rhino' or 'Brian is a frog' or both. It is probably the case that Gertrude is a wolf. It is certain that Greg is white. It is probably the case that Brian is a rhino. It is almost certain that if either 'Brian is a rhino' or 'Greg is white' but not both then Sandra left the milk. It is probably not the case that if either 'Brian is a rhino' or 'Greg is white' but not both then Julius is green. Chances are about even that if 'Greg is white' or 'Brian is a rhino' or both then Daniel took the milk.,It is probably not the case that either 'Greg is white' 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.7::factA. 1.0::factB. 0.7::factC. %hop1 0.95::factX:-xor(factC,factB). 0.25::factY:-xor(factC,factB). 0.5::factZ:-or(factB,factC). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.30000000000000004,0.1882376475295059,train,probably not,we believe,It is probably not the case that either 'Greg is white' or 'Brian is a rhino' but not both.,We believe that either 'Greg is white' or 'Brian is a rhino' but not both.,1,Either 'Greg is white' or 'Brian is a rhino' but not both. There is almost no chance that Brian is a frog. There is little chance that Bernhard is gray. It is probably not the case that Julius is a swan. Chances are slight that if 'Bernhard is gray' or 'Julius is a swan' or both then Greg is a rhino. It is likely that if either 'Bernhard is gray' or 'Brian is a frog' but not both then John took the apple. It is highly unlikely that if 'Bernhard is gray' or 'Julius is a swan' or both then Sandra grabbed the milk.,It is highly likely that either 'Sandra grabbed the milk' 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.1::factB. 0.25::factC. %hop1 0.1::factX:-or(factB,factC). 0.7::factY:-xor(factB,factA). 0.05::factZ:-or(factB,factC). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.24125,0.5495099019803961,train,probably not,highly likely,It is probably not the case that either 'Sandra grabbed the milk' or 'Julius is a swan' but not both.,It is highly likely that either 'Sandra grabbed the milk' or 'Julius is a swan' but not both.,0,Either 'Sandra grabbed the milk' or 'Julius is a swan' but not both. It is improbable that Bernhard is a frog. It is highly likely that Brian is a rhino. It is probably the case that Yann is bored. It is probably the case that if 'Bernhard is a frog' or 'Brian is a rhino' or both then Greg is green. There is little chance that if either 'Brian is a rhino' or 'Bernhard is a frog' but not both then John grabbed the apple. We doubt that if either 'Brian is a rhino' or 'Yann is bored' but not both then Jeff went to the hallway.,It is improbable that 'Bernhard is a frog' 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.1::factA. 0.9::factB. 0.7::factC. %hop1 0.7::factX:-or(factA,factB). 0.1::factY:-xor(factB,factA). 0.2::factZ:-xor(factB,factC). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.91,0.04860972194438888,train,highly likely,improbable,It is highly likely that 'Bernhard is a frog' or 'Brian is a rhino' or both.,It is improbable that 'Bernhard is a frog' or 'Brian is a rhino' or both.,0,'Bernhard is a frog' or 'Brian is a rhino' or both. It is highly likely that Bernhard is a rhino. It is probably not the case that Bill went to the office. There is little chance that Emily is a sheep. It is probably not the case that if 'Emily is a sheep and Bernhard is a rhino' then Daniel got the football. Chances are about even that if 'Bill went to the office and Bernhard is a rhino' then Mary moved to the garden. There is a very good chance that if either 'Bernhard is a rhino' or 'Bill went to the office' but not both then Greg is a swan.,It is highly likely that either 'Bernhard is a rhino' or 'Daniel 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.25::factB. 0.1::factC. %hop1 0.25::factX:-and(factC,factA). 0.5::factY:-and(factB,factA). 0.8::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.8775000000000001,0.7381476295259052,train,highly likely,we doubt,It is highly likely that either 'Bernhard is a rhino' or 'Daniel got the football' but not both.,We doubt that either 'Bernhard is a rhino' or 'Daniel got the football' but not both.,1,Either 'Bernhard is a rhino' or 'Daniel got the football' but not both. It is probably not the case that Julius is yellow. It is probable that Bernhard is white. It is highly likely that Sandra dropped the milk. Chances are slight that if 'Julius is yellow' or 'Bernhard is white' or both then Jessica is a cat. There is a very good chance that if 'Bernhard is white' or 'Sandra dropped the milk' or both then Mary got the apple. It is probably not the case that if 'Sandra dropped the milk' or 'Bernhard is white' or both then John moved to the garden.,There is almost no chance that 'Jessica is a cat 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.9::factC. %hop1 0.1::factX:-or(factA,factB). 0.8::factY:-or(factB,factC). 0.25::factZ:-or(factC,factB). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.025000000000000012,0.22344468893778754,train,almost no chance,likely,There is almost no chance that 'Jessica is a cat and Julius is yellow'.,It is likely that 'Jessica is a cat and Julius is yellow'.,1,'Jessica is a cat and Julius is yellow'. It is unlikely that Sandra took the milk. It is likely that John went to the kitchen. It is highly likely that Brian is a swan. There is little chance that if either 'Brian is a swan' or 'John went to the kitchen' but not both then Mary left the football. There is a very good chance that if either 'Brian is a swan' or 'John went to the kitchen' but not both then Emily is a mouse. Chances are about even that if 'John went to the kitchen' or 'Brian is a swan' or both then Julius is gray.,Chances are about even 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.2::factA. 0.7::factB. 0.9::factC. %hop1 0.1::factX:-xor(factC,factB). 0.8::factY:-xor(factC,factB). 0.5::factZ:-or(factB,factC). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.48500000000000004,0.22364472894578916,train,about even,certain,Chances are about even that either 'Emily is a mouse' or 'Julius is gray' but not both.,It is 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. There is a very good chance that Lily is a lion. There is little chance that John went to the garden. It is probably the case that Daniel took the apple. It is probably the case that if 'John went to the garden' or 'Daniel took the apple' or both then Greg is a swan. It is probably not the case that if 'John went to the garden' or 'Lily is a lion' or both then Sandra got the milk. It is certain that if 'John went to the garden' or 'Lily is a lion' or both then Brian is green.,It is impossible that either 'Daniel took the apple' 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.8::factA. 0.1::factB. 0.7::factC. %hop1 0.7::factX:-or(factB,factC). 0.25::factY:-or(factB,factA). 1.0::factZ:-or(factB,factA). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.38,0.4624924984996999,train,about even,impossible,Chances are about even that either 'Daniel took the apple' or 'Lily is a lion' but not both.,It is impossible that either 'Daniel took the apple' or 'Lily is a lion' but not both.,0,Either 'Daniel took the apple' or 'Lily is a lion' but not both. It is probably the case that Sandra left the milk. We doubt that Brian is a swan. We believe that John took the football. It is probably the case that if 'John took the football and Brian is a swan' then Daniel dropped the apple. There is a very good chance that if 'John took the football and Sandra left the milk' then Lily is green. There is a very good chance that if either 'Brian is a swan' or 'Sandra left the milk' but not both then Greg is a rhino.,It is improbable that either 'Brian is a swan' or 'Sandra 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.2::factB. 0.75::factC. %hop1 0.7::factX:-and(factC,factB). 0.8::factY:-and(factC,factA). 0.8::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.62,0.39347869573914784,train,better than even,improbable,There is a better than even chance that either 'Brian is a swan' or 'Sandra left the milk' but not both.,It is improbable that either 'Brian is a swan' or 'Sandra left the milk' but not both.,0,Either 'Brian is a swan' or 'Sandra left the milk' but not both. It is almost certain that Brian is a rhino. It is probable that Jason is tired. It is almost certain that Bernhard is a swan. It is certain that if 'Bernhard is a swan and Brian is a rhino' then Mary went to the garden. It is likely that if 'Bernhard is a swan and Brian is a rhino' then Greg is a swan. There is little chance that if either 'Brian is a rhino' or 'Jason is tired' but not both then Lily is a lion.,It is probably not the case that either 'Jason is tired' 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.95::factA. 0.7::factB. 0.95::factC. %hop1 1.0::factX:-and(factC,factA). 0.7::factY:-and(factC,factA). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.32000000000000006,0.03100620124024805,train,probably not,almost certain,It is probably not the case that either 'Jason is tired' or 'Brian is a rhino' but not both.,It is almost certain that either 'Jason is tired' or 'Brian is a rhino' but not both.,1,Either 'Jason is tired' or 'Brian is a rhino' but not both. Chances are slight that Sandra left the milk. We believe that Greg is yellow. It is highly likely that John discarded the apple. Chances are about even that if 'Greg is yellow' or 'John discarded the apple' or both then Gertrude is a sheep. There is a very good chance that if either 'Sandra left the milk' or 'Greg is yellow' but not both then Lily is a rhino. Chances are about even that if 'Greg is yellow and Sandra left the milk' then Mary put down the apple.,We believe that 'Greg 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.1::factA. 0.75::factB. 0.9::factC. %hop1 0.5::factX:-or(factB,factC). 0.8::factY:-xor(factA,factB). 0.5::factZ:-and(factB,factA). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.77,0.6305261052210442,train,we believe,unlikely,We believe that 'Greg is yellow' or 'Lily is a rhino' or both.,It is unlikely that 'Greg is yellow' or 'Lily is a rhino' or both.,1,'Greg is yellow' or 'Lily is a rhino' or both. It is improbable that Lily is white. There is a better than even chance that Mary put down the apple. It is unlikely that Julius is a lion. It is probably not the case that if 'Julius is a lion and Lily is white' then Sandra dropped the milk. There is a very good chance that if 'Mary put down the apple and Lily is white' then Emily is a mouse. There is almost no chance that if 'Mary put down the apple and Lily is white' then John went to the office.,There is a better than even chance that either 'John went to the office' 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.6::factB. 0.2::factC. %hop1 0.25::factX:-and(factC,factA). 0.8::factY:-and(factB,factA). 0.02::factZ:-and(factB,factA). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.5988,0.2470494098819764,train,better than even,highly unlikely,There is a better than even chance that either 'John went to the office' or 'Mary put down the apple' but not both.,It is highly unlikely that either 'John went to the office' or 'Mary put down the apple' but not both.,1,Either 'John went to the office' or 'Mary put down the apple' but not both. It is probable that Lily is gray. There is little chance that Gertrude is a cat. It is unlikely that Mary moved to the garden. It is almost certain that if 'Mary moved to the garden and Lily is gray' then John went to the office. There is a very good chance that if either 'Mary moved to the garden' or 'Gertrude is a cat' but not both then Emily is a mouse. We believe that if either 'Lily is gray' or 'Gertrude is a cat' but not both then Bernhard is a frog.,It is highly likely that 'Mary moved to the garden 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.1::factB. 0.2::factC. %hop1 0.95::factX:-and(factC,factA). 0.8::factY:-xor(factC,factB). 0.75::factZ:-xor(factA,factB). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.02000000000000001,0.7261452290458091,train,almost no chance,highly likely,There is almost no chance that 'Mary moved to the garden and Gertrude is a cat'.,It is highly likely that 'Mary moved to the garden and Gertrude is a cat'.,0,'Mary moved to the garden and Gertrude is a cat'. It is improbable that Bernhard is a frog. We doubt that Sumit is thirsty. It is highly likely that Greg is a rhino. It is almost certain that if either 'Bernhard is a frog' or 'Sumit is thirsty' but not both then Lily is green. It is likely that if 'Greg is a rhino' or 'Sumit is thirsty' or both then Mary got the football. There is a very good chance that if 'Bernhard is a frog and Sumit is thirsty' then Brian is a swan.,It is highly likely that 'Greg is a rhino' 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.1::factA. 0.2::factB. 0.9::factC. %hop1 0.95::factX:-xor(factA,factB). 0.7::factY:-or(factC,factB). 0.8::factZ:-and(factA,factB). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.9247,0.3662732546509302,train,highly likely,highly unlikely,It is highly likely that 'Greg is a rhino' or 'Lily is green' or both.,It is highly unlikely that 'Greg is a rhino' or 'Lily is green' or both.,1,'Greg is a rhino' or 'Lily is green' or both. It is likely that Lily is white. It is certain that Gertrude is a sheep. It is highly likely that Mary went to the garden. There is a better than even chance that if either 'Mary went to the garden' or 'Gertrude is a sheep' but not both then John picked up the milk. It is highly likely that if 'Mary went to the garden and Gertrude is a sheep' then Sandra got the football. It is likely that if 'Lily is white' or 'Gertrude is a sheep' or both then Brian is yellow.,There is a very good chance that 'Mary went to the garden 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. 1.0::factB. 0.9::factC. %hop1 0.6::factX:-xor(factC,factB). 0.9::factY:-and(factC,factB). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.81,0.09441888377675535,train,very good chance,almost no chance,There is a very good chance that 'Mary went to the garden and Sandra got the football'.,There is almost no chance that 'Mary went to the garden and Sandra got the football'.,1,'Mary went to the garden and Sandra got the football'. It is almost certain that Julius is a swan. It is highly unlikely that Lily is green. We doubt that Greg is yellow. There is a very good chance that if 'Julius is a swan' or 'Lily is green' or both then Winona is a sheep. It is likely that if 'Julius is a swan' or 'Greg is yellow' or both then Brian is a frog. It is probably not the case that if either 'Julius is a swan' or 'Lily is green' but not both then Mary went to the bedroom.,It is probably the case that 'Greg is yellow' 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.95::factA. 0.05::factB. 0.2::factC. %hop1 0.8::factX:-or(factA,factB). 0.7::factY:-or(factA,factC). 0.25::factZ:-xor(factA,factB). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.24000000000000005,0.3252650530106021,train,probably not,probably,It is probably not the case that 'Greg is yellow' or 'Lily is green' or both.,It is probably the case that 'Greg is yellow' or 'Lily is green' or both.,0,'Greg is yellow' or 'Lily is green' or both. It is almost certain that Yann is tired. It is certain that Mary left the football. There is a very good chance that Bernhard is a frog. There is little chance that if either 'Mary left the football' or 'Yann is tired' but not both then John went to the office. It is probable that if 'Mary left the football and Bernhard is a frog' then Winona is a mouse. We doubt that if either 'Yann is tired' or 'Bernhard is a frog' but not both then Julius is yellow.,It is highly unlikely that 'Julius is yellow and Yann 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.95::factA. 1.0::factB. 0.8::factC. %hop1 0.1::factX:-xor(factB,factA). 0.7::factY:-and(factB,factC). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.037999999999999985,0.0634126825365073,train,highly unlikely,probable,It is highly unlikely that 'Julius is yellow and Yann is tired'.,It is probable that 'Julius is yellow and Yann is tired'.,1,'Julius is yellow and Yann is tired'. It is impossible that Mary went to the office. We believe that Jeff put down the milk. We doubt that Emily is a mouse. There is a very good chance that if either 'Jeff put down the milk' or 'Emily is a mouse' but not both then Julius is white. It is probably not the case that if either 'Emily is a mouse' or 'Mary went to the office' but not both then Greg is yellow. It is probable that if 'Emily is a mouse' or 'Mary went to the office' or both then Bernhard is gray.,We believe that either 'Emily is a mouse' 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.0::factA. 0.75::factB. 0.2::factC. %hop1 0.8::factX:-xor(factB,factC). 0.25::factY:-xor(factC,factA). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.2,0.6579315863172635,train,we doubt,we believe,We doubt that either 'Emily is a mouse' or 'Mary went to the office' but not both.,We believe that either 'Emily is a mouse' or 'Mary went to the office' but not both.,0,Either 'Emily is a mouse' or 'Mary went to the office' but not both. It is impossible that Bernhard is gray. We doubt that Greg is white. It is almost certain that Jeff went to the hallway. We believe that if 'Greg is white' or 'Bernhard is gray' or both then Daniel put down the milk. Chances are slight that if 'Jeff went to the hallway and Greg is white' then John dropped the milk. It is likely that if either 'Bernhard is gray' or 'Jeff went to the hallway' but not both then Lily is green.,It is impossible that 'Bernhard is gray 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.2::factB. 0.95::factC. %hop1 0.75::factX:-or(factB,factA). 0.1::factY:-and(factC,factB). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0,0.5859171834366873,train,impossible,we believe,It is impossible that 'Bernhard is gray and Greg is white'.,We believe that 'Bernhard is gray and Greg is white'.,1,'Bernhard is gray and Greg is white'. Chances are about even that Daniel dropped the milk. It is certain that Julius is a rhino. It is certain that Brian is yellow. There is almost no chance that if 'Daniel dropped the milk and Julius is a rhino' then Greg is a swan. It is unlikely that if either 'Brian is yellow' or 'Julius is a rhino' but not both then Bernhard is a frog. There is a very good chance that if either 'Daniel dropped the milk' or 'Brian is yellow' but not both then John went to the hallway.,It is highly likely that either 'Brian is yellow' 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.5::factA. 1.0::factB. 1.0::factC. %hop1 0.02::factX:-and(factA,factB). 0.2::factY:-xor(factC,factB). 0.8::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.0,0.13862772554510902,train,impossible,highly likely,It is impossible that either 'Brian is yellow' or 'Julius is a rhino' but not both.,It is highly likely that either 'Brian is yellow' or 'Julius is a rhino' but not both.,0,Either 'Brian is yellow' or 'Julius is a rhino' but not both. It is almost certain that Lily is a swan. There is almost no chance that Gertrude is a mouse. It is probable that John took the apple. It is probably the case that if either 'Lily is a swan' or 'Gertrude is a mouse' but not both then Julius is gray. It is highly unlikely that if 'John took the apple' or 'Gertrude is a mouse' or both then Bernhard is a frog. It is almost certain that if 'John took the apple' or 'Gertrude is a mouse' or both then Mary went to the office.,It is almost certain that 'Bernhard 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.95::factA. 0.02::factB. 0.7::factC. %hop1 0.7::factX:-xor(factA,factB). 0.05::factY:-or(factC,factB). 0.95::factZ:-or(factC,factB). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.9517649999999999,0.4166833366673335,train,almost certain,unlikely,It is almost certain that 'Bernhard is a frog' or 'Lily is a swan' or both.,It is unlikely that 'Bernhard is a frog' or 'Lily is a swan' or both.,1,'Bernhard is a frog' or 'Lily is a swan' or both. There is little chance that Bernhard is a frog. It is highly unlikely that John left the football. It is almost certain that Mary went to the office. Chances are about even that if 'John left the football' or 'Mary went to the office' or both then Winona is a wolf. It is certain that if 'Bernhard is a frog' or 'Mary went to the office' or both then Lily is a rhino. There is a very good chance that if 'John left the football and Mary went to the office' then Julius is gray.,It is highly unlikely that either 'Lily is a rhino' 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.1::factA. 0.05::factB. 0.95::factC. %hop1 0.5::factX:-or(factB,factC). 1.0::factY:-or(factA,factC). 0.8::factZ:-and(factB,factC). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.855,0.10082016403280657,train,highly likely,highly unlikely,It is highly likely that either 'Lily is a rhino' or 'Bernhard is a frog' but not both.,It is highly unlikely that either 'Lily is a rhino' or 'Bernhard is a frog' but not both.,0,Either 'Lily is a rhino' or 'Bernhard is a frog' but not both. It is improbable that John picked up the apple. It is probably not the case that Lily is gray. It is improbable that Mary went to the office. We doubt that if 'Lily is gray and John picked up the apple' then Gertrude is a cat. It is probably the case that if 'John picked up the apple' or 'Mary went to the office' or both then Brian is a lion. It is highly likely that if either 'Lily is gray' or 'Mary went to the office' but not both then Bernhard is a swan.,It is likely that either 'Mary went to the office' 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.25::factB. 0.1::factC. %hop1 0.2::factX:-and(factB,factA). 0.7::factY:-or(factA,factC). 0.9::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.30000000000000004,0.7605521104220844,train,probably not,likely,It is probably not the case that either 'Mary went to the office' or 'Lily is gray' but not both.,It is likely that either 'Mary went to the office' or 'Lily is gray' but not both.,0,Either 'Mary went to the office' or 'Lily is gray' but not both. We doubt that Brian is green. It is unlikely that Lily is gray. There is a better than even chance that Mary went to the bedroom. It is probably not the case that if 'Brian is green' or 'Mary went to the bedroom' or both then Jessica is a mouse. It is likely that if either 'Lily is gray' or 'Mary went to the bedroom' but not both then Bernhard is a lion. It is impossible that if 'Mary went to the bedroom' or 'Lily is gray' or both then Julius is a rhino.,It is almost certain that either 'Jessica is a mouse' or 'Bernhard 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.2::factA. 0.2::factB. 0.6::factC. %hop1 0.25::factX:-or(factA,factC). 0.7::factY:-xor(factB,factC). 0.0::factZ:-or(factC,factB). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.38839999999999997,0.30026005201040207,train,about even,almost certain,Chances are about even that either 'Jessica is a mouse' or 'Bernhard is a lion' but not both.,It is almost certain that either 'Jessica is a mouse' or 'Bernhard is a lion' but not both.,0,Either 'Jessica is a mouse' or 'Bernhard is a lion' but not both. It is certain that Bernhard is yellow. There is almost no chance that Greg is yellow. It is probable that Julius is green. It is highly unlikely that if 'Julius is green' or 'Greg is yellow' or both then Mary went to the bedroom. It is impossible that if either 'Julius is green' or 'Greg is yellow' but not both then Sandra put down the milk. There is almost no chance that if 'Greg is yellow' or 'Bernhard is yellow' or both then John moved to the office.,It is impossible that 'Greg is yellow 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 1.0::factA. 0.02::factB. 0.7::factC. %hop1 0.05::factX:-or(factC,factB). 0.0::factY:-xor(factC,factB). 0.02::factZ:-or(factB,factA). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.0010000000000000002,0.5301060212042409,train,impossible,we believe,It is impossible that 'Greg is yellow and Mary went to the bedroom'.,We believe that 'Greg is yellow and Mary went to the bedroom'.,1,'Greg is yellow and Mary went to the bedroom'. It is probable that Greg is green. It is probably the case that Julius is gray. It is probably the case that Brian is a lion. It is unlikely that if 'Greg is green' or 'Julius is gray' or both then Lily is yellow. We believe that if 'Julius is gray' or 'Brian is a lion' or both then Mary dropped the milk. There is a better than even chance that if either 'Greg is green' or 'Brian is a lion' but not both then John moved to the office.,It is impossible that 'Mary dropped 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.7::factA. 0.7::factB. 0.7::factC. %hop1 0.2::factX:-or(factA,factB). 0.75::factY:-or(factB,factC). 0.6::factZ:-xor(factA,factC). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.8575,0.7183436687337468,train,highly likely,impossible,It is highly likely that 'Mary dropped the milk' or 'Brian is a lion' or both.,It is impossible that 'Mary dropped the milk' or 'Brian is a lion' or both.,0,'Mary dropped the milk' or 'Brian is a lion' or both. There is little chance that Winona is a mouse. We doubt that Brian is gray. It is unlikely that Julius is a swan. It is unlikely that if 'Winona is a mouse' or 'Julius is a swan' or both then Jason is tired. We believe that if 'Brian is gray and Julius is a swan' then John went to the office. It is highly likely that if 'Julius is a swan and Brian is gray' then Bernhard is a rhino.,It is likely that 'Winona is a mouse' 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.2::factB. 0.2::factC. %hop1 0.2::factX:-or(factA,factC). 0.75::factY:-and(factB,factC). 0.9::factZ:-and(factC,factB). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.28,0.7735547109421884,train,probably not,likely,It is probably not the case that 'Winona is a mouse' or 'Julius is a swan' or both.,It is likely that 'Winona is a mouse' or 'Julius is a swan' or both.,0,'Winona is a mouse' or 'Julius is a swan' or both. Chances are slight that Lily is a rhino. Chances are slight that John dropped the apple. It is impossible that Daniel put down the milk. It is impossible that if 'John dropped the apple and Lily is a rhino' then Greg is gray. It is likely that if 'Daniel put down the milk and Lily is a rhino' then Mary went to the office. There is a better than even chance that if 'Daniel put down the milk' or 'Lily is a rhino' or both then Bernhard is a frog.,It is highly unlikely that 'Greg is gray' 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.1::factB. 0.0::factC. %hop1 0.0::factX:-and(factB,factA). 0.7::factY:-and(factC,factA). 0.6::factZ:-or(factC,factA). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.060000000000000026,0.08381676335267053,train,highly unlikely,very good chance,It is highly unlikely that 'Greg is gray' or 'Bernhard is a frog' or both.,There is a very good chance that 'Greg is gray' or 'Bernhard is a frog' or both.,1,'Greg is gray' or 'Bernhard is a frog' or both. Chances are about even that Bernhard is green. There is little chance that Sandra left the football. It is probably the case that Julius is a lion. There is little chance that if 'Julius is a lion and Sandra left the football' then John moved to the office. It is unlikely that if either 'Sandra left the football' or 'Julius is a lion' but not both then Jeff dropped the apple. It is certain that if 'Julius is a lion' or 'Sandra left the football' or both then Brian is a rhino.,Chances are slight that 'Jeff 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.5::factA. 0.1::factB. 0.7::factC. %hop1 0.1::factX:-and(factC,factB). 0.2::factY:-xor(factB,factC). 1.0::factZ:-or(factC,factB). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.73,0.6119223844768954,train,we believe,chances are slight,We believe that 'Jeff dropped the apple' or 'Brian is a rhino' or both.,Chances are slight that 'Jeff dropped the apple' or 'Brian is a rhino' or both.,0,'Jeff dropped the apple' or 'Brian is a rhino' or both. We doubt that John moved to the office. There is a better than even chance that Greg is a frog. There is a very good chance that Brian is gray. There is little chance that if 'Brian is gray' or 'John moved to the office' or both then Mary went to the office. There is a better than even chance that if 'Greg is a frog and Brian is gray' then Jeff left the apple. Chances are slight that if 'John moved to the office' or 'Brian is gray' or both then Gertrude is a mouse.,There is a very good chance that 'Jeff left the apple' 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.2::factA. 0.6::factB. 0.8::factC. %hop1 0.1::factX:-or(factC,factA). 0.6::factY:-and(factB,factC). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.8,0.34766953390678135,train,very good chance,chances are slight,There is a very good chance that 'Jeff left the apple' or 'Brian is gray' or both.,Chances are slight that 'Jeff left the apple' or 'Brian is gray' or both.,1,'Jeff left the apple' or 'Brian is gray' or both. Chances are about even that John put down the apple. It is probably not the case that Bernhard is a frog. It is unlikely that Mary got the football. It is unlikely that if either 'John put down the apple' or 'Mary got the football' but not both then Bill moved to the office. It is improbable that if 'Bernhard is a frog' or 'John put down the apple' or both then Jessica is a cat. It is unlikely that if 'Bernhard is a frog and John put down the apple' then Greg is white.,It is certain that either 'Mary got the football' 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.5::factA. 0.25::factB. 0.2::factC. %hop1 0.2::factX:-xor(factA,factC). 0.1::factY:-or(factB,factA). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.26,0.33446689337867574,train,probably not,certain,It is probably not the case that either 'Mary got the football' or 'Bill moved to the office' but not both.,It is certain that either 'Mary got the football' or 'Bill moved to the office' but not both.,0,Either 'Mary got the football' or 'Bill moved to the office' but not both. It is highly unlikely that Mary went to the hallway. There is a very good chance that Daniel got the football. There is little chance that John discarded the apple. Chances are about even that if 'John discarded the apple' or 'Daniel got the football' or both then Bernhard is a rhino. It is impossible that if 'Mary went to the hallway' or 'Daniel got the football' or both then Sandra grabbed the milk. It is highly unlikely that if 'Daniel got the football and John discarded the apple' then Brian is a swan.,There is a very good chance that either 'Sandra grabbed the milk' or 'Daniel 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.05::factA. 0.8::factB. 0.1::factC. %hop1 0.5::factX:-or(factC,factB). 0.0::factY:-or(factA,factB). 0.05::factZ:-and(factB,factC). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.8,0.20264052810562114,train,very good chance,impossible,There is a very good chance that either 'Sandra grabbed the milk' or 'Daniel got the football' but not both.,It is impossible that either 'Sandra grabbed the milk' or 'Daniel got the football' but not both.,1,Either 'Sandra grabbed the milk' or 'Daniel got the football' but not both. Chances are about even that Jason is bored. It is almost certain that Brian is white. There is a better than even chance that Bill went to the garden. Chances are about even that if 'Jason is bored and Brian is white' then Lily is a frog. It is almost certain that if 'Bill went to the garden' or 'Jason is bored' or both then Bernhard is yellow. It is highly unlikely that if 'Brian is white and Jason is bored' then Julius is a frog.,It is probably not the case that 'Julius is a frog' or 'Bernhard 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.95::factB. 0.6::factC. %hop1 0.5::factX:-and(factA,factB). 0.95::factY:-or(factC,factA). 0.05::factZ:-and(factB,factA). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.7611875,0.6693338667733547,train,we believe,probably not,We believe that 'Julius is a frog' or 'Bernhard is yellow' or both.,It is probably not the case that 'Julius is a frog' or 'Bernhard is yellow' or both.,0,'Julius is a frog' or 'Bernhard is yellow' or both. Chances are slight that Julius is a lion. Chances are slight that John grabbed the apple. It is probable that Bernhard is white. It is probably the case that if either 'Bernhard is white' or 'John grabbed the apple' but not both then Brian is yellow. It is highly likely that if 'Bernhard is white' or 'Julius is a lion' or both then Sumit is bored. It is probable that if 'Julius is a lion and Bernhard is white' then Mary dropped the apple.,There is a very good chance that 'Mary dropped the apple 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.1::factB. 0.7::factC. %hop1 0.7::factX:-xor(factC,factB). 0.9::factY:-or(factC,factA). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.030869999999999998,0.2540508101620324,train,almost no chance,very good chance,There is almost no chance that 'Mary dropped the apple and Brian is yellow'.,There is a very good chance that 'Mary dropped the apple and Brian is yellow'.,0,'Mary dropped the apple and Brian is yellow'. There is a better than even chance that Fred dropped the milk. It is highly unlikely that Lily is a rhino. It is improbable that Bernhard is a swan. It is probably the case that if 'Bernhard is a swan and Lily is a rhino' then Brian is a frog. It is highly unlikely that if 'Lily is a rhino and Bernhard is a swan' then Julius is a lion. We doubt that if 'Bernhard is a swan' or 'Lily is a rhino' or both then Mary left the apple.,It is highly unlikely that either 'Lily is a rhino' 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.6::factA. 0.05::factB. 0.1::factC. %hop1 0.7::factX:-and(factC,factB). 0.05::factY:-and(factB,factC). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.0465,0.5387077415483097,train,highly unlikely,probably,It is highly unlikely that either 'Lily is a rhino' or 'Brian is a frog' but not both.,It is probably the case that either 'Lily is a rhino' or 'Brian is a frog' but not both.,1,Either 'Lily is a rhino' or 'Brian is a frog' but not both. It is unlikely that Bernhard is a lion. Chances are slight that Bill left the milk. It is probably not the case that Mary dropped the milk. It is improbable that if 'Bernhard is a lion and Bill left the milk' then Antoine is hungry. There is a very good chance that if either 'Mary dropped the milk' or 'Bernhard is a lion' but not both then John moved to the office. It is unlikely that if 'Mary dropped the milk and Bernhard is a lion' then Greg is a rhino.,There is almost no chance that 'Mary dropped the milk and Bill 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. 0.1::factB. 0.25::factC. %hop1 0.1::factX:-and(factA,factB). 0.8::factY:-xor(factC,factA). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.025000000000000012,0.10302060412082417,train,almost no chance,better than even,There is almost no chance that 'Mary dropped the milk and Bill left the milk'.,There is a better than even chance that 'Mary dropped the milk and Bill left the milk'.,1,'Mary dropped the milk and Bill left the milk'. There is a very good chance that Gertrude is a wolf. It is probably the case that John grabbed the apple. It is likely that Bernhard is gray. It is likely that if 'Bernhard is gray and Gertrude is a wolf' then Sandra left the football. We believe that if either 'Bernhard is gray' or 'Gertrude is a wolf' but not both then Lily is yellow. There is a better than even chance that if either 'John grabbed the apple' or 'Gertrude is a wolf' but not both then Brian is a rhino.,It is highly likely that 'Bernhard is gray' or 'John 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.8::factA. 0.7::factB. 0.7::factC. %hop1 0.7::factX:-and(factC,factA). 0.75::factY:-xor(factC,factA). 0.6::factZ:-xor(factB,factA). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9099999999999999,0.5185037007401481,train,highly likely,almost no chance,It is highly likely that 'Bernhard is gray' or 'John grabbed the apple' or both.,There is almost no chance that 'Bernhard is gray' or 'John grabbed the apple' or both.,1,'Bernhard is gray' or 'John grabbed the apple' or both. It is almost certain that Jessica is a cat. It is probable that Winona is a sheep. It is highly unlikely that John moved to the garden. It is probable that if 'John moved to the garden and Jessica is a cat' then Sandra dropped the milk. It is likely that if 'Jessica is a cat and John moved to the garden' then Mary went to the bedroom. It is probably not the case that if either 'John moved to the garden' or 'Winona is a sheep' but not both then Bernhard is a swan.,There is almost no chance that either 'Mary went to the bedroom' 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.95::factA. 0.7::factB. 0.05::factC. %hop1 0.7::factX:-and(factC,factA). 0.7::factY:-and(factA,factC). 0.25::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.6867,0.3284656931386277,train,likely,almost no chance,It is likely that either 'Mary went to the bedroom' or 'Winona is a sheep' but not both.,There is almost no chance that either 'Mary went to the bedroom' or 'Winona is a sheep' but not both.,0,Either 'Mary went to the bedroom' or 'Winona is a sheep' but not both. Chances are about even that Sandra dropped the milk. It is impossible that Julius is a swan. There is little chance that Mary put down the apple. Chances are slight that if either 'Mary put down the apple' or 'Julius is a swan' but not both then Bernhard is a frog. It is probably the case that if either 'Julius is a swan' or 'Sandra dropped the milk' but not both then John went to the kitchen. There is a better than even chance that if either 'Julius is a swan' or 'Sandra dropped the milk' but not both then Brian is white.,We believe 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.5::factA. 0.0::factB. 0.1::factC. %hop1 0.1::factX:-xor(factC,factB). 0.7::factY:-xor(factB,factA). 0.6::factZ:-xor(factB,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.30000000000000004,0.7703540708141629,train,probably not,we believe,It is probably not the case that 'Sandra dropped the milk and Brian is white'.,We believe that 'Sandra dropped the milk and Brian is white'.,0,'Sandra dropped the milk and Brian is white'. Chances are slight that Emily is a sheep. It is highly likely that Antoine is hungry. There is a very good chance that Greg is yellow. It is probably the case that if 'Emily is a sheep' or 'Antoine is hungry' or both then Brian is green. It is probably not the case that if 'Greg is yellow' or 'Emily is a sheep' or both then John discarded the apple. It is probably not the case that if 'Emily is a sheep and Antoine is hungry' then Daniel dropped the milk.,It is highly unlikely that either 'Daniel dropped the milk' 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.1::factA. 0.9::factB. 0.8::factC. %hop1 0.7::factX:-or(factA,factB). 0.25::factY:-or(factC,factA). 0.25::factZ:-and(factA,factB). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.628,0.40468093618723744,train,better than even,highly unlikely,There is a better than even chance that either 'Daniel dropped the milk' or 'Brian is green' but not both.,It is highly unlikely that either 'Daniel dropped the milk' or 'Brian is green' but not both.,0,Either 'Daniel dropped the milk' or 'Brian is green' but not both. It is probably not the case that Bernhard is yellow. We doubt that Mary went to the bedroom. There is little chance that Winona is a sheep. We doubt that if 'Mary went to the bedroom' or 'Bernhard is yellow' or both then Brian is a swan. It is likely that if 'Mary went to the bedroom and Winona is a sheep' then John moved to the garden. It is likely that if 'Bernhard is yellow' or 'Mary went to the bedroom' or both then Lily is a lion.,Chances are slight that either 'Winona is a sheep' 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.25::factA. 0.2::factB. 0.1::factC. %hop1 0.2::factX:-or(factB,factA). 0.7::factY:-and(factB,factC). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.08600000000000002,0.240248049609922,train,chances are slight,very good chance,Chances are slight that either 'Winona is a sheep' or 'John moved to the garden' but not both.,There is a very good chance that either 'Winona is a sheep' or 'John moved to the garden' but not both.,1,Either 'Winona is a sheep' or 'John moved to the garden' but not both. There is a better than even chance that Mary picked up the apple. It is probable that Sandra left the football. It is almost certain that Bernhard is yellow. It is unlikely that if 'Bernhard is yellow' or 'Sandra left the football' or both then Julius is green. We believe that if 'Mary picked up the apple and Sandra left the football' then Daniel grabbed the milk. It is impossible that if either 'Bernhard is yellow' or 'Mary picked up the apple' but not both then John went to the office.,It is almost certain that 'Sandra left the football and Mary 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.7::factB. 0.95::factC. %hop1 0.2::factX:-or(factC,factB). 0.75::factY:-and(factA,factB). 0.0::factZ:-xor(factC,factA). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.41999999999999993,0.6219243848769754,train,about even,almost certain,Chances are about even that 'Sandra left the football and Mary picked up the apple'.,It is almost certain that 'Sandra left the football and Mary picked up the apple'.,0,'Sandra left the football and Mary picked up the apple'. We believe that Brian is gray. There is little chance that Bernhard is a frog. There is a very good chance that John went to the garden. It is unlikely that if 'Bernhard is a frog' or 'John went to the garden' or both then Julius is yellow. There is a better than even chance that if 'John went to the garden' or 'Brian is gray' or both then Mary dropped the milk. Chances are about even that if 'John went to the garden' or 'Brian is gray' or both then Lily is green.,It is highly unlikely that 'Brian is gray and Mary 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.75::factA. 0.1::factB. 0.8::factC. %hop1 0.2::factX:-or(factB,factC). 0.6::factY:-or(factC,factA). 0.5::factZ:-or(factC,factA). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.45,0.739747949589918,train,about even,highly unlikely,Chances are about even that 'Brian is gray and Mary dropped the milk'.,It is highly unlikely that 'Brian is gray and Mary dropped the milk'.,0,'Brian is gray and Mary dropped the milk'. We doubt that Jason is tired. It is likely that John went to the hallway. Chances are about even that Mary moved to the office. There is little chance that if 'Jason is tired' or 'John went to the hallway' or both then Bernhard is yellow. It is certain that if 'Mary moved to the office and Jason is tired' then Emily is a cat. It is probably the case that if either 'Jason is tired' or 'John went to the hallway' but not both then Gertrude is a wolf.,There is a better than even chance that either 'Jason is tired' or 'John went to the hallway' 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.5::factC. %hop1 0.1::factX:-or(factA,factB). 1.0::factY:-and(factC,factA). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.62,0.6407281456291258,train,better than even,chances are slight,There is a better than even chance that either 'Jason is tired' or 'John went to the hallway' but not both.,Chances are slight that either 'Jason is tired' or 'John went to the hallway' but not both.,1,Either 'Jason is tired' or 'John went to the hallway' but not both. It is highly likely that Bernhard is yellow. It is probably the case that Daniel grabbed the apple. It is improbable that John went to the bedroom. There is a very good chance that if either 'Daniel grabbed the apple' or 'Bernhard is yellow' but not both then Sandra left the milk. It is highly unlikely that if 'Daniel grabbed the apple and John went to the bedroom' then Julius is a lion. There is a very good chance that if 'Bernhard is yellow' or 'John went to the bedroom' or both then Mary dropped the milk.,It is probably not the case that either 'Sandra left the milk' 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.9::factA. 0.7::factB. 0.1::factC. %hop1 0.8::factX:-xor(factB,factA). 0.05::factY:-and(factB,factC). 0.8::factZ:-or(factA,factC). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.27493999999999996,0.09501900380076016,train,probably not,likely,It is probably not the case that either 'Sandra left the milk' or 'Julius is a lion' but not both.,It is likely that either 'Sandra left the milk' or 'Julius is a lion' but not both.,1,Either 'Sandra left the milk' or 'Julius is a lion' but not both. We believe that Jessica is a cat. There is little chance that Emily is a wolf. It is almost certain that Lily is a frog. We doubt that if either 'Emily is a wolf' or 'Jessica is a cat' but not both then Bill went to the garden. We doubt that if 'Lily is a frog and Emily is a wolf' then Julius is white. It is certain that if 'Emily is a wolf' or 'Jessica is a cat' or both then John discarded the milk.,There is little chance that 'John discarded the milk and Bill 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.75::factA. 0.1::factB. 0.95::factC. %hop1 0.2::factX:-xor(factB,factA). 0.2::factY:-and(factC,factB). 1.0::factZ:-or(factB,factA). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.14,0.5187037407481496,train,little chance,highly likely,There is little chance that 'John discarded the milk and Bill went to the garden'.,It is highly likely that 'John discarded the milk and Bill went to the garden'.,1,'John discarded the milk and Bill went to the garden'. It is unlikely that Gertrude is a sheep. There is almost no chance that Julius is a lion. It is almost certain that Bernhard is a frog. Chances are slight that if 'Julius is a lion' or 'Gertrude is a sheep' or both then Greg is a rhino. It is highly likely that if 'Julius is a lion and Gertrude is a sheep' then Brian is white. We believe that if 'Julius is a lion' or 'Bernhard is a frog' or both then John went to the garden.,There is a very good chance that either 'Gertrude is a sheep' 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.2::factA. 0.02::factB. 0.95::factC. %hop1 0.1::factX:-or(factB,factA). 0.9::factY:-and(factB,factA). 0.75::factZ:-or(factB,factC). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.21200000000000002,0.7915583116623325,train,unlikely,very good chance,It is unlikely that either 'Gertrude is a sheep' or 'Julius is a lion' but not both.,There is a very good chance that either 'Gertrude is a sheep' or 'Julius is a lion' but not both.,0,Either 'Gertrude is a sheep' or 'Julius is a lion' but not both. It is likely that Brian is green. There is almost no chance that Julius is yellow. There is a very good chance that Bernhard is gray. There is a better than even chance that if either 'Bernhard is gray' or 'Brian is green' but not both then Greg is yellow. It is likely that if either 'Bernhard is gray' or 'Brian is green' but not both then Mary went to the kitchen. It is certain that if 'Bernhard is gray and Brian is green' then Lily is a swan.,It is impossible that 'Greg is yellow 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.7::factA. 0.02::factB. 0.8::factC. %hop1 0.6::factX:-xor(factC,factA). 0.7::factY:-xor(factC,factA). 1.0::factZ:-and(factC,factA). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.004560000000000001,0.053010602120424084,train,impossible,likely,It is impossible that 'Greg is yellow and Julius is yellow'.,It is likely that 'Greg is yellow and Julius is yellow'.,1,'Greg is yellow and Julius is yellow'. Chances are slight that Bernhard is a lion. It is highly likely that Lily is green. It is probably the case that John took the apple. It is likely that if either 'Lily is green' or 'John took the apple' but not both then Greg is yellow. It is unlikely that if either 'John took the apple' or 'Lily is green' but not both then Bill went to the bedroom. It is probably not the case that if either 'John took the apple' or 'Lily is green' but not both then Julius is white.,It is unlikely that 'Julius is white' 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 0.1::factA. 0.9::factB. 0.7::factC. %hop1 0.7::factX:-xor(factB,factC). 0.2::factY:-xor(factC,factB). 0.25::factZ:-xor(factC,factB). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.17649999999999993,0.08461692338467694,train,unlikely,likely,It is unlikely that 'Julius is white' or 'Bernhard is a lion' or both.,It is likely that 'Julius is white' or 'Bernhard is a lion' or both.,1,'Julius is white' or 'Bernhard is a lion' or both. It is highly unlikely that Bernhard is green. It is likely that Jeff went to the bedroom. It is highly likely that John left the apple. It is highly unlikely that if either 'Jeff went to the bedroom' or 'John left the apple' but not both then Jessica is a cat. It is probably not the case that if 'John left the apple' or 'Jeff went to the bedroom' or both then Daniel dropped the milk. It is almost certain that if 'John left the apple' or 'Jeff went to the bedroom' or both then Greg is a rhino.,It is probably not the case that 'Jessica is a cat' 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.05::factA. 0.7::factB. 0.9::factC. %hop1 0.05::factX:-xor(factB,factC). 0.25::factY:-or(factC,factB). 0.95::factZ:-or(factC,factB). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.25525000000000003,0.7489497899579916,train,probably not,probable,It is probably not the case that 'Jessica is a cat' or 'Daniel dropped the milk' or both.,It is probable that 'Jessica is a cat' or 'Daniel dropped the milk' or both.,1,'Jessica is a cat' or 'Daniel dropped the milk' or both. Chances are slight that Bernhard is a rhino. It is highly likely that Bill moved to the office. It is highly likely that Lily is a frog. It is impossible that if 'Bill moved to the office and Bernhard is a rhino' then Brian is a swan. Chances are about even that if 'Lily is a frog' or 'Bernhard is a rhino' or both then John dropped the apple. There is a better than even chance that if 'Lily is a frog' or 'Bill moved to the office' or both then Julius is white.,There is a very good chance that either 'Bernhard is a rhino' 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.1::factA. 0.9::factB. 0.9::factC. %hop1 0.0::factX:-and(factB,factA). 0.5::factY:-or(factC,factA). 0.6::factZ:-or(factC,factB). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.82,0.45789157831566313,train,very good chance,unlikely,There is a very good chance that either 'Bernhard is a rhino' or 'Bill moved to the office' but not both.,It is unlikely that either 'Bernhard is a rhino' or 'Bill moved to the office' but not both.,1,Either 'Bernhard is a rhino' or 'Bill moved to the office' but not both. We believe that Yann is bored. We doubt that Jeff left the football. We believe that John got the apple. There is little chance that if 'Jeff left the football' or 'Yann is bored' or both then Jessica is a cat. There is a better than even chance that if 'Yann is bored and John got the apple' then Winona is a mouse. It is likely that if either 'Yann is bored' or 'Jeff left the football' but not both then Bernhard is green.,There is a very good chance that 'John got the apple' or 'Jeff 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.75::factA. 0.2::factB. 0.75::factC. %hop1 0.1::factX:-or(factB,factA). 0.6::factY:-and(factA,factC). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.8,0.2354470894178836,train,very good chance,probably not,There is a very good chance that 'John got the apple' or 'Jeff left the football' or both.,It is probably not the case that 'John got the apple' or 'Jeff left the football' or both.,1,'John got the apple' or 'Jeff left the football' or both. It is highly likely that Brian is green. It is likely that Julius is gray. It is improbable that Emily is a wolf. It is impossible that if 'Brian is green' or 'Julius is gray' or both then Greg is a lion. Chances are slight that if 'Brian is green and Emily is a wolf' then John discarded the milk. It is unlikely that if 'Brian is green and Emily is a wolf' then Mary went to the garden.,There is almost no chance that 'Greg is a lion' 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.9::factA. 0.7::factB. 0.1::factC. %hop1 0.0::factX:-or(factA,factB). 0.1::factY:-and(factA,factC). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.018000000000000002,0.39847969593918786,train,almost no chance,likely,There is almost no chance that 'Greg is a lion' or 'Mary went to the garden' or both.,It is likely that 'Greg is a lion' or 'Mary went to the garden' or both.,1,'Greg is a lion' or 'Mary went to the garden' or both. We believe that Mary put down the apple. It is highly unlikely that Jason is tired. There is little chance that Bernhard is a rhino. We doubt that if 'Jason is tired and Bernhard is a rhino' then Brian is a frog. It is certain that if either 'Jason is tired' or 'Mary put down the apple' but not both then Sandra grabbed the milk. There is a very good chance that if 'Bernhard is a rhino and Jason is tired' then Winona is a wolf.,It is certain that 'Brian is a frog 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.1::factC. %hop1 0.2::factX:-and(factB,factC). 1.0::factY:-xor(factB,factA). 0.8::factZ:-and(factC,factB). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.0010000000000000002,0.08921784356871375,train,impossible,certain,It is impossible that 'Brian is a frog and Bernhard is a rhino'.,It is certain that 'Brian is a frog and Bernhard is a rhino'.,0,'Brian is a frog and Bernhard is a rhino'. It is certain that Jessica is a sheep. There is little chance that Lily is a rhino. It is impossible that Julius is a frog. We doubt that if 'Jessica is a sheep' or 'Lily is a rhino' or both then Antoine is hungry. It is improbable that if 'Jessica is a sheep and Julius is a frog' then Mary went to the office. It is unlikely that if either 'Jessica is a sheep' or 'Julius is a frog' but not both then Bernhard is gray.,We doubt that 'Bernhard is gray' or 'Mary 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 1.0::factA. 0.1::factB. 0.0::factC. %hop1 0.2::factX:-or(factA,factB). 0.1::factY:-and(factA,factC). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.2,0.6793358671734346,train,we doubt,probably,We doubt that 'Bernhard is gray' or 'Mary went to the office' or both.,It is probably the case that 'Bernhard is gray' or 'Mary went to the office' or both.,1,'Bernhard is gray' or 'Mary went to the office' or both. There is a very good chance that Greg is yellow. It is probable that Winona is a wolf. It is probably the case that Jeff went to the bedroom. It is probably not the case that if either 'Greg is yellow' or 'Jeff went to the bedroom' but not both then Julius is a frog. Chances are about even that if 'Winona is a wolf and Jeff went to the bedroom' then Lily is white. It is unlikely that if 'Jeff went to the bedroom and Winona is a wolf' then Brian is a lion.,There is a better than even chance that 'Greg is yellow 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.8::factA. 0.7::factB. 0.7::factC. %hop1 0.25::factX:-xor(factA,factC). 0.5::factY:-and(factB,factC). 0.2::factZ:-and(factC,factB). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.06,0.4322864572914583,train,highly unlikely,better than even,It is highly unlikely that 'Greg is yellow and Julius is a frog'.,There is a better than even chance that 'Greg is yellow and Julius is a frog'.,0,'Greg is yellow and Julius is a frog'. It is highly unlikely that Bill left the football. We doubt that Emily is a cat. We believe that John went to the garden. It is likely that if either 'Emily is a cat' or 'John went to the garden' but not both then Sandra dropped the milk. It is probably not the case that if 'Emily is a cat' or 'Bill left the football' or both then Brian is a lion. It is probable that if 'John went to the garden' or 'Emily is a cat' or both then Lily is a swan.,Chances are about even that 'Bill left the football' 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.05::factA. 0.2::factB. 0.75::factC. %hop1 0.7::factX:-xor(factB,factC). 0.25::factY:-or(factB,factA). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.48225,0.5033006601320265,train,about even,impossible,Chances are about even that 'Bill left the football' or 'Sandra dropped the milk' or both.,It is impossible that 'Bill left the football' or 'Sandra dropped the milk' or both.,1,'Bill left the football' or 'Sandra dropped the milk' or both. It is certain that Mary went to the hallway. It is almost certain that Jessica is a cat. It is impossible that Emily is a wolf. It is probably not the case that if 'Jessica is a cat' or 'Emily is a wolf' or both then John left the football. We doubt that if 'Jessica is a cat' or 'Emily is a wolf' or both then Bernhard is a lion. It is highly likely that if 'Mary went to the hallway' or 'Emily is a wolf' or both then Julius is a rhino.,It is probable that either 'John left the football' 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.95::factB. 0.0::factC. %hop1 0.25::factX:-or(factB,factC). 0.2::factY:-or(factB,factC). 0.9::factZ:-or(factA,factC). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.2375,0.5869173834766953,train,probably not,probable,It is probably not the case that either 'John left the football' or 'Emily is a wolf' but not both.,It is probable that either 'John left the football' or 'Emily is a wolf' but not both.,0,Either 'John left the football' or 'Emily is a wolf' but not both. It is impossible that Mary discarded the milk. Chances are about even that Lily is green. There is little chance that Daniel dropped the apple. There is almost no chance that if 'Lily is green and Daniel dropped the apple' then Brian is white. There is little chance that if either 'Lily is green' or 'Daniel dropped the apple' but not both then John got the football. It is probable that if 'Mary discarded the milk' or 'Daniel dropped the apple' or both then Bernhard is a rhino.,We believe that 'Bernhard is a rhino' 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.0::factA. 0.5::factB. 0.1::factC. %hop1 0.02::factX:-and(factB,factC). 0.1::factY:-xor(factB,factC). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.10000000000000002,0.4526905381076215,train,chances are slight,we believe,Chances are slight that 'Bernhard is a rhino' or 'Daniel dropped the apple' or both.,We believe that 'Bernhard is a rhino' or 'Daniel dropped the apple' or both.,0,'Bernhard is a rhino' or 'Daniel dropped the apple' or both. Chances are about even that Mary went to the garden. It is probable that Lily is green. Chances are slight that Greg is a lion. It is unlikely that if 'Lily is green' or 'Greg is a lion' or both then Jason is tired. It is likely that if 'Mary went to the garden and Lily is green' then Julius is green. It is improbable that if 'Mary went to the garden and Lily is green' then Brian is a frog.,Chances are about even that either 'Lily is green' 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.5::factA. 0.7::factB. 0.1::factC. %hop1 0.2::factX:-or(factB,factC). 0.7::factY:-and(factA,factB). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.45499999999999996,0.013802760552110422,train,about even,impossible,Chances are about even that either 'Lily is green' or 'Julius is green' but not both.,It is impossible that either 'Lily is green' or 'Julius is green' but not both.,1,Either 'Lily is green' or 'Julius is green' but not both. Chances are slight that Sandra dropped the milk. We doubt that Greg is white. There is almost no chance that Bernhard is a frog. It is probable that if 'Sandra dropped the milk and Greg is white' then Lily is a swan. There is almost no chance that if 'Sandra dropped the milk and Greg is white' then Mary got the football. There is little chance that if 'Greg is white and Sandra dropped the milk' then Jeff moved to the garden.,It is impossible that 'Mary got the football 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.1::factA. 0.2::factB. 0.02::factC. %hop1 0.7::factX:-and(factA,factB). 0.02::factY:-and(factA,factB). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.00028000000000000003,0.40168033606721343,train,impossible,probable,It is impossible that 'Mary got the football and Lily is a swan'.,It is probable that 'Mary got the football and Lily is a swan'.,1,'Mary got the football and Lily is a swan'. It is highly likely that Julius is a rhino. It is probably the case that Greg is a frog. It is unlikely that Mary dropped the milk. It is unlikely that if either 'Mary dropped the milk' or 'Julius is a rhino' but not both then John left the football. It is highly likely that if 'Greg is a frog and Mary dropped the milk' then Bernhard is a frog. There is little chance that if either 'Mary dropped the milk' or 'Greg is a frog' but not both then Emily is a wolf.,There is a better than even chance that either 'Greg is a frog' or 'John 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.9::factA. 0.7::factB. 0.2::factC. %hop1 0.2::factX:-xor(factC,factA). 0.9::factY:-and(factB,factC). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.6408,0.1870374074814963,train,better than even,chances are slight,There is a better than even chance that either 'Greg is a frog' or 'John left the football' but not both.,Chances are slight that either 'Greg is a frog' or 'John left the football' but not both.,1,Either 'Greg is a frog' or 'John left the football' but not both. We believe that Jessica is a cat. It is probable that Brian is yellow. It is almost certain that John dropped the milk. There is a better than even chance that if 'Brian is yellow and Jessica is a cat' then Sandra took the football. It is almost certain that if either 'Jessica is a cat' or 'John dropped the milk' but not both then Lily is a lion. Chances are about even that if 'Jessica is a cat' or 'John dropped the milk' or both then Emily is a wolf.,It is probably not the case that 'Brian is yellow and Sandra took 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.75::factA. 0.7::factB. 0.95::factC. %hop1 0.6::factX:-and(factB,factA). 0.95::factY:-xor(factA,factC). 0.5::factZ:-or(factA,factC). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.31499999999999995,0.27445489097819564,train,probably not,likely,It is probably not the case that 'Brian is yellow and Sandra took the football'.,It is likely that 'Brian is yellow and Sandra took the football'.,1,'Brian is yellow and Sandra took the football'. There is a better than even chance that John went to the office. We doubt that Antoine is hungry. We believe that Brian is yellow. It is improbable that if either 'John went to the office' or 'Brian is yellow' but not both then Julius is a frog. Chances are about even that if either 'Antoine is hungry' or 'John went to the office' but not both then Gertrude is a mouse. There is a very good chance that if 'Antoine is hungry and Brian is yellow' then Sandra left the apple.,It is impossible that 'Sandra left 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.6::factA. 0.2::factB. 0.75::factC. %hop1 0.1::factX:-xor(factA,factC). 0.5::factY:-xor(factB,factA). 0.8::factZ:-and(factB,factC). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.004800000000000003,0.4452890578115623,train,impossible,we believe,It is impossible that 'Sandra left the apple and Julius is a frog'.,We believe that 'Sandra left the apple and Julius is a frog'.,1,'Sandra left the apple and Julius is a frog'. It is probably not the case that John went to the hallway. We doubt that Winona is a sheep. It is highly likely that Fred left the apple. There is little chance that if 'Fred left the apple and John went to the hallway' then Lily is a lion. It is improbable that if 'Winona is a sheep and Fred left the apple' then Brian is a swan. Chances are slight that if 'Fred left the apple and Winona is a sheep' then Greg is a rhino.,It is unlikely that either 'Winona is a sheep' 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.25::factA. 0.2::factB. 0.9::factC. %hop1 0.1::factX:-and(factC,factA). 0.1::factY:-and(factB,factC). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.182,0.7403480696139227,train,unlikely,almost certain,It is unlikely that either 'Winona is a sheep' or 'Brian is a swan' but not both.,It is almost certain that either 'Winona is a sheep' or 'Brian is a swan' but not both.,1,Either 'Winona is a sheep' or 'Brian is a swan' but not both. It is certain that Greg is white. We doubt that John dropped the apple. It is probably not the case that Mary grabbed the milk. Chances are about even that if 'Mary grabbed the milk and John dropped the apple' then Julius is gray. It is improbable that if 'John dropped the apple and Greg is white' then Winona is a wolf. We doubt that if either 'Greg is white' or 'John dropped the apple' but not both then Bernhard is a frog.,It is probably not the case that 'Mary grabbed 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 1.0::factA. 0.2::factB. 0.25::factC. %hop1 0.5::factX:-and(factC,factB). 0.1::factY:-and(factB,factA). 0.2::factZ:-xor(factA,factB). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.25,0.10162032406481296,train,probably not,probably,It is probably not the case that 'Mary grabbed the milk and Greg is white'.,It is probably the case that 'Mary grabbed the milk and Greg is white'.,1,'Mary grabbed the milk and Greg is white'. There is a better than even chance that Daniel left the milk. There is little chance that Greg is a rhino. Chances are slight that Julius is a frog. It is almost certain that if 'Julius is a frog' or 'Daniel left the milk' or both then Bill went to the garden. It is probable that if either 'Julius is a frog' or 'Daniel left the milk' but not both then Gertrude is a wolf. There is a very good chance that if 'Greg is a rhino and Daniel left the milk' then John moved to the office.,It is highly unlikely that 'John moved to the office' 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.6::factA. 0.1::factB. 0.1::factC. %hop1 0.95::factX:-or(factC,factA). 0.7::factY:-xor(factC,factA). 0.8::factZ:-and(factB,factA). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.6103999999999999,0.1998399679935987,train,better than even,highly unlikely,There is a better than even chance that 'John moved to the office' or 'Bill went to the garden' or both.,It is highly unlikely that 'John moved to the office' or 'Bill went to the garden' or both.,0,'John moved to the office' or 'Bill went to the garden' or both. It is highly likely that Sandra got the milk. There is almost no chance that Emily is a wolf. It is likely that Brian is a frog. There is a very good chance that if 'Sandra got the milk' or 'Brian is a frog' or both then Julius is a lion. It is highly unlikely that if either 'Emily is a wolf' or 'Brian is a frog' but not both then Greg is a frog. There is little chance that if either 'Emily is a wolf' or 'Sandra got the milk' but not both then Mary went to the hallway.,It is highly likely that 'Mary went to the hallway' 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.9::factA. 0.02::factB. 0.7::factC. %hop1 0.8::factX:-or(factA,factC). 0.05::factY:-xor(factB,factC). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.9002,0.6547309461892379,train,highly likely,chances are slight,It is highly likely that 'Mary went to the hallway' or 'Sandra got the milk' or both.,Chances are slight that 'Mary went to the hallway' or 'Sandra got the milk' or both.,1,'Mary went to the hallway' or 'Sandra got the milk' or both. There is a better than even chance that John picked up the apple. There is a better than even chance that Jessica is a sheep. We doubt that Mary left the football. Chances are about even that if 'Jessica is a sheep' or 'Mary left the football' or both then Julius is a swan. It is certain that if 'John picked up the apple and Mary left the football' then Lily is green. There is little chance that if either 'Mary left the football' or 'Jessica is a sheep' but not both then Bernhard is a rhino.,It is probably not the case that either 'Mary left the football' or 'Bernhard 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.6::factA. 0.6::factB. 0.2::factC. %hop1 0.5::factX:-or(factB,factC). 1.0::factY:-and(factA,factC). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.24000000000000005,0.2968593718743749,train,probably not,certain,It is probably not the case that either 'Mary left the football' or 'Bernhard is a rhino' but not both.,It is certain that either 'Mary left the football' or 'Bernhard is a rhino' but not both.,1,Either 'Mary left the football' or 'Bernhard is a rhino' but not both. It is highly unlikely that Jessica is a cat. It is improbable that Fred discarded the apple. There is a better than even chance that Brian is a lion. It is probable that if 'Fred discarded the apple and Jessica is a cat' then Julius is a swan. It is probably the case that if either 'Fred discarded the apple' or 'Jessica is a cat' but not both then John went to the kitchen. It is unlikely that if either 'Jessica is a cat' or 'Brian is a lion' but not both then Bernhard is gray.,There is a better than even chance that 'Julius is a swan' 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.05::factA. 0.1::factB. 0.6::factC. %hop1 0.7::factX:-and(factB,factA). 0.7::factY:-xor(factB,factA). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.6014,0.2560512102420484,train,better than even,improbable,There is a better than even chance that 'Julius is a swan' or 'Brian is a lion' or both.,It is improbable that 'Julius is a swan' or 'Brian is a lion' or both.,1,'Julius is a swan' or 'Brian is a lion' or both. Chances are slight that Daniel left the apple. It is impossible that Greg is a rhino. It is impossible that Mary went to the office. There is almost no chance that if 'Greg is a rhino' or 'Daniel left the apple' or both then Julius is gray. It is highly likely that if either 'Mary went to the office' or 'Greg is a rhino' but not both then Sandra dropped the milk. It is highly likely that if 'Greg is a rhino and Mary went to the office' then Brian is a swan.,There is a better than even chance that 'Julius 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.1::factA. 0.0::factB. 0.0::factC. %hop1 0.02::factX:-or(factB,factA). 0.9::factY:-xor(factC,factB). 0.9::factZ:-and(factB,factC). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.0,0.29625925185037005,train,impossible,better than even,It is impossible that 'Julius is gray and Sandra dropped the milk'.,There is a better than even chance that 'Julius is gray and Sandra dropped the milk'.,0,'Julius is gray and Sandra dropped the milk'. It is impossible that Daniel got the milk. It is improbable that Emily is a mouse. It is probable that Jason is tired. It is certain that if 'Emily is a mouse and Jason is tired' then Lily is a frog. It is highly likely that if 'Jason is tired and Daniel got the milk' then Bernhard is yellow. It is probably not the case that if 'Daniel got the milk' or 'Emily is a mouse' or both then Jeff left the apple.,It is probably the case that either 'Jason is tired' 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.0::factA. 0.1::factB. 0.7::factC. %hop1 1.0::factX:-and(factB,factC). 0.9::factY:-and(factC,factA). 0.25::factZ:-or(factA,factB). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.7,0.6953390678135627,train,probably,probably not,It is probably the case that either 'Jason is tired' or 'Daniel got the milk' but not both.,It is probably not the case that either 'Jason is tired' or 'Daniel got the milk' but not both.,1,Either 'Jason is tired' or 'Daniel got the milk' but not both. It is probably the case that Brian is green. Chances are about even that Fred moved to the office. There is a very good chance that John went to the garden. Chances are about even that if either 'Brian is green' or 'John went to the garden' but not both then Julius is a frog. It is probably the case that if either 'Fred moved to the office' or 'Brian is green' but not both then Greg is a lion. It is likely that if 'John went to the garden and Fred moved to the office' then Daniel grabbed the apple.,It is impossible that 'Julius is a frog' 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.5::factB. 0.8::factC. %hop1 0.5::factX:-xor(factA,factC). 0.7::factY:-xor(factB,factA). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.428,0.132626525305061,train,about even,impossible,Chances are about even that 'Julius is a frog' or 'Daniel grabbed the apple' or both.,It is impossible that 'Julius is a frog' or 'Daniel grabbed the apple' or both.,0,'Julius is a frog' or 'Daniel grabbed the apple' or both. Chances are about even that Julius is a rhino. Chances are about even that Jessica is a cat. There is a very good chance that Greg is a swan. It is certain that if 'Greg is a swan' or 'Julius is a rhino' or both then Bernhard is yellow. It is probable that if 'Greg is a swan' or 'Julius is a rhino' or both then Sandra dropped the milk. There is almost no chance that if 'Greg is a swan and Julius is a rhino' then Mary went to the hallway.,Chances are about even that either 'Julius is a rhino' or 'Mary went to the hallway' 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.5::factB. 0.8::factC. %hop1 1.0::factX:-or(factC,factA). 0.7::factY:-or(factC,factA). 0.02::factZ:-and(factC,factA). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.492,0.616123224644929,train,about even,highly unlikely,Chances are about even that either 'Julius is a rhino' or 'Mary went to the hallway' but not both.,It is highly unlikely that either 'Julius is a rhino' or 'Mary went to the hallway' but not both.,1,Either 'Julius is a rhino' or 'Mary went to the hallway' but not both. It is almost certain that Julius is a swan. Chances are slight that Greg is a frog. There is little chance that Bill moved to the office. There is a very good chance that if 'Greg is a frog' or 'Julius is a swan' or both then John went to the bedroom. We believe that if 'Greg is a frog' or 'Julius is a swan' or both then Lily is yellow. We believe that if either 'Greg is a frog' or 'Bill moved to the office' but not both then Bernhard is green.,It is probably not the case that 'John went to the bedroom and Julius 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.1::factB. 0.1::factC. %hop1 0.8::factX:-or(factB,factA). 0.75::factY:-or(factB,factA). 0.75::factZ:-xor(factB,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.76,0.23164632926585318,train,we believe,probably not,We believe that 'John went to the bedroom and Julius is a swan'.,It is probably not the case that 'John went to the bedroom and Julius is a swan'.,0,'John went to the bedroom and Julius is a swan'. There is almost no chance that John went to the hallway. It is almost certain that Jeff moved to the office. It is unlikely that Greg is gray. It is likely that if 'Jeff moved to the office and John went to the hallway' then Bernhard is a swan. It is unlikely that if either 'Jeff moved to the office' or 'John went to the hallway' but not both then Mary left the milk. It is likely that if either 'John went to the hallway' or 'Greg is gray' but not both then Lily is green.,It is probable that 'Greg is gray' 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.02::factA. 0.95::factB. 0.2::factC. %hop1 0.7::factX:-and(factB,factA). 0.2::factY:-xor(factB,factA). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.21120000000000003,0.058611722344468896,train,unlikely,probable,It is unlikely that 'Greg is gray' or 'Lily is green' or both.,It is probable that 'Greg is gray' or 'Lily is green' or both.,0,'Greg is gray' or 'Lily is green' or both. It is impossible that Jessica is a cat. There is little chance that Greg is yellow. It is almost certain that John put down the apple. There is a better than even chance that if 'John put down the apple and Greg is yellow' then Yann is bored. There is almost no chance that if 'Jessica is a cat and Greg is yellow' then Mary went to the bedroom. It is improbable that if 'Jessica is a cat and Greg is yellow' then Sandra left the milk.,Chances are slight that either 'Greg is yellow' 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.0::factA. 0.1::factB. 0.95::factC. %hop1 0.6::factX:-and(factC,factB). 0.02::factY:-and(factA,factB). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.10000000000000002,0.4410882176435287,train,chances are slight,better than even,Chances are slight that either 'Greg is yellow' or 'Mary went to the bedroom' but not both.,There is a better than even chance that either 'Greg is yellow' or 'Mary went to the bedroom' but not both.,1,Either 'Greg is yellow' or 'Mary went to the bedroom' but not both. We believe that Brian is a rhino. Chances are slight that Julius is a frog. It is unlikely that Sandra left the apple. It is probably not the case that if either 'Sandra left the apple' or 'Julius is a frog' but not both then John went to the hallway. We doubt that if 'Julius is a frog and Sandra left the apple' then Bernhard is white. It is probable that if 'Sandra left the apple' or 'Brian is a rhino' or both then Mary got the milk.,We believe that either 'Julius is a frog' or 'John went to the hallway' 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.2::factC. %hop1 0.25::factX:-xor(factC,factB). 0.2::factY:-and(factB,factC). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.12500000000000003,0.615123024604921,train,chances are slight,we believe,Chances are slight that either 'Julius is a frog' or 'John went to the hallway' but not both.,We believe that either 'Julius is a frog' or 'John went to the hallway' but not both.,0,Either 'Julius is a frog' or 'John went to the hallway' but not both. There is little chance that John discarded the apple. It is highly likely that Brian is yellow. Chances are about even that Julius is a frog. It is probably not the case that if 'Julius is a frog' or 'John discarded the apple' or both then Lily is white. It is probably not the case that if either 'John discarded the apple' or 'Brian is yellow' but not both then Greg is a rhino. It is unlikely that if either 'Julius is a frog' or 'Brian is yellow' but not both then Emily is a wolf.,It is probably not the case that either 'Emily is a wolf' 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.1::factA. 0.9::factB. 0.5::factC. %hop1 0.25::factX:-or(factC,factA). 0.25::factY:-xor(factA,factB). 0.2::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.82,0.4352870574114823,train,very good chance,probably not,There is a very good chance that either 'Emily is a wolf' or 'Brian is yellow' but not both.,It is probably not the case that either 'Emily is a wolf' or 'Brian is yellow' but not both.,0,Either 'Emily is a wolf' or 'Brian is yellow' but not both. Chances are slight that Bernhard is a rhino. There is little chance that Lily is a frog. It is certain that Julius is white. It is probable that if either 'Bernhard is a rhino' or 'Lily is a frog' but not both then Gertrude is a mouse. It is almost certain that if 'Julius is white and Lily is a frog' then John picked up the milk. Chances are slight that if 'Julius is white and Lily is a frog' then Bill went to the garden.,It is certain that 'Bill went to the garden' 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.1::factA. 0.1::factB. 1.0::factC. %hop1 0.7::factX:-xor(factA,factB). 0.95::factY:-and(factC,factB). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",1.0,0.3784756951390278,train,certain,almost no chance,It is certain that 'Bill went to the garden' or 'Julius is white' or both.,There is almost no chance that 'Bill went to the garden' or 'Julius is white' or both.,1,'Bill went to the garden' or 'Julius is white' or both. There is a better than even chance that John picked up the apple. It is highly likely that Brian is a swan. It is highly likely that Jeff moved to the garden. It is certain that if 'John picked up the apple' or 'Jeff moved to the garden' or both then Emily is a sheep. It is probably not the case that if 'Brian is a swan' or 'Jeff moved to the garden' or both then Daniel got the football. It is improbable that if 'John picked up the apple' or 'Jeff moved to the garden' or both then Mary went to the kitchen.,It is probably not the case that 'Daniel got the football and Emily 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.6::factA. 0.9::factB. 0.9::factC. %hop1 1.0::factX:-or(factA,factC). 0.25::factY:-or(factB,factC). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.23850000000000002,0.22704540908181636,train,probably not,likely,It is probably not the case that 'Daniel got the football and Emily is a sheep'.,It is likely that 'Daniel got the football and Emily is a sheep'.,1,'Daniel got the football and Emily is a sheep'. We doubt that Julius is green. There is almost no chance that Mary got the milk. There is a better than even chance that Greg is yellow. It is highly unlikely that if either 'Julius is green' or 'Greg is yellow' but not both then Bill moved to the office. There is little chance that if either 'Julius is green' or 'Mary got the milk' but not both then Lily is green. It is probable that if either 'Julius is green' or 'Mary got the milk' but not both then John went to the garden.,We doubt that 'Lily is green' 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.2::factA. 0.02::factB. 0.6::factC. %hop1 0.05::factX:-xor(factA,factC). 0.1::factY:-xor(factA,factB). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.20160000000000003,0.5677135427085417,train,we doubt,very good chance,We doubt that 'Lily is green' or 'Julius is green' or both.,There is a very good chance that 'Lily is green' or 'Julius is green' or both.,1,'Lily is green' or 'Julius is green' or both. Chances are about even that Brian is white. It is highly unlikely that John took the football. It is probably the case that Julius is a frog. There is almost no chance that if 'Brian is white and John took the football' then Bernhard is gray. It is impossible that if either 'Julius is a frog' or 'Brian is white' but not both then Greg is a lion. It is impossible that if 'Julius is a frog and Brian is white' then Mary grabbed the milk.,It is certain 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.5::factA. 0.05::factB. 0.7::factC. %hop1 0.02::factX:-and(factA,factB). 0.0::factY:-xor(factC,factA). 0.0::factZ:-and(factC,factA). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.4995,0.4882976595319064,train,about even,certain,Chances are about even that either 'Bernhard is gray' or 'Brian is white' but not both.,It is certain that either 'Bernhard is gray' or 'Brian is white' but not both.,0,Either 'Bernhard is gray' or 'Brian is white' but not both. It is probably the case that John went to the bedroom. It is unlikely that Bernhard is a swan. It is probably the case that Brian is a frog. It is almost certain that if either 'Brian is a frog' or 'Bernhard is a swan' but not both then Lily is a frog. It is almost certain that if either 'John went to the bedroom' or 'Brian is a frog' but not both then Mary put down the apple. It is almost certain that if either 'Brian is a frog' or 'John went to the bedroom' but not both then Bill left the milk.,It is unlikely that 'Mary put down the apple 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.7::factA. 0.2::factB. 0.7::factC. %hop1 0.95::factX:-xor(factC,factB). 0.95::factY:-xor(factA,factC). 0.95::factZ:-xor(factC,factA). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.18952499999999997,0.10682136427285457,train,unlikely,almost certain,It is unlikely that 'Mary put down the apple and Lily is a frog'.,It is almost certain that 'Mary put down the apple and Lily is a frog'.,1,'Mary put down the apple and Lily is a frog'. It is almost certain that John got the apple. There is little chance that Gertrude is a sheep. It is impossible that Brian is a lion. It is unlikely that if either 'Brian is a lion' or 'Gertrude is a sheep' but not both then Fred went to the garden. It is highly unlikely that if either 'Brian is a lion' or 'Gertrude is a sheep' but not both then Greg is a rhino. It is probably the case that if 'John got the apple' or 'Gertrude is a sheep' or both then Julius is white.,It is likely that either 'Julius is white' or 'Brian 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.95::factA. 0.1::factB. 0.0::factC. %hop1 0.2::factX:-xor(factC,factB). 0.05::factY:-xor(factC,factB). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.6685,0.028605721144228845,train,likely,highly unlikely,It is likely that either 'Julius is white' or 'Brian is a lion' but not both.,It is highly unlikely that either 'Julius is white' or 'Brian is a lion' but not both.,1,Either 'Julius is white' or 'Brian is a lion' but not both. There is almost no chance that Mary got the football. We doubt that Daniel left the milk. There is little chance that Greg is yellow. We believe that if 'Daniel left the milk' or 'Greg is yellow' or both then Lily is a rhino. It is almost certain that if 'Mary got the football and Greg is yellow' then John went to the garden. It is probably the case that if 'Greg is yellow and Daniel left the milk' then Bernhard is a frog.,We doubt that either 'Lily is a rhino' 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.02::factA. 0.2::factB. 0.1::factC. %hop1 0.75::factX:-or(factB,factC). 0.95::factY:-and(factA,factC). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.16000000000000003,0.4262852570514103,train,we doubt,certain,We doubt that either 'Lily is a rhino' or 'Greg is yellow' but not both.,It is certain that either 'Lily is a rhino' or 'Greg is yellow' but not both.,1,Either 'Lily is a rhino' or 'Greg is yellow' but not both. It is highly likely that Gertrude is a mouse. It is improbable that John dropped the apple. Chances are slight that Julius is a swan. It is highly unlikely that if 'John dropped the apple and Gertrude is a mouse' then Brian is green. Chances are about even that if 'Julius is a swan and Gertrude is a mouse' then Lily is a frog. It is certain that if either 'Julius is a swan' or 'Gertrude is a mouse' but not both then Mary went to the office.,There is a very good chance that 'Brian is green' or 'Mary 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.9::factA. 0.1::factB. 0.1::factC. %hop1 0.05::factX:-and(factB,factA). 0.5::factY:-and(factC,factA). 1.0::factZ:-xor(factC,factA). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.82045,0.07281456291258252,train,very good chance,we doubt,There is a very good chance that 'Brian is green' or 'Mary went to the office' or both.,We doubt that 'Brian is green' or 'Mary went to the office' or both.,1,'Brian is green' or 'Mary went to the office' or both. There is little chance that John went to the bedroom. It is unlikely that Greg is gray. It is certain that Yann is hungry. It is certain that if either 'John went to the bedroom' or 'Greg is gray' but not both then Mary picked up the apple. We doubt that if either 'John went to the bedroom' or 'Greg is gray' but not both then Bernhard is a swan. It is improbable that if 'Yann is hungry and John went to the bedroom' then Brian is a rhino.,It is highly unlikely that 'Yann is hungry 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.2::factB. 1.0::factC. %hop1 1.0::factX:-xor(factA,factB). 0.2::factY:-xor(factA,factB). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.052,0.7439487897579516,train,highly unlikely,we believe,It is highly unlikely that 'Yann is hungry and Bernhard is a swan'.,We believe that 'Yann is hungry and Bernhard is a swan'.,1,'Yann is hungry and Bernhard is a swan'. It is probably the case that Mary put down the apple. It is probable that Bernhard is a lion. It is improbable that John got the milk. It is unlikely that if 'Bernhard is a lion' or 'John got the milk' or both then Jason is tired. There is a very good chance that if 'John got the milk and Mary put down the apple' then Sumit is thirsty. It is unlikely that if either 'Bernhard is a lion' or 'John got the milk' but not both then Greg is gray.,We believe that 'John got the milk' or 'Mary 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.7::factA. 0.7::factB. 0.1::factC. %hop1 0.2::factX:-or(factB,factC). 0.8::factY:-and(factC,factA). 0.2::factZ:-xor(factB,factC). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.73,0.21024204840968194,train,we believe,unlikely,We believe that 'John got the milk' or 'Mary put down the apple' or both.,It is unlikely that 'John got the milk' or 'Mary put down the apple' or both.,1,'John got the milk' or 'Mary put down the apple' or both. It is likely that Julius is gray. It is highly unlikely that Lily is a lion. It is highly likely that Brian is yellow. It is probable that if either 'Lily is a lion' or 'Brian is yellow' but not both then Greg is a swan. There is little chance that if 'Brian is yellow and Lily is a lion' then Sandra left the apple. There is almost no chance that if 'Brian is yellow and Lily is a lion' then Bill moved to the office.,It is highly unlikely that 'Lily is a lion 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.7::factA. 0.05::factB. 0.9::factC. %hop1 0.7::factX:-xor(factB,factC). 0.1::factY:-and(factC,factB). 0.02::factZ:-and(factC,factB). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.035,0.5499099819963993,train,highly unlikely,certain,It is highly unlikely that 'Lily is a lion and Julius is gray'.,It is certain that 'Lily is a lion and Julius is gray'.,1,'Lily is a lion and Julius is gray'. There is almost no chance that Fred is in the office. There is little chance that Mary dropped the apple. There is a very good chance that Julius is a swan. It is highly likely that if either 'Julius is a swan' or 'Mary dropped the apple' but not both then John moved to the garden. We believe that if 'Fred is in the office and Julius is a swan' then Brian is green. It is probably the case that if 'Fred is in the office' or 'Mary dropped the apple' or both then Jessica is a mouse.,There is almost no chance that 'Brian is green and Julius 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.1::factB. 0.8::factC. %hop1 0.9::factX:-xor(factC,factB). 0.75::factY:-and(factA,factC). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.012000000000000009,0.1250250050010002,train,almost no chance,better than even,There is almost no chance that 'Brian is green and Julius is a swan'.,There is a better than even chance that 'Brian is green and Julius is a swan'.,1,'Brian is green and Julius is a swan'. It is highly unlikely that Fred discarded the apple. It is unlikely that Lily is a lion. There is a better than even chance that Greg is a frog. It is almost certain that if either 'Fred discarded the apple' or 'Lily is a lion' but not both then Jessica is a sheep. It is probable that if 'Lily is a lion and Fred discarded the apple' then Daniel left the milk. There is little chance that if 'Fred discarded the apple and Lily is a lion' then Julius is white.,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.05::factA. 0.2::factB. 0.6::factC. %hop1 0.95::factX:-xor(factA,factB). 0.7::factY:-and(factB,factA). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.23800000000000002,0.016803360672134428,train,probably not,we believe,It is probably not the case 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. We doubt that Brian is white. It is impossible that Lily is a lion. There is little chance that Mary went to the kitchen. It is highly likely that if either 'Mary went to the kitchen' or 'Brian is white' but not both then Julius is a frog. It is unlikely that if 'Lily is a lion and Brian is white' then John picked up the apple. It is probable that if 'Brian is white' or 'Mary went to the kitchen' or both then Bernhard is a rhino.,It is almost certain that either 'Lily is a lion' 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.2::factA. 0.0::factB. 0.1::factC. %hop1 0.9::factX:-xor(factC,factA). 0.2::factY:-and(factB,factA). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.234,0.391878375675135,train,probably not,almost certain,It is probably not the case that either 'Lily is a lion' or 'Julius is a frog' but not both.,It is almost certain that either 'Lily is a lion' or 'Julius is a frog' but not both.,0,Either 'Lily is a lion' or 'Julius is a frog' but not both. We believe that Sumit is thirsty. It is highly unlikely that Mary grabbed the milk. Chances are about even that Greg is a frog. It is impossible that if 'Sumit is thirsty' or 'Greg is a frog' or both then Bernhard is green. It is probably not the case that if either 'Greg is a frog' or 'Mary grabbed the milk' but not both then Julius is a rhino. It is highly likely that if either 'Sumit is thirsty' or 'Mary grabbed the milk' but not both then John took the football.,It is probable that either 'John took the football' or 'Mary 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.75::factA. 0.05::factB. 0.5::factC. %hop1 0.0::factX:-or(factA,factC). 0.25::factY:-xor(factC,factB). 0.9::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.68,0.008201640328065612,train,probable,improbable,It is probable that either 'John took the football' or 'Mary grabbed the milk' but not both.,It is improbable that either 'John took the football' or 'Mary grabbed the milk' but not both.,1,Either 'John took the football' or 'Mary grabbed the milk' but not both. It is probably not the case that Mary went to the garden. It is highly unlikely that Lily is a frog. There is almost no chance that Daniel left the football. It is improbable that if 'Daniel left the football and Lily is a frog' then Jeff discarded the milk. There is a better than even chance that if 'Daniel left the football and Lily is a frog' then Fred put down the apple. Chances are slight that if 'Mary went to the garden' or 'Lily is a frog' or both then Emily is a mouse.,It is highly unlikely that 'Fred put down the apple' 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.25::factA. 0.05::factB. 0.02::factC. %hop1 0.1::factX:-and(factC,factB). 0.6::factY:-and(factC,factB). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.05000000000000001,0.27385477095419086,train,highly unlikely,likely,It is highly unlikely that 'Fred put down the apple' or 'Lily is a frog' or both.,It is likely that 'Fred put down the apple' or 'Lily is a frog' or both.,1,'Fred put down the apple' or 'Lily is a frog' or both. It is probably not the case that Mary took the milk. There is little chance that Daniel left the milk. It is certain that Bernhard is yellow. We believe that if 'Mary took the milk' or 'Bernhard is yellow' or both then Julius is gray. Chances are about even that if 'Bernhard is yellow and Daniel left the milk' then Greg is a rhino. It is highly likely that if 'Bernhard is yellow' or 'Mary took the milk' or both then Lily is white.,Chances are slight that 'Bernhard is yellow' 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.25::factA. 0.1::factB. 1.0::factC. %hop1 0.75::factX:-or(factA,factC). 0.5::factY:-and(factC,factB). 0.9::factZ:-or(factC,factA). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",1.0,0.29745949189837967,train,certain,chances are slight,It is certain that 'Bernhard is yellow' or 'Lily is white' or both.,Chances are slight that 'Bernhard is yellow' or 'Lily is white' or both.,0,'Bernhard is yellow' or 'Lily is white' or both. There is almost no chance that Bernhard is white. We doubt that Fred dropped the apple. It is improbable that John took the football. It is probable that if 'John took the football and Fred dropped the apple' then Greg is white. There is a better than even chance that if 'Bernhard is white and Fred dropped the apple' then Gertrude is a sheep. It is unlikely that if either 'John took the football' or 'Bernhard is white' but not both then Lily is a lion.,There is a very good chance that either 'Fred dropped the apple' or 'John 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.02::factA. 0.2::factB. 0.1::factC. %hop1 0.7::factX:-and(factC,factB). 0.6::factY:-and(factA,factB). 0.2::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.26,0.48669733946789356,train,probably not,very good chance,It is probably not the case that either 'Fred dropped the apple' or 'John took the football' but not both.,There is a very good chance that either 'Fred dropped the apple' or 'John took the football' but not both.,0,Either 'Fred dropped the apple' or 'John took the football' but not both. It is probably not the case that Daniel grabbed the milk. There is almost no chance that Antoine is thirsty. There is little chance that Lily is yellow. There is little chance that if 'Lily is yellow' or 'Daniel grabbed the milk' or both then Mary moved to the garden. It is probable that if 'Antoine is thirsty' or 'Daniel grabbed the milk' or both then John discarded the apple. Chances are slight that if either 'Antoine is thirsty' or 'Daniel grabbed the milk' but not both then Winona is a mouse.,There is almost no chance that 'Daniel grabbed the milk and Winona 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.25::factA. 0.02::factB. 0.1::factC. %hop1 0.1::factX:-or(factC,factA). 0.7::factY:-or(factB,factA). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.02450000000000001,0.15603120624124825,train,almost no chance,likely,There is almost no chance that 'Daniel grabbed the milk and Winona is a mouse'.,It is likely that 'Daniel grabbed the milk and Winona is a mouse'.,1,'Daniel grabbed the milk and Winona is a mouse'. It is almost certain that Jeff left the apple. It is highly unlikely that Julius is a rhino. It is probable that Fred discarded the apple. It is highly unlikely that if 'Fred discarded the apple' or 'Jeff left the apple' or both then Jessica is a mouse. It is probably not the case that if either 'Julius is a rhino' or 'Jeff left the apple' but not both then Bernhard is a swan. It is probably the case that if 'Jeff left the apple and Fred discarded the apple' then Sandra got the football.,It is impossible that either 'Jeff left the apple' 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.95::factA. 0.05::factB. 0.7::factC. %hop1 0.05::factX:-or(factC,factA). 0.25::factY:-xor(factB,factA). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.90425,0.1954390878175635,train,highly likely,impossible,It is highly likely that either 'Jeff left the apple' or 'Jessica is a mouse' but not both.,It is impossible that either 'Jeff left the apple' or 'Jessica is a mouse' but not both.,0,Either 'Jeff left the apple' or 'Jessica is a mouse' but not both. It is highly unlikely that Julius is gray. It is probable that Brian is a lion. It is certain that Winona is a mouse. We believe that if 'Brian is a lion' or 'Winona is a mouse' or both then Sandra left the milk. There is little chance that if 'Brian is a lion' or 'Winona is a mouse' or both then Emily is a sheep. It is probably not the case that if 'Julius is gray and Winona is a mouse' then John put down the apple.,It is improbable that either 'Emily is a sheep' 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.05::factA. 0.7::factB. 1.0::factC. %hop1 0.75::factX:-or(factB,factC). 0.1::factY:-or(factB,factC). 0.25::factZ:-and(factA,factC). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.14000000000000004,0.7841568313662732,train,improbable,better than even,It is improbable that either 'Emily is a sheep' or 'Julius is gray' but not both.,There is a better than even chance that either 'Emily is a sheep' or 'Julius is gray' but not both.,1,Either 'Emily is a sheep' or 'Julius is gray' but not both. There is a very good chance that John went to the bedroom. There is almost no chance that Sandra dropped the milk. There is little chance that Julius is white. It is highly likely that if either 'Julius is white' or 'John went to the bedroom' but not both then Bernhard is a frog. There is a better than even chance that if 'John went to the bedroom and Sandra dropped the milk' then Daniel left the milk. There is little chance that if either 'John went to the bedroom' or 'Sandra dropped the milk' but not both then Brian is white.,It is almost certain that either 'Bernhard 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.8::factA. 0.02::factB. 0.1::factC. %hop1 0.9::factX:-xor(factC,factA). 0.6::factY:-and(factA,factB). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.17,0.16083216643328666,train,unlikely,almost certain,It is unlikely that either 'Bernhard is a frog' or 'John went to the bedroom' but not both.,It is almost certain that either 'Bernhard is a frog' or 'John went to the bedroom' but not both.,0,Either 'Bernhard is a frog' or 'John went to the bedroom' but not both. It is likely that Brian is a frog. It is certain that Greg is yellow. It is probable that Mary went to the hallway. There is little chance that if 'Brian is a frog' or 'Greg is yellow' or both then Bill moved to the office. It is certain that if 'Brian is a frog' or 'Mary went to the hallway' or both then Bernhard is white. It is probable that if either 'Mary went to the hallway' or 'Brian is a frog' but not both then Lily is a rhino.,It is probably not the case that 'Bill moved to the office' or 'Brian 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.7::factA. 1.0::factB. 0.7::factC. %hop1 0.1::factX:-or(factA,factB). 1.0::factY:-or(factA,factC). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.73,0.4546909381876375,train,we believe,probably not,We believe that 'Bill moved to the office' or 'Brian is a frog' or both.,It is probably not the case that 'Bill moved to the office' or 'Brian is a frog' or both.,0,'Bill moved to the office' or 'Brian is a frog' or both. It is certain that Mary left the football. Chances are slight that Daniel grabbed the milk. It is highly unlikely that Julius is white. It is impossible that if 'Daniel grabbed the milk and Mary left the football' then Lily is a swan. It is impossible that if either 'Mary left the football' or 'Julius is white' but not both then Winona is a wolf. We doubt that if 'Julius is white' or 'Mary left the football' or both then John got the apple.,Chances are slight that 'Daniel grabbed the milk 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 1.0::factA. 0.1::factB. 0.05::factC. %hop1 0.0::factX:-and(factB,factA). 0.0::factY:-xor(factA,factC). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.10000000000000002,0.734746949389878,train,chances are slight,we believe,Chances are slight that 'Daniel grabbed the milk and Mary left the football'.,We believe that 'Daniel grabbed the milk and Mary left the football'.,1,'Daniel grabbed the milk and Mary left the football'. It is impossible that Gertrude is a sheep. It is improbable that Greg is a rhino. It is probably not the case that Mary went to the office. It is likely that if either 'Greg is a rhino' or 'Gertrude is a sheep' but not both then Lily is yellow. There is a very good chance that if 'Mary went to the office and Gertrude is a sheep' then John grabbed the milk. We doubt that if either 'Mary went to the office' or 'Greg is a rhino' but not both then Bernhard is a lion.,It is impossible that 'Lily 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.0::factA. 0.1::factB. 0.25::factC. %hop1 0.7::factX:-xor(factB,factA). 0.8::factY:-and(factC,factA). 0.2::factZ:-xor(factC,factB). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.0,0.6905381076215243,train,impossible,about even,It is impossible that 'Lily is yellow and Gertrude is a sheep'.,Chances are about even that 'Lily is yellow and Gertrude is a sheep'.,1,'Lily is yellow and Gertrude is a sheep'. Chances are about even that Mary went to the kitchen. There is a better than even chance that Jessica is a cat. It is highly likely that Greg is gray. It is improbable that if 'Greg is gray' or 'Mary went to the kitchen' or both then Daniel left the apple. It is impossible that if either 'Jessica is a cat' or 'Mary went to the kitchen' but not both then Julius is a swan. It is highly likely that if 'Greg is gray and Mary went to the kitchen' then John dropped the milk.,Chances are about even that either 'John dropped the milk' 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.5::factA. 0.6::factB. 0.9::factC. %hop1 0.1::factX:-or(factC,factA). 0.0::factY:-xor(factB,factA). 0.9::factZ:-and(factC,factA). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.405,0.04180836167233447,train,about even,almost certain,Chances are about even that either 'John dropped the milk' or 'Julius is a swan' but not both.,It is almost certain that either 'John dropped the milk' or 'Julius is a swan' but not both.,1,Either 'John dropped the milk' or 'Julius is a swan' but not both. Chances are about even that Winona is a mouse. We believe that Mary left the football. It is improbable that Greg is white. It is almost certain that if 'Winona is a mouse and Mary left the football' then Sandra dropped the milk. It is likely that if 'Winona is a mouse and Greg is white' then John went to the hallway. It is improbable that if 'Greg is white' or 'Winona is a mouse' or both then Bernhard is a frog.,It is certain that either 'John went to the hallway' 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.5::factA. 0.75::factB. 0.1::factC. %hop1 0.95::factX:-and(factA,factB). 0.7::factY:-and(factA,factC). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.34137499999999993,0.006801360272054411,train,probably not,certain,It is probably not the case that either 'John went to the hallway' or 'Sandra dropped the milk' but not both.,It is certain that either 'John went to the hallway' or 'Sandra dropped the milk' but not both.,0,Either 'John went to the hallway' or 'Sandra dropped the milk' but not both. It is unlikely that Gertrude is a cat. It is impossible that Julius is a lion. It is impossible that Sandra took the football. It is highly likely that if 'Gertrude is a cat and Julius is a lion' then Lily is a rhino. It is probably not the case that if either 'Julius is a lion' or 'Gertrude is a cat' but not both then Greg is green. It is probably the case that if either 'Julius is a lion' or 'Sandra took the football' but not both then Brian is yellow.,It is impossible that 'Greg is green 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.2::factA. 0.0::factB. 0.0::factC. %hop1 0.9::factX:-and(factA,factB). 0.25::factY:-xor(factB,factA). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.0,0.6089217843568714,train,impossible,better than even,It is impossible that 'Greg is green and Lily is a rhino'.,There is a better than even chance that 'Greg is green and Lily is a rhino'.,1,'Greg is green and Lily is a rhino'. It is impossible that Yann is tired. It is probably the case that John went to the hallway. It is probable that Daniel grabbed the milk. It is highly unlikely that if either 'Yann is tired' or 'John went to the hallway' but not both then Lily is white. We doubt that if 'Daniel grabbed the milk' or 'Yann is tired' or both then Julius is gray. It is impossible that if 'John went to the hallway' or 'Daniel grabbed the milk' or both then Brian is yellow.,It is impossible that 'Daniel grabbed the milk 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.0::factA. 0.7::factB. 0.7::factC. %hop1 0.05::factX:-xor(factA,factB). 0.2::factY:-or(factC,factA). 0.0::factZ:-or(factB,factC). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.0,0.05381076215243048,train,impossible,almost certain,It is impossible that 'Daniel grabbed the milk and Brian is yellow'.,It is almost certain that 'Daniel grabbed the milk and Brian is yellow'.,1,'Daniel grabbed the milk and Brian is yellow'. It is certain that Mary got the football. There is almost no chance that Sandra dropped the milk. It is improbable that Brian is a frog. There is a very good chance that if either 'Sandra dropped the milk' or 'Brian is a frog' but not both then Julius is a swan. It is probably the case that if 'Sandra dropped the milk' or 'Mary got the football' or both then John went to the garden. There is a better than even chance that if 'Mary got the football' or 'Sandra dropped the milk' or both then Lily is a lion.,It is probable that 'Lily is a lion 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 1.0::factA. 0.02::factB. 0.1::factC. %hop1 0.8::factX:-xor(factB,factC). 0.7::factY:-or(factB,factA). 0.6::factZ:-or(factA,factB). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.011999999999999999,0.020604120824164834,train,almost no chance,probable,There is almost no chance that 'Lily is a lion and Sandra dropped the milk'.,It is probable that 'Lily is a lion and Sandra dropped the milk'.,0,'Lily is a lion and Sandra dropped the milk'. It is highly likely that Sandra is in the kitchen. It is probably the case that Winona is a wolf. It is improbable that Greg is white. It is highly likely that if 'Sandra is in the kitchen' or 'Winona is a wolf' or both then Bill moved to the office. We believe that if 'Greg is white and Sandra is in the kitchen' then Fred left the football. It is highly unlikely that if 'Sandra is in the kitchen' or 'Greg is white' or both then Bernhard is a rhino.,It is probably the case that 'Fred left the football' 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.9::factA. 0.7::factB. 0.1::factC. %hop1 0.9::factX:-or(factA,factB). 0.75::factY:-and(factC,factA). 0.05::factZ:-or(factA,factC). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.72025,0.14702940588117624,train,probably,we doubt,It is probably the case that 'Fred left the football' or 'Winona is a wolf' or both.,We doubt that 'Fred left the football' or 'Winona is a wolf' or both.,1,'Fred left the football' or 'Winona is a wolf' or both. It is highly unlikely that Bernhard is a lion. There is almost no chance that Julius is gray. It is highly likely that Fred went to the office. It is unlikely that if 'Fred went to the office and Julius is gray' then Brian is a rhino. It is probably not the case that if 'Bernhard is a lion' or 'Julius is gray' or both then Greg is a frog. Chances are slight that if 'Fred went to the office' or 'Bernhard is a lion' or both then John took the football.,It is likely that 'Julius is gray' 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.02::factB. 0.9::factC. %hop1 0.2::factX:-and(factC,factB). 0.25::factY:-or(factA,factB). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.02,0.40668133626725345,train,almost no chance,likely,There is almost no chance that 'Julius is gray' or 'Brian is a rhino' or both.,It is likely that 'Julius is gray' or 'Brian is a rhino' or both.,0,'Julius is gray' or 'Brian is a rhino' or both. Chances are slight that Greg is gray. It is likely that Lily is green. It is likely that Mary left the apple. Chances are about even that if either 'Lily is green' or 'Greg is gray' but not both then Brian is a swan. It is probable that if 'Greg is gray' or 'Mary left the apple' or both then Jeff went to the garden. It is almost certain that if 'Mary left the apple' or 'Lily is green' or both then Bernhard is white.,We believe that 'Jeff went to the garden 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.1::factA. 0.7::factB. 0.7::factC. %hop1 0.5::factX:-xor(factB,factA). 0.7::factY:-or(factA,factC). 0.95::factZ:-or(factC,factB). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.3576999999999999,0.5059011802360472,train,probably not,we believe,It is probably not the case that 'Jeff went to the garden and Lily is green'.,We believe that 'Jeff went to the garden and Lily is green'.,0,'Jeff went to the garden and Lily is green'. We believe that Brian is a swan. It is impossible that Daniel got the milk. It is unlikely that John went to the garden. There is almost no chance that if 'Brian is a swan' or 'Daniel got the milk' or both then Emily is a wolf. It is improbable that if 'Brian is a swan and John went to the garden' then Bernhard is a lion. It is almost certain that if 'Brian is a swan and John went to the garden' then Mary moved to the office.,There is a better than even chance that 'Brian is a swan 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.75::factA. 0.0::factB. 0.2::factC. %hop1 0.02::factX:-or(factA,factB). 0.1::factY:-and(factA,factC). 0.95::factZ:-and(factA,factC). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0,0.3322664532906581,train,impossible,better than even,It is impossible that 'Brian is a swan and Daniel got the milk'.,There is a better than even chance that 'Brian is a swan and Daniel got the milk'.,0,'Brian is a swan and Daniel got the milk'. It is unlikely that Emily is a mouse. We doubt that Julius is a rhino. It is probably the case that Mary got the football. It is likely that if 'Mary got the football and Emily is a mouse' then Daniel left the apple. There is a very good chance that if 'Julius is a rhino and Mary got the football' then John went to the bedroom. It is probably not the case that if either 'Emily is a mouse' or 'Julius is a rhino' but not both then Bernhard is a frog.,It is highly unlikely that 'Bernhard is a frog 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.2::factB. 0.7::factC. %hop1 0.7::factX:-and(factC,factA). 0.8::factY:-and(factB,factC). 0.25::factZ:-xor(factA,factB). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.05599999999999999,0.4360872174434887,train,highly unlikely,likely,It is highly unlikely that 'Bernhard is a frog and Mary got the football'.,It is likely that 'Bernhard is a frog and Mary got the football'.,1,'Bernhard is a frog and Mary got the football'. Chances are slight that Greg is a rhino. It is highly unlikely that Bernhard is green. There is a very good chance that John moved to the garden. It is certain that if 'John moved to the garden' or 'Bernhard is green' or both then Fred dropped the milk. It is probable that if 'Bernhard is green and Greg is a rhino' then Sandra left the apple. It is impossible that if 'John moved to the garden and Greg is a rhino' then Lily is yellow.,There is a very good chance that either 'Sandra left 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.05::factB. 0.8::factC. %hop1 1.0::factX:-or(factC,factB). 0.7::factY:-and(factB,factA). 0.0::factZ:-and(factC,factA). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.8065,0.07361472294458891,train,very good chance,impossible,There is a very good chance that either 'Sandra left the apple' or 'Fred dropped the milk' but not both.,It is impossible that either 'Sandra left the apple' or 'Fred dropped the milk' but not both.,1,Either 'Sandra left the apple' or 'Fred dropped the milk' but not both. It is likely that Gertrude is a sheep. It is certain that Julius is a lion. It is probable that Fred is in the cinema. It is certain that if either 'Julius is a lion' or 'Gertrude is a sheep' but not both then John dropped the apple. There is a very good chance that if 'Julius is a lion' or 'Gertrude is a sheep' or both then Bernhard is green. There is little chance that if 'Gertrude is a sheep' or 'Fred is in the cinema' or both then Daniel got the milk.,It is impossible that 'Gertrude is a sheep and John 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.7::factA. 1.0::factB. 0.7::factC. %hop1 1.0::factX:-xor(factB,factA). 0.8::factY:-or(factB,factA). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.0,0.6973394678935787,train,impossible,probably,It is impossible that 'Gertrude is a sheep and John dropped the apple'.,It is probably the case that 'Gertrude is a sheep and John dropped the apple'.,1,'Gertrude is a sheep and John dropped the apple'. There is little chance that Brian is a rhino. It is unlikely that Gertrude is a mouse. There is almost no chance that Emily is a cat. It is probable that if either 'Gertrude is a mouse' or 'Emily is a cat' but not both then Mary moved to the office. It is probably the case that if 'Gertrude is a mouse and Emily is a cat' then Greg is white. It is probably not the case that if 'Gertrude is a mouse and Emily is a cat' then Daniel grabbed the apple.,Chances are about even that 'Greg is white and Gertrude 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.1::factA. 0.2::factB. 0.02::factC. %hop1 0.7::factX:-xor(factB,factC). 0.7::factY:-and(factB,factC). 0.25::factZ:-and(factB,factC). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.002800000000000001,0.6673334666933387,train,impossible,about even,It is impossible that 'Greg is white and Gertrude is a mouse'.,Chances are about even that 'Greg is white and Gertrude is a mouse'.,0,'Greg is white and Gertrude is a mouse'. There is a better than even chance that Yann is hungry. It is almost certain that Greg is gray. It is almost certain that Emily is a wolf. It is impossible that if 'Greg is gray and Emily is a wolf' then Bernhard is a frog. We doubt that if either 'Yann is hungry' or 'Greg is gray' but not both then Jason is thirsty. It is probably the case that if 'Yann is hungry' or 'Emily is a wolf' or both then Brian is yellow.,It is impossible that 'Jason is thirsty 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.6::factA. 0.95::factB. 0.95::factC. %hop1 0.0::factX:-and(factB,factC). 0.2::factY:-xor(factA,factB). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.006000000000000009,0.045209041808361675,train,impossible,almost certain,It is impossible that 'Jason is thirsty and Yann is hungry'.,It is almost certain that 'Jason is thirsty and Yann is hungry'.,1,'Jason is thirsty and Yann is hungry'. We believe that Bernhard is white. We doubt that Bill went to the garden. There is a very good chance that Greg is a swan. We believe that if 'Bernhard is white and Greg is a swan' then Lily is a rhino. There is a very good chance that if either 'Bernhard is white' or 'Greg is a swan' but not both then Daniel left the apple. We believe that if 'Greg is a swan and Bernhard is white' then Mary dropped the apple.,We believe that either 'Greg is a swan' or 'Daniel 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.75::factA. 0.2::factB. 0.8::factC. %hop1 0.75::factX:-and(factA,factC). 0.8::factY:-xor(factA,factC). 0.75::factZ:-and(factC,factA). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.76,0.7979595919183837,train,we believe,we doubt,We believe that either 'Greg is a swan' or 'Daniel left the apple' but not both.,We doubt that either 'Greg is a swan' or 'Daniel left the apple' but not both.,1,Either 'Greg is a swan' or 'Daniel left the apple' but not both. It is probable that Lily is green. It is improbable that Bernhard is gray. We believe that Brian is yellow. Chances are about even that if either 'Brian is yellow' or 'Lily is green' but not both then John moved to the office. Chances are slight that if 'Brian is yellow' or 'Lily is green' or both then Mary left the apple. There is a very good chance that if either 'Bernhard is gray' or 'Lily is green' but not both then Sandra took the football.,There is almost no chance 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. 0.1::factB. 0.75::factC. %hop1 0.5::factX:-xor(factC,factA). 0.1::factY:-or(factC,factA). 0.8::factZ:-xor(factB,factA). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.8375,0.7111422284456892,train,very good chance,almost no chance,There is a very good chance 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.,0,'Brian is yellow' or 'John moved to the office' or both. It is highly unlikely that Mary left the football. It is likely that Julius is green. It is highly unlikely that Winona is a wolf. It is highly unlikely that if either 'Winona is a wolf' or 'Mary left the football' but not both then Emily is a mouse. There is little chance that if 'Julius is green' or 'Mary left the football' or both then Bill went to the garden. It is unlikely that if either 'Winona is a wolf' or 'Julius is green' but not both then Greg is white.,It is impossible that either 'Julius is green' 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.7::factB. 0.05::factC. %hop1 0.05::factX:-xor(factC,factA). 0.1::factY:-or(factB,factA). 0.2::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6799999999999999,0.28745749149829963,train,likely,impossible,It is likely that either 'Julius is green' or 'Winona is a wolf' but not both.,It is impossible that either 'Julius is green' or 'Winona is a wolf' but not both.,0,Either 'Julius is green' or 'Winona is a wolf' but not both. Chances are slight that Mary left the football. It is impossible that John picked up the apple. It is probably the case that Jessica is a mouse. Chances are slight that if either 'John picked up the apple' or 'Jessica is a mouse' but not both then Bernhard is yellow. It is certain that if 'Jessica is a mouse and Mary left the football' then Brian is a frog. It is probable that if either 'Jessica is a mouse' or 'John picked up the apple' but not both then Julius is white.,It is unlikely that 'Jessica is a mouse' or 'John picked up 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.0::factB. 0.7::factC. %hop1 0.1::factX:-xor(factB,factC). 1.0::factY:-and(factC,factA). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.7,0.1974394878975795,train,likely,unlikely,It is likely that 'Jessica is a mouse' or 'John picked up the apple' or both.,It is unlikely that 'Jessica is a mouse' or 'John picked up the apple' or both.,0,'Jessica is a mouse' or 'John picked up the apple' or both. There is a better than even chance that Lily is a rhino. It is certain that Greg is yellow. It is almost certain that Bernhard is a lion. It is probably not the case that if 'Greg is yellow and Bernhard is a lion' then John dropped the milk. It is probably not the case that if 'Greg is yellow' or 'Bernhard is a lion' or both then Brian is a swan. There is little chance that if 'Bernhard is a lion' or 'Lily is a rhino' or both then Mary went to the bedroom.,We believe that either 'Greg is yellow' 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.6::factA. 1.0::factB. 0.95::factC. %hop1 0.25::factX:-and(factB,factC). 0.25::factY:-or(factB,factC). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.7625,0.17323464692938587,train,we believe,we doubt,We believe that either 'Greg is yellow' or 'John dropped the milk' but not both.,We doubt that either 'Greg is yellow' or 'John dropped the milk' but not both.,1,Either 'Greg is yellow' or 'John dropped the milk' but not both. It is highly unlikely that Mary took the football. It is impossible that Brian is a frog. It is impossible that John went to the garden. It is unlikely that if either 'Mary took the football' or 'John went to the garden' but not both then Bernhard is green. There is little chance that if either 'Brian is a frog' or 'Mary took the football' but not both then Greg is gray. We doubt that if 'John went to the garden' or 'Mary took the football' or both then Julius is yellow.,There is a very good chance that 'John went to the garden 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.05::factA. 0.0::factB. 0.0::factC. %hop1 0.2::factX:-xor(factA,factC). 0.1::factY:-xor(factB,factA). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.0,0.4328865773154631,train,impossible,very good chance,It is impossible that 'John went to the garden and Bernhard is green'.,There is a very good chance that 'John went to the garden and Bernhard is green'.,0,'John went to the garden and Bernhard is green'. It is probably the case that Bernhard is yellow. There is a better than even chance that Fred left the football. It is highly likely that Mary went to the office. It is probable that if 'Mary went to the office and Bernhard is yellow' then Jason is thirsty. We doubt that if 'Mary went to the office' or 'Fred left the football' or both then John dropped the apple. It is highly likely that if 'Bernhard is yellow' or 'Fred left the football' or both then Julius is a lion.,It is almost certain that either 'Bernhard is yellow' or 'Fred 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.6::factB. 0.9::factC. %hop1 0.7::factX:-and(factC,factA). 0.2::factY:-or(factC,factB). 0.9::factZ:-or(factA,factB). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.45999999999999996,0.6999399879975995,train,about even,almost certain,Chances are about even that either 'Bernhard is yellow' or 'Fred left the football' but not both.,It is almost certain that either 'Bernhard is yellow' or 'Fred left the football' but not both.,0,Either 'Bernhard is yellow' or 'Fred left the football' but not both. It is probably the case that Gertrude is a cat. We doubt that John grabbed the milk. It is unlikely that Julius is a frog. It is likely that if 'Gertrude is a cat' or 'Julius is a frog' or both then Greg is a frog. It is probably not the case that if either 'Gertrude is a cat' or 'John grabbed the milk' but not both then Bernhard is gray. We doubt that if either 'Julius is a frog' or 'Gertrude is a cat' but not both then Mary went to the office.,It is impossible that either 'Mary went to the office' or 'Gertrude 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.7::factA. 0.2::factB. 0.2::factC. %hop1 0.7::factX:-or(factA,factC). 0.25::factY:-xor(factA,factB). 0.2::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.6,0.15843168633726745,train,better than even,impossible,There is a better than even chance that either 'Mary went to the office' or 'Gertrude is a cat' but not both.,It is impossible that either 'Mary went to the office' or 'Gertrude is a cat' but not both.,0,Either 'Mary went to the office' or 'Gertrude is a cat' but not both. Chances are slight that Emily is a wolf. It is unlikely that Julius is a lion. There is almost no chance that Mary got the football. Chances are about even that if 'Mary got the football and Julius is a lion' then Brian is yellow. There is a very good chance that if either 'Emily is a wolf' or 'Julius is a lion' but not both then Gertrude is a cat. There is a very good chance that if 'Emily is a wolf' or 'Mary got the football' or both then Bernhard is green.,There is little chance that 'Mary got the football' 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.1::factA. 0.2::factB. 0.02::factC. %hop1 0.5::factX:-and(factC,factB). 0.8::factY:-xor(factA,factB). 0.8::factZ:-or(factA,factC). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.11800000000000002,0.7879575915183037,train,little chance,almost certain,There is little chance that 'Mary got the football' or 'Emily is a wolf' or both.,It is almost certain that 'Mary got the football' or 'Emily is a wolf' or both.,1,'Mary got the football' or 'Emily is a wolf' or both. It is impossible that Julius is a swan. There is little chance that Mary went to the bedroom. We doubt that Brian is white. Chances are slight that if 'Julius is a swan and Brian is white' then Lily is gray. It is highly likely that if 'Julius is a swan and Mary went to the bedroom' then Jessica is a cat. It is unlikely that if 'Brian is white' or 'Mary went to the bedroom' or both then John dropped the milk.,It is impossible that 'Julius 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.0::factA. 0.1::factB. 0.2::factC. %hop1 0.1::factX:-and(factA,factC). 0.9::factY:-and(factA,factB). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.028205641128225645,train,impossible,probably,It is impossible that 'Julius is a swan and Brian is white'.,It is probably the case that 'Julius is a swan and Brian is white'.,1,'Julius is a swan and Brian is white'. Chances are about even that John dropped the milk. Chances are slight that Brian is a swan. Chances are slight that Mary went to the office. It is impossible that if 'John dropped the milk' or 'Brian is a swan' or both then Greg is a rhino. There is almost no chance that if 'Mary went to the office and Brian is a swan' then Fred discarded the apple. We doubt that if 'John dropped the milk' or 'Brian is a swan' or both then Lily is a lion.,We believe that 'Greg is a rhino' or 'Mary 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.5::factA. 0.1::factB. 0.1::factC. %hop1 0.0::factX:-or(factA,factB). 0.02::factY:-and(factC,factB). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.10000000000000002,0.764752950590118,train,little chance,we believe,There is little chance that 'Greg is a rhino' or 'Mary went to the office' or both.,We believe that 'Greg is a rhino' or 'Mary went to the office' or both.,0,'Greg is a rhino' or 'Mary went to the office' or both. It is unlikely that Brian is a frog. We doubt that Daniel got the football. We doubt that Lily is a swan. There is a better than even chance that if 'Brian is a frog' or 'Daniel got the football' or both then Jessica is a mouse. It is probably the case that if 'Daniel got the football' or 'Brian is a frog' or both then Sandra dropped the milk. It is highly unlikely that if 'Daniel got the football' or 'Lily is a swan' or both then Julius is a lion.,It is highly unlikely that 'Brian is a frog and Daniel 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.2::factB. 0.2::factC. %hop1 0.6::factX:-or(factA,factB). 0.7::factY:-or(factB,factA). 0.05::factZ:-or(factB,factC). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.04000000000000001,0.0678135627125425,train,highly unlikely,very good chance,It is highly unlikely that 'Brian is a frog and Daniel got the football'.,There is a very good chance that 'Brian is a frog and Daniel got the football'.,1,'Brian is a frog and Daniel got the football'. There is little chance that Yann is hungry. There is little chance that Lily is a frog. It is almost certain that John went to the garden. There is little chance that if 'Yann is hungry and Lily is a frog' then Mary dropped the milk. Chances are slight that if either 'Yann is hungry' or 'John went to the garden' but not both then Brian is a lion. There is a very good chance that if 'Lily is a frog and John went to the garden' then Julius is white.,We doubt that either 'Brian is a lion' 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.1::factA. 0.1::factB. 0.95::factC. %hop1 0.1::factX:-and(factA,factB). 0.1::factY:-xor(factA,factC). 0.8::factZ:-and(factB,factC). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.16880000000000003,0.46189237847569514,train,we doubt,probable,We doubt that either 'Brian is a lion' or 'Lily is a frog' but not both.,It is probable that either 'Brian is a lion' or 'Lily is a frog' but not both.,1,Either 'Brian is a lion' or 'Lily is a frog' but not both. It is probable that Lily is gray. Chances are about even that Fred dropped the milk. It is impossible that Mary left the football. We doubt that if either 'Fred dropped the milk' or 'Mary left the football' but not both then Yann is tired. It is highly unlikely that if either 'Lily is gray' or 'Mary left the football' but not both then John moved to the garden. It is impossible that if either 'Lily is gray' or 'Mary left the football' but not both then Brian is a swan.,It is almost certain that either 'Brian is a swan' or 'Yann 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.5::factB. 0.0::factC. %hop1 0.2::factX:-xor(factB,factC). 0.05::factY:-xor(factA,factC). 0.0::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.10000000000000002,0.16503300660132025,train,improbable,almost certain,It is improbable that either 'Brian is a swan' or 'Yann is tired' but not both.,It is almost certain that either 'Brian is a swan' or 'Yann is tired' but not both.,0,Either 'Brian is a swan' or 'Yann is tired' but not both. It is probably the case that Winona is a wolf. There is little chance that Bernhard is a frog. It is almost certain that Julius is a swan. It is probably not the case that if 'Winona is a wolf and Bernhard is a frog' then Greg is a swan. It is probable that if 'Bernhard is a frog and Julius is a swan' then Fred left the apple. It is certain that if 'Bernhard is a frog' or 'Winona is a wolf' or both then Mary went to the bedroom.,It is probably not the case that either 'Winona is a wolf' or 'Fred 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.1::factB. 0.95::factC. %hop1 0.25::factX:-and(factA,factB). 0.7::factY:-and(factB,factC). 1.0::factZ:-or(factB,factA). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.6734,0.6163232646529306,train,probably,probably not,It is probably the case that either 'Winona is a wolf' or 'Fred left the apple' but not both.,It is probably not the case that either 'Winona is a wolf' or 'Fred left the apple' but not both.,0,Either 'Winona is a wolf' or 'Fred left the apple' but not both. There is little chance that Winona is a mouse. It is impossible that Daniel left the football. It is highly likely that Lily is yellow. It is likely that if 'Daniel left the football and Lily is yellow' then Julius is a lion. It is improbable that if either 'Daniel left the football' or 'Lily is yellow' but not both then John went to the kitchen. We doubt that if either 'Daniel left the football' or 'Lily is yellow' but not both then Bernhard is a swan.,It is impossible 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.0::factB. 0.9::factC. %hop1 0.7::factX:-and(factB,factC). 0.1::factY:-xor(factB,factC). 0.2::factZ:-xor(factB,factC). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.0,0.7763552710542109,train,impossible,certain,It is impossible that 'Julius is a lion and Bernhard is a swan'.,It is certain that 'Julius is a lion and Bernhard is a swan'.,1,'Julius is a lion and Bernhard is a swan'. It is impossible that Julius is gray. It is certain that John went to the office. It is probably not the case that Mary got the football. It is improbable that if 'Mary got the football' or 'Julius is gray' or both then Brian is green. We believe that if 'Julius is gray' or 'Mary got the football' or both then Lily is gray. It is almost certain that if either 'John went to the office' or 'Julius is gray' but not both then Daniel dropped the milk.,There is a very good chance that either 'Brian is green' 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.0::factA. 1.0::factB. 0.25::factC. %hop1 0.1::factX:-or(factC,factA). 0.75::factY:-or(factA,factC). 0.95::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.175,0.7795559111822364,train,we doubt,very good chance,We doubt that either 'Brian is green' or 'Lily is gray' but not both.,There is a very good chance that either 'Brian is green' or 'Lily is gray' but not both.,0,Either 'Brian is green' or 'Lily is gray' but not both. It is probably the case that Greg is a lion. It is likely that Bernhard is gray. It is unlikely that Mary got the football. It is impossible that if 'Mary got the football and Bernhard is gray' then Lily is a swan. It is highly likely that if 'Mary got the football and Bernhard is gray' then John moved to the office. It is likely that if either 'Bernhard is gray' or 'Mary got the football' but not both then Sandra left the apple.,There is a very good chance that either 'John moved to the office' 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.7::factA. 0.7::factB. 0.2::factC. %hop1 0.0::factX:-and(factC,factB). 0.9::factY:-and(factC,factB). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.12600000000000003,0.03740748149629926,train,chances are slight,very good chance,Chances are slight that either 'John moved to the office' or 'Lily is a swan' but not both.,There is a very good chance that either 'John moved to the office' or 'Lily is a swan' but not both.,0,Either 'John moved to the office' or 'Lily is a swan' but not both. It is highly unlikely that Bill got the milk there. It is improbable that John went to the office. It is certain that Mary left the apple. We believe that if 'John went to the office and Mary left the apple' then Winona is a wolf. It is highly unlikely that if 'Bill got the milk there and John went to the office' then Brian is yellow. It is almost certain that if 'John went to the office' or 'Mary left the apple' or both then Bernhard is a swan.,There is almost no chance that 'Bill got the milk there' or 'Mary 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.05::factA. 0.1::factB. 1.0::factC. %hop1 0.75::factX:-and(factB,factC). 0.05::factY:-and(factA,factB). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.499499899979996,train,certain,almost no chance,It is certain that 'Bill got the milk there' or 'Mary left the apple' or both.,There is almost no chance that 'Bill got the milk there' or 'Mary left the apple' or both.,0,'Bill got the milk there' or 'Mary left the apple' or both. It is probable that Bernhard is gray. It is probably the case that Gertrude is a sheep. It is highly unlikely that Brian is a rhino. It is probable that if 'Brian is a rhino' or 'Gertrude is a sheep' or both then Lily is yellow. We doubt that if 'Bernhard is gray and Brian is a rhino' then Julius is a swan. We doubt that if either 'Brian is a rhino' or 'Bernhard is gray' but not both then Mary got the football.,It is almost certain that 'Lily is yellow and Julius 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.7::factB. 0.05::factC. %hop1 0.7::factX:-or(factC,factB). 0.2::factY:-and(factA,factC). 0.2::factZ:-xor(factC,factA). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.004900000000000002,0.7695539107821564,train,impossible,almost certain,It is impossible that 'Lily is yellow and Julius is a swan'.,It is almost certain that 'Lily is yellow and Julius is a swan'.,0,'Lily is yellow and Julius is a swan'. There is little chance that Brian is a frog. It is probably not the case that Lily is green. Chances are about even that Daniel grabbed the milk. There is a better than even chance that if 'Lily is green and Daniel grabbed the milk' then Greg is gray. It is impossible that if 'Brian is a frog' or 'Lily is green' or both then Mary went to the kitchen. It is almost certain that if either 'Brian is a frog' or 'Daniel grabbed the milk' but not both then John moved to the office.,It is almost certain that either 'John moved to the office' or 'Greg 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.25::factB. 0.5::factC. %hop1 0.6::factX:-and(factB,factC). 0.0::factY:-or(factA,factB). 0.95::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.42174999999999996,0.28045609121824366,train,about even,almost certain,Chances are about even that either 'John moved to the office' or 'Greg is gray' but not both.,It is almost certain that either 'John moved to the office' or 'Greg is gray' but not both.,0,Either 'John moved to the office' or 'Greg is gray' but not both. There is little chance that Emily is a mouse. It is probable that John dropped the apple. It is highly unlikely that Julius is a swan. It is probable that if 'Emily is a mouse and John dropped the apple' then Lily is a lion. It is highly unlikely that if either 'Julius is a swan' or 'John dropped the apple' but not both then Brian is a rhino. It is likely that if either 'Julius is a swan' or 'John dropped the apple' but not both then Greg is green.,Chances are about even that 'Greg is green' or 'Emily 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.7::factB. 0.05::factC. %hop1 0.7::factX:-and(factA,factB). 0.05::factY:-xor(factC,factB). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.5284,0.7409481896379276,train,about even,almost no chance,Chances are about even that 'Greg is green' or 'Emily is a mouse' or both.,There is almost no chance that 'Greg is green' or 'Emily is a mouse' or both.,1,'Greg is green' or 'Emily is a mouse' or both. There is little chance that John went to the kitchen. There is little chance that Gertrude is a sheep. It is probable that Lily is green. Chances are about even that if 'John went to the kitchen and Lily is green' then Sandra took the football. There is almost no chance that if 'John went to the kitchen and Lily is green' then Daniel grabbed the milk. There is almost no chance that if 'John went to the kitchen and Lily is green' then Jessica is a cat.,We believe that 'Gertrude is a sheep' 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.1::factA. 0.1::factB. 0.7::factC. %hop1 0.5::factX:-and(factA,factC). 0.02::factY:-and(factA,factC). 0.02::factZ:-and(factA,factC). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.73,0.5969193838767753,train,we believe,probably not,We believe that 'Gertrude is a sheep' or 'Lily is green' or both.,It is probably not the case that 'Gertrude is a sheep' or 'Lily is green' or both.,1,'Gertrude is a sheep' or 'Lily is green' or both. Chances are slight that Julius is yellow. It is almost certain that Bernhard is green. There is almost no chance that Mary went to the office. It is probably not the case that if either 'Bernhard is green' or 'Mary went to the office' but not both then Lily is green. Chances are about even that if 'Julius is yellow and Mary went to the office' then Antoine is thirsty. We doubt that if either 'Julius is yellow' or 'Mary went to the office' but not both then John took the milk.,We believe that either 'John took the milk' 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.1::factA. 0.95::factB. 0.02::factC. %hop1 0.25::factX:-xor(factB,factC). 0.5::factY:-and(factA,factC). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.0242,0.7571514302860572,train,almost no chance,we believe,There is almost no chance that either 'John took the milk' or 'Antoine is thirsty' but not both.,We believe that either 'John took the milk' or 'Antoine is thirsty' but not both.,0,Either 'John took the milk' or 'Antoine is thirsty' but not both. It is improbable that John went to the garden. It is highly likely that Greg is green. It is highly likely that Julius is gray. It is highly unlikely that if either 'John went to the garden' or 'Julius is gray' but not both then Emily is a wolf. There is little chance that if 'Greg is green' or 'Julius is gray' or both then Brian is gray. It is impossible that if 'John went to the garden and Julius is gray' then Mary is in the hallway.,We believe that 'Mary is in the hallway 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.1::factA. 0.9::factB. 0.9::factC. %hop1 0.05::factX:-xor(factA,factC). 0.1::factY:-or(factB,factC). 0.0::factZ:-and(factA,factC). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.0,0.41428285657131425,train,impossible,we believe,It is impossible that 'Mary is in the hallway and Brian is gray'.,We believe that 'Mary is in the hallway and Brian is gray'.,0,'Mary is in the hallway and Brian is gray'. It is improbable that Lily is a frog. It is highly unlikely that Bernhard is a lion. It is improbable that John took the apple. We doubt that if either 'Bernhard is a lion' or 'Lily is a frog' but not both then Emily is a mouse. It is probable that if either 'Bernhard is a lion' or 'Lily is a frog' but not both then Julius is white. Chances are about even that if 'Bernhard is a lion and Lily is a frog' then Mary discarded the milk.,It is almost certain that 'John took the apple' 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.1::factA. 0.05::factB. 0.1::factC. %hop1 0.2::factX:-xor(factB,factA). 0.7::factY:-xor(factB,factA). 0.5::factZ:-and(factB,factA). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.18820000000000003,0.16263252650530105,train,unlikely,almost certain,It is unlikely that 'John took the apple' or 'Julius is white' or both.,It is almost certain that 'John took the apple' or 'Julius is white' or both.,0,'John took the apple' or 'Julius is white' or both. There is a better than even chance that John left the football. It is impossible that Bernhard is a swan. We doubt that Jeff went to the hallway. Chances are slight that if 'Bernhard is a swan and Jeff went to the hallway' then Julius is yellow. There is a very good chance that if 'Bernhard is a swan and Jeff went to the hallway' then Lily is green. It is probable that if 'John left the football' or 'Jeff went to the hallway' or both then Sandra dropped the milk.,It is likely that 'Jeff went to the hallway 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.6::factA. 0.0::factB. 0.2::factC. %hop1 0.1::factX:-and(factB,factC). 0.8::factY:-and(factB,factC). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.7561512302460492,train,impossible,likely,It is impossible that 'Jeff went to the hallway and Bernhard is a swan'.,It is likely that 'Jeff went to the hallway and Bernhard is a swan'.,0,'Jeff went to the hallway and Bernhard is a swan'. Chances are slight that Julius is gray. There is a very good chance that Jason is tired. It is probably the case that Mary took the football. We believe that if either 'Mary took the football' or 'Julius is gray' but not both then Bernhard is white. It is unlikely that if either 'Julius is gray' or 'Mary took the football' but not both then John put down the milk. There is little chance that if either 'Mary took the football' or 'Julius is gray' but not both then Emily is a mouse.,We doubt that 'Bernhard is white' 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 0.1::factA. 0.8::factB. 0.7::factC. %hop1 0.75::factX:-xor(factC,factA). 0.2::factY:-xor(factA,factC). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.899,0.14802960592118425,train,highly likely,we doubt,It is highly likely that 'Bernhard is white' or 'Jason is tired' or both.,We doubt that 'Bernhard is white' or 'Jason is tired' or both.,0,'Bernhard is white' or 'Jason is tired' or both. Chances are slight that Mary went to the office. Chances are slight that Bernhard is a swan. It is highly likely that Greg is a frog. It is likely that if 'Mary went to the office and Bernhard is a swan' then Daniel got the milk. It is highly unlikely that if either 'Mary went to the office' or 'Bernhard is a swan' but not both then Sandra dropped the apple. There is little chance that if 'Mary went to the office' or 'Greg is a frog' or both then Emily is a wolf.,Chances are slight that 'Emily is a wolf' 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.1::factA. 0.1::factB. 0.9::factC. %hop1 0.7::factX:-and(factA,factB). 0.05::factY:-xor(factA,factB). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.09730000000000004,0.2506501300260052,train,chances are slight,highly likely,Chances are slight that 'Emily is a wolf' or 'Daniel got the milk' or both.,It is highly likely that 'Emily is a wolf' or 'Daniel got the milk' or both.,1,'Emily is a wolf' or 'Daniel got the milk' or both. It is impossible that Mary moved to the office. There is a better than even chance that John went to the kitchen. There is little chance that Gertrude is a cat. It is probably the case that if 'Mary moved to the office and Gertrude is a cat' then Winona is a mouse. Chances are about even that if 'John went to the kitchen' or 'Mary moved to the office' or both then Julius is white. It is almost certain that if either 'John went to the kitchen' or 'Gertrude is a cat' but not both then Bernhard is a frog.,It is certain that either 'Mary moved to the office' 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.6::factB. 0.1::factC. %hop1 0.7::factX:-and(factA,factC). 0.5::factY:-or(factB,factA). 0.95::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.0,0.6847369473894779,train,impossible,certain,It is impossible that either 'Mary moved to the office' or 'Winona is a mouse' but not both.,It is certain that either 'Mary moved to the office' or 'Winona is a mouse' but not both.,0,Either 'Mary moved to the office' or 'Winona is a mouse' but not both. There is almost no chance that Emily is a cat. It is improbable that John took the football. It is almost certain that Lily is yellow. It is probably the case that if 'Emily is a cat' or 'John took the football' or both then Winona is a sheep. It is likely that if 'John took the football' or 'Emily is a cat' or both then Julius is green. Chances are slight that if 'Emily is a cat' or 'John took the football' or both then Bernhard is gray.,It is likely that 'Winona is a sheep 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.02::factA. 0.1::factB. 0.95::factC. %hop1 0.7::factX:-or(factA,factB). 0.7::factY:-or(factB,factA). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.07847,0.28225645129025806,train,improbable,likely,It is improbable that 'Winona is a sheep and Lily is yellow'.,It is likely that 'Winona is a sheep and Lily is yellow'.,0,'Winona is a sheep and Lily is yellow'. We believe that Greg is a lion. It is almost certain that John took the apple. It is likely that Mary went to the kitchen. It is highly likely that if either 'John took the apple' or 'Greg is a lion' but not both then Emily is a wolf. It is almost certain that if either 'John took the apple' or 'Greg is a lion' but not both then Julius is a swan. There is a better than even chance that if 'Mary went to the kitchen' or 'Greg is a lion' or both then Lily is white.,We believe that either 'Julius is a swan' 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.75::factA. 0.95::factB. 0.7::factC. %hop1 0.9::factX:-xor(factB,factA). 0.95::factY:-xor(factB,factA). 0.6::factZ:-or(factC,factA). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.76,0.5451090218043608,train,we believe,little chance,We believe that either 'Julius is a swan' or 'John took the apple' but not both.,There is little chance that either 'Julius is a swan' or 'John took the apple' but not both.,1,Either 'Julius is a swan' or 'John took the apple' but not both. It is likely that Mary took the football. It is highly unlikely that John left the milk. There is a better than even chance that Jeff dropped the apple. It is impossible that if 'Jeff dropped the apple and John left the milk' then Emily is a sheep. It is improbable that if 'Jeff dropped the apple' or 'Mary took the football' or both then Bernhard is gray. It is highly likely that if 'Jeff dropped the apple and Mary took the football' then Lily is yellow.,There is little chance that 'Bernhard is gray' or 'John 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.7::factA. 0.05::factB. 0.6::factC. %hop1 0.0::factX:-and(factC,factB). 0.1::factY:-or(factC,factA). 0.9::factZ:-and(factC,factA). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.13360000000000002,0.3246649329865973,train,little chance,better than even,There is little chance that 'Bernhard is gray' or 'John left the milk' or both.,There is a better than even chance that 'Bernhard is gray' or 'John left the milk' or both.,1,'Bernhard is gray' or 'John left the milk' or both. Chances are about even that Greg is a lion. It is impossible that Fred discarded the apple. It is highly unlikely that Jason is tired. There is almost no chance that if 'Fred discarded the apple and Greg is a lion' then Julius is a frog. It is probably the case that if either 'Greg is a lion' or 'Fred discarded the apple' but not both then John went to the office. It is improbable that if 'Jason is tired and Greg is a lion' then Sandra dropped the milk.,Chances are about even that 'Jason is tired' 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.5::factA. 0.0::factB. 0.05::factC. %hop1 0.02::factX:-and(factB,factA). 0.7::factY:-xor(factA,factB). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.3825,0.010402080416083218,train,about even,impossible,Chances are about even that 'Jason is tired' or 'John went to the office' or both.,It is impossible that 'Jason is tired' or 'John went to the office' or both.,1,'Jason is tired' or 'John went to the office' or both. We doubt that Mary picked up the milk. Chances are about even that Sandra dropped the milk. It is almost certain that Jeff went to the garden. There is almost no chance that if either 'Mary picked up the milk' or 'Jeff went to the garden' but not both then Lily is a swan. There is almost no chance that if either 'Mary picked up the milk' or 'Jeff went to the garden' but not both then Bernhard is a swan. There is little chance that if 'Jeff went to the garden and Sandra dropped the milk' then Greg is a frog.,It is probably the case that either 'Mary picked up the milk' 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.2::factA. 0.5::factB. 0.95::factC. %hop1 0.02::factX:-xor(factA,factC). 0.02::factY:-xor(factA,factC). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.21500000000000002,0.7521504300860172,train,unlikely,probably,It is unlikely that either 'Mary picked up the milk' or 'Lily is a swan' but not both.,It is probably the case that either 'Mary picked up the milk' or 'Lily is a swan' but not both.,0,Either 'Mary picked up the milk' or 'Lily is a swan' but not both. It is likely that Gertrude is a mouse. There is a better than even chance that Sumit is thirsty. Chances are about even that Mary moved to the office. It is highly likely that if either 'Gertrude is a mouse' or 'Mary moved to the office' but not both then Bernhard is gray. It is unlikely that if 'Gertrude is a mouse' or 'Mary moved to the office' or both then John went to the bedroom. It is probably the case that if either 'Sumit is thirsty' or 'Gertrude is a mouse' but not both then Lily is yellow.,There is a very good chance that 'Gertrude is a mouse' 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.7::factA. 0.6::factB. 0.5::factC. %hop1 0.9::factX:-xor(factA,factC). 0.2::factY:-or(factA,factC). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.826,0.01960392078415683,train,very good chance,little chance,There is a very good chance that 'Gertrude is a mouse' or 'Lily is yellow' or both.,There is little chance that 'Gertrude is a mouse' or 'Lily is yellow' or both.,1,'Gertrude is a mouse' or 'Lily is yellow' or both. It is probably not the case that Greg is green. It is impossible that John moved to the office. There is almost no chance that Julius is white. It is probable that if 'John moved to the office and Julius is white' then Daniel dropped the apple. It is impossible that if 'Julius is white and John moved to the office' then Fred left the football. It is probably not the case that if 'Julius is white and Greg is green' then Bernhard is a lion.,It is impossible that 'Bernhard is a lion 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.25::factA. 0.0::factB. 0.02::factC. %hop1 0.7::factX:-and(factB,factC). 0.0::factY:-and(factC,factB). 0.25::factZ:-and(factC,factA). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.0,0.589117823564713,train,impossible,probably,It is impossible that 'Bernhard is a lion and John moved to the office'.,It is probably the case that 'Bernhard is a lion and John moved to the office'.,1,'Bernhard is a lion and John moved to the office'. It is improbable that Mary went to the kitchen. We believe that John picked up the apple. We doubt that Fred dropped the milk. There is a better than even chance that if either 'Fred dropped the milk' or 'Mary went to the kitchen' but not both then Yann is tired. It is unlikely that if either 'Fred dropped the milk' or 'Mary went to the kitchen' but not both then Emily is a mouse. It is impossible that if 'John picked up the apple' or 'Mary went to the kitchen' or both then Lily is white.,It is probable that either 'John picked up the apple' or 'Mary went to the kitchen' 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.2::factC. %hop1 0.6::factX:-xor(factC,factA). 0.2::factY:-xor(factC,factA). 0.0::factZ:-or(factB,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.7,0.21484296859371874,train,probable,improbable,It is probable that either 'John picked up the apple' or 'Mary went to the kitchen' but not both.,It is improbable that either 'John picked up the apple' or 'Mary went to the kitchen' but not both.,1,Either 'John picked up the apple' or 'Mary went to the kitchen' but not both. It is unlikely that Jeff dropped the apple. There is little chance that Fred went to the garden. It is unlikely that Julius is white. We believe that if either 'Julius is white' or 'Fred went to the garden' but not both then Jessica is a cat. It is probably the case that if 'Julius is white and Jeff dropped the apple' then John left the apple. It is improbable that if 'Fred went to the garden and Jeff dropped the apple' then Winona is a mouse.,It is probable that 'Jeff dropped the apple' or 'Fred 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.2::factC. %hop1 0.75::factX:-xor(factC,factB). 0.7::factY:-and(factC,factA). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.28,0.2460492098419684,train,probably not,probable,It is probably not the case that 'Jeff dropped the apple' or 'Fred went to the garden' or both.,It is probable that 'Jeff dropped the apple' or 'Fred went to the garden' or both.,0,'Jeff dropped the apple' or 'Fred went to the garden' or both. We believe that John went to the office. It is likely that Jason is tired. Chances are slight that Bernhard is gray. Chances are slight that if either 'Jason is tired' or 'Bernhard is gray' but not both then Sandra took the football. There is a very good chance that if 'Bernhard is gray and Jason is tired' then Greg is a rhino. There is little chance that if 'Bernhard is gray' or 'Jason is tired' or both then Julius is a swan.,There is almost no chance that 'Bernhard is gray and Julius 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.75::factA. 0.7::factB. 0.1::factC. %hop1 0.1::factX:-xor(factB,factC). 0.8::factY:-and(factC,factB). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.010000000000000004,0.33266653330666135,train,almost no chance,highly likely,There is almost no chance that 'Bernhard is gray and Julius is a swan'.,It is highly likely that 'Bernhard is gray and Julius is a swan'.,1,'Bernhard is gray and Julius is a swan'. It is probably the case that John discarded the apple. It is probably the case that Mary dropped the milk. We doubt that Brian is a lion. It is unlikely that if 'John discarded the apple' or 'Mary dropped the milk' or both then Daniel put down the milk. It is certain that if either 'Brian is a lion' or 'John discarded the apple' but not both then Lily is white. There is almost no chance that if either 'Brian is a lion' or 'John discarded the apple' but not both then Bill left the football.,There is little chance that either 'Mary dropped the milk' or 'Brian 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.7::factB. 0.2::factC. %hop1 0.2::factX:-or(factA,factB). 1.0::factY:-xor(factC,factA). 0.02::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.62,0.1778355671134227,train,better than even,little chance,There is a better than even chance that either 'Mary dropped the milk' or 'Brian is a lion' but not both.,There is little chance that either 'Mary dropped the milk' or 'Brian is a lion' but not both.,0,Either 'Mary dropped the milk' or 'Brian is a lion' but not both. Chances are slight that Sumit is bored. There is a better than even chance that Jeff went to the bedroom. Chances are slight that Sandra dropped the milk. It is probable that if 'Sandra dropped the milk and Jeff went to the bedroom' then John left the football. It is likely that if 'Sandra dropped the milk' or 'Sumit is bored' or both then Mary put down the apple. We believe that if 'Sumit is bored and Sandra dropped the milk' then Bernhard is yellow.,Chances are slight that either 'Sumit is bored' 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.6::factB. 0.1::factC. %hop1 0.7::factX:-and(factC,factB). 0.7::factY:-or(factC,factA). 0.75::factZ:-and(factA,factC). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.09300000000000001,0.28785757151430286,train,chances are slight,likely,Chances are slight that either 'Sumit is bored' or 'Mary put down the apple' but not both.,It is likely that either 'Sumit is bored' or 'Mary put down the apple' but not both.,1,Either 'Sumit is bored' or 'Mary put down the apple' but not both. Chances are about even that Lily is a lion. It is improbable that John moved to the garden. There is little chance that Bernhard is yellow. It is probably not the case that if 'John moved to the garden and Bernhard is yellow' then Brian is a rhino. It is likely that if 'Bernhard is yellow' or 'Lily is a lion' or both then Mary went to the garden. It is probably the case that if either 'Lily is a lion' or 'Bernhard is yellow' but not both then Sandra put down the milk.,It is probably the case that 'Sandra put down the milk' 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.5::factA. 0.1::factB. 0.1::factC. %hop1 0.25::factX:-and(factB,factC). 0.7::factY:-or(factC,factA). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.35162499999999997,0.3870774154830966,train,probably not,probably,It is probably not the case that 'Sandra put down the milk' or 'Brian is a rhino' or both.,It is probably the case that 'Sandra put down the milk' or 'Brian is a rhino' or both.,0,'Sandra put down the milk' or 'Brian is a rhino' or both. It is unlikely that Brian is a rhino. It is probably the case that Julius is a lion. We believe that Mary got the apple. It is certain that if 'Mary got the apple and Brian is a rhino' then Bill left the football. There is almost no chance that if either 'Mary got the apple' or 'Brian is a rhino' but not both then Fred went to the garden. There is almost no chance that if 'Mary got the apple and Brian is a rhino' then Lily is a swan.,It is impossible that 'Julius is a lion 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.7::factB. 0.75::factC. %hop1 1.0::factX:-and(factC,factA). 0.02::factY:-xor(factC,factA). 0.02::factZ:-and(factC,factA). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.002100000000000001,0.6245249049809962,train,impossible,we believe,It is impossible that 'Julius is a lion and Lily is a swan'.,We believe that 'Julius is a lion and Lily is a swan'.,1,'Julius is a lion and Lily is a swan'. It is certain that Mary picked up the milk. Chances are about even that Brian is a frog. It is certain that Sandra left the milk. It is certain that if 'Sandra left the milk and Brian is a frog' then Julius is a swan. It is probable that if either 'Mary picked up the milk' or 'Brian is a frog' but not both then Bernhard is green. It is certain that if either 'Brian is a frog' or 'Mary picked up the milk' but not both then Jeff went to the hallway.,It is improbable that either 'Bernhard is green' 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.5::factB. 1.0::factC. %hop1 1.0::factX:-and(factC,factB). 0.7::factY:-xor(factA,factB). 1.0::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.65,0.19763952790558112,train,probably,improbable,It is probably the case that either 'Bernhard is green' or 'Mary picked up the milk' but not both.,It is improbable that either 'Bernhard is green' or 'Mary picked up the milk' but not both.,0,Either 'Bernhard is green' or 'Mary picked up the milk' but not both. It is probably the case that Jessica is a cat. It is almost certain that John grabbed the apple. It is probably the case that Mary went to the office. It is probably the case that if 'John grabbed the apple and Jessica is a cat' then Bill left the football. It is probably not the case that if 'Jessica is a cat and John grabbed the apple' then Bernhard is green. It is impossible that if either 'Mary went to the office' or 'Jessica is a cat' but not both then Julius is a lion.,It is unlikely that 'John grabbed the apple' 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.7::factA. 0.95::factB. 0.7::factC. %hop1 0.7::factX:-and(factB,factA). 0.25::factY:-and(factA,factB). 0.0::factZ:-xor(factC,factA). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.9499999999999998,0.20924184836967394,train,almost certain,unlikely,It is almost certain that 'John grabbed the apple' or 'Julius is a lion' or both.,It is unlikely that 'John grabbed the apple' or 'Julius is a lion' or both.,0,'John grabbed the apple' or 'Julius is a lion' or both. It is unlikely that Greg is a lion. It is probably the case that Brian is a rhino. It is certain that Daniel took the football. It is probably the case that if 'Greg is a lion and Daniel took the football' then John got the milk. It is improbable that if 'Daniel took the football' or 'Brian is a rhino' or both then Julius is a swan. It is unlikely that if 'Greg is a lion' or 'Brian is a rhino' or both then Mary went to the hallway.,There is almost no chance that 'Julius is a swan 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.2::factA. 0.7::factB. 1.0::factC. %hop1 0.7::factX:-and(factA,factC). 0.1::factY:-or(factC,factB). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.015200000000000002,0.3168633726745349,train,almost no chance,probably,There is almost no chance that 'Julius is a swan and Mary went to the hallway'.,It is probably the case that 'Julius is a swan and Mary went to the hallway'.,1,'Julius is a swan and Mary went to the hallway'. It is highly unlikely that Brian is a rhino. There is a better than even chance that Jason is tired. We doubt that Mary left the milk. Chances are slight that if 'Brian is a rhino' or 'Mary left the milk' or both then Daniel got the football. It is unlikely that if 'Brian is a rhino' or 'Jason is tired' or both then Bernhard is a swan. There is little chance that if 'Brian is a rhino and Mary left the milk' then Julius is gray.,It is probably the case that 'Jason is tired and Mary 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.05::factA. 0.6::factB. 0.2::factC. %hop1 0.1::factX:-or(factA,factC). 0.2::factY:-or(factA,factB). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.12000000000000001,0.7885577115423085,train,improbable,probably,It is improbable that 'Jason is tired and Mary left the milk'.,It is probably the case that 'Jason is tired and Mary left the milk'.,0,'Jason is tired and Mary left the milk'. There is almost no chance that Jeff moved to the office. It is improbable that Julius is a lion. There is a very good chance that John left the apple. There is almost no chance that if 'Jeff moved to the office' or 'Julius is a lion' or both then Greg is gray. It is highly unlikely that if either 'Jeff moved to the office' or 'Julius is a lion' but not both then Lily is white. There is a better than even chance that if 'Jeff moved to the office and Julius is a lion' then Yann is hungry.,There is a very good chance that either 'Jeff moved to the office' 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.02::factA. 0.1::factB. 0.8::factC. %hop1 0.02::factX:-or(factA,factB). 0.05::factY:-xor(factA,factB). 0.6::factZ:-and(factA,factB). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.788,0.18343668733746749,train,very good chance,highly unlikely,There is a very good chance that either 'Jeff moved to the office' or 'John left the apple' but not both.,It is highly unlikely that either 'Jeff moved to the office' or 'John left the apple' but not both.,1,Either 'Jeff moved to the office' or 'John left the apple' but not both. It is highly likely that Brian is a rhino. It is probably the case that Emily is a mouse. It is likely that John went to the bedroom. It is impossible that if either 'Emily is a mouse' or 'Brian is a rhino' but not both then Fred dropped the milk. It is certain that if either 'John went to the bedroom' or 'Emily is a mouse' but not both then Lily is white. We believe that if 'John went to the bedroom and Brian is a rhino' then Bernhard is a frog.,There is a better than even chance that either 'Brian is a rhino' or 'Lily 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.9::factA. 0.7::factB. 0.7::factC. %hop1 0.0::factX:-xor(factB,factA). 1.0::factY:-xor(factC,factB). 0.75::factZ:-and(factC,factA). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.5640000000000001,0.04920984196839368,train,better than even,almost no chance,There is a better than even chance that either 'Brian is a rhino' or 'Lily is white' but not both.,There is almost no chance that either 'Brian is a rhino' or 'Lily is white' but not both.,1,Either 'Brian is a rhino' or 'Lily is white' but not both. It is highly unlikely that Daniel took the football. There is little chance that Gertrude is a wolf. There is little chance that Greg is a swan. It is probably not the case that if 'Daniel took the football' or 'Greg is a swan' or both then Mary went to the kitchen. There is a very good chance that if 'Greg is a swan and Daniel took the football' then Brian is green. There is almost no chance that if 'Daniel took the football' or 'Gertrude is a wolf' or both then John moved to the garden.,It is impossible that 'Brian is green and Gertrude 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.05::factA. 0.1::factB. 0.1::factC. %hop1 0.25::factX:-or(factA,factC). 0.8::factY:-and(factC,factA). 0.02::factZ:-or(factA,factB). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.00040000000000000045,0.4362872574514903,train,impossible,we believe,It is impossible that 'Brian is green and Gertrude is a wolf'.,We believe that 'Brian is green and Gertrude is a wolf'.,1,'Brian is green and Gertrude is a wolf'. There is almost no chance that Yann is tired. There is a very good chance that Bernhard is white. It is unlikely that Brian is a lion. We believe that if 'Brian is a lion and Yann is tired' then Mary took the milk. It is improbable that if 'Yann is tired' or 'Brian is a lion' or both then John moved to the garden. It is impossible that if 'Brian is a lion and Yann is tired' then Greg is yellow.,It is likely that either 'Greg is yellow' 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.02::factA. 0.8::factB. 0.2::factC. %hop1 0.75::factX:-and(factC,factA). 0.1::factY:-or(factA,factC). 0.0::factZ:-and(factC,factA). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.021600000000000008,0.5693138627725545,train,almost no chance,likely,There is almost no chance that either 'Greg is yellow' or 'John moved to the garden' but not both.,It is likely that either 'Greg is yellow' or 'John moved to the garden' but not both.,0,Either 'Greg is yellow' or 'John moved to the garden' but not both. It is probably not the case that Gertrude is a sheep. It is certain that Sandra left the milk. It is impossible that Lily is green. It is unlikely that if 'Lily is green and Sandra left the milk' then John picked up the apple. It is probable that if 'Lily is green and Sandra left the milk' then Greg is white. It is probable that if 'Lily is green' or 'Sandra left the milk' or both then Julius is yellow.,It is impossible that 'Gertrude is a sheep 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.25::factA. 1.0::factB. 0.0::factC. %hop1 0.2::factX:-and(factC,factB). 0.7::factY:-and(factC,factB). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.0,0.32866573314662934,train,impossible,we believe,It is impossible that 'Gertrude is a sheep and Greg is white'.,We believe that 'Gertrude is a sheep and Greg is white'.,1,'Gertrude is a sheep and Greg is white'. It is impossible that Bernhard is green. We believe that Mary went to the office. Chances are slight that Brian is a lion. There is almost no chance that if either 'Mary went to the office' or 'Brian is a lion' but not both then Fred put down the apple. It is highly likely that if 'Brian is a lion and Mary went to the office' then John moved to the garden. There is little chance that if 'Bernhard is green and Mary went to the office' then Julius is a rhino.,It is almost certain that either 'Julius is a rhino' or 'Brian 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.0::factA. 0.75::factB. 0.1::factC. %hop1 0.02::factX:-xor(factB,factC). 0.9::factY:-and(factC,factB). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.10000000000000002,0.6507301460292059,train,improbable,almost certain,It is improbable that either 'Julius is a rhino' or 'Brian is a lion' but not both.,It is almost certain that either 'Julius is a rhino' or 'Brian is a lion' but not both.,0,Either 'Julius is a rhino' or 'Brian is a lion' but not both. Chances are slight that Bernhard is yellow. We believe that Julius is yellow. It is probably the case that John went to the kitchen. We doubt that if either 'Julius is yellow' or 'Bernhard is yellow' but not both then Mary dropped the apple. It is almost certain that if 'John went to the kitchen and Julius is yellow' then Sandra grabbed the milk. There is a very good chance that if either 'Julius is yellow' or 'Bernhard is yellow' but not both then Emily is a sheep.,It is impossible that 'Mary dropped the apple' or 'Emily 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.75::factB. 0.7::factC. %hop1 0.2::factX:-xor(factB,factA). 0.95::factY:-and(factC,factB). 0.8::factZ:-xor(factB,factA). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.588,0.4926985397079416,train,better than even,impossible,There is a better than even chance that 'Mary dropped the apple' or 'Emily is a sheep' or both.,It is impossible that 'Mary dropped the apple' or 'Emily is a sheep' or both.,0,'Mary dropped the apple' or 'Emily is a sheep' or both. There is a better than even chance that Lily is a rhino. It is certain that Brian is a frog. It is highly unlikely that Jason is thirsty. It is improbable that if 'Lily is a rhino' or 'Brian is a frog' or both then Bernhard is yellow. It is probably the case that if 'Jason is thirsty' or 'Lily is a rhino' or both then John discarded the milk. It is likely that if 'Jason is thirsty' or 'Brian is a frog' or both then Mary got the football.,It is likely that either 'Bernhard is yellow' 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 0.6::factA. 1.0::factB. 0.05::factC. %hop1 0.1::factX:-or(factA,factB). 0.7::factY:-or(factC,factA). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.6599999999999999,0.026405281056211243,train,likely,improbable,It is likely that either 'Bernhard is yellow' or 'Mary got the football' but not both.,It is improbable that either 'Bernhard is yellow' or 'Mary got the football' but not both.,1,Either 'Bernhard is yellow' or 'Mary got the football' but not both. It is unlikely that Fred put down the apple. There is almost no chance that Bernhard is a swan. It is probably the case that John dropped the apple. It is highly likely that if 'John dropped the apple' or 'Fred put down the apple' or both then Brian is a swan. It is highly likely that if 'John dropped the apple and Bernhard is a swan' then Lily is white. There is a very good chance that if either 'Bernhard is a swan' or 'John dropped the apple' but not both then Julius is a lion.,It is highly unlikely that 'Fred put down the apple' 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.02::factB. 0.7::factC. %hop1 0.9::factX:-or(factC,factA). 0.9::factY:-and(factC,factB). 0.8::factZ:-xor(factB,factC). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.64288,0.5107021404280856,train,better than even,highly unlikely,There is a better than even chance that 'Fred put down the apple' or 'Julius is a lion' or both.,It is highly unlikely that 'Fred put down the apple' or 'Julius is a lion' or both.,0,'Fred put down the apple' or 'Julius is a lion' or both. There is little chance that Lily is green. It is likely that Emily is a sheep. It is improbable that Sumit is thirsty. There is little chance that if either 'Lily is green' or 'Sumit is thirsty' but not both then Brian is white. It is probably not the case that if 'Sumit is thirsty and Emily is a sheep' then Daniel grabbed the milk. Chances are slight that if either 'Sumit is thirsty' or 'Lily is green' but not both then Bernhard is a swan.,It is highly likely that 'Daniel grabbed 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.1::factA. 0.7::factB. 0.1::factC. %hop1 0.1::factX:-xor(factA,factC). 0.25::factY:-and(factC,factB). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.0015749999999999996,0.5949189837967593,train,impossible,highly likely,It is impossible that 'Daniel grabbed the milk and Bernhard is a swan'.,It is highly likely that 'Daniel grabbed the milk and Bernhard is a swan'.,0,'Daniel grabbed the milk and Bernhard is a swan'. It is unlikely that Julius is a lion. It is probable that Brian is white. It is probable that Lily is white. There is little chance that if either 'Lily is white' or 'Brian is white' but not both then John went to the garden. It is almost certain that if 'Brian is white' or 'Julius is a lion' or both then Mary dropped the milk. It is almost certain that if 'Julius is a lion' or 'Brian is white' or both then Bernhard is a swan.,It is highly likely that 'Bernhard is a swan 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.2::factA. 0.7::factB. 0.7::factC. %hop1 0.1::factX:-xor(factC,factB). 0.95::factY:-or(factB,factA). 0.95::factZ:-or(factA,factB). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.02394,0.24004800960192038,train,almost no chance,highly likely,There is almost no chance that 'Bernhard is a swan and John went to the garden'.,It is highly likely that 'Bernhard is a swan and John went to the garden'.,0,'Bernhard is a swan and John went to the garden'. It is highly likely that Greg is a lion. It is impossible that Lily is a lion. There is little chance that Mary went to the office. Chances are about even that if 'Mary went to the office' or 'Lily is a lion' or both then Emily is a cat. It is unlikely that if 'Greg is a lion and Lily is a lion' then Fred dropped the apple. It is unlikely that if 'Greg is a lion and Mary went to the office' then Brian is gray.,It is probably not the case that either 'Greg is a lion' or 'Brian 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.9::factA. 0.0::factB. 0.1::factC. %hop1 0.5::factX:-or(factC,factB). 0.2::factY:-and(factA,factB). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.882,0.2806561312262453,train,highly likely,probably not,It is highly likely that either 'Greg is a lion' or 'Brian is gray' but not both.,It is probably not the case that either 'Greg is a lion' or 'Brian is gray' but not both.,0,Either 'Greg is a lion' or 'Brian is gray' but not both. It is almost certain that Jessica is a sheep. It is certain that Brian is a lion. We believe that John got the apple. There is almost no chance that if either 'John got the apple' or 'Brian is a lion' but not both then Mary picked up the milk. Chances are about even that if 'John got the apple and Jessica is a sheep' then Lily is yellow. It is probably not the case that if either 'John got the apple' or 'Jessica is a sheep' but not both then Yann is tired.,We doubt that either 'Yann is tired' or 'John 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.95::factA. 1.0::factB. 0.75::factC. %hop1 0.02::factX:-xor(factC,factB). 0.5::factY:-and(factC,factA). 0.25::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.8,0.030406081216243247,train,very good chance,we doubt,There is a very good chance that either 'Yann is tired' or 'John got the apple' but not both.,We doubt that either 'Yann is tired' or 'John got the apple' but not both.,0,Either 'Yann is tired' or 'John got the apple' but not both. There is a better than even chance that Fred dropped the milk. It is probable that John put down the apple. It is highly unlikely that Brian is green. It is likely that if either 'Brian is green' or 'John put down the apple' but not both then Julius is gray. It is impossible that if either 'Brian is green' or 'Fred dropped the milk' but not both then Bernhard is a swan. It is unlikely that if 'John put down the apple and Brian is green' then Emily is a sheep.,Chances are about even 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.6::factA. 0.7::factB. 0.05::factC. %hop1 0.7::factX:-xor(factC,factB). 0.0::factY:-xor(factC,factA). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.05000000000000001,0.4444888977795559,train,highly unlikely,about even,It is highly unlikely that 'Emily is a sheep' or 'Brian is green' or both.,Chances are about even that 'Emily is a sheep' or 'Brian is green' or both.,0,'Emily is a sheep' or 'Brian is green' or both. It is probably the case that Lily is yellow. Chances are about even that Bernhard is a swan. We believe that John went to the hallway. Chances are slight that if 'Bernhard is a swan and Lily is yellow' then Julius is a lion. It is likely that if 'Bernhard is a swan' or 'John went to the hallway' or both then Greg is gray. There is almost no chance that if 'John went to the hallway and Bernhard is a swan' then Brian is a frog.,It is certain that 'Greg 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.7::factA. 0.5::factB. 0.75::factC. %hop1 0.1::factX:-and(factB,factA). 0.7::factY:-or(factB,factC). 0.02::factZ:-and(factC,factB). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.525,0.32486497299459893,train,about even,certain,Chances are about even that 'Greg is gray and John went to the hallway'.,It is certain that 'Greg is gray and John went to the hallway'.,0,'Greg is gray and John went to the hallway'. It is highly unlikely that John picked up the apple. We believe that Brian is a lion. Chances are about even that Emily is a mouse. We doubt that if either 'Brian is a lion' or 'Emily is a mouse' but not both then Julius is a swan. It is impossible that if 'John picked up the apple' or 'Emily is a mouse' or both then Daniel got the football. It is likely that if 'John picked up the apple and Emily is a mouse' then Bernhard is a rhino.,Chances are about even that either 'Emily is a mouse' 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.05::factA. 0.75::factB. 0.5::factC. %hop1 0.2::factX:-xor(factB,factC). 0.0::factY:-or(factA,factC). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5,0.09641928385677136,train,about even,impossible,Chances are about even that either 'Emily is a mouse' or 'John picked up the apple' but not both.,It is impossible that either 'Emily is a mouse' or 'John picked up the apple' but not both.,1,Either 'Emily is a mouse' or 'John picked up the apple' but not both. There is a very good chance that John put down the apple. It is likely that Brian is green. It is probably not the case that Sandra left the football. It is certain that if 'John put down the apple' or 'Sandra left the football' or both then Julius is yellow. It is almost certain that if 'Sandra left the football' or 'John put down the apple' or both then Mary grabbed the milk. It is highly likely that if either 'Brian is green' or 'John put down the apple' but not both then Lily is a rhino.,It is highly likely that 'John put down the apple' or 'Sandra 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.8::factA. 0.7::factB. 0.25::factC. %hop1 1.0::factX:-or(factA,factC). 0.95::factY:-or(factC,factA). 0.9::factZ:-xor(factB,factA). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.8500000000000001,0.7905581116223245,train,highly likely,little chance,It is highly likely that 'John put down the apple' or 'Sandra left the football' or both.,There is little chance that 'John put down the apple' or 'Sandra left the football' or both.,1,'John put down the apple' or 'Sandra left the football' or both. It is almost certain that Lily is a frog. It is almost certain that Jeff put down the milk. There is almost no chance that Greg is a swan. There is a better than even chance that if 'Lily is a frog and Greg is a swan' then Sandra got the football. It is almost certain that if either 'Jeff put down the milk' or 'Lily is a frog' but not both then Mary moved to the garden. We believe that if either 'Lily is a frog' or 'Greg is a swan' but not both then John grabbed the apple.,It is almost certain that either 'Lily is a frog' or 'Mary 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.95::factA. 0.95::factB. 0.02::factC. %hop1 0.6::factX:-and(factA,factC). 0.95::factY:-xor(factB,factA). 0.75::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.95,0.757751550310062,train,almost certain,unlikely,It is almost certain that either 'Lily is a frog' or 'Mary moved to the garden' but not both.,It is unlikely that either 'Lily is a frog' or 'Mary moved to the garden' but not both.,1,Either 'Lily is a frog' or 'Mary moved to the garden' but not both. There is little chance that John went to the kitchen. It is impossible that Brian is yellow. It is certain that Emily is a mouse. It is probably not the case that if 'John went to the kitchen' or 'Emily is a mouse' or both then Jason is tired. We believe that if 'Brian is yellow and Emily is a mouse' then Greg is a frog. It is probably the case that if 'Emily is a mouse' or 'John went to the kitchen' or both then Sandra got the football.,It is likely that 'Sandra got the football 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.1::factA. 0.0::factB. 1.0::factC. %hop1 0.25::factX:-or(factA,factC). 0.75::factY:-and(factB,factC). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.7,0.3004600920184037,train,likely,impossible,It is likely that 'Sandra got the football and Emily is a mouse'.,It is impossible that 'Sandra got the football and Emily is a mouse'.,1,'Sandra got the football and Emily is a mouse'. It is likely that Mary left the milk. There is a very good chance that John went to the kitchen. There is a very good chance that Fred put down the apple. It is improbable that if 'Fred put down the apple' or 'Mary left the milk' or both then Julius is a frog. It is impossible that if 'Mary left the milk and Fred put down the apple' then Bernhard is a swan. We believe that if either 'John went to the kitchen' or 'Fred put down the apple' but not both then Greg is a rhino.,It is improbable that either 'Julius is a frog' or 'John went to the kitchen' 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.8::factC. %hop1 0.1::factX:-or(factC,factA). 0.0::factY:-and(factA,factC). 0.75::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.7436,0.16783356671334268,train,we believe,improbable,We believe that either 'Julius is a frog' or 'John went to the kitchen' but not both.,It is improbable that either 'Julius is a frog' or 'John went to the kitchen' but not both.,0,Either 'Julius is a frog' or 'John went to the kitchen' but not both. It is almost certain that John is in the garden. It is impossible that Greg is a swan. There is little chance that Emily is a mouse. There is almost no chance that if either 'Emily is a mouse' or 'Greg is a swan' but not both then Yann is hungry. It is probably the case that if 'Greg is a swan' or 'John is in the garden' or both then Mary dropped the apple. It is likely that if 'John is in the garden' or 'Emily is a mouse' or both then Julius is white.,Chances are about even that 'John is in the garden' 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.0::factB. 0.1::factC. %hop1 0.02::factX:-xor(factC,factB). 0.7::factY:-or(factB,factA). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.9535,0.1826365273054611,train,almost certain,about even,It is almost certain that 'John is in the garden' or 'Julius is white' or both.,Chances are about even that 'John is in the garden' or 'Julius is white' or both.,0,'John is in the garden' or 'Julius is white' or both. It is probable that Mary moved to the garden. We doubt that Julius is gray. There is a better than even chance that John dropped the milk. It is probably not the case that if 'John dropped the milk' or 'Julius is gray' or both then Bill went to the kitchen. It is certain that if 'Mary moved to the garden and Julius is gray' then Winona is a mouse. There is almost no chance that if 'Mary moved to the garden' or 'Julius is gray' or both then Brian is a lion.,It is impossible that 'Julius is gray 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.7::factA. 0.2::factB. 0.6::factC. %hop1 0.25::factX:-or(factC,factB). 1.0::factY:-and(factA,factB). 0.02::factZ:-or(factA,factB). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.004000000000000002,0.21604320864172835,train,impossible,we believe,It is impossible that 'Julius is gray and Brian is a lion'.,We believe that 'Julius is gray and Brian is a lion'.,1,'Julius is gray and Brian is a lion'. It is highly likely that Bernhard is a frog. It is highly likely that Brian is yellow. It is almost certain that John dropped the milk. We believe that if either 'Bernhard is a frog' or 'Brian is yellow' but not both then Mary went to the garden. It is almost certain that if 'Brian is yellow and Bernhard is a frog' then Julius is a lion. It is improbable that if either 'Brian is yellow' or 'Bernhard is a frog' but not both then Greg is gray.,We believe that 'Julius is a lion 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.9::factB. 0.95::factC. %hop1 0.75::factX:-xor(factA,factB). 0.95::factY:-and(factB,factA). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.7695,0.20844168833766755,train,we believe,impossible,We believe that 'Julius is a lion and Brian is yellow'.,It is impossible that 'Julius is a lion and Brian is yellow'.,1,'Julius is a lion and Brian is yellow'. It is certain that Lily is green. It is likely that Brian is a frog. It is probably not the case that Sandra took the football. It is certain that if either 'Brian is a frog' or 'Sandra took the football' but not both then Jason is tired. It is almost certain that if 'Sandra took the football' or 'Brian is a frog' or both then Greg is white. Chances are about even that if 'Brian is a frog and Sandra took the football' then John went to the hallway.,There is little chance that 'Jason is tired 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 1.0::factA. 0.7::factB. 0.25::factC. %hop1 1.0::factX:-xor(factB,factC). 0.95::factY:-or(factC,factB). 0.5::factZ:-and(factB,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.6,0.04280856171234247,train,better than even,little chance,There is a better than even chance that 'Jason is tired and Lily is green'.,There is little chance that 'Jason is tired and Lily is green'.,0,'Jason is tired and Lily is green'. There is a very good chance that Jessica is a mouse. We doubt that Bernhard is a frog. It is likely that Greg is a lion. Chances are slight that if 'Greg is a lion and Jessica is a mouse' then Lily is a rhino. There is almost no chance that if 'Jessica is a mouse and Greg is a lion' then John took the apple. There is a very good chance that if 'Jessica is a mouse and Greg is a lion' then Mary went to the garden.,It is highly unlikely that 'Greg is a lion 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.8::factA. 0.2::factB. 0.7::factC. %hop1 0.1::factX:-and(factC,factA). 0.02::factY:-and(factA,factC). 0.8::factZ:-and(factA,factC). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.5599999999999999,0.13102620524104822,train,better than even,highly unlikely,There is a better than even chance that 'Greg is a lion and Jessica is a mouse'.,It is highly unlikely that 'Greg is a lion and Jessica is a mouse'.,0,'Greg is a lion and Jessica is a mouse'. It is probable that Greg is white. There is little chance that Julius is a swan. We believe that John took the apple. It is improbable that if 'Julius is a swan and John took the apple' then Lily is a lion. It is likely that if 'Julius is a swan and Greg is white' then Mary went to the bedroom. It is highly unlikely that if either 'John took the apple' or 'Greg is white' but not both then Brian is a frog.,We believe that either 'John took 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.7::factA. 0.1::factB. 0.75::factC. %hop1 0.1::factX:-and(factB,factC). 0.7::factY:-and(factB,factA). 0.05::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.7255,0.5321064212842569,train,we believe,impossible,We believe that either 'John took the apple' or 'Mary went to the bedroom' but not both.,It is impossible that either 'John took the apple' or 'Mary went to the bedroom' but not both.,1,Either 'John took the apple' or 'Mary went to the bedroom' but not both. Chances are slight that Jeff dropped the apple. It is probably the case that Bill left the milk. It is highly likely that Mary went to the office. It is highly likely that if 'Mary went to the office' or 'Bill left the milk' or both then John moved to the garden. There is almost no chance that if 'Jeff dropped the apple' or 'Mary went to the office' or both then Jessica is a mouse. It is almost certain that if either 'Bill left the milk' or 'Jeff dropped the apple' but not both then Bernhard is a rhino.,It is almost certain that 'John moved to the garden' or 'Bernhard 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.1::factA. 0.7::factB. 0.9::factC. %hop1 0.9::factX:-or(factC,factB). 0.02::factY:-or(factA,factC). 0.95::factZ:-xor(factB,factA). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.938265,0.10862172434486897,train,almost certain,probably not,It is almost certain that 'John moved to the garden' or 'Bernhard is a rhino' or both.,It is probably not the case that 'John moved to the garden' or 'Bernhard is a rhino' or both.,1,'John moved to the garden' or 'Bernhard is a rhino' or both. It is probably the case that John took the apple. There is almost no chance that Julius is a swan. Chances are slight that Brian is a rhino. There is little chance that if either 'Julius is a swan' or 'John took the apple' but not both then Sandra dropped the milk. It is highly likely that if 'Brian is a rhino' or 'John took the apple' or both then Greg is gray. There is a very good chance that if 'Brian is a rhino and John took the apple' then Mary went to the hallway.,It is probable that 'Brian 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.7::factA. 0.02::factB. 0.1::factC. %hop1 0.1::factX:-xor(factB,factA). 0.9::factY:-or(factC,factA). 0.8::factZ:-and(factC,factA). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.11800000000000002,0.27045409081816363,train,chances are slight,probable,Chances are slight that 'Brian is a rhino' or 'Julius is a swan' or both.,It is probable that 'Brian is a rhino' or 'Julius is a swan' or both.,0,'Brian is a rhino' or 'Julius is a swan' or both. There is a better than even chance that Bernhard is a swan. It is almost certain that Brian is white. We believe that Julius is a lion. Chances are slight that if either 'Bernhard is a swan' or 'Julius is a lion' but not both then Lily is yellow. It is probably the case that if either 'Brian is white' or 'Julius is a lion' but not both then Sandra dropped the apple. It is highly unlikely that if either 'Julius is a lion' or 'Bernhard is a swan' but not both then John moved to the garden.,It is almost certain that 'Lily 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.6::factA. 0.95::factB. 0.75::factC. %hop1 0.1::factX:-xor(factA,factC). 0.7::factY:-xor(factB,factC). 0.05::factZ:-xor(factC,factA). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.0022500000000000016,0.2604520904180836,train,impossible,almost certain,It is impossible that 'Lily is yellow and John moved to the garden'.,It is almost certain that 'Lily is yellow and John moved to the garden'.,0,'Lily is yellow and John moved to the garden'. It is highly likely that Lily is a lion. Chances are about even that Greg is a frog. It is likely that Mary discarded the milk. Chances are slight that if 'Lily is a lion and Greg is a frog' then Antoine is hungry. It is almost certain that if 'Lily is a lion' or 'Greg is a frog' or both then John grabbed the apple. It is probably not the case that if 'Lily is a lion and Mary discarded the milk' then Brian is yellow.,There is a better than even chance that 'Mary discarded the milk 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.9::factA. 0.5::factB. 0.7::factC. %hop1 0.1::factX:-and(factA,factB). 0.95::factY:-or(factA,factB). 0.25::factZ:-and(factA,factC). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.63,0.2862572514502901,train,better than even,little chance,There is a better than even chance that 'Mary discarded the milk and Lily is a lion'.,There is little chance that 'Mary discarded the milk and Lily is a lion'.,1,'Mary discarded the milk and Lily is a lion'. We believe that Sandra left the apple. It is highly unlikely that Lily is green. It is improbable that Daniel took the milk. It is highly unlikely that if 'Lily is green' or 'Daniel took the milk' or both then John went to the kitchen. It is improbable that if 'Lily is green and Sandra left the apple' then Julius is a lion. We believe that if 'Daniel took the milk and Lily is green' then Bernhard is a swan.,We believe that 'Julius is a lion 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.75::factA. 0.05::factB. 0.1::factC. %hop1 0.05::factX:-or(factB,factC). 0.1::factY:-and(factB,factA). 0.75::factZ:-and(factC,factB). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.003750000000000002,0.3584716943388678,train,impossible,we believe,It is impossible that 'Julius is a lion and Lily is green'.,We believe that 'Julius is a lion and Lily is green'.,0,'Julius is a lion and Lily is green'. It is improbable that Lily is gray. It is probable that Greg is a swan. It is highly likely that Mary went to the garden. It is probably the case that if 'Greg is a swan' or 'Mary went to the garden' or both then Fred moved to the office. It is unlikely that if either 'Lily is gray' or 'Mary went to the garden' but not both then Julius is yellow. There is almost no chance that if either 'Lily is gray' or 'Greg is a swan' but not both then John got the football.,Chances are about even that either 'Fred moved to the office' 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.7::factB. 0.9::factC. %hop1 0.7::factX:-or(factB,factC). 0.2::factY:-xor(factA,factC). 0.02::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.399,0.39907981596319264,train,about even,impossible,Chances are about even that either 'Fred moved to the office' or 'Greg is a swan' but not both.,It is impossible that either 'Fred moved to the office' or 'Greg is a swan' but not both.,1,Either 'Fred moved to the office' or 'Greg is a swan' but not both. It is highly unlikely that John moved to the office. It is almost certain that Lily is green. It is improbable that Mary got the football. It is probable that if either 'Mary got the football' or 'John moved to the office' but not both then Bernhard is white. It is probably not the case that if 'John moved to the office and Mary got the football' then Sandra dropped the milk. There is almost no chance that if 'Lily is green and Mary got the football' then Julius is gray.,Chances are about even that either 'John moved to the office' 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.05::factA. 0.95::factB. 0.1::factC. %hop1 0.7::factX:-xor(factC,factA). 0.25::factY:-and(factA,factC). 0.02::factZ:-and(factB,factC). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.05171000000000001,0.2436487297459492,train,highly unlikely,about even,It is highly unlikely that either 'John moved to the office' or 'Julius is gray' but not both.,Chances are about even that either 'John moved to the office' or 'Julius is gray' but not both.,0,Either 'John moved to the office' or 'Julius is gray' but not both. It is highly unlikely that Sandra left the milk. It is probable that Mary went to the office. There is almost no chance that Bernhard is yellow. Chances are slight that if 'Mary went to the office and Bernhard is yellow' then Julius is a swan. There is little chance that if 'Mary went to the office and Bernhard is yellow' then Brian is green. It is almost certain that if 'Sandra left the milk and Mary went to the office' then Greg is a rhino.,It is probably the case that 'Julius is a swan 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.7::factB. 0.02::factC. %hop1 0.1::factX:-and(factB,factC). 0.1::factY:-and(factB,factC). 0.95::factZ:-and(factA,factB). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.0014000000000000015,0.4320864172834567,train,impossible,probably,It is impossible that 'Julius is a swan and Mary went to the office'.,It is probably the case that 'Julius is a swan and Mary went to the office'.,0,'Julius is a swan and Mary went to the office'. It is certain that Greg is a rhino. We doubt that Bernhard is white. It is highly likely that Brian is green. Chances are slight that if either 'Greg is a rhino' or 'Brian is green' but not both then Lily is a swan. It is highly unlikely that if either 'Greg is a rhino' or 'Bernhard is white' but not both then John discarded the apple. It is probable that if 'Brian is green and Greg is a rhino' then Mary went to the bedroom.,It is probably the case that 'Bernhard is white' or 'Mary 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 1.0::factA. 0.2::factB. 0.9::factC. %hop1 0.1::factX:-xor(factA,factC). 0.05::factY:-xor(factA,factB). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.704,0.41168233646729346,train,probably,we doubt,It is probably the case that 'Bernhard is white' or 'Mary went to the bedroom' or both.,We doubt that 'Bernhard is white' or 'Mary went to the bedroom' or both.,1,'Bernhard is white' or 'Mary went to the bedroom' or both. Chances are slight that Brian is a swan. We believe that Bernhard is a frog. Chances are slight that Sandra got the milk. It is probably not the case that if 'Brian is a swan and Bernhard is a frog' then Lily is white. It is likely that if 'Sandra got the milk and Brian is a swan' then Yann is hungry. There is a very good chance that if 'Bernhard is a frog and Sandra got the milk' then Jeff went to the bedroom.,There is a very good chance that 'Jeff went to the bedroom 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.1::factA. 0.75::factB. 0.1::factC. %hop1 0.25::factX:-and(factA,factB). 0.7::factY:-and(factC,factA). 0.8::factZ:-and(factB,factC). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.004200000000000002,0.059411882376475295,train,impossible,very good chance,It is impossible that 'Jeff went to the bedroom and Yann is hungry'.,There is a very good chance that 'Jeff went to the bedroom and Yann is hungry'.,0,'Jeff went to the bedroom and Yann is hungry'. There is almost no chance that Brian is gray. There is almost no chance that Bernhard is gray. It is unlikely that John left the apple. Chances are slight that if 'Bernhard is gray' or 'John left the apple' or both then Jeff moved to the office. It is likely that if 'John left the apple and Brian is gray' then Lily is white. There is a very good chance that if 'John left the apple' or 'Brian is gray' or both then Mary went to the garden.,It is almost certain that either 'Brian is gray' 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.02::factA. 0.02::factB. 0.2::factC. %hop1 0.1::factX:-or(factB,factC). 0.7::factY:-and(factC,factA). 0.8::factZ:-or(factC,factA). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.1608,0.47209441888377673,train,unlikely,almost certain,It is unlikely that either 'Brian is gray' or 'Mary went to the garden' but not both.,It is almost certain that either 'Brian is gray' or 'Mary went to the garden' but not both.,0,Either 'Brian is gray' or 'Mary went to the garden' but not both. We doubt that Sandra got the football. Chances are about even that Lily is a swan. It is almost certain that Brian is white. It is highly likely that if 'Sandra got the football' or 'Lily is a swan' or both then Mary moved to the office. It is highly likely that if 'Lily is a swan' or 'Sandra got the football' or both then Bernhard is green. It is likely that if 'Lily is a swan' or 'Brian is white' or both then Greg is a lion.,Chances are slight that either 'Lily is a swan' or 'Mary 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.2::factA. 0.5::factB. 0.95::factC. %hop1 0.9::factX:-or(factA,factB). 0.9::factY:-or(factB,factA). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.14,0.7337467493498699,train,chances are slight,we believe,Chances are slight that either 'Lily is a swan' or 'Mary moved to the office' but not both.,We believe that either 'Lily is a swan' or 'Mary moved to the office' but not both.,1,Either 'Lily is a swan' or 'Mary moved to the office' but not both. There is a better than even chance that Greg is a rhino. It is certain that Gertrude is a mouse. It is unlikely that Sandra left the apple. We doubt that if 'Sandra left the apple and Greg is a rhino' then Mary went to the office. It is highly unlikely that if 'Sandra left the apple and Greg is a rhino' then Winona is a sheep. There is a very good chance that if either 'Sandra left the apple' or 'Gertrude is a mouse' but not both then Brian is a frog.,It is likely that 'Brian is a frog' or 'Mary 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.6::factA. 1.0::factB. 0.2::factC. %hop1 0.2::factX:-and(factC,factA). 0.05::factY:-and(factC,factA). 0.8::factZ:-xor(factC,factB). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.664,0.3218643728745749,train,likely,chances are slight,It is likely that 'Brian is a frog' or 'Mary went to the office' or both.,Chances are slight that 'Brian is a frog' or 'Mary went to the office' or both.,1,'Brian is a frog' or 'Mary went to the office' or both. It is highly unlikely that John got the apple. There is almost no chance that Greg is a swan. It is almost certain that Bill went to the kitchen. There is almost no chance that if 'Bill went to the kitchen' or 'John got the apple' or both then Daniel took the milk. Chances are slight that if 'Bill went to the kitchen' or 'Greg is a swan' or both then Bernhard is a rhino. It is probably the case that if either 'John got the apple' or 'Greg is a swan' but not both then Brian is a frog.,It is certain that either 'Greg is a swan' or 'Bernhard 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.05::factA. 0.02::factB. 0.95::factC. %hop1 0.02::factX:-or(factC,factA). 0.1::factY:-or(factC,factB). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.11109999999999999,0.6705341068213643,train,little chance,certain,There is little chance that either 'Greg is a swan' or 'Bernhard is a rhino' but not both.,It is certain that either 'Greg is a swan' or 'Bernhard is a rhino' but not both.,0,Either 'Greg is a swan' or 'Bernhard is a rhino' but not both. Chances are about even that Greg is gray. There is a better than even chance that Daniel grabbed the apple. We believe that Brian is green. It is probably the case that if either 'Brian is green' or 'Daniel grabbed the apple' but not both then Sandra dropped the milk. It is highly likely that if 'Daniel grabbed the apple' or 'Greg is gray' or both then John went to the hallway. There is little chance that if 'Daniel grabbed the apple' or 'Brian is green' or both then Jeff moved to the office.,It is probably the case that either 'Daniel grabbed the apple' 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.5::factA. 0.6::factB. 0.75::factC. %hop1 0.7::factX:-xor(factC,factB). 0.9::factY:-or(factB,factA). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.7050000000000001,0.7141428285657131,train,probably,unlikely,It is probably the case that either 'Daniel grabbed the apple' or 'Sandra dropped the milk' but not both.,It is unlikely that either 'Daniel grabbed the apple' or 'Sandra dropped the milk' but not both.,1,Either 'Daniel grabbed the apple' or 'Sandra dropped the milk' but not both. We doubt that Brian is white. It is probably the case that Lily is green. There is almost no chance that John discarded the apple. It is highly unlikely that if 'John discarded the apple' or 'Brian is white' or both then Gertrude is a cat. There is a better than even chance that if either 'Lily is green' or 'John discarded the apple' but not both then Greg is white. It is highly unlikely that if either 'John discarded the apple' or 'Brian is white' but not both then Mary took the football.,It is highly unlikely that either 'Greg is white' 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.2::factA. 0.7::factB. 0.02::factC. %hop1 0.05::factX:-or(factC,factA). 0.6::factY:-xor(factB,factC). 0.05::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.42799999999999994,0.2494498899779956,train,about even,highly unlikely,Chances are about even that either 'Greg is white' or 'John discarded the apple' but not both.,It is highly unlikely that either 'Greg is white' or 'John discarded the apple' but not both.,0,Either 'Greg is white' or 'John discarded the apple' but not both. It is highly unlikely that Julius is a rhino. It is almost certain that Bernhard is green. It is probable that Mary went to the office. It is impossible that if 'Mary went to the office and Julius is a rhino' then Daniel got the football. It is likely that if 'Julius is a rhino and Bernhard is green' then Fred dropped the milk. There is almost no chance that if 'Julius is a rhino and Mary went to the office' then Greg is gray.,It is probably the case that 'Daniel got the football' or 'Mary 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.05::factA. 0.95::factB. 0.7::factC. %hop1 0.0::factX:-and(factC,factA). 0.7::factY:-and(factA,factB). 0.02::factZ:-and(factA,factC). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.7,0.1922384476895379,train,probably,unlikely,It is probably the case that 'Daniel got the football' or 'Mary went to the office' or both.,It is unlikely that 'Daniel got the football' or 'Mary went to the office' or both.,1,'Daniel got the football' or 'Mary went to the office' or both. It is probably not the case that John discarded the apple. It is almost certain that Jessica is a sheep. It is almost certain that Fred went to the office. There is a better than even chance that if either 'John discarded the apple' or 'Fred went to the office' but not both then Bernhard is white. We doubt that if 'Fred went to the office' or 'John discarded the apple' or both then Julius is a lion. There is almost no chance that if 'Fred went to the office' or 'John discarded the apple' or both then Emily is a wolf.,It is probably not the case that either 'Bernhard is white' 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.25::factA. 0.95::factB. 0.95::factC. %hop1 0.6::factX:-xor(factA,factC). 0.2::factY:-or(factC,factA). 0.02::factZ:-or(factC,factA). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.6699999999999999,0.5827165433086617,train,probable,probably not,It is probable that either 'Bernhard is white' or 'John discarded the apple' but not both.,It is probably not the case that either 'Bernhard is white' or 'John discarded the apple' but not both.,0,Either 'Bernhard is white' or 'John discarded the apple' but not both. Chances are slight that Mary grabbed the apple. It is impossible that Jeff went to the garden. There is almost no chance that Bernhard is a swan. There is almost no chance that if 'Bernhard is a swan' or 'Jeff went to the garden' or both then Jessica is a mouse. There is almost no chance that if 'Jeff went to the garden' or 'Mary grabbed the apple' or both then Julius is a frog. It is certain that if 'Bernhard is a swan and Jeff went to the garden' then Greg is a rhino.,It is impossible that 'Jessica is a mouse 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.0::factB. 0.02::factC. %hop1 0.02::factX:-or(factC,factB). 0.02::factY:-or(factB,factA). 1.0::factZ:-and(factC,factB). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.0004000000000000001,0.33846769353870776,train,impossible,very good chance,It is impossible that 'Jessica is a mouse and Bernhard is a swan'.,There is a very good chance that 'Jessica is a mouse and Bernhard is a swan'.,1,'Jessica is a mouse and Bernhard is a swan'. It is probably not the case that Gertrude is a wolf. There is a better than even chance that Greg is a swan. It is probable that Brian is a rhino. There is a very good chance that if 'Gertrude is a wolf' or 'Greg is a swan' or both then Jeff moved to the garden. Chances are about even that if either 'Gertrude is a wolf' or 'Greg is a swan' but not both then John went to the office. It is probable that if 'Gertrude is a wolf and Brian is a rhino' then Sandra left the football.,It is probably not the case that 'John went to the office' or 'Sandra 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.25::factA. 0.6::factB. 0.7::factC. %hop1 0.8::factX:-or(factA,factB). 0.5::factY:-xor(factA,factB). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.373,0.36187237447489495,train,probably not,probably,It is probably not the case that 'John went to the office' or 'Sandra left the football' or both.,It is probably the case that 'John went to the office' or 'Sandra left the football' or both.,1,'John went to the office' or 'Sandra left the football' or both. It is highly likely that Daniel dropped the apple. We doubt that Lily is a rhino. It is likely that Fred went to the office. It is almost certain that if 'Fred went to the office' or 'Daniel dropped the apple' or both then Greg is white. It is improbable that if 'Fred went to the office and Lily is a rhino' then Bernhard is a swan. It is probably not the case that if 'Lily is a rhino and Fred went to the office' then Julius is gray.,There is little chance that either 'Greg is white' or 'Lily 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.9::factA. 0.2::factB. 0.7::factC. %hop1 0.95::factX:-or(factC,factA). 0.1::factY:-and(factC,factB). 0.25::factZ:-and(factB,factC). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.7528999999999999,0.7793558711742349,train,we believe,little chance,We believe that either 'Greg is white' or 'Lily is a rhino' but not both.,There is little chance that either 'Greg is white' or 'Lily is a rhino' but not both.,0,Either 'Greg is white' or 'Lily is a rhino' but not both. We believe that Lily is a swan. It is highly unlikely that Gertrude is a cat. We believe that John got the apple. It is highly likely that if either 'Gertrude is a cat' or 'Lily is a swan' but not both then Jeff left the apple. It is probably not the case that if 'Lily is a swan and Gertrude is a cat' then Sumit is bored. Chances are about even that if either 'Lily is a swan' or 'John got the apple' but not both then Julius is yellow.,It is highly unlikely that 'Gertrude is a cat' or 'Jeff 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.75::factA. 0.05::factB. 0.75::factC. %hop1 0.9::factX:-xor(factB,factA). 0.25::factY:-and(factA,factB). 0.5::factZ:-xor(factA,factC). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.69125,0.14642928585717144,train,probable,highly unlikely,It is probable that 'Gertrude is a cat' or 'Jeff left the apple' or both.,It is highly unlikely that 'Gertrude is a cat' or 'Jeff left the apple' or both.,0,'Gertrude is a cat' or 'Jeff left the apple' or both. There is almost no chance that Julius is a rhino. It is probably not the case that Sandra dropped the milk. It is probably not the case that John went to the hallway. Chances are slight that if 'Sandra dropped the milk' or 'Julius is a rhino' or both then Lily is a lion. It is impossible that if 'Julius is a rhino' or 'John went to the hallway' or both then Yann is tired. Chances are about even that if 'Julius is a rhino' or 'John went to the hallway' or both then Bernhard is a frog.,There is almost no chance that either 'Yann is tired' 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.02::factA. 0.25::factB. 0.25::factC. %hop1 0.1::factX:-or(factB,factA). 0.0::factY:-or(factA,factC). 0.5::factZ:-or(factA,factC). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.02650000000000002,0.658131626325265,train,almost no chance,certain,There is almost no chance that either 'Yann is tired' or 'Lily is a lion' but not both.,It is certain that either 'Yann is tired' or 'Lily is a lion' but not both.,1,Either 'Yann is tired' or 'Lily is a lion' but not both. There is almost no chance that Brian is green. There is a better than even chance that Daniel took the milk. Chances are slight that Mary left the football. We believe that if either 'Daniel took the milk' or 'Mary left the football' but not both then Bernhard is yellow. It is probably the case that if 'Mary left the football and Brian is green' then Fred went to the garden. It is highly unlikely that if 'Brian is green and Mary left the football' then Sumit is thirsty.,There is a better than even chance that either 'Brian is green' or 'Daniel 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.02::factA. 0.6::factB. 0.1::factC. %hop1 0.75::factX:-xor(factB,factC). 0.7::factY:-and(factC,factA). 0.05::factZ:-and(factA,factC). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.596,0.3300660132026405,train,better than even,little chance,There is a better than even chance that either 'Brian is green' or 'Daniel took the milk' but not both.,There is little chance that either 'Brian is green' or 'Daniel took the milk' but not both.,1,Either 'Brian is green' or 'Daniel took the milk' but not both. It is unlikely that Brian is yellow. It is almost certain that Mary moved to the office. There is a very good chance that Fred went to the garden. We believe that if 'Mary moved to the office and Brian is yellow' then Jason is tired. It is impossible that if 'Fred went to the garden and Mary moved to the office' then Winona is a sheep. There is little chance that if either 'Brian is yellow' or 'Mary moved to the office' but not both then Bernhard is gray.,It is certain that either 'Mary moved to the office' 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.95::factB. 0.8::factC. %hop1 0.75::factX:-and(factB,factA). 0.0::factY:-and(factC,factB). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.23,0.6023204640928186,train,probably not,certain,It is probably not the case that either 'Mary moved to the office' or 'Fred went to the garden' but not both.,It is certain that either 'Mary moved to the office' or 'Fred went to the garden' but not both.,0,Either 'Mary moved to the office' or 'Fred went to the garden' but not both. It is probable that Emily is a sheep. It is probably not the case that John moved to the garden. It is highly unlikely that Greg is yellow. We doubt that if either 'Greg is yellow' or 'John moved to the garden' but not both then Brian is a rhino. Chances are about even that if either 'John moved to the garden' or 'Greg is yellow' but not both then Mary grabbed the milk. It is certain that if either 'Emily is a sheep' or 'John moved to the garden' but not both then Sandra left the apple.,There is almost no chance that 'Brian is a rhino 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.7::factA. 0.25::factB. 0.05::factC. %hop1 0.2::factX:-xor(factC,factB). 0.5::factY:-xor(factB,factC). 1.0::factZ:-xor(factA,factB). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.02750000000000001,0.5141028205641128,train,almost no chance,we believe,There is almost no chance that 'Brian is a rhino and Mary grabbed the milk'.,We believe that 'Brian is a rhino and Mary grabbed the milk'.,1,'Brian is a rhino and Mary grabbed the milk'. It is likely that Mary left the apple. It is certain that Brian is white. It is unlikely that John discarded the milk. There is a better than even chance that if either 'John discarded the milk' or 'Brian is white' but not both then Gertrude is a sheep. It is improbable that if 'Brian is white' or 'Mary left the apple' or both then Bernhard is a frog. It is highly unlikely that if 'Brian is white' or 'Mary left the apple' or both then Jeff went to the garden.,It is likely that 'Jeff went to the garden and John 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.7::factA. 1.0::factB. 0.2::factC. %hop1 0.6::factX:-xor(factC,factB). 0.1::factY:-or(factB,factA). 0.05::factZ:-or(factB,factA). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.010000000000000004,0.38887777555511105,train,almost no chance,likely,There is almost no chance that 'Jeff went to the garden and John discarded the milk'.,It is likely that 'Jeff went to the garden and John discarded the milk'.,0,'Jeff went to the garden and John discarded the milk'. It is probably the case that Julius is green. There is almost no chance that Mary moved to the office. It is probable that Brian is a frog. It is highly unlikely that if 'Julius is green' or 'Mary moved to the office' or both then Lily is yellow. Chances are about even that if either 'Mary moved to the office' or 'Julius is green' but not both then Daniel grabbed the milk. It is probable that if 'Julius is green and Mary moved to the office' then Greg is a lion.,It is probable that 'Julius is green 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.7::factA. 0.02::factB. 0.7::factC. %hop1 0.05::factX:-or(factA,factB). 0.5::factY:-xor(factB,factA). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.014000000000000007,0.4356871374274855,train,almost no chance,probable,There is almost no chance that 'Julius is green and Mary moved to the office'.,It is probable that 'Julius is green and Mary moved to the office'.,0,'Julius is green and Mary moved to the office'. There is almost no chance that Mary dropped the apple. We believe that Brian is a lion. It is highly unlikely that Greg is a rhino. We doubt that if either 'Greg is a rhino' or 'Brian is a lion' but not both then Winona is a wolf. It is impossible that if either 'Greg is a rhino' or 'Brian is a lion' but not both then John moved to the garden. There is a better than even chance that if 'Greg is a rhino and Brian is a lion' then Julius is a swan.,It is impossible that 'Julius 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.02::factA. 0.75::factB. 0.05::factC. %hop1 0.2::factX:-xor(factC,factB). 0.0::factY:-xor(factC,factB). 0.6::factZ:-and(factC,factB). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.0,0.7451490298059612,train,impossible,probably,It is impossible that 'Julius is a swan and John moved to the garden'.,It is probably the case that 'Julius is a swan and John moved to the garden'.,1,'Julius is a swan and John moved to the garden'. It is highly unlikely that Winona is a mouse. There is a very good chance that Mary went to the office. Chances are slight that Brian is a lion. It is improbable that if either 'Winona is a mouse' or 'Brian is a lion' but not both then John left the football. Chances are about even that if 'Brian is a lion and Mary went to the office' then Gertrude is a mouse. It is probably the case that if 'Winona is a mouse and Mary went to the office' then Julius is a lion.,There is a better than even chance that 'John left the football' 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.05::factA. 0.8::factB. 0.1::factC. %hop1 0.1::factX:-xor(factA,factC). 0.5::factY:-and(factC,factB). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.10450000000000001,0.3576715343068614,train,chances are slight,better than even,Chances are slight that 'John left the football' or 'Brian is a lion' or both.,There is a better than even chance that 'John left the football' or 'Brian is a lion' or both.,0,'John left the football' or 'Brian is a lion' or both. It is certain that Jeff went to the bedroom. There is a very good chance that Antoine is thirsty. Chances are about even that Greg is a frog. Chances are about even that if either 'Jeff went to the bedroom' or 'Antoine is thirsty' but not both then Lily is white. There is almost no chance that if 'Antoine is thirsty and Jeff went to the bedroom' then Mary got the football. It is highly likely that if 'Antoine is thirsty and Greg is a frog' then Bernhard is yellow.,It is highly likely that 'Antoine is thirsty' 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 1.0::factA. 0.8::factB. 0.5::factC. %hop1 0.5::factX:-xor(factA,factB). 0.02::factY:-and(factB,factA). 0.9::factZ:-and(factB,factC). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.9,0.13722744548909782,train,highly likely,unlikely,It is highly likely that 'Antoine is thirsty' or 'Lily is white' or both.,It is unlikely that 'Antoine is thirsty' or 'Lily is white' or both.,1,'Antoine is thirsty' or 'Lily is white' or both. We doubt that Bernhard is gray. There is little chance that Sandra left the milk. It is impossible that Greg is a rhino. Chances are about even that if either 'Sandra left the milk' or 'Greg is a rhino' but not both then Gertrude is a wolf. It is impossible that if 'Greg is a rhino and Bernhard is gray' then Brian is a lion. There is a very good chance that if either 'Greg is a rhino' or 'Sandra left the milk' but not both then Lily is a rhino.,It is impossible that 'Brian is a lion 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.1::factB. 0.0::factC. %hop1 0.5::factX:-xor(factB,factC). 0.0::factY:-and(factC,factA). 0.8::factZ:-xor(factC,factB). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.0,0.14842968593718744,train,impossible,very good chance,It is impossible that 'Brian is a lion and Greg is a rhino'.,There is a very good chance that 'Brian is a lion and Greg is a rhino'.,1,'Brian is a lion and Greg is a rhino'. It is highly unlikely that Lily is a frog. Chances are about even that Bill moved to the office. It is unlikely that Mary left the football. There is almost no chance that if 'Bill moved to the office and Mary left the football' then Julius is a rhino. It is highly unlikely that if either 'Mary left the football' or 'Lily is a frog' but not both then Bernhard is a swan. It is improbable that if 'Mary left the football' or 'Lily is a frog' or both then John dropped the apple.,It is highly likely that 'Mary left the football and John 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.05::factA. 0.5::factB. 0.2::factC. %hop1 0.02::factX:-and(factB,factC). 0.05::factY:-xor(factC,factA). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.02000000000000001,0.4376875375075015,train,almost no chance,highly likely,There is almost no chance that 'Mary left the football and John dropped the apple'.,It is highly likely that 'Mary left the football and John dropped the apple'.,0,'Mary left the football and John dropped the apple'. It is probable that Sandra got the football. It is impossible that John grabbed the apple. It is improbable that Greg is a swan. It is impossible that if 'Greg is a swan and John grabbed the apple' then Gertrude is a sheep. It is highly unlikely that if 'John grabbed the apple and Sandra got the football' then Bernhard is a rhino. It is likely that if either 'Greg is a swan' or 'John grabbed the apple' but not both then Brian is yellow.,We believe that 'Sandra got the football and Greg 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.0::factB. 0.1::factC. %hop1 0.0::factX:-and(factC,factB). 0.05::factY:-and(factB,factA). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.07,0.762752550510102,train,highly unlikely,we believe,It is highly unlikely that 'Sandra got the football and Greg is a swan'.,We believe that 'Sandra got the football and Greg is a swan'.,0,'Sandra got the football and Greg is a swan'. We doubt that Brian is yellow. It is highly unlikely that Yann is thirsty. It is likely that Bernhard is a frog. We believe that if 'Brian is yellow' or 'Yann is thirsty' or both then Julius is green. It is probably the case that if either 'Brian is yellow' or 'Bernhard is a frog' but not both then Jeff went to the bedroom. We doubt that if either 'Yann is thirsty' or 'Brian is yellow' but not both then Mary dropped the milk.,We believe that either 'Bernhard is a frog' 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.2::factA. 0.05::factB. 0.7::factC. %hop1 0.75::factX:-or(factA,factB). 0.7::factY:-xor(factA,factC). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.35000000000000003,0.029005801160232048,train,probably not,we believe,It is probably not the case that either 'Bernhard is a frog' or 'Jeff went to the bedroom' but not both.,We believe that either 'Bernhard is a frog' or 'Jeff went to the bedroom' but not both.,0,Either 'Bernhard is a frog' or 'Jeff went to the bedroom' but not both. Chances are slight that Bernhard is green. We doubt that Bill went to the kitchen. Chances are about even that John moved to the garden. It is probably the case that if 'John moved to the garden and Bernhard is green' then Mary got the football. It is unlikely that if either 'Bernhard is green' or 'John moved to the garden' but not both then Lily is yellow. We doubt that if either 'Bill went to the kitchen' or 'Bernhard is green' but not both then Julius is a swan.,There is a better than even chance that 'Lily 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.2::factB. 0.5::factC. %hop1 0.7::factX:-and(factC,factA). 0.2::factY:-xor(factA,factC). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.09000000000000001,0.34526905381076217,train,improbable,better than even,It is improbable that 'Lily is yellow and John moved to the garden'.,There is a better than even chance that 'Lily is yellow and John moved to the garden'.,0,'Lily is yellow and John moved to the garden'. There is a very good chance that Greg is a frog. It is probably the case that Jason is thirsty. It is highly unlikely that John discarded the apple. It is highly unlikely that if 'Greg is a frog' or 'Jason is thirsty' or both then Bernhard is a swan. It is probable that if either 'John discarded the apple' or 'Jason is thirsty' but not both then Mary left the football. There is little chance that if 'John discarded the apple and Jason is thirsty' then Brian is a lion.,There is little chance that 'Jason is thirsty' 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.8::factA. 0.7::factB. 0.05::factC. %hop1 0.05::factX:-or(factA,factB). 0.7::factY:-xor(factC,factB). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.7105,0.15943188637727546,train,likely,little chance,It is likely that 'Jason is thirsty' or 'Mary left the football' or both.,There is little chance that 'Jason is thirsty' or 'Mary left the football' or both.,0,'Jason is thirsty' or 'Mary left the football' or both. It is highly likely that Lily is a lion. There is almost no chance that Mary went to the bedroom. It is highly likely that John grabbed the apple. We doubt that if 'Mary went to the bedroom' or 'John grabbed the apple' or both then Winona is a wolf. It is probably the case that if 'Lily is a lion' or 'Mary went to the bedroom' or both then Greg is green. It is probably not the case that if either 'John grabbed the apple' or 'Mary went to the bedroom' but not both then Julius is yellow.,It is probable that 'Mary went to the bedroom 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.9::factA. 0.02::factB. 0.9::factC. %hop1 0.2::factX:-or(factB,factC). 0.7::factY:-or(factA,factB). 0.25::factZ:-xor(factC,factB). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.014000000000000007,0.07501500300060011,train,almost no chance,probable,There is almost no chance that 'Mary went to the bedroom and Greg is green'.,It is probable that 'Mary went to the bedroom and Greg is green'.,0,'Mary went to the bedroom and Greg is green'. There is almost no chance that Lily is a swan. Chances are slight that Jessica is a sheep. There is a very good chance that Brian is white. It is highly unlikely that if 'Lily is a swan and Brian is white' then Julius is green. It is impossible that if 'Jessica is a sheep' or 'Lily is a swan' or both then Fred dropped the milk. It is almost certain that if 'Jessica is a sheep' or 'Brian is white' or both then Mary moved to the office.,There is a very good chance that either 'Lily is a swan' 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.02::factA. 0.1::factB. 0.8::factC. %hop1 0.05::factX:-and(factA,factC). 0.0::factY:-or(factB,factA). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.019200000000000016,0.20824164832966593,train,almost no chance,very good chance,There is almost no chance that either 'Lily is a swan' or 'Julius is green' but not both.,There is a very good chance that either 'Lily is a swan' or 'Julius is green' but not both.,0,Either 'Lily is a swan' or 'Julius is green' but not both. It is improbable that Lily is a rhino. It is highly unlikely that Mary went to the office. It is highly likely that Julius is a swan. There is little chance that if 'Lily is a rhino and Julius is a swan' then Bernhard is a frog. It is impossible that if 'Mary went to the office and Lily is a rhino' then John put down the milk. We believe that if 'Lily is a rhino' or 'Mary went to the office' or both then Emily is a wolf.,It is certain that 'Lily is a rhino' 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.1::factA. 0.05::factB. 0.9::factC. %hop1 0.1::factX:-and(factA,factC). 0.0::factY:-and(factB,factA). 0.75::factZ:-or(factA,factB). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.13375000000000004,0.27585517103420687,train,little chance,certain,There is little chance that 'Lily is a rhino' or 'Emily is a wolf' or both.,It is certain that 'Lily is a rhino' or 'Emily is a wolf' or both.,0,'Lily is a rhino' or 'Emily is a wolf' or both. It is unlikely that Julius is yellow. There is almost no chance that Lily is a swan. It is probably the case that Jessica is a cat. It is likely that if either 'Julius is yellow' or 'Jessica is a cat' but not both then Greg is white. It is probable that if 'Jessica is a cat and Lily is a swan' then Bernhard is a rhino. It is highly unlikely that if 'Lily is a swan' or 'Julius is yellow' or both then John moved to the office.,It is impossible that either 'Greg is white' or 'John 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.2::factA. 0.02::factB. 0.7::factC. %hop1 0.7::factX:-xor(factA,factC). 0.7::factY:-and(factC,factB). 0.05::factZ:-or(factB,factA). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.43981599999999993,0.136627325465093,train,about even,impossible,Chances are about even that either 'Greg is white' or 'John moved to the office' but not both.,It is impossible that either 'Greg is white' or 'John moved to the office' but not both.,0,Either 'Greg is white' or 'John moved to the office' but not both. Chances are slight that Greg is a frog. There is a very good chance that Bernhard is gray. It is certain that John grabbed the apple. It is almost certain that if either 'Bernhard is gray' or 'Greg is a frog' but not both then Sumit is thirsty. It is highly likely that if 'John grabbed the apple' or 'Bernhard is gray' or both then Fred left the football. Chances are about even that if 'Bernhard is gray' or 'John grabbed the apple' or both then Brian is a rhino.,It is highly likely that 'Brian is a rhino' 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.1::factA. 0.8::factB. 1.0::factC. %hop1 0.95::factX:-xor(factB,factA). 0.9::factY:-or(factC,factB). 0.5::factZ:-or(factB,factC). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.9,0.08561712342468494,train,highly likely,little chance,It is highly likely that 'Brian is a rhino' or 'Bernhard is gray' or both.,There is little chance that 'Brian is a rhino' or 'Bernhard is gray' or both.,1,'Brian is a rhino' or 'Bernhard is gray' or both. There is a very good chance that Brian is white. It is impossible that Daniel took the apple. Chances are about even that Greg is a swan. It is unlikely that if 'Greg is a swan' or 'Daniel took the apple' or both then Julius is yellow. There is almost no chance that if 'Brian is white' or 'Greg is a swan' or both then John moved to the office. It is probably the case that if either 'Brian is white' or 'Greg is a swan' but not both then Bernhard is a rhino.,It is improbable that 'John moved to the office' 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.8::factA. 0.0::factB. 0.5::factC. %hop1 0.2::factX:-or(factC,factB). 0.02::factY:-or(factA,factC). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.116,0.78875775155031,train,improbable,almost certain,It is improbable that 'John moved to the office' or 'Julius is yellow' or both.,It is almost certain that 'John moved to the office' or 'Julius is yellow' or both.,1,'John moved to the office' or 'Julius is yellow' or both. It is certain that Bernhard is a frog. Chances are about even that Greg is a swan. We believe that Jason is tired. It is highly likely that if 'Greg is a swan' or 'Jason is tired' or both then Mary went to the bedroom. It is improbable that if 'Greg is a swan and Bernhard is a frog' then John grabbed the apple. There is almost no chance that if either 'Jason is tired' or 'Greg is a swan' but not both then Brian is gray.,It is unlikely that either 'Jason is tired' 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 1.0::factA. 0.5::factB. 0.75::factC. %hop1 0.9::factX:-or(factB,factC). 0.1::factY:-and(factB,factA). 0.02::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.1875,0.754750950190038,train,unlikely,almost certain,It is unlikely that either 'Jason is tired' or 'Mary went to the bedroom' but not both.,It is almost certain that either 'Jason is tired' or 'Mary went to the bedroom' but not both.,1,Either 'Jason is tired' or 'Mary went to the bedroom' but not both. We doubt that Greg is a swan. It is almost certain that Gertrude is a sheep. It is impossible that Emily is a sheep. There is a very good chance that if 'Gertrude is a sheep and Emily is a sheep' then Sandra is in the kitchen. It is unlikely that if 'Emily is a sheep and Greg is a swan' then Daniel got the milk. It is probable that if either 'Gertrude is a sheep' or 'Emily is a sheep' but not both then John put down the apple.,It is probable that 'John put down the apple and Sandra is in 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.2::factA. 0.95::factB. 0.0::factC. %hop1 0.8::factX:-and(factB,factC). 0.2::factY:-and(factC,factA). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.0,0.46289257851570315,train,impossible,probable,It is impossible that 'John put down the apple and Sandra is in the kitchen'.,It is probable that 'John put down the apple and Sandra is in the kitchen'.,0,'John put down the apple and Sandra is in the kitchen'. It is impossible that Julius is gray. There is little chance that John put down the apple. Chances are slight that Emily is a sheep. There is a very good chance that if either 'John put down the apple' or 'Julius is gray' but not both then Sumit is tired. We believe that if 'Emily is a sheep' or 'Julius is gray' or both then Jeff left the apple. It is unlikely that if 'Emily is a sheep' or 'John put down the apple' or both then Brian is a rhino.,There is a better than even chance that 'Sumit is tired' 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.0::factA. 0.1::factB. 0.1::factC. %hop1 0.8::factX:-xor(factB,factA). 0.75::factY:-or(factC,factA). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.10200000000000008,0.4302860572114423,train,improbable,better than even,It is improbable that 'Sumit is tired' or 'Brian is a rhino' or both.,There is a better than even chance that 'Sumit is tired' or 'Brian is a rhino' or both.,0,'Sumit is tired' or 'Brian is a rhino' or both. There is almost no chance that Greg is yellow. It is probably not the case that Mary went to the kitchen. It is improbable that Lily is a lion. We believe that if 'Mary went to the kitchen' or 'Greg is yellow' or both then Sandra left the football. There is little chance that if 'Lily is a lion' or 'Greg is yellow' or both then Brian is green. There is almost no chance that if 'Mary went to the kitchen' or 'Greg is yellow' or both then John dropped the apple.,Chances are about even that 'Brian is green' or 'John 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.02::factA. 0.25::factB. 0.1::factC. %hop1 0.75::factX:-or(factB,factA). 0.1::factY:-or(factC,factA). 0.02::factZ:-or(factB,factA). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.01701100000000001,0.5843168633726745,train,almost no chance,about even,There is almost no chance that 'Brian is green' or 'John dropped the apple' or both.,Chances are about even that 'Brian is green' or 'John dropped the apple' or both.,0,'Brian is green' or 'John dropped the apple' or both. It is probably not the case that Mary dropped the milk. Chances are about even that Winona is a wolf. It is probably not the case that Daniel took the apple. It is likely that if 'Winona is a wolf and Daniel took the apple' then John moved to the garden. It is certain that if either 'Daniel took the apple' or 'Winona is a wolf' but not both then Brian is a rhino. There is a better than even chance that if 'Mary dropped the milk and Daniel took the apple' then Greg is green.,It is improbable that either 'Brian is a rhino' 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.25::factA. 0.5::factB. 0.25::factC. %hop1 0.7::factX:-and(factB,factC). 1.0::factY:-xor(factC,factB). 0.6::factZ:-and(factA,factC). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.5875,0.5935187037407481,train,better than even,improbable,There is a better than even chance that either 'Brian is a rhino' or 'John moved to the garden' but not both.,It is improbable that either 'Brian is a rhino' or 'John moved to the garden' but not both.,0,Either 'Brian is a rhino' or 'John moved to the garden' but not both. It is probable that Bernhard is gray. It is probable that Daniel put down the milk. Chances are about even that Mary got the apple. There is a better than even chance that if either 'Mary got the apple' or 'Daniel put down the milk' but not both then Brian is gray. It is impossible that if 'Mary got the apple' or 'Bernhard is gray' or both then John went to the kitchen. Chances are slight that if 'Mary got the apple and Bernhard is gray' then Jason is tired.,It is impossible that 'Daniel put down the milk 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.7::factB. 0.5::factC. %hop1 0.6::factX:-xor(factC,factB). 0.0::factY:-or(factC,factA). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.0,0.40408081616323266,train,impossible,highly likely,It is impossible that 'Daniel put down the milk and John went to the kitchen'.,It is highly likely that 'Daniel put down the milk and John went to the kitchen'.,1,'Daniel put down the milk and John went to the kitchen'. It is impossible that Greg is yellow. We doubt that John took the football. Chances are about even that Mary moved to the garden. It is improbable that if either 'Greg is yellow' or 'John took the football' but not both then Brian is yellow. We doubt that if 'John took the football' or 'Mary moved to the garden' or both then Bernhard is white. There is a very good chance that if either 'Greg is yellow' or 'Mary moved to the garden' but not both then Julius is a swan.,Chances are slight that either 'Bernhard is white' 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.0::factA. 0.2::factB. 0.5::factC. %hop1 0.1::factX:-xor(factA,factB). 0.2::factY:-or(factB,factC). 0.8::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.132,0.5167033406681336,train,chances are slight,very good chance,Chances are slight that either 'Bernhard is white' or 'Brian is yellow' but not both.,There is a very good chance that either 'Bernhard is white' or 'Brian is yellow' but not both.,1,Either 'Bernhard is white' or 'Brian is yellow' but not both. It is unlikely that Greg is a frog. It is unlikely that Bernhard is yellow. It is probably the case that Sandra grabbed the milk. There is a very good chance that if either 'Greg is a frog' or 'Bernhard is yellow' but not both then Brian is a swan. There is little chance that if 'Bernhard is yellow' or 'Greg is a frog' or both then Mary went to the garden. We doubt that if 'Bernhard is yellow and Greg is a frog' then John picked up the apple.,It is almost certain that 'Bernhard is yellow and Mary 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.7::factC. %hop1 0.8::factX:-xor(factA,factB). 0.1::factY:-or(factB,factA). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.02000000000000001,0.5797159431886377,train,almost no chance,almost certain,There is almost no chance that 'Bernhard is yellow and Mary went to the garden'.,It is almost certain that 'Bernhard is yellow and Mary went to the garden'.,0,'Bernhard is yellow and Mary went to the garden'. We believe that Brian is a frog. It is improbable that Daniel got the football. There is little chance that Mary moved to the office. It is almost certain that if 'Brian is a frog' or 'Mary moved to the office' or both then Bernhard is a swan. It is highly likely that if 'Brian is a frog' or 'Mary moved to the office' or both then Emily is a wolf. There is little chance that if 'Brian is a frog and Mary moved to the office' then Julius is a lion.,It is highly likely that 'Mary moved to the office and Brian 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.1::factB. 0.1::factC. %hop1 0.95::factX:-or(factA,factC). 0.9::factY:-or(factA,factC). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07500000000000002,0.31446289257851573,train,improbable,highly likely,It is improbable that 'Mary moved to the office and Brian is a frog'.,It is highly likely that 'Mary moved to the office and Brian is a frog'.,0,'Mary moved to the office and Brian is a frog'. It is probably not the case that Fred is in the school. We doubt that Brian is a swan. We believe that Mary left the milk. It is likely that if either 'Mary left the milk' or 'Brian is a swan' but not both then Jason is thirsty. There is a very good chance that if 'Mary left the milk' or 'Brian is a swan' or both then Bernhard is a lion. It is impossible that if 'Fred is in the school' or 'Mary left the milk' or both then Julius is gray.,It is likely that 'Brian is a swan' 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 0.25::factA. 0.2::factB. 0.75::factC. %hop1 0.7::factX:-xor(factC,factB). 0.8::factY:-or(factC,factB). 0.0::factZ:-or(factA,factC). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.68,0.4298859771954391,train,likely,chances are slight,It is likely that 'Brian is a swan' or 'Bernhard is a lion' or both.,Chances are slight that 'Brian is a swan' or 'Bernhard is a lion' or both.,1,'Brian is a swan' or 'Bernhard is a lion' or both. We believe that Fred went to the garden. It is improbable that Daniel took the apple. It is improbable that Bernhard is a lion. We doubt that if either 'Daniel took the apple' or 'Fred went to the garden' but not both then Sandra dropped the milk. It is probably not the case that if either 'Bernhard is a lion' or 'Fred went to the garden' but not both then Brian is a frog. It is probably the case that if 'Fred went to the garden' or 'Bernhard is a lion' or both then Emily is a mouse.,It is likely that 'Daniel took 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.75::factA. 0.1::factB. 0.1::factC. %hop1 0.2::factX:-xor(factB,factA). 0.25::factY:-xor(factC,factA). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.23500000000000004,0.3204640928185637,train,probably not,likely,It is probably not the case that 'Daniel took the apple' or 'Sandra dropped the milk' or both.,It is likely that 'Daniel took the apple' or 'Sandra dropped the milk' or both.,0,'Daniel took the apple' or 'Sandra dropped the milk' or both. There is almost no chance that Sandra dropped the apple. It is probable that Julius is gray. We doubt that Mary moved to the garden. There is a very good chance that if 'Sandra dropped the apple and Julius is gray' then John took the football. It is probable that if 'Mary moved to the garden and Sandra dropped the apple' then Lily is a lion. There is almost no chance that if either 'Julius is gray' or 'Sandra dropped the apple' but not both then Brian is a frog.,There is almost no chance that 'John took the football' 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.02::factA. 0.7::factB. 0.2::factC. %hop1 0.8::factX:-and(factA,factB). 0.7::factY:-and(factC,factA). 0.02::factZ:-xor(factB,factA). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.02,0.3116623324664933,train,almost no chance,probable,There is almost no chance that 'John took the football' or 'Sandra dropped the apple' or both.,It is probable that 'John took the football' or 'Sandra dropped the apple' or both.,1,'John took the football' or 'Sandra dropped the apple' or both. It is impossible that Sandra left the football. It is likely that Bill moved to the office. It is probable that Julius is a frog. Chances are slight that if either 'Sandra left the football' or 'Bill moved to the office' but not both then Sumit is tired. It is impossible that if 'Sandra left the football and Julius is a frog' then Lily is green. We doubt that if either 'Bill moved to the office' or 'Julius is a frog' but not both then John went to the hallway.,It is probably the case that either 'John went to the hallway' 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.0::factA. 0.7::factB. 0.7::factC. %hop1 0.1::factX:-xor(factA,factB). 0.0::factY:-and(factA,factC). 0.2::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.7,0.6493298659731946,train,probably,probably not,It is probably the case that either 'John went to the hallway' or 'Bill moved to the office' but not both.,It is probably not the case that either 'John went to the hallway' or 'Bill moved to the office' but not both.,1,Either 'John went to the hallway' or 'Bill moved to the office' but not both. We doubt that Daniel took the milk. It is almost certain that Winona is a sheep. It is almost certain that Mary moved to the garden. We believe that if 'Winona is a sheep' or 'Mary moved to the garden' or both then Bernhard is a rhino. We doubt that if 'Daniel took the milk' or 'Winona is a sheep' or both then John went to the office. It is almost certain that if 'Mary moved to the garden' or 'Winona is a sheep' or both then Lily is a frog.,It is highly likely that 'Mary moved to the garden 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.2::factA. 0.95::factB. 0.95::factC. %hop1 0.75::factX:-or(factB,factC). 0.2::factY:-or(factA,factB). 0.95::factZ:-or(factC,factB). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.9025,0.7667533506701341,train,highly likely,probably not,It is highly likely that 'Mary moved to the garden and Winona is a sheep'.,It is probably not the case that 'Mary moved to the garden and Winona is a sheep'.,1,'Mary moved to the garden and Winona is a sheep'. There is a very good chance that Bernhard is a frog. It is certain that Julius is a swan. We doubt that Mary grabbed the apple. There is little chance that if 'Julius is a swan' or 'Mary grabbed the apple' or both then Gertrude is a mouse. There is little chance that if 'Julius is a swan and Mary grabbed the apple' then Lily is white. We believe that if 'Mary grabbed the apple' or 'Julius is a swan' or both then John went to the hallway.,It is highly unlikely that 'Gertrude is a mouse' 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.8::factA. 1.0::factB. 0.2::factC. %hop1 0.1::factX:-or(factB,factC). 0.1::factY:-and(factB,factC). 0.75::factZ:-or(factC,factB). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.775,0.5037007401480296,train,we believe,highly unlikely,We believe that 'Gertrude is a mouse' or 'John went to the hallway' or both.,It is highly unlikely that 'Gertrude is a mouse' or 'John went to the hallway' or both.,0,'Gertrude is a mouse' or 'John went to the hallway' or both. It is almost certain that Mary left the milk. It is probable that Bernhard is a frog. There is almost no chance that John discarded the apple. We believe that if 'John discarded the apple and Mary left the milk' then Winona is a cat. It is improbable that if 'Mary left the milk' or 'John discarded the apple' or both then Brian is gray. It is likely that if 'Mary left the milk and John discarded the apple' then Lily is white.,It is impossible that 'Mary left the milk 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.95::factA. 0.7::factB. 0.02::factC. %hop1 0.75::factX:-and(factC,factA). 0.1::factY:-or(factA,factC). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.6649999999999999,0.04700940188037608,train,probable,impossible,It is probable that 'Mary left the milk and Bernhard is a frog'.,It is impossible that 'Mary left the milk and Bernhard is a frog'.,0,'Mary left the milk and Bernhard is a frog'. It is probable that Greg is a lion. It is highly likely that Brian is white. There is little chance that Mary went to the garden. It is likely that if 'Mary went to the garden' or 'Greg is a lion' or both then Julius is green. It is impossible that if 'Mary went to the garden' or 'Brian is white' or both then John got the milk. It is probably the case that if 'Brian is white' or 'Greg is a lion' or both then Lily is a frog.,It is likely that 'Greg is a lion 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.7::factA. 0.9::factB. 0.1::factC. %hop1 0.7::factX:-or(factC,factA). 0.0::factY:-or(factC,factB). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.0,0.3966793358671734,train,impossible,likely,It is impossible that 'Greg is a lion and John got the milk'.,It is likely that 'Greg is a lion and John got the milk'.,0,'Greg is a lion and John got the milk'. It is impossible that Mary went to the bedroom. It is almost certain that Brian is yellow. We doubt that Lily is a swan. It is likely that if either 'Lily is a swan' or 'Mary went to the bedroom' but not both then Winona is a wolf. There is almost no chance that if 'Mary went to the bedroom' or 'Brian is yellow' or both then Sandra dropped the apple. There is little chance that if 'Lily is a swan' or 'Brian is yellow' or both then Greg is gray.,It is likely that either 'Lily is a swan' or 'Greg 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.95::factB. 0.2::factC. %hop1 0.7::factX:-xor(factC,factA). 0.02::factY:-or(factA,factB). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.256,0.7673534706941388,train,probably not,likely,It is probably not the case that either 'Lily is a swan' or 'Greg is gray' but not both.,It is likely that either 'Lily is a swan' or 'Greg is gray' but not both.,0,Either 'Lily is a swan' or 'Greg is gray' but not both. It is probably not the case that Daniel grabbed the milk. There is little chance that Mary went to the bedroom. There is almost no chance that Greg is a rhino. There is a better than even chance that if either 'Mary went to the bedroom' or 'Daniel grabbed the milk' but not both then Bernhard is white. It is probable that if 'Greg is a rhino' or 'Mary went to the bedroom' or both then Gertrude is a mouse. It is unlikely that if either 'Mary went to the bedroom' or 'Daniel grabbed the milk' but not both then Bill left the football.,We doubt that either 'Bernhard 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.1::factB. 0.02::factC. %hop1 0.6::factX:-xor(factB,factA). 0.7::factY:-or(factC,factB). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.16000000000000006,0.27145429085817163,train,we doubt,probable,We doubt that either 'Bernhard is white' or 'Daniel grabbed the milk' but not both.,It is probable that either 'Bernhard is white' or 'Daniel grabbed the milk' but not both.,1,Either 'Bernhard is white' or 'Daniel grabbed the milk' but not both. It is almost certain that Brian is a swan. It is unlikely that Winona is a wolf. We believe that Bernhard is a lion. It is highly unlikely that if either 'Winona is a wolf' or 'Bernhard is a lion' but not both then Lily is white. It is probable that if either 'Winona is a wolf' or 'Bernhard is a lion' but not both then John discarded the apple. It is highly unlikely that if 'Winona is a wolf and Bernhard is a lion' then Greg is gray.,Chances are about even that 'John discarded the apple 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.95::factA. 0.2::factB. 0.75::factC. %hop1 0.05::factX:-xor(factB,factC). 0.7::factY:-xor(factB,factC). 0.05::factZ:-and(factB,factC). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.42,0.009401880376075216,train,about even,almost certain,Chances are about even that 'John discarded the apple and Bernhard is a lion'.,It is almost certain that 'John discarded the apple and Bernhard is a lion'.,1,'John discarded the apple and Bernhard is a lion'. It is highly unlikely that Winona is a mouse. It is likely that Brian is a frog. It is unlikely that Bernhard is a rhino. It is improbable that if either 'Winona is a mouse' or 'Bernhard is a rhino' but not both then Greg is yellow. It is highly likely that if 'Bernhard is a rhino and Winona is a mouse' then Lily is a lion. There is almost no chance that if 'Brian is a frog and Bernhard is a rhino' then Mary took the football.,It is highly unlikely that 'Lily is a lion' 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.05::factA. 0.7::factB. 0.2::factC. %hop1 0.1::factX:-xor(factA,factC). 0.9::factY:-and(factC,factA). 0.02::factZ:-and(factB,factC). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.05000000000000001,0.5745149029805962,train,highly unlikely,likely,It is highly unlikely that 'Lily is a lion' or 'Winona is a mouse' or both.,It is likely that 'Lily is a lion' or 'Winona is a mouse' or both.,1,'Lily is a lion' or 'Winona is a mouse' or both. It is unlikely that Daniel got the milk. It is probable that Lily is white. Chances are slight that Bernhard is a swan. There is almost no chance that if 'Daniel got the milk and Bernhard is a swan' then John dropped the milk. Chances are slight that if either 'Lily is white' or 'Bernhard is a swan' but not both then Winona is a sheep. It is probable that if 'Lily is white and Daniel got the milk' then Mary went to the office.,It is certain that 'Mary went to the office 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.2::factA. 0.7::factB. 0.1::factC. %hop1 0.02::factX:-and(factA,factC). 0.1::factY:-xor(factB,factC). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.09799999999999998,0.5985197039407881,train,improbable,certain,It is improbable that 'Mary went to the office and Daniel got the milk'.,It is certain that 'Mary went to the office and Daniel got the milk'.,0,'Mary went to the office and Daniel got the milk'. It is probable that Lily is a lion. It is likely that Emily is a wolf. It is highly unlikely that Mary got the football. It is certain that if 'Lily is a lion and Mary got the football' then Sandra grabbed the milk. There is a very good chance that if 'Mary got the football and Lily is a lion' then John went to the hallway. It is probable that if 'Mary got the football and Emily is a wolf' then Julius is green.,It is almost certain that 'Sandra grabbed the milk' 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.7::factA. 0.7::factB. 0.05::factC. %hop1 1.0::factX:-and(factA,factC). 0.8::factY:-and(factC,factA). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.035,0.3122624524904981,train,highly unlikely,almost certain,It is highly unlikely that 'Sandra grabbed the milk' or 'John went to the hallway' or both.,It is almost certain that 'Sandra grabbed the milk' or 'John went to the hallway' or both.,0,'Sandra grabbed the milk' or 'John went to the hallway' or both. There is a very good chance that Bernhard is a rhino. There is little chance that Lily is green. There is a very good chance that Mary got the milk. There is a better than even chance that if 'Mary got the milk' or 'Lily is green' or both then Greg is a swan. We believe that if 'Mary got the milk and Lily is green' then John moved to the garden. It is probable that if 'Mary got the milk' or 'Lily is green' or both then Gertrude is a cat.,There is almost no chance that 'Mary got the milk' 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.8::factA. 0.1::factB. 0.8::factC. %hop1 0.6::factX:-or(factC,factB). 0.75::factY:-and(factC,factB). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.8,0.08501700340068014,train,very good chance,almost no chance,There is a very good chance that 'Mary got the milk' or 'John moved to the garden' or both.,There is almost no chance that 'Mary got the milk' or 'John moved to the garden' or both.,0,'Mary got the milk' or 'John moved to the garden' or both. It is highly unlikely that Lily is a rhino. It is certain that Julius is white. There is a better than even chance that John went to the garden. There is almost no chance that if either 'Julius is white' or 'Lily is a rhino' but not both then Brian is yellow. It is unlikely that if 'Julius is white' or 'Lily is a rhino' or both then Daniel got the football. It is probable that if either 'Lily is a rhino' or 'Julius is white' but not both then Greg is a lion.,There is a very good chance that 'Lily is a rhino 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.05::factA. 1.0::factB. 0.6::factC. %hop1 0.02::factX:-xor(factB,factA). 0.2::factY:-or(factB,factA). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.05000000000000001,0.046409281856371276,train,highly unlikely,very good chance,It is highly unlikely that 'Lily is a rhino and Julius is white'.,There is a very good chance that 'Lily is a rhino and Julius is white'.,0,'Lily is a rhino and Julius is white'. It is probably the case that Brian is a lion. It is highly likely that Sandra grabbed the milk. It is probably not the case that Julius is a frog. It is highly unlikely that if either 'Sandra grabbed the milk' or 'Julius is a frog' but not both then John took the football. It is highly likely that if either 'Julius is a frog' or 'Brian is a lion' but not both then Bernhard is yellow. It is highly likely that if 'Julius is a frog and Sandra grabbed the milk' then Greg is white.,There is little chance that either 'Greg is white' 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.7::factA. 0.9::factB. 0.25::factC. %hop1 0.05::factX:-xor(factB,factC). 0.9::factY:-xor(factC,factA). 0.9::factZ:-and(factC,factB). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.63315,0.7315463092618524,train,better than even,little chance,There is a better than even chance that either 'Greg is white' or 'Bernhard is yellow' but not both.,There is little chance that either 'Greg is white' or 'Bernhard is yellow' but not both.,0,Either 'Greg is white' or 'Bernhard is yellow' but not both. We doubt that Sandra got the football. Chances are about even that Winona is a wolf. There is a better than even chance that Bernhard is a rhino. It is probably the case that if either 'Sandra got the football' or 'Bernhard is a rhino' but not both then Julius is a frog. It is probable that if either 'Sandra got the football' or 'Winona is a wolf' but not both then Brian is white. There is little chance that if 'Sandra got the football and Winona is a wolf' then Daniel left the milk.,It is likely that either 'Daniel left the milk' 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.5::factB. 0.6::factC. %hop1 0.7::factX:-xor(factA,factC). 0.7::factY:-xor(factA,factB). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.36,0.24384876975395078,train,probably not,likely,It is probably not the case that either 'Daniel left the milk' or 'Brian is white' but not both.,It is likely that either 'Daniel left the milk' or 'Brian is white' but not both.,0,Either 'Daniel left the milk' or 'Brian is white' but not both. We believe that Julius is white. There is little chance that Brian is a swan. It is unlikely that Sandra got the milk. It is probably the case that if 'Brian is a swan and Julius is white' then Lily is a frog. There is a very good chance that if 'Julius is white and Sandra got the milk' then John moved to the garden. There is little chance that if 'Julius is white and Sandra got the milk' then Mary dropped the milk.,There is a very good chance that 'Brian is a swan' 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.75::factA. 0.1::factB. 0.2::factC. %hop1 0.7::factX:-and(factB,factA). 0.8::factY:-and(factA,factC). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.775,0.052410482096419284,train,very good chance,probably not,There is a very good chance that 'Brian is a swan' or 'Julius is white' or both.,It is probably not the case that 'Brian is a swan' or 'Julius is white' or both.,1,'Brian is a swan' or 'Julius is white' or both. It is certain that Bill went to the garden. There is almost no chance that Bernhard is gray. It is almost certain that Jessica is a cat. It is certain that if 'Bill went to the garden and Jessica is a cat' then Winona is a mouse. It is probably not the case that if 'Jessica is a cat and Bernhard is gray' then Greg is a swan. There is little chance that if either 'Bill went to the garden' or 'Bernhard is gray' but not both then John put down the apple.,It is highly likely that 'Winona is a mouse and John put down 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 1.0::factA. 0.02::factB. 0.95::factC. %hop1 1.0::factX:-and(factA,factC). 0.25::factY:-and(factC,factB). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.09310000000000002,0.15003000600120023,train,improbable,highly likely,It is improbable that 'Winona is a mouse and John put down the apple'.,It is highly likely that 'Winona is a mouse and John put down the apple'.,0,'Winona is a mouse and John put down the apple'. It is likely that Lily is gray. There is almost no chance that John took the apple. It is highly unlikely that Antoine is hungry. It is certain that if 'John took the apple and Antoine is hungry' then Greg is green. We doubt that if 'Antoine is hungry and Lily is gray' then Bernhard is yellow. There is a very good chance that if 'Lily is gray and Antoine is hungry' then Mary went to the kitchen.,There is a very good chance that 'John took the apple and Mary 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.02::factB. 0.05::factC. %hop1 1.0::factX:-and(factB,factC). 0.2::factY:-and(factC,factA). 0.8::factZ:-and(factA,factC). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.0005600000000000002,0.7151430286057211,train,impossible,very good chance,It is impossible that 'John took the apple and Mary went to the kitchen'.,There is a very good chance that 'John took the apple and Mary went to the kitchen'.,0,'John took the apple and Mary went to the kitchen'. It is probable that Jeff went to the hallway. There is a very good chance that Winona is a cat. There is a better than even chance that Daniel got the milk. We believe that if 'Daniel got the milk and Winona is a cat' then Jessica is a cat. We doubt that if 'Jeff went to the hallway' or 'Winona is a cat' or both then Julius is a frog. It is likely that if 'Winona is a cat and Jeff went to the hallway' then Brian is a rhino.,There is little chance that either 'Julius is a frog' 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.7::factA. 0.8::factB. 0.6::factC. %hop1 0.75::factX:-and(factC,factB). 0.2::factY:-or(factA,factB). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.5624,0.133626725345069,train,better than even,little chance,There is a better than even chance that either 'Julius is a frog' or 'Daniel got the milk' but not both.,There is little chance that either 'Julius is a frog' or 'Daniel got the milk' but not both.,0,Either 'Julius is a frog' or 'Daniel got the milk' but not both. It is probably the case that Greg is green. We doubt that Brian is a rhino. We believe that Julius is a frog. There is almost no chance that if 'Julius is a frog and Brian is a rhino' then Gertrude is a sheep. It is highly unlikely that if either 'Greg is green' or 'Brian is a rhino' but not both then Mary moved to the office. It is probable that if either 'Julius is a frog' or 'Greg is green' but not both then Daniel got the milk.,Chances are slight that 'Brian 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.7::factA. 0.2::factB. 0.75::factC. %hop1 0.02::factX:-and(factC,factB). 0.05::factY:-xor(factA,factB). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.15,0.1784356871374275,train,chances are slight,probably,Chances are slight that 'Brian is a rhino and Julius is a frog'.,It is probably the case that 'Brian is a rhino and Julius is a frog'.,1,'Brian is a rhino and Julius is a frog'. Chances are slight that Greg is white. It is highly likely that Sandra left the apple. We doubt that Fred dropped the milk. It is impossible that if either 'Sandra left the apple' or 'Greg is white' but not both then Mary put down the apple. It is impossible that if 'Greg is white and Fred dropped the milk' then Julius is a swan. Chances are slight that if either 'Greg is white' or 'Fred dropped the milk' but not both then Brian is a frog.,There is a very good chance that 'Fred dropped the milk 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.9::factB. 0.2::factC. %hop1 0.0::factX:-xor(factB,factA). 0.0::factY:-and(factA,factC). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.18000000000000002,0.3216643328665733,train,we doubt,very good chance,We doubt that 'Fred dropped the milk and Sandra left the apple'.,There is a very good chance that 'Fred dropped the milk and Sandra left the apple'.,0,'Fred dropped the milk and Sandra left the apple'. We doubt that Bernhard is yellow. It is almost certain that Antoine is thirsty. It is improbable that Brian is a rhino. It is probable that if 'Antoine is thirsty' or 'Brian is a rhino' or both then John put down the apple. It is certain that if 'Antoine is thirsty and Bernhard is yellow' then Sandra got the milk. It is highly likely that if 'Bernhard is yellow' or 'Brian is a rhino' or both then Greg is a frog.,There is a very good chance that 'Greg is a frog' 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.95::factB. 0.1::factC. %hop1 0.7::factX:-or(factB,factC). 1.0::factY:-and(factB,factA). 0.9::factZ:-or(factA,factC). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.262,0.6373274654930986,train,probably not,very good chance,It is probably not the case that 'Greg is a frog' or 'Brian is a rhino' or both.,There is a very good chance that 'Greg is a frog' or 'Brian is a rhino' or both.,0,'Greg is a frog' or 'Brian is a rhino' or both. It is likely that Jessica is a mouse. There is almost no chance that Sandra left the football. We believe that Julius is yellow. It is certain that if 'Jessica is a mouse' or 'Sandra left the football' or both then Brian is white. It is highly unlikely that if 'Julius is yellow and Sandra left the football' then Greg is a rhino. It is unlikely that if either 'Sandra left the football' or 'Jessica is a mouse' but not both then Mary grabbed the milk.,There is a better than even chance that 'Mary grabbed 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.7::factA. 0.02::factB. 0.75::factC. %hop1 1.0::factX:-or(factA,factB). 0.05::factY:-and(factC,factB). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.1384,0.6207241448289658,train,improbable,better than even,It is improbable that 'Mary grabbed the milk and Brian is white'.,There is a better than even chance that 'Mary grabbed the milk and Brian is white'.,0,'Mary grabbed the milk and Brian is white'. We doubt that Brian is white. It is certain that John moved to the office. It is improbable that Mary got the football. We believe that if 'Brian is white and John moved to the office' then Lily is a swan. It is unlikely that if 'Mary got the football' or 'John moved to the office' or both then Greg is yellow. Chances are about even that if 'Brian is white' or 'John moved to the office' or both then Bill went to the bedroom.,It is highly unlikely that either 'Lily is a swan' 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. 1.0::factB. 0.1::factC. %hop1 0.75::factX:-and(factA,factB). 0.2::factY:-or(factC,factB). 0.5::factZ:-or(factA,factB). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.05000000000000001,0.3462692538507702,train,highly unlikely,probable,It is highly unlikely that either 'Lily is a swan' or 'Brian is white' but not both.,It is probable that either 'Lily is a swan' or 'Brian is white' but not both.,1,Either 'Lily is a swan' or 'Brian is white' but not both. It is likely that Daniel took the milk. Chances are slight that Bernhard is a swan. We believe that Greg is a rhino. Chances are slight that if 'Greg is a rhino' or 'Daniel took the milk' or both then Lily is a swan. It is likely that if 'Bernhard is a swan' or 'Daniel took the milk' or both then John went to the garden. There is a better than even chance that if either 'Bernhard is a swan' or 'Greg is a rhino' but not both then Brian is green.,It is impossible that either 'Brian is green' or 'John 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.7::factA. 0.1::factB. 0.75::factC. %hop1 0.1::factX:-or(factC,factA). 0.7::factY:-or(factB,factA). 0.6::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.5131,0.2474494898979796,train,about even,impossible,Chances are about even that either 'Brian is green' or 'John went to the garden' but not both.,It is impossible that either 'Brian is green' or 'John went to the garden' but not both.,0,Either 'Brian is green' or 'John went to the garden' but not both. It is highly unlikely that Greg is green. There is little chance that Julius is gray. We believe that Bill went to the garden. There is a very good chance that if 'Bill went to the garden' or 'Julius is gray' or both then Sandra got the football. There is a better than even chance that if 'Julius is gray and Bill went to the garden' then John picked up the apple. It is probable that if either 'Greg is green' or 'Julius is gray' but not both then Bernhard is a rhino.,It is probably the case that 'Julius is gray' or 'Bernhard 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.1::factB. 0.75::factC. %hop1 0.8::factX:-or(factC,factB). 0.6::factY:-and(factB,factC). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.13150000000000003,0.6695339067813563,train,improbable,probably,It is improbable that 'Julius is gray' or 'Bernhard is a rhino' or both.,It is probably the case that 'Julius is gray' or 'Bernhard is a rhino' or both.,0,'Julius is gray' or 'Bernhard is a rhino' or both. It is probably not the case that Daniel left the milk. It is likely that Lily is a lion. It is unlikely that Julius is a frog. It is certain that if 'Daniel left the milk' or 'Lily is a lion' or both then Sandra grabbed the apple. It is impossible that if 'Lily is a lion and Julius is a frog' then Bernhard is yellow. It is likely that if 'Lily is a lion' or 'Daniel left the milk' or both then Brian is yellow.,It is probably not the case that either 'Brian is yellow' or 'Sandra grabbed 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.7::factB. 0.2::factC. %hop1 1.0::factX:-or(factA,factB). 0.0::factY:-and(factB,factC). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.23250000000000004,0.45649129825965196,train,probably not,we believe,It is probably not the case that either 'Brian is yellow' or 'Sandra grabbed the apple' but not both.,We believe that either 'Brian is yellow' or 'Sandra grabbed the apple' but not both.,1,Either 'Brian is yellow' or 'Sandra grabbed the apple' but not both. It is almost certain that Jason is tired. Chances are slight that Mary went to the kitchen. Chances are slight that Bernhard is a swan. It is impossible that if 'Jason is tired and Bernhard is a swan' then Brian is yellow. It is likely that if either 'Bernhard is a swan' or 'Jason is tired' but not both then Julius is a lion. We believe that if either 'Bernhard is a swan' or 'Mary went to the kitchen' but not both then Greg is a swan.,It is highly unlikely that 'Greg is a swan and Mary 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.95::factA. 0.1::factB. 0.1::factC. %hop1 0.0::factX:-and(factA,factC). 0.7::factY:-xor(factC,factA). 0.75::factZ:-xor(factC,factB). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.06750000000000002,0.1844368873774755,train,highly unlikely,we believe,It is highly unlikely that 'Greg is a swan and Mary went to the kitchen'.,We believe that 'Greg is a swan and Mary went to the kitchen'.,1,'Greg is a swan and Mary went to the kitchen'. It is probably not the case that John went to the garden. It is highly unlikely that Brian is a lion. It is probably the case that Gertrude is a sheep. It is highly likely that if 'John went to the garden' or 'Gertrude is a sheep' or both then Bernhard is yellow. Chances are slight that if either 'Gertrude is a sheep' or 'Brian is a lion' but not both then Daniel dropped the milk. Chances are about even that if 'Brian is a lion and John went to the garden' then Lily is a frog.,It is certain that 'Lily is a frog' 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.25::factA. 0.05::factB. 0.7::factC. %hop1 0.9::factX:-or(factA,factC). 0.1::factY:-xor(factC,factB). 0.5::factZ:-and(factB,factA). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.05000000000000001,0.28025605121024205,train,highly unlikely,certain,It is highly unlikely that 'Lily is a frog' or 'Brian is a lion' or both.,It is certain that 'Lily is a frog' or 'Brian is a lion' or both.,0,'Lily is a frog' or 'Brian is a lion' or both. There is almost no chance that Daniel left the milk. There is a very good chance that Emily is a mouse. Chances are slight that Lily is a swan. It is impossible that if 'Lily is a swan and Daniel left the milk' then Bernhard is a lion. It is unlikely that if 'Emily is a mouse' or 'Lily is a swan' or both then Julius is gray. It is highly unlikely that if 'Daniel left the milk and Lily is a swan' then Brian is yellow.,It is impossible that 'Daniel left the milk 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.1::factC. %hop1 0.0::factX:-and(factC,factA). 0.2::factY:-or(factB,factC). 0.05::factZ:-and(factA,factC). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0020000000000000005,0.5719143828765754,train,impossible,probable,It is impossible that 'Daniel left the milk and Lily is a swan'.,It is probable that 'Daniel left the milk and Lily is a swan'.,1,'Daniel left the milk and Lily is a swan'. There is almost no chance that Jessica is a sheep. It is probable that Bernhard is a frog. Chances are slight that Julius is gray. There is little chance that if either 'Bernhard is a frog' or 'Julius is gray' but not both then Mary went to the kitchen. It is highly unlikely that if either 'Jessica is a sheep' or 'Bernhard is a frog' but not both then Jeff dropped the apple. It is impossible that if 'Bernhard is a frog' or 'Jessica is a sheep' or both then John moved to the garden.,It is impossible that 'John moved to the garden and Jessica 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.02::factA. 0.7::factB. 0.1::factC. %hop1 0.1::factX:-xor(factB,factC). 0.05::factY:-xor(factA,factB). 0.0::factZ:-or(factB,factA). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.0,0.6855371074214843,train,impossible,probably,It is impossible that 'John moved to the garden and Jessica is a sheep'.,It is probably the case that 'John moved to the garden and Jessica is a sheep'.,1,'John moved to the garden and Jessica is a sheep'. Chances are slight that John left the football. It is almost certain that Emily is a mouse. It is improbable that Greg is green. It is impossible that if 'Emily is a mouse and Greg is green' then Sandra got the milk. Chances are about even that if 'John left the football' or 'Greg is green' or both then Jeff went to the garden. Chances are about even that if 'John left the football and Emily is a mouse' then Brian is yellow.,We believe that either 'Jeff went to the garden' or 'John 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.1::factA. 0.95::factB. 0.1::factC. %hop1 0.0::factX:-and(factB,factC). 0.5::factY:-or(factA,factC). 0.5::factZ:-and(factA,factB). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.09500000000000001,0.2420484096819364,train,improbable,we believe,It is improbable that either 'Jeff went to the garden' or 'John left the football' but not both.,We believe that either 'Jeff went to the garden' or 'John left the football' but not both.,0,Either 'Jeff went to the garden' or 'John left the football' but not both. It is unlikely that Sandra dropped the milk. We believe that Jason is thirsty. It is probably not the case that John went to the office. It is probably not the case that if either 'John went to the office' or 'Sandra dropped the milk' but not both then Julius is a swan. There is little chance that if either 'Jason is thirsty' or 'Sandra dropped the milk' but not both then Brian is green. Chances are slight that if 'Sandra dropped the milk' or 'John went to the office' or both then Bernhard is a frog.,There is a better than even chance that either 'Jason is thirsty' 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.2::factA. 0.75::factB. 0.25::factC. %hop1 0.25::factX:-xor(factC,factA). 0.1::factY:-xor(factB,factA). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.625,0.7185437087417483,train,better than even,impossible,There is a better than even chance that either 'Jason is thirsty' or 'John went to the office' but not both.,It is impossible that either 'Jason is thirsty' or 'John went to the office' but not both.,1,Either 'Jason is thirsty' or 'John went to the office' but not both. It is probably the case that Jeff left the apple. It is unlikely that John got the milk. Chances are slight that Mary moved to the office. It is likely that if 'John got the milk' or 'Mary moved to the office' or both then Julius is a rhino. We doubt that if 'Mary moved to the office and Jeff left the apple' then Greg is a swan. There is a very good chance that if either 'Mary moved to the office' or 'Jeff left the apple' but not both then Lily is a frog.,Chances are about even that 'Lily 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 0.7::factA. 0.2::factB. 0.1::factC. %hop1 0.7::factX:-or(factB,factC). 0.2::factY:-and(factC,factA). 0.8::factZ:-xor(factC,factA). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.5419999999999999,0.1846369273854771,train,about even,highly unlikely,Chances are about even that 'Lily is a frog' or 'Greg is a swan' or both.,It is highly unlikely that 'Lily is a frog' or 'Greg is a swan' or both.,1,'Lily is a frog' or 'Greg is a swan' or both. It is highly unlikely that Gertrude is a cat. It is improbable that Sandra left the milk. Chances are about even that Brian is gray. It is highly unlikely that if either 'Sandra left the milk' or 'Gertrude is a cat' but not both then Lily is green. It is probable that if 'Brian is gray' or 'Sandra left the milk' or both then John went to the kitchen. We doubt that if 'Sandra left the milk' or 'Brian is gray' or both then Julius is a frog.,Chances are about even that 'John went to the kitchen' 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.05::factA. 0.1::factB. 0.5::factC. %hop1 0.05::factX:-xor(factB,factA). 0.7::factY:-or(factC,factB). 0.2::factZ:-or(factB,factC). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.41800000000000004,0.373874774954991,train,about even,highly unlikely,Chances are about even that 'John went to the kitchen' or 'Julius is a frog' or both.,It is highly unlikely that 'John went to the kitchen' or 'Julius is a frog' or both.,1,'John went to the kitchen' or 'Julius is a frog' or both. There is a very good chance that Greg is a lion. It is highly unlikely that Sandra left the football. Chances are slight that Yann is thirsty. It is improbable that if 'Sandra left the football and Greg is a lion' then Bernhard is gray. There is little chance that if 'Greg is a lion' or 'Yann is thirsty' or both then Daniel dropped the milk. We believe that if 'Greg is a lion and Sandra left the football' then John went to the garden.,There is a very good chance that 'Daniel dropped the milk' or 'Yann 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.8::factA. 0.05::factB. 0.1::factC. %hop1 0.1::factX:-and(factB,factA). 0.1::factY:-or(factA,factC). 0.75::factZ:-and(factA,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.17200000000000001,0.1288257651530306,train,unlikely,very good chance,It is unlikely that 'Daniel dropped the milk' or 'Yann is thirsty' or both.,There is a very good chance that 'Daniel dropped the milk' or 'Yann is thirsty' or both.,0,'Daniel dropped the milk' or 'Yann is thirsty' or both. We doubt that Antoine is thirsty. There is a very good chance that Lily is a swan. It is impossible that Greg is a rhino. It is probable that if 'Antoine is thirsty and Greg is a rhino' then Mary is in the bathroom. It is likely that if 'Lily is a swan' or 'Greg is a rhino' or both then Brian is yellow. It is impossible that if either 'Antoine is thirsty' or 'Greg is a rhino' but not both then Sandra dropped the milk.,It is impossible that 'Sandra dropped the milk 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.8::factB. 0.0::factC. %hop1 0.7::factX:-and(factA,factC). 0.7::factY:-or(factB,factC). 0.0::factZ:-xor(factA,factC). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.0,0.07341468293658732,train,impossible,about even,It is impossible that 'Sandra dropped the milk and Lily is a swan'.,Chances are about even that 'Sandra dropped the milk and Lily is a swan'.,1,'Sandra dropped the milk and Lily is a swan'. It is likely that Bernhard is a rhino. It is probably not the case that John got the football. It is probably the case that Lily is a lion. It is probable that if 'Lily is a lion and Bernhard is a rhino' then Mary grabbed the milk. It is probable that if either 'Lily is a lion' or 'John got the football' but not both then Sumit is bored. Chances are slight that if 'John got the football' or 'Lily is a lion' or both then Julius is yellow.,There is almost no chance that 'Sumit is bored' 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.7::factA. 0.25::factB. 0.7::factC. %hop1 0.7::factX:-and(factC,factA). 0.7::factY:-xor(factC,factB). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.45549999999999996,0.531506301260252,train,about even,almost no chance,Chances are about even that 'Sumit is bored' or 'Julius is yellow' or both.,There is almost no chance that 'Sumit is bored' or 'Julius is yellow' or both.,0,'Sumit is bored' or 'Julius is yellow' or both. We doubt that Julius is white. It is impossible that Bernhard is a lion. It is probable that Brian is gray. It is unlikely that if either 'Brian is gray' or 'Bernhard is a lion' but not both then Daniel dropped the milk. It is highly likely that if 'Bernhard is a lion and Julius is white' then Mary left the football. There is a very good chance that if 'Brian is gray and Bernhard is a lion' then Greg is a swan.,It is probably the case that 'Julius is white' 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.2::factA. 0.0::factB. 0.7::factC. %hop1 0.2::factX:-xor(factC,factB). 0.9::factY:-and(factB,factA). 0.8::factZ:-and(factC,factB). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.31200000000000006,0.6915383076615323,train,probably not,probably,It is probably not the case that 'Julius is white' or 'Daniel dropped the milk' or both.,It is probably the case that 'Julius is white' or 'Daniel dropped the milk' or both.,0,'Julius is white' or 'Daniel dropped the milk' or both. Chances are about even that Brian is yellow. We doubt that Sandra dropped the milk. It is impossible that Lily is a lion. It is almost certain that if 'Brian is yellow' or 'Sandra dropped the milk' or both then Mary went to the office. It is certain that if either 'Brian is yellow' or 'Sandra dropped the milk' but not both then John put down the milk. It is impossible that if either 'Brian is yellow' or 'Lily is a lion' but not both then Fred left the apple.,It is almost certain that 'John put down the milk 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.5::factA. 0.2::factB. 0.0::factC. %hop1 0.95::factX:-or(factA,factB). 1.0::factY:-xor(factA,factB). 0.0::factZ:-xor(factA,factC). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.39999999999999997,0.015803160632126424,train,about even,almost certain,Chances are about even that 'John put down the milk and Brian is yellow'.,It is almost certain that 'John put down the milk and Brian is yellow'.,0,'John put down the milk and Brian is yellow'. We doubt that Winona is a mouse. It is certain that Julius is gray. It is almost certain that Lily is a frog. It is likely that if 'Winona is a mouse' or 'Julius is gray' or both then Greg is yellow. It is likely that if 'Julius is gray and Lily is a frog' then John took the apple. It is likely that if 'Lily is a frog' or 'Julius is gray' or both then Jeff left the apple.,It is certain that 'Lily is a frog' 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.2::factA. 1.0::factB. 0.95::factC. %hop1 0.7::factX:-or(factA,factB). 0.7::factY:-and(factB,factC). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.985,0.28325665133026606,train,certain,chances are slight,It is certain that 'Lily is a frog' or 'Greg is yellow' or both.,Chances are slight that 'Lily is a frog' or 'Greg is yellow' or both.,1,'Lily is a frog' or 'Greg is yellow' or both. Chances are slight that Brian is gray. It is impossible that Bernhard is a rhino. There is a very good chance that Winona is a sheep. It is certain that if 'Bernhard is a rhino and Winona is a sheep' then Gertrude is a mouse. It is likely that if either 'Brian is gray' or 'Winona is a sheep' but not both then Fred dropped the milk. It is impossible that if either 'Brian is gray' or 'Winona is a sheep' but not both then Lily is white.,There is little chance that either 'Lily is white' or 'Brian 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.8::factC. %hop1 1.0::factX:-and(factB,factC). 0.7::factY:-xor(factA,factC). 0.0::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.10000000000000002,0.41928385677135427,train,little chance,probable,There is little chance that either 'Lily is white' or 'Brian is gray' but not both.,It is probable that either 'Lily is white' or 'Brian is gray' but not both.,1,Either 'Lily is white' or 'Brian is gray' but not both. Chances are slight that Mary went to the bedroom. It is impossible that Greg is a frog. It is highly likely that Emily is a mouse. It is certain that if 'Greg is a frog' or 'Mary went to the bedroom' or both then Jessica is a cat. We doubt that if 'Mary went to the bedroom' or 'Emily is a mouse' or both then Fred left the football. It is probably the case that if 'Greg is a frog and Mary went to the bedroom' then Julius is white.,It is improbable that 'Mary went to the bedroom' 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.1::factA. 0.0::factB. 0.9::factC. %hop1 1.0::factX:-or(factB,factA). 0.2::factY:-or(factA,factC). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.10000000000000002,0.03960792158431686,train,improbable,we believe,It is improbable that 'Mary went to the bedroom' or 'Julius is white' or both.,We believe that 'Mary went to the bedroom' or 'Julius is white' or both.,1,'Mary went to the bedroom' or 'Julius is white' or both. It is probably the case that Julius is gray. There is a better than even chance that Bernhard is a frog. Chances are slight that Mary got the apple. Chances are about even that if either 'Julius is gray' or 'Mary got the apple' but not both then Lily is a lion. It is almost certain that if either 'Mary got the apple' or 'Julius is gray' but not both then Gertrude is a cat. It is probable that if either 'Bernhard is a frog' or 'Julius is gray' but not both then Greg is yellow.,We doubt that 'Greg is yellow 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.7::factA. 0.6::factB. 0.1::factC. %hop1 0.5::factX:-xor(factA,factC). 0.95::factY:-xor(factC,factA). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.19599999999999995,0.5221044208841769,train,we doubt,probably,We doubt that 'Greg is yellow and Julius is gray'.,It is probably the case that 'Greg is yellow and Julius is gray'.,1,'Greg is yellow and Julius is gray'. We believe that Brian is white. We doubt that Julius is a swan. We believe that Mary went to the kitchen. We doubt that if 'Mary went to the kitchen and Julius is a swan' then Bill left the milk. Chances are slight that if 'Julius is a swan' or 'Mary went to the kitchen' or both then John took the football. It is likely that if either 'Mary went to the kitchen' or 'Brian is white' but not both then Bernhard is a frog.,It is impossible that 'Julius is a swan' 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.75::factA. 0.2::factB. 0.75::factC. %hop1 0.2::factX:-and(factC,factB). 0.1::factY:-or(factB,factC). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.4099999999999999,0.33726745349069814,train,about even,impossible,Chances are about even that 'Julius is a swan' or 'Bernhard is a frog' or both.,It is impossible that 'Julius is a swan' or 'Bernhard is a frog' or both.,0,'Julius is a swan' or 'Bernhard is a frog' or both. We believe that Brian is gray. It is likely that John moved to the garden. It is highly likely that Sandra took the football. We believe that if 'Brian is gray' or 'John moved to the garden' or both then Bernhard is a lion. There is a better than even chance that if 'Sandra took the football and John moved to the garden' then Jessica is a sheep. It is likely that if either 'Brian is gray' or 'Sandra took the football' but not both then Mary went to the bedroom.,It is probable that either 'Bernhard is a lion' or 'Sandra 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.75::factA. 0.7::factB. 0.9::factC. %hop1 0.75::factX:-or(factA,factB). 0.6::factY:-and(factC,factB). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.345,0.6467293458691739,train,probably not,probable,It is probably not the case that either 'Bernhard is a lion' or 'Sandra took the football' but not both.,It is probable that either 'Bernhard is a lion' or 'Sandra took the football' but not both.,0,Either 'Bernhard is a lion' or 'Sandra took the football' but not both. It is unlikely that John grabbed the apple. There is little chance that Lily is yellow. Chances are slight that Jeff moved to the office. It is probably not the case that if either 'Jeff moved to the office' or 'John grabbed the apple' but not both then Sandra left the milk. It is highly likely that if 'Jeff moved to the office' or 'John grabbed the apple' or both then Julius is a rhino. It is probably the case that if 'Lily is yellow' or 'John grabbed the apple' or both then Bernhard is green.,It is almost certain that either 'Jeff 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.2::factA. 0.1::factB. 0.1::factC. %hop1 0.25::factX:-xor(factC,factA). 0.9::factY:-or(factC,factA). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.18000000000000005,0.7293458691738348,train,unlikely,almost certain,It is unlikely that either 'Jeff moved to the office' or 'Lily is yellow' but not both.,It is almost certain that either 'Jeff moved to the office' or 'Lily is yellow' but not both.,0,Either 'Jeff moved to the office' or 'Lily is yellow' but not both. There is a better than even chance that Lily is yellow. It is probably the case that Mary left the football. It is unlikely that Greg is a swan. We doubt that if either 'Greg is a swan' or 'Mary left the football' but not both then Jessica is a sheep. We doubt that if 'Mary left the football and Lily is yellow' then Bernhard is a frog. It is probably not the case that if 'Greg is a swan' or 'Mary left the football' or both then Fred went to the garden.,It is probable that 'Greg is a swan' 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.6::factA. 0.7::factB. 0.2::factC. %hop1 0.2::factX:-xor(factC,factB). 0.2::factY:-and(factB,factA). 0.25::factZ:-or(factC,factB). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.2672,0.5413082616523305,train,probably not,probable,It is probably not the case that 'Greg is a swan' or 'Bernhard is a frog' or both.,It is probable that 'Greg is a swan' or 'Bernhard is a frog' or both.,0,'Greg is a swan' or 'Bernhard is a frog' or both. It is certain that Mary went to the office. There is little chance that Greg is a frog. There is almost no chance that Julius is a lion. It is highly unlikely that if 'Greg is a frog and Julius is a lion' then Emily is a sheep. There is almost no chance that if 'Julius is a lion' or 'Mary went to the office' or both then Brian is a rhino. It is unlikely that if 'Julius is a lion and Greg is a frog' then Jessica is a mouse.,There is almost no chance that either 'Jessica is a mouse' 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 1.0::factA. 0.1::factB. 0.02::factC. %hop1 0.05::factX:-and(factB,factC). 0.02::factY:-or(factC,factA). 0.2::factZ:-and(factC,factB). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.0196,0.27365473094618925,train,almost no chance,certain,There is almost no chance that either 'Jessica is a mouse' or 'Julius is a lion' but not both.,It is certain that either 'Jessica is a mouse' or 'Julius is a lion' but not both.,1,Either 'Jessica is a mouse' or 'Julius is a lion' but not both. Chances are slight that Fred left the apple. It is probable that Bernhard is a rhino. Chances are about even that Brian is white. There is little chance that if either 'Brian is white' or 'Bernhard is a rhino' but not both then Lily is white. It is probably the case that if 'Brian is white and Fred left the apple' then Mary went to the hallway. It is improbable that if either 'Fred left the apple' or 'Bernhard is a rhino' but not both then John discarded the milk.,It is probable that either 'Lily is white' or 'Bernhard 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.1::factA. 0.7::factB. 0.5::factC. %hop1 0.1::factX:-xor(factC,factB). 0.7::factY:-and(factC,factA). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.68,0.5795159031806362,train,probable,highly unlikely,It is probable that either 'Lily is white' or 'Bernhard is a rhino' but not both.,It is highly unlikely that either 'Lily is white' or 'Bernhard is a rhino' but not both.,1,Either 'Lily is white' or 'Bernhard is a rhino' but not both. Chances are slight that Greg is a frog. It is certain that Bernhard is a rhino. It is probably the case that Jason is tired. Chances are slight that if either 'Jason is tired' or 'Greg is a frog' but not both then Julius is gray. There is little chance that if 'Greg is a frog and Jason is tired' then John went to the office. Chances are about even that if either 'Bernhard is a rhino' or 'Greg is a frog' but not both then Sandra dropped the milk.,It is probably not the case that 'Sandra 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.1::factA. 1.0::factB. 0.7::factC. %hop1 0.1::factX:-xor(factC,factA). 0.1::factY:-and(factA,factC). 0.5::factZ:-xor(factB,factA). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.31499999999999995,0.22144428885777157,train,probably not,highly likely,It is probably not the case that 'Sandra dropped the milk and Jason is tired'.,It is highly likely that 'Sandra dropped the milk and Jason is tired'.,1,'Sandra dropped the milk and Jason is tired'. It is unlikely that Lily is a rhino. It is certain that Emily is a mouse. It is almost certain that Jeff went to the hallway. There is a very good chance that if 'Jeff went to the hallway and Lily is a rhino' then Bernhard is yellow. It is likely that if 'Lily is a rhino' or 'Jeff went to the hallway' or both then Julius is a frog. Chances are slight that if either 'Lily is a rhino' or 'Jeff went to the hallway' but not both then Jason is tired.,It is highly likely that either 'Lily is a rhino' 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.2::factA. 1.0::factB. 0.95::factC. %hop1 0.8::factX:-and(factC,factA). 0.7::factY:-or(factA,factC). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.04800000000000002,0.7285457091418284,train,highly unlikely,highly likely,It is highly unlikely that either 'Lily is a rhino' or 'Bernhard is yellow' but not both.,It is highly likely that either 'Lily is a rhino' or 'Bernhard is yellow' but not both.,0,Either 'Lily is a rhino' or 'Bernhard is yellow' but not both. There is almost no chance that Brian is a lion. We doubt that Gertrude is a sheep. It is impossible that John went to the office. It is probably not the case that if 'John went to the office' or 'Gertrude is a sheep' or both then Sandra got the milk. Chances are slight that if 'Brian is a lion' or 'John went to the office' or both then Lily is a rhino. There is a very good chance that if 'John went to the office and Gertrude is a sheep' then Bernhard is gray.,It is highly likely that 'John went to the office' 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.02::factA. 0.2::factB. 0.0::factC. %hop1 0.25::factX:-or(factC,factB). 0.1::factY:-or(factA,factC). 0.8::factZ:-and(factC,factB). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.0020000000000000005,0.48169633926785355,train,impossible,highly likely,It is impossible that 'John went to the office' or 'Lily is a rhino' or both.,It is highly likely that 'John went to the office' or 'Lily is a rhino' or both.,0,'John went to the office' or 'Lily is a rhino' or both. There is almost no chance that Bernhard is green. There is almost no chance that Sandra dropped the milk. It is unlikely that Mary went to the office. It is improbable that if 'Bernhard is green' or 'Sandra dropped the milk' or both then Greg is a swan. It is impossible that if 'Sandra dropped the milk and Bernhard is green' then Brian is a frog. There is a better than even chance that if 'Bernhard is green' or 'Mary went to the office' or both then Antoine is thirsty.,It is probably the case that 'Sandra dropped the milk' or 'Antoine 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.02::factA. 0.02::factB. 0.2::factC. %hop1 0.1::factX:-or(factA,factB). 0.0::factY:-and(factB,factA). 0.6::factZ:-or(factA,factC). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.14700800000000003,0.10782156431286258,train,little chance,probably,There is little chance that 'Sandra dropped the milk' or 'Antoine is thirsty' or both.,It is probably the case that 'Sandra dropped the milk' or 'Antoine is thirsty' or both.,0,'Sandra dropped the milk' or 'Antoine is thirsty' or both. It is probably not the case that Brian is white. It is likely that John grabbed the milk. It is probable that Greg is yellow. It is almost certain that if either 'Brian is white' or 'John grabbed the milk' but not both then Lily is a rhino. It is impossible that if 'Brian is white' or 'John grabbed the milk' or both then Bernhard is green. It is unlikely that if either 'Greg is yellow' or 'Brian is white' but not both then Julius is a frog.,It is unlikely that 'Greg is yellow' or 'John grabbed 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.7::factB. 0.7::factC. %hop1 0.95::factX:-xor(factA,factB). 0.0::factY:-or(factA,factB). 0.2::factZ:-xor(factC,factA). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9099999999999999,0.32966593318663734,train,highly likely,unlikely,It is highly likely that 'Greg is yellow' or 'John grabbed the milk' or both.,It is unlikely that 'Greg is yellow' or 'John grabbed the milk' or both.,0,'Greg is yellow' or 'John grabbed the milk' or both. There is almost no chance that Lily is a frog. It is unlikely that Julius is yellow. There is almost no chance that Mary left the apple. It is highly unlikely that if either 'Mary left the apple' or 'Lily is a frog' but not both then Brian is white. Chances are about even that if 'Julius is yellow and Lily is a frog' then Greg is green. There is a very good chance that if 'Mary left the apple' or 'Julius is yellow' or both then Bernhard is a lion.,We doubt that either 'Bernhard is a lion' 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.02::factA. 0.2::factB. 0.02::factC. %hop1 0.05::factX:-xor(factC,factA). 0.5::factY:-and(factB,factA). 0.8::factZ:-or(factC,factB). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.17287840000000004,0.6995399079815964,train,we doubt,highly likely,We doubt that either 'Bernhard is a lion' or 'Brian is white' but not both.,It is highly likely that either 'Bernhard is a lion' or 'Brian is white' but not both.,1,Either 'Bernhard is a lion' or 'Brian is white' but not both. It is almost certain that Mary dropped the milk. There is a better than even chance that Sandra grabbed the apple. It is highly likely that Bill went to the garden. It is certain that if 'Bill went to the garden and Sandra grabbed the apple' then Yann is tired. It is unlikely that if 'Mary dropped the milk' or 'Sandra grabbed the apple' or both then Greg is yellow. There is little chance that if 'Mary dropped the milk' or 'Sandra grabbed the apple' or both then Julius is a swan.,It is unlikely that either 'Greg is yellow' 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.95::factA. 0.6::factB. 0.9::factC. %hop1 1.0::factX:-and(factC,factB). 0.2::factY:-or(factA,factB). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.7432,0.5559111822364473,train,we believe,unlikely,We believe that either 'Greg is yellow' or 'Bill went to the garden' but not both.,It is unlikely that either 'Greg is yellow' or 'Bill went to the garden' but not both.,0,Either 'Greg is yellow' or 'Bill went to the garden' but not both. It is improbable that Brian is white. It is improbable that Jeff went to the bedroom. It is probably the case that Mary dropped the milk. It is certain that if either 'Mary dropped the milk' or 'Jeff went to the bedroom' but not both then Bernhard is a rhino. It is probably not the case that if 'Brian is white' or 'Jeff went to the bedroom' or both then John moved to the office. It is probable that if 'Mary dropped the milk' or 'Brian is white' or both then Greg is green.,There is a better than even chance that either 'Brian is white' or 'Bernhard 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.1::factA. 0.1::factB. 0.7::factC. %hop1 1.0::factX:-xor(factC,factB). 0.25::factY:-or(factA,factB). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.628,0.2912582516503301,train,better than even,improbable,There is a better than even chance that either 'Brian is white' or 'Bernhard is a rhino' but not both.,It is improbable that either 'Brian is white' or 'Bernhard is a rhino' but not both.,1,Either 'Brian is white' or 'Bernhard is a rhino' but not both. There is a better than even chance that Gertrude is a cat. It is certain that Brian is a rhino. It is highly likely that Lily is a swan. Chances are about even that if 'Gertrude is a cat' or 'Lily is a swan' or both then Winona is a sheep. There is little chance that if either 'Lily is a swan' or 'Gertrude is a cat' but not both then John dropped the milk. It is highly likely that if either 'Gertrude is a cat' or 'Lily is a swan' but not both then Greg is yellow.,There is a very good chance that 'Winona is a sheep' 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. 1.0::factB. 0.9::factC. %hop1 0.5::factX:-or(factA,factC). 0.1::factY:-xor(factC,factA). 0.9::factZ:-xor(factA,factC). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.78,0.6837367473494699,train,very good chance,we doubt,There is a very good chance that 'Winona is a sheep' or 'Gertrude is a cat' or both.,We doubt that 'Winona is a sheep' or 'Gertrude is a cat' or both.,1,'Winona is a sheep' or 'Gertrude is a cat' or both. It is probably not the case that Mary grabbed the milk. It is probably the case that Sandra dropped the milk. It is impossible that Lily is yellow. It is almost certain that if 'Sandra dropped the milk and Mary grabbed the milk' then Greg is a frog. We believe that if 'Lily is yellow' or 'Mary grabbed the milk' or both then Brian is a swan. It is unlikely that if 'Lily is yellow and Mary grabbed the milk' then Emily is a cat.,It is likely that 'Sandra dropped the milk' or 'Emily 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.25::factA. 0.7::factB. 0.0::factC. %hop1 0.95::factX:-and(factB,factA). 0.75::factY:-or(factC,factA). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.7,0.16803360672134426,train,likely,probably not,It is likely that 'Sandra dropped the milk' or 'Emily is a cat' or both.,It is probably not the case that 'Sandra dropped the milk' or 'Emily is a cat' or both.,1,'Sandra dropped the milk' or 'Emily is a cat' or both. It is almost certain that Julius is yellow. It is unlikely that Brian is white. It is highly likely that John took the milk. Chances are about even that if 'John took the milk' or 'Julius is yellow' or both then Jessica is a wolf. It is almost certain that if either 'John took the milk' or 'Julius is yellow' but not both then Gertrude is a sheep. There is almost no chance that if 'Julius is yellow' or 'Brian is white' or both then Jason is thirsty.,It is highly unlikely that 'Julius is yellow and John 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.95::factA. 0.2::factB. 0.9::factC. %hop1 0.5::factX:-or(factC,factA). 0.95::factY:-xor(factC,factA). 0.02::factZ:-or(factA,factB). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.855,0.5503100620124025,train,highly likely,highly unlikely,It is highly likely that 'Julius is yellow and John took the milk'.,It is highly unlikely that 'Julius is yellow and John took the milk'.,0,'Julius is yellow and John took the milk'. It is almost certain that Emily is a cat. It is almost certain that Mary left the football. There is almost no chance that Julius is a rhino. It is improbable that if either 'Mary left the football' or 'Julius is a rhino' but not both then Brian is a frog. It is probably the case that if 'Julius is a rhino and Mary left the football' then Sandra grabbed the apple. There is a better than even chance that if either 'Mary left the football' or 'Julius is a rhino' but not both then Greg is a swan.,It is almost certain that 'Brian is a frog' or 'Emily 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.95::factA. 0.95::factB. 0.02::factC. %hop1 0.1::factX:-xor(factB,factC). 0.7::factY:-and(factC,factB). 0.6::factZ:-xor(factB,factC). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.95466,0.33086617323464695,train,almost certain,chances are slight,It is almost certain that 'Brian is a frog' or 'Emily is a cat' or both.,Chances are slight that 'Brian is a frog' or 'Emily is a cat' or both.,1,'Brian is a frog' or 'Emily is a cat' or both. It is certain that Brian is a swan. It is unlikely that John picked up the milk. There is a better than even chance that Julius is a lion. Chances are about even that if either 'John picked up the milk' or 'Julius is a lion' but not both then Greg is yellow. It is almost certain that if 'Brian is a swan' or 'John picked up the milk' or both then Emily is a mouse. It is certain that if 'Brian is a swan and Julius is a lion' then Sandra left the milk.,It is highly unlikely that 'Emily is a mouse' 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 1.0::factA. 0.2::factB. 0.6::factC. %hop1 0.5::factX:-xor(factB,factC). 0.95::factY:-or(factA,factB). 1.0::factZ:-and(factA,factC). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.98,0.6405281056211243,train,certain,highly unlikely,It is certain that 'Emily is a mouse' or 'Sandra left the milk' or both.,It is highly unlikely that 'Emily is a mouse' or 'Sandra left the milk' or both.,0,'Emily is a mouse' or 'Sandra left the milk' or both. Chances are about even that Mary picked up the milk. It is probably not the case that Julius is a swan. There is little chance that Daniel got the football. It is likely that if either 'Daniel got the football' or 'Julius is a swan' but not both then John went to the kitchen. We believe that if 'Julius is a swan and Daniel got the football' then Emily is a wolf. It is almost certain that if either 'Julius is a swan' or 'Daniel got the football' but not both then Jessica is a cat.,It is impossible that 'Emily is a wolf and Mary 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.5::factA. 0.25::factB. 0.1::factC. %hop1 0.7::factX:-xor(factC,factB). 0.75::factY:-and(factB,factC). 0.95::factZ:-xor(factB,factC). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.009375000000000005,0.668133626725345,train,impossible,about even,It is impossible that 'Emily is a wolf and Mary picked up the milk'.,Chances are about even that 'Emily is a wolf and Mary picked up the milk'.,1,'Emily is a wolf and Mary picked up the milk'. It is improbable that Sandra took the milk. It is unlikely that Brian is a rhino. It is highly likely that Greg is yellow. Chances are about even that if either 'Greg is yellow' or 'Brian is a rhino' but not both then Gertrude is a mouse. It is probably the case that if 'Brian is a rhino' or 'Greg is yellow' or both then Mary moved to the garden. It is certain that if 'Sandra took the milk and Greg is yellow' then Lily is gray.,It is impossible that 'Greg is yellow' 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.1::factA. 0.2::factB. 0.9::factC. %hop1 0.5::factX:-xor(factC,factB). 0.7::factY:-or(factB,factC). 1.0::factZ:-and(factA,factC). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.92,0.17043408681736347,train,highly likely,impossible,It is highly likely that 'Greg is yellow' or 'Brian is a rhino' or both.,It is impossible that 'Greg is yellow' or 'Brian is a rhino' or both.,0,'Greg is yellow' or 'Brian is a rhino' or both. It is unlikely that John went to the garden. It is likely that Jeff discarded the milk. It is likely that Sandra dropped the milk. There is little chance that if either 'Sandra dropped the milk' or 'Jeff discarded the milk' but not both then Greg is yellow. We believe that if 'John went to the garden and Sandra dropped the milk' then Julius is green. It is probably the case that if 'Jeff discarded the milk' or 'Sandra dropped the milk' or both then Bernhard is a swan.,It is impossible that 'Bernhard is a swan' 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.2::factA. 0.7::factB. 0.7::factC. %hop1 0.1::factX:-xor(factC,factB). 0.75::factY:-and(factA,factC). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.6495999999999998,0.4402880576115223,train,better than even,impossible,There is a better than even chance that 'Bernhard is a swan' or 'Greg is yellow' or both.,It is impossible that 'Bernhard is a swan' or 'Greg is yellow' or both.,0,'Bernhard is a swan' or 'Greg is yellow' or both. It is improbable that Winona is a sheep. It is probably not the case that Bill left the milk. It is probable that John took the apple. It is improbable that if 'Winona is a sheep and Bill left the milk' then Jeff moved to the garden. It is certain that if 'Bill left the milk' or 'John took the apple' or both then Sandra dropped the milk. It is almost certain that if either 'Winona is a sheep' or 'John took the apple' but not both then Brian is a swan.,We believe that 'Sandra dropped the milk' 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.1::factA. 0.25::factB. 0.7::factC. %hop1 0.1::factX:-and(factA,factB). 1.0::factY:-or(factB,factC). 0.95::factZ:-xor(factA,factC). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.775,0.19623924784956992,train,we believe,impossible,We believe that 'Sandra dropped the milk' or 'John took the apple' or both.,It is impossible that 'Sandra dropped the milk' or 'John took the apple' or both.,1,'Sandra dropped the milk' or 'John took the apple' or both. It is likely that Jason is tired. It is probably the case that Greg is white. It is probably not the case that John took the apple. It is highly likely that if 'Greg is white and Jason is tired' then Mary is in the school. We doubt that if 'John took the apple' or 'Jason is tired' or both then Lily is yellow. There is a very good chance that if either 'Greg is white' or 'Jason is tired' but not both then Yann is thirsty.,It is highly likely that 'Greg is white' 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 0.7::factA. 0.7::factB. 0.25::factC. %hop1 0.9::factX:-and(factB,factA). 0.2::factY:-or(factC,factA). 0.8::factZ:-xor(factB,factA). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9099999999999999,0.5661132226445289,train,highly likely,highly unlikely,It is highly likely that 'Greg is white' or 'Jason is tired' or both.,It is highly unlikely that 'Greg is white' or 'Jason is tired' or both.,1,'Greg is white' or 'Jason is tired' or both. It is probable that Brian is white. It is probably the case that Mary left the football. It is almost certain that Jeff went to the bedroom. It is unlikely that if 'Brian is white' or 'Jeff went to the bedroom' or both then Lily is a frog. There is little chance that if either 'Jeff went to the bedroom' or 'Brian is white' but not both then John took the milk. We believe that if 'Jeff went to the bedroom and Mary left the football' then Bernhard is gray.,It is certain that 'Mary left the football' or 'Jeff 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.7::factA. 0.7::factB. 0.95::factC. %hop1 0.2::factX:-or(factA,factC). 0.1::factY:-xor(factC,factA). 0.75::factZ:-and(factC,factB). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.985,0.14182836567313462,train,certain,almost no chance,It is certain that 'Mary left the football' or 'Jeff went to the bedroom' or both.,There is almost no chance that 'Mary left the football' or 'Jeff went to the bedroom' or both.,1,'Mary left the football' or 'Jeff went to the bedroom' or both. It is almost certain that Mary moved to the garden. It is probably the case that Greg is a rhino. There is a better than even chance that Daniel left the football. Chances are about even that if either 'Greg is a rhino' or 'Daniel left the football' but not both then Brian is a swan. Chances are about even that if 'Mary moved to the garden and Daniel left the football' then Gertrude is a cat. There is a better than even chance that if 'Greg is a rhino' or 'Mary moved to the garden' or both then Sandra got the milk.,There is little chance that 'Daniel left the football' 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.95::factA. 0.7::factB. 0.6::factC. %hop1 0.5::factX:-xor(factB,factC). 0.5::factY:-and(factA,factC). 0.6::factZ:-or(factB,factA). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.8364,0.10842168433686737,train,very good chance,little chance,There is a very good chance that 'Daniel left the football' or 'Sandra got the milk' or both.,There is little chance that 'Daniel left the football' or 'Sandra got the milk' or both.,0,'Daniel left the football' or 'Sandra got the milk' or both. It is highly likely that John grabbed the milk. Chances are about even that Bill went to the bedroom. It is impossible that Julius is a frog. It is highly unlikely that if 'Julius is a frog' or 'John grabbed the milk' or both then Greg is white. It is highly unlikely that if either 'John grabbed the milk' or 'Bill went to the bedroom' but not both then Bernhard is a rhino. We believe that if 'Bill went to the bedroom' or 'John grabbed the milk' or both then Mary left the apple.,It is impossible that 'John grabbed the milk 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.9::factA. 0.5::factB. 0.0::factC. %hop1 0.05::factX:-or(factC,factA). 0.05::factY:-xor(factA,factB). 0.75::factZ:-or(factB,factA). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.11002200440088018,train,impossible,very good chance,It is impossible that 'John grabbed the milk and Julius is a frog'.,There is a very good chance that 'John grabbed the milk and Julius is a frog'.,1,'John grabbed the milk and Julius is a frog'. Chances are about even that Brian is yellow. We doubt that Jessica is a mouse. There is a better than even chance that Winona is a sheep. It is almost certain that if 'Jessica is a mouse' or 'Winona is a sheep' or both then Bernhard is a rhino. We doubt that if 'Brian is yellow' or 'Winona is a sheep' or both then Julius is white. It is impossible that if 'Winona is a sheep' or 'Brian is yellow' or both then John went to the hallway.,There is a very good chance that 'Bernhard is a rhino 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.5::factA. 0.2::factB. 0.6::factC. %hop1 0.95::factX:-or(factB,factC). 0.2::factY:-or(factA,factC). 0.0::factZ:-or(factC,factA). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.32300000000000006,0.28465693138627723,train,probably not,very good chance,It is probably not the case that 'Bernhard is a rhino and Brian is yellow'.,There is a very good chance that 'Bernhard is a rhino and Brian is yellow'.,0,'Bernhard is a rhino and Brian is yellow'. It is highly likely that Bernhard is gray. There is almost no chance that Jessica is a mouse. Chances are slight that Mary went to the office. It is probably not the case that if 'Jessica is a mouse' or 'Bernhard is gray' or both then Julius is a lion. There is almost no chance that if 'Bernhard is gray' or 'Jessica is a mouse' or both then John is in the garden. It is highly likely that if 'Mary went to the office and Jessica is a mouse' then Brian is a frog.,It is highly likely that 'Bernhard is gray' 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.9::factA. 0.02::factB. 0.1::factC. %hop1 0.25::factX:-or(factB,factA). 0.02::factY:-or(factA,factB). 0.9::factZ:-and(factC,factB). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.902,0.6045209041808361,train,highly likely,almost no chance,It is highly likely that 'Bernhard is gray' or 'Jessica is a mouse' or both.,There is almost no chance that 'Bernhard is gray' or 'Jessica is a mouse' or both.,1,'Bernhard is gray' or 'Jessica is a mouse' or both. It is highly likely that Bernhard is a swan. It is highly unlikely that John put down the apple. There is almost no chance that Lily is white. Chances are about even that if either 'Lily is white' or 'John put down the apple' but not both then Jeff moved to the garden. It is probable that if either 'Lily is white' or 'John put down the apple' but not both then Brian is yellow. It is certain that if 'John put down the apple' or 'Lily is white' or both then Greg is a lion.,It is highly unlikely that either 'Jeff moved to the garden' 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.9::factA. 0.05::factB. 0.02::factC. %hop1 0.5::factX:-xor(factC,factB). 0.7::factY:-xor(factC,factB). 1.0::factZ:-or(factB,factC). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.035,0.29365873174634927,train,highly unlikely,highly likely,It is highly unlikely that either 'Jeff moved to the garden' or 'Greg is a lion' but not both.,It is highly likely that either 'Jeff moved to the garden' or 'Greg is a lion' but not both.,1,Either 'Jeff moved to the garden' or 'Greg is a lion' but not both. There is a very good chance that Mary took the football. It is highly likely that Bernhard is green. It is highly unlikely that Julius is gray. Chances are slight that if either 'Julius is gray' or 'Bernhard is green' but not both then Brian is white. It is highly likely that if 'Mary took the football and Julius is gray' then Lily is a lion. It is unlikely that if 'Bernhard is green and Julius is gray' then Greg is a frog.,Chances are slight that 'Greg is a frog' or 'Mary took 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.8::factA. 0.9::factB. 0.05::factC. %hop1 0.1::factX:-xor(factC,factB). 0.9::factY:-and(factA,factC). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.8018000000000001,0.128625725145029,train,very good chance,chances are slight,There is a very good chance that 'Greg is a frog' or 'Mary took the football' or both.,Chances are slight that 'Greg is a frog' or 'Mary took the football' or both.,0,'Greg is a frog' or 'Mary took the football' or both. It is highly unlikely that Lily is a rhino. Chances are about even that Bill went to the office. It is certain that John is in the garden. It is probable that if 'Bill went to the office and Lily is a rhino' then Sandra left the milk. It is improbable that if either 'Bill went to the office' or 'Lily is a rhino' but not both then Julius is gray. There is almost no chance that if 'Bill went to the office' or 'Lily is a rhino' or both then Daniel put down the milk.,It is highly likely that 'Lily is a rhino' 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.05::factA. 0.5::factB. 1.0::factC. %hop1 0.7::factX:-and(factB,factA). 0.1::factY:-xor(factB,factA). 0.02::factZ:-or(factB,factA). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.05000000000000001,0.03480696139227846,train,highly unlikely,highly likely,It is highly unlikely that 'Lily is a rhino' or 'Sandra left the milk' or both.,It is highly likely that 'Lily is a rhino' or 'Sandra left the milk' or both.,0,'Lily is a rhino' or 'Sandra left the milk' or both. It is almost certain that Bernhard is a swan. It is highly likely that Mary went to the bedroom. It is highly unlikely that Brian is green. It is highly likely that if either 'Brian is green' or 'Bernhard is a swan' but not both then Yann is bored. There is almost no chance that if either 'Bernhard is a swan' or 'Brian is green' but not both then Fred dropped the milk. We believe that if 'Brian is green' or 'Bernhard is a swan' or both then Greg is a rhino.,There is little chance that either 'Fred dropped 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.95::factA. 0.9::factB. 0.05::factC. %hop1 0.9::factX:-xor(factC,factA). 0.02::factY:-xor(factA,factC). 0.75::factZ:-or(factC,factA). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.705325,0.7453490698139628,train,likely,little chance,It is likely that either 'Fred dropped the milk' or 'Greg is a rhino' but not both.,There is little chance that either 'Fred dropped the milk' or 'Greg is a rhino' but not both.,0,Either 'Fred dropped the milk' or 'Greg is a rhino' but not both. There is a better than even chance that John dropped the apple. Chances are slight that Greg is a frog. It is probably not the case that Mary went to the office. It is unlikely that if either 'Mary went to the office' or 'Greg is a frog' but not both then Brian is a rhino. There is little chance that if either 'John dropped the apple' or 'Greg is a frog' but not both then Julius is gray. We believe that if 'John dropped the apple' or 'Greg is a frog' or both then Bernhard is green.,There is a very good chance that 'Mary went to the office' 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.6::factA. 0.1::factB. 0.25::factC. %hop1 0.2::factX:-xor(factC,factB). 0.1::factY:-xor(factA,factB). 0.75::factZ:-or(factA,factB). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.2935,0.4982996599319864,train,probably not,very good chance,It is probably not the case that 'Mary went to the office' or 'Julius is gray' or both.,There is a very good chance that 'Mary went to the office' or 'Julius is gray' or both.,0,'Mary went to the office' or 'Julius is gray' or both. There is almost no chance that Emily is a mouse. It is probable that Mary went to the office. It is highly unlikely that Bernhard is a swan. There is a better than even chance that if 'Mary went to the office and Emily is a mouse' then Lily is green. It is probable that if either 'Bernhard is a swan' or 'Emily is a mouse' but not both then Greg is white. It is highly unlikely that if 'Bernhard is a swan and Mary went to the office' then John moved to the garden.,There is almost no chance that either 'Emily is a mouse' or 'Lily 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.7::factB. 0.05::factC. %hop1 0.6::factX:-and(factB,factA). 0.7::factY:-xor(factC,factA). 0.05::factZ:-and(factC,factB). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.0116,0.247249449889978,train,almost no chance,better than even,There is almost no chance that either 'Emily is a mouse' or 'Lily is green' but not both.,There is a better than even chance that either 'Emily is a mouse' or 'Lily is green' but not both.,1,Either 'Emily is a mouse' or 'Lily is green' but not both. It is probable that Bernhard is gray. It is certain that Jessica is a sheep. It is unlikely that Winona is a mouse. There is almost no chance that if 'Bernhard is gray' or 'Jessica is a sheep' or both then John discarded the milk. Chances are about even that if either 'Bernhard is gray' or 'Jessica is a sheep' but not both then Brian is yellow. It is improbable that if 'Jessica is a sheep and Bernhard is gray' then Greg is a lion.,There is little chance that 'Winona is a mouse 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.7::factA. 1.0::factB. 0.2::factC. %hop1 0.02::factX:-or(factA,factB). 0.5::factY:-xor(factA,factB). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.14,0.6335267053410683,train,little chance,we believe,There is little chance that 'Winona is a mouse and Bernhard is gray'.,We believe that 'Winona is a mouse and Bernhard is gray'.,1,'Winona is a mouse and Bernhard is gray'. It is improbable that Bernhard is a frog. Chances are slight that Brian is white. Chances are slight that Mary got the football. We doubt that if 'Mary got the football and Brian is white' then Winona is a wolf. There is almost no chance that if 'Brian is white and Bernhard is a frog' then John discarded the apple. It is unlikely that if either 'Bernhard is a frog' or 'Mary got the football' but not both then Greg is a lion.,It is impossible that 'John discarded the apple 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.1::factA. 0.1::factB. 0.1::factC. %hop1 0.2::factX:-and(factC,factB). 0.02::factY:-and(factB,factA). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-and(factY,factX). query(conclusion). ",4.000000000000002e-06,0.20084016803360671,train,impossible,we believe,It is impossible that 'John discarded the apple and Winona is a wolf'.,We believe that 'John discarded the apple and Winona is a wolf'.,1,'John discarded the apple and Winona is a wolf'. We believe that Julius is a frog. There is a very good chance that Brian is white. It is unlikely that Daniel dropped the apple. Chances are slight that if 'Julius is a frog and Brian is white' then Antoine is hungry. It is improbable that if either 'Daniel dropped the apple' or 'Brian is white' but not both then Emily is a wolf. It is highly likely that if 'Brian is white' or 'Daniel dropped the apple' or both then Bernhard is yellow.,It is probable that either 'Daniel dropped the apple' 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 0.75::factA. 0.8::factB. 0.2::factC. %hop1 0.1::factX:-and(factA,factB). 0.1::factY:-xor(factC,factB). 0.9::factZ:-or(factB,factC). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.26,0.7199439887977596,train,probably not,probable,It is probably not the case that either 'Daniel dropped the apple' or 'Emily is a wolf' but not both.,It is probable that either 'Daniel dropped the apple' or 'Emily is a wolf' but not both.,0,Either 'Daniel dropped the apple' or 'Emily is a wolf' but not both. It is almost certain that Bernhard is a frog. It is certain that Jason is tired. It is likely that Jeff went to the bedroom. It is improbable that if 'Bernhard is a frog' or 'Jason is tired' or both then Mary moved to the garden. We doubt that if either 'Bernhard is a frog' or 'Jason is tired' but not both then Emily is a sheep. There is a very good chance that if 'Bernhard is a frog and Jeff went to the bedroom' then Greg is a swan.,It is likely that 'Jeff went to the bedroom 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.95::factA. 1.0::factB. 0.7::factC. %hop1 0.1::factX:-or(factA,factB). 0.2::factY:-xor(factA,factB). 0.8::factZ:-and(factA,factC). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.6649999999999999,0.4520904180836167,train,likely,impossible,It is likely that 'Jeff went to the bedroom and Bernhard is a frog'.,It is impossible that 'Jeff went to the bedroom and Bernhard is a frog'.,1,'Jeff went to the bedroom and Bernhard is a frog'. We doubt that Lily is white. It is impossible that Emily is a sheep. It is certain that Bernhard is gray. There is a very good chance that if 'Bernhard is gray and Emily is a sheep' then John moved to the office. We believe that if 'Emily is a sheep and Bernhard is gray' then Bill went to the garden. It is probably the case that if 'Bernhard is gray' or 'Lily is white' or both then Julius is a rhino.,It is highly unlikely that 'Julius is a rhino' 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.2::factA. 0.0::factB. 1.0::factC. %hop1 0.8::factX:-and(factC,factB). 0.75::factY:-and(factB,factC). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.7,0.7655531106221244,train,probably,highly unlikely,It is probably the case that 'Julius is a rhino' or 'Bill went to the garden' or both.,It is highly unlikely that 'Julius is a rhino' or 'Bill went to the garden' or both.,0,'Julius is a rhino' or 'Bill went to the garden' or both. It is improbable that Bernhard is green. It is highly unlikely that Greg is a swan. It is certain that John went to the hallway. It is impossible that if either 'John went to the hallway' or 'Greg is a swan' but not both then Lily is a rhino. Chances are about even that if 'Bernhard is green' or 'Greg is a swan' or both then Brian is a rhino. It is highly unlikely that if either 'John went to the hallway' or 'Greg is a swan' but not both then Winona is a wolf.,It is unlikely that either 'Bernhard is green' or 'John went to the hallway' 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. 1.0::factC. %hop1 0.0::factX:-xor(factC,factB). 0.5::factY:-or(factA,factB). 0.05::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.9,0.2368473694738948,train,highly likely,unlikely,It is highly likely that either 'Bernhard is green' or 'John went to the hallway' but not both.,It is unlikely that either 'Bernhard is green' or 'John went to the hallway' but not both.,0,Either 'Bernhard is green' or 'John went to the hallway' but not both. It is impossible that Mary went to the office. It is impossible that John moved to the garden. There is almost no chance that Lily is a swan. There is a very good chance that if 'Lily is a swan and Mary went to the office' then Julius is a lion. We doubt that if 'Mary went to the office' or 'John moved to the garden' or both then Brian is a rhino. It is highly unlikely that if 'John moved to the garden' or 'Mary went to the office' or both then Daniel left the apple.,There is almost no chance that either 'Lily is a swan' 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.0::factA. 0.0::factB. 0.02::factC. %hop1 0.8::factX:-and(factC,factA). 0.2::factY:-or(factA,factB). 0.05::factZ:-or(factB,factA). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.02,0.047209441888377675,train,almost no chance,probably,There is almost no chance that either 'Lily is a swan' or 'John moved to the garden' but not both.,It is probably the case that either 'Lily is a swan' or 'John moved to the garden' but not both.,1,Either 'Lily is a swan' or 'John moved to the garden' but not both. It is highly unlikely that Brian is a lion. It is highly likely that Lily is a frog. It is highly unlikely that John discarded the apple. It is almost certain that if either 'Lily is a frog' or 'Brian is a lion' but not both then Greg is gray. It is almost certain that if 'Brian is a lion' or 'Lily is a frog' or both then Bernhard is a frog. It is impossible that if either 'Lily is a frog' or 'Brian is a lion' but not both then Daniel left the milk.,It is likely that 'Brian is a lion and Daniel 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.05::factA. 0.9::factB. 0.05::factC. %hop1 0.95::factX:-xor(factB,factA). 0.95::factY:-or(factA,factB). 0.0::factZ:-xor(factB,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.0,0.270254050810162,train,impossible,likely,It is impossible that 'Brian is a lion and Daniel left the milk'.,It is likely that 'Brian is a lion and Daniel left the milk'.,0,'Brian is a lion and Daniel left the milk'. It is probable that Julius is a lion. It is certain that Gertrude is a cat. It is probable that Mary went to the kitchen. It is probably not the case that if either 'Mary went to the kitchen' or 'Gertrude is a cat' but not both then Brian is yellow. Chances are slight that if either 'Gertrude is a cat' or 'Mary went to the kitchen' but not both then John left the football. It is almost certain that if 'Mary went to the kitchen and Julius is a lion' then Greg is a swan.,It is unlikely 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.7::factA. 1.0::factB. 0.7::factC. %hop1 0.25::factX:-xor(factC,factB). 0.1::factY:-xor(factB,factC). 0.95::factZ:-and(factC,factA). %hop2 conclusion:-or(factX,factB). query(conclusion). ",1.0,0.5375075015003,train,certain,unlikely,It is 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.,0,'Brian is yellow' or 'Gertrude is a cat' or both. It is highly likely that Mary moved to the office. It is almost certain that Greg is a swan. It is highly unlikely that Brian is a swan. There is almost no chance that if 'Mary moved to the office and Greg is a swan' then Lily is a lion. It is almost certain that if 'Brian is a swan' or 'Mary moved to the office' or both then Bernhard is gray. It is unlikely that if 'Greg is a swan' or 'Mary moved to the office' or both then John got the apple.,There is a better than even chance that 'Lily is a lion 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.9::factA. 0.95::factB. 0.05::factC. %hop1 0.02::factX:-and(factA,factB). 0.95::factY:-or(factC,factA). 0.2::factZ:-or(factB,factA). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.0008550000000000001,0.6329265853170634,train,impossible,better than even,It is impossible that 'Lily is a lion and Brian is a swan'.,There is a better than even chance that 'Lily is a lion and Brian is a swan'.,0,'Lily is a lion and Brian is a swan'. Chances are about even that Mary dropped the milk. It is probable that John took the football. It is probable that Antoine is thirsty. There is a very good chance that if either 'Antoine is thirsty' or 'John took the football' but not both then Fred moved to the office. There is a better than even chance that if either 'Mary dropped the milk' or 'John took the football' but not both then Lily is a lion. It is certain that if 'Antoine is thirsty' or 'Mary dropped the milk' or both then Brian is a swan.,It is certain 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.5::factA. 0.7::factB. 0.7::factC. %hop1 0.8::factX:-xor(factC,factB). 0.6::factY:-xor(factA,factB). 1.0::factZ:-or(factC,factA). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.5351999999999999,0.21824364872974594,train,about even,certain,Chances are about even that 'Lily is a lion' or 'Fred moved to the office' or both.,It is certain 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. We doubt that Daniel grabbed the milk. It is certain that John went to the garden. It is certain that Lily is a lion. It is unlikely that if 'Lily is a lion and John went to the garden' then Antoine is hungry. We doubt that if 'Lily is a lion and Daniel grabbed the milk' then Greg is yellow. It is probably the case that if 'John went to the garden and Lily is a lion' then Fred is in the cinema.,There is a very good chance that 'John went to the garden 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.2::factA. 1.0::factB. 1.0::factC. %hop1 0.2::factX:-and(factC,factB). 0.2::factY:-and(factC,factA). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.2,0.12382476495299059,train,unlikely,very good chance,It is unlikely that 'John went to the garden and Antoine is hungry'.,There is a very good chance that 'John went to the garden and Antoine is hungry'.,0,'John went to the garden and Antoine is hungry'. There is a better than even chance that Mary dropped the apple. It is probably the case that Lily is a lion. There is a very good chance that Brian is green. It is improbable that if 'Lily is a lion' or 'Brian is green' or both then Antoine is bored. We doubt that if either 'Mary dropped the apple' or 'Brian is green' but not both then Bernhard is yellow. Chances are about even that if either 'Lily is a lion' or 'Mary dropped the apple' but not both then Bill went to the garden.,It is highly unlikely that 'Bernhard is yellow 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.6::factA. 0.7::factB. 0.8::factC. %hop1 0.1::factX:-or(factB,factC). 0.2::factY:-xor(factA,factC). 0.5::factZ:-xor(factB,factA). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.06160000000000001,0.14682936587317463,train,highly unlikely,very good chance,It is highly unlikely that 'Bernhard is yellow and Lily is a lion'.,There is a very good chance that 'Bernhard is yellow and Lily is a lion'.,1,'Bernhard is yellow and Lily is a lion'. We doubt that Lily is gray. It is probably the case that Bernhard is green. It is unlikely that Julius is a frog. It is unlikely that if either 'Lily is gray' or 'Julius is a frog' but not both then Jessica is a cat. Chances are slight that if 'Lily is gray' or 'Julius is a frog' or both then Mary went to the kitchen. There is a very good chance that if either 'Bernhard is green' or 'Julius is a frog' but not both then Brian is a swan.,There is a better than even chance that either 'Lily is gray' 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.2::factA. 0.7::factB. 0.2::factC. %hop1 0.2::factX:-xor(factA,factC). 0.1::factY:-or(factA,factC). 0.8::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.62,0.47649529905981197,train,better than even,little chance,There is a better than even chance that either 'Lily is gray' or 'Bernhard is green' but not both.,There is little chance that either 'Lily is gray' or 'Bernhard is green' but not both.,1,Either 'Lily is gray' or 'Bernhard is green' but not both. It is probably not the case that Julius is a swan. There is a better than even chance that Bernhard is yellow. There is a better than even chance that Mary got the football. It is probably the case that if 'Bernhard is yellow' or 'Mary got the football' or both then John left the milk. It is almost certain that if 'Mary got the football' or 'Julius is a swan' or both then Brian is a rhino. It is probably the case that if 'Julius is a swan and Bernhard is yellow' then Greg is yellow.,Chances are slight that 'Greg is yellow' 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.25::factA. 0.6::factB. 0.6::factC. %hop1 0.7::factX:-or(factB,factC). 0.95::factY:-or(factC,factA). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.642,0.3832766553310662,train,better than even,chances are slight,There is a better than even chance that 'Greg is yellow' or 'Mary got the football' or both.,Chances are slight that 'Greg is yellow' or 'Mary got the football' or both.,0,'Greg is yellow' or 'Mary got the football' or both. It is probable that Mary went to the office. There is a better than even chance that Julius is yellow. We doubt that John is in the garden. It is improbable that if either 'Mary went to the office' or 'John is in the garden' but not both then Gertrude is a sheep. It is probably not the case that if 'Mary went to the office and John is in the garden' then Daniel grabbed the milk. We doubt that if 'John is in the garden' or 'Mary went to the office' or both then Greg is a lion.,There is almost no chance that 'John is in the garden' or 'Mary 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.7::factA. 0.6::factB. 0.2::factC. %hop1 0.1::factX:-xor(factA,factC). 0.25::factY:-and(factA,factC). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.76,0.3860772154430886,train,we believe,almost no chance,We believe that 'John is in the garden' or 'Mary went to the office' or both.,There is almost no chance that 'John is in the garden' or 'Mary went to the office' or both.,0,'John is in the garden' or 'Mary went to the office' or both. It is probable that Bill went to the garden. It is likely that Mary moved to the office. It is almost certain that Bernhard is green. It is almost certain that if 'Mary moved to the office and Bernhard is green' then Lily is a swan. It is certain that if 'Bernhard is green' or 'Bill went to the garden' or both then Greg is white. It is probably not the case that if 'Bernhard is green and Bill went to the garden' then Julius is a frog.,There is almost no chance that 'Bernhard is green 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.7::factB. 0.95::factC. %hop1 0.95::factX:-and(factB,factC). 1.0::factY:-or(factC,factA). 0.25::factZ:-and(factC,factA). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.6317499999999999,0.14102820564112822,train,better than even,almost no chance,There is a better than even chance that 'Bernhard is green and Lily is a swan'.,There is almost no chance that 'Bernhard is green and Lily is a swan'.,0,'Bernhard is green and Lily is a swan'. It is likely that Emily is a sheep. Chances are about even that Sandra left the milk. It is highly likely that Julius is green. It is probably the case that if 'Sandra left the milk and Julius is green' then Winona is a mouse. There is a very good chance that if either 'Emily is a sheep' or 'Sandra left the milk' but not both then John went to the office. It is highly likely that if 'Julius is green and Sandra left the milk' then Lily is gray.,It is probably not the case that either 'Julius is green' 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.7::factA. 0.5::factB. 0.9::factC. %hop1 0.7::factX:-and(factB,factC). 0.8::factY:-xor(factA,factB). 0.9::factZ:-and(factC,factB). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.33999999999999997,0.42588517703540707,train,probably not,we believe,It is probably not the case that either 'Julius is green' or 'Emily is a sheep' but not both.,We believe that either 'Julius is green' or 'Emily is a sheep' but not both.,1,Either 'Julius is green' or 'Emily is a sheep' but not both. Chances are about even that Mary moved to the office. We doubt that Bernhard is green. It is probably the case that Greg is a swan. It is impossible that if either 'Mary moved to the office' or 'Bernhard is green' but not both then Yann is tired. Chances are about even that if 'Greg is a swan' or 'Mary moved to the office' or both then Emily is a mouse. There is almost no chance that if either 'Greg is a swan' or 'Bernhard is green' but not both then Daniel left the apple.,There is almost no chance that 'Greg is a swan and Daniel 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.5::factA. 0.2::factB. 0.7::factC. %hop1 0.0::factX:-xor(factA,factB). 0.5::factY:-or(factC,factA). 0.02::factZ:-xor(factC,factB). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.011199999999999996,0.40588117623524705,train,almost no chance,we believe,There is almost no chance that 'Greg is a swan and Daniel left the apple'.,We believe that 'Greg is a swan and Daniel left the apple'.,1,'Greg is a swan and Daniel left the apple'. Chances are slight that Bernhard is a rhino. Chances are slight that Julius is a frog. There is little chance that John took the football. Chances are slight that if 'Bernhard is a rhino and Julius is a frog' then Lily is a swan. It is impossible that if 'John took the football and Bernhard is a rhino' then Emily is a sheep. It is likely that if 'Julius is a frog and Bernhard is a rhino' then Mary discarded the milk.,It is impossible that either 'Mary discarded the milk' 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.1::factA. 0.1::factB. 0.1::factC. %hop1 0.1::factX:-and(factA,factB). 0.0::factY:-and(factC,factA). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.007000000000000003,0.39367873574714946,train,impossible,very good chance,It is impossible that either 'Mary discarded the milk' or 'Emily is a sheep' but not both.,There is a very good chance that either 'Mary discarded the milk' or 'Emily is a sheep' but not both.,1,Either 'Mary discarded the milk' or 'Emily is a sheep' but not both. It is unlikely that Daniel took the football. Chances are slight that Julius is a swan. It is improbable that Bernhard is yellow. It is probable that if either 'Daniel took the football' or 'Bernhard is yellow' but not both then Gertrude is a cat. It is probably the case that if 'Julius is a swan' or 'Daniel took the football' or both then John went to the garden. There is a better than even chance that if 'Daniel took the football and Julius is a swan' then Winona is a mouse.,It is certain that 'John went to the garden' 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.2::factA. 0.1::factB. 0.1::factC. %hop1 0.7::factX:-xor(factA,factC). 0.7::factY:-or(factB,factA). 0.6::factZ:-and(factA,factB). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.28588,0.5093018603720744,train,probably not,certain,It is probably not the case that 'John went to the garden' or 'Gertrude is a cat' or both.,It is certain that 'John went to the garden' or 'Gertrude is a cat' or both.,0,'John went to the garden' or 'Gertrude is a cat' or both. It is highly likely that Bernhard is a swan. There is a very good chance that Greg is a frog. There is a very good chance that Emily is a sheep. There is a very good chance that if 'Emily is a sheep and Bernhard is a swan' then Daniel took the milk. It is probably the case that if either 'Emily is a sheep' or 'Bernhard is a swan' but not both then Sandra got the football. We doubt that if 'Emily is a sheep and Greg is a frog' then John put down the apple.,There is little chance that 'Bernhard is a swan 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.9::factA. 0.8::factB. 0.8::factC. %hop1 0.8::factX:-and(factC,factA). 0.7::factY:-xor(factC,factA). 0.2::factZ:-and(factC,factB). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.12599999999999997,0.1908381676335267,train,little chance,almost certain,There is little chance that 'Bernhard is a swan and Sandra got the football'.,It is almost certain that 'Bernhard is a swan and Sandra got the football'.,1,'Bernhard is a swan and Sandra got the football'. Chances are about even that Emily is a sheep. There is little chance that Mary dropped the milk. It is probably not the case that Greg is a frog. It is probably not the case that if 'Mary dropped the milk' or 'Emily is a sheep' or both then Julius is a lion. It is probably not the case that if 'Mary dropped the milk' or 'Emily is a sheep' or both then John took the football. Chances are slight that if 'Mary dropped the milk' or 'Greg is a frog' or both then Lily is a swan.,It is highly unlikely that 'Emily is a sheep' 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.5::factA. 0.1::factB. 0.25::factC. %hop1 0.25::factX:-or(factB,factA). 0.25::factY:-or(factB,factA). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.55,0.4300860172034407,train,better than even,highly unlikely,There is a better than even chance that 'Emily is a sheep' or 'Mary dropped the milk' or both.,It is highly unlikely that 'Emily is a sheep' or 'Mary dropped the milk' or both.,0,'Emily is a sheep' or 'Mary dropped the milk' or both. It is probably not the case that Julius is gray. Chances are slight that Greg is a frog. It is highly unlikely that John left the football. It is improbable that if 'Greg is a frog and Julius is gray' then Emily is a sheep. There is little chance that if 'Julius is gray and John left the football' then Brian is green. There is little chance that if 'John left the football and Julius is gray' then Bernhard is yellow.,It is highly likely that either 'Brian is green' 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.25::factA. 0.1::factB. 0.05::factC. %hop1 0.1::factX:-and(factB,factA). 0.1::factY:-and(factA,factC). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.24875000000000003,0.5241048209641929,train,probably not,highly likely,It is probably not the case that either 'Brian is green' or 'Julius is gray' but not both.,It is highly likely that either 'Brian is green' or 'Julius is gray' but not both.,0,Either 'Brian is green' or 'Julius is gray' but not both. Chances are about even that Sumit is thirsty. It is almost certain that Julius is a lion. It is almost certain that Brian is green. It is certain that if either 'Sumit is thirsty' or 'Julius is a lion' but not both then Bill left the milk. We believe that if 'Sumit is thirsty and Julius is a lion' then Greg is white. It is probably not the case that if 'Brian is green' or 'Sumit is thirsty' or both then John dropped the apple.,There is a better than even chance that either 'Brian is green' 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.5::factA. 0.95::factB. 0.95::factC. %hop1 1.0::factX:-xor(factA,factB). 0.75::factY:-and(factA,factB). 0.25::factZ:-or(factC,factA). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.629375,0.46229245849169837,train,better than even,little chance,There is a better than even chance that either 'Brian is green' or 'Greg is white' but not both.,There is little chance that either 'Brian is green' or 'Greg is white' but not both.,1,Either 'Brian is green' or 'Greg is white' but not both. It is improbable that Bernhard is a lion. There is a very good chance that Lily is a rhino. It is almost certain that John put down the milk. We doubt that if 'Lily is a rhino and Bernhard is a lion' then Julius is a frog. It is highly unlikely that if 'John put down the milk' or 'Bernhard is a lion' or both then Mary left the apple. It is probable that if 'Bernhard is a lion' or 'John put down the milk' or both then Brian is yellow.,There is a very good chance that 'Bernhard is a lion 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.1::factA. 0.8::factB. 0.95::factC. %hop1 0.2::factX:-and(factB,factA). 0.05::factY:-or(factC,factA). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.08000000000000002,0.07961592318463692,train,chances are slight,very good chance,Chances are slight that 'Bernhard is a lion and Lily is a rhino'.,There is a very good chance that 'Bernhard is a lion and Lily is a rhino'.,0,'Bernhard is a lion and Lily is a rhino'. It is likely that Bernhard is a lion. It is highly likely that Greg is white. There is little chance that John went to the hallway. We doubt that if either 'Greg is white' or 'John went to the hallway' but not both then Mary picked up the milk. Chances are about even that if 'Bernhard is a lion and Greg is white' then Sandra left the milk. It is probable that if either 'Greg is white' or 'John went to the hallway' but not both then Brian is a frog.,It is certain that either 'John went to the hallway' or 'Sandra 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.9::factB. 0.1::factC. %hop1 0.2::factX:-xor(factB,factC). 0.5::factY:-and(factA,factB). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.35200000000000004,0.5117023404680936,train,probably not,certain,It is probably not the case that either 'John went to the hallway' or 'Sandra left the milk' but not both.,It is certain that either 'John went to the hallway' or 'Sandra left the milk' but not both.,0,Either 'John went to the hallway' or 'Sandra left the milk' but not both. There is almost no chance that Jeff went to the bedroom. We believe that Mary dropped the milk. There is almost no chance that Sumit is thirsty. It is highly likely that if either 'Mary dropped the milk' or 'Sumit is thirsty' but not both then Lily is white. It is certain that if either 'Mary dropped the milk' or 'Jeff went to the bedroom' but not both then John got the apple. We believe that if 'Mary dropped the milk and Sumit is thirsty' then Fred left the football.,It is certain that 'Sumit is thirsty 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.75::factB. 0.02::factC. %hop1 0.9::factX:-xor(factB,factC). 1.0::factY:-xor(factB,factA). 0.75::factZ:-and(factB,factC). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.0045,0.20524104820964192,train,impossible,certain,It is impossible that 'Sumit is thirsty and Lily is white'.,It is certain that 'Sumit is thirsty and Lily is white'.,0,'Sumit is thirsty and Lily is white'. It is impossible that Emily is a mouse. It is improbable that Brian is yellow. It is likely that John dropped the apple. We believe that if either 'John dropped the apple' or 'Brian is yellow' but not both then Mary went to the garden. We believe that if 'Emily is a mouse' or 'Brian is yellow' or both then Bernhard is a swan. We believe that if either 'Brian is yellow' or 'John dropped the apple' but not both then Julius is a rhino.,Chances are about even that 'Julius is a rhino' or 'Emily 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.0::factA. 0.1::factB. 0.7::factC. %hop1 0.75::factX:-xor(factC,factB). 0.75::factY:-or(factA,factB). 0.75::factZ:-xor(factB,factC). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.495,0.3766753350670134,train,about even,impossible,Chances are about even that 'Julius is a rhino' or 'Emily is a mouse' or both.,It is impossible that 'Julius is a rhino' or 'Emily is a mouse' or both.,1,'Julius is a rhino' or 'Emily is a mouse' or both. There is a very good chance that Lily is yellow. It is probably not the case that Greg is a swan. We doubt that Julius is a rhino. There is little chance that if 'Julius is a rhino and Greg is a swan' then John went to the garden. It is likely that if either 'Julius is a rhino' or 'Lily is yellow' but not both then Mary got the apple. We believe that if either 'Julius is a rhino' or 'Lily is yellow' but not both then Yann is thirsty.,Chances are about even that 'Greg is a swan' 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.8::factA. 0.25::factB. 0.2::factC. %hop1 0.1::factX:-and(factC,factB). 0.7::factY:-xor(factC,factA). 0.75::factZ:-xor(factC,factA). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.4,0.16043208641728346,train,about even,impossible,Chances are about even that 'Greg is a swan' or 'Julius is a rhino' or both.,It is impossible that 'Greg is a swan' or 'Julius is a rhino' or both.,1,'Greg is a swan' or 'Julius is a rhino' or both. There is a better than even chance that John left the football. It is probable that Mary went to the bedroom. It is certain that Jeff moved to the garden. Chances are slight that if either 'Jeff moved to the garden' or 'John left the football' but not both then Gertrude is a sheep. It is probably not the case that if either 'Jeff moved to the garden' or 'Mary went to the bedroom' but not both then Lily is yellow. It is probable that if 'John left the football and Jeff moved to the garden' then Greg is yellow.,It is improbable that either 'John left 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.6::factA. 0.7::factB. 1.0::factC. %hop1 0.1::factX:-xor(factC,factA). 0.25::factY:-xor(factC,factB). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.585,0.008601720344068814,train,better than even,improbable,There is a better than even chance that either 'John left the football' or 'Lily is yellow' but not both.,It is improbable that either 'John left the football' or 'Lily is yellow' but not both.,0,Either 'John left the football' or 'Lily is yellow' but not both. It is almost certain that Brian is a rhino. There is a very good chance that Bill went to the kitchen. It is almost certain that John discarded the apple. There is a better than even chance that if either 'Brian is a rhino' or 'John discarded the apple' but not both then Lily is yellow. It is impossible that if 'John discarded the apple' or 'Bill went to the kitchen' or both then Julius is a lion. There is a very good chance that if 'Bill went to the kitchen and Brian is a rhino' then Mary got the football.,It is almost certain that either 'Lily is yellow' 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.95::factA. 0.8::factB. 0.95::factC. %hop1 0.6::factX:-xor(factA,factC). 0.0::factY:-or(factC,factB). 0.8::factZ:-and(factB,factA). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.95,0.7015403080616123,train,almost certain,chances are slight,It is almost certain that either 'Lily is yellow' or 'John discarded the apple' but not both.,Chances are slight that either 'Lily is yellow' or 'John discarded the apple' but not both.,1,Either 'Lily is yellow' or 'John discarded the apple' but not both. It is certain that Julius is a lion. It is certain that Brian is green. It is improbable that Bernhard is a rhino. It is highly unlikely that if either 'Julius is a lion' or 'Brian is green' but not both then Mary took the milk. It is unlikely that if either 'Julius is a lion' or 'Bernhard is a rhino' but not both then John went to the office. It is probable that if 'Brian is green and Julius is a lion' then Daniel got the apple.,There is almost no chance that 'Brian is green and Daniel 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 1.0::factA. 1.0::factB. 0.1::factC. %hop1 0.05::factX:-xor(factA,factB). 0.2::factY:-xor(factA,factC). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.7,0.5475095019003801,train,probably,almost no chance,It is probably the case that 'Brian is green and Daniel got the apple'.,There is almost no chance that 'Brian is green and Daniel got the apple'.,0,'Brian is green and Daniel got the apple'. It is highly likely that Greg is a lion. There is a very good chance that Emily is a sheep. There is a very good chance that Winona is a wolf. It is likely that if 'Greg is a lion and Emily is a sheep' then Julius is a swan. Chances are slight that if either 'Winona is a wolf' or 'Emily is a sheep' but not both then Sandra got the football. It is impossible that if 'Winona is a wolf and Greg is a lion' then John picked up the apple.,It is likely that either 'Greg is a lion' 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.9::factA. 0.8::factB. 0.8::factC. %hop1 0.7::factX:-and(factA,factB). 0.1::factY:-xor(factC,factB). 0.0::factZ:-and(factC,factA). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.25999999999999995,0.5309061812362472,train,probably not,likely,It is probably not the case that either 'Greg is a lion' or 'Winona is a wolf' but not both.,It is likely that either 'Greg is a lion' or 'Winona is a wolf' but not both.,0,Either 'Greg is a lion' or 'Winona is a wolf' but not both. It is almost certain that Brian is yellow. There is almost no chance that Bernhard is a frog. It is certain that Daniel dropped the milk. It is probable that if either 'Bernhard is a frog' or 'Daniel dropped the milk' but not both then Greg is a swan. It is almost certain that if either 'Daniel dropped the milk' or 'Brian is yellow' but not both then Julius is a lion. There is a very good chance that if 'Daniel dropped the milk and Bernhard is a frog' then John picked up the apple.,It is certain that 'Brian 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.95::factA. 0.02::factB. 1.0::factC. %hop1 0.7::factX:-xor(factB,factC). 0.95::factY:-xor(factC,factA). 0.8::factZ:-and(factC,factB). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.9975,0.5173034606921384,train,certain,probably not,It is certain that 'Brian is yellow' or 'Julius is a lion' or both.,It is probably not the case that 'Brian is yellow' or 'Julius is a lion' or both.,1,'Brian is yellow' or 'Julius is a lion' or both. It is probable that Bernhard is yellow. It is probable that Julius is a swan. It is probable that Lily is green. It is almost certain that if either 'Bernhard is yellow' or 'Lily is green' but not both then Greg is green. It is probable that if 'Lily is green' or 'Julius is a swan' or both then Mary went to the bedroom. It is likely that if either 'Lily is green' or 'Julius is a swan' but not both then John moved to the office.,It is probably not the case that 'Greg is green' or 'Mary 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.7::factA. 0.7::factB. 0.7::factC. %hop1 0.95::factX:-xor(factA,factC). 0.7::factY:-or(factC,factB). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.7985949999999999,0.41128225645129024,train,very good chance,probably not,There is a very good chance that 'Greg is green' or 'Mary went to the bedroom' or both.,It is probably not the case that 'Greg is green' or 'Mary went to the bedroom' or both.,0,'Greg is green' or 'Mary went to the bedroom' or both. We doubt that John went to the garden. We believe that Lily is a swan. It is impossible that Sandra dropped the milk. It is almost certain that if 'Lily is a swan' or 'Sandra dropped the milk' or both then Brian is green. We doubt that if either 'Lily is a swan' or 'John went to the garden' but not both then Bernhard is a frog. It is almost certain that if 'John went to the garden and Lily is a swan' then Jeff left the football.,It is improbable that 'Sandra dropped 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.2::factA. 0.75::factB. 0.0::factC. %hop1 0.95::factX:-or(factB,factC). 0.2::factY:-xor(factB,factA). 0.95::factZ:-and(factA,factB). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.7125,0.6075215043008602,train,likely,improbable,It is likely that 'Sandra dropped the milk' or 'Brian is green' or both.,It is improbable that 'Sandra dropped the milk' or 'Brian is green' or both.,0,'Sandra dropped the milk' or 'Brian is green' or both. It is probably the case that Sandra left the milk. There is little chance that Lily is a lion. It is likely that Mary grabbed the milk. There is little chance that if either 'Lily is a lion' or 'Sandra left the milk' but not both then Yann is thirsty. We believe that if either 'Lily is a lion' or 'Mary grabbed the milk' but not both then Greg is white. It is certain that if 'Sandra left the milk' or 'Mary grabbed the milk' or both then John went to the bedroom.,It is likely that 'Sandra left the milk and John 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.7::factC. %hop1 0.1::factX:-xor(factB,factA). 0.75::factY:-xor(factB,factC). 1.0::factZ:-or(factA,factC). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.7,0.7849569913982797,train,likely,probably not,It is likely that 'Sandra left the milk and John went to the bedroom'.,It is probably not the case that 'Sandra left the milk and John went to the bedroom'.,1,'Sandra left the milk and John went to the bedroom'. It is highly unlikely that Jeff moved to the office. Chances are about even that Jason is tired. It is highly unlikely that Brian is a frog. There is little chance that if 'Jeff moved to the office and Brian is a frog' then Bernhard is gray. It is certain that if either 'Jeff moved to the office' or 'Brian is a frog' but not both then Julius is a rhino. Chances are slight that if either 'Brian is a frog' or 'Jason is tired' but not both then Greg is a lion.,It is impossible that 'Greg is a lion and Jeff 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.05::factA. 0.5::factB. 0.05::factC. %hop1 0.1::factX:-and(factA,factC). 1.0::factY:-xor(factA,factC). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.0025000000000000005,0.529505901180236,train,impossible,we believe,It is impossible that 'Greg is a lion and Jeff moved to the office'.,We believe that 'Greg is a lion and Jeff moved to the office'.,1,'Greg is a lion and Jeff moved to the office'. It is probably the case that Brian is green. It is highly likely that Greg is yellow. It is almost certain that Mary went to the garden. We doubt that if either 'Mary went to the garden' or 'Greg is yellow' but not both then Lily is a swan. It is probably not the case that if 'Brian is green and Mary went to the garden' then John discarded the apple. There is almost no chance that if 'Mary went to the garden and Greg is yellow' then Julius is white.,Chances are slight that either 'John discarded the apple' 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.7::factA. 0.9::factB. 0.95::factC. %hop1 0.2::factX:-xor(factC,factB). 0.25::factY:-and(factA,factC). 0.02::factZ:-and(factC,factB). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.78375,0.7109421884376875,train,very good chance,chances are slight,There is a very good chance that either 'John discarded the apple' or 'Mary went to the garden' but not both.,Chances are slight that either 'John discarded the apple' or 'Mary went to the garden' but not both.,0,Either 'John discarded the apple' or 'Mary went to the garden' but not both. There is a better than even chance that Jessica is a cat. It is impossible that Brian is a frog. It is probable that Mary moved to the office. We believe that if 'Mary moved to the office and Jessica is a cat' then Bernhard is white. It is probably not the case that if 'Brian is a frog' or 'Mary moved to the office' or both then John picked up the apple. It is highly likely that if either 'Mary moved to the office' or 'Brian is a frog' but not both then Lily is a swan.,There is almost no chance that 'Bernhard is white' 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 0.6::factA. 0.0::factB. 0.7::factC. %hop1 0.75::factX:-and(factC,factA). 0.25::factY:-or(factB,factC). 0.9::factZ:-xor(factC,factB). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.6,0.11322264452890578,train,better than even,almost no chance,There is a better than even chance that 'Bernhard is white' or 'Jessica is a cat' or both.,There is almost no chance that 'Bernhard is white' or 'Jessica is a cat' or both.,0,'Bernhard is white' or 'Jessica is a cat' or both. It is highly likely that Bernhard is white. It is improbable that Julius is a rhino. Chances are about even that Brian is green. It is unlikely that if either 'Bernhard is white' or 'Julius is a rhino' but not both then Jeff dropped the apple. There is a very good chance that if either 'Julius is a rhino' or 'Brian is green' but not both then Mary left the football. We doubt that if 'Julius is a rhino' or 'Brian is green' or both then Lily is a lion.,We doubt that either 'Mary left the football' 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.9::factA. 0.1::factB. 0.5::factC. %hop1 0.2::factX:-xor(factA,factB). 0.8::factY:-xor(factB,factC). 0.2::factZ:-or(factB,factC). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.17999999999999997,0.17803560712142427,train,we doubt,very good chance,We doubt that either 'Mary left the football' or 'Brian is green' but not both.,There is a very good chance that either 'Mary left the football' or 'Brian is green' but not both.,1,Either 'Mary left the football' or 'Brian is green' but not both. It is highly unlikely that Winona is a wolf. It is certain that Emily is a sheep. It is probable that Fred moved to the office. It is highly likely that if 'Fred moved to the office' or 'Emily is a sheep' or both then Lily is a frog. We believe that if either 'Emily is a sheep' or 'Winona is a wolf' but not both then Mary dropped the milk. It is probably the case that if either 'Winona is a wolf' or 'Emily is a sheep' but not both then Brian is a swan.,It is impossible that either 'Brian is a swan' 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. 1.0::factB. 0.7::factC. %hop1 0.9::factX:-or(factC,factB). 0.75::factY:-xor(factB,factA). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.715,0.1892378475695139,train,probably,impossible,It is probably the case that either 'Brian is a swan' or 'Winona is a wolf' but not both.,It is impossible that either 'Brian is a swan' or 'Winona is a wolf' but not both.,0,Either 'Brian is a swan' or 'Winona is a wolf' but not both. It is likely that Bernhard is yellow. There is little chance that Greg is gray. It is probably not the case that Mary went to the office. There is a very good chance that if either 'Bernhard is yellow' or 'Greg is gray' but not both then John discarded the milk. It is highly unlikely that if 'Mary went to the office and Greg is gray' then Fred left the apple. There is almost no chance that if 'Bernhard is yellow and Greg is gray' then Brian is a rhino.,It is certain that 'Fred left 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.1::factB. 0.25::factC. %hop1 0.8::factX:-xor(factA,factB). 0.05::factY:-and(factC,factB). 0.02::factZ:-and(factA,factB). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.002632500000000001,0.5377075415083017,train,impossible,certain,It is impossible that 'Fred left the apple' or 'Brian is a rhino' or both.,It is certain that 'Fred left the apple' or 'Brian is a rhino' or both.,0,'Fred left the apple' or 'Brian is a rhino' or both. There is a better than even chance that Mary grabbed the milk. It is certain that Julius is green. It is improbable that Jessica is a cat. It is probably not the case that if either 'Jessica is a cat' or 'Julius is green' but not both then Brian is a frog. It is impossible that if either 'Mary grabbed the milk' or 'Julius is green' but not both then Lily is a rhino. It is impossible that if 'Mary grabbed the milk' or 'Julius is green' or both then John moved to the garden.,It is highly unlikely that either 'Mary grabbed the milk' or 'Lily 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.6::factA. 1.0::factB. 0.1::factC. %hop1 0.25::factX:-xor(factC,factB). 0.0::factY:-xor(factA,factB). 0.0::factZ:-or(factA,factB). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.6,0.4594918983796759,train,better than even,highly unlikely,There is a better than even chance that either 'Mary grabbed the milk' or 'Lily is a rhino' but not both.,It is highly unlikely that either 'Mary grabbed the milk' or 'Lily is a rhino' but not both.,0,Either 'Mary grabbed the milk' or 'Lily is a rhino' but not both. There is almost no chance that Greg is a swan. It is unlikely that Lily is a lion. We doubt that Gertrude is a cat. It is highly likely that if 'Greg is a swan' or 'Lily is a lion' or both then John dropped the apple. We believe that if 'Gertrude is a cat' or 'Lily is a lion' or both then Brian is green. It is almost certain that if 'Greg is a swan' or 'Lily is a lion' or both then Mary got the milk.,It is likely that 'Gertrude is a cat 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.02::factA. 0.2::factB. 0.2::factC. %hop1 0.9::factX:-or(factA,factB). 0.75::factY:-or(factC,factB). 0.95::factZ:-or(factA,factB). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.04000000000000001,0.5965193038607721,train,highly unlikely,likely,It is highly unlikely that 'Gertrude is a cat and Lily is a lion'.,It is likely that 'Gertrude is a cat and Lily is a lion'.,0,'Gertrude is a cat and Lily is a lion'. It is impossible that John is in the garden. There is little chance that Daniel got the football. It is likely that Brian is white. It is highly likely that if 'John is in the garden and Daniel got the football' then Bernhard is gray. It is impossible that if 'Daniel got the football' or 'John is in the garden' or both then Greg is a frog. Chances are slight that if 'Brian is white and John is in the garden' then Julius is green.,There is little chance 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.0::factA. 0.1::factB. 0.7::factC. %hop1 0.9::factX:-and(factA,factB). 0.0::factY:-or(factB,factA). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.7,0.3862772554510902,train,likely,little chance,It is likely that either 'Bernhard is gray' or 'Brian is white' but not both.,There is little chance that either 'Bernhard is gray' or 'Brian is white' but not both.,0,Either 'Bernhard is gray' or 'Brian is white' but not both. There is little chance that Brian is a swan. It is highly unlikely that Greg is green. It is unlikely that Winona is a mouse. It is highly unlikely that if 'Brian is a swan and Winona is a mouse' then Jeff discarded the milk. Chances are about even that if 'Brian is a swan' or 'Winona is a mouse' or both then John went to the office. It is almost certain that if 'Brian is a swan' or 'Greg is green' or both then Bernhard is gray.,There is little chance that either 'Bernhard is gray' or 'Greg 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.05::factB. 0.2::factC. %hop1 0.05::factX:-and(factA,factC). 0.5::factY:-or(factA,factC). 0.95::factZ:-or(factA,factB). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.09275000000000003,0.028805761152230446,train,little chance,we believe,There is little chance that either 'Bernhard is gray' or 'Greg is green' but not both.,We believe that either 'Bernhard is gray' or 'Greg is green' but not both.,1,Either 'Bernhard is gray' or 'Greg is green' but not both. It is improbable that Mary discarded the milk. It is certain that Jeff moved to the garden. It is likely that John went to the kitchen. It is probable that if either 'John went to the kitchen' or 'Mary discarded the milk' but not both then Jessica is a mouse. It is probably not the case that if 'Mary discarded the milk' or 'John went to the kitchen' or both then Bernhard is a swan. It is unlikely that if 'John went to the kitchen and Mary discarded the milk' then Bill left the milk.,Chances are about even that 'Jessica is a mouse and Jeff 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. 1.0::factB. 0.7::factC. %hop1 0.7::factX:-xor(factC,factA). 0.25::factY:-or(factA,factC). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.4619999999999999,0.14662932586517302,train,about even,certain,Chances are about even that 'Jessica is a mouse and Jeff moved to the garden'.,It is certain that 'Jessica is a mouse and Jeff moved to the garden'.,1,'Jessica is a mouse and Jeff moved to the garden'. Chances are about even that Lily is white. It is unlikely that Julius is a lion. There is almost no chance that John moved to the garden. It is unlikely that if 'Julius is a lion' or 'Lily is white' or both then Yann is hungry. It is highly likely that if either 'Julius is a lion' or 'Lily is white' but not both then Mary went to the kitchen. We believe that if either 'Julius is a lion' or 'John moved to the garden' but not both then Brian is green.,It is probably the case that 'Lily is white 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.5::factA. 0.2::factB. 0.02::factC. %hop1 0.2::factX:-or(factB,factA). 0.9::factY:-xor(factB,factA). 0.75::factZ:-xor(factB,factC). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.07950000000000002,0.6513302660532106,train,improbable,probably,It is improbable that 'Lily is white and Brian is green'.,It is probably the case that 'Lily is white and Brian is green'.,0,'Lily is white and Brian is green'. Chances are about even that Brian is gray. It is probably not the case that Jessica is a wolf. Chances are about even that Bernhard is white. There is a better than even chance that if 'Jessica is a wolf' or 'Brian is gray' or both then John moved to the garden. It is likely that if 'Jessica is a wolf and Brian is gray' then Mary went to the bedroom. It is probably the case that if 'Jessica is a wolf' or 'Bernhard is white' or both then Lily is a rhino.,We doubt that 'Lily is a rhino 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.5::factA. 0.25::factB. 0.5::factC. %hop1 0.6::factX:-or(factB,factA). 0.7::factY:-and(factB,factA). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.18375,0.5563112622524505,train,we doubt,almost certain,We doubt that 'Lily is a rhino and John moved to the garden'.,It is almost certain that 'Lily is a rhino and John moved to the garden'.,1,'Lily is a rhino and John moved to the garden'. Chances are about even that Brian is white. It is certain that Mary discarded the milk. It is almost certain that Julius is a frog. It is improbable that if 'Julius is a frog and Brian is white' then Bernhard is a lion. There is almost no chance that if 'Julius is a frog and Brian is white' then Sandra left the milk. It is certain that if 'Julius is a frog and Brian is white' then Greg is white.,It is almost certain that either 'Brian is white' or 'Bernhard 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. 1.0::factB. 0.95::factC. %hop1 0.1::factX:-and(factC,factA). 0.02::factY:-and(factC,factA). 1.0::factZ:-and(factC,factA). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.45249999999999996,0.040208041608321664,train,about even,almost certain,Chances are about even that either 'Brian is white' or 'Bernhard is a lion' but not both.,It is almost certain that either 'Brian is white' or 'Bernhard is a lion' but not both.,0,Either 'Brian is white' or 'Bernhard is a lion' but not both. There is a better than even chance that Julius is yellow. We believe that Sandra left the milk. It is certain that Greg is green. It is impossible that if 'Greg is green' or 'Sandra left the milk' or both then Brian is white. There is a very good chance that if 'Greg is green' or 'Sandra left the milk' or both then Jason is tired. We believe that if 'Julius is yellow' or 'Sandra left the milk' or both then Jeff moved to the garden.,Chances are slight that either 'Brian is white' 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.6::factA. 0.75::factB. 1.0::factC. %hop1 0.0::factX:-or(factC,factB). 0.8::factY:-or(factC,factB). 0.75::factZ:-or(factA,factB). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.6,0.48749749949989996,train,better than even,chances are slight,There is a better than even chance that either 'Brian is white' or 'Julius is yellow' but not both.,Chances are slight that either 'Brian is white' or 'Julius is yellow' but not both.,0,Either 'Brian is white' or 'Julius is yellow' but not both. It is probably the case that Yann is bored. It is highly unlikely that Sandra dropped the milk. It is probably not the case that Julius is gray. There is little chance that if either 'Yann is bored' or 'Sandra dropped the milk' but not both then Mary grabbed the apple. It is probable that if 'Yann is bored and Sandra dropped the milk' then Bernhard is a frog. It is probable that if 'Sandra dropped the milk' or 'Yann is bored' or both then Brian is a rhino.,There is a better than even chance that 'Bernhard is a frog' or 'Mary 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.05::factB. 0.25::factC. %hop1 0.1::factX:-xor(factA,factB). 0.7::factY:-and(factA,factB). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.09250000000000001,0.7225445089017803,train,little chance,better than even,There is little chance that 'Bernhard is a frog' or 'Mary grabbed the apple' or both.,There is a better than even chance that 'Bernhard is a frog' or 'Mary grabbed the apple' or both.,0,'Bernhard is a frog' or 'Mary grabbed the apple' or both. Chances are slight that Lily is white. There is a better than even chance that Mary discarded the milk. It is probable that Greg is a swan. It is probable that if 'Lily is white and Greg is a swan' then Julius is yellow. It is highly likely that if 'Lily is white' or 'Mary discarded the milk' or both then Bernhard is a rhino. There is almost no chance that if 'Mary discarded the milk' or 'Greg is a swan' or both then Sandra left the football.,It is highly unlikely that either 'Sandra left the football' 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.6::factB. 0.7::factC. %hop1 0.7::factX:-and(factA,factC). 0.9::factY:-or(factA,factB). 0.02::factZ:-or(factB,factC). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.6896,0.2378475695139028,train,probable,highly unlikely,It is probable that either 'Sandra left the football' or 'Greg is a swan' but not both.,It is highly unlikely that either 'Sandra left the football' or 'Greg is a swan' but not both.,0,Either 'Sandra left the football' or 'Greg is a swan' but not both. It is impossible that John moved to the office. It is highly likely that Mary left the milk. There is a better than even chance that Greg is yellow. It is improbable that if either 'Greg is yellow' or 'Mary left the milk' but not both then Bernhard is a swan. It is improbable that if 'John moved to the office' or 'Mary left the milk' or both then Brian is green. Chances are slight that if 'John moved to the office' or 'Mary left the milk' or both then Jason is thirsty.,It is highly unlikely that 'Jason is thirsty 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.0::factA. 0.9::factB. 0.6::factC. %hop1 0.1::factX:-xor(factC,factB). 0.1::factY:-or(factA,factB). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.054,0.5649129825965193,train,highly unlikely,probably,It is highly unlikely that 'Jason is thirsty and Greg is yellow'.,It is probably the case that 'Jason is thirsty and Greg is yellow'.,1,'Jason is thirsty and Greg is yellow'. It is probably the case that Jeff went to the bedroom. It is certain that Julius is gray. Chances are about even that Bernhard is gray. Chances are slight that if 'Bernhard is gray and Jeff went to the bedroom' then Sumit is thirsty. There is a better than even chance that if 'Jeff went to the bedroom' or 'Julius is gray' or both then Greg is a frog. There is almost no chance that if 'Julius is gray and Jeff went to the bedroom' then John grabbed the apple.,It is certain that 'Bernhard is gray 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.7::factA. 1.0::factB. 0.5::factC. %hop1 0.1::factX:-and(factC,factA). 0.6::factY:-or(factA,factB). 0.02::factZ:-and(factB,factA). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.30000000000000004,0.47909581916383276,train,probably not,certain,It is probably not the case that 'Bernhard is gray and Greg is a frog'.,It is certain that 'Bernhard is gray and Greg is a frog'.,0,'Bernhard is gray and Greg is a frog'. We doubt that Jessica is a cat. It is improbable that Julius is a lion. It is unlikely that Bernhard is green. There is almost no chance that if 'Julius is a lion and Bernhard is green' then Bill went to the bedroom. It is improbable that if 'Bernhard is green and Julius is a lion' then John moved to the garden. It is impossible that if 'Jessica is a cat and Bernhard is green' then Lily is green.,It is impossible that either 'Bill went to the bedroom' 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.2::factA. 0.1::factB. 0.2::factC. %hop1 0.02::factX:-and(factB,factC). 0.1::factY:-and(factC,factB). 0.0::factZ:-and(factA,factC). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.0023200000000000013,0.022004400880176037,train,impossible,highly likely,It is impossible that either 'Bill went to the bedroom' or 'John moved to the garden' but not both.,It is highly likely that either 'Bill went to the bedroom' or 'John moved to the garden' but not both.,1,Either 'Bill went to the bedroom' or 'John moved to the garden' but not both. It is improbable that Sandra grabbed the apple. We doubt that Greg is a lion. It is probable that Julius is a rhino. It is probably the case that if either 'Greg is a lion' or 'Sandra grabbed the apple' but not both then Emily is a wolf. It is improbable that if 'Greg is a lion' or 'Sandra grabbed the apple' or both then Brian is green. We doubt that if 'Greg is a lion' or 'Sandra grabbed the apple' or both then Mary left the football.,It is unlikely that either 'Emily is a wolf' 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.1::factA. 0.2::factB. 0.7::factC. %hop1 0.7::factX:-xor(factB,factA). 0.1::factY:-or(factB,factA). 0.2::factZ:-or(factB,factA). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.1736,0.7013402680536107,train,unlikely,probably,It is unlikely that either 'Emily is a wolf' or 'Brian is green' but not both.,It is probably the case that either 'Emily is a wolf' or 'Brian is green' but not both.,1,Either 'Emily is a wolf' or 'Brian is green' but not both. There is a very good chance that Yann is tired. It is almost certain that John got the apple. It is likely that Lily is a lion. It is impossible that if either 'Yann is tired' or 'Lily is a lion' but not both then Greg is yellow. It is almost certain that if 'Lily is a lion' or 'Yann is tired' or both then Brian is a swan. It is likely that if 'Yann is tired' or 'John got the apple' or both then Mary left the football.,It is almost certain that 'Greg is yellow' or 'John 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.8::factA. 0.95::factB. 0.7::factC. %hop1 0.0::factX:-xor(factA,factC). 0.95::factY:-or(factC,factA). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.95,0.14042808561712342,train,almost certain,about even,It is almost certain that 'Greg is yellow' or 'John got the apple' or both.,Chances are about even that 'Greg is yellow' or 'John got the apple' or both.,1,'Greg is yellow' or 'John got the apple' or both. There is little chance that John grabbed the milk. It is probably not the case that Lily is yellow. It is probably the case that Mary got the football. It is highly likely that if 'Mary got the football and Lily is yellow' then Bernhard is a rhino. It is probable that if 'Mary got the football' or 'John grabbed the milk' or both then Antoine is thirsty. There is almost no chance that if either 'John grabbed the milk' or 'Mary got the football' but not both then Brian is a swan.,It is probably the case that either 'Bernhard is a rhino' or 'John 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.25::factB. 0.7::factC. %hop1 0.9::factX:-and(factC,factB). 0.7::factY:-or(factC,factA). 0.02::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.22600000000000003,0.478495699139828,train,probably not,probably,It is probably not the case that either 'Bernhard is a rhino' or 'John grabbed the milk' but not both.,It is probably the case that either 'Bernhard is a rhino' or 'John grabbed the milk' but not both.,0,Either 'Bernhard is a rhino' or 'John grabbed the milk' but not both. We believe that Greg is gray. It is impossible that Bernhard is a frog. There is a better than even chance that Julius is white. There is little chance that if 'Greg is gray' or 'Julius is white' or both then Fred left the football. It is highly unlikely that if either 'Julius is white' or 'Bernhard is a frog' but not both then Lily is green. It is highly unlikely that if 'Bernhard is a frog and Greg is gray' then Mary picked up the apple.,It is impossible that 'Mary picked up the apple and Greg 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.75::factA. 0.0::factB. 0.6::factC. %hop1 0.1::factX:-or(factA,factC). 0.05::factY:-xor(factC,factB). 0.05::factZ:-and(factB,factA). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.0,0.20624124824964993,train,impossible,likely,It is impossible that 'Mary picked up the apple and Greg is gray'.,It is likely that 'Mary picked up the apple and Greg is gray'.,1,'Mary picked up the apple and Greg is gray'. Chances are slight that Bernhard is a lion. There is a better than even chance that John got the football. We doubt that Jason is thirsty. Chances are slight that if 'Bernhard is a lion' or 'Jason is thirsty' or both then Brian is gray. There is a better than even chance that if either 'Bernhard is a lion' or 'John got the football' but not both then Greg is yellow. It is probably not the case that if either 'Jason is thirsty' or 'John got the football' but not both then Mary moved to the office.,It is unlikely that 'Jason is thirsty' 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.1::factA. 0.6::factB. 0.2::factC. %hop1 0.1::factX:-or(factA,factC). 0.6::factY:-xor(factA,factB). 0.25::factZ:-xor(factC,factB). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.20800000000000002,0.11902380476095219,train,unlikely,very good chance,It is unlikely that 'Jason is thirsty' or 'Brian is gray' or both.,There is a very good chance that 'Jason is thirsty' or 'Brian is gray' or both.,1,'Jason is thirsty' or 'Brian is gray' or both. It is certain that Jessica is a mouse. It is highly likely that John left the apple. It is improbable that Fred dropped the milk. It is improbable that if either 'Fred dropped the milk' or 'Jessica is a mouse' but not both then Antoine is thirsty. It is improbable that if either 'Jessica is a mouse' or 'Fred dropped the milk' but not both then Bernhard is a frog. It is certain that if either 'John left the apple' or 'Jessica is a mouse' but not both then Mary went to the kitchen.,It is unlikely that either 'Bernhard is a frog' or 'Mary went to the kitchen' 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.1::factX:-xor(factC,factA). 0.1::factY:-xor(factA,factC). 1.0::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.172,0.7591518303660733,train,unlikely,highly likely,It is unlikely that either 'Bernhard is a frog' or 'Mary went to the kitchen' but not both.,It is highly likely that either 'Bernhard is a frog' or 'Mary went to the kitchen' but not both.,1,Either 'Bernhard is a frog' or 'Mary went to the kitchen' but not both. It is certain that Greg is a rhino. It is unlikely that Jessica is a cat. Chances are about even that Mary went to the bedroom. It is highly likely that if 'Mary went to the bedroom' or 'Greg is a rhino' or both then Sandra left the milk. It is probably the case that if either 'Greg is a rhino' or 'Mary went to the bedroom' but not both then Bernhard is green. It is likely that if either 'Greg is a rhino' or 'Mary went to the bedroom' but not both then Julius is a lion.,There is almost no chance that either 'Sandra left the milk' 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 1.0::factA. 0.2::factB. 0.5::factC. %hop1 0.9::factX:-or(factC,factA). 0.7::factY:-xor(factA,factC). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.62,0.41988397679535905,train,better than even,almost no chance,There is a better than even chance that either 'Sandra left the milk' or 'Bernhard is green' but not both.,There is almost no chance that either 'Sandra left the milk' or 'Bernhard is green' but not both.,0,Either 'Sandra left the milk' or 'Bernhard is green' but not both. It is probably not the case that Lily is a frog. It is probably not the case that Julius is gray. There is a very good chance that Greg is a rhino. It is highly unlikely that if 'Greg is a rhino' or 'Lily is a frog' or both then Brian is yellow. We believe that if 'Julius is gray' or 'Lily is a frog' or both then Daniel left the milk. There is a better than even chance that if either 'Julius is gray' or 'Lily is a frog' but not both then Mary went to the office.,There is a very good chance that 'Lily is a frog 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.25::factA. 0.25::factB. 0.8::factC. %hop1 0.05::factX:-or(factC,factA). 0.75::factY:-or(factB,factA). 0.6::factZ:-xor(factB,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.11250000000000002,0.20864172834566913,train,improbable,very good chance,It is improbable that 'Lily is a frog and Mary went to the office'.,There is a very good chance that 'Lily is a frog and Mary went to the office'.,0,'Lily is a frog and Mary went to the office'. It is certain that Brian is white. There is little chance that Mary went to the kitchen. It is highly unlikely that Lily is green. There is a better than even chance that if 'Brian is white' or 'Lily is green' or both then Julius is green. There is a very good chance that if 'Mary went to the kitchen and Brian is white' then John dropped the apple. It is improbable that if either 'Mary went to the kitchen' or 'Lily is green' but not both then Greg is a frog.,There is almost no chance that 'Brian is white 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 1.0::factA. 0.1::factB. 0.05::factC. %hop1 0.6::factX:-or(factA,factC). 0.8::factY:-and(factB,factA). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.014000000000000007,0.6409281856371274,train,almost no chance,we believe,There is almost no chance that 'Brian is white and Greg is a frog'.,We believe that 'Brian is white and Greg is a frog'.,1,'Brian is white and Greg is a frog'. Chances are about even that Jeff went to the garden. It is probably the case that Sandra left the milk. It is probably the case that Greg is a rhino. It is improbable that if 'Sandra left the milk and Jeff went to the garden' then John discarded the milk. It is impossible that if 'Greg is a rhino' or 'Jeff went to the garden' or both then Bernhard is a frog. It is probably the case that if 'Jeff went to the garden' or 'Sandra left the milk' or both then Lily is a swan.,It is probable that either 'Sandra left the milk' or 'John 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.5::factA. 0.7::factB. 0.7::factC. %hop1 0.1::factX:-and(factB,factA). 0.0::factY:-or(factC,factA). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.6649999999999999,0.4584916983396679,train,probable,probably not,It is probable that either 'Sandra left the milk' or 'John discarded the milk' but not both.,It is probably not the case that either 'Sandra left the milk' or 'John discarded the milk' but not both.,1,Either 'Sandra left the milk' or 'John discarded the milk' but not both. It is impossible that Bernhard is yellow. It is probable that Jessica is a wolf. It is certain that Mary is in the hallway. Chances are about even that if either 'Jessica is a wolf' or 'Mary is in the hallway' but not both then John went to the office. We doubt that if either 'Mary is in the hallway' or 'Bernhard is yellow' but not both then Brian is a lion. Chances are slight that if 'Jessica is a wolf' or 'Mary is in the hallway' or both then Greg is a rhino.,There is almost no chance that either 'Jessica is a wolf' 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.0::factA. 0.7::factB. 1.0::factC. %hop1 0.5::factX:-xor(factB,factC). 0.2::factY:-xor(factC,factA). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.85,0.35907181436287255,train,very good chance,almost no chance,There is a very good chance that either 'Jessica is a wolf' or 'John went to the office' but not both.,There is almost no chance that either 'Jessica is a wolf' or 'John went to the office' but not both.,0,Either 'Jessica is a wolf' or 'John went to the office' but not both. There is a very good chance that Brian is yellow. It is unlikely that Greg is white. There is little chance that Emily is a wolf. It is probably not the case that if 'Brian is yellow' or 'Greg is white' or both then Bernhard is a frog. It is probably not the case that if 'Brian is yellow' or 'Emily is a wolf' or both then Daniel took the milk. It is probably not the case that if either 'Emily is a wolf' or 'Greg is white' but not both then Mary moved to the garden.,There is almost no chance that 'Mary moved to the garden 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.2::factB. 0.1::factC. %hop1 0.25::factX:-or(factA,factB). 0.25::factY:-or(factA,factC). 0.25::factZ:-xor(factC,factB). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.015250000000000003,0.5019003800760152,train,almost no chance,better than even,There is almost no chance that 'Mary moved to the garden and Bernhard is a frog'.,There is a better than even chance that 'Mary moved to the garden and Bernhard is a frog'.,1,'Mary moved to the garden and Bernhard is a frog'. It is highly unlikely that John took the apple. It is highly unlikely that Mary got the football. It is impossible that Winona is a sheep. There is a very good chance that if 'Winona is a sheep and John took the apple' then Antoine is bored. It is certain that if 'Winona is a sheep' or 'Mary got the football' or both then Julius is a swan. There is little chance that if 'Winona is a sheep and Mary got the football' then Brian is a frog.,There is a very good chance that either 'Mary got the football' 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.05::factA. 0.05::factB. 0.0::factC. %hop1 0.8::factX:-and(factC,factA). 1.0::factY:-or(factC,factB). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.09500000000000001,0.4920984196839368,train,little chance,very good chance,There is little chance that either 'Mary got the football' or 'John took the apple' but not both.,There is a very good chance that either 'Mary got the football' or 'John took the apple' but not both.,0,Either 'Mary got the football' or 'John took the apple' but not both. It is unlikely that Daniel left the milk. It is unlikely that Julius is a frog. Chances are about even that John dropped the apple. Chances are slight that if either 'John dropped the apple' or 'Julius is a frog' but not both then Greg is white. We doubt that if either 'Julius is a frog' or 'Daniel left the milk' but not both then Brian is a rhino. There is almost no chance that if 'John dropped the apple' or 'Julius is a frog' or both then Mary moved to the garden.,There is almost no chance that 'Brian is a rhino' or 'John 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.2::factA. 0.2::factB. 0.5::factC. %hop1 0.1::factX:-xor(factC,factB). 0.2::factY:-xor(factB,factA). 0.02::factZ:-or(factC,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.532,0.22724544908981797,train,about even,almost no chance,Chances are about even that 'Brian is a rhino' or 'John dropped the apple' or both.,There is almost no chance that 'Brian is a rhino' or 'John dropped the apple' or both.,0,'Brian is a rhino' or 'John dropped the apple' or both. There is little chance that Antoine is thirsty. It is almost certain that Mary discarded the milk. Chances are slight that John took the football. It is improbable that if either 'John took the football' or 'Mary discarded the milk' but not both then Brian is white. There is a better than even chance that if 'John took the football' or 'Mary discarded the milk' or both then Winona is a sheep. It is highly likely that if 'Mary discarded the milk and John took the football' then Greg is a lion.,There is almost no chance that 'Antoine is thirsty' 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.95::factB. 0.1::factC. %hop1 0.1::factX:-xor(factC,factB). 0.6::factY:-or(factC,factB). 0.9::factZ:-and(factB,factC). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.6156999999999999,0.2464492898579716,train,better than even,almost no chance,There is a better than even chance that 'Antoine is thirsty' or 'Winona is a sheep' or both.,There is almost no chance that 'Antoine is thirsty' or 'Winona is a sheep' or both.,0,'Antoine is thirsty' or 'Winona is a sheep' or both. It is likely that Brian is a swan. There is a better than even chance that John went to the office. It is almost certain that Mary put down the apple. It is highly unlikely that if 'Mary put down the apple and John went to the office' then Julius is green. It is impossible that if 'John went to the office' or 'Brian is a swan' or both then Lily is green. It is almost certain that if 'Mary put down the apple' or 'Brian is a swan' or both then Greg is white.,It is probably the case that 'Julius is green 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.7::factA. 0.6::factB. 0.95::factC. %hop1 0.05::factX:-and(factC,factB). 0.0::factY:-or(factB,factA). 0.95::factZ:-or(factC,factA). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.019950000000000002,0.5373074614922985,train,almost no chance,probably,There is almost no chance that 'Julius is green and Brian is a swan'.,It is probably the case that 'Julius is green and Brian is a swan'.,0,'Julius is green and Brian is a swan'. There is almost no chance that Greg is white. It is probable that Lily is a rhino. It is likely that Mary left the football. It is improbable that if 'Mary left the football' or 'Lily is a rhino' or both then Jessica is a cat. It is probably not the case that if 'Lily is a rhino and Greg is white' then Julius is a lion. We believe that if 'Greg is white' or 'Mary left the football' or both then Brian is a swan.,It is impossible that 'Lily is a rhino 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.02::factA. 0.7::factB. 0.7::factC. %hop1 0.1::factX:-or(factC,factB). 0.25::factY:-and(factB,factA). 0.75::factZ:-or(factA,factC). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.003500000000000001,0.4168833766753351,train,impossible,certain,It is impossible that 'Lily is a rhino and Julius is a lion'.,It is certain that 'Lily is a rhino and Julius is a lion'.,1,'Lily is a rhino and Julius is a lion'. It is highly unlikely that Emily is a mouse. There is a very good chance that Julius is gray. There is almost no chance that John went to the garden. It is almost certain that if 'Emily is a mouse and John went to the garden' then Antoine is hungry. Chances are slight that if 'Julius is gray and Emily is a mouse' then Bernhard is a swan. It is probably the case that if 'Julius is gray and John went to the garden' then Greg is yellow.,There is a very good chance that 'Julius is gray' or 'Emily 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.05::factA. 0.8::factB. 0.02::factC. %hop1 0.95::factX:-and(factA,factC). 0.1::factY:-and(factB,factA). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.81,0.3632726545309062,train,very good chance,we doubt,There is a very good chance that 'Julius is gray' or 'Emily is a mouse' or both.,We doubt that 'Julius is gray' or 'Emily is a mouse' or both.,1,'Julius is gray' or 'Emily is a mouse' or both. It is improbable that Jeff left the apple. There is almost no chance that Bernhard is a swan. It is highly likely that Emily is a sheep. There is a better than even chance that if 'Bernhard is a swan' or 'Jeff left the apple' or both then Yann is tired. It is certain that if 'Jeff left the apple' or 'Emily is a sheep' or both then Lily is a rhino. There is little chance that if either 'Bernhard is a swan' or 'Emily is a sheep' but not both then John moved to the office.,We doubt that either 'Jeff left the apple' or 'John 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.1::factA. 0.02::factB. 0.9::factC. %hop1 0.6::factX:-or(factB,factA). 1.0::factY:-or(factA,factC). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.17072000000000004,0.6839367873574715,train,we doubt,highly likely,We doubt that either 'Jeff left the apple' or 'John moved to the office' but not both.,It is highly likely that either 'Jeff left the apple' or 'John moved to the office' but not both.,1,Either 'Jeff left the apple' or 'John moved to the office' but not both. It is improbable that Greg is a lion. There is a better than even chance that Julius is a rhino. It is certain that Lily is a frog. It is likely that if 'Lily is a frog' or 'Greg is a lion' or both then Jason is thirsty. Chances are slight that if 'Greg is a lion and Julius is a rhino' then Mary went to the office. It is probably the case that if either 'Julius is a rhino' or 'Greg is a lion' but not both then Sandra grabbed the apple.,It is probably not the case that either 'Lily is a frog' 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.1::factA. 0.6::factB. 1.0::factC. %hop1 0.7::factX:-or(factC,factA). 0.1::factY:-and(factA,factB). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.9,0.15043008601720345,train,highly likely,probably not,It is highly likely that either 'Lily is a frog' or 'Greg is a lion' but not both.,It is probably not the case that either 'Lily is a frog' or 'Greg is a lion' but not both.,0,Either 'Lily is a frog' or 'Greg is a lion' but not both. It is highly likely that Emily is a sheep. Chances are slight that Julius is a frog. We believe that Mary moved to the garden. We doubt that if 'Mary moved to the garden' or 'Emily is a sheep' or both then John grabbed the apple. There is a very good chance that if 'Julius is a frog and Mary moved to the garden' then Daniel left the milk. It is impossible that if either 'Mary moved to the garden' or 'Julius is a frog' but not both then Bernhard is green.,There is a very good chance that 'Mary moved to the garden' or 'John 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.9::factA. 0.1::factB. 0.75::factC. %hop1 0.2::factX:-or(factC,factA). 0.8::factY:-and(factB,factC). 0.0::factZ:-xor(factC,factB). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.795,0.7307461492298459,train,very good chance,little chance,There is a very good chance that 'Mary moved to the garden' or 'John grabbed the apple' or both.,There is little chance that 'Mary moved to the garden' or 'John grabbed the apple' or both.,1,'Mary moved to the garden' or 'John grabbed the apple' or both. It is improbable that John went to the hallway. There is a better than even chance that Lily is a frog. Chances are about even that Gertrude is a cat. It is unlikely that if 'John went to the hallway' or 'Lily is a frog' or both then Bernhard is a swan. It is probable that if 'Gertrude is a cat' or 'Lily is a frog' or both then Greg is green. It is probable that if either 'John went to the hallway' or 'Lily is a frog' but not both then Brian is gray.,It is probably not the case that either 'Lily is a frog' or 'Greg 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.6::factB. 0.5::factC. %hop1 0.2::factX:-or(factA,factB). 0.7::factY:-or(factC,factB). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.32,0.6069213842768554,train,probably not,we believe,It is probably not the case that either 'Lily is a frog' or 'Greg is green' but not both.,We believe that either 'Lily is a frog' or 'Greg is green' but not both.,1,Either 'Lily is a frog' or 'Greg is green' but not both. It is probably not the case that Sandra took the football. It is impossible that Winona is a mouse. It is highly unlikely that John went to the garden. We doubt that if either 'John went to the garden' or 'Winona is a mouse' but not both then Daniel left the apple. It is certain that if 'Winona is a mouse and John went to the garden' then Brian is a lion. It is unlikely that if 'John went to the garden and Winona is a mouse' then Greg is a swan.,It is impossible that either 'Greg is a swan' 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.25::factA. 0.0::factB. 0.05::factC. %hop1 0.2::factX:-xor(factC,factB). 1.0::factY:-and(factB,factC). 0.2::factZ:-and(factC,factB). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.0,0.7473494698939788,train,impossible,highly likely,It is impossible that either 'Greg is a swan' or 'Winona is a mouse' but not both.,It is highly likely that either 'Greg is a swan' or 'Winona is a mouse' but not both.,1,Either 'Greg is a swan' or 'Winona is a mouse' but not both. There is a better than even chance that Julius is a frog. Chances are slight that Greg is yellow. Chances are about even that Emily is a wolf. There is little chance that if either 'Greg is yellow' or 'Julius is a frog' but not both then Antoine is thirsty. It is unlikely that if 'Julius is a frog and Greg is yellow' then Bernhard is a swan. It is certain that if either 'Julius is a frog' or 'Greg is yellow' but not both then Sandra left the football.,It is probable that 'Emily is a wolf and Sandra 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.6::factA. 0.1::factB. 0.5::factC. %hop1 0.1::factX:-xor(factB,factA). 0.2::factY:-and(factA,factB). 1.0::factZ:-xor(factA,factB). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.29,0.3078615723144629,train,probably not,probable,It is probably not the case that 'Emily is a wolf and Sandra left the football'.,It is probable that 'Emily is a wolf and Sandra left the football'.,0,'Emily is a wolf and Sandra left the football'. It is almost certain that Jeff discarded the milk. There is almost no chance that Bernhard is gray. It is probably the case that Greg is a frog. It is highly unlikely that if either 'Jeff discarded the milk' or 'Bernhard is gray' but not both then Julius is yellow. There is almost no chance that if 'Greg is a frog' or 'Jeff discarded the milk' or both then John took the apple. Chances are slight that if 'Jeff discarded the milk' or 'Greg is a frog' or both then Brian is a lion.,There is almost no chance that 'John took the apple 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.95::factA. 0.02::factB. 0.7::factC. %hop1 0.05::factX:-xor(factA,factB). 0.02::factY:-or(factC,factA). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.019,0.2558511702340468,train,almost no chance,likely,There is almost no chance that 'John took the apple and Jeff discarded the milk'.,It is likely that 'John took the apple and Jeff discarded the milk'.,1,'John took the apple and Jeff discarded the milk'. There is a very good chance that Bernhard is a lion. It is highly likely that Lily is green. It is probably the case that Mary took the football. It is highly likely that if either 'Lily is green' or 'Mary took the football' but not both then Fred went to the garden. There is little chance that if either 'Lily is green' or 'Bernhard is a lion' but not both then Brian is a frog. We believe that if 'Mary took the football and Bernhard is a lion' then Greg is yellow.,There is little chance that 'Brian is a frog' or 'Mary took 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.8::factA. 0.9::factB. 0.7::factC. %hop1 0.9::factX:-xor(factB,factC). 0.1::factY:-xor(factB,factA). 0.75::factZ:-and(factC,factA). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.7078,0.29445889177835566,train,probable,little chance,It is probable that 'Brian is a frog' or 'Mary took the football' or both.,There is little chance that 'Brian is a frog' or 'Mary took the football' or both.,0,'Brian is a frog' or 'Mary took the football' or both. It is highly unlikely that Jessica is a cat. There is a very good chance that Julius is a swan. It is impossible that Bernhard is gray. We believe that if 'Julius is a swan and Bernhard is gray' then Jeff left the apple. It is highly likely that if either 'Julius is a swan' or 'Jessica is a cat' but not both then Winona is a mouse. It is likely that if 'Bernhard is gray' or 'Julius is a swan' or both then John dropped the apple.,We believe that 'Winona is a mouse' or 'John 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.8::factB. 0.0::factC. %hop1 0.75::factX:-and(factB,factC). 0.9::factY:-xor(factB,factA). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.7742000000000001,0.22304460892178435,train,we believe,chances are slight,We believe that 'Winona is a mouse' or 'John dropped the apple' or both.,Chances are slight that 'Winona is a mouse' or 'John dropped the apple' or both.,1,'Winona is a mouse' or 'John dropped the apple' or both. There is almost no chance that John left the football. It is probably the case that Julius is a frog. It is likely that Brian is a swan. It is impossible that if 'John left the football' or 'Julius is a frog' or both then Greg is a lion. We believe that if either 'Brian is a swan' or 'Julius is a frog' but not both then Bernhard is white. It is almost certain that if either 'John left the football' or 'Brian is a swan' but not both then Mary took the milk.,Chances are about even that 'Brian is a swan 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.02::factA. 0.7::factB. 0.7::factC. %hop1 0.0::factX:-or(factA,factB). 0.75::factY:-xor(factC,factB). 0.95::factZ:-xor(factA,factC). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.48999999999999994,0.07481496299259852,train,about even,almost certain,Chances are about even that 'Brian is a swan and Julius is a frog'.,It is almost certain that 'Brian is a swan and Julius is a frog'.,1,'Brian is a swan and Julius is a frog'. It is probably not the case that Winona is a wolf. We doubt that Mary dropped the apple. Chances are slight that Lily is yellow. We believe that if either 'Mary dropped the apple' or 'Lily is yellow' but not both then Bill got the milk there. It is probable that if 'Lily is yellow' or 'Mary dropped the apple' or both then Emily is a cat. It is probably the case that if 'Winona is a wolf and Lily is yellow' then Brian is a frog.,It is probably not the case that 'Lily is yellow' or 'Emily 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.25::factA. 0.2::factB. 0.1::factC. %hop1 0.75::factX:-xor(factB,factC). 0.7::factY:-or(factC,factB). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.22600000000000003,0.6203240648129625,train,probably not,very good chance,It is probably not the case that 'Lily is yellow' or 'Emily is a cat' or both.,There is a very good chance that 'Lily is yellow' or 'Emily is a cat' or both.,1,'Lily is yellow' or 'Emily is a cat' or both. There is almost no chance that John put down the apple. It is almost certain that Fred moved to the office. There is little chance that Brian is a rhino. There is a better than even chance that if 'Brian is a rhino and Fred moved to the office' then Emily is a mouse. It is likely that if 'John put down the apple and Brian is a rhino' then Julius is a frog. Chances are slight that if 'Fred moved to the office' or 'John put down the apple' or both then Mary grabbed the milk.,Chances are slight that 'Brian is a rhino 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.02::factA. 0.95::factB. 0.1::factC. %hop1 0.6::factX:-and(factC,factB). 0.7::factY:-and(factA,factC). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.09500000000000001,0.05561112222444489,train,chances are slight,we believe,Chances are slight that 'Brian is a rhino and Fred moved to the office'.,We believe that 'Brian is a rhino and Fred moved to the office'.,1,'Brian is a rhino and Fred moved to the office'. It is almost certain that Sumit is bored. Chances are slight that Brian is a frog. It is probable that Bernhard is yellow. It is impossible that if either 'Sumit is bored' or 'Bernhard is yellow' but not both then John dropped the milk. It is improbable that if either 'Sumit is bored' or 'Bernhard is yellow' but not both then Lily is a frog. It is probably not the case that if 'Brian is a frog' or 'Bernhard is yellow' or both then Mary got the football.,It is probable that 'Sumit is bored 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. 0.1::factB. 0.7::factC. %hop1 0.0::factX:-xor(factA,factC). 0.1::factY:-xor(factA,factC). 0.25::factZ:-or(factB,factC). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.028500000000000008,0.015603120624124825,train,almost no chance,probable,There is almost no chance that 'Sumit is bored and Lily is a frog'.,It is probable that 'Sumit is bored and Lily is a frog'.,0,'Sumit is bored and Lily is a frog'. It is highly likely that Lily is green. There is a better than even chance that John picked up the apple. There is little chance that Julius is gray. It is certain that if 'Julius is gray and John picked up the apple' then Brian is a lion. It is probable that if 'John picked up the apple and Lily is green' then Greg is a frog. It is probably not the case that if 'Julius is gray' or 'John picked up the apple' or both then Mary is in the bathroom.,There is a very good chance that either 'Lily is green' 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.9::factA. 0.6::factB. 0.1::factC. %hop1 1.0::factX:-and(factC,factB). 0.7::factY:-and(factB,factA). 0.25::factZ:-or(factC,factB). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.82,0.03280656131226245,train,very good chance,we doubt,There is a very good chance that either 'Lily is green' or 'Julius is gray' but not both.,We doubt that either 'Lily is green' or 'Julius is gray' but not both.,1,Either 'Lily is green' or 'Julius is gray' but not both. There is a better than even chance that Daniel left the apple. It is probably not the case that Greg is yellow. It is improbable that Lily is green. We believe that if 'Daniel left the apple' or 'Greg is yellow' or both then John went to the bedroom. We doubt that if either 'Lily is green' or 'Daniel left the apple' but not both then Jessica is a cat. There is a very good chance that if 'Greg is yellow' or 'Daniel left the apple' or both then Mary moved to the garden.,There is a very good chance that 'Lily is green' 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 0.6::factA. 0.25::factB. 0.1::factC. %hop1 0.75::factX:-or(factA,factB). 0.2::factY:-xor(factC,factA). 0.8::factZ:-or(factB,factA). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.20800000000000002,0.39927985597119425,train,we doubt,very good chance,We doubt that 'Lily is green' or 'Jessica is a cat' or both.,There is a very good chance that 'Lily is green' or 'Jessica is a cat' or both.,0,'Lily is green' or 'Jessica is a cat' or both. Chances are about even that John went to the hallway. It is highly unlikely that Bernhard is a rhino. It is probably the case that Mary left the apple. Chances are about even that if either 'Bernhard is a rhino' or 'John went to the hallway' but not both then Gertrude is a wolf. There is a better than even chance that if 'Bernhard is a rhino' or 'John went to the hallway' or both then Julius is a frog. Chances are about even that if 'Mary left the apple and Bernhard is a rhino' then Greg is a swan.,We doubt that 'Mary left the apple and Gertrude 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.05::factB. 0.7::factC. %hop1 0.5::factX:-xor(factB,factA). 0.6::factY:-or(factB,factA). 0.5::factZ:-and(factC,factB). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.17499999999999996,0.6723344668933787,train,we doubt,probable,We doubt that 'Mary left the apple and Gertrude is a wolf'.,It is probable that 'Mary left the apple and Gertrude is a wolf'.,1,'Mary left the apple and Gertrude is a wolf'. It is improbable that Bernhard is a swan. It is likely that Mary discarded the milk. We doubt that Jessica is a mouse. There is a very good chance that if 'Mary discarded the milk' or 'Bernhard is a swan' or both then Julius is white. There is little chance that if 'Mary discarded the milk' or 'Jessica is a mouse' or both then Jeff went to the bedroom. There is little chance that if 'Jessica is a mouse' or 'Mary discarded the milk' or both then Greg is yellow.,There is a very good chance that either 'Bernhard is a swan' 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.1::factA. 0.7::factB. 0.2::factC. %hop1 0.8::factX:-or(factB,factA). 0.1::factY:-or(factB,factC). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.26,0.3156631326265253,train,probably not,very good chance,It is probably not the case that either 'Bernhard is a swan' or 'Jessica is a mouse' but not both.,There is a very good chance that either 'Bernhard is a swan' or 'Jessica is a mouse' but not both.,0,Either 'Bernhard is a swan' or 'Jessica is a mouse' but not both. It is probably the case that Julius is a swan. It is highly unlikely that Daniel dropped the milk. There is almost no chance that Lily is green. Chances are about even that if 'Daniel dropped the milk and Julius is a swan' then Sandra got the football. It is unlikely that if either 'Lily is green' or 'Julius is a swan' but not both then Brian is yellow. It is certain that if 'Daniel dropped the milk and Julius is a swan' then John went to the garden.,It is probably the case that either 'Brian is yellow' or 'John 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.7::factA. 0.05::factB. 0.02::factC. %hop1 0.5::factX:-and(factB,factA). 0.2::factY:-xor(factC,factA). 1.0::factZ:-and(factB,factA). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.15968000000000002,0.7253450690138028,train,we doubt,probably,We doubt that either 'Brian is yellow' or 'John went to the garden' but not both.,It is probably the case that either 'Brian is yellow' or 'John went to the garden' but not both.,0,Either 'Brian is yellow' or 'John went to the garden' but not both. It is likely that Brian is a swan. It is highly unlikely that Bernhard is a rhino. We believe that Jeff went to the bedroom. It is unlikely that if 'Bernhard is a rhino' or 'Brian is a swan' or both then John discarded the apple. It is highly likely that if 'Brian is a swan' or 'Jeff went to the bedroom' or both then Mary moved to the garden. We doubt that if either 'Bernhard is a rhino' or 'Brian is a swan' but not both then Lily is a lion.,It is impossible that 'Jeff went to the bedroom 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.7::factA. 0.05::factB. 0.75::factC. %hop1 0.2::factX:-or(factB,factA). 0.9::factY:-or(factA,factC). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.675,0.09981996399279856,train,probable,impossible,It is probable that 'Jeff went to the bedroom and Mary moved to the garden'.,It is impossible that 'Jeff went to the bedroom and Mary moved to the garden'.,0,'Jeff went to the bedroom and Mary moved to the garden'. It is certain that Bernhard is a frog. It is probably not the case that John went to the garden. We believe that Julius is a rhino. There is almost no chance that if 'John went to the garden and Julius is a rhino' then Bill left the football. It is highly unlikely that if 'Bernhard is a frog' or 'John went to the garden' or both then Mary dropped the milk. It is highly unlikely that if 'Julius is a rhino and John went to the garden' then Brian is yellow.,We doubt that 'Bernhard is a frog' or 'Bill 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 1.0::factA. 0.25::factB. 0.75::factC. %hop1 0.02::factX:-and(factB,factC). 0.05::factY:-or(factA,factB). 0.05::factZ:-and(factC,factB). %hop2 conclusion:-or(factA,factX). query(conclusion). ",1.0,0.21864372874574914,train,certain,we doubt,It is certain that 'Bernhard is a frog' or 'Bill left the football' or both.,We doubt that 'Bernhard is a frog' or 'Bill left the football' or both.,0,'Bernhard is a frog' or 'Bill left the football' or both. There is little chance that Bernhard is a rhino. There is a better than even chance that Winona is a wolf. It is highly unlikely that Jeff moved to the garden. It is highly likely that if 'Winona is a wolf' or 'Bernhard is a rhino' or both then Julius is white. There is little chance that if 'Bernhard is a rhino and Jeff moved to the garden' then John got the apple. Chances are slight that if 'Bernhard is a rhino and Jeff moved to the garden' then Lily is green.,There is a better than even chance that 'John got the apple and Jeff 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.05::factC. %hop1 0.9::factX:-or(factB,factA). 0.1::factY:-and(factA,factC). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.0005000000000000001,0.45249049809961994,train,impossible,better than even,It is impossible that 'John got the apple and Jeff moved to the garden'.,There is a better than even chance that 'John got the apple and Jeff moved to the garden'.,0,'John got the apple and Jeff moved to the garden'. It is almost certain that Jeff went to the hallway. It is highly likely that Lily is green. It is probably not the case that Julius is gray. There is a better than even chance that if 'Jeff went to the hallway and Julius is gray' then Emily is a sheep. Chances are about even that if 'Jeff went to the hallway and Julius is gray' then Mary left the football. It is certain that if either 'Jeff went to the hallway' or 'Julius is gray' but not both then Bernhard is white.,Chances are slight that 'Mary left the football and Jeff 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.95::factA. 0.9::factB. 0.25::factC. %hop1 0.6::factX:-and(factA,factC). 0.5::factY:-and(factA,factC). 1.0::factZ:-xor(factA,factC). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.11875000000000001,0.5009001800360072,train,chances are slight,highly likely,Chances are slight that 'Mary left the football and Jeff went to the hallway'.,It is highly likely that 'Mary left the football and Jeff went to the hallway'.,1,'Mary left the football and Jeff went to the hallway'. It is certain that Brian is a lion. Chances are slight that Sandra got the milk. There is little chance that Greg is gray. It is certain that if 'Sandra got the milk' or 'Brian is a lion' or both then Gertrude is a cat. It is unlikely that if either 'Sandra got the milk' or 'Brian is a lion' but not both then John dropped the apple. There is almost no chance that if 'Sandra got the milk and Greg is gray' then Mary went to the bedroom.,There is almost no chance that either 'John dropped the apple' or 'Brian 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 1.0::factA. 0.1::factB. 0.1::factC. %hop1 1.0::factX:-or(factB,factA). 0.2::factY:-xor(factB,factA). 0.02::factZ:-and(factB,factC). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.82,0.5433086617323465,train,very good chance,almost no chance,There is a very good chance that either 'John dropped the apple' or 'Brian is a lion' but not both.,There is almost no chance that either 'John dropped the apple' or 'Brian is a lion' but not both.,0,Either 'John dropped the apple' or 'Brian is a lion' but not both. There is little chance that Sandra dropped the milk. It is certain that Bernhard is green. It is probable that Winona is a sheep. We believe that if either 'Bernhard is green' or 'Winona is a sheep' but not both then Julius is green. It is improbable that if 'Winona is a sheep and Bernhard is green' then Mary got the football. It is impossible that if 'Bernhard is green and Sandra dropped the milk' then John went to the office.,It is impossible that 'Winona is a sheep 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.1::factA. 1.0::factB. 0.7::factC. %hop1 0.75::factX:-xor(factB,factC). 0.1::factY:-and(factC,factB). 0.0::factZ:-and(factB,factA). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.0,0.3482696539307862,train,impossible,probable,It is impossible that 'Winona is a sheep and John went to the office'.,It is probable that 'Winona is a sheep and John went to the office'.,1,'Winona is a sheep and John went to the office'. There is a very good chance that Bernhard is a frog. It is improbable that Julius is a lion. It is probably the case that John went to the garden. It is certain that if either 'John went to the garden' or 'Julius is a lion' but not both then Greg is a frog. It is probable that if 'Bernhard is a frog and John went to the garden' then Daniel got the milk. There is a very good chance that if 'Bernhard is a frog' or 'John went to the garden' or both then Fred discarded the apple.,It is impossible that either 'John went to the garden' 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.8::factA. 0.1::factB. 0.7::factC. %hop1 1.0::factX:-xor(factC,factB). 0.7::factY:-and(factA,factC). 0.8::factZ:-or(factA,factC). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6599999999999999,0.47589517903580714,train,probably,impossible,It is probably the case that either 'John went to the garden' or 'Julius is a lion' but not both.,It is impossible that either 'John went to the garden' or 'Julius is a lion' but not both.,0,Either 'John went to the garden' or 'Julius is a lion' but not both. There is little chance that Emily is a mouse. It is probably the case that Sandra got the milk. It is probably not the case that John went to the office. It is almost certain that if 'John went to the office and Sandra got the milk' then Greg is yellow. It is likely that if either 'John went to the office' or 'Sandra got the milk' but not both then Lily is a frog. It is probable that if 'Emily is a mouse' or 'Sandra got the milk' or both then Mary left the football.,There is almost no chance that 'Emily is a mouse 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.7::factB. 0.25::factC. %hop1 0.95::factX:-and(factC,factB). 0.7::factY:-xor(factC,factB). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.016624999999999997,0.4062812562512503,train,almost no chance,about even,There is almost no chance that 'Emily is a mouse and Greg is yellow'.,Chances are about even that 'Emily is a mouse and Greg is yellow'.,1,'Emily is a mouse and Greg is yellow'. There is a very good chance that John went to the garden. Chances are slight that Lily is a rhino. It is impossible that Bernhard is gray. It is highly unlikely that if 'Bernhard is gray and Lily is a rhino' then Winona is a mouse. It is certain that if either 'Lily is a rhino' or 'John went to the garden' but not both then Julius is white. There is little chance that if 'John went to the garden and Lily is a rhino' then Emily is a sheep.,It is impossible that either 'Winona is a mouse' 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.8::factA. 0.1::factB. 0.0::factC. %hop1 0.05::factX:-and(factC,factB). 1.0::factY:-xor(factB,factA). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.008000000000000004,0.13302660532106422,train,impossible,very good chance,It is impossible that either 'Winona is a mouse' or 'Emily is a sheep' but not both.,There is a very good chance that either 'Winona is a mouse' or 'Emily is a sheep' but not both.,1,Either 'Winona is a mouse' or 'Emily is a sheep' but not both. We believe that Mary moved to the office. There is a better than even chance that Julius is a frog. It is almost certain that Greg is yellow. There is little chance that if either 'Mary moved to the office' or 'Greg is yellow' but not both then Jason is bored. It is probable that if 'Julius is a frog and Greg is yellow' then John took the football. There is almost no chance that if 'Julius is a frog' or 'Mary moved to the office' or both then Sandra dropped the milk.,It is impossible that 'Mary moved to the office 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.75::factA. 0.6::factB. 0.95::factC. %hop1 0.1::factX:-xor(factA,factC). 0.7::factY:-and(factB,factC). 0.02::factZ:-or(factB,factA). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.003750000000000005,0.05961192238447689,train,impossible,certain,It is impossible that 'Mary moved to the office and Jason is bored'.,It is certain that 'Mary moved to the office and Jason is bored'.,1,'Mary moved to the office and Jason is bored'. It is highly likely that Antoine is thirsty. There is a better than even chance that Jessica is a mouse. It is almost certain that Sandra left the apple. It is highly unlikely that if 'Antoine is thirsty' or 'Jessica is a mouse' or both then Lily is gray. It is impossible that if 'Jessica is a mouse and Antoine is thirsty' then Bernhard is a swan. It is highly likely that if 'Sandra left the apple and Antoine is thirsty' then Mary moved to the office.,There is a better than even chance that 'Lily is gray 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.9::factA. 0.6::factB. 0.95::factC. %hop1 0.05::factX:-or(factA,factB). 0.0::factY:-and(factB,factA). 0.9::factZ:-and(factC,factA). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.029999999999999995,0.667133426685337,train,almost no chance,better than even,There is almost no chance that 'Lily is gray and Jessica is a mouse'.,There is a better than even chance that 'Lily is gray and Jessica is a mouse'.,0,'Lily is gray and Jessica is a mouse'. There is a very good chance that Lily is white. There is a very good chance that Gertrude is a sheep. There is a very good chance that Emily is a mouse. We believe that if 'Emily is a mouse and Lily is white' then Julius is a swan. It is highly unlikely that if 'Emily is a mouse and Lily is white' then John took the apple. It is highly likely that if 'Gertrude is a sheep' or 'Lily is white' or both then Mary went to the bedroom.,It is certain that 'Julius is a swan' 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.8::factA. 0.8::factB. 0.8::factC. %hop1 0.75::factX:-and(factC,factA). 0.05::factY:-and(factC,factA). 0.9::factZ:-or(factB,factA). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.4880000000000001,0.21404280856171234,train,about even,certain,Chances are about even that 'Julius is a swan' or 'John took the apple' or both.,It is certain that 'Julius is a swan' or 'John took the apple' or both.,0,'Julius is a swan' or 'John took the apple' or both. It is certain that John discarded the apple. We doubt that Emily is a wolf. It is likely that Julius is gray. It is probable that if 'John discarded the apple' or 'Julius is gray' or both then Brian is a lion. There is a better than even chance that if 'Julius is gray' or 'John discarded the apple' or both then Bernhard is a rhino. There is a very good chance that if 'John discarded the apple' or 'Julius is gray' or both then Lily is a swan.,It is almost certain that 'Lily is a swan' 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 1.0::factA. 0.2::factB. 0.7::factC. %hop1 0.7::factX:-or(factA,factC). 0.6::factY:-or(factC,factA). 0.8::factZ:-or(factA,factC). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.94,0.7573514702940588,train,almost certain,almost no chance,It is almost certain that 'Lily is a swan' or 'Julius is gray' or both.,There is almost no chance that 'Lily is a swan' or 'Julius is gray' or both.,1,'Lily is a swan' or 'Julius is gray' or both. It is certain that John moved to the office. There is little chance that Brian is a rhino. It is almost certain that Sandra dropped the milk. It is highly likely that if either 'Sandra dropped the milk' or 'John moved to the office' but not both then Lily is a frog. It is probable that if either 'John moved to the office' or 'Sandra dropped the milk' but not both then Jessica is a cat. It is highly likely that if 'Brian is a rhino' or 'John moved to the office' or both then Jeff left the apple.,There is almost no chance that 'Jessica is a cat' 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 1.0::factA. 0.1::factB. 0.95::factC. %hop1 0.9::factX:-xor(factC,factA). 0.7::factY:-xor(factA,factC). 0.9::factZ:-or(factB,factA). %hop2 conclusion:-or(factY,factA). query(conclusion). ",1.0,0.7173434686937388,train,certain,almost no chance,It is certain that 'Jessica is a cat' or 'John moved to the office' or both.,There is almost no chance that 'Jessica is a cat' or 'John moved to the office' or both.,0,'Jessica is a cat' or 'John moved to the office' or both. It is highly likely that Brian is a rhino. It is probably the case that Greg is white. Chances are about even that John went to the hallway. It is probable that if 'Brian is a rhino and Greg is white' then Julius is yellow. It is unlikely that if either 'John went to the hallway' or 'Greg is white' but not both then Lily is a swan. It is highly likely that if either 'Greg is white' or 'John went to the hallway' but not both then Emily is a mouse.,It is probably not the case that 'Greg 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.9::factA. 0.7::factB. 0.5::factC. %hop1 0.7::factX:-and(factA,factB). 0.2::factY:-xor(factC,factB). 0.9::factZ:-xor(factB,factC). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.315,0.7529505901180236,train,probably not,we believe,It is probably not the case that 'Greg is white and Emily is a mouse'.,We believe that 'Greg is white and Emily is a mouse'.,1,'Greg is white and Emily is a mouse'. It is almost certain that Yann is tired. There is a very good chance that Julius is gray. There is almost no chance that Winona is a wolf. It is certain that if 'Julius is gray and Yann is tired' then Jeff dropped the apple. It is probable that if 'Yann is tired' or 'Julius is gray' or both then Mary left the football. It is impossible that if either 'Yann is tired' or 'Winona is a wolf' but not both then Lily is a swan.,We believe that 'Jeff dropped the apple and Yann 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.95::factA. 0.8::factB. 0.02::factC. %hop1 1.0::factX:-and(factB,factA). 0.7::factY:-or(factA,factB). 0.0::factZ:-xor(factA,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.76,0.3330666133226645,train,we believe,chances are slight,We believe that 'Jeff dropped the apple and Yann is tired'.,Chances are slight that 'Jeff dropped the apple and Yann is tired'.,1,'Jeff dropped the apple and Yann is tired'. It is almost certain that Brian is a swan. It is probable that Bill went to the kitchen. It is impossible that Greg is a rhino. It is impossible that if 'Brian is a swan and Bill went to the kitchen' then Lily is green. There is a better than even chance that if either 'Brian is a swan' or 'Greg is a rhino' but not both then Bernhard is white. It is certain that if 'Brian is a swan' or 'Greg is a rhino' or both then Emily is a mouse.,It is improbable that 'Bernhard 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.95::factA. 0.7::factB. 0.0::factC. %hop1 0.0::factX:-and(factA,factB). 0.6::factY:-xor(factA,factC). 1.0::factZ:-or(factA,factC). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.57,0.2854570914182837,train,better than even,improbable,There is a better than even chance that 'Bernhard is white and Emily is a mouse'.,It is improbable that 'Bernhard is white and Emily is a mouse'.,0,'Bernhard is white and Emily is a mouse'. It is unlikely that Greg is white. It is likely that Winona is a cat. We believe that Bernhard is a swan. It is almost certain that if 'Winona is a cat and Bernhard is a swan' then Emily is a sheep. It is highly likely that if 'Winona is a cat' or 'Bernhard is a swan' or both then Julius is a frog. It is probably the case that if 'Bernhard is a swan and Winona is a cat' then Mary went to the office.,Chances are about even that either 'Bernhard is a swan' or 'Winona 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.2::factA. 0.7::factB. 0.75::factC. %hop1 0.95::factX:-and(factB,factC). 0.9::factY:-or(factB,factC). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.4,0.5439087817563513,train,about even,almost no chance,Chances are about even that either 'Bernhard is a swan' or 'Winona is a cat' but not both.,There is almost no chance that either 'Bernhard is a swan' or 'Winona is a cat' but not both.,1,Either 'Bernhard is a swan' or 'Winona is a cat' but not both. It is unlikely that Greg is yellow. There is almost no chance that Jessica is a mouse. Chances are about even that Mary went to the bedroom. It is impossible that if 'Jessica is a mouse and Greg is yellow' then Bernhard is white. It is almost certain that if 'Greg is yellow and Mary went to the bedroom' then John moved to the garden. There is little chance that if 'Mary went to the bedroom and Greg is yellow' then Winona is a sheep.,Chances are about even that 'Winona is a sheep 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.02::factB. 0.5::factC. %hop1 0.0::factX:-and(factB,factA). 0.95::factY:-and(factA,factC). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.0,0.2834566913382677,train,impossible,about even,It is impossible that 'Winona is a sheep and Bernhard is white'.,Chances are about even that 'Winona is a sheep and Bernhard is white'.,0,'Winona is a sheep and Bernhard is white'. It is impossible that Lily is a swan. It is certain that Winona is a mouse. It is impossible that Greg is a rhino. It is certain that if 'Winona is a mouse' or 'Lily is a swan' or both then Julius is yellow. It is improbable that if 'Lily is a swan' or 'Greg is a rhino' or both then Mary went to the hallway. We doubt that if 'Greg is a rhino and Lily is a swan' then John discarded the apple.,It is certain that either 'Julius is yellow' or 'Mary went to the hallway' 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. 1.0::factB. 0.0::factC. %hop1 1.0::factX:-or(factB,factA). 0.1::factY:-or(factA,factC). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",1.0,0.5103020604120824,train,certain,unlikely,It is certain that either 'Julius is yellow' or 'Mary went to the hallway' but not both.,It is unlikely that either 'Julius is yellow' or 'Mary went to the hallway' but not both.,1,Either 'Julius is yellow' or 'Mary went to the hallway' but not both. It is probably not the case that Bernhard is white. It is likely that Daniel put down the milk. Chances are about even that Greg is a rhino. It is probably not the case that if either 'Daniel put down the milk' or 'Bernhard is white' but not both then Gertrude is a sheep. It is probably not the case that if 'Bernhard is white and Daniel put down the milk' then Mary went to the kitchen. It is probably not the case that if either 'Greg is a rhino' or 'Bernhard is white' but not both then Emily is a mouse.,It is likely that 'Greg 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.25::factA. 0.7::factB. 0.5::factC. %hop1 0.25::factX:-xor(factB,factA). 0.25::factY:-and(factA,factB). 0.25::factZ:-xor(factC,factA). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.09374999999999999,0.4728945789157832,train,improbable,likely,It is improbable that 'Greg is a rhino and Emily is a mouse'.,It is likely that 'Greg is a rhino and Emily is a mouse'.,0,'Greg is a rhino and Emily is a mouse'. There is a very good chance that Bill went to the garden. We doubt that Gertrude is a sheep. There is a very good chance that Bernhard is a rhino. There is almost no chance that if 'Bill went to the garden' or 'Bernhard is a rhino' or both then Emily is a mouse. It is likely that if either 'Bill went to the garden' or 'Bernhard is a rhino' but not both then Brian is white. Chances are about even that if 'Bill went to the garden' or 'Gertrude is a sheep' or both then Lily is green.,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.8::factA. 0.2::factB. 0.8::factC. %hop1 0.02::factX:-or(factA,factC). 0.7::factY:-xor(factA,factC). 0.5::factZ:-or(factA,factB). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.004480000000000002,0.7021404280856172,train,impossible,better than even,It is impossible that 'Brian is white and Emily is a mouse'.,There is a better than even chance that 'Brian is white and Emily is a mouse'.,1,'Brian is white and Emily is a mouse'. It is improbable that Brian is a lion. Chances are about even that Bernhard is a frog. Chances are about even that Mary went to the office. We doubt that if 'Mary went to the office' or 'Brian is a lion' or both then John discarded the apple. There is a very good chance that if either 'Brian is a lion' or 'Mary went to the office' but not both then Sandra took the football. Chances are about even that if 'Brian is a lion' or 'Bernhard is a frog' or both then Greg is a rhino.,There is a better than even chance that 'Greg is a rhino' or 'Sandra took 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.5::factB. 0.5::factC. %hop1 0.2::factX:-or(factC,factA). 0.8::factY:-xor(factA,factC). 0.5::factZ:-or(factA,factB). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.5650000000000001,0.628125625125025,train,better than even,highly unlikely,There is a better than even chance that 'Greg is a rhino' or 'Sandra took the football' or both.,It is highly unlikely that 'Greg is a rhino' or 'Sandra took the football' or both.,1,'Greg is a rhino' or 'Sandra took the football' or both. There is almost no chance that Jeff discarded the milk. It is certain that John went to the garden. It is probable that Julius is yellow. We doubt that if 'Jeff discarded the milk' or 'Julius is yellow' or both then Lily is green. It is probably not the case that if 'Julius is yellow and Jeff discarded the milk' then Gertrude is a mouse. There is almost no chance that if either 'Julius is yellow' or 'Jeff discarded the milk' but not both then Brian is a rhino.,It is certain that 'Lily is green' or 'John 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.02::factA. 1.0::factB. 0.7::factC. %hop1 0.2::factX:-or(factA,factC). 0.25::factY:-and(factC,factA). 0.02::factZ:-xor(factC,factA). %hop2 conclusion:-or(factX,factB). query(conclusion). ",1.0,0.7821564312862572,train,certain,almost no chance,It is certain that 'Lily is green' or 'John went to the garden' or both.,There is almost no chance that 'Lily is green' or 'John went to the garden' or both.,1,'Lily is green' or 'John went to the garden' or both. Chances are slight that Julius is gray. It is impossible that Bernhard is a frog. It is highly unlikely that Mary went to the hallway. There is little chance that if either 'Bernhard is a frog' or 'Mary went to the hallway' but not both then Emily is a sheep. Chances are slight that if either 'Mary went to the hallway' or 'Bernhard is a frog' but not both then Brian is gray. It is likely that if 'Julius is gray' or 'Bernhard is a frog' or both then Lily is yellow.,There is a very good chance that 'Lily 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.1::factA. 0.0::factB. 0.05::factC. %hop1 0.1::factX:-xor(factB,factC). 0.1::factY:-xor(factC,factB). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.10000000000000002,0.7265453090618124,train,chances are slight,very good chance,Chances are slight that 'Lily is yellow' or 'Julius is gray' or both.,There is a very good chance that 'Lily is yellow' or 'Julius is gray' or both.,0,'Lily is yellow' or 'Julius is gray' or both. It is impossible that Bernhard is gray. There is a very good chance that Sandra left the football. There is a better than even chance that John went to the office. It is impossible that if either 'Bernhard is gray' or 'John went to the office' but not both then Lily is a lion. There is a very good chance that if either 'Sandra left the football' or 'Bernhard is gray' but not both then Brian is a swan. There is a very good chance that if 'Bernhard is gray and John went to the office' then Julius is a frog.,It is improbable that 'Bernhard is gray' 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.8::factB. 0.6::factC. %hop1 0.0::factX:-xor(factA,factC). 0.8::factY:-xor(factB,factA). 0.8::factZ:-and(factA,factC). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.6,0.5873174634926985,train,better than even,improbable,There is a better than even chance that 'Bernhard is gray' or 'John went to the office' or both.,It is improbable that 'Bernhard is gray' or 'John went to the office' or both.,0,'Bernhard is gray' or 'John went to the office' or both. It is probably the case that Gertrude is a cat. It is probably not the case that Bernhard is a rhino. There is little chance that John got the apple. There is almost no chance that if either 'John got the apple' or 'Bernhard is a rhino' but not both then Jessica is a cat. We doubt that if 'Gertrude is a cat' or 'John got the apple' or both then Sandra dropped the milk. It is highly unlikely that if either 'Gertrude is a cat' or 'Bernhard is a rhino' but not both then Mary moved to the office.,It is likely that 'Gertrude is a cat 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.7::factA. 0.25::factB. 0.1::factC. %hop1 0.02::factX:-xor(factC,factB). 0.2::factY:-or(factA,factC). 0.05::factZ:-xor(factA,factB). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.07,0.2590518103620724,train,highly unlikely,likely,It is highly unlikely that 'Gertrude is a cat and John got the apple'.,It is likely that 'Gertrude is a cat and John got the apple'.,0,'Gertrude is a cat and John got the apple'. We doubt that Julius is white. There is almost no chance that Mary is in the school. It is certain that Bernhard is gray. There is almost no chance that if 'Bernhard is gray and Julius is white' then Emily is a cat. There is little chance that if 'Mary is in the school' or 'Julius is white' or both then Sandra left the football. It is highly likely that if 'Julius is white and Mary is in the school' then John discarded the apple.,It is impossible that 'Emily is a cat 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.2::factA. 0.02::factB. 1.0::factC. %hop1 0.02::factX:-and(factC,factA). 0.1::factY:-or(factB,factA). 0.9::factZ:-and(factA,factB). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.004000000000000002,0.5697139427885577,train,impossible,almost certain,It is impossible that 'Emily is a cat and Julius is white'.,It is almost certain that 'Emily is a cat and Julius is white'.,1,'Emily is a cat and Julius is white'. Chances are slight that Bernhard is green. It is highly unlikely that Julius is a swan. We doubt that Bill left the milk. Chances are about even that if either 'Bernhard is green' or 'Julius is a swan' but not both then Daniel got the football. There is little chance that if either 'Julius is a swan' or 'Bernhard is green' but not both then Jessica is a mouse. It is almost certain that if either 'Bill left the milk' or 'Bernhard is green' but not both then Mary picked up the apple.,Chances are slight that 'Julius is a swan' 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.05::factB. 0.2::factC. %hop1 0.5::factX:-xor(factA,factB). 0.1::factY:-xor(factB,factA). 0.95::factZ:-xor(factC,factA). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.14500000000000002,0.26225245049009804,train,chances are slight,better than even,Chances are slight that 'Julius is a swan' or 'Bernhard is green' or both.,There is a better than even chance that 'Julius is a swan' or 'Bernhard is green' or both.,1,'Julius is a swan' or 'Bernhard is green' or both. Chances are slight that Jessica is a cat. There is little chance that Julius is gray. It is unlikely that Mary discarded the milk. There is a better than even chance that if either 'Jessica is a cat' or 'Julius is gray' but not both then Bernhard is green. There is almost no chance that if 'Mary discarded the milk and Jessica is a cat' then Greg is a rhino. There is a better than even chance that if 'Mary discarded the milk and Julius is gray' then Brian is white.,It is probably not the case that either 'Mary discarded the milk' 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.1::factB. 0.2::factC. %hop1 0.6::factX:-xor(factA,factB). 0.02::factY:-and(factC,factA). 0.6::factZ:-and(factC,factB). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.26,0.39327865573114623,train,probably not,probable,It is probably not the case that either 'Mary discarded the milk' or 'Jessica is a cat' but not both.,It is probable that either 'Mary discarded the milk' or 'Jessica is a cat' but not both.,1,Either 'Mary discarded the milk' or 'Jessica is a cat' but not both. Chances are slight that Julius is a rhino. There is a very good chance that Mary dropped the milk. It is probably not the case that Lily is a lion. There is little chance that if 'Mary dropped the milk and Lily is a lion' then Brian is gray. It is impossible that if either 'Lily is a lion' or 'Julius is a rhino' but not both then Daniel took the apple. It is probably not the case that if either 'Julius is a rhino' or 'Mary dropped the milk' but not both then John went to the kitchen.,There is a very good chance that either 'Daniel took the apple' 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.1::factA. 0.8::factB. 0.25::factC. %hop1 0.1::factX:-and(factB,factC). 0.0::factY:-xor(factC,factA). 0.25::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.25,0.2978595719143829,train,probably not,very good chance,It is probably not the case that either 'Daniel took the apple' or 'Lily is a lion' but not both.,There is a very good chance that either 'Daniel took the apple' or 'Lily is a lion' but not both.,0,Either 'Daniel took the apple' or 'Lily is a lion' but not both. It is likely that Julius is white. It is highly likely that Antoine is thirsty. There is a very good chance that Greg is a lion. It is improbable that if 'Greg is a lion and Antoine is thirsty' then Bernhard is green. It is impossible that if either 'Antoine is thirsty' or 'Julius is white' but not both then Lily is gray. It is probably not the case that if 'Antoine is thirsty' or 'Julius is white' or both then Mary went to the garden.,We doubt that 'Greg is a lion and Mary 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.7::factA. 0.9::factB. 0.8::factC. %hop1 0.1::factX:-and(factC,factB). 0.0::factY:-xor(factB,factA). 0.25::factZ:-or(factB,factA). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.194,0.5437087417483497,train,we doubt,almost certain,We doubt that 'Greg is a lion and Mary went to the garden'.,It is almost certain that 'Greg is a lion and Mary went to the garden'.,1,'Greg is a lion and Mary went to the garden'. We doubt that Lily is a swan. It is unlikely that John discarded the apple. It is unlikely that Julius is a lion. There is a very good chance that if either 'John discarded the apple' or 'Lily is a swan' but not both then Brian is yellow. It is probably not the case that if 'Lily is a swan and John discarded the apple' then Mary left the football. It is unlikely that if 'John discarded the apple and Lily is a swan' then Daniel took the milk.,We believe that 'Brian is yellow' 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.2::factA. 0.2::factB. 0.2::factC. %hop1 0.8::factX:-xor(factB,factA). 0.25::factY:-and(factA,factB). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.328,0.6657331466293259,train,probably not,we believe,It is probably not the case that 'Brian is yellow' or 'John discarded the apple' or both.,We believe that 'Brian is yellow' or 'John discarded the apple' or both.,0,'Brian is yellow' or 'John discarded the apple' or both. It is probably not the case that Daniel left the milk. It is improbable that John went to the office. It is highly likely that Julius is a lion. It is certain that if 'Daniel left the milk and Julius is a lion' then Brian is yellow. We doubt that if 'Julius is a lion' or 'Daniel left the milk' or both then Mary dropped the milk. It is highly likely that if either 'Julius is a lion' or 'Daniel left the milk' but not both then Greg is a frog.,It is probably not the case that either 'John went 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.25::factA. 0.1::factB. 0.9::factC. %hop1 1.0::factX:-and(factA,factC). 0.2::factY:-or(factC,factA). 0.9::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.30000000000000004,0.08681736347269454,train,probably not,certain,It is probably not the case that either 'John went to the office' or 'Daniel left the milk' but not both.,It is certain that either 'John went to the office' or 'Daniel left the milk' but not both.,1,Either 'John went to the office' or 'Daniel left the milk' but not both. Chances are slight that Daniel left the football. It is probably the case that Mary moved to the office. We believe that Brian is yellow. It is almost certain that if either 'Daniel left the football' or 'Mary moved to the office' but not both then Julius is white. It is impossible that if 'Mary moved to the office' or 'Brian is yellow' or both then Jessica is a cat. There is a better than even chance that if either 'Brian is yellow' or 'Mary moved to the office' but not both then Bernhard is green.,We believe that 'Brian is yellow' 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 0.1::factA. 0.7::factB. 0.75::factC. %hop1 0.95::factX:-xor(factA,factB). 0.0::factY:-or(factB,factC). 0.6::factZ:-xor(factC,factB). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.75,0.7599519903980796,train,we believe,chances are slight,We believe that 'Brian is yellow' or 'Jessica is a cat' or both.,Chances are slight that 'Brian is yellow' or 'Jessica is a cat' or both.,1,'Brian is yellow' or 'Jessica is a cat' or both. Chances are slight that Gertrude is a mouse. It is highly likely that Brian is white. It is unlikely that Lily is a swan. Chances are about even that if 'Lily is a swan' or 'Brian is white' or both then Greg is a swan. There is a very good chance that if 'Gertrude is a mouse and Brian is white' then Mary went to the hallway. It is improbable that if 'Gertrude is a mouse and Lily is a swan' then John moved to the garden.,Chances are about even that 'Gertrude is a mouse' 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.9::factB. 0.2::factC. %hop1 0.5::factX:-or(factC,factB). 0.8::factY:-and(factA,factB). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.514,0.07821564312862572,train,about even,highly unlikely,Chances are about even that 'Gertrude is a mouse' or 'Greg is a swan' or both.,It is highly unlikely that 'Gertrude is a mouse' or 'Greg is a swan' or both.,1,'Gertrude is a mouse' or 'Greg is a swan' or both. Chances are about even that Emily is a mouse. Chances are slight that Jeff went to the bedroom. It is highly unlikely that Brian is green. It is highly likely that if 'Emily is a mouse' or 'Brian is green' or both then Julius is a lion. It is improbable that if 'Emily is a mouse' or 'Brian is green' or both then John discarded the milk. There is a better than even chance that if either 'Emily is a mouse' or 'Jeff went to the bedroom' but not both then Lily is a rhino.,It is probably the case that either 'Lily is a rhino' 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.5::factA. 0.1::factB. 0.05::factC. %hop1 0.9::factX:-or(factA,factC). 0.1::factY:-or(factA,factC). 0.6::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.32,0.07421484296859372,train,probably not,probably,It is probably not the case that either 'Lily is a rhino' or 'Brian is green' but not both.,It is probably the case that either 'Lily is a rhino' or 'Brian is green' but not both.,0,Either 'Lily is a rhino' or 'Brian is green' but not both. It is improbable that Gertrude is a mouse. Chances are about even that Greg is white. It is probably the case that Bill got the milk there. It is probably the case that if either 'Gertrude is a mouse' or 'Bill got the milk there' but not both then Fred discarded the apple. There is a better than even chance that if 'Greg is white' or 'Bill got the milk there' or both then Brian is yellow. We believe that if 'Gertrude is a mouse and Greg is white' then Julius is gray.,Chances are about even that either 'Brian is yellow' 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.1::factA. 0.5::factB. 0.7::factC. %hop1 0.7::factX:-xor(factA,factC). 0.6::factY:-or(factB,factC). 0.75::factZ:-and(factA,factB). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.41000000000000003,0.13882776555311063,train,about even,certain,Chances are about even that either 'Brian is yellow' or 'Greg is white' but not both.,It is certain that either 'Brian is yellow' or 'Greg is white' but not both.,1,Either 'Brian is yellow' or 'Greg is white' but not both. It is likely that Brian is a lion. It is probably the case that John put down the apple. There is almost no chance that Jeff discarded the milk. There is little chance that if 'Jeff discarded the milk and John put down the apple' then Mary got the milk. It is highly likely that if either 'Jeff discarded the milk' or 'John put down the apple' but not both then Bernhard is a swan. It is highly unlikely that if either 'Brian is a lion' or 'John put down the apple' but not both then Jessica is a sheep.,Chances are about even that 'Brian is a lion 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.7::factA. 0.7::factB. 0.02::factC. %hop1 0.1::factX:-and(factC,factB). 0.9::factY:-xor(factC,factB). 0.05::factZ:-xor(factA,factB). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.014000000000000007,0.15743148629725945,train,almost no chance,about even,There is almost no chance that 'Brian is a lion and Jeff discarded the milk'.,Chances are about even that 'Brian is a lion and Jeff discarded the milk'.,0,'Brian is a lion and Jeff discarded the milk'. There is almost no chance that John left the milk. Chances are about even that Julius is yellow. It is almost certain that Lily is a lion. It is highly likely that if 'Lily is a lion' or 'Julius is yellow' or both then Daniel dropped the apple. We believe that if 'Julius is yellow and Lily is a lion' then Jessica is a cat. It is highly likely that if either 'Lily is a lion' or 'John left the milk' but not both then Sandra got the football.,It is improbable that 'Daniel dropped the apple' 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.02::factA. 0.5::factB. 0.95::factC. %hop1 0.9::factX:-or(factC,factB). 0.75::factY:-and(factB,factC). 0.9::factZ:-xor(factC,factA). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.961785,0.120624124824965,train,almost certain,improbable,It is almost certain that 'Daniel dropped the apple' or 'Sandra got the football' or both.,It is improbable that 'Daniel dropped the apple' or 'Sandra got the football' or both.,0,'Daniel dropped the apple' or 'Sandra got the football' or both. There is a better than even chance that John went to the garden. It is impossible that Lily is white. It is unlikely that Brian is a rhino. Chances are slight that if either 'Lily is white' or 'John went to the garden' but not both then Gertrude is a sheep. It is impossible that if 'John went to the garden and Lily is white' then Bernhard is a frog. Chances are about even that if either 'Lily is white' or 'John went to the garden' but not both then Mary left the football.,It is probably not the case that 'Mary left the football' 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.6::factA. 0.0::factB. 0.2::factC. %hop1 0.1::factX:-xor(factB,factA). 0.0::factY:-and(factA,factB). 0.5::factZ:-xor(factB,factA). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.30000000000000004,0.669133826765353,train,probably not,highly likely,It is probably not the case that 'Mary left the football' or 'Bernhard is a frog' or both.,It is highly likely that 'Mary left the football' or 'Bernhard is a frog' or both.,1,'Mary left the football' or 'Bernhard is a frog' or both. It is probably not the case that Lily is a rhino. It is likely that John dropped the apple. It is probably the case that Sandra left the football. There is little chance that if 'Sandra left the football' or 'Lily is a rhino' or both then Greg is a lion. It is almost certain that if either 'Sandra left the football' or 'Lily is a rhino' but not both then Jeff went to the hallway. Chances are about even that if either 'John dropped the apple' or 'Lily is a rhino' but not both then Julius is a swan.,It is improbable that either 'John dropped the apple' or 'Lily 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.25::factA. 0.7::factB. 0.7::factC. %hop1 0.1::factX:-or(factC,factA). 0.95::factY:-xor(factC,factA). 0.5::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6,0.7213442688537708,train,better than even,improbable,There is a better than even chance that either 'John dropped the apple' or 'Lily is a rhino' but not both.,It is improbable that either 'John dropped the apple' or 'Lily is a rhino' but not both.,0,Either 'John dropped the apple' or 'Lily is a rhino' but not both. It is highly unlikely that Daniel got the milk. It is highly likely that Lily is a swan. It is highly unlikely that Greg is a rhino. There is little chance that if either 'Daniel got the milk' or 'Greg is a rhino' but not both then Jessica is a cat. It is improbable that if 'Daniel got the milk' or 'Lily is a swan' or both then Bernhard is green. There is almost no chance that if 'Greg is a rhino' or 'Daniel got the milk' or both then Mary went to the hallway.,We believe that either 'Mary went to the hallway' 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.05::factA. 0.9::factB. 0.05::factC. %hop1 0.1::factX:-xor(factA,factC). 0.1::factY:-or(factA,factB). 0.02::factZ:-or(factC,factA). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.049949999999999994,0.26325265053010605,train,highly unlikely,we believe,It is highly unlikely that either 'Mary went to the hallway' or 'Daniel got the milk' but not both.,We believe that either 'Mary went to the hallway' or 'Daniel got the milk' but not both.,0,Either 'Mary went to the hallway' or 'Daniel got the milk' but not both. It is almost certain that Bernhard is gray. It is impossible that Emily is a cat. It is almost certain that Greg is gray. There is almost no chance that if either 'Bernhard is gray' or 'Emily is a cat' but not both then John left the football. It is impossible that if either 'Greg is gray' or 'Emily is a cat' but not both then Sumit is thirsty. It is probably not the case that if 'Emily is a cat' or 'Bernhard is gray' or both then Mary went to the office.,It is almost certain that 'Greg is gray' or 'Mary 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.95::factA. 0.0::factB. 0.95::factC. %hop1 0.02::factX:-xor(factA,factB). 0.0::factY:-xor(factC,factB). 0.25::factZ:-or(factB,factA). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.961875,0.3338667733546709,train,almost certain,little chance,It is almost certain that 'Greg is gray' or 'Mary went to the office' or both.,There is little chance that 'Greg is gray' or 'Mary went to the office' or both.,1,'Greg is gray' or 'Mary went to the office' or both. It is impossible that Lily is green. We believe that Bernhard is a swan. It is highly unlikely that Antoine is bored. There is a better than even chance that if either 'Lily is green' or 'Bernhard is a swan' but not both then John dropped the apple. It is almost certain that if 'Antoine is bored' or 'Bernhard is a swan' or both then Julius is gray. There is little chance that if either 'Lily is green' or 'Antoine is bored' but not both then Sandra took the apple.,It is almost certain that either 'Lily is green' or 'Sandra 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.75::factB. 0.05::factC. %hop1 0.6::factX:-xor(factA,factB). 0.95::factY:-or(factC,factB). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.005000000000000002,0.592118423684737,train,impossible,almost certain,It is impossible that either 'Lily is green' or 'Sandra took the apple' but not both.,It is almost certain that either 'Lily is green' or 'Sandra took the apple' but not both.,0,Either 'Lily is green' or 'Sandra took the apple' but not both. There is almost no chance that Sandra took the football. It is highly unlikely that John got the apple. It is impossible that Julius is yellow. It is highly unlikely that if either 'Julius is yellow' or 'Sandra took the football' but not both then Emily is a wolf. It is highly likely that if 'Julius is yellow and Sandra took the football' then Mary went to the bedroom. There is a better than even chance that if 'John got the apple' or 'Sandra took the football' or both then Greg is white.,It is highly likely that 'Emily is a wolf 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.05::factB. 0.0::factC. %hop1 0.05::factX:-xor(factC,factA). 0.9::factY:-and(factC,factA). 0.6::factZ:-or(factB,factA). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.0,0.44388877775555113,train,impossible,highly likely,It is impossible that 'Emily is a wolf and Julius is yellow'.,It is highly likely that 'Emily is a wolf and Julius is yellow'.,0,'Emily is a wolf and Julius is yellow'. Chances are slight that John put down the milk. It is probable that Jeff moved to the garden. Chances are about even that Greg is a lion. We believe that if either 'Jeff moved to the garden' or 'Greg is a lion' but not both then Brian is a frog. It is improbable that if either 'Greg is a lion' or 'John put down the milk' but not both then Jessica is a cat. It is certain that if 'John put down the milk and Greg is a lion' then Julius is a swan.,It is impossible that either 'Brian is a frog' 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.1::factA. 0.7::factB. 0.5::factC. %hop1 0.75::factX:-xor(factB,factC). 0.1::factY:-xor(factC,factA). 1.0::factZ:-and(factA,factC). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.55,0.30486097219443886,train,better than even,impossible,There is a better than even chance that either 'Brian is a frog' or 'Jeff moved to the garden' but not both.,It is impossible that either 'Brian is a frog' or 'Jeff moved to the garden' but not both.,0,Either 'Brian is a frog' or 'Jeff moved to the garden' but not both. It is probable that John discarded the apple. It is improbable that Bernhard is a frog. It is certain that Gertrude is a cat. There is little chance that if either 'John discarded the apple' or 'Gertrude is a cat' but not both then Julius is a rhino. Chances are slight that if 'Gertrude is a cat' or 'John discarded the apple' or both then Brian is white. Chances are about even that if either 'Gertrude is a cat' or 'Bernhard is a frog' but not both then Mary went to the hallway.,It is impossible that 'Gertrude is a cat' or 'Mary 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.7::factA. 0.1::factB. 1.0::factC. %hop1 0.1::factX:-xor(factA,factC). 0.1::factY:-or(factC,factA). 0.5::factZ:-xor(factC,factB). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",1.0,0.6333266653330666,train,certain,impossible,It is certain that 'Gertrude is a cat' or 'Mary went to the hallway' or both.,It is impossible that 'Gertrude is a cat' or 'Mary went to the hallway' or both.,0,'Gertrude is a cat' or 'Mary went to the hallway' or both. It is likely that Daniel got the milk. It is probably not the case that Julius is a swan. There is little chance that Mary went to the office. There is little chance that if either 'Mary went to the office' or 'Daniel got the milk' but not both then John took the football. It is likely that if either 'Mary went to the office' or 'Julius is a swan' but not both then Jessica is a cat. There is little chance that if either 'Julius is a swan' or 'Daniel got the milk' but not both then Brian is a swan.,It is highly likely that 'Julius is a swan' or 'Mary 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.7::factA. 0.25::factB. 0.1::factC. %hop1 0.1::factX:-xor(factC,factA). 0.7::factY:-xor(factC,factB). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.325,0.6227245449089818,train,probably not,highly likely,It is probably not the case that 'Julius is a swan' or 'Mary went to the office' or both.,It is highly likely that 'Julius is a swan' or 'Mary went to the office' or both.,0,'Julius is a swan' or 'Mary went to the office' or both. There is a better than even chance that Mary took the football. It is certain that Brian is white. It is highly likely that Emily is a wolf. It is probable that if 'Brian is white and Emily is a wolf' then Daniel put down the milk. It is certain that if 'Brian is white and Emily is a wolf' then John went to the garden. It is improbable that if 'Mary took the football and Emily is a wolf' then Julius is a rhino.,There is a better than even chance that 'Mary took the football' 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.6::factA. 1.0::factB. 0.9::factC. %hop1 0.7::factX:-and(factB,factC). 1.0::factY:-and(factB,factC). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.6,0.09741948389677936,train,better than even,chances are slight,There is a better than even chance that 'Mary took the football' or 'Julius is a rhino' or both.,Chances are slight that 'Mary took the football' or 'Julius is a rhino' or both.,1,'Mary took the football' or 'Julius is a rhino' or both. There is a very good chance that Bernhard is yellow. There is little chance that Lily is a rhino. There is almost no chance that Brian is a lion. There is little chance that if 'Brian is a lion' or 'Lily is a rhino' or both then Julius is a frog. It is probable that if either 'Bernhard is yellow' or 'Lily is a rhino' but not both then Greg is a swan. It is almost certain that if 'Lily is a rhino and Bernhard is yellow' then John took the football.,It is certain that either 'Lily is a rhino' or 'John 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.8::factA. 0.1::factB. 0.02::factC. %hop1 0.1::factX:-or(factC,factB). 0.7::factY:-xor(factA,factB). 0.95::factZ:-and(factB,factA). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.024000000000000007,0.18103620724144828,train,almost no chance,certain,There is almost no chance that either 'Lily is a rhino' or 'John took the football' but not both.,It is certain that either 'Lily is a rhino' or 'John took the football' but not both.,0,Either 'Lily is a rhino' or 'John took the football' but not both. It is highly unlikely that Brian is a frog. Chances are about even that Jessica is a cat. There is a very good chance that Mary went to the office. There is a better than even chance that if either 'Jessica is a cat' or 'Brian is a frog' but not both then Sumit is bored. It is almost certain that if 'Brian is a frog' or 'Jessica is a cat' or both then Lily is a lion. There is a better than even chance that if 'Jessica is a cat and Brian is a frog' then John took the apple.,Chances are about even that 'Brian is a frog' 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 0.05::factA. 0.5::factB. 0.8::factC. %hop1 0.6::factX:-xor(factB,factA). 0.95::factY:-or(factA,factB). 0.6::factZ:-and(factB,factA). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.525,0.28865773154630925,train,about even,certain,Chances are about even that 'Brian is a frog' or 'Jessica is a cat' or both.,It is certain that 'Brian is a frog' or 'Jessica is a cat' or both.,1,'Brian is a frog' or 'Jessica is a cat' or both. There is little chance that Bernhard is green. There is a better than even chance that Julius is yellow. We doubt that John went to the garden. It is impossible that if 'Julius is yellow and John went to the garden' then Daniel got the milk. There is little chance that if 'Julius is yellow' or 'Bernhard is green' or both then Greg is a lion. There is a better than even chance that if 'John went to the garden' or 'Julius is yellow' or both then Lily is a rhino.,It is highly unlikely that 'Greg is a lion' 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.1::factA. 0.6::factB. 0.2::factC. %hop1 0.0::factX:-and(factB,factC). 0.1::factY:-or(factB,factA). 0.6::factZ:-or(factC,factB). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.06400000000000002,0.6487297459491899,train,highly unlikely,certain,It is highly unlikely that 'Greg is a lion' or 'Daniel got the milk' or both.,It is certain that 'Greg is a lion' or 'Daniel got the milk' or both.,1,'Greg is a lion' or 'Daniel got the milk' or both. Chances are about even that Greg is a swan. There is little chance that Brian is yellow. It is probably not the case that Mary got the milk. There is a better than even chance that if 'Mary got the milk' or 'Greg is a swan' or both then Winona is a wolf. We doubt that if either 'Mary got the milk' or 'Brian is yellow' but not both then Bernhard is a frog. It is probably the case that if either 'Brian is yellow' or 'Greg is a swan' but not both then John moved to the garden.,We doubt that either 'John moved to the garden' 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.5::factA. 0.1::factB. 0.25::factC. %hop1 0.6::factX:-or(factC,factA). 0.2::factY:-xor(factC,factB). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.22000000000000006,0.6795359071814363,train,we doubt,we believe,We doubt that either 'John moved to the garden' or 'Greg is a swan' but not both.,We believe that either 'John moved to the garden' or 'Greg is a swan' but not both.,1,Either 'John moved to the garden' or 'Greg is a swan' but not both. It is probably not the case that John moved to the office. We believe that Emily is a cat. It is almost certain that Mary grabbed the milk. It is likely that if 'Emily is a cat' or 'Mary grabbed the milk' or both then Bernhard is green. It is highly likely that if 'John moved to the office' or 'Emily is a cat' or both then Lily is a frog. There is a better than even chance that if 'Mary grabbed the milk and John moved to the office' then Julius is a rhino.,We believe that 'Lily is a frog' 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.25::factA. 0.75::factB. 0.95::factC. %hop1 0.7::factX:-or(factB,factC). 0.9::factY:-or(factA,factB). 0.6::factZ:-and(factC,factA). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.7455,0.05841168233646729,train,we believe,improbable,We believe that 'Lily is a frog' or 'Julius is a rhino' or both.,It is improbable that 'Lily is a frog' or 'Julius is a rhino' or both.,1,'Lily is a frog' or 'Julius is a rhino' or both. There is almost no chance that Greg is a rhino. There is little chance that Daniel got the football. There is a better than even chance that John put down the apple. It is unlikely that if either 'Greg is a rhino' or 'Daniel got the football' but not both then Jeff went to the garden. It is certain that if 'Greg is a rhino and Daniel got the football' then Sandra left the milk. It is certain that if 'Greg is a rhino and John put down the apple' then Mary is in the school.,There is little chance that either 'John put down the apple' or 'Mary 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.02::factA. 0.1::factB. 0.6::factC. %hop1 0.2::factX:-xor(factA,factB). 1.0::factY:-and(factA,factB). 1.0::factZ:-and(factA,factC). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.588,0.28205641128225645,train,better than even,little chance,There is a better than even chance that either 'John put down the apple' or 'Mary is in the school' but not both.,There is little chance that either 'John put down the apple' or 'Mary is in the school' but not both.,0,Either 'John put down the apple' or 'Mary is in the school' but not both. It is probable that Jessica is a cat. We believe that Mary dropped the milk. It is unlikely that Bernhard is a swan. Chances are slight that if either 'Bernhard is a swan' or 'Jessica is a cat' but not both then Brian is green. There is a very good chance that if 'Mary dropped the milk' or 'Jessica is a cat' or both then Lily is a rhino. It is probably the case that if either 'Mary dropped the milk' or 'Jessica is a cat' but not both then John went to the office.,We believe that 'Lily is a rhino' 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.75::factB. 0.2::factC. %hop1 0.1::factX:-xor(factC,factA). 0.8::factY:-or(factB,factA). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.7536,0.6893378675735147,train,we believe,impossible,We believe that 'Lily is a rhino' or 'Brian is green' or both.,It is impossible that 'Lily is a rhino' or 'Brian is green' or both.,1,'Lily is a rhino' or 'Brian is green' or both. We believe that Brian is white. It is almost certain that Lily is a swan. It is probably not the case that Bernhard is white. It is certain that if 'Brian is white' or 'Lily is a swan' or both then Mary went to the hallway. It is certain that if 'Bernhard is white and Lily is a swan' then John got the milk. Chances are about even that if 'Bernhard is white and Lily is a swan' then Emily is a wolf.,It is highly likely that either 'Mary went to the hallway' 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 0.75::factA. 0.95::factB. 0.25::factC. %hop1 1.0::factX:-or(factA,factB). 1.0::factY:-and(factC,factB). 0.5::factZ:-and(factC,factB). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.86875,0.1240248049609922,train,highly likely,improbable,It is highly likely that either 'Mary went to the hallway' or 'Emily is a wolf' but not both.,It is improbable that either 'Mary went to the hallway' or 'Emily is a wolf' but not both.,1,Either 'Mary went to the hallway' or 'Emily is a wolf' but not both. We doubt that Jeff left the apple. There is a better than even chance that Greg is a frog. It is almost certain that Julius is yellow. There is a better than even chance that if 'Julius is yellow and Greg is a frog' then Jason is tired. It is highly unlikely that if 'Jeff left the apple' or 'Greg is a frog' or both then John moved to the office. It is likely that if 'Julius is yellow' or 'Jeff left the apple' or both then Mary discarded the apple.,It is highly unlikely that either 'Jeff left the apple' or 'Mary 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.2::factA. 0.6::factB. 0.95::factC. %hop1 0.6::factX:-and(factC,factB). 0.05::factY:-or(factA,factB). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.592,0.5401080216043209,train,better than even,highly unlikely,There is a better than even chance that either 'Jeff left the apple' or 'Mary discarded the apple' but not both.,It is highly unlikely that either 'Jeff left the apple' or 'Mary discarded the apple' but not both.,0,Either 'Jeff left the apple' or 'Mary discarded the apple' but not both. Chances are slight that Brian is yellow. There is a better than even chance that Mary left the football. Chances are slight that Bill went to the office. It is highly likely that if 'Bill went to the office and Mary left the football' then John put down the apple. It is highly unlikely that if either 'Mary left the football' or 'Brian is yellow' but not both then Greg is a rhino. It is certain that if 'Mary left the football and Brian is yellow' then Lily is yellow.,It is impossible that 'John put down the apple 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.1::factA. 0.6::factB. 0.1::factC. %hop1 0.9::factX:-and(factC,factB). 0.05::factY:-xor(factB,factA). 1.0::factZ:-and(factB,factA). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.005400000000000001,0.023604720944188837,train,impossible,almost certain,It is impossible that 'John put down the apple and Lily is yellow'.,It is almost certain that 'John put down the apple and Lily is yellow'.,1,'John put down the apple and Lily is yellow'. It is likely that Fred went to the garden. There is little chance that Julius is a rhino. It is improbable that Greg is yellow. There is almost no chance that if 'Julius is a rhino' or 'Greg is yellow' or both then Mary dropped the apple. There is almost no chance that if either 'Greg is yellow' or 'Fred went to the garden' but not both then Winona is a wolf. It is improbable that if either 'Fred went to the garden' or 'Julius is a rhino' but not both then Lily is a swan.,We doubt that either 'Lily is a swan' 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.7::factA. 0.1::factB. 0.1::factC. %hop1 0.02::factX:-or(factB,factC). 0.02::factY:-xor(factC,factA). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.16000000000000003,0.6083216643328666,train,we doubt,probably,We doubt that either 'Lily is a swan' or 'Julius is a rhino' but not both.,It is probably the case that either 'Lily is a swan' or 'Julius is a rhino' but not both.,1,Either 'Lily is a swan' or 'Julius is a rhino' but not both. We believe that Greg is a frog. We believe that Julius is gray. It is almost certain that Bill moved to the office. It is probably not the case that if 'Bill moved to the office and Greg is a frog' then Lily is a swan. Chances are slight that if 'Greg is a frog' or 'Julius is gray' or both then Mary went to the garden. It is highly likely that if either 'Julius is gray' or 'Bill moved to the office' but not both then Daniel took the milk.,It is impossible that either 'Lily 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.75::factA. 0.75::factB. 0.95::factC. %hop1 0.25::factX:-and(factC,factA). 0.1::factY:-or(factA,factB). 0.9::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.6609375000000001,0.7249449889977996,train,probable,impossible,It is probable that either 'Lily is a swan' or 'Julius is gray' but not both.,It is impossible that either 'Lily is a swan' or 'Julius is gray' but not both.,0,Either 'Lily is a swan' or 'Julius is gray' but not both. It is certain that Bill went to the kitchen. There is little chance that Brian is a frog. It is certain that John picked up the milk. There is a better than even chance that if 'Bill went to the kitchen' or 'John picked up the milk' or both then Lily is white. It is highly unlikely that if 'Brian is a frog and Bill went to the kitchen' then Fred is in the school. It is highly unlikely that if either 'Bill went to the kitchen' or 'Brian is a frog' but not both then Jeff dropped the apple.,It is likely that 'Fred is in the school and Bill 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 1.0::factA. 0.1::factB. 1.0::factC. %hop1 0.6::factX:-or(factA,factC). 0.05::factY:-and(factB,factA). 0.05::factZ:-xor(factA,factB). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.005000000000000002,0.6997399479895979,train,impossible,likely,It is impossible that 'Fred is in the school and Bill went to the kitchen'.,It is likely that 'Fred is in the school and Bill went to the kitchen'.,0,'Fred is in the school and Bill went to the kitchen'. It is probably not the case that Fred dropped the apple. There is almost no chance that Gertrude is a sheep. Chances are about even that Greg is gray. Chances are about even that if either 'Gertrude is a sheep' or 'Greg is gray' but not both then Bernhard is white. It is improbable that if 'Greg is gray' or 'Gertrude is a sheep' or both then Brian is a rhino. It is probably not the case that if 'Greg is gray and Fred dropped the apple' then Julius is a frog.,It is probably the case that either 'Bernhard is white' 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.25::factA. 0.02::factB. 0.5::factC. %hop1 0.5::factX:-xor(factB,factC). 0.1::factY:-or(factC,factB). 0.25::factZ:-and(factC,factA). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.26,0.34986997399479897,train,probably not,probably,It is probably not the case that either 'Bernhard is white' or 'Gertrude is a sheep' but not both.,It is probably the case that either 'Bernhard is white' or 'Gertrude is a sheep' but not both.,0,Either 'Bernhard is white' or 'Gertrude is a sheep' but not both. It is highly likely that Brian is yellow. We doubt that Bernhard is a lion. It is highly unlikely that John moved to the office. It is impossible that if 'Brian is yellow' or 'Bernhard is a lion' or both then Daniel got the milk. Chances are about even that if either 'Bernhard is a lion' or 'John moved to the office' but not both then Mary left the milk. It is improbable that if 'John moved to the office' or 'Brian is yellow' or both then Lily is a swan.,It is probable that 'Mary left the milk' 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.9::factA. 0.2::factB. 0.05::factC. %hop1 0.0::factX:-or(factA,factB). 0.5::factY:-xor(factB,factC). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.14500000000000002,0.08901780356071214,train,improbable,probable,It is improbable that 'Mary left the milk' or 'John moved to the office' or both.,It is probable that 'Mary left the milk' or 'John moved to the office' or both.,0,'Mary left the milk' or 'John moved to the office' or both. There is little chance that Julius is a swan. There is little chance that Greg is yellow. There is a better than even chance that Fred is in the cinema. There is a very good chance that if either 'Julius is a swan' or 'Greg is yellow' but not both then John took the football. We believe that if either 'Fred is in the cinema' or 'Greg is yellow' but not both then Mary moved to the garden. It is highly unlikely that if 'Julius is a swan' or 'Fred is in the cinema' or both then Daniel left the milk.,It is highly unlikely that either 'Mary moved to the garden' or 'John 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.1::factA. 0.1::factB. 0.6::factC. %hop1 0.8::factX:-xor(factA,factB). 0.75::factY:-xor(factC,factB). 0.05::factZ:-or(factA,factC). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.471,0.1946389277855571,train,about even,highly unlikely,Chances are about even that either 'Mary moved to the garden' or 'John took the football' but not both.,It is highly unlikely that either 'Mary moved to the garden' or 'John took the football' but not both.,0,Either 'Mary moved to the garden' or 'John took the football' but not both. Chances are slight that Daniel left the milk. There is little chance that Fred moved to the office. We believe that Brian is yellow. It is unlikely that if 'Brian is yellow' or 'Daniel left the milk' or both then Bernhard is gray. It is probably the case that if 'Fred moved to the office' or 'Brian is yellow' or both then John put down the apple. There is little chance that if 'Fred moved to the office and Brian is yellow' then Jessica is a cat.,It is highly unlikely that 'John put down the apple 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.1::factA. 0.1::factB. 0.75::factC. %hop1 0.2::factX:-or(factC,factA). 0.7::factY:-or(factB,factC). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.07,0.75875175035007,train,highly unlikely,highly likely,It is highly unlikely that 'John put down the apple and Fred moved to the office'.,It is highly likely that 'John put down the apple and Fred moved to the office'.,1,'John put down the apple and Fred moved to the office'. We believe that Greg is white. It is probably the case that Gertrude is a mouse. It is almost certain that Lily is green. It is highly likely that if either 'Gertrude is a mouse' or 'Lily is green' but not both then John picked up the apple. We believe that if 'Lily is green and Gertrude is a mouse' then Mary went to the kitchen. It is certain that if 'Gertrude is a mouse' or 'Lily is green' or both then Brian is gray.,We doubt that either 'John picked up the apple' 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.75::factA. 0.7::factB. 0.95::factC. %hop1 0.9::factX:-xor(factB,factC). 0.75::factY:-and(factC,factB). 1.0::factZ:-or(factB,factC). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.9249999999999999,0.4216843368673735,train,highly likely,we doubt,It is highly likely that either 'John picked up the apple' or 'Gertrude is a mouse' but not both.,We doubt that either 'John picked up the apple' or 'Gertrude is a mouse' but not both.,0,Either 'John picked up the apple' or 'Gertrude is a mouse' but not both. It is improbable that Bernhard is green. We doubt that Greg is gray. It is almost certain that Lily is green. It is unlikely that if either 'Greg is gray' or 'Lily is green' but not both then Brian is yellow. There is a very good chance that if 'Bernhard is green and Lily is green' then Jessica is a cat. It is unlikely that if 'Bernhard is green' or 'Lily is green' or both then John took the apple.,It is improbable that 'Jessica is a cat 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.1::factA. 0.2::factB. 0.95::factC. %hop1 0.2::factX:-xor(factB,factC). 0.8::factY:-and(factA,factC). 0.2::factZ:-or(factA,factC). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.07600000000000001,0.5023004600920185,train,improbable,better than even,It is improbable that 'Jessica is a cat and Bernhard is green'.,There is a better than even chance that 'Jessica is a cat and Bernhard is green'.,1,'Jessica is a cat and Bernhard is green'. It is almost certain that Brian is yellow. It is highly likely that John got the apple. It is unlikely that Bernhard is a rhino. There is a very good chance that if 'John got the apple and Brian is yellow' then Julius is a frog. It is almost certain that if 'Bernhard is a rhino' or 'Brian is yellow' or both then Lily is a lion. It is highly unlikely that if either 'Bernhard is a rhino' or 'John got the apple' but not both then Mary went to the office.,It is likely that 'Mary went to the office' 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.95::factA. 0.9::factB. 0.2::factC. %hop1 0.8::factX:-and(factB,factA). 0.95::factY:-or(factC,factA). 0.05::factZ:-xor(factC,factB). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.69364,0.749749949989998,train,likely,little chance,It is likely that 'Mary went to the office' or 'Julius is a frog' or both.,There is little chance that 'Mary went to the office' or 'Julius is a frog' or both.,1,'Mary went to the office' or 'Julius is a frog' or both. There is a very good chance that Julius is yellow. There is a better than even chance that Lily is a rhino. It is impossible that Daniel put down the milk. It is likely that if either 'Daniel put down the milk' or 'Julius is yellow' but not both then Greg is a rhino. There is a very good chance that if either 'Lily is a rhino' or 'Daniel put down the milk' but not both then Brian is a frog. There is a very good chance that if either 'Daniel put down the milk' or 'Julius is yellow' but not both then Mary went to the hallway.,It is highly likely that 'Daniel put down the milk 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.8::factA. 0.6::factB. 0.0::factC. %hop1 0.7::factX:-xor(factC,factA). 0.8::factY:-xor(factB,factC). 0.8::factZ:-xor(factC,factA). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.19723944788957792,train,impossible,highly likely,It is impossible that 'Daniel put down the milk and Lily is a rhino'.,It is highly likely that 'Daniel put down the milk and Lily is a rhino'.,0,'Daniel put down the milk and Lily is a rhino'. It is certain that Bernhard is yellow. It is probable that Fred went to the garden. It is probable that Lily is green. There is almost no chance that if 'Lily is green' or 'Fred went to the garden' or both then Greg is yellow. Chances are slight that if 'Fred went to the garden' or 'Bernhard is yellow' or both then Brian is gray. Chances are slight that if 'Fred went to the garden' or 'Bernhard is yellow' or both then Sandra got the milk.,It is likely that either 'Fred went to the garden' 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 1.0::factA. 0.7::factB. 0.7::factC. %hop1 0.02::factX:-or(factC,factB). 0.1::factY:-or(factB,factA). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.6901999999999999,0.7165433086617323,train,likely,chances are slight,It is likely that either 'Fred went to the garden' or 'Greg is yellow' but not both.,Chances are slight that either 'Fred went to the garden' or 'Greg is yellow' but not both.,1,Either 'Fred went to the garden' or 'Greg is yellow' but not both. There is almost no chance that Jeff moved to the office. Chances are about even that Brian is yellow. It is unlikely that Mary went to the hallway. There is a very good chance that if 'Brian is yellow' or 'Mary went to the hallway' or both then John discarded the apple. It is probable that if 'Mary went to the hallway and Jeff moved to the office' then Greg is a lion. It is improbable that if either 'Jeff moved to the office' or 'Brian is yellow' but not both then Bernhard is green.,We believe that either 'Greg is a lion' or 'Mary went to the hallway' 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.2::factC. %hop1 0.8::factX:-or(factB,factC). 0.7::factY:-and(factC,factA). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.1972,0.46969393878775756,train,unlikely,we believe,It is unlikely that either 'Greg is a lion' or 'Mary went to the hallway' but not both.,We believe that either 'Greg is a lion' or 'Mary went to the hallway' but not both.,0,Either 'Greg is a lion' or 'Mary went to the hallway' but not both. It is almost certain that Greg is a swan. It is probable that Mary put down the milk. There is little chance that Julius is a lion. It is likely that if either 'Julius is a lion' or 'Greg is a swan' but not both then Daniel got the football. There is little chance that if 'Julius is a lion and Greg is a swan' then John grabbed the apple. It is highly unlikely that if 'Julius is a lion' or 'Greg is a swan' or both then Bernhard is a frog.,It is probably the case that 'Julius is a lion' or 'John 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.95::factA. 0.7::factB. 0.1::factC. %hop1 0.7::factX:-xor(factC,factA). 0.1::factY:-and(factC,factA). 0.05::factZ:-or(factC,factA). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.10000000000000002,0.3622724544908982,train,chances are slight,probably,Chances are slight that 'Julius is a lion' or 'John grabbed the apple' or both.,It is probably the case that 'Julius is a lion' or 'John grabbed the apple' or both.,0,'Julius is a lion' or 'John grabbed the apple' or both. It is highly likely that Lily is green. Chances are about even that Julius is gray. There is a very good chance that Bernhard is green. It is probably the case that if 'Lily is green' or 'Julius is gray' or both then John moved to the garden. It is highly likely that if 'Bernhard is green and Lily is green' then Greg is a lion. We doubt that if 'Julius is gray' or 'Lily is green' or both then Mary grabbed the milk.,There is almost no chance that either 'John moved to the garden' 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.9::factA. 0.5::factB. 0.8::factC. %hop1 0.7::factX:-or(factA,factB). 0.9::factY:-and(factC,factA). 0.2::factZ:-or(factB,factA). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.465,0.6303260652130426,train,about even,almost no chance,Chances are about even that either 'John moved to the garden' or 'Julius is gray' but not both.,There is almost no chance that either 'John moved to the garden' or 'Julius is gray' but not both.,0,Either 'John moved to the garden' or 'Julius is gray' but not both. There is a better than even chance that John went to the hallway. It is unlikely that Lily is a lion. There is almost no chance that Brian is white. It is probably not the case that if either 'Brian is white' or 'John went to the hallway' but not both then Julius is a swan. It is likely that if 'Lily is a lion and John went to the hallway' then Jessica is a cat. It is probable that if 'Brian is white and John went to the hallway' then Bernhard is a rhino.,It is almost certain that either 'John went to the hallway' 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.6::factA. 0.2::factB. 0.02::factC. %hop1 0.25::factX:-xor(factC,factA). 0.7::factY:-and(factB,factA). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.455,0.1856371274254851,train,about even,almost certain,Chances are about even that either 'John went to the hallway' or 'Julius is a swan' but not both.,It is almost certain that either 'John went to the hallway' or 'Julius is a swan' but not both.,0,Either 'John went to the hallway' or 'Julius is a swan' but not both. We believe that John discarded the milk. It is highly likely that Julius is white. It is improbable that Bernhard is a swan. It is impossible that if 'Bernhard is a swan and John discarded the milk' then Winona is a wolf. We doubt that if either 'John discarded the milk' or 'Bernhard is a swan' but not both then Mary left the football. We believe that if 'Bernhard is a swan and Julius is white' then Lily is a frog.,It is improbable that either 'Winona is a wolf' 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.75::factA. 0.9::factB. 0.1::factC. %hop1 0.0::factX:-and(factC,factA). 0.2::factY:-xor(factA,factC). 0.75::factZ:-and(factC,factB). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.10000000000000002,0.5551110222044409,train,improbable,better than even,It is improbable that either 'Winona is a wolf' or 'Bernhard is a swan' but not both.,There is a better than even chance that either 'Winona is a wolf' or 'Bernhard is a swan' but not both.,1,Either 'Winona is a wolf' or 'Bernhard is a swan' but not both. It is probably the case that Mary went to the garden. It is highly likely that Gertrude is a wolf. There is almost no chance that Greg is a lion. There is a very good chance that if 'Greg is a lion and Gertrude is a wolf' then Jessica is a sheep. It is probably not the case that if either 'Mary went to the garden' or 'Greg is a lion' but not both then John put down the apple. There is a better than even chance that if either 'Greg is a lion' or 'Mary went to the garden' but not both then Brian is a frog.,It is highly likely that 'Jessica is a sheep and Gertrude 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.7::factA. 0.9::factB. 0.02::factC. %hop1 0.8::factX:-and(factC,factB). 0.25::factY:-xor(factA,factC). 0.6::factZ:-xor(factC,factA). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.014400000000000001,0.44568913782756553,train,almost no chance,highly likely,There is almost no chance that 'Jessica is a sheep and Gertrude is a wolf'.,It is highly likely that 'Jessica is a sheep and Gertrude is a wolf'.,0,'Jessica is a sheep and Gertrude is a wolf'. It is highly likely that Winona is a wolf. There is a better than even chance that Lily is green. We doubt that Mary left the football. It is probable that if either 'Mary left the football' or 'Winona is a wolf' but not both then Bernhard is a frog. It is almost certain that if either 'Winona is a wolf' or 'Mary left the football' but not both then John grabbed the apple. It is likely that if either 'Winona is a wolf' or 'Mary left the football' but not both then Brian is white.,It is highly unlikely that 'Brian is white 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.9::factA. 0.6::factB. 0.2::factC. %hop1 0.7::factX:-xor(factC,factA). 0.95::factY:-xor(factA,factC). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.504,0.48209641928385677,train,about even,highly unlikely,Chances are about even that 'Brian is white and Winona is a wolf'.,It is highly unlikely that 'Brian is white and Winona is a wolf'.,0,'Brian is white and Winona is a wolf'. There is a better than even chance that Sandra left the milk. We believe that Greg is a frog. It is unlikely that John went to the kitchen. It is impossible that if 'Greg is a frog' or 'John went to the kitchen' or both then Yann is hungry. Chances are slight that if either 'John went to the kitchen' or 'Sandra left the milk' but not both then Lily is yellow. It is almost certain that if either 'John went to the kitchen' or 'Sandra left the milk' but not both then Brian is white.,It is likely that 'John went to the kitchen 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.6::factA. 0.75::factB. 0.2::factC. %hop1 0.0::factX:-or(factB,factC). 0.1::factY:-xor(factC,factA). 0.95::factZ:-xor(factC,factA). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.008000000000000004,0.21524304860972193,train,impossible,likely,It is impossible that 'John went to the kitchen and Lily is yellow'.,It is likely that 'John went to the kitchen and Lily is yellow'.,0,'John went to the kitchen and Lily is yellow'. It is unlikely that Lily is white. We believe that Mary discarded the milk. It is impossible that John went to the garden. It is almost certain that if 'Lily is white' or 'Mary discarded the milk' or both then Sandra dropped the milk. It is probably not the case that if either 'Lily is white' or 'John went to the garden' but not both then Brian is a rhino. It is likely that if 'Lily is white and John went to the garden' then Bernhard is a swan.,It is impossible that 'Bernhard 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.2::factA. 0.75::factB. 0.0::factC. %hop1 0.95::factX:-or(factA,factB). 0.25::factY:-xor(factA,factC). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.0,0.2948589717943589,train,impossible,probably,It is impossible that 'Bernhard is a swan and Lily is white'.,It is probably the case that 'Bernhard is a swan and Lily is white'.,1,'Bernhard is a swan and Lily is white'. It is improbable that Greg is gray. It is improbable that Emily is a wolf. There is little chance that John left the milk. It is improbable that if 'Greg is gray and Emily is a wolf' then Julius is white. It is likely that if either 'Greg is gray' or 'Emily is a wolf' but not both then Bernhard is a swan. There is little chance that if 'Greg is gray and Emily is a wolf' then Antoine is hungry.,Chances are slight that 'Emily is a wolf' or 'Antoine is hungry' 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.1::factC. %hop1 0.1::factX:-and(factA,factB). 0.7::factY:-xor(factA,factB). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.10000000000000002,0.22624524904980997,train,chances are slight,probable,Chances are slight that 'Emily is a wolf' or 'Antoine is hungry' or both.,It is probable that 'Emily is a wolf' or 'Antoine is hungry' or both.,1,'Emily is a wolf' or 'Antoine is hungry' or both. There is a very good chance that Sandra took the football. It is unlikely that Greg is a frog. It is certain that Brian is a rhino. It is unlikely that if 'Brian is a rhino and Greg is a frog' then Julius is white. It is probably the case that if 'Sandra took the football' or 'Greg is a frog' or both then Jason is thirsty. It is impossible that if 'Greg is a frog' or 'Sandra took the football' or both then John went to the bedroom.,We doubt that 'Brian is a rhino' or 'Sandra took 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.8::factA. 0.2::factB. 1.0::factC. %hop1 0.2::factX:-and(factC,factB). 0.7::factY:-or(factA,factB). 0.0::factZ:-or(factB,factA). %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.40848169633926784,train,certain,we doubt,It is certain that 'Brian is a rhino' or 'Sandra took the football' or both.,We doubt that 'Brian is a rhino' or 'Sandra took the football' or both.,0,'Brian is a rhino' or 'Sandra took the football' or both. Chances are about even that Winona is a cat. Chances are about even that Bill went to the kitchen. There is a very good chance that Sandra got the milk. It is unlikely that if 'Winona is a cat and Bill went to the kitchen' then John took the apple. It is likely that if 'Winona is a cat' or 'Sandra got the milk' or both then Bernhard is a rhino. It is impossible that if 'Sandra got the milk' or 'Winona is a cat' or both then Greg is a lion.,It is probably the case that 'Bill went to the kitchen and John took 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.5::factA. 0.5::factB. 0.8::factC. %hop1 0.2::factX:-and(factA,factB). 0.7::factY:-or(factA,factC). 0.0::factZ:-or(factC,factA). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.05000000000000001,0.496499299859972,train,highly unlikely,probably,It is highly unlikely that 'Bill went to the kitchen and John took the apple'.,It is probably the case that 'Bill went to the kitchen and John took the apple'.,0,'Bill went to the kitchen and John took the apple'. There is a very good chance that Greg is green. It is improbable that Brian is a lion. We believe that Bernhard is a frog. It is unlikely that if 'Greg is green' or 'Brian is a lion' or both then Emily is a sheep. It is almost certain that if either 'Greg is green' or 'Bernhard is a frog' but not both then Julius is a rhino. Chances are slight that if either 'Greg is green' or 'Bernhard is a frog' but not both then Mary went to the office.,It is highly unlikely that 'Bernhard is a frog' 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.8::factA. 0.1::factB. 0.75::factC. %hop1 0.2::factX:-or(factA,factB). 0.95::factY:-xor(factA,factC). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.775,0.6925385077015404,train,we believe,highly unlikely,We believe that 'Bernhard is a frog' or 'Brian is a lion' or both.,It is highly unlikely that 'Bernhard is a frog' or 'Brian is a lion' or both.,0,'Bernhard is a frog' or 'Brian is a lion' or both. It is probable that Lily is a lion. It is improbable that Gertrude is a wolf. It is probable that Brian is gray. It is improbable that if either 'Gertrude is a wolf' or 'Brian is gray' but not both then Jessica is a cat. It is probably the case that if either 'Brian is gray' or 'Gertrude is a wolf' but not both then Julius is a rhino. It is probable that if 'Brian is gray' or 'Lily is a lion' or both then Mary moved to the garden.,It is likely that 'Jessica is a cat' 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.7::factA. 0.1::factB. 0.7::factC. %hop1 0.1::factX:-xor(factB,factC). 0.7::factY:-xor(factC,factB). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.7198,0.5111022204440888,train,likely,impossible,It is likely that 'Jessica is a cat' or 'Lily is a lion' or both.,It is impossible that 'Jessica is a cat' or 'Lily is a lion' or both.,1,'Jessica is a cat' or 'Lily is a lion' or both. There is a better than even chance that Brian is a lion. There is a very good chance that Greg is gray. It is likely that Julius is a frog. We doubt that if 'Julius is a frog' or 'Brian is a lion' or both then Bill went to the kitchen. Chances are slight that if 'Brian is a lion' or 'Julius is a frog' or both then Lily is white. It is highly likely that if either 'Julius is a frog' or 'Brian is a lion' but not both then John discarded the apple.,Chances are about even that 'John discarded the apple 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.6::factA. 0.8::factB. 0.7::factC. %hop1 0.2::factX:-or(factC,factA). 0.1::factY:-or(factA,factC). 0.9::factZ:-xor(factC,factA). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.04140000000000001,0.21184236847369475,train,highly unlikely,about even,It is highly unlikely that 'John discarded the apple and Lily is white'.,Chances are about even that 'John discarded the apple and Lily is white'.,0,'John discarded the apple and Lily is white'. It is highly likely that Bernhard is a rhino. It is probably the case that Lily is a lion. Chances are slight that John left the football. It is improbable that if 'Bernhard is a rhino' or 'Lily is a lion' or both then Brian is a frog. It is probably the case that if 'Bernhard is a rhino and Lily is a lion' then Antoine is hungry. It is impossible that if either 'John left the football' or 'Bernhard is a rhino' but not both then Mary went to the garden.,It is almost certain that 'Antoine is hungry 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.9::factA. 0.7::factB. 0.1::factC. %hop1 0.1::factX:-or(factA,factB). 0.7::factY:-and(factA,factB). 0.0::factZ:-xor(factC,factA). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.44099999999999995,0.20184036807361472,train,about even,almost certain,Chances are about even that 'Antoine is hungry and Lily is a lion'.,It is almost certain that 'Antoine is hungry and Lily is a lion'.,0,'Antoine is hungry and Lily is a lion'. Chances are about even that Bernhard is gray. It is impossible that Julius is green. It is impossible that Lily is a rhino. It is certain that if 'Julius is green and Bernhard is gray' then Jason is tired. It is probable that if either 'Lily is a rhino' or 'Bernhard is gray' but not both then John discarded the apple. It is highly likely that if 'Bernhard is gray and Julius is green' then Greg is a swan.,It is probably not the case that 'Greg is a swan' 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.5::factA. 0.0::factB. 0.0::factC. %hop1 1.0::factX:-and(factB,factA). 0.7::factY:-xor(factC,factA). 0.9::factZ:-and(factA,factB). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.3499999999999999,0.2980596119223845,train,probably not,highly likely,It is probably not the case that 'Greg is a swan' or 'John discarded the apple' or both.,It is highly likely that 'Greg is a swan' or 'John discarded the apple' or both.,1,'Greg is a swan' or 'John discarded the apple' or both. There is little chance that Julius is a lion. It is probably not the case that Greg is a swan. There is a very good chance that Sandra left the milk. It is probable that if 'Greg is a swan' or 'Julius is a lion' or both then Bernhard is a rhino. There is little chance that if 'Julius is a lion and Greg is a swan' then Brian is a frog. It is likely that if 'Sandra left the milk' or 'Greg is a swan' or both then John went to the office.,There is a very good chance that 'Brian is a frog' 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.1::factA. 0.25::factB. 0.8::factC. %hop1 0.7::factX:-or(factB,factA). 0.1::factY:-and(factA,factB). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.8005000000000001,0.5469093818763753,train,very good chance,we doubt,There is a very good chance that 'Brian is a frog' or 'Sandra left the milk' or both.,We doubt that 'Brian is a frog' or 'Sandra left the milk' or both.,1,'Brian is a frog' or 'Sandra left the milk' or both. It is highly unlikely that Julius is green. It is unlikely that Sandra got the milk. It is certain that John moved to the office. It is certain that if 'John moved to the office' or 'Sandra got the milk' or both then Bernhard is a frog. It is almost certain that if either 'John moved to the office' or 'Julius is green' but not both then Lily is a lion. There is little chance that if 'John moved to the office and Sandra got the milk' then Greg is yellow.,It is probably not the case that either 'Sandra got 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.05::factA. 0.2::factB. 1.0::factC. %hop1 1.0::factX:-or(factC,factB). 0.95::factY:-xor(factC,factA). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.23,0.613122624524905,train,probably not,likely,It is probably not the case that either 'Sandra got the milk' or 'Julius is green' but not both.,It is likely that either 'Sandra got the milk' or 'Julius is green' but not both.,1,Either 'Sandra got the milk' or 'Julius is green' but not both. There is a very good chance that John went to the garden. It is probably the case that Brian is yellow. Chances are slight that Lily is green. We believe that if 'Lily is green and John went to the garden' then Mary left the apple. There is little chance that if either 'Brian is yellow' or 'Lily is green' but not both then Bernhard is gray. It is almost certain that if 'John went to the garden and Brian is yellow' then Greg is gray.,It is highly unlikely that 'Mary left the apple and Greg 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.1::factC. %hop1 0.75::factX:-and(factC,factA). 0.1::factY:-xor(factB,factC). 0.95::factZ:-and(factA,factB). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.03990000000000001,0.3184636927385477,train,highly unlikely,highly likely,It is highly unlikely that 'Mary left the apple and Greg is gray'.,It is highly likely that 'Mary left the apple and Greg is gray'.,1,'Mary left the apple and Greg is gray'. There is almost no chance that Mary went to the hallway. It is probably the case that Fred dropped the milk. There is a very good chance that Julius is a swan. Chances are slight that if 'Fred dropped the milk and Mary went to the hallway' then Brian is yellow. There is little chance that if either 'Mary went to the hallway' or 'Julius is a swan' but not both then Daniel grabbed the apple. We doubt that if 'Julius is a swan' or 'Fred dropped the milk' or both then Bernhard is gray.,It is almost certain that either 'Bernhard is gray' or 'Mary went to the hallway' 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.7::factB. 0.8::factC. %hop1 0.1::factX:-and(factB,factA). 0.1::factY:-xor(factA,factC). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.20048,0.5017003400680136,train,we doubt,almost certain,We doubt that either 'Bernhard is gray' or 'Mary went to the hallway' but not both.,It is almost certain that either 'Bernhard is gray' or 'Mary went to the hallway' but not both.,0,Either 'Bernhard is gray' or 'Mary went to the hallway' but not both. It is probable that Julius is white. It is probably not the case that Lily is gray. It is improbable that Sandra left the football. It is highly likely that if 'Julius is white' or 'Sandra left the football' or both then Winona is a sheep. Chances are slight that if 'Sandra left the football' or 'Lily is gray' or both then Brian is green. It is improbable that if 'Sandra left the football' or 'Lily is gray' or both then Mary discarded the apple.,There is almost no chance that 'Julius is white 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.7::factA. 0.25::factB. 0.1::factC. %hop1 0.9::factX:-or(factA,factC). 0.1::factY:-or(factC,factB). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.63,0.611122224444889,train,better than even,almost no chance,There is a better than even chance that 'Julius is white and Winona is a sheep'.,There is almost no chance that 'Julius is white and Winona is a sheep'.,0,'Julius is white and Winona is a sheep'. It is likely that Jessica is a mouse. We believe that John moved to the garden. It is probably not the case that Lily is green. It is probable that if 'Lily is green' or 'Jessica is a mouse' or both then Winona is a wolf. Chances are about even that if either 'Lily is green' or 'John moved to the garden' but not both then Greg is a lion. It is improbable that if 'Jessica is a mouse and John moved to the garden' then Brian is a lion.,Chances are about even that either 'Winona is a wolf' 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.75::factB. 0.25::factC. %hop1 0.7::factX:-or(factC,factA). 0.5::factY:-xor(factC,factB). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.535625,0.6041208241648329,train,about even,impossible,Chances are about even that either 'Winona is a wolf' or 'Greg is a lion' but not both.,It is impossible that either 'Winona is a wolf' or 'Greg is a lion' but not both.,1,Either 'Winona is a wolf' or 'Greg is a lion' but not both. It is likely that Brian is a rhino. There is almost no chance that Mary got the milk. We doubt that Lily is green. It is highly unlikely that if 'Brian is a rhino and Lily is green' then Julius is yellow. It is improbable that if 'Lily is green' or 'Mary got the milk' or both then Bernhard is a frog. Chances are slight that if either 'Mary got the milk' or 'Lily is green' but not both then John took the apple.,It is probably the case that 'Julius is yellow' 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.7::factA. 0.02::factB. 0.2::factC. %hop1 0.05::factX:-and(factA,factC). 0.1::factY:-or(factC,factB). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.026860000000000012,0.43048609721944386,train,almost no chance,probably,There is almost no chance that 'Julius is yellow' or 'Mary got the milk' or both.,It is probably the case that 'Julius is yellow' or 'Mary got the milk' or both.,0,'Julius is yellow' or 'Mary got the milk' or both. It is probable that Mary moved to the garden. It is impossible that Jeff put down the milk. It is impossible that Bernhard is gray. It is certain that if either 'Mary moved to the garden' or 'Jeff put down the milk' but not both then Lily is a frog. We believe that if 'Jeff put down the milk and Bernhard is gray' then Sandra took the football. It is highly unlikely that if either 'Bernhard is gray' or 'Jeff put down the milk' but not both then Brian is yellow.,It is certain that 'Lily is a frog 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.0::factB. 0.0::factC. %hop1 1.0::factX:-xor(factA,factB). 0.75::factY:-and(factB,factC). 0.05::factZ:-xor(factC,factB). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.0,0.22964592918583718,train,impossible,certain,It is impossible that 'Lily is a frog and Brian is yellow'.,It is certain that 'Lily is a frog and Brian is yellow'.,0,'Lily is a frog and Brian is yellow'. We believe that Bernhard is a swan. Chances are about even that Greg is white. It is unlikely that John discarded the milk. Chances are slight that if 'Greg is white and Bernhard is a swan' then Julius is a frog. We doubt that if 'Greg is white and Bernhard is a swan' then Mary picked up the apple. It is improbable that if 'Greg is white and Bernhard is a swan' then Brian is white.,Chances are about even that 'Brian is white' or 'Greg 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.75::factA. 0.5::factB. 0.2::factC. %hop1 0.1::factX:-and(factB,factA). 0.2::factY:-and(factB,factA). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.5000000000000001,0.5763152630526105,train,about even,almost no chance,Chances are about even that 'Brian is white' or 'Greg is white' or both.,There is almost no chance that 'Brian is white' or 'Greg is white' or both.,1,'Brian is white' or 'Greg is white' or both. There is a very good chance that Greg is green. It is almost certain that Brian is a frog. It is probable that Mary took the milk. Chances are slight that if either 'Mary took the milk' or 'Brian is a frog' but not both then Julius is gray. It is almost certain that if 'Greg is green' or 'Brian is a frog' or both then Bernhard is gray. It is probable that if 'Greg is green' or 'Mary took the milk' or both then Lily is a swan.,It is highly likely that 'Lily is a swan' 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.8::factA. 0.95::factB. 0.7::factC. %hop1 0.1::factX:-xor(factC,factB). 0.95::factY:-or(factA,factB). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.898,0.5549109821964393,train,highly likely,chances are slight,It is highly likely that 'Lily is a swan' or 'Greg is green' or both.,Chances are slight that 'Lily is a swan' or 'Greg is green' or both.,1,'Lily is a swan' or 'Greg is green' or both. There is little chance that John got the apple. It is certain that Bernhard is gray. Chances are slight that Sandra took the football. It is highly unlikely that if either 'Sandra took the football' or 'Bernhard is gray' but not both then Julius is a swan. We believe that if 'Sandra took the football and Bernhard is gray' then Sumit is bored. Chances are slight that if either 'Sandra took the football' or 'John got the apple' but not both then Lily is green.,There is a better than even chance that either 'John got the apple' or 'Lily 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. 1.0::factB. 0.1::factC. %hop1 0.05::factX:-xor(factC,factB). 0.75::factY:-and(factC,factB). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.10000000000000002,0.6665333066613323,train,improbable,better than even,It is improbable that either 'John got the apple' or 'Lily is green' but not both.,There is a better than even chance that either 'John got the apple' or 'Lily is green' but not both.,0,Either 'John got the apple' or 'Lily is green' but not both. There is a very good chance that John went to the hallway. Chances are slight that Daniel got the football. It is impossible that Bernhard is yellow. It is highly unlikely that if 'John went to the hallway' or 'Daniel got the football' or both then Lily is a swan. There is a better than even chance that if 'Bernhard is yellow and Daniel got the football' then Greg is gray. Chances are slight that if either 'John went to the hallway' or 'Daniel got the football' but not both then Emily is a mouse.,It is impossible that 'Bernhard is yellow 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.8::factA. 0.1::factB. 0.0::factC. %hop1 0.05::factX:-or(factA,factB). 0.6::factY:-and(factC,factB). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.0,0.20344068813762753,train,impossible,about even,It is impossible that 'Bernhard is yellow and Lily is a swan'.,Chances are about even that 'Bernhard is yellow and Lily is a swan'.,1,'Bernhard is yellow and Lily is a swan'. There is a very good chance that Julius is white. We believe that John put down the milk. It is certain that Lily is a lion. It is probable that if 'Lily is a lion and Julius is white' then Greg is a frog. We doubt that if either 'John put down the milk' or 'Julius is white' but not both then Mary took the football. It is unlikely that if 'Julius is white and Lily is a lion' then Brian is yellow.,It is unlikely that 'Mary took the football' 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.8::factA. 0.75::factB. 1.0::factC. %hop1 0.7::factX:-and(factC,factA). 0.2::factY:-xor(factB,factA). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.22200000000000003,0.761752350470094,train,unlikely,probable,It is unlikely that 'Mary took the football' or 'Brian is yellow' or both.,It is probable that 'Mary took the football' or 'Brian is yellow' or both.,1,'Mary took the football' or 'Brian is yellow' or both. It is highly unlikely that Lily is white. It is improbable that Bernhard is a swan. It is highly unlikely that Julius is gray. We believe that if 'Lily is white and Julius is gray' then Sandra left the apple. We believe that if either 'Julius is gray' or 'Bernhard is a swan' but not both then Emily is a sheep. It is impossible that if either 'Julius is gray' or 'Bernhard is a swan' but not both then Brian is green.,There is a better than even chance that either 'Lily is white' 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.05::factA. 0.1::factB. 0.05::factC. %hop1 0.75::factX:-and(factA,factC). 0.75::factY:-xor(factC,factB). 0.0::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.14000000000000004,0.41808361672334465,train,little chance,better than even,There is little chance that either 'Lily is white' or 'Bernhard is a swan' but not both.,There is a better than even chance that either 'Lily is white' or 'Bernhard is a swan' but not both.,0,Either 'Lily is white' or 'Bernhard is a swan' but not both. There is a better than even chance that Brian is a swan. It is improbable that Winona is a wolf. There is little chance that Julius is a frog. It is certain that if 'Julius is a frog' or 'Winona is a wolf' or both then John left the apple. It is highly likely that if either 'Winona is a wolf' or 'Julius is a frog' but not both then Greg is white. It is almost certain that if 'Julius is a frog' or 'Winona is a wolf' or both then Lily is a lion.,It is unlikely that either 'Julius 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.6::factA. 0.1::factB. 0.1::factC. %hop1 1.0::factX:-or(factC,factB). 0.9::factY:-xor(factB,factC). 0.95::factZ:-or(factC,factB). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.18000000000000005,0.514502900580116,train,unlikely,almost certain,It is unlikely that either 'Julius is a frog' or 'Winona is a wolf' but not both.,It is almost certain that either 'Julius is a frog' or 'Winona is a wolf' but not both.,1,Either 'Julius is a frog' or 'Winona is a wolf' but not both. There is a very good chance that Greg is gray. It is improbable that Jeff discarded the milk. Chances are about even that Mary took the milk. It is probably not the case that if 'Greg is gray and Jeff discarded the milk' then Julius is a swan. We doubt that if either 'Mary took the milk' or 'Greg is gray' but not both then John put down the apple. Chances are about even that if either 'Jeff discarded the milk' or 'Greg is gray' but not both then Bernhard is a rhino.,It is almost certain that 'Mary took the milk and Greg 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.1::factB. 0.5::factC. %hop1 0.25::factX:-and(factA,factB). 0.2::factY:-xor(factC,factA). 0.5::factZ:-xor(factB,factA). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.4,0.5727145429085817,train,about even,almost certain,Chances are about even that 'Mary took the milk and Greg is gray'.,It is almost certain that 'Mary took the milk and Greg is gray'.,0,'Mary took the milk and Greg is gray'. It is likely that Mary left the football. It is probable that Julius is white. It is improbable that Brian is a frog. It is probably the case that if either 'Brian is a frog' or 'Mary left the football' but not both then Bernhard is green. It is highly likely that if 'Mary left the football and Julius is white' then Lily is a lion. We believe that if 'Brian is a frog' or 'Julius is white' or both then Greg is gray.,It is likely that 'Greg is gray' 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.7::factA. 0.7::factB. 0.1::factC. %hop1 0.7::factX:-xor(factC,factA). 0.9::factY:-and(factA,factB). 0.75::factZ:-or(factC,factB). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.7225,0.5991198239647929,train,likely,unlikely,It is likely that 'Greg is gray' or 'Julius is white' or both.,It is unlikely that 'Greg is gray' or 'Julius is white' or both.,1,'Greg is gray' or 'Julius is white' or both. We believe that Emily is a mouse. Chances are slight that Lily is a rhino. It is highly unlikely that Julius is a frog. We believe that if 'Emily is a mouse' or 'Lily is a rhino' or both then Daniel left the milk. There is little chance that if either 'Emily is a mouse' or 'Lily is a rhino' but not both then Bernhard is a swan. There is almost no chance that if 'Lily is a rhino' or 'Julius is a frog' or both then Brian is green.,It is likely that 'Brian is green 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.75::factA. 0.1::factB. 0.05::factC. %hop1 0.75::factX:-or(factA,factB). 0.1::factY:-xor(factA,factB). 0.02::factZ:-or(factB,factC). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.0010000000000000002,0.3646729345869174,train,impossible,likely,It is impossible that 'Brian is green and Julius is a frog'.,It is likely that 'Brian is green and Julius is a frog'.,0,'Brian is green and Julius is a frog'. It is certain that Julius is a frog. It is probably not the case that Gertrude is a wolf. It is probable that Bernhard is white. It is certain that if 'Bernhard is white and Julius is a frog' then Winona is a sheep. It is certain that if 'Julius is a frog' or 'Gertrude is a wolf' or both then Greg is green. There is a very good chance that if 'Gertrude is a wolf' or 'Bernhard is white' or both then John left the milk.,It is certain that 'Greg is green' or 'Gertrude 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 1.0::factA. 0.25::factB. 0.7::factC. %hop1 1.0::factX:-and(factC,factA). 1.0::factY:-or(factA,factB). 0.8::factZ:-or(factB,factC). %hop2 conclusion:-or(factY,factB). query(conclusion). ",1.0,0.6573314662932587,train,certain,improbable,It is certain that 'Greg is green' or 'Gertrude is a wolf' or both.,It is improbable that 'Greg is green' or 'Gertrude is a wolf' or both.,1,'Greg is green' or 'Gertrude is a wolf' or both. We believe that Jessica is a sheep. It is improbable that Brian is white. There is little chance that Mary left the apple. Chances are about even that if either 'Mary left the apple' or 'Brian is white' but not both then John went to the bedroom. It is probable that if either 'Brian is white' or 'Mary left the apple' but not both then Emily is a wolf. It is improbable that if 'Mary left the apple' or 'Jessica is a sheep' or both then Julius is a rhino.,We believe that 'Brian is white and Jessica 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.75::factA. 0.1::factB. 0.1::factC. %hop1 0.5::factX:-xor(factC,factB). 0.7::factY:-xor(factB,factC). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.07500000000000002,0.1822364472894579,train,improbable,we believe,It is improbable that 'Brian is white and Jessica is a sheep'.,We believe that 'Brian is white and Jessica is a sheep'.,0,'Brian is white and Jessica is a sheep'. There is little chance that Greg is a frog. Chances are about even that Lily is green. Chances are slight that Brian is yellow. It is improbable that if 'Greg is a frog' or 'Brian is yellow' or both then Jessica is a sheep. Chances are about even that if 'Greg is a frog and Brian is yellow' then Jason is tired. It is probably the case that if 'Lily is green and Brian is yellow' then John moved to the office.,It is probable that 'Greg is a frog 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.5::factB. 0.1::factC. %hop1 0.1::factX:-or(factA,factC). 0.5::factY:-and(factA,factC). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.010000000000000004,0.6393278655731146,train,almost no chance,probable,There is almost no chance that 'Greg is a frog and Brian is yellow'.,It is probable that 'Greg is a frog and Brian is yellow'.,0,'Greg is a frog and Brian is yellow'. It is likely that Bill went to the garden. It is probably the case that Greg is a swan. It is improbable that Mary got the milk. We believe that if 'Greg is a swan and Mary got the milk' then John left the football. It is almost certain that if 'Mary got the milk' or 'Bill went to the garden' or both then Brian is a frog. It is unlikely that if 'Mary got the milk' or 'Bill went to the garden' or both then Bernhard is green.,Chances are about even that either 'Greg is a swan' 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.7::factA. 0.7::factB. 0.1::factC. %hop1 0.75::factX:-and(factB,factC). 0.95::factY:-or(factC,factA). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.42,0.46209241848369675,train,about even,almost no chance,Chances are about even that either 'Greg is a swan' or 'Bill went to the garden' but not both.,There is almost no chance that either 'Greg is a swan' or 'Bill went to the garden' but not both.,1,Either 'Greg is a swan' or 'Bill went to the garden' but not both. It is certain that Gertrude is a mouse. It is probably the case that Brian is green. There is little chance that Sandra left the apple. We doubt that if 'Brian is green and Sandra left the apple' then Emily is a wolf. It is almost certain that if either 'Sandra left the apple' or 'Gertrude is a mouse' but not both then Fred dropped the milk. There is little chance that if either 'Gertrude is a mouse' or 'Sandra left the apple' but not both then Greg is a frog.,It is impossible that 'Fred dropped the milk 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 1.0::factA. 0.7::factB. 0.1::factC. %hop1 0.2::factX:-and(factB,factC). 0.95::factY:-xor(factC,factA). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.0,0.7433486697339468,train,impossible,about even,It is impossible that 'Fred dropped the milk and Emily is a wolf'.,Chances are about even that 'Fred dropped the milk and Emily is a wolf'.,1,'Fred dropped the milk and Emily is a wolf'. We believe that John dropped the apple. There is almost no chance that Lily is a lion. It is highly likely that Julius is a swan. Chances are slight that if 'Julius is a swan' or 'John dropped the apple' or both then Mary went to the office. There is little chance that if 'Julius is a swan' or 'Lily is a lion' or both then Brian is a rhino. It is improbable that if either 'Lily is a lion' or 'John dropped the apple' but not both then Sumit is thirsty.,It is unlikely that 'Brian is a rhino' 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.75::factA. 0.02::factB. 0.9::factC. %hop1 0.1::factX:-or(factC,factA). 0.1::factY:-or(factC,factB). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.15753500000000004,0.10422084416883377,train,unlikely,very good chance,It is unlikely that 'Brian is a rhino' or 'Sumit is thirsty' or both.,There is a very good chance that 'Brian is a rhino' or 'Sumit is thirsty' or both.,1,'Brian is a rhino' or 'Sumit is thirsty' or both. It is certain that Jessica is a cat. It is probable that John went to the hallway. There is a very good chance that Brian is green. Chances are about even that if 'Brian is green and Jessica is a cat' then Daniel left the milk. There is a very good chance that if either 'Jessica is a cat' or 'John went to the hallway' but not both then Sandra dropped the milk. It is likely that if 'Brian is green and John went to the hallway' then Emily is a wolf.,Chances are about even that either 'Brian is green' 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.7::factB. 0.8::factC. %hop1 0.5::factX:-and(factC,factA). 0.8::factY:-xor(factA,factB). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.40800000000000003,0.3120624124824965,train,about even,highly unlikely,Chances are about even that either 'Brian is green' or 'Emily is a wolf' but not both.,It is highly unlikely that either 'Brian is green' or 'Emily is a wolf' but not both.,1,Either 'Brian is green' or 'Emily is a wolf' but not both. It is probably not the case that John discarded the milk. Chances are about even that Fred is in the office. It is unlikely that Brian is a frog. There is almost no chance that if 'Fred is in the office' or 'Brian is a frog' or both then Sumit is hungry. We believe that if 'John discarded the milk and Brian is a frog' then Winona is a mouse. We believe that if 'John discarded the milk and Fred is in the office' then Bernhard is white.,It is highly unlikely that 'Fred is in the office' or 'Sumit is hungry' 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.02::factX:-or(factB,factC). 0.75::factY:-and(factA,factC). 0.75::factZ:-and(factA,factB). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.502,0.47409481896379274,train,about even,highly unlikely,Chances are about even that 'Fred is in the office' or 'Sumit is hungry' or both.,It is highly unlikely that 'Fred is in the office' or 'Sumit is hungry' or both.,0,'Fred is in the office' or 'Sumit is hungry' or both. It is highly likely that Julius is green. Chances are slight that Greg is a lion. We doubt that Fred discarded the apple. We doubt that if 'Greg is a lion' or 'Julius is green' or both then Brian is yellow. It is certain that if 'Greg is a lion and Fred discarded the apple' then Lily is gray. It is likely that if either 'Julius is green' or 'Fred discarded the apple' but not both then Winona is a mouse.,There is almost no chance that 'Brian is yellow 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.9::factA. 0.1::factB. 0.2::factC. %hop1 0.2::factX:-or(factB,factA). 1.0::factY:-and(factB,factC). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.02000000000000001,0.2504500900180036,train,almost no chance,probably,There is almost no chance that 'Brian is yellow and Greg is a lion'.,It is probably the case that 'Brian is yellow and Greg is a lion'.,1,'Brian is yellow and Greg is a lion'. There is a very good chance that Sandra dropped the milk. It is highly unlikely that Mary put down the apple. There is almost no chance that Lily is a rhino. There is a very good chance that if either 'Mary put down the apple' or 'Sandra dropped the milk' but not both then John went to the hallway. It is certain that if either 'Mary put down the apple' or 'Lily is a rhino' but not both then Brian is white. There is little chance that if 'Sandra dropped the milk' or 'Lily is a rhino' or both then Greg is a lion.,It is likely that 'Brian is white 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.8::factA. 0.05::factB. 0.02::factC. %hop1 0.8::factX:-xor(factB,factA). 1.0::factY:-xor(factB,factC). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.019,0.3090618123624725,train,almost no chance,likely,There is almost no chance that 'Brian is white and Lily is a rhino'.,It is likely that 'Brian is white and Lily is a rhino'.,0,'Brian is white and Lily is a rhino'. It is almost certain that Emily is a mouse. There is almost no chance that Lily is white. There is a better than even chance that Mary went to the office. It is probable that if 'Mary went to the office and Lily is white' then Greg is green. It is highly likely that if 'Emily is a mouse and Mary went to the office' then Bernhard is a frog. It is highly unlikely that if either 'Emily is a mouse' or 'Lily is white' but not both then Julius is a lion.,It is impossible that either 'Emily is a mouse' 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.95::factA. 0.02::factB. 0.6::factC. %hop1 0.7::factX:-and(factC,factB). 0.9::factY:-and(factA,factC). 0.05::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.41000000000000003,0.21704340868173636,train,about even,impossible,Chances are about even that either 'Emily is a mouse' or 'Mary went to the office' but not both.,It is impossible that either 'Emily is a mouse' or 'Mary went to the office' but not both.,0,Either 'Emily is a mouse' or 'Mary went to the office' but not both. It is highly unlikely that Brian is a rhino. Chances are slight that Jessica is a sheep. It is probable that John went to the garden. There is a very good chance that if either 'Brian is a rhino' or 'John went to the garden' but not both then Greg is white. It is highly unlikely that if 'John went to the garden' or 'Brian is a rhino' or both then Lily is a swan. We believe that if 'John went to the garden and Brian is a rhino' then Julius is a frog.,There is almost no chance that 'Brian 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.05::factA. 0.1::factB. 0.7::factC. %hop1 0.8::factX:-xor(factA,factC). 0.05::factY:-or(factC,factA). 0.75::factZ:-and(factC,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.026250000000000006,0.14302860572114423,train,almost no chance,certain,There is almost no chance that 'Brian is a rhino and Julius is a frog'.,It is certain that 'Brian is a rhino and Julius is a frog'.,1,'Brian is a rhino and Julius is a frog'. It is highly unlikely that Mary left the milk. It is highly unlikely that John went to the garden. There is a better than even chance that Lily is a frog. It is improbable that if either 'Mary left the milk' or 'Lily is a frog' but not both then Greg is gray. It is likely that if 'Lily is a frog' or 'Mary left the milk' or both then Fred moved to the office. We doubt that if 'John went to the garden and Lily is a frog' then Julius is yellow.,It is likely that either 'Mary left the milk' 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.05::factA. 0.05::factB. 0.6::factC. %hop1 0.1::factX:-xor(factA,factC). 0.7::factY:-or(factC,factA). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.055400000000000005,0.2488497699539908,train,highly unlikely,likely,It is highly unlikely that either 'Mary left the milk' or 'Julius is yellow' but not both.,It is likely that either 'Mary left the milk' or 'Julius is yellow' but not both.,0,Either 'Mary left the milk' or 'Julius is yellow' but not both. It is probably not the case that John went to the office. It is probably not the case that Bernhard is a frog. It is likely that Mary left the football. It is improbable that if 'Bernhard is a frog and John went to the office' then Greg is a swan. There is a better than even chance that if 'Bernhard is a frog and Mary left the football' then Sandra put down the milk. It is unlikely that if 'Bernhard is a frog' or 'Mary left the football' or both then Brian is a swan.,We believe that 'Mary left the football' 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.25::factA. 0.25::factB. 0.7::factC. %hop1 0.1::factX:-and(factB,factA). 0.6::factY:-and(factB,factC). 0.2::factZ:-or(factB,factC). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.775,0.44768953790758154,train,we believe,impossible,We believe that 'Mary left the football' or 'John went to the office' or both.,It is impossible that 'Mary left the football' or 'John went to the office' or both.,1,'Mary left the football' or 'John went to the office' or both. It is almost certain that John went to the bedroom. There is a very good chance that Julius is white. Chances are slight that Daniel left the football. Chances are slight that if 'John went to the bedroom' or 'Daniel left the football' or both then Gertrude is a sheep. Chances are slight that if 'John went to the bedroom' or 'Julius is white' or both then Sandra took the milk. It is certain that if 'Daniel left the football' or 'Julius is white' or both then Brian is a frog.,There is almost no chance that either 'Julius is white' 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.95::factA. 0.8::factB. 0.1::factC. %hop1 0.1::factX:-or(factA,factC). 0.1::factY:-or(factA,factB). 1.0::factZ:-or(factC,factB). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.02,0.7749549909981996,train,almost no chance,very good chance,There is almost no chance that either 'Julius is white' or 'Brian is a frog' but not both.,There is a very good chance that either 'Julius is white' or 'Brian is a frog' but not both.,1,Either 'Julius is white' or 'Brian is a frog' but not both. It is probably not the case that Bernhard is green. There is a better than even chance that Mary went to the office. It is probably the case that John moved to the garden. Chances are about even that if 'Mary went to the office' or 'Bernhard is green' or both then Sandra dropped the apple. There is little chance that if either 'Bernhard is green' or 'John moved to the garden' but not both then Julius is gray. It is probably not the case that if 'John moved to the garden and Mary went to the office' then Brian is white.,We believe that 'Mary went to the office and Sandra 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.25::factA. 0.6::factB. 0.7::factC. %hop1 0.5::factX:-or(factB,factA). 0.1::factY:-xor(factA,factC). 0.25::factZ:-and(factC,factB). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.30000000000000004,0.26705341068213645,train,probably not,we believe,It is probably not the case that 'Mary went to the office and Sandra dropped the apple'.,We believe that 'Mary went to the office and Sandra dropped the apple'.,0,'Mary went to the office and Sandra dropped the apple'. It is certain that Emily is a sheep. It is probably the case that Greg is a lion. It is probable that Lily is yellow. It is certain that if either 'Greg is a lion' or 'Lily is yellow' but not both then Jeff left the apple. It is highly unlikely that if 'Lily is yellow and Greg is a lion' then Brian is a swan. It is probable that if 'Greg is a lion and Emily is a sheep' then Bernhard is a frog.,It is certain that 'Emily is a sheep' 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 1.0::factA. 0.7::factB. 0.7::factC. %hop1 1.0::factX:-xor(factB,factC). 0.05::factY:-and(factC,factB). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",1.0,0.3092618523704741,train,certain,almost no chance,It is certain that 'Emily is a sheep' or 'Bernhard is a frog' or both.,There is almost no chance that 'Emily is a sheep' or 'Bernhard is a frog' or both.,1,'Emily is a sheep' or 'Bernhard is a frog' or both. We believe that Jessica is a mouse. It is likely that Lily is a rhino. It is probable that Yann is hungry. It is certain that if 'Jessica is a mouse' or 'Yann is hungry' or both then Brian is a swan. It is highly likely that if 'Lily is a rhino and Jessica is a mouse' then Emily is a wolf. It is unlikely that if 'Lily is a rhino and Yann is hungry' then Mary went to the garden.,There is little chance that either 'Mary went to the garden' 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.75::factA. 0.7::factB. 0.7::factC. %hop1 1.0::factX:-or(factA,factC). 0.9::factY:-and(factB,factA). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.701,0.04880976195239048,train,probable,little chance,It is probable that either 'Mary went to the garden' or 'Jessica is a mouse' but not both.,There is little chance that either 'Mary went to the garden' or 'Jessica is a mouse' but not both.,0,Either 'Mary went to the garden' or 'Jessica is a mouse' but not both. We doubt that Jason is tired. It is likely that Mary got the milk. It is probably the case that Greg is yellow. It is highly unlikely that if either 'Greg is yellow' or 'Mary got the milk' but not both then Winona is a cat. It is probable that if either 'Mary got the milk' or 'Greg is yellow' but not both then John went to the bedroom. Chances are slight that if 'Jason is tired' or 'Greg is yellow' or both then Brian is green.,It is certain that either 'Brian is green' 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.2::factA. 0.7::factB. 0.7::factC. %hop1 0.05::factX:-xor(factC,factB). 0.7::factY:-xor(factB,factC). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.23600000000000004,0.7719543908781756,train,probably not,certain,It is probably not the case that either 'Brian is green' or 'Jason is tired' but not both.,It is certain that either 'Brian is green' or 'Jason is tired' but not both.,0,Either 'Brian is green' or 'Jason is tired' but not both. It is probably not the case that John took the apple. It is almost certain that Daniel left the football. It is unlikely that Lily is green. Chances are slight that if 'John took the apple' or 'Daniel left the football' or both then Bernhard is gray. It is probably the case that if either 'John took the apple' or 'Daniel left the football' but not both then Brian is white. It is impossible that if either 'Lily is green' or 'Daniel left the football' but not both then Julius is a frog.,There is a better than even chance that 'John took the apple 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.25::factA. 0.95::factB. 0.2::factC. %hop1 0.1::factX:-or(factA,factB). 0.7::factY:-xor(factA,factB). 0.0::factZ:-xor(factC,factB). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.05000000000000001,0.41728345669133826,train,highly unlikely,better than even,It is highly unlikely that 'John took the apple and Lily is green'.,There is a better than even chance that 'John took the apple and Lily is green'.,0,'John took the apple and Lily is green'. It is likely that Julius is a swan. There is a very good chance that Daniel grabbed the milk. It is highly likely that Bernhard is yellow. There is almost no chance that if 'Bernhard is yellow' or 'Julius is a swan' or both then John went to the kitchen. There is a better than even chance that if either 'Bernhard is yellow' or 'Daniel grabbed the milk' but not both then Brian is white. It is highly unlikely that if either 'Daniel grabbed the milk' or 'Julius is a swan' but not both then Greg is a lion.,There is almost no chance that 'Julius 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.7::factA. 0.8::factB. 0.9::factC. %hop1 0.02::factX:-or(factC,factA). 0.6::factY:-xor(factC,factB). 0.05::factZ:-xor(factB,factA). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.63,0.5657131426285257,train,better than even,almost no chance,There is a better than even chance that 'Julius is a swan and Bernhard is yellow'.,There is almost no chance that 'Julius is a swan and Bernhard is yellow'.,0,'Julius is a swan and Bernhard is yellow'. It is almost certain that Lily is yellow. It is certain that Julius is gray. Chances are slight that Brian is green. Chances are about even that if 'Lily is yellow' or 'Julius is gray' or both then Mary went to the hallway. We doubt that if 'Lily is yellow and Julius is gray' then Sandra dropped the milk. It is likely that if 'Julius is gray and Brian is green' then John discarded the milk.,It is almost certain that 'Brian is green 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.95::factA. 1.0::factB. 0.1::factC. %hop1 0.5::factX:-or(factA,factB). 0.2::factY:-and(factA,factB). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.05000000000000001,0.7739547909581916,train,highly unlikely,almost certain,It is highly unlikely that 'Brian is green and Mary went to the hallway'.,It is almost certain that 'Brian is green and Mary went to the hallway'.,0,'Brian is green and Mary went to the hallway'. It is probably the case that John moved to the garden. It is improbable that Jessica is a sheep. It is certain that Brian is yellow. We doubt that if 'John moved to the garden and Brian is yellow' then Bernhard is green. Chances are slight that if either 'Jessica is a sheep' or 'Brian is yellow' but not both then Greg is a swan. There is a very good chance that if 'Jessica is a sheep' or 'John moved to the garden' or both then Mary left the milk.,It is highly likely that either 'Jessica is a sheep' 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.7::factA. 0.1::factB. 1.0::factC. %hop1 0.2::factX:-and(factA,factC). 0.1::factY:-xor(factB,factC). 0.8::factZ:-or(factB,factA). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.21200000000000002,0.481496299259852,train,unlikely,highly likely,It is unlikely that either 'Jessica is a sheep' or 'Bernhard is green' but not both.,It is highly likely that either 'Jessica is a sheep' or 'Bernhard is green' but not both.,0,Either 'Jessica is a sheep' or 'Bernhard is green' but not both. There is little chance that Jason is tired. It is probable that Lily is a swan. It is probably the case that Bernhard is a frog. It is highly unlikely that if 'Lily is a swan and Jason is tired' then Sandra got the milk. We doubt that if 'Jason is tired and Lily is a swan' then Daniel left the apple. It is improbable that if 'Bernhard is a frog' or 'Jason is tired' or both then John went to the kitchen.,It is probable that 'Lily is a swan 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.7::factB. 0.7::factC. %hop1 0.05::factX:-and(factB,factA). 0.2::factY:-and(factA,factB). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.07,0.5063012602520505,train,highly unlikely,probable,It is highly unlikely that 'Lily is a swan and Jason is tired'.,It is probable that 'Lily is a swan and Jason is tired'.,0,'Lily is a swan and Jason is tired'. We doubt that Brian is a rhino. Chances are slight that John went to the hallway. It is highly unlikely that Mary dropped the apple. It is certain that if either 'Brian is a rhino' or 'Mary dropped the apple' but not both then Jason is tired. It is improbable that if either 'Mary dropped the apple' or 'Brian is a rhino' but not both then Jeff discarded the milk. It is certain that if either 'John went to the hallway' or 'Mary dropped the apple' but not both then Bernhard is green.,It is probably not the case that 'Brian is a rhino' 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.2::factA. 0.1::factB. 0.05::factC. %hop1 1.0::factX:-xor(factA,factC). 0.1::factY:-xor(factC,factA). 1.0::factZ:-xor(factB,factC). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.312,0.3228645729145829,train,probably not,certain,It is probably not the case that 'Brian is a rhino' or 'Bernhard is green' or both.,It is certain that 'Brian is a rhino' or 'Bernhard is green' or both.,1,'Brian is a rhino' or 'Bernhard is green' or both. It is improbable that Julius is white. It is unlikely that Jessica is a sheep. Chances are slight that Mary went to the kitchen. There is little chance that if 'Jessica is a sheep' or 'Julius is white' or both then Brian is a lion. It is probable that if 'Jessica is a sheep and Mary went to the kitchen' then Daniel got the milk. It is probably the case that if either 'Jessica is a sheep' or 'Julius is white' but not both then Bernhard is a frog.,It is probably not the case that either 'Jessica 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.1::factA. 0.2::factB. 0.1::factC. %hop1 0.1::factX:-or(factB,factA). 0.7::factY:-and(factB,factC). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.26,0.6771354270854171,train,probably not,almost certain,It is probably not the case that either 'Jessica is a sheep' or 'Julius is white' but not both.,It is almost certain that either 'Jessica is a sheep' or 'Julius is white' but not both.,1,Either 'Jessica is a sheep' or 'Julius is white' but not both. There is almost no chance that Sandra took the football. It is probable that Greg is white. It is likely that John dropped the apple. It is impossible that if 'Sandra took the football' or 'John dropped the apple' or both then Daniel put down the milk. We believe that if 'Sandra took the football and John dropped the apple' then Lily is a lion. It is probably the case that if 'Sandra took the football' or 'John dropped the apple' or both then Mary went to the garden.,It is impossible that 'Mary went to the garden and John 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.02::factA. 0.7::factB. 0.7::factC. %hop1 0.0::factX:-or(factA,factC). 0.75::factY:-and(factA,factC). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.48999999999999994,0.3034606921384277,train,about even,impossible,Chances are about even that 'Mary went to the garden and John dropped the apple'.,It is impossible that 'Mary went to the garden and John dropped the apple'.,0,'Mary went to the garden and John dropped the apple'. There is almost no chance that John went to the office. It is almost certain that Mary left the football. It is probably the case that Bernhard is a swan. It is unlikely that if 'John went to the office and Bernhard is a swan' then Yann is tired. It is likely that if 'Mary left the football and Bernhard is a swan' then Jessica is a cat. Chances are about even that if 'Bernhard is a swan and Mary left the football' then Daniel took the milk.,It is certain that either 'Bernhard is a swan' 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.02::factA. 0.95::factB. 0.7::factC. %hop1 0.2::factX:-and(factA,factC). 0.7::factY:-and(factB,factC). 0.5::factZ:-and(factC,factB). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.23450000000000004,0.7461492298459692,train,probably not,certain,It is probably not the case that either 'Bernhard is a swan' or 'Jessica is a cat' but not both.,It is certain that either 'Bernhard is a swan' or 'Jessica is a cat' but not both.,0,Either 'Bernhard is a swan' or 'Jessica is a cat' but not both. We doubt that Julius is a lion. We believe that Gertrude is a cat. It is unlikely that John dropped the apple. We believe that if 'John dropped the apple and Julius is a lion' then Lily is a rhino. Chances are about even that if either 'Julius is a lion' or 'Gertrude is a cat' but not both then Emily is a cat. It is likely that if either 'Julius is a lion' or 'John dropped the apple' but not both then Bernhard is a rhino.,We believe that either 'Bernhard is a rhino' 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.2::factA. 0.75::factB. 0.2::factC. %hop1 0.75::factX:-and(factC,factA). 0.5::factY:-xor(factA,factB). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.19999999999999998,0.7353470694138827,train,unlikely,we believe,It is unlikely that either 'Bernhard is a rhino' or 'Julius is a lion' but not both.,We believe that either 'Bernhard is a rhino' or 'Julius is a lion' but not both.,0,Either 'Bernhard is a rhino' or 'Julius is a lion' but not both. It is almost certain that Daniel got the football. Chances are slight that Julius is white. It is likely that Sumit is thirsty. There is a very good chance that if either 'Julius is white' or 'Sumit is thirsty' but not both then Lily is green. It is likely that if 'Sumit is thirsty and Daniel got the football' then Greg is gray. It is likely that if 'Daniel got the football' or 'Julius is white' or both then John left the apple.,It is highly unlikely that 'Greg is gray 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.95::factA. 0.1::factB. 0.7::factC. %hop1 0.8::factX:-xor(factB,factC). 0.7::factY:-and(factC,factA). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.04655,0.7089417883576715,train,highly unlikely,highly likely,It is highly unlikely that 'Greg is gray and Julius is white'.,It is highly likely that 'Greg is gray and Julius is white'.,1,'Greg is gray and Julius is white'. There is little chance that Daniel got the apple. There is little chance that Mary went to the kitchen. There is almost no chance that Brian is a lion. It is probably not the case that if 'Brian is a lion and Daniel got the apple' then Lily is green. Chances are about even that if 'Daniel got the apple and Brian is a lion' then Jessica is a mouse. It is probably the case that if 'Daniel got the apple' or 'Mary went to the kitchen' or both then Bernhard is yellow.,Chances are slight that either 'Bernhard is yellow' or 'Lily 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.1::factB. 0.02::factC. %hop1 0.25::factX:-and(factC,factA). 0.5::factY:-and(factA,factC). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.13279999999999997,0.7549509901980396,train,chances are slight,probably,Chances are slight that either 'Bernhard is yellow' or 'Lily is green' but not both.,It is probably the case that either 'Bernhard is yellow' or 'Lily is green' but not both.,1,Either 'Bernhard is yellow' or 'Lily is green' but not both. We believe that Fred went to the garden. It is probably the case that Julius is white. It is unlikely that Gertrude is a sheep. It is probably the case that if 'Fred went to the garden' or 'Gertrude is a sheep' or both then Brian is a frog. It is certain that if either 'Julius is white' or 'Fred went to the garden' but not both then Daniel dropped the apple. It is improbable that if 'Julius is white and Fred went to the garden' then Greg is a lion.,It is almost certain that 'Fred went to the garden' 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.75::factA. 0.7::factB. 0.2::factC. %hop1 0.7::factX:-or(factA,factC). 1.0::factY:-xor(factB,factA). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.925,0.21744348869773955,train,almost certain,improbable,It is almost certain that 'Fred went to the garden' or 'Julius is white' or both.,It is improbable that 'Fred went to the garden' or 'Julius is white' or both.,1,'Fred went to the garden' or 'Julius is white' or both. Chances are slight that Mary went to the hallway. Chances are about even that Greg is a rhino. We believe that Emily is a cat. Chances are slight that if either 'Mary went to the hallway' or 'Greg is a rhino' but not both then Lily is a swan. There is a better than even chance that if either 'Greg is a rhino' or 'Emily is a cat' but not both then Fred is in the school. We believe that if 'Greg is a rhino and Mary went to the hallway' then Bernhard is green.,It is highly unlikely that 'Greg is a rhino' or 'Mary 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.1::factA. 0.5::factB. 0.75::factC. %hop1 0.1::factX:-xor(factA,factB). 0.6::factY:-xor(factB,factC). 0.75::factZ:-and(factB,factA). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.55,0.38307661532306464,train,better than even,highly unlikely,There is a better than even chance that 'Greg is a rhino' or 'Mary went to the hallway' or both.,It is highly unlikely that 'Greg is a rhino' or 'Mary went to the hallway' or both.,0,'Greg is a rhino' or 'Mary went to the hallway' or both. It is likely that Bernhard is white. It is improbable that Lily is yellow. Chances are about even that Brian is green. There is a very good chance that if 'Lily is yellow and Bernhard is white' then Gertrude is a wolf. There is a better than even chance that if 'Brian is green and Bernhard is white' then Greg is a swan. It is likely that if 'Lily is yellow and Brian is green' then Mary went to the garden.,It is highly unlikely that 'Mary went to the garden' 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.1::factB. 0.5::factC. %hop1 0.8::factX:-and(factB,factA). 0.6::factY:-and(factC,factA). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.5,0.2674534906981396,train,about even,highly unlikely,Chances are about even that 'Mary went to the garden' or 'Brian is green' or both.,It is highly unlikely that 'Mary went to the garden' or 'Brian is green' or both.,0,'Mary went to the garden' or 'Brian is green' or both. There is almost no chance that Yann is hungry. It is probable that Lily is yellow. It is highly unlikely that Bernhard is a lion. It is certain that if either 'Bernhard is a lion' or 'Yann is hungry' but not both then Greg is yellow. Chances are about even that if either 'Bernhard is a lion' or 'Yann is hungry' but not both then Julius is a swan. It is unlikely that if 'Yann is hungry' or 'Bernhard is a lion' or both then Sandra dropped the milk.,It is highly unlikely that 'Lily is yellow' or 'Yann is hungry' 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.05::factC. %hop1 1.0::factX:-xor(factC,factA). 0.5::factY:-xor(factC,factA). 0.2::factZ:-or(factA,factC). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.706,0.6325265053010602,train,probably,highly unlikely,It is probably the case that 'Lily is yellow' or 'Yann is hungry' or both.,It is highly unlikely that 'Lily is yellow' or 'Yann is hungry' or both.,0,'Lily is yellow' or 'Yann is hungry' or both. It is likely that Julius is a rhino. It is probable that Brian is yellow. We doubt that Mary moved to the garden. It is unlikely that if 'Brian is yellow and Mary moved to the garden' then Gertrude is a sheep. It is probable that if 'Brian is yellow' or 'Julius is a rhino' or both then Sandra dropped the apple. It is probably not the case that if 'Brian is yellow' or 'Julius is a rhino' or both then Lily is a frog.,It is impossible that 'Julius is a rhino' 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 0.7::factA. 0.7::factB. 0.2::factC. %hop1 0.2::factX:-and(factB,factC). 0.7::factY:-or(factB,factA). 0.25::factZ:-or(factB,factA). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.7084,0.7901580316063213,train,likely,impossible,It is likely that 'Julius is a rhino' or 'Gertrude is a sheep' or both.,It is impossible that 'Julius is a rhino' or 'Gertrude is a sheep' or both.,0,'Julius is a rhino' or 'Gertrude is a sheep' or both. We doubt that Bill went to the bedroom. We doubt that Greg is gray. It is highly unlikely that Lily is a lion. It is almost certain that if 'Lily is a lion and Bill went to the bedroom' then Sandra got the milk. We doubt that if either 'Greg is gray' or 'Lily is a lion' but not both then Mary moved to the office. We doubt that if either 'Bill went to the bedroom' or 'Greg is gray' but not both then Brian is yellow.,There is a very good chance that 'Brian is yellow' or 'Bill 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.2::factA. 0.2::factB. 0.05::factC. %hop1 0.95::factX:-and(factC,factA). 0.2::factY:-xor(factB,factC). 0.2::factZ:-xor(factA,factB). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.23200000000000004,0.23944788957791557,train,probably not,very good chance,It is probably not the case that 'Brian is yellow' or 'Bill went to the bedroom' or both.,There is a very good chance that 'Brian is yellow' or 'Bill went to the bedroom' or both.,0,'Brian is yellow' or 'Bill went to the bedroom' or both. It is likely that Sandra grabbed the apple. Chances are slight that Fred is in the cinema. There is little chance that John went to the garden. There is little chance that if either 'Fred is in the cinema' or 'John went to the garden' but not both then Mary discarded the milk. It is probably not the case that if 'John went to the garden' or 'Sandra grabbed the apple' or both then Greg is gray. It is probably not the case that if 'Fred is in the cinema and Sandra grabbed the apple' then Lily is a rhino.,We doubt that 'Greg is gray' 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.1::factB. 0.1::factC. %hop1 0.1::factX:-xor(factB,factC). 0.25::factY:-or(factC,factA). 0.25::factZ:-and(factB,factA). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.19562500000000002,0.5527105421084216,train,we doubt,likely,We doubt that 'Greg is gray' or 'Lily is a rhino' or both.,It is likely that 'Greg is gray' or 'Lily is a rhino' or both.,1,'Greg is gray' or 'Lily is a rhino' or both. It is probably the case that Sandra dropped the milk. We believe that Mary left the football. It is certain that Bill went to the office. There is almost no chance that if 'Sandra dropped the milk and Bill went to the office' then John discarded the apple. It is impossible that if either 'Mary left the football' or 'Bill went to the office' but not both then Greg is a swan. Chances are about even that if 'Sandra dropped the milk and Bill went to the office' then Julius is a lion.,It is probably the case that 'Sandra dropped the milk' 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.7::factA. 0.75::factB. 1.0::factC. %hop1 0.02::factX:-and(factA,factC). 0.0::factY:-xor(factB,factC). 0.5::factZ:-and(factA,factC). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.7,0.28985797159431886,train,probably,unlikely,It is probably the case that 'Sandra dropped the milk' or 'Julius is a lion' or both.,It is unlikely that 'Sandra dropped the milk' or 'Julius is a lion' or both.,1,'Sandra dropped the milk' or 'Julius is a lion' or both. There is little chance that Julius is a swan. It is likely that John dropped the apple. It is probably not the case that Bernhard is a lion. We believe that if 'Julius is a swan' or 'John dropped the apple' or both then Daniel left the milk. It is probably the case that if 'Julius is a swan' or 'Bernhard is a lion' or both then Sandra took the milk. It is probably not the case that if either 'Bernhard is a lion' or 'Julius is a swan' but not both then Jeff moved to the garden.,It is improbable that 'Bernhard is a lion' or 'John 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.25::factC. %hop1 0.75::factX:-or(factA,factB). 0.7::factY:-or(factA,factC). 0.25::factZ:-xor(factC,factA). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.775,0.15203040608121624,train,very good chance,improbable,There is a very good chance that 'Bernhard is a lion' or 'John dropped the apple' or both.,It is improbable that 'Bernhard is a lion' or 'John dropped the apple' or both.,0,'Bernhard is a lion' or 'John dropped the apple' or both. It is probably not the case that Winona is a wolf. There is almost no chance that Lily is a rhino. It is highly unlikely that Sandra grabbed the milk. There is a very good chance that if 'Winona is a wolf' or 'Sandra grabbed the milk' or both then Bernhard is gray. It is highly likely that if either 'Sandra grabbed the milk' or 'Winona is a wolf' but not both then Brian is a lion. It is probable that if 'Sandra grabbed the milk and Winona is a wolf' then Mary went to the kitchen.,There is almost no chance that 'Sandra grabbed the milk 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.25::factA. 0.02::factB. 0.05::factC. %hop1 0.8::factX:-or(factA,factC). 0.9::factY:-xor(factC,factA). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.012500000000000006,0.6379275855171034,train,almost no chance,probably,There is almost no chance that 'Sandra grabbed the milk and Winona is a wolf'.,It is probably the case that 'Sandra grabbed the milk and Winona is a wolf'.,1,'Sandra grabbed the milk and Winona is a wolf'. It is highly likely that Mary moved to the office. There is a better than even chance that Daniel got the football. Chances are about even that Lily is a rhino. There is a better than even chance that if either 'Mary moved to the office' or 'Daniel got the football' but not both then Greg is a rhino. It is impossible that if 'Mary moved to the office' or 'Lily is a rhino' or both then Julius is white. There is a very good chance that if either 'Daniel got the football' or 'Lily is a rhino' but not both then Antoine is hungry.,Chances are slight that either 'Daniel got the football' 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.9::factA. 0.6::factB. 0.5::factC. %hop1 0.6::factX:-xor(factA,factB). 0.0::factY:-or(factA,factC). 0.8::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.6,0.5247049409881976,train,better than even,chances are slight,There is a better than even chance that either 'Daniel got the football' or 'Julius is white' but not both.,Chances are slight that either 'Daniel got the football' or 'Julius is white' but not both.,0,Either 'Daniel got the football' or 'Julius is white' but not both. There is little chance that Bernhard is a rhino. It is certain that John went to the garden. Chances are slight that Gertrude is a mouse. It is certain that if either 'Gertrude is a mouse' or 'John went to the garden' but not both then Lily is a swan. It is improbable that if 'Bernhard is a rhino' or 'John went to the garden' or both then Sandra dropped the milk. It is unlikely that if 'John went to the garden' or 'Bernhard is a rhino' or both then Brian is gray.,It is probably not the case that either 'Brian is gray' 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.1::factA. 1.0::factB. 0.1::factC. %hop1 1.0::factX:-xor(factC,factB). 0.1::factY:-or(factA,factB). 0.2::factZ:-or(factB,factA). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.26,0.4196839367873575,train,probably not,we believe,It is probably not the case that either 'Brian is gray' or 'Sandra dropped the milk' but not both.,We believe that either 'Brian is gray' or 'Sandra dropped the milk' but not both.,1,Either 'Brian is gray' or 'Sandra dropped the milk' but not both. We doubt that Mary went to the office. It is almost certain that Julius is a lion. It is impossible that Winona is a sheep. We doubt that if 'Winona is a sheep' or 'Mary went to the office' or both then John took the apple. It is unlikely that if 'Winona is a sheep and Julius is a lion' then Sandra dropped the milk. It is probably the case that if 'Winona is a sheep and Mary went to the office' then Brian is a swan.,It is probable that 'Winona is a sheep' or 'Mary 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.2::factA. 0.95::factB. 0.0::factC. %hop1 0.2::factX:-or(factC,factA). 0.2::factY:-and(factC,factB). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.2,0.4700940188037607,train,unlikely,probable,It is unlikely that 'Winona is a sheep' or 'Mary went to the office' or both.,It is probable that 'Winona is a sheep' or 'Mary went to the office' or both.,0,'Winona is a sheep' or 'Mary went to the office' or both. It is highly unlikely that John went to the kitchen. It is almost certain that Jason is tired. Chances are slight that Bernhard is a rhino. There is almost no chance that if 'Bernhard is a rhino' or 'John went to the kitchen' or both then Sandra left the apple. It is impossible that if 'Jason is tired and John went to the kitchen' then Greg is green. It is likely that if either 'Bernhard is a rhino' or 'Jason is tired' but not both then Mary moved to the garden.,It is impossible that 'Bernhard is a rhino 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.05::factA. 0.95::factB. 0.1::factC. %hop1 0.02::factX:-or(factC,factA). 0.0::factY:-and(factB,factA). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.005000000000000002,0.02480496099219844,train,impossible,better than even,It is impossible that 'Bernhard is a rhino and John went to the kitchen'.,There is a better than even chance that 'Bernhard is a rhino and John went to the kitchen'.,1,'Bernhard is a rhino and John went to the kitchen'. It is probably the case that Bill went to the garden. It is probable that Sumit is thirsty. It is impossible that Greg is a frog. It is unlikely that if 'Greg is a frog' or 'Bill went to the garden' or both then Brian is a rhino. There is a better than even chance that if 'Greg is a frog' or 'Bill went to the garden' or both then Julius is white. It is improbable that if 'Greg is a frog and Bill went to the garden' then Jessica is a mouse.,It is impossible that either 'Sumit is thirsty' 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.7::factA. 0.7::factB. 0.0::factC. %hop1 0.2::factX:-or(factC,factA). 0.6::factY:-or(factC,factA). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.42,0.39427885577115424,train,about even,impossible,Chances are about even that either 'Sumit is thirsty' or 'Bill went to the garden' but not both.,It is impossible that either 'Sumit is thirsty' or 'Bill went to the garden' but not both.,0,Either 'Sumit is thirsty' or 'Bill went to the garden' but not both. There is almost no chance that Jeff discarded the milk. Chances are slight that Lily is yellow. We doubt that Brian is a swan. It is almost certain that if either 'Jeff discarded the milk' or 'Lily is yellow' but not both then Julius is a rhino. It is probable that if either 'Jeff discarded the milk' or 'Lily is yellow' but not both then Fred went to the garden. It is impossible that if 'Jeff discarded the milk and Brian is a swan' then John grabbed the apple.,It is highly unlikely that either 'Fred went to the garden' 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.02::factA. 0.1::factB. 0.2::factC. %hop1 0.95::factX:-xor(factA,factB). 0.7::factY:-xor(factA,factB). 0.0::factZ:-and(factA,factC). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.03712,0.581116223244649,train,highly unlikely,certain,It is highly unlikely that either 'Fred went to the garden' or 'Julius is a rhino' but not both.,It is certain that either 'Fred went to the garden' or 'Julius is a rhino' but not both.,1,Either 'Fred went to the garden' or 'Julius is a rhino' but not both. It is probable that Bernhard is a frog. There is a very good chance that Daniel dropped the apple. It is probable that John moved to the office. It is likely that if 'Bernhard is a frog and Daniel dropped the apple' then Greg is yellow. It is probably the case that if 'Daniel dropped the apple' or 'John moved to the office' or both then Brian is yellow. It is almost certain that if 'John moved to the office' or 'Bernhard is a frog' or both then Jeff went to the garden.,Chances are about even that either 'Jeff went to the garden' 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.7::factA. 0.8::factB. 0.7::factC. %hop1 0.7::factX:-and(factA,factB). 0.7::factY:-or(factB,factC). 0.95::factZ:-or(factC,factA). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.5116999999999999,0.15763152630526106,train,about even,almost certain,Chances are about even that either 'Jeff went to the garden' or 'Greg is yellow' but not both.,It is almost certain that either 'Jeff went to the garden' or 'Greg is yellow' but not both.,1,Either 'Jeff went to the garden' or 'Greg is yellow' but not both. It is highly unlikely that Brian is white. It is almost certain that Lily is white. It is probably the case that Bernhard is yellow. It is unlikely that if 'Brian is white and Bernhard is yellow' then Fred is in the cinema. We doubt that if 'Brian is white and Bernhard is yellow' then Greg is a rhino. It is highly unlikely that if 'Lily is white and Brian is white' then John left the milk.,There is little chance that 'John left the milk' 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.95::factB. 0.7::factC. %hop1 0.2::factX:-and(factA,factC). 0.2::factY:-and(factA,factC). 0.05::factZ:-and(factB,factA). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.95,0.3892778555711142,train,almost certain,little chance,It is almost certain that 'John left the milk' or 'Lily is white' or both.,There is little chance that 'John left the milk' or 'Lily is white' or both.,0,'John left the milk' or 'Lily is white' or both. It is improbable that Antoine is thirsty. It is highly unlikely that Sandra got the football. It is probably the case that Bernhard is a rhino. It is improbable that if 'Antoine is thirsty and Bernhard is a rhino' then Gertrude is a wolf. It is improbable that if 'Bernhard is a rhino' or 'Antoine is thirsty' or both then Mary grabbed the milk. We doubt that if 'Sandra got the football' or 'Bernhard is a rhino' or both then John dropped the apple.,It is impossible that 'Mary grabbed the milk and Gertrude 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.1::factA. 0.05::factB. 0.7::factC. %hop1 0.1::factX:-and(factA,factC). 0.1::factY:-or(factC,factA). 0.2::factZ:-or(factB,factC). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.0007000000000000008,0.3234646929385877,train,impossible,almost certain,It is impossible that 'Mary grabbed the milk and Gertrude is a wolf'.,It is almost certain that 'Mary grabbed the milk and Gertrude is a wolf'.,1,'Mary grabbed the milk and Gertrude is a wolf'. It is probably not the case that Bernhard is gray. There is a better than even chance that Julius is a frog. It is probably not the case that John went to the garden. It is probably the case that if 'John went to the garden' or 'Bernhard is gray' or both then Sandra put down the milk. It is probable that if 'John went to the garden' or 'Julius is a frog' or both then Mary left the football. It is highly unlikely that if 'Julius is a frog' or 'John went to the garden' or both then Brian is yellow.,It is improbable that 'Bernhard is gray' 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.25::factA. 0.6::factB. 0.25::factC. %hop1 0.7::factX:-or(factC,factA). 0.7::factY:-or(factC,factB). 0.05::factZ:-or(factB,factC). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.6174999999999999,0.6597319463892779,train,better than even,improbable,There is a better than even chance that 'Bernhard is gray' or 'Mary left the football' or both.,It is improbable that 'Bernhard is gray' or 'Mary left the football' or both.,0,'Bernhard is gray' or 'Mary left the football' or both. There is little chance that Brian is yellow. It is almost certain that Lily is a lion. We doubt that Julius is a swan. We believe that if either 'Lily is a lion' or 'Julius is a swan' but not both then Bernhard is gray. It is improbable that if 'Lily is a lion and Brian is yellow' then Bill left the milk. There is a very good chance that if either 'Julius is a swan' or 'Lily is a lion' but not both then John dropped the apple.,There is a very good chance that 'Lily is a lion 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.95::factB. 0.2::factC. %hop1 0.75::factX:-xor(factB,factC). 0.1::factY:-and(factB,factA). 0.8::factZ:-xor(factC,factB). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.09500000000000001,0.3038607721544309,train,chances are slight,very good chance,Chances are slight that 'Lily is a lion and Brian is yellow'.,There is a very good chance that 'Lily is a lion and Brian is yellow'.,0,'Lily is a lion and Brian is yellow'. It is probably not the case that Greg is a rhino. It is improbable that Gertrude is a cat. There is little chance that Jason is tired. Chances are slight that if 'Gertrude is a cat' or 'Greg is a rhino' or both then Lily is green. There is almost no chance that if 'Greg is a rhino' or 'Gertrude is a cat' or both then Bernhard is yellow. It is likely that if 'Greg is a rhino' or 'Jason is tired' or both then John went to the garden.,It is improbable that either 'Bernhard is yellow' or 'Gertrude 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.25::factA. 0.1::factB. 0.1::factC. %hop1 0.1::factX:-or(factB,factA). 0.02::factY:-or(factA,factB). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.10250000000000005,0.7803560712142429,train,improbable,likely,It is improbable that either 'Bernhard is yellow' or 'Gertrude is a cat' but not both.,It is likely that either 'Bernhard is yellow' or 'Gertrude is a cat' but not both.,1,Either 'Bernhard is yellow' or 'Gertrude is a cat' but not both. It is highly unlikely that Brian is green. It is highly likely that Greg is a rhino. It is probably not the case that Julius is a swan. It is unlikely that if either 'Julius is a swan' or 'Greg is a rhino' but not both then Daniel got the football. It is highly likely that if 'Greg is a rhino and Julius is a swan' then John took the apple. We believe that if 'Julius is a swan' or 'Brian is green' or both then Bernhard is gray.,It is probable that 'Brian is green 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.05::factA. 0.9::factB. 0.25::factC. %hop1 0.2::factX:-xor(factC,factB). 0.9::factY:-and(factB,factC). 0.75::factZ:-or(factC,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.03750000000000001,0.00640128025605121,train,highly unlikely,probable,It is highly unlikely that 'Brian is green and Bernhard is gray'.,It is probable that 'Brian is green and Bernhard is gray'.,0,'Brian is green and Bernhard is gray'. It is probably not the case that Daniel got the milk. We believe that Brian is a frog. Chances are slight that Winona is a wolf. It is certain that if either 'Winona is a wolf' or 'Daniel got the milk' but not both then Jeff went to the bedroom. Chances are slight that if either 'Brian is a frog' or 'Daniel got the milk' but not both then Emily is a mouse. We believe that if 'Daniel got the milk and Winona is a wolf' then Mary took the football.,It is probable that 'Mary took the football' or 'Emily 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.25::factA. 0.75::factB. 0.1::factC. %hop1 1.0::factX:-xor(factC,factA). 0.1::factY:-xor(factB,factA). 0.75::factZ:-and(factA,factC). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.08078125000000003,0.119623924784957,train,improbable,probable,It is improbable that 'Mary took the football' or 'Emily is a mouse' or both.,It is probable that 'Mary took the football' or 'Emily is a mouse' or both.,0,'Mary took the football' or 'Emily is a mouse' or both. There is a very good chance that Greg is a swan. It is unlikely that John discarded the apple. It is probably the case that Mary got the football. Chances are slight that if 'John discarded the apple and Greg is a swan' then Sandra left the milk. It is almost certain that if 'Mary got the football and John discarded the apple' then Jeff went to the bedroom. It is probably the case that if either 'John discarded the apple' or 'Greg is a swan' but not both then Yann is tired.,There is little chance that 'Mary got the football 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.8::factA. 0.2::factB. 0.7::factC. %hop1 0.1::factX:-and(factB,factA). 0.95::factY:-and(factC,factB). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.14,0.7053410682136427,train,little chance,likely,There is little chance that 'Mary got the football and John discarded the apple'.,It is likely that 'Mary got the football and John discarded the apple'.,1,'Mary got the football and John discarded the apple'. It is probably the case that Bernhard is a rhino. It is highly unlikely that Julius is gray. It is probably the case that Gertrude is a cat. It is impossible that if either 'Gertrude is a cat' or 'Julius is gray' but not both then John grabbed the apple. It is highly likely that if 'Julius is gray' or 'Gertrude is a cat' or both then Greg is green. It is probably not the case that if 'Julius is gray and Gertrude is a cat' then Mary went to the hallway.,It is improbable that 'Greg is green' 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.7::factA. 0.05::factB. 0.7::factC. %hop1 0.0::factX:-xor(factC,factB). 0.9::factY:-or(factB,factC). 0.25::factZ:-and(factB,factC). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.6485,0.1220244048809762,train,better than even,improbable,There is a better than even chance that 'Greg is green' or 'Julius is gray' or both.,It is improbable that 'Greg is green' or 'Julius is gray' or both.,0,'Greg is green' or 'Julius is gray' or both. It is impossible that Julius is a lion. Chances are about even that Lily is a rhino. It is almost certain that Daniel took the apple. There is a very good chance that if 'Julius is a lion' or 'Daniel took the apple' or both then Brian is a swan. Chances are about even that if 'Daniel took the apple' or 'Julius is a lion' or both then Jessica is a cat. It is almost certain that if 'Julius is a lion and Lily is a rhino' then Greg is yellow.,We believe that either 'Brian is a swan' 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.0::factA. 0.5::factB. 0.95::factC. %hop1 0.8::factX:-or(factA,factC). 0.5::factY:-or(factC,factA). 0.95::factZ:-and(factA,factB). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.76,0.33166633326665335,train,we believe,unlikely,We believe that either 'Brian is a swan' or 'Greg is yellow' but not both.,It is unlikely that either 'Brian is a swan' or 'Greg is yellow' but not both.,1,Either 'Brian is a swan' or 'Greg is yellow' but not both. It is probably the case that Jeff moved to the garden. It is unlikely that John dropped the milk. We believe that Daniel got the apple. It is likely that if 'Jeff moved to the garden' or 'John dropped the milk' or both then Greg is a swan. It is certain that if 'Jeff moved to the garden and John dropped the milk' then Julius is yellow. It is probably the case that if either 'Jeff moved to the garden' or 'Daniel got the apple' but not both then Mary went to the office.,Chances are slight that either 'Mary went to the office' 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.7::factA. 0.2::factB. 0.75::factC. %hop1 0.7::factX:-or(factA,factB). 1.0::factY:-and(factA,factB). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.5964,0.0030006001200240046,train,better than even,chances are slight,There is a better than even chance that either 'Mary went to the office' or 'Greg is a swan' but not both.,Chances are slight that either 'Mary went to the office' or 'Greg is a swan' but not both.,0,Either 'Mary went to the office' or 'Greg is a swan' but not both. It is probable that Lily is white. There is a very good chance that Brian is a frog. Chances are slight that Julius is gray. There is a very good chance that if 'Brian is a frog and Lily is white' then Mary dropped the milk. There is almost no chance that if 'Brian is a frog and Julius is gray' then John got the apple. It is probably not the case that if 'Brian is a frog and Julius is gray' then Bernhard is green.,It is improbable that 'Brian is a frog 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.8::factB. 0.1::factC. %hop1 0.8::factX:-and(factB,factA). 0.02::factY:-and(factB,factC). 0.25::factZ:-and(factB,factC). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.5599999999999999,0.027405481096219243,train,better than even,improbable,There is a better than even chance that 'Brian is a frog and Lily is white'.,It is improbable that 'Brian is a frog and Lily is white'.,0,'Brian is a frog and Lily is white'. It is improbable that Mary grabbed the milk. There is a better than even chance that John went to the garden. It is impossible that Julius is green. It is probably the case that if either 'John went to the garden' or 'Mary grabbed the milk' but not both then Jessica is a mouse. It is highly unlikely that if 'Julius is green and Mary grabbed the milk' then Lily is a frog. It is probably not the case that if either 'Mary grabbed the milk' or 'Julius is green' but not both then Sandra took the football.,It is impossible that 'Sandra took the football 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 0.1::factA. 0.6::factB. 0.0::factC. %hop1 0.7::factX:-xor(factB,factA). 0.05::factY:-and(factC,factA). 0.25::factZ:-xor(factA,factC). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.0,0.033606721344268856,train,impossible,probably,It is impossible that 'Sandra took the football and Julius is green'.,It is probably the case that 'Sandra took the football and Julius is green'.,1,'Sandra took the football and Julius is green'. It is almost certain that Mary went to the garden. Chances are about even that Julius is gray. It is highly likely that Fred left the football. It is likely that if either 'Mary went to the garden' or 'Julius is gray' but not both then Lily is yellow. We doubt that if either 'Fred left the football' or 'Julius is gray' but not both then Bernhard is a swan. It is highly likely that if 'Fred left the football' or 'Julius is gray' or both then John put down the apple.,It is unlikely that either 'Bernhard is a swan' or 'Fred 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.95::factA. 0.5::factB. 0.9::factC. %hop1 0.7::factX:-xor(factA,factB). 0.2::factY:-xor(factC,factB). 0.9::factZ:-or(factC,factB). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.82,0.027605521104220845,train,very good chance,unlikely,There is a very good chance that either 'Bernhard is a swan' or 'Fred left the football' but not both.,It is unlikely that either 'Bernhard is a swan' or 'Fred left the football' but not both.,0,Either 'Bernhard is a swan' or 'Fred left the football' but not both. It is probably the case that Greg is a lion. There is a better than even chance that Mary moved to the office. It is improbable that Bernhard is gray. It is highly likely that if either 'Bernhard is gray' or 'Mary moved to the office' but not both then Lily is a swan. It is almost certain that if 'Greg is a lion and Mary moved to the office' then John picked up the milk. There is little chance that if 'Mary moved to the office and Greg is a lion' then Fred went to the garden.,It is highly unlikely that 'Greg is a lion 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.7::factA. 0.6::factB. 0.1::factC. %hop1 0.9::factX:-xor(factC,factB). 0.95::factY:-and(factA,factB). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.07,0.6589317863572715,train,highly unlikely,certain,It is highly unlikely that 'Greg is a lion and Bernhard is gray'.,It is certain that 'Greg is a lion and Bernhard is gray'.,1,'Greg is a lion and Bernhard is gray'. It is probably not the case that Lily is green. Chances are about even that Greg is gray. It is probably not the case that John left the milk. We doubt that if either 'Lily is green' or 'John left the milk' but not both then Sandra took the football. It is probable that if either 'Lily is green' or 'Greg is gray' but not both then Brian is a swan. Chances are about even that if either 'Greg is gray' or 'John left the milk' but not both then Bernhard is white.,It is highly unlikely that 'Sandra took the football 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.25::factA. 0.5::factB. 0.25::factC. %hop1 0.2::factX:-xor(factA,factC). 0.7::factY:-xor(factA,factB). 0.5::factZ:-xor(factB,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.03749999999999999,0.7027405481096219,train,highly unlikely,highly likely,It is highly unlikely that 'Sandra took the football and Lily is green'.,It is highly likely that 'Sandra took the football and Lily is green'.,1,'Sandra took the football and Lily is green'. It is probable that Yann is thirsty. It is highly likely that Bernhard is a frog. There is almost no chance that Daniel got the milk. It is highly likely that if 'Daniel got the milk and Bernhard is a frog' then Fred is in the school. It is impossible that if 'Daniel got the milk' or 'Yann is thirsty' or both then Mary left the apple. Chances are about even that if 'Daniel got the milk' or 'Yann is thirsty' or both then Brian is gray.,Chances are slight that 'Yann is thirsty 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.7::factA. 0.9::factB. 0.02::factC. %hop1 0.9::factX:-and(factC,factB). 0.0::factY:-or(factC,factA). 0.5::factZ:-or(factC,factA). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.63,0.11042208441688338,train,better than even,chances are slight,There is a better than even chance that 'Yann is thirsty and Bernhard is a frog'.,Chances are slight that 'Yann is thirsty and Bernhard is a frog'.,0,'Yann is thirsty and Bernhard is a frog'. It is probably not the case that Winona is a sheep. It is likely that Lily is a swan. It is unlikely that Julius is a lion. There is almost no chance that if either 'Lily is a swan' or 'Julius is a lion' but not both then Yann is tired. Chances are about even that if either 'Winona is a sheep' or 'Lily is a swan' but not both then Greg is a frog. It is almost certain that if either 'Julius is a lion' or 'Winona is a sheep' but not both then John dropped the apple.,It is probable that 'Greg is a frog 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.25::factA. 0.7::factB. 0.2::factC. %hop1 0.02::factX:-xor(factB,factC). 0.5::factY:-xor(factA,factB). 0.95::factZ:-xor(factC,factA). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.2625,0.27545509101820365,train,probably not,probable,It is probably not the case that 'Greg is a frog and Lily is a swan'.,It is probable that 'Greg is a frog and Lily is a swan'.,0,'Greg is a frog and Lily is a swan'. It is impossible that Jessica is a cat. It is likely that Lily is green. It is almost certain that Bernhard is green. It is likely that if either 'Lily is green' or 'Jessica is a cat' but not both then John moved to the office. There is a better than even chance that if either 'Bernhard is green' or 'Lily is green' but not both then Greg is a swan. There is a very good chance that if either 'Lily is green' or 'Jessica is a cat' but not both then Mary went to the bedroom.,It is almost certain that 'Greg is a swan' 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.0::factA. 0.7::factB. 0.95::factC. %hop1 0.7::factX:-xor(factB,factA). 0.6::factY:-xor(factC,factB). 0.8::factZ:-xor(factB,factA). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.971,0.34486897379475895,train,almost certain,about even,It is almost certain that 'Greg is a swan' or 'Bernhard is green' or both.,Chances are about even that 'Greg is a swan' or 'Bernhard is green' or both.,1,'Greg is a swan' or 'Bernhard is green' or both. It is highly likely that Jeff put down the milk. It is probably the case that Brian is a rhino. It is probably not the case that Yann is tired. It is probably not the case that if either 'Yann is tired' or 'Jeff put down the milk' but not both then Greg is a frog. It is certain that if 'Yann is tired' or 'Jeff put down the milk' or both then Bernhard is yellow. It is unlikely that if 'Jeff put down the milk' or 'Brian is a rhino' or both then Winona is a sheep.,It is likely that 'Bernhard is yellow and Yann 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.9::factA. 0.7::factB. 0.25::factC. %hop1 0.25::factX:-xor(factC,factA). 1.0::factY:-or(factC,factA). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.25,0.4832966593318664,train,probably not,likely,It is probably not the case that 'Bernhard is yellow and Yann is tired'.,It is likely that 'Bernhard is yellow and Yann is tired'.,0,'Bernhard is yellow and Yann is tired'. There is almost no chance that Lily is a rhino. It is probable that Bernhard is a swan. It is likely that Daniel dropped the apple. It is highly unlikely that if 'Daniel dropped the apple and Lily is a rhino' then Mary went to the hallway. We doubt that if 'Lily is a rhino' or 'Daniel dropped the apple' or both then Winona is a sheep. It is unlikely that if 'Daniel dropped the apple and Lily is a rhino' then Greg is yellow.,It is certain that either 'Daniel dropped the apple' 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.7::factB. 0.7::factC. %hop1 0.05::factX:-and(factC,factA). 0.2::factY:-or(factA,factC). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.42,0.21944388877775556,train,about even,certain,Chances are about even that either 'Daniel dropped the apple' or 'Bernhard is a swan' but not both.,It is certain that either 'Daniel dropped the apple' or 'Bernhard is a swan' but not both.,0,Either 'Daniel dropped the apple' or 'Bernhard is a swan' but not both. There is a better than even chance that John moved to the office. It is likely that Greg is yellow. We doubt that Bernhard is a swan. It is impossible that if 'Bernhard is a swan' or 'Greg is yellow' or both then Jessica is a mouse. There is a better than even chance that if 'Bernhard is a swan and John moved to the office' then Julius is a rhino. It is almost certain that if 'Bernhard is a swan and Greg is yellow' then Lily is white.,It is improbable that 'John moved to the office 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.6::factA. 0.7::factB. 0.2::factC. %hop1 0.0::factX:-or(factC,factB). 0.6::factY:-and(factC,factA). 0.95::factZ:-and(factC,factB). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.12000000000000001,0.6933386677335467,train,improbable,almost certain,It is improbable that 'John moved to the office and Bernhard is a swan'.,It is almost certain that 'John moved to the office and Bernhard is a swan'.,1,'John moved to the office and Bernhard is a swan'. It is probably the case that Brian is a lion. There is almost no chance that Julius is a frog. It is probably the case that Jessica is a cat. There is a very good chance that if 'Julius is a frog and Brian is a lion' then Sumit is thirsty. It is probably not the case that if either 'Julius is a frog' or 'Brian is a lion' but not both then Fred put down the apple. It is highly likely that if 'Jessica is a cat' or 'Julius is a frog' or both then Mary took the milk.,Chances are about even that 'Mary took the milk 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.7::factA. 0.02::factB. 0.7::factC. %hop1 0.8::factX:-and(factB,factA). 0.25::factY:-xor(factB,factA). 0.9::factZ:-or(factC,factB). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.44477999999999995,0.7033406681336267,train,about even,almost certain,Chances are about even that 'Mary took the milk and Brian is a lion'.,It is almost certain that 'Mary took the milk and Brian is a lion'.,1,'Mary took the milk and Brian is a lion'. It is probable that Bill went to the garden. Chances are slight that Mary dropped the milk. There is almost no chance that Julius is a lion. We doubt that if 'Mary dropped the milk' or 'Bill went to the garden' or both then Brian is a rhino. It is unlikely that if 'Bill went to the garden and Mary dropped the milk' then Greg is yellow. It is almost certain that if either 'Bill went to the garden' or 'Mary dropped the milk' but not both then Winona is a mouse.,It is likely that 'Julius is a lion 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.1::factB. 0.02::factC. %hop1 0.2::factX:-or(factB,factA). 0.2::factY:-and(factA,factB). 0.95::factZ:-xor(factA,factB). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.002920000000000002,0.4388877775555111,train,impossible,likely,It is impossible that 'Julius is a lion and Brian is a rhino'.,It is likely that 'Julius is a lion and Brian is a rhino'.,0,'Julius is a lion and Brian is a rhino'. There is little chance that Jason is tired. It is probably the case that Mary dropped the milk. It is impossible that Sandra got the football. It is certain that if 'Jason is tired and Mary dropped the milk' then Julius is yellow. There is a better than even chance that if 'Sandra got the football and Jason is tired' then Greg is a lion. It is certain that if either 'Sandra got the football' or 'Mary dropped the milk' but not both then Brian is white.,It is likely that 'Mary dropped the milk 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.7::factB. 0.0::factC. %hop1 1.0::factX:-and(factA,factB). 0.6::factY:-and(factC,factA). 1.0::factZ:-xor(factC,factB). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.6097219443888777,train,impossible,likely,It is impossible that 'Mary dropped the milk and Sandra got the football'.,It is likely that 'Mary dropped the milk and Sandra got the football'.,0,'Mary dropped the milk and Sandra got the football'. It is probably not the case that Julius is yellow. There is a very good chance that Lily is green. It is probably the case that Jason is tired. It is highly likely that if 'Julius is yellow and Lily is green' then John moved to the garden. We believe that if 'Julius is yellow and Lily is green' then Bernhard is white. Chances are about even that if either 'Jason is tired' or 'Julius is yellow' but not both then Mary took the milk.,It is unlikely that 'Jason is tired' 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.25::factA. 0.8::factB. 0.7::factC. %hop1 0.9::factX:-and(factA,factB). 0.75::factY:-and(factA,factB). 0.5::factZ:-xor(factC,factA). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.745,0.6013202640528106,train,we believe,unlikely,We believe that 'Jason is tired' or 'Bernhard is white' or both.,It is unlikely that 'Jason is tired' or 'Bernhard is white' or both.,0,'Jason is tired' or 'Bernhard is white' or both. It is highly unlikely that Mary grabbed the milk. It is unlikely that Greg is white. It is almost certain that Julius is a swan. Chances are slight that if either 'Mary grabbed the milk' or 'Greg is white' but not both then Fred put down the apple. It is likely that if 'Greg is white' or 'Mary grabbed the milk' or both then Bernhard is white. Chances are about even that if 'Greg is white' or 'Mary grabbed the milk' or both then Jeff left the apple.,It is almost certain that 'Mary grabbed 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.05::factA. 0.2::factB. 0.95::factC. %hop1 0.1::factX:-xor(factA,factB). 0.7::factY:-or(factB,factA). 0.5::factZ:-or(factB,factA). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.010000000000000004,0.28605721144228846,train,almost no chance,almost certain,There is almost no chance that 'Mary grabbed the milk and Greg is white'.,It is almost certain that 'Mary grabbed the milk and Greg is white'.,0,'Mary grabbed the milk and Greg is white'. Chances are slight that Mary went to the hallway. Chances are about even that Lily is yellow. There is a better than even chance that Winona is a mouse. Chances are about even that if 'Mary went to the hallway' or 'Lily is yellow' or both then John took the apple. There is a better than even chance that if either 'Lily is yellow' or 'Winona is a mouse' but not both then Julius is a swan. There is little chance that if either 'Mary went to the hallway' or 'Lily is yellow' but not both then Sandra dropped the milk.,It is highly unlikely that 'Lily 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.1::factA. 0.5::factB. 0.6::factC. %hop1 0.5::factX:-or(factA,factB). 0.6::factY:-xor(factB,factC). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.505,0.0636127225445089,train,about even,highly unlikely,Chances are about even that 'Lily is yellow' or 'Sandra dropped the milk' or both.,It is highly unlikely that 'Lily is yellow' or 'Sandra dropped the milk' or both.,0,'Lily is yellow' or 'Sandra dropped the milk' or both. It is certain that Jeff left the football. It is likely that Greg is a lion. It is impossible that Julius is a swan. We believe that if either 'Jeff left the football' or 'Greg is a lion' but not both then John moved to the office. It is almost certain that if either 'Greg is a lion' or 'Julius is a swan' but not both then Bernhard is a frog. It is probable that if either 'Julius is a swan' or 'Greg is a lion' but not both then Mary dropped the milk.,It is impossible that 'Mary dropped the milk 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 1.0::factA. 0.7::factB. 0.0::factC. %hop1 0.75::factX:-xor(factA,factB). 0.95::factY:-xor(factB,factC). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.0,0.11362272454490899,train,impossible,highly likely,It is impossible that 'Mary dropped the milk and John moved to the office'.,It is highly likely that 'Mary dropped the milk and John moved to the office'.,1,'Mary dropped the milk and John moved to the office'. We believe that Jason is bored. It is almost certain that Winona is a sheep. We doubt that Mary left the football. We believe that if 'Winona is a sheep and Mary left the football' then Lily is white. It is probable that if either 'Jason is bored' or 'Mary left the football' but not both then John took the apple. It is likely that if 'Mary left the football and Winona is a sheep' then Brian is a rhino.,There is little chance that either 'Brian is a rhino' 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.75::factA. 0.95::factB. 0.2::factC. %hop1 0.75::factX:-and(factB,factC). 0.7::factY:-xor(factA,factC). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.817,0.09261852370474095,train,very good chance,little chance,There is a very good chance that either 'Brian is a rhino' or 'Winona is a sheep' but not both.,There is little chance that either 'Brian is a rhino' or 'Winona is a sheep' but not both.,0,Either 'Brian is a rhino' or 'Winona is a sheep' but not both. It is unlikely that Greg is green. It is likely that Mary left the football. It is impossible that Jessica is a mouse. It is probably not the case that if 'Mary left the football' or 'Greg is green' or both then Lily is gray. It is likely that if 'Jessica is a mouse' or 'Mary left the football' or both then John discarded the apple. There is almost no chance that if 'Mary left the football and Jessica is a mouse' then Brian is a frog.,We believe that 'Greg 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.2::factA. 0.7::factB. 0.0::factC. %hop1 0.25::factX:-or(factB,factA). 0.7::factY:-or(factC,factB). 0.02::factZ:-and(factB,factC). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.2,0.4386877375475095,train,unlikely,we believe,It is unlikely that 'Greg is green' or 'Jessica is a mouse' or both.,We believe that 'Greg is green' or 'Jessica is a mouse' or both.,0,'Greg is green' or 'Jessica is a mouse' or both. There is a better than even chance that Brian is a lion. We believe that Mary left the football. There is a very good chance that Greg is a rhino. There is a better than even chance that if 'Brian is a lion' or 'Greg is a rhino' or both then Sandra got the milk. There is little chance that if 'Brian is a lion and Mary left the football' then Julius is yellow. It is probably the case that if either 'Mary left the football' or 'Greg is a rhino' but not both then Bill went to the kitchen.,It is probable that 'Brian is a lion 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 0.6::factA. 0.75::factB. 0.8::factC. %hop1 0.6::factX:-or(factA,factC). 0.1::factY:-and(factA,factB). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.36,0.08821764352870574,train,probably not,probable,It is probably not the case that 'Brian is a lion and Sandra got the milk'.,It is probable that 'Brian is a lion and Sandra got the milk'.,0,'Brian is a lion and Sandra got the milk'. Chances are about even that Emily is a mouse. There is a very good chance that Jessica is a cat. It is unlikely that Brian is yellow. It is probable that if 'Jessica is a cat and Brian is yellow' then Lily is a rhino. It is probable that if 'Emily is a mouse and Jessica is a cat' then Sandra left the apple. Chances are slight that if 'Jessica is a cat' or 'Brian is yellow' or both then Bernhard is a rhino.,It is probably not the case that either 'Sandra left the apple' or 'Lily 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.5::factA. 0.8::factB. 0.2::factC. %hop1 0.7::factX:-and(factB,factC). 0.7::factY:-and(factA,factB). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.3136,0.6731346269253851,train,probably not,very good chance,It is probably not the case that either 'Sandra left the apple' or 'Lily is a rhino' but not both.,There is a very good chance that either 'Sandra left the apple' or 'Lily is a rhino' but not both.,1,Either 'Sandra left the apple' or 'Lily is a rhino' but not both. It is probably the case that Brian is yellow. It is impossible that Fred is in the school. It is impossible that John moved to the office. Chances are about even that if 'Brian is yellow and Fred is in the school' then Gertrude is a sheep. We doubt that if 'Brian is yellow' or 'John moved to the office' or both then Mary left the football. It is probably the case that if 'John moved to the office and Brian is yellow' then Bernhard is gray.,It is probably the case that 'Mary left the football' 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.0::factB. 0.0::factC. %hop1 0.5::factX:-and(factA,factB). 0.2::factY:-or(factA,factC). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.14,0.5653130626125225,train,improbable,probably,It is improbable that 'Mary left the football' or 'Bernhard is gray' or both.,It is probably the case that 'Mary left the football' or 'Bernhard is gray' or both.,0,'Mary left the football' or 'Bernhard is gray' or both. It is probably not the case that Daniel put down the milk. Chances are slight that Greg is a frog. We believe that Julius is gray. We doubt that if either 'Daniel put down the milk' or 'Julius is gray' but not both then Lily is a rhino. It is certain that if 'Julius is gray and Daniel put down the milk' then Mary is in the hallway. It is unlikely that if either 'Julius is gray' or 'Daniel put down the milk' but not both then Bernhard is a swan.,It is likely that either 'Julius is gray' or 'Lily 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.25::factA. 0.1::factB. 0.75::factC. %hop1 0.2::factX:-xor(factA,factC). 1.0::factY:-and(factC,factA). 0.2::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.65,0.4006801360272054,train,likely,probably not,It is likely that either 'Julius is gray' or 'Lily is a rhino' but not both.,It is probably not the case that either 'Julius is gray' or 'Lily is a rhino' but not both.,1,Either 'Julius is gray' or 'Lily is a rhino' but not both. We believe that Brian is white. There is little chance that Daniel dropped the milk. It is improbable that John went to the hallway. It is impossible that if 'John went to the hallway' or 'Brian is white' or both then Jessica is a mouse. It is highly unlikely that if either 'Brian is white' or 'Daniel dropped the milk' but not both then Greg is a lion. It is probably not the case that if 'John went to the hallway' or 'Daniel dropped the milk' or both then Bernhard is a swan.,It is highly likely that 'John went to the hallway' 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.75::factA. 0.1::factB. 0.1::factC. %hop1 0.0::factX:-or(factC,factA). 0.05::factY:-xor(factA,factB). 0.25::factZ:-or(factC,factB). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.10000000000000002,0.20944188837767552,train,little chance,highly likely,There is little chance that 'John went to the hallway' or 'Jessica is a mouse' or both.,It is highly likely that 'John went to the hallway' or 'Jessica is a mouse' or both.,0,'John went to the hallway' or 'Jessica is a mouse' or both. It is almost certain that Jessica is a mouse. It is almost certain that John moved to the garden. There is little chance that Lily is green. It is probable that if 'Lily is green' or 'Jessica is a mouse' or both then Julius is a lion. It is probably the case that if either 'Lily is green' or 'Jessica is a mouse' but not both then Greg is yellow. It is certain that if 'John moved to the garden' or 'Lily is green' or both then Mary went to the garden.,It is highly likely that 'Mary went to the garden 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.95::factA. 0.95::factB. 0.1::factC. %hop1 0.7::factX:-or(factC,factA). 0.7::factY:-xor(factC,factA). 1.0::factZ:-or(factB,factC). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.9072499999999999,0.7721544308861772,train,highly likely,unlikely,It is highly likely that 'Mary went to the garden and Jessica is a mouse'.,It is unlikely that 'Mary went to the garden and Jessica is a mouse'.,1,'Mary went to the garden and Jessica is a mouse'. It is improbable that Daniel got the milk. There is a very good chance that Julius is a rhino. It is probably not the case that Sandra took the football. It is highly likely that if 'Daniel got the milk and Julius is a rhino' then Greg is white. Chances are slight that if 'Sandra took the football' or 'Daniel got the milk' or both then Antoine is hungry. We doubt that if either 'Daniel got the milk' or 'Sandra took the football' but not both then Emily is a mouse.,There is a better than even chance that 'Sandra took the football 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.8::factB. 0.25::factC. %hop1 0.9::factX:-and(factA,factB). 0.1::factY:-or(factC,factA). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.025000000000000012,0.17283456691338267,train,almost no chance,better than even,There is almost no chance that 'Sandra took the football and Daniel got the milk'.,There is a better than even chance that 'Sandra took the football and Daniel got the milk'.,0,'Sandra took the football and Daniel got the milk'. It is highly likely that Jason is tired. There is a very good chance that Mary dropped the apple. There is little chance that John went to the kitchen. It is unlikely that if 'Mary dropped the apple' or 'John went to the kitchen' or both then Lily is green. It is unlikely that if either 'Jason is tired' or 'John went to the kitchen' but not both then Jeff moved to the garden. It is highly likely that if either 'Jason is tired' or 'Mary dropped the apple' but not both then Bernhard is a frog.,We doubt that either 'John went to the kitchen' 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.9::factA. 0.8::factB. 0.1::factC. %hop1 0.2::factX:-or(factB,factC). 0.2::factY:-xor(factA,factC). 0.9::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.82,0.7595519103820764,train,very good chance,we doubt,There is a very good chance that either 'John went to the kitchen' or 'Jason is tired' but not both.,We doubt that either 'John went to the kitchen' or 'Jason is tired' but not both.,0,Either 'John went to the kitchen' or 'Jason is tired' but not both. We believe that Sandra left the milk. It is almost certain that Mary went to the office. There is little chance that Greg is a swan. It is unlikely that if 'Sandra left the milk and Greg is a swan' then Julius is gray. It is probably not the case that if either 'Sandra left the milk' or 'Mary went to the office' but not both then John moved to the garden. There is a very good chance that if either 'Mary went to the office' or 'Sandra left the milk' but not both then Jessica is a mouse.,It is probable that 'Greg is a swan' 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.75::factA. 0.95::factB. 0.1::factC. %hop1 0.2::factX:-and(factA,factC). 0.25::factY:-xor(factA,factB). 0.8::factZ:-xor(factB,factA). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.29800000000000004,0.40768153630726145,train,probably not,probable,It is probably not the case that 'Greg is a swan' or 'Jessica is a mouse' or both.,It is probable that 'Greg is a swan' or 'Jessica is a mouse' or both.,0,'Greg is a swan' or 'Jessica is a mouse' or both. It is unlikely that Bernhard is yellow. It is highly likely that Greg is a rhino. It is almost certain that Julius is green. There is little chance that if either 'Greg is a rhino' or 'Bernhard is yellow' but not both then Sandra left the milk. There is little chance that if 'Greg is a rhino' or 'Julius is green' or both then Lily is green. Chances are about even that if 'Greg is a rhino and Julius is green' then John got the football.,Chances are about even that 'Greg is a rhino and John 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.9::factB. 0.95::factC. %hop1 0.1::factX:-xor(factB,factA). 0.1::factY:-or(factB,factC). 0.5::factZ:-and(factB,factC). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.4275,0.267253450690138,train,about even,almost certain,Chances are about even that 'Greg is a rhino and John got the football'.,It is almost certain that 'Greg is a rhino and John got the football'.,1,'Greg is a rhino and John got the football'. There is a better than even chance that Lily is a lion. It is improbable that Brian is a frog. There is almost no chance that Winona is a cat. It is unlikely that if either 'Winona is a cat' or 'Brian is a frog' but not both then Daniel took the football. There is a better than even chance that if either 'Winona is a cat' or 'Brian is a frog' but not both then Mary dropped the apple. We doubt that if 'Lily is a lion' or 'Brian is a frog' or both then Sandra put down the milk.,It is highly likely that either 'Winona is a cat' 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.6::factA. 0.1::factB. 0.02::factC. %hop1 0.2::factX:-xor(factC,factB). 0.6::factY:-xor(factC,factB). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.116,0.4412882576515303,train,improbable,highly likely,It is improbable that either 'Winona is a cat' or 'Brian is a frog' but not both.,It is highly likely that either 'Winona is a cat' or 'Brian is a frog' but not both.,0,Either 'Winona is a cat' or 'Brian is a frog' but not both. Chances are slight that Sandra left the milk. Chances are slight that John discarded the apple. There is a very good chance that Brian is a swan. It is probably the case that if 'John discarded the apple and Sandra left the milk' then Bernhard is a frog. Chances are slight that if 'Brian is a swan' or 'John discarded the apple' or both then Mary went to the office. It is highly likely that if either 'Sandra left the milk' or 'Brian is a swan' but not both then Emily is a wolf.,There is a very good chance that either 'John discarded the apple' or 'Sandra 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.1::factB. 0.8::factC. %hop1 0.7::factX:-and(factB,factA). 0.1::factY:-or(factC,factB). 0.9::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.18000000000000005,0.617123424684937,train,unlikely,very good chance,It is unlikely that either 'John discarded the apple' or 'Sandra left the milk' but not both.,There is a very good chance that either 'John discarded the apple' or 'Sandra left the milk' but not both.,0,Either 'John discarded the apple' or 'Sandra left the milk' but not both. It is certain that John went to the hallway. There is a better than even chance that Mary left the football. It is unlikely that Yann is tired. It is probable that if either 'Yann is tired' or 'John went to the hallway' but not both then Daniel got the apple. It is almost certain that if 'Yann is tired and John went to the hallway' then Sandra is in the kitchen. We believe that if either 'Yann is tired' or 'John went to the hallway' but not both then Bernhard is white.,We believe that 'Mary left the football 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 1.0::factA. 0.6::factB. 0.2::factC. %hop1 0.7::factX:-xor(factC,factA). 0.95::factY:-and(factC,factA). 0.75::factZ:-xor(factC,factA). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.36,0.22564512902580516,train,probably not,we believe,It is probably not the case that 'Mary left the football and Bernhard is white'.,We believe that 'Mary left the football and Bernhard is white'.,0,'Mary left the football and Bernhard is white'. It is likely that Fred went to the garden. It is certain that Brian is a frog. There is a better than even chance that Greg is green. It is impossible that if 'Fred went to the garden' or 'Greg is green' or both then Lily is a rhino. It is almost certain that if 'Greg is green' or 'Fred went to the garden' or both then Sandra took the football. It is certain that if 'Greg is green' or 'Brian is a frog' or both then Jessica is a mouse.,It is highly likely that 'Fred went to the garden' 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.7::factA. 1.0::factB. 0.6::factC. %hop1 0.0::factX:-or(factA,factC). 0.95::factY:-or(factC,factA). 1.0::factZ:-or(factC,factB). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.88,0.022204440888177635,train,highly likely,almost no chance,It is highly likely that 'Fred went to the garden' or 'Greg is green' or both.,There is almost no chance that 'Fred went to the garden' or 'Greg is green' or both.,1,'Fred went to the garden' or 'Greg is green' or both. We believe that Brian is white. It is probably not the case that Mary got the football. It is improbable that Julius is a rhino. It is highly likely that if 'Julius is a rhino and Mary got the football' then Greg is gray. It is unlikely that if either 'Mary got the football' or 'Brian is white' but not both then Lily is a lion. It is highly unlikely that if 'Julius is a rhino and Brian is white' then Sumit is thirsty.,We believe that either 'Sumit is thirsty' or 'Greg 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.75::factA. 0.25::factB. 0.1::factC. %hop1 0.9::factX:-and(factC,factB). 0.2::factY:-xor(factB,factA). 0.05::factZ:-and(factC,factA). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.02456250000000002,0.2922584516903381,train,almost no chance,we believe,There is almost no chance that either 'Sumit is thirsty' or 'Greg is gray' but not both.,We believe that either 'Sumit is thirsty' or 'Greg is gray' but not both.,0,Either 'Sumit is thirsty' or 'Greg is gray' but not both. It is probably not the case that Greg is white. Chances are about even that Jessica is a cat. There is almost no chance that Lily is a frog. It is probably the case that if either 'Greg is white' or 'Jessica is a cat' but not both then Jason is bored. We doubt that if 'Lily is a frog' or 'Greg is white' or both then Mary left the apple. It is almost certain that if 'Jessica is a cat' or 'Greg is white' or both then Julius is a swan.,There is almost no chance that 'Jason is bored' or 'Greg 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.5::factB. 0.02::factC. %hop1 0.7::factX:-xor(factA,factB). 0.2::factY:-or(factC,factA). 0.95::factZ:-or(factB,factA). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.5125,0.4556911382276455,train,about even,almost no chance,Chances are about even that 'Jason is bored' or 'Greg is white' or both.,There is almost no chance that 'Jason is bored' or 'Greg is white' or both.,0,'Jason is bored' or 'Greg is white' or both. It is certain that Sumit is tired. We doubt that John went to the bedroom. There is little chance that Daniel took the football. It is probably the case that if 'John went to the bedroom and Daniel took the football' then Bernhard is yellow. There is a very good chance that if 'John went to the bedroom and Sumit is tired' then Julius is a swan. It is probably the case that if either 'John went to the bedroom' or 'Daniel took the football' but not both then Lily is a swan.,There is almost no chance that 'Daniel took the football' 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 1.0::factA. 0.2::factB. 0.1::factC. %hop1 0.7::factX:-and(factB,factC). 0.8::factY:-and(factB,factA). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.47149429885977195,train,certain,almost no chance,It is certain that 'Daniel took the football' or 'Sumit is tired' or both.,There is almost no chance that 'Daniel took the football' or 'Sumit is tired' or both.,0,'Daniel took the football' or 'Sumit is tired' or both. It is likely that John dropped the apple. It is certain that Mary picked up the milk. It is highly unlikely that Lily is yellow. It is probably the case that if 'John dropped the apple and Lily is yellow' then Winona is a wolf. It is improbable that if 'Lily is yellow and John dropped the apple' then Brian is a swan. It is probably the case that if 'John dropped the apple' or 'Lily is yellow' or both then Greg is a lion.,Chances are about even that 'John dropped the apple' or 'Mary 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.7::factA. 1.0::factB. 0.05::factC. %hop1 0.7::factX:-and(factA,factC). 0.1::factY:-and(factC,factA). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.6523304660932187,train,certain,about even,It is certain that 'John dropped the apple' or 'Mary picked up the milk' or both.,Chances are about even that 'John dropped the apple' or 'Mary picked up the milk' or both.,0,'John dropped the apple' or 'Mary picked up the milk' or both. It is almost certain that John took the football. We doubt that Mary is in the bathroom. It is highly likely that Lily is a swan. It is likely that if 'John took the football' or 'Lily is a swan' or both then Julius is a lion. It is certain that if either 'Lily is a swan' or 'John took the football' but not both then Fred discarded the apple. There is almost no chance that if 'John took the football and Mary is in the bathroom' then Greg is yellow.,It is probably not the case that either 'Julius is a lion' or 'John 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.95::factA. 0.2::factB. 0.9::factC. %hop1 0.7::factX:-or(factA,factC). 1.0::factY:-xor(factC,factA). 0.02::factZ:-and(factA,factB). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.31650000000000006,0.14862972594518903,train,probably not,almost certain,It is probably not the case that either 'Julius is a lion' or 'John took the football' but not both.,It is almost certain that either 'Julius is a lion' or 'John took the football' but not both.,1,Either 'Julius is a lion' or 'John took the football' but not both. There is a better than even chance that Lily is a frog. It is likely that Emily is a sheep. It is probable that Julius is white. It is highly unlikely that if either 'Emily is a sheep' or 'Julius is white' but not both then Antoine is bored. Chances are slight that if 'Julius is white' or 'Emily is a sheep' or both then Bill moved to the office. It is impossible that if either 'Emily is a sheep' or 'Lily is a frog' but not both then Bernhard is a rhino.,Chances are about even that either 'Lily is a frog' 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.6::factA. 0.7::factB. 0.7::factC. %hop1 0.05::factX:-xor(factB,factC). 0.1::factY:-or(factC,factB). 0.0::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.45999999999999996,0.03540708141628326,train,about even,highly unlikely,Chances are about even that either 'Lily is a frog' or 'Emily is a sheep' but not both.,It is highly unlikely that either 'Lily is a frog' or 'Emily is a sheep' but not both.,1,Either 'Lily is a frog' or 'Emily is a sheep' but not both. It is almost certain that Bernhard is a rhino. It is impossible that Julius is white. It is improbable that Lily is a frog. We doubt that if 'Lily is a frog and Bernhard is a rhino' then Gertrude is a cat. It is unlikely that if either 'Julius is white' or 'Bernhard is a rhino' but not both then Greg is green. It is probable that if 'Bernhard is a rhino' or 'Lily is a frog' or both then John dropped the apple.,It is probably the case that 'John dropped the apple' 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.0::factB. 0.1::factC. %hop1 0.2::factX:-and(factC,factA). 0.2::factY:-xor(factB,factA). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.6685,0.16203240648129627,train,probably,highly unlikely,It is probably the case that 'John dropped the apple' or 'Julius is white' or both.,It is highly unlikely that 'John dropped the apple' or 'Julius is white' or both.,1,'John dropped the apple' or 'Julius is white' or both. It is improbable that Julius is a frog. It is probably not the case that Mary is in the bathroom. It is highly likely that John went to the kitchen. Chances are slight that if 'Julius is a frog and Mary is in the bathroom' then Daniel got the milk. Chances are about even that if 'Julius is a frog' or 'Mary is in the bathroom' or both then Bernhard is a rhino. We doubt that if 'Julius is a frog and John went to the kitchen' then Greg is yellow.,It is probably not the case that 'John went to the kitchen and Mary is in the bathroom'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(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.1::factX:-and(factA,factB). 0.5::factY:-or(factA,factB). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.225,0.3174634926985397,train,probably not,very good chance,It is probably not the case that 'John went to the kitchen and Mary is in the bathroom'.,There is a very good chance that 'John went to the kitchen and Mary is in the bathroom'.,1,'John went to the kitchen and Mary is in the bathroom'. It is probable that Julius is green. It is highly unlikely that Sandra dropped the milk. It is highly likely that Bernhard is yellow. It is probable that if 'Bernhard is yellow and Julius is green' then Mary got the football. There is a very good chance that if 'Julius is green' or 'Bernhard is yellow' or both then Bill went to the garden. There is a better than even chance that if 'Julius is green and Sandra dropped the milk' then Lily is a lion.,There is almost no chance that either 'Sandra dropped the milk' 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.7::factA. 0.05::factB. 0.9::factC. %hop1 0.7::factX:-and(factC,factA). 0.8::factY:-or(factA,factC). 0.6::factZ:-and(factA,factB). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.029000000000000022,0.780756151230246,train,almost no chance,we believe,There is almost no chance that either 'Sandra dropped the milk' or 'Lily is a lion' but not both.,We believe that either 'Sandra dropped the milk' or 'Lily is a lion' but not both.,1,Either 'Sandra dropped the milk' or 'Lily is a lion' but not both. There is little chance that Julius is white. It is highly likely that Fred put down the apple. It is impossible that Sandra got the milk. It is highly unlikely that if 'Sandra got the milk' or 'Julius is white' or both then Greg is a rhino. Chances are slight that if 'Sandra got the milk' or 'Fred put down the apple' or both then John left the football. We believe that if either 'Fred put down the apple' or 'Julius is white' but not both then Lily is a swan.,It is improbable that either 'Sandra got the milk' 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.1::factA. 0.9::factB. 0.0::factC. %hop1 0.05::factX:-or(factC,factA). 0.1::factY:-or(factC,factB). 0.75::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.10000000000000002,0.07261452290458091,train,improbable,likely,It is improbable that either 'Sandra got the milk' or 'Julius is white' but not both.,It is likely that either 'Sandra got the milk' or 'Julius is white' but not both.,1,Either 'Sandra got the milk' or 'Julius is white' but not both. It is highly unlikely that Brian is yellow. It is probable that Lily is a swan. It is probably not the case that Bernhard is green. It is almost certain that if 'Lily is a swan and Brian is yellow' then Greg is gray. It is likely that if either 'Lily is a swan' or 'Bernhard is green' but not both then John went to the office. It is unlikely that if either 'Lily is a swan' or 'Brian is yellow' but not both then Sandra dropped the milk.,It is probable that 'Brian is yellow' 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.05::factA. 0.7::factB. 0.25::factC. %hop1 0.95::factX:-and(factB,factA). 0.7::factY:-xor(factB,factC). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.715,0.7389477895579116,train,probable,impossible,It is probable that 'Brian is yellow' or 'Lily is a swan' or both.,It is impossible that 'Brian is yellow' or 'Lily is a swan' or both.,1,'Brian is yellow' or 'Lily is a swan' or both. It is highly likely that Jessica is a mouse. It is impossible that Bernhard is yellow. It is unlikely that Fred dropped the milk. Chances are slight that if 'Fred dropped the milk' or 'Bernhard is yellow' or both then Mary left the football. There is almost no chance that if 'Bernhard is yellow and Fred dropped the milk' then Lily is a lion. It is probable that if 'Fred dropped the milk and Jessica is a mouse' then Brian is a frog.,There is almost no chance that 'Mary left the football' 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.0::factB. 0.2::factC. %hop1 0.1::factX:-or(factC,factB). 0.02::factY:-and(factB,factC). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.02000000000000001,0.7585517103420684,train,almost no chance,highly likely,There is almost no chance that 'Mary left the football' or 'Lily is a lion' or both.,It is highly likely that 'Mary left the football' or 'Lily is a lion' or both.,1,'Mary left the football' or 'Lily is a lion' or both. It is probable that Julius is yellow. We believe that Brian is a swan. Chances are about even that John left the apple. There is a better than even chance that if 'John left the apple' or 'Julius is yellow' or both then Mary went to the office. It is highly likely that if 'John left the apple' or 'Brian is a swan' or both then Bernhard is gray. Chances are about even that if either 'Brian is a swan' or 'John left the apple' but not both then Lily is a lion.,There is a better than even chance that either 'Lily is a lion' 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.7::factA. 0.75::factB. 0.5::factC. %hop1 0.6::factX:-or(factC,factA). 0.9::factY:-or(factC,factB). 0.5::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.625,0.6011202240448089,train,better than even,almost no chance,There is a better than even chance that either 'Lily is a lion' or 'John left the apple' but not both.,There is almost no chance that either 'Lily is a lion' or 'John left the apple' but not both.,1,Either 'Lily is a lion' or 'John left the apple' but not both. There is almost no chance that Jeff went to the hallway. It is probable that Lily is white. Chances are slight that Greg is gray. It is almost certain that if either 'Jeff went to the hallway' or 'Greg is gray' but not both then Jason is tired. It is almost certain that if 'Jeff went to the hallway and Greg is gray' then Mary dropped the milk. There is a very good chance that if either 'Greg is gray' or 'Jeff went to the hallway' but not both then Bernhard is green.,It is improbable that either 'Lily is white' or 'Jeff went to the hallway' 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.7::factB. 0.1::factC. %hop1 0.95::factX:-xor(factA,factC). 0.95::factY:-and(factA,factC). 0.8::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.692,0.593118623724745,train,probable,improbable,It is probable that either 'Lily is white' or 'Jeff went to the hallway' but not both.,It is improbable that either 'Lily is white' or 'Jeff went to the hallway' but not both.,0,Either 'Lily is white' or 'Jeff went to the hallway' but not both. There is almost no chance that Mary left the apple. Chances are about even that John put down the milk. It is certain that Bernhard is a frog. There is almost no chance that if either 'John put down the milk' or 'Mary left the apple' but not both then Greg is green. It is certain that if either 'Bernhard is a frog' or 'Mary left the apple' but not both then Julius is gray. We doubt that if either 'Mary left the apple' or 'Bernhard is a frog' but not both then Jason is tired.,Chances are about even that either 'Greg is green' 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.02::factA. 0.5::factB. 1.0::factC. %hop1 0.02::factX:-xor(factB,factA). 1.0::factY:-xor(factC,factA). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.4904,0.07661532306461293,train,about even,almost no chance,Chances are about even that either 'Greg is green' or 'John put down the milk' but not both.,There is almost no chance that either 'Greg is green' or 'John put down the milk' but not both.,1,Either 'Greg is green' or 'John put down the milk' but not both. It is likely that Brian is yellow. Chances are about even that Julius is white. There is a very good chance that Greg is a rhino. There is little chance that if 'Greg is a rhino and Julius is white' then Winona is a sheep. We doubt that if 'Julius is white and Brian is yellow' then Lily is a frog. It is probably the case that if 'Greg is a rhino and Brian is yellow' then Mary went to the bedroom.,It is highly unlikely that 'Mary went to the bedroom' 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.7::factA. 0.5::factB. 0.8::factC. %hop1 0.1::factX:-and(factC,factB). 0.2::factY:-and(factB,factA). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.42279999999999995,0.07561512302460492,train,about even,highly unlikely,Chances are about even that 'Mary went to the bedroom' or 'Lily is a frog' or both.,It is highly unlikely that 'Mary went to the bedroom' or 'Lily is a frog' or both.,0,'Mary went to the bedroom' or 'Lily is a frog' or both. There is a better than even chance that Gertrude is a sheep. It is highly unlikely that Julius is a rhino. We believe that Mary got the football. Chances are about even that if 'Julius is a rhino and Mary got the football' then Sandra left the apple. It is impossible that if 'Mary got the football and Gertrude is a sheep' then Brian is white. It is highly likely that if either 'Julius is a rhino' or 'Mary got the football' but not both then Bernhard is green.,It is highly unlikely that either 'Gertrude is a sheep' 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.6::factA. 0.05::factB. 0.75::factC. %hop1 0.5::factX:-and(factB,factC). 0.0::factY:-and(factC,factA). 0.9::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.59,0.6125225045009002,train,better than even,highly unlikely,There is a better than even chance that either 'Gertrude is a sheep' or 'Julius is a rhino' but not both.,It is highly unlikely that either 'Gertrude is a sheep' or 'Julius is a rhino' but not both.,0,Either 'Gertrude is a sheep' or 'Julius is a rhino' but not both. It is probably the case that Brian is white. It is highly likely that Mary got the milk. We believe that Winona is a mouse. It is probably not the case that if 'Winona is a mouse' or 'Mary got the milk' or both then Greg is a rhino. There is a better than even chance that if 'Winona is a mouse and Brian is white' then Julius is green. Chances are slight that if 'Brian is white' or 'Winona is a mouse' or both then John went to the garden.,We believe that 'Brian is white' 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.9::factB. 0.75::factC. %hop1 0.25::factX:-or(factC,factB). 0.6::factY:-and(factC,factA). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.773125,0.1264252850570114,train,we believe,improbable,We believe that 'Brian is white' or 'Greg is a rhino' or both.,It is improbable that 'Brian is white' or 'Greg is a rhino' or both.,1,'Brian is white' or 'Greg is a rhino' or both. It is almost certain that Mary moved to the office. It is probable that Julius is a swan. It is highly unlikely that Lily is a rhino. There is a very good chance that if either 'Lily is a rhino' or 'Julius is a swan' but not both then Gertrude is a cat. There is almost no chance that if 'Mary moved to the office and Julius is a swan' then Greg is a frog. There is a better than even chance that if 'Lily is a rhino and Mary moved to the office' then Bill went to the garden.,It is highly 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.95::factA. 0.7::factB. 0.05::factC. %hop1 0.8::factX:-xor(factC,factB). 0.02::factY:-and(factA,factB). 0.6::factZ:-and(factC,factA). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.715,0.4288857771554311,train,probable,highly unlikely,It is probable that 'Lily is a rhino' or 'Julius is a swan' or both.,It is highly 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. It is highly likely that Lily is a frog. It is unlikely that Brian is white. There is a very good chance that Sandra got the football. It is probable that if 'Sandra got the football and Lily is a frog' then Winona is a wolf. We doubt that if either 'Sandra got the football' or 'Brian is white' but not both then Julius is yellow. We believe that if either 'Lily is a frog' or 'Sandra got the football' but not both then John grabbed the apple.,There is little chance that 'Julius is yellow 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.9::factA. 0.2::factB. 0.8::factC. %hop1 0.7::factX:-and(factC,factA). 0.2::factY:-xor(factC,factB). 0.75::factZ:-xor(factA,factC). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.128,0.22464492898579716,train,little chance,we believe,There is little chance that 'Julius is yellow and Sandra got the football'.,We believe that 'Julius is yellow and Sandra got the football'.,1,'Julius is yellow and Sandra got the football'. It is unlikely that Bill left the football. We doubt that Yann is tired. It is highly likely that Lily is a rhino. There is little chance that if either 'Lily is a rhino' or 'Yann is tired' but not both then Sandra dropped the milk. It is certain that if 'Yann is tired' or 'Bill left the football' or both then John went to the bedroom. It is highly unlikely that if 'Yann is tired' or 'Lily is a rhino' or both then Mary moved to the office.,It is probable that either 'John went to the bedroom' or 'Bill 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.2::factB. 0.9::factC. %hop1 0.1::factX:-xor(factC,factB). 1.0::factY:-or(factB,factA). 0.05::factZ:-or(factB,factC). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.16000000000000003,0.46329265853170637,train,unlikely,probable,It is unlikely that either 'John went to the bedroom' or 'Bill left the football' but not both.,It is probable that either 'John went to the bedroom' or 'Bill left the football' but not both.,0,Either 'John went to the bedroom' or 'Bill left the football' but not both. There is a very good chance that John went to the hallway. It is almost certain that Lily is green. Chances are slight that Winona is a wolf. There is almost no chance that if 'Winona is a wolf and Lily is green' then Julius is a rhino. It is improbable that if 'John went to the hallway' or 'Winona is a wolf' or both then Brian is a frog. There is little chance that if either 'Lily is green' or 'John went to the hallway' but not both then Mary is in the bathroom.,There is a very good chance that either 'Julius is a rhino' or 'John went to the hallway' 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.95::factB. 0.1::factC. %hop1 0.02::factX:-and(factC,factB). 0.1::factY:-or(factA,factC). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.79886,0.273254650930186,train,very good chance,highly unlikely,There is a very good chance that either 'Julius is a rhino' or 'John went to the hallway' but not both.,It is highly unlikely that either 'Julius is a rhino' or 'John went to the hallway' but not both.,1,Either 'Julius is a rhino' or 'John went to the hallway' but not both. It is highly unlikely that Lily is white. It is impossible that Greg is gray. It is improbable that Julius is a rhino. There is almost no chance that if 'Julius is a rhino and Greg is gray' then Brian is green. Chances are about even that if either 'Lily is white' or 'Greg is gray' but not both then Yann is hungry. It is unlikely that if either 'Greg is gray' or 'Lily is white' but not both then Mary left the milk.,It is probable that 'Julius is a rhino 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.05::factA. 0.0::factB. 0.1::factC. %hop1 0.02::factX:-and(factC,factB). 0.5::factY:-xor(factA,factB). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.0,0.39827965593118625,train,impossible,probable,It is impossible that 'Julius is a rhino and Brian is green'.,It is probable that 'Julius is a rhino and Brian is green'.,0,'Julius is a rhino and Brian is green'. There is little chance that Brian is a frog. We believe that Greg is green. There is a better than even chance that Mary dropped the apple. It is certain that if 'Brian is a frog' or 'Greg is green' or both then Julius is a swan. It is improbable that if either 'Mary dropped the apple' or 'Greg is green' but not both then John went to the bedroom. There is a better than even chance that if 'Greg is green' or 'Mary dropped the apple' or both then Lily is a rhino.,It is certain that 'Lily is a rhino and Brian 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.1::factA. 0.75::factB. 0.6::factC. %hop1 1.0::factX:-or(factA,factB). 0.1::factY:-xor(factC,factB). 0.6::factZ:-or(factB,factC). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.054,0.7327465493098619,train,highly unlikely,certain,It is highly unlikely that 'Lily is a rhino and Brian is a frog'.,It is certain that 'Lily is a rhino and Brian is a frog'.,0,'Lily is a rhino and Brian is a frog'. There is a better than even chance that Jeff went to the bedroom. It is probably the case that Jessica is a cat. It is likely that Brian is a frog. Chances are slight that if either 'Jessica is a cat' or 'Jeff went to the bedroom' but not both then Greg is a frog. It is highly likely that if 'Brian is a frog' or 'Jeff went to the bedroom' or both then Sandra left the football. We believe that if 'Jeff went to the bedroom' or 'Brian is a frog' or both then Julius is yellow.,It is impossible that 'Julius is yellow and Brian 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.6::factA. 0.7::factB. 0.7::factC. %hop1 0.1::factX:-xor(factB,factA). 0.9::factY:-or(factC,factA). 0.75::factZ:-or(factA,factC). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.525,0.7523504700940188,train,about even,impossible,Chances are about even that 'Julius is yellow and Brian is a frog'.,It is impossible that 'Julius is yellow and Brian is a frog'.,0,'Julius is yellow and Brian is a frog'. It is improbable that Greg is yellow. It is probably the case that Lily is a swan. There is a better than even chance that Julius is white. There is little chance that if 'Lily is a swan' or 'Julius is white' or both then Bernhard is gray. Chances are slight that if 'Lily is a swan and Greg is yellow' then Brian is a frog. It is probably the case that if either 'Greg is yellow' or 'Julius is white' but not both then John took the apple.,It is highly unlikely that either 'Lily is a swan' 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.1::factA. 0.7::factB. 0.6::factC. %hop1 0.1::factX:-or(factB,factC). 0.1::factY:-and(factB,factA). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.45999999999999996,0.4746949389877976,train,about even,highly unlikely,Chances are about even that either 'Lily is a swan' or 'Julius is white' but not both.,It is highly unlikely that either 'Lily is a swan' or 'Julius is white' but not both.,0,Either 'Lily is a swan' or 'Julius is white' but not both. It is impossible that Julius is yellow. It is highly unlikely that Fred moved to the office. It is impossible that John discarded the apple. It is certain that if 'Fred moved to the office and Julius is yellow' then Antoine is hungry. There is a better than even chance that if 'Fred moved to the office and John discarded the apple' then Bernhard is a frog. We believe that if 'John discarded the apple and Julius is yellow' then Lily is gray.,It is impossible that 'John discarded the apple' 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.0::factA. 0.05::factB. 0.0::factC. %hop1 1.0::factX:-and(factB,factA). 0.6::factY:-and(factB,factC). 0.75::factZ:-and(factC,factA). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.0,0.6575315063012602,train,impossible,highly likely,It is impossible that 'John discarded the apple' or 'Lily is gray' or both.,It is highly likely that 'John discarded the apple' or 'Lily is gray' or both.,1,'John discarded the apple' or 'Lily is gray' or both. There is a better than even chance that Bernhard is a lion. It is likely that Brian is yellow. There is almost no chance that John left the milk. It is impossible that if either 'John left the milk' or 'Bernhard is a lion' but not both then Greg is gray. It is probably not the case that if 'John left the milk' or 'Brian is yellow' or both then Jeff went to the bedroom. There is almost no chance that if 'Bernhard is a lion' or 'John left the milk' or both then Lily is a swan.,It is impossible that 'Jeff went to the bedroom and Greg 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.7::factB. 0.02::factC. %hop1 0.0::factX:-xor(factC,factA). 0.25::factY:-or(factC,factB). 0.02::factZ:-or(factA,factC). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.0,0.6363272654530906,train,impossible,we believe,It is impossible that 'Jeff went to the bedroom and Greg is gray'.,We believe that 'Jeff went to the bedroom and Greg is gray'.,1,'Jeff went to the bedroom and Greg is gray'. It is probably not the case that Greg is a swan. It is almost certain that Sandra got the football. It is impossible that Emily is a sheep. There is a very good chance that if 'Sandra got the football' or 'Greg is a swan' or both then Brian is yellow. We doubt that if 'Greg is a swan and Sandra got the football' then Bernhard is gray. It is certain that if 'Sandra got the football' or 'Greg is a swan' or both then Fred discarded the apple.,It is likely that either 'Sandra got the football' 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.25::factA. 0.95::factB. 0.0::factC. %hop1 0.8::factX:-or(factB,factA). 0.2::factY:-and(factA,factB). 1.0::factZ:-or(factB,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.725,0.23724744948989798,train,likely,almost no chance,It is likely that either 'Sandra got the football' or 'Greg is a swan' but not both.,There is almost no chance that either 'Sandra got the football' or 'Greg is a swan' but not both.,1,Either 'Sandra got the football' or 'Greg is a swan' but not both. It is probably the case that John moved to the office. It is highly unlikely that Winona is a sheep. There is a very good chance that Jeff dropped the apple. There is a better than even chance that if either 'John moved to the office' or 'Jeff dropped the apple' but not both then Brian is a frog. There is a better than even chance that if either 'John moved to the office' or 'Winona is a sheep' but not both then Mary got the football. It is highly unlikely that if either 'Jeff dropped the apple' or 'Winona is a sheep' but not both then Jason is tired.,There is little chance that 'Brian is a frog 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.7::factA. 0.05::factB. 0.8::factC. %hop1 0.6::factX:-xor(factA,factC). 0.6::factY:-xor(factA,factB). 0.05::factZ:-xor(factC,factB). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.084,0.7743548709741949,train,little chance,better than even,There is little chance that 'Brian is a frog and John moved to the office'.,There is a better than even chance that 'Brian is a frog and John moved to the office'.,1,'Brian is a frog and John moved to the office'. It is certain that Fred went to the garden. It is impossible that Emily is a wolf. It is probably not the case that John discarded the apple. We doubt that if 'Fred went to the garden and Emily is a wolf' then Brian is gray. It is probably the case that if either 'Emily is a wolf' or 'Fred went to the garden' but not both then Jessica is a mouse. It is unlikely that if either 'Fred went to the garden' or 'John discarded the apple' but not both then Bernhard is a frog.,It is certain that 'Fred went to the garden' 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 1.0::factA. 0.0::factB. 0.25::factC. %hop1 0.2::factX:-and(factA,factB). 0.7::factY:-xor(factB,factA). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-or(factA,factX). query(conclusion). ",1.0,0.6655331066213243,train,certain,we doubt,It is certain that 'Fred went to the garden' or 'Brian is gray' or both.,We doubt that 'Fred went to the garden' or 'Brian is gray' or both.,1,'Fred went to the garden' or 'Brian is gray' or both. There is almost no chance that Winona is a mouse. It is impossible that Julius is a frog. There is almost no chance that John put down the milk. It is highly likely that if 'John put down the milk and Winona is a mouse' then Bill went to the bedroom. It is certain that if either 'Winona is a mouse' or 'Julius is a frog' but not both then Greg is a rhino. There is a better than even chance that if either 'John put down the milk' or 'Julius is a frog' but not both then Mary left the football.,There is a better than even chance that 'Julius is a frog 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.0::factB. 0.02::factC. %hop1 0.9::factX:-and(factC,factA). 1.0::factY:-xor(factA,factB). 0.6::factZ:-xor(factC,factB). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.0,0.10602120424084817,train,impossible,better than even,It is impossible that 'Julius is a frog and Greg is a rhino'.,There is a better than even chance that 'Julius is a frog and Greg is a rhino'.,0,'Julius is a frog and Greg is a rhino'. There is little chance that Julius is yellow. There is little chance that Fred left the apple. It is unlikely that John went to the office. We doubt that if 'Julius is yellow and John went to the office' then Lily is a lion. It is improbable that if either 'John went to the office' or 'Fred left the apple' but not both then Mary dropped the milk. It is probably not the case that if 'Fred left the apple and John went to the office' then Greg is a rhino.,Chances are slight that 'Mary dropped 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.1::factA. 0.1::factB. 0.2::factC. %hop1 0.2::factX:-and(factA,factC). 0.1::factY:-xor(factC,factB). 0.25::factZ:-and(factB,factC). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.12340000000000004,0.6197239447889578,train,chances are slight,almost certain,Chances are slight that 'Mary dropped the milk' or 'Julius is yellow' or both.,It is almost certain that 'Mary dropped the milk' or 'Julius is yellow' or both.,1,'Mary dropped the milk' or 'Julius is yellow' or both. It is certain that Sandra left the milk. It is improbable that Fred is in the cinema. There is little chance that Bernhard is a swan. We doubt that if 'Fred is in the cinema' or 'Sandra left the milk' or both then Winona is a sheep. It is probably not the case that if either 'Sandra left the milk' or 'Fred is in the cinema' but not both then Mary got the apple. It is unlikely that if 'Bernhard is a swan' or 'Sandra left the milk' or both then Greg is a lion.,It is highly likely that either 'Fred is in the cinema' or 'Sandra 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 1.0::factA. 0.1::factB. 0.1::factC. %hop1 0.2::factX:-or(factB,factA). 0.25::factY:-xor(factA,factB). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.9,0.32606521304260855,train,highly likely,impossible,It is highly likely that either 'Fred is in the cinema' or 'Sandra left the milk' but not both.,It is impossible that either 'Fred is in the cinema' or 'Sandra left the milk' but not both.,1,Either 'Fred is in the cinema' or 'Sandra left the milk' but not both. It is unlikely that Fred left the football. We believe that Lily is a swan. It is improbable that Bernhard is a rhino. It is unlikely that if 'Fred left the football' or 'Bernhard is a rhino' or both then Mary is in the school. There is a better than even chance that if either 'Bernhard is a rhino' or 'Lily is a swan' but not both then Jessica is a mouse. It is impossible that if 'Lily is a swan' or 'Fred left the football' or both then Julius is gray.,We believe that 'Lily is a swan' 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.2::factA. 0.75::factB. 0.1::factC. %hop1 0.2::factX:-or(factA,factC). 0.6::factY:-xor(factC,factB). 0.0::factZ:-or(factB,factA). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.75,0.34406881376275256,train,we believe,chances are slight,We believe that 'Lily is a swan' or 'Julius is gray' or both.,Chances are slight that 'Lily is a swan' or 'Julius is gray' or both.,1,'Lily is a swan' or 'Julius is gray' or both. It is probably not the case that Mary left the apple. It is highly unlikely that Greg is white. We believe that Bernhard is a swan. It is probable that if 'Greg is white' or 'Bernhard is a swan' or both then Sandra put down the milk. It is highly unlikely that if 'Greg is white' or 'Bernhard is a swan' or both then Lily is yellow. It is highly unlikely that if 'Greg is white' or 'Mary left the apple' or both then John moved to the office.,It is probable that either 'Mary left the apple' 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. 0.05::factB. 0.75::factC. %hop1 0.7::factX:-or(factB,factC). 0.05::factY:-or(factB,factC). 0.05::factZ:-or(factB,factA). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.26906250000000004,0.1252250450090018,train,probably not,probable,It is probably not the case that either 'Mary left the apple' or 'Lily is yellow' but not both.,It is probable that either 'Mary left the apple' or 'Lily is yellow' but not both.,0,Either 'Mary left the apple' or 'Lily is yellow' but not both. It is likely that Bernhard is gray. Chances are slight that Gertrude is a cat. It is highly unlikely that John dropped the apple. It is certain that if either 'Gertrude is a cat' or 'John dropped the apple' but not both then Lily is yellow. We doubt that if 'John dropped the apple' or 'Gertrude is a cat' or both then Brian is a rhino. We believe that if 'John dropped the apple and Bernhard is gray' then Mary moved to the garden.,It is highly unlikely that either 'Brian is a rhino' or 'Mary 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.1::factB. 0.05::factC. %hop1 1.0::factX:-xor(factB,factC). 0.2::factY:-or(factC,factB). 0.75::factZ:-and(factC,factA). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.04475,0.7423484696939388,train,highly unlikely,we believe,It is highly unlikely that either 'Brian is a rhino' or 'Mary moved to the garden' but not both.,We believe that either 'Brian is a rhino' or 'Mary moved to the garden' but not both.,1,Either 'Brian is a rhino' or 'Mary moved to the garden' but not both. It is improbable that Jeff went to the bedroom. There is little chance that Greg is white. We believe that Fred dropped the apple. It is probably the case that if 'Fred dropped the apple' or 'Greg is white' or both then Julius is green. It is unlikely that if 'Jeff went to the bedroom' or 'Greg is white' or both then John moved to the garden. It is probable that if either 'Fred dropped the apple' or 'Greg is white' but not both then Bernhard is a lion.,We believe that 'Fred dropped the apple' 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.1::factA. 0.1::factB. 0.75::factC. %hop1 0.7::factX:-or(factC,factB). 0.2::factY:-or(factA,factB). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.7595000000000001,0.10902180436087218,train,we believe,we doubt,We believe that 'Fred dropped the apple' or 'John moved to the garden' or both.,We doubt that 'Fred dropped the apple' or 'John moved to the garden' or both.,1,'Fred dropped the apple' or 'John moved to the garden' or both. It is probable that Winona is a mouse. It is probably not the case that Bernhard is green. It is likely that John discarded the apple. We doubt that if 'John discarded the apple' or 'Winona is a mouse' or both then Lily is green. It is probably the case that if 'Winona is a mouse and Bernhard is green' then Greg is gray. There is a better than even chance that if either 'Bernhard is green' or 'Winona is a mouse' but not both then Brian is yellow.,We believe that 'Greg is gray and Winona 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.7::factA. 0.25::factB. 0.7::factC. %hop1 0.2::factX:-or(factC,factA). 0.7::factY:-and(factA,factB). 0.6::factZ:-xor(factB,factA). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.12249999999999996,0.013402680536107221,train,chances are slight,we believe,Chances are slight that 'Greg is gray and Winona is a mouse'.,We believe that 'Greg is gray and Winona is a mouse'.,0,'Greg is gray and Winona is a mouse'. It is probably not the case that Bernhard is a rhino. It is highly unlikely that Gertrude is a sheep. It is probably the case that Emily is a wolf. It is improbable that if 'Emily is a wolf' or 'Bernhard is a rhino' or both then Fred left the football. It is impossible that if either 'Gertrude is a sheep' or 'Bernhard is a rhino' but not both then John dropped the milk. It is improbable that if either 'Gertrude is a sheep' or 'Bernhard is a rhino' but not both then Lily is a swan.,There is a very good chance that either 'Bernhard is a rhino' 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.25::factA. 0.05::factB. 0.7::factC. %hop1 0.1::factX:-or(factC,factA). 0.0::factY:-xor(factB,factA). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.23,0.008401680336067214,train,probably not,very good chance,It is probably not the case that either 'Bernhard is a rhino' or 'Lily is a swan' but not both.,There is a very good chance that either 'Bernhard is a rhino' or 'Lily is a swan' but not both.,0,Either 'Bernhard is a rhino' or 'Lily is a swan' but not both. It is certain that Greg is gray. There is almost no chance that Gertrude is a cat. There is little chance that Lily is a lion. It is highly likely that if either 'Gertrude is a cat' or 'Lily is a lion' but not both then Sandra got the milk. We believe that if 'Greg is gray and Gertrude is a cat' then Mary left the football. It is highly unlikely that if 'Lily is a lion and Greg is gray' then Daniel dropped the apple.,There is little chance that 'Lily is a lion' or 'Greg 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 1.0::factA. 0.02::factB. 0.1::factC. %hop1 0.9::factX:-xor(factB,factC). 0.75::factY:-and(factA,factB). 0.05::factZ:-and(factC,factA). %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.01280256051210242,train,certain,little chance,It is certain that 'Lily is a lion' or 'Greg is gray' or both.,There is little chance that 'Lily is a lion' or 'Greg is gray' or both.,0,'Lily is a lion' or 'Greg is gray' or both. There is little chance that Daniel got the milk. It is unlikely that Bernhard is a frog. It is highly likely that John grabbed the apple. It is highly likely that if 'Daniel got the milk and John grabbed the apple' then Gertrude is a sheep. It is probable that if either 'Daniel got the milk' or 'John grabbed the apple' but not both then Mary went to the hallway. Chances are about even that if 'Bernhard is a frog' or 'Daniel got the milk' or both then Brian is white.,There is a very good chance that either 'Brian is white' or 'John grabbed 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.2::factB. 0.9::factC. %hop1 0.9::factX:-and(factA,factC). 0.7::factY:-xor(factA,factC). 0.5::factZ:-or(factB,factA). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.788,0.5621124224844969,train,very good chance,improbable,There is a very good chance that either 'Brian is white' or 'John grabbed the apple' but not both.,It is improbable that either 'Brian is white' or 'John grabbed the apple' but not both.,1,Either 'Brian is white' or 'John grabbed the apple' but not both. We doubt that Sandra left the milk. It is probable that Daniel got the football. It is unlikely that Lily is green. It is probably not the case that if 'Lily is green and Daniel got the football' then Brian is a frog. There is a better than even chance that if 'Sandra left the milk and Lily is green' then Jeff went to the hallway. It is improbable that if 'Lily is green' or 'Daniel got the football' or both then Julius is a swan.,It is probable that 'Daniel got the football' or 'Brian 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.2::factA. 0.7::factB. 0.2::factC. %hop1 0.25::factX:-and(factC,factB). 0.6::factY:-and(factA,factC). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.7,0.74874974994999,train,probable,impossible,It is probable that 'Daniel got the football' or 'Brian is a frog' or both.,It is impossible that 'Daniel got the football' or 'Brian is a frog' or both.,1,'Daniel got the football' or 'Brian is a frog' or both. Chances are slight that Mary moved to the garden. There is almost no chance that Winona is a cat. It is highly unlikely that Brian is white. Chances are slight that if 'Mary moved to the garden and Winona is a cat' then Emily is a mouse. There is little chance that if 'Winona is a cat' or 'Brian is white' or both then Lily is green. It is highly unlikely that if 'Mary moved to the garden and Winona is a cat' then Bernhard is a rhino.,It is impossible that either 'Emily is a mouse' or 'Lily 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.02::factB. 0.05::factC. %hop1 0.1::factX:-and(factA,factB). 0.1::factY:-or(factB,factC). 0.05::factZ:-and(factA,factB). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.007059999999999998,0.33666733346669336,train,impossible,probable,It is impossible that either 'Emily is a mouse' or 'Lily is green' but not both.,It is probable that either 'Emily is a mouse' or 'Lily is green' but not both.,1,Either 'Emily is a mouse' or 'Lily is green' but not both. It is unlikely that Lily is a swan. It is probably not the case that Antoine is thirsty. It is probably the case that Julius is yellow. There is almost no chance that if either 'Antoine is thirsty' or 'Julius is yellow' but not both then Sandra took the football. We believe that if 'Julius is yellow' or 'Antoine is thirsty' or both then Mary put down the apple. There is a very good chance that if 'Lily is a swan' or 'Julius is yellow' or both then John went to the office.,It is probably the case that 'Sandra took the football' 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.2::factA. 0.25::factB. 0.7::factC. %hop1 0.02::factX:-xor(factB,factC). 0.75::factY:-or(factC,factB). 0.8::factZ:-or(factA,factC). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.2096,0.07141428285657131,train,we doubt,probably,We doubt that 'Sandra took the football' or 'Lily is a swan' or both.,It is probably the case that 'Sandra took the football' or 'Lily is a swan' or both.,0,'Sandra took the football' or 'Lily is a swan' or both. It is almost certain that Winona is a sheep. There is a very good chance that Greg is yellow. It is probable that Jason is tired. It is improbable that if 'Jason is tired and Greg is yellow' then Bernhard is gray. It is improbable that if 'Greg is yellow' or 'Winona is a sheep' or both then Brian is green. It is likely that if 'Winona is a sheep' or 'Greg is yellow' or both then Julius is a frog.,It is improbable that 'Julius is a frog' 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 0.95::factA. 0.8::factB. 0.7::factC. %hop1 0.1::factX:-and(factC,factB). 0.1::factY:-or(factB,factA). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.9078999999999999,0.25845169033806764,train,highly likely,improbable,It is highly likely that 'Julius is a frog' or 'Jason is tired' or both.,It is improbable that 'Julius is a frog' or 'Jason is tired' or both.,0,'Julius is a frog' or 'Jason is tired' or both. It is probable that Greg is green. There is almost no chance that Mary put down the apple. It is probably not the case that John went to the office. It is improbable that if either 'Mary put down the apple' or 'John went to the office' but not both then Lily is white. It is probable that if 'Mary put down the apple' or 'John went to the office' or both then Daniel dropped the apple. It is almost certain that if 'John went to the office and Mary put down the apple' then Bernhard is a rhino.,It is probably not the case that 'Mary put down the apple' 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.7::factA. 0.02::factB. 0.25::factC. %hop1 0.1::factX:-xor(factB,factC). 0.7::factY:-or(factB,factC). 0.95::factZ:-and(factC,factB). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.265,0.5383076615323065,train,probably not,very good chance,It is probably not the case that 'Mary put down the apple' or 'John went to the office' or both.,There is a very good chance that 'Mary put down the apple' or 'John went to the office' or both.,1,'Mary put down the apple' or 'John went to the office' or both. It is likely that Julius is gray. Chances are slight that Sandra left the apple. It is almost certain that Mary moved to the office. It is almost certain that if 'Sandra left the apple and Mary moved to the office' then Brian is a rhino. It is impossible that if 'Mary moved to the office' or 'Sandra left the apple' or both then Bernhard is yellow. There is little chance that if 'Sandra left the apple and Julius is gray' then John got the milk.,It is probable that 'Bernhard is yellow 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.7::factA. 0.1::factB. 0.95::factC. %hop1 0.95::factX:-and(factB,factC). 0.0::factY:-or(factC,factB). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.0,0.4354870974194839,train,impossible,probable,It is impossible that 'Bernhard is yellow and Julius is gray'.,It is probable that 'Bernhard is yellow and Julius is gray'.,0,'Bernhard is yellow and Julius is gray'. It is certain that Brian is yellow. It is probably the case that Fred is in the school. It is probably not the case that Lily is gray. We believe that if 'Brian is yellow' or 'Fred is in the school' or both then John left the football. It is probable that if 'Lily is gray and Brian is yellow' then Mary went to the bedroom. There is almost no chance that if 'Brian is yellow and Lily is gray' then Jeff dropped the apple.,Chances are about even that 'Brian is yellow' or 'Fred is in the school' 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.25::factC. %hop1 0.75::factX:-or(factA,factB). 0.7::factY:-and(factC,factA). 0.02::factZ:-and(factA,factC). %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.05781156231246249,train,certain,about even,It is certain that 'Brian is yellow' or 'Fred is in the school' or both.,Chances are about even that 'Brian is yellow' or 'Fred is in the school' or both.,0,'Brian is yellow' or 'Fred is in the school' or both. It is certain that Bernhard is a frog. Chances are slight that Daniel got the football. Chances are about even that John went to the bedroom. It is impossible that if 'Daniel got the football and John went to the bedroom' then Sandra put down the milk. Chances are about even that if either 'John went to the bedroom' or 'Daniel got the football' but not both then Lily is green. It is improbable that if 'John went to the bedroom' or 'Daniel got the football' or both then Julius is a swan.,It is highly likely that 'Julius is a swan 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 1.0::factA. 0.1::factB. 0.5::factC. %hop1 0.0::factX:-and(factB,factC). 0.5::factY:-xor(factC,factB). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.05500000000000003,0.1830366073214643,train,highly unlikely,highly likely,It is highly unlikely that 'Julius is a swan and Bernhard is a frog'.,It is highly likely that 'Julius is a swan and Bernhard is a frog'.,0,'Julius is a swan and Bernhard is a frog'. It is likely that Winona is a mouse. Chances are about even that Lily is a swan. It is impossible that Bernhard is yellow. There is a better than even chance that if 'Winona is a mouse' or 'Bernhard is yellow' or both then Julius is gray. It is certain that if 'Winona is a mouse and Bernhard is yellow' then Mary left the football. It is almost certain that if 'Bernhard is yellow and Lily is a swan' then Brian is green.,It is certain that 'Bernhard is yellow 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.7::factA. 0.5::factB. 0.0::factC. %hop1 0.6::factX:-or(factA,factC). 1.0::factY:-and(factA,factC). 0.95::factZ:-and(factC,factB). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.0,0.34306861372274455,train,impossible,certain,It is impossible that 'Bernhard is yellow and Julius is gray'.,It is certain that 'Bernhard is yellow and Julius is gray'.,0,'Bernhard is yellow and Julius is gray'. It is certain that Brian is a rhino. We believe that Julius is white. There is little chance that Lily is a lion. It is unlikely that if 'Julius is white and Lily is a lion' then Bernhard is a frog. It is highly unlikely that if either 'Brian is a rhino' or 'Julius is white' but not both then Greg is a swan. It is almost certain that if 'Brian is a rhino' or 'Julius is white' or both then Mary went to the garden.,It is improbable that 'Lily is a lion and Mary 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 1.0::factA. 0.75::factB. 0.1::factC. %hop1 0.2::factX:-and(factB,factC). 0.05::factY:-xor(factA,factB). 0.95::factZ:-or(factA,factB). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.09500000000000001,0.42968593718743747,train,improbable,highly likely,It is improbable that 'Lily is a lion and Mary went to the garden'.,It is highly likely that 'Lily is a lion and Mary went to the garden'.,1,'Lily is a lion and Mary went to the garden'. It is probable that Lily is a rhino. It is probably not the case that Emily is a wolf. It is probably the case that Sandra got the football. It is highly unlikely that if either 'Sandra got the football' or 'Emily is a wolf' but not both then Brian is yellow. It is probably not the case that if 'Emily is a wolf and Sandra got the football' then Greg is a swan. There is almost no chance that if either 'Emily is a wolf' or 'Lily is a rhino' but not both then Mary went to the office.,It is highly unlikely that 'Mary went to the office' 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.7::factA. 0.25::factB. 0.7::factC. %hop1 0.05::factX:-xor(factC,factB). 0.25::factY:-and(factB,factC). 0.02::factZ:-xor(factB,factA). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.04161000000000001,0.4960992198439688,train,highly unlikely,highly likely,It is highly unlikely that 'Mary went to the office' or 'Brian is yellow' or both.,It is highly likely that 'Mary went to the office' or 'Brian is yellow' or both.,1,'Mary went to the office' or 'Brian is yellow' or both. It is unlikely that Julius is a frog. It is impossible that Brian is green. There is little chance that Winona is a mouse. There is little chance that if either 'Brian is green' or 'Julius is a frog' but not both then Greg is a swan. There is almost no chance that if 'Julius is a frog and Brian is green' then Bernhard is a lion. It is highly likely that if 'Julius is a frog and Winona is a mouse' then Emily is a wolf.,It is impossible that either 'Bernhard is a lion' 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.2::factA. 0.0::factB. 0.1::factC. %hop1 0.1::factX:-xor(factB,factA). 0.02::factY:-and(factA,factB). 0.9::factZ:-and(factA,factC). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.0,0.09521904380876176,train,impossible,likely,It is impossible that either 'Bernhard is a lion' or 'Brian is green' but not both.,It is likely that either 'Bernhard is a lion' or 'Brian is green' but not both.,1,Either 'Bernhard is a lion' or 'Brian is green' but not both. There is a very good chance that Julius is a frog. It is probably not the case that Antoine is hungry. It is highly likely that Mary got the football. There is little chance that if 'Antoine is hungry' or 'Mary got the football' or both then Winona is a mouse. There is almost no chance that if 'Antoine is hungry and Mary got the football' then John went to the hallway. There is almost no chance that if 'Mary got the football and Julius is a frog' then Bernhard is a lion.,There is almost no chance that 'Bernhard is a lion 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.8::factA. 0.25::factB. 0.9::factC. %hop1 0.1::factX:-or(factB,factC). 0.02::factY:-and(factB,factC). 0.02::factZ:-and(factC,factA). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.014400000000000001,0.7717543508701741,train,almost no chance,we believe,There is almost no chance that 'Bernhard is a lion and Julius is a frog'.,We believe that 'Bernhard is a lion and Julius is a frog'.,1,'Bernhard is a lion and Julius is a frog'. There is a very good chance that Bernhard is white. It is improbable that Brian is a rhino. There is a better than even chance that Julius is white. There is little chance that if 'Julius is white' or 'Brian is a rhino' or both then Greg is a swan. It is probably not the case that if 'Bernhard is white' or 'Julius is white' or both then Bill moved to the office. There is almost no chance that if either 'Julius is white' or 'Bernhard is white' but not both then Sandra got the milk.,Chances are about even that either 'Bernhard is white' 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.8::factA. 0.1::factB. 0.6::factC. %hop1 0.1::factX:-or(factC,factB). 0.25::factY:-or(factA,factC). 0.02::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.44,0.04900980196039208,train,about even,almost no chance,Chances are about even that either 'Bernhard is white' or 'Julius is white' but not both.,There is almost no chance that either 'Bernhard is white' or 'Julius is white' but not both.,1,Either 'Bernhard is white' or 'Julius is white' but not both. We doubt that Jason is tired. There is little chance that John took the apple. We doubt that Lily is green. It is probably the case that if 'John took the apple and Lily is green' then Mary went to the bedroom. We believe that if either 'Jason is tired' or 'John took the apple' but not both then Sandra left the football. Chances are about even that if 'Lily is green' or 'Jason is tired' or both then Greg is yellow.,It is probably not the case that either 'Lily is green' 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.2::factA. 0.1::factB. 0.2::factC. %hop1 0.7::factX:-and(factB,factC). 0.75::factY:-xor(factA,factB). 0.5::factZ:-or(factC,factA). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.32,0.04220844168833767,train,probably not,very good chance,It is probably not the case that either 'Lily is green' or 'Jason is tired' but not both.,There is a very good chance that either 'Lily is green' or 'Jason is tired' but not both.,1,Either 'Lily is green' or 'Jason is tired' but not both. Chances are about even that John went to the hallway. It is impossible that Sandra put down the milk. It is highly likely that Julius is a frog. It is highly likely that if 'John went to the hallway and Julius is a frog' then Sumit is hungry. It is almost certain that if 'Sandra put down the milk' or 'Julius is a frog' or both then Greg is green. There is little chance that if 'John went to the hallway' or 'Julius is a frog' or both then Bernhard is white.,We believe that 'Sandra put down the milk 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.5::factA. 0.0::factB. 0.9::factC. %hop1 0.9::factX:-and(factA,factC). 0.95::factY:-or(factB,factC). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.08121624324864973,train,impossible,we believe,It is impossible that 'Sandra put down the milk and John went to the hallway'.,We believe that 'Sandra put down the milk and John went to the hallway'.,0,'Sandra put down the milk and John went to the hallway'. There is a very good chance that Bernhard is gray. There is almost no chance that Sandra is in the kitchen. Chances are about even that Lily is yellow. It is probable that if 'Bernhard is gray and Sandra is in the kitchen' then Greg is a swan. There is a very good chance that if either 'Sandra is in the kitchen' or 'Bernhard is gray' but not both then Julius is a rhino. It is highly unlikely that if either 'Bernhard is gray' or 'Sandra is in the kitchen' but not both then John went to the hallway.,It is certain that 'Lily is yellow 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.8::factA. 0.02::factB. 0.5::factC. %hop1 0.7::factX:-and(factA,factB). 0.8::factY:-xor(factB,factA). 0.05::factZ:-xor(factA,factB). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.4,0.4890978195639128,train,about even,certain,Chances are about even that 'Lily is yellow and Bernhard is gray'.,It is certain that 'Lily is yellow and Bernhard is gray'.,0,'Lily is yellow and Bernhard is gray'. It is probably the case that Bernhard is a frog. It is almost certain that Julius is gray. We doubt that Brian is yellow. There is almost no chance that if 'Brian is yellow' or 'Bernhard is a frog' or both then Jeff went to the hallway. It is impossible that if either 'Brian is yellow' or 'Bernhard is a frog' but not both then Mary got the football. It is impossible that if either 'Brian is yellow' or 'Julius is gray' but not both then Gertrude is a mouse.,It is almost certain that either 'Brian is yellow' 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 0.7::factA. 0.95::factB. 0.2::factC. %hop1 0.02::factX:-or(factC,factA). 0.0::factY:-xor(factC,factA). 0.0::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.2,0.3706741348269654,train,we doubt,almost certain,We doubt that either 'Brian is yellow' or 'Mary got the football' but not both.,It is almost certain that either 'Brian is yellow' or 'Mary got the football' but not both.,0,Either 'Brian is yellow' or 'Mary got the football' but not both. It is likely that John went to the hallway. Chances are slight that Emily is a wolf. It is probable that Lily is a lion. Chances are about even that if 'Lily is a lion' or 'John went to the hallway' or both then Julius is yellow. It is certain that if 'Lily is a lion and John went to the hallway' then Mary moved to the garden. It is certain that if 'John went to the hallway' or 'Lily is a lion' or both then Greg is a swan.,Chances are about even that either 'Emily is a wolf' or 'Mary 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.1::factB. 0.7::factC. %hop1 0.5::factX:-or(factC,factA). 1.0::factY:-and(factC,factA). 1.0::factZ:-or(factA,factC). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.49199999999999994,0.7431486297259452,train,about even,almost no chance,Chances are about even that either 'Emily is a wolf' or 'Mary moved to the garden' but not both.,There is almost no chance that either 'Emily is a wolf' or 'Mary moved to the garden' but not both.,1,Either 'Emily is a wolf' or 'Mary moved to the garden' but not both. It is probably not the case that Sumit is hungry. We believe that Lily is yellow. It is probable that Bernhard is a frog. There is a better than even chance that if either 'Bernhard is a frog' or 'Lily is yellow' but not both then Sandra dropped the milk. It is highly likely that if either 'Sumit is hungry' or 'Bernhard is a frog' but not both then Gertrude is a mouse. It is improbable that if 'Lily is yellow' or 'Bernhard is a frog' or both then Julius is green.,It is probably the case that 'Bernhard is a frog and Sumit 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.25::factA. 0.75::factB. 0.7::factC. %hop1 0.6::factX:-xor(factC,factB). 0.9::factY:-xor(factA,factC). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.175,0.5943188637727546,train,unlikely,probably,It is unlikely that 'Bernhard is a frog and Sumit is hungry'.,It is probably the case that 'Bernhard is a frog and Sumit is hungry'.,0,'Bernhard is a frog and Sumit is hungry'. There is almost no chance that Lily is yellow. There is little chance that Jason is thirsty. Chances are slight that Greg is a frog. Chances are slight that if 'Lily is yellow and Jason is thirsty' then Bernhard is a rhino. It is probably the case that if either 'Jason is thirsty' or 'Greg is a frog' but not both then Jessica is a sheep. There is almost no chance that if either 'Jason is thirsty' or 'Greg is a frog' but not both then John took the football.,It is impossible that 'Lily 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.02::factA. 0.1::factB. 0.1::factC. %hop1 0.1::factX:-and(factA,factB). 0.7::factY:-xor(factB,factC). 0.02::factZ:-xor(factB,factC). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.0002000000000000002,0.10362072414482897,train,impossible,almost certain,It is impossible that 'Lily is yellow and Bernhard is a rhino'.,It is almost certain that 'Lily is yellow and Bernhard is a rhino'.,1,'Lily is yellow and Bernhard is a rhino'. It is probably the case that Emily is a wolf. It is likely that Greg is a frog. It is almost certain that John went to the garden. It is impossible that if either 'John went to the garden' or 'Greg is a frog' but not both then Daniel put down the milk. It is improbable that if 'Greg is a frog' or 'Emily is a wolf' or both then Julius is white. We believe that if 'Greg is a frog and John went to the garden' then Lily is a swan.,It is probable that 'Greg is a frog' 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.7::factA. 0.7::factB. 0.95::factC. %hop1 0.0::factX:-xor(factC,factB). 0.1::factY:-or(factB,factA). 0.75::factZ:-and(factB,factC). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.7,0.27125425085017,train,probable,highly unlikely,It is probable that 'Greg is a frog' or 'Daniel put down the milk' or both.,It is highly unlikely that 'Greg is a frog' or 'Daniel put down the milk' or both.,1,'Greg is a frog' or 'Daniel put down the milk' or both. There is a very good chance that John put down the apple. It is probable that Daniel got the football. It is almost certain that Lily is a rhino. It is highly unlikely that if 'Daniel got the football and Lily is a rhino' then Jeff discarded the milk. We doubt that if either 'Daniel got the football' or 'John put down the apple' but not both then Greg is a frog. It is highly likely that if 'Daniel got the football' or 'Lily is a rhino' or both then Bernhard is green.,It is highly likely that either 'Jeff discarded the milk' or 'Lily 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.8::factA. 0.7::factB. 0.95::factC. %hop1 0.05::factX:-and(factB,factC). 0.2::factY:-xor(factB,factA). 0.9::factZ:-or(factB,factC). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.91675,0.5669133826765353,train,highly likely,highly unlikely,It is highly likely that either 'Jeff discarded the milk' or 'Lily is a rhino' but not both.,It is highly unlikely that either 'Jeff discarded the milk' or 'Lily is a rhino' but not both.,1,Either 'Jeff discarded the milk' or 'Lily is a rhino' but not both. We doubt that Brian is green. There is little chance that Julius is a rhino. It is improbable that John went to the bedroom. It is probably not the case that if 'Julius is a rhino' or 'John went to the bedroom' or both then Jason is tired. There is almost no chance that if 'Julius is a rhino' or 'John went to the bedroom' or both then Bernhard is a frog. Chances are slight that if 'Julius is a rhino' or 'John went to the bedroom' or both then Jeff discarded the milk.,It is probably not the case that either 'Julius is a rhino' 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.2::factA. 0.1::factB. 0.1::factC. %hop1 0.25::factX:-or(factB,factC). 0.02::factY:-or(factB,factC). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.26,0.7761552310462092,train,probably not,probable,It is probably not the case that either 'Julius is a rhino' or 'Brian is green' but not both.,It is probable that either 'Julius is a rhino' or 'Brian is green' but not both.,1,Either 'Julius is a rhino' or 'Brian is green' but not both. We doubt that John got the apple. It is highly unlikely that Emily is a mouse. We believe that Mary went to the hallway. It is almost certain that if 'John got the apple and Emily is a mouse' then Bernhard is white. There is a better than even chance that if 'Mary went to the hallway and John got the apple' then Lily is gray. There is a better than even chance that if 'Emily is a mouse' or 'John got the apple' or both then Brian is a swan.,It is highly unlikely that 'John got the apple' or 'Mary 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.2::factA. 0.05::factB. 0.75::factC. %hop1 0.95::factX:-and(factA,factB). 0.6::factY:-and(factC,factA). 0.6::factZ:-or(factB,factA). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.8,0.5721144228845769,train,very good chance,highly unlikely,There is a very good chance that 'John got the apple' or 'Mary went to the hallway' or both.,It is highly unlikely that 'John got the apple' or 'Mary went to the hallway' or both.,0,'John got the apple' or 'Mary went to the hallway' or both. There is a very good chance that Greg is gray. It is almost certain that Winona is a cat. It is highly unlikely that Lily is a lion. It is highly unlikely that if either 'Greg is gray' or 'Lily is a lion' but not both then Daniel grabbed the milk. Chances are about even that if 'Winona is a cat and Lily is a lion' then Brian is white. There is almost no chance that if 'Winona is a cat' or 'Greg is gray' or both then John went to the bedroom.,It is almost certain that either 'Lily is a lion' 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.8::factA. 0.95::factB. 0.05::factC. %hop1 0.05::factX:-xor(factA,factC). 0.5::factY:-and(factB,factC). 0.02::factZ:-or(factB,factA). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.06782000000000002,0.6135227045409082,train,highly unlikely,almost certain,It is highly unlikely that either 'Lily is a lion' or 'John went to the bedroom' but not both.,It is almost certain that either 'Lily is a lion' or 'John went to the bedroom' but not both.,0,Either 'Lily is a lion' or 'John went to the bedroom' but not both. There is a very good chance that Julius is white. It is highly likely that Brian is a swan. Chances are about even that Lily is a frog. It is highly likely that if either 'Brian is a swan' or 'Lily is a frog' but not both then Greg is a lion. It is improbable that if 'Julius is white and Brian is a swan' then Sandra dropped the milk. There is little chance that if 'Lily is a frog and Brian is a swan' then Emily is a mouse.,There is little chance that 'Brian is a swan' 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.8::factA. 0.9::factB. 0.5::factC. %hop1 0.9::factX:-xor(factB,factC). 0.1::factY:-and(factA,factB). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.9,0.27625525105021004,train,highly likely,little chance,It is highly likely that 'Brian is a swan' or 'Sandra dropped the milk' or both.,There is little chance that 'Brian is a swan' or 'Sandra dropped the milk' or both.,0,'Brian is a swan' or 'Sandra dropped the milk' or both. It is likely that Lily is white. There is a better than even chance that Daniel got the milk. We believe that Brian is a frog. It is highly unlikely that if 'Brian is a frog and Daniel got the milk' then Julius is yellow. There is almost no chance that if 'Brian is a frog and Daniel got the milk' then Mary took the football. It is probably the case that if either 'Lily is white' or 'Daniel got the milk' but not both then John picked up the apple.,It is certain that 'Daniel got the milk 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.6::factB. 0.75::factC. %hop1 0.05::factX:-and(factC,factB). 0.02::factY:-and(factC,factB). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.41999999999999993,0.39647929585917185,train,about even,certain,Chances are about even that 'Daniel got the milk and Lily is white'.,It is certain that 'Daniel got the milk and Lily is white'.,0,'Daniel got the milk and Lily is white'. There is a better than even chance that Bernhard is a swan. It is improbable that Brian is yellow. Chances are about even that John put down the milk. We believe that if 'John put down the milk and Bernhard is a swan' then Jeff moved to the garden. It is unlikely that if either 'Bernhard is a swan' or 'Brian is yellow' but not both then Mary went to the hallway. We doubt that if either 'Brian is yellow' or 'Bernhard is a swan' but not both then Gertrude is a mouse.,It is almost certain that 'Bernhard is a swan and Jeff 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.6::factA. 0.1::factB. 0.5::factC. %hop1 0.75::factX:-and(factC,factA). 0.2::factY:-xor(factA,factB). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.22500000000000006,0.3026605321064213,train,probably not,almost certain,It is probably not the case that 'Bernhard is a swan and Jeff moved to the garden'.,It is almost certain that 'Bernhard is a swan and Jeff moved to the garden'.,0,'Bernhard is a swan and Jeff moved to the garden'. It is probably not the case that Winona is a wolf. There is little chance that Julius is gray. It is impossible that Lily is green. Chances are slight that if either 'Julius is gray' or 'Lily is green' but not both then Jessica is a cat. It is almost certain that if either 'Julius is gray' or 'Winona is a wolf' but not both then Bernhard is a frog. We believe that if 'Julius is gray' or 'Winona is a wolf' or both then Bill left the milk.,It is probably the case that either 'Jessica is a cat' or 'Lily 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.1::factB. 0.0::factC. %hop1 0.1::factX:-xor(factB,factC). 0.95::factY:-xor(factB,factA). 0.75::factZ:-or(factB,factA). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.010000000000000004,0.6123224644928986,train,almost no chance,probably,There is almost no chance that either 'Jessica is a cat' or 'Lily is green' but not both.,It is probably the case that either 'Jessica is a cat' or 'Lily is green' but not both.,0,Either 'Jessica is a cat' or 'Lily is green' but not both. It is unlikely that Lily is gray. It is probably not the case that Greg is green. We believe that Bernhard is yellow. It is probably not the case that if 'Lily is gray and Bernhard is yellow' then John moved to the office. It is probable that if 'Lily is gray' or 'Bernhard is yellow' or both then Jeff went to the bedroom. There is almost no chance that if 'Bernhard is yellow' or 'Lily is gray' or both then Mary got the apple.,It is certain that 'Greg is green 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.2::factA. 0.25::factB. 0.75::factC. %hop1 0.25::factX:-and(factA,factC). 0.7::factY:-or(factA,factC). 0.02::factZ:-or(factC,factA). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.1875,0.22164432886577315,train,unlikely,certain,It is unlikely that 'Greg is green and Bernhard is yellow'.,It is certain that 'Greg is green and Bernhard is yellow'.,0,'Greg is green and Bernhard is yellow'. There is a very good chance that Bernhard is green. It is probably not the case that John put down the apple. It is impossible that Brian is yellow. It is probable that if 'Brian is yellow and John put down the apple' then Mary discarded the milk. It is highly likely that if 'Brian is yellow' or 'Bernhard is green' or both then Sandra left the football. It is probable that if 'Bernhard is green' or 'Brian is yellow' or both then Bill went to the bedroom.,Chances are about even that either 'John put down the apple' or 'Bill 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.25::factB. 0.0::factC. %hop1 0.7::factX:-and(factC,factB). 0.9::factY:-or(factC,factA). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.53,0.6745349069813963,train,about even,almost no chance,Chances are about even that either 'John put down the apple' or 'Bill went to the bedroom' but not both.,There is almost no chance that either 'John put down the apple' or 'Bill went to the bedroom' but not both.,1,Either 'John put down the apple' or 'Bill went to the bedroom' but not both. There is a better than even chance that Mary left the football. It is improbable that Greg is yellow. It is almost certain that Julius is white. Chances are slight that if either 'Julius is white' or 'Greg is yellow' but not both then Fred put down the apple. It is unlikely that if 'Mary left the football and Julius is white' then Jessica is a sheep. There is little chance that if 'Mary left the football' or 'Greg is yellow' or both then Brian is yellow.,It is impossible that 'Fred put down the apple' 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.6::factA. 0.1::factB. 0.95::factC. %hop1 0.1::factX:-xor(factC,factB). 0.2::factY:-and(factA,factC). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.9505,0.3834766953390678,train,almost certain,impossible,It is almost certain that 'Fred put down the apple' or 'Julius is white' or both.,It is impossible that 'Fred put down the apple' or 'Julius is white' or both.,0,'Fred put down the apple' or 'Julius is white' or both. We doubt that Mary got the apple. There is almost no chance that John went to the office. It is probably the case that Bernhard is gray. It is impossible that if either 'Bernhard is gray' or 'John went to the office' but not both then Julius is a frog. There is almost no chance that if 'Bernhard is gray and Mary got the apple' then Jason is tired. There is little chance that if 'John went to the office' or 'Bernhard is gray' or both then Greg is a rhino.,It is probably the case that 'Mary got the apple' 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 0.2::factA. 0.02::factB. 0.7::factC. %hop1 0.0::factX:-xor(factC,factB). 0.02::factY:-and(factC,factA). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.19999999999999998,0.47349469893978796,train,we doubt,probably,We doubt that 'Mary got the apple' or 'Jason is tired' or both.,It is probably the case that 'Mary got the apple' or 'Jason is tired' or both.,0,'Mary got the apple' or 'Jason is tired' or both. It is almost certain that Bernhard is a swan. It is impossible that Julius is gray. It is highly likely that Lily is white. It is unlikely that if either 'Julius is gray' or 'Bernhard is a swan' but not both then Brian is green. It is probably not the case that if 'Lily is white' or 'Julius is gray' or both then Greg is yellow. It is improbable that if either 'Lily is white' or 'Julius is gray' but not both then Mary went to the office.,It is highly likely that either 'Greg is yellow' 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.95::factA. 0.0::factB. 0.9::factC. %hop1 0.2::factX:-xor(factB,factA). 0.25::factY:-or(factC,factB). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.3295,0.17143428685737147,train,probably not,highly likely,It is probably not the case that either 'Greg is yellow' or 'Brian is green' but not both.,It is highly likely that either 'Greg is yellow' or 'Brian is green' but not both.,0,Either 'Greg is yellow' or 'Brian is green' but not both. It is highly unlikely that Brian is a frog. It is highly likely that Lily is yellow. There is a better than even chance that John went to the garden. It is impossible that if 'Brian is a frog and John went to the garden' then Julius is gray. It is highly likely that if either 'Brian is a frog' or 'Lily is yellow' but not both then Sandra dropped the milk. It is impossible that if 'John went to the garden' or 'Brian is a frog' or both then Winona is a sheep.,It is impossible that 'Sandra dropped the milk' 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.9::factB. 0.6::factC. %hop1 0.0::factX:-and(factA,factC). 0.9::factY:-xor(factA,factB). 0.0::factZ:-or(factC,factA). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.774,0.4956991398279656,train,we believe,impossible,We believe that 'Sandra dropped the milk' or 'Julius is gray' or both.,It is impossible that 'Sandra dropped the milk' or 'Julius is gray' or both.,0,'Sandra dropped the milk' or 'Julius is gray' or both. It is certain that Greg is white. It is likely that Gertrude is a cat. We doubt that Mary dropped the apple. It is probably not the case that if 'Gertrude is a cat' or 'Greg is white' or both then Emily is a wolf. There is almost no chance that if 'Greg is white' or 'Mary dropped the apple' or both then Julius is a lion. Chances are about even that if either 'Gertrude is a cat' or 'Greg is white' but not both then Brian is yellow.,It is unlikely that either 'Julius is a lion' 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 1.0::factA. 0.7::factB. 0.2::factC. %hop1 0.25::factX:-or(factB,factA). 0.02::factY:-or(factA,factC). 0.5::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.21200000000000002,0.6935387077415484,train,unlikely,very good chance,It is unlikely that either 'Julius is a lion' or 'Mary dropped the apple' but not both.,There is a very good chance that either 'Julius is a lion' or 'Mary dropped the apple' but not both.,1,Either 'Julius is a lion' or 'Mary dropped the apple' but not both. We doubt that Julius is a lion. It is probably not the case that Greg is a rhino. It is highly unlikely that Sandra got the milk. We believe that if 'Greg is a rhino and Sandra got the milk' then Jeff left the football. There is a very good chance that if 'Greg is a rhino' or 'Julius is a lion' or both then Mary went to the kitchen. It is probably the case that if 'Julius is a lion and Sandra got the milk' then John put down the apple.,We believe that 'Jeff left the football and Mary 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.2::factA. 0.25::factB. 0.05::factC. %hop1 0.75::factX:-and(factB,factC). 0.8::factY:-or(factB,factA). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.007500000000000004,0.2538507701540308,train,impossible,we believe,It is impossible that 'Jeff left the football and Mary went to the kitchen'.,We believe that 'Jeff left the football and Mary went to the kitchen'.,0,'Jeff left the football and Mary went to the kitchen'. It is highly unlikely that Julius is white. It is probably not the case that Jeff went to the bedroom. We doubt that Lily is a lion. There is a better than even chance that if 'Julius is white and Jeff went to the bedroom' then Jessica is a mouse. It is likely that if either 'Julius is white' or 'Lily is a lion' but not both then Sumit is thirsty. Chances are slight that if 'Julius is white' or 'Lily is a lion' or both then Greg is a frog.,It is certain that either 'Greg is a frog' 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.05::factA. 0.25::factB. 0.2::factC. %hop1 0.6::factX:-and(factA,factB). 0.7::factY:-xor(factA,factC). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.030000000000000023,0.09001800360072014,train,almost no chance,certain,There is almost no chance that either 'Greg is a frog' or 'Jessica is a mouse' but not both.,It is certain that either 'Greg is a frog' or 'Jessica is a mouse' but not both.,0,Either 'Greg is a frog' or 'Jessica is a mouse' but not both. It is improbable that Greg is a frog. There is little chance that Lily is a swan. There is a better than even chance that Brian is gray. There is almost no chance that if 'Lily is a swan and Greg is a frog' then Julius is a rhino. We believe that if 'Greg is a frog and Lily is a swan' then Fred discarded the apple. It is unlikely that if either 'Greg is a frog' or 'Lily is a swan' but not both then Daniel got the milk.,It is impossible that either 'Brian is gray' 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.1::factA. 0.1::factB. 0.6::factC. %hop1 0.02::factX:-and(factB,factA). 0.75::factY:-and(factA,factB). 0.2::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.5928,0.6067213442688538,train,better than even,impossible,There is a better than even chance that either 'Brian is gray' or 'Daniel got the milk' but not both.,It is impossible that either 'Brian is gray' or 'Daniel got the milk' but not both.,0,Either 'Brian is gray' or 'Daniel got the milk' but not both. It is probably not the case that Brian is white. It is probably not the case that Mary went to the bedroom. We doubt that Lily is a rhino. It is probable that if 'Mary went to the bedroom' or 'Lily is a rhino' or both then Julius is a frog. There is little chance that if either 'Lily is a rhino' or 'Brian is white' but not both then Jessica is a mouse. It is probable that if either 'Lily is a rhino' or 'Mary went to the bedroom' but not both then Bernhard is gray.,It is probably not the case that either 'Lily is a rhino' 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.25::factA. 0.25::factB. 0.2::factC. %hop1 0.7::factX:-or(factB,factC). 0.1::factY:-xor(factC,factA). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.35000000000000003,0.01980396079215843,train,probably not,probably,It is probably not the case that either 'Lily is a rhino' or 'Mary went to the bedroom' but not both.,It is probably the case that either 'Lily is a rhino' or 'Mary went to the bedroom' but not both.,1,Either 'Lily is a rhino' or 'Mary went to the bedroom' but not both. There is a better than even chance that Mary left the football. Chances are slight that Brian is white. It is almost certain that Jeff moved to the office. It is certain that if 'Mary left the football' or 'Jeff moved to the office' or both then Lily is yellow. Chances are slight that if 'Mary left the football' or 'Jeff moved to the office' or both then Greg is green. It is certain that if 'Brian is white and Mary left the football' then Julius is a frog.,It is impossible that 'Lily 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.6::factA. 0.1::factB. 0.95::factC. %hop1 1.0::factX:-or(factA,factC). 0.1::factY:-or(factA,factC). 1.0::factZ:-and(factB,factA). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.98,0.22124424884976995,train,certain,impossible,It is certain that 'Lily is yellow' or 'Greg is green' or both.,It is impossible that 'Lily is yellow' or 'Greg is green' or both.,0,'Lily is yellow' or 'Greg is green' or both. It is probably the case that John went to the garden. Chances are slight that Greg is white. It is likely that Bernhard is white. It is certain that if 'Bernhard is white and Greg is white' then Lily is green. It is probably the case that if 'Greg is white and John went to the garden' then Fred put down the apple. It is probably the case that if 'John went to the garden and Greg is white' then Mary left the football.,It is improbable that either 'Bernhard is white' or 'Lily 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.7::factC. %hop1 1.0::factX:-and(factC,factB). 0.7::factY:-and(factB,factA). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.6299999999999999,0.5447089417883577,train,better than even,improbable,There is a better than even chance that either 'Bernhard is white' or 'Lily is green' but not both.,It is improbable that either 'Bernhard is white' or 'Lily is green' but not both.,0,Either 'Bernhard is white' or 'Lily is green' but not both. It is probably the case that Mary went to the office. Chances are about even that Antoine is thirsty. It is improbable that Bernhard is a swan. It is certain that if 'Mary went to the office and Bernhard is a swan' then John dropped the milk. It is almost certain that if either 'Bernhard is a swan' or 'Antoine is thirsty' but not both then Brian is yellow. There is a very good chance that if 'Mary went to the office' or 'Antoine is thirsty' or both then Lily is a frog.,It is probably not the case that 'Bernhard is a swan' or 'Mary 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.7::factA. 0.5::factB. 0.1::factC. %hop1 1.0::factX:-and(factA,factC). 0.95::factY:-xor(factC,factB). 0.8::factZ:-or(factA,factB). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.73,0.05041008201640328,train,we believe,probably not,We believe that 'Bernhard is a swan' or 'Mary went to the office' or both.,It is probably not the case that 'Bernhard is a swan' or 'Mary went to the office' or both.,0,'Bernhard is a swan' or 'Mary went to the office' or both. It is unlikely that Jeff dropped the apple. It is likely that Julius is a lion. Chances are slight that Mary went to the bedroom. We believe that if either 'Jeff dropped the apple' or 'Julius is a lion' but not both then Fred is in the cinema. Chances are slight that if either 'Julius is a lion' or 'Jeff dropped the apple' but not both then Emily is a mouse. It is probable that if either 'Jeff dropped the apple' or 'Julius is a lion' but not both then Brian is green.,It is almost certain that either 'Julius is a lion' or 'Fred is in the cinema' 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.1::factC. %hop1 0.75::factX:-xor(factA,factB). 0.1::factY:-xor(factB,factA). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.32499999999999996,0.11762352470494099,train,probably not,almost certain,It is probably not the case that either 'Julius is a lion' or 'Fred is in the cinema' but not both.,It is almost certain that either 'Julius is a lion' or 'Fred is in the cinema' but not both.,0,Either 'Julius is a lion' or 'Fred is in the cinema' but not both. We believe that John took the apple. It is almost certain that Fred went to the garden. There is a very good chance that Jason is tired. It is unlikely that if either 'Jason is tired' or 'John took the apple' but not both then Gertrude is a sheep. It is almost certain that if 'Fred went to the garden' or 'Jason is tired' or both then Greg is yellow. We doubt that if either 'John took the apple' or 'Fred went to the garden' but not both then Brian is a rhino.,There is almost no chance that 'Fred went to the garden' 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 0.75::factA. 0.95::factB. 0.8::factC. %hop1 0.2::factX:-xor(factC,factA). 0.95::factY:-or(factB,factC). 0.2::factZ:-xor(factA,factB). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.99,0.7813562712542509,train,certain,almost no chance,It is certain that 'Fred went to the garden' or 'Jason is tired' or both.,There is almost no chance that 'Fred went to the garden' or 'Jason is tired' or both.,0,'Fred went to the garden' or 'Jason is tired' or both. Chances are about even that Gertrude is a sheep. There is a very good chance that Sandra took the football. It is impossible that Julius is a swan. We believe that if 'Julius is a swan' or 'Sandra took the football' or both then Mary left the football. It is impossible that if either 'Sandra took the football' or 'Gertrude is a sheep' but not both then Greg is gray. It is improbable that if either 'Julius is a swan' or 'Gertrude is a sheep' but not both then Lily is a lion.,Chances are about even that 'Sandra took the football 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.5::factA. 0.8::factB. 0.0::factC. %hop1 0.75::factX:-or(factC,factB). 0.0::factY:-xor(factB,factA). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.04000000000000001,0.08361672334466894,train,highly unlikely,about even,It is highly unlikely that 'Sandra took the football and Lily is a lion'.,Chances are about even that 'Sandra took the football and Lily is a lion'.,0,'Sandra took the football and Lily is a lion'. It is likely that Bernhard is green. There is little chance that Mary went to the bedroom. It is almost certain that John moved to the office. It is highly likely that if 'Mary went to the bedroom' or 'John moved to the office' or both then Greg is yellow. There is almost no chance that if 'Mary went to the bedroom' or 'Bernhard is green' or both then Brian is a swan. It is improbable that if 'Bernhard is green and Mary went to the bedroom' then Lily is a rhino.,It is impossible 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.7::factA. 0.1::factB. 0.95::factC. %hop1 0.9::factX:-or(factB,factC). 0.02::factY:-or(factB,factA). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.6866,0.19663932786557312,train,probably,impossible,It is probably the case that either 'Brian is a swan' or 'Bernhard is green' but not both.,It is impossible 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. It is almost certain that John went to the hallway. It is probably not the case that Bernhard is green. We doubt that Julius is white. It is probable that if either 'Bernhard is green' or 'Julius is white' but not both then Greg is a swan. It is highly likely that if 'Bernhard is green and Julius is white' then Mary picked up the milk. It is probable that if 'Bernhard is green and John went to the hallway' then Lily is gray.,It is probably the case that 'John went to the hallway 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.95::factA. 0.25::factB. 0.2::factC. %hop1 0.7::factX:-xor(factB,factC). 0.9::factY:-and(factB,factC). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.16624999999999998,0.4748949789957992,train,we doubt,probably,We doubt that 'John went to the hallway and Lily is gray'.,It is probably the case that 'John went to the hallway and Lily is gray'.,0,'John went to the hallway and Lily is gray'. It is improbable that Bernhard is yellow. It is unlikely that Julius is gray. It is impossible that Mary went to the bedroom. There is little chance that if 'Mary went to the bedroom and Bernhard is yellow' then John moved to the office. It is probable that if either 'Julius is gray' or 'Mary went to the bedroom' but not both then Lily is green. It is highly likely that if 'Bernhard is yellow and Julius is gray' then Fred dropped the milk.,Chances are slight that 'John moved to the office' 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.1::factA. 0.2::factB. 0.0::factC. %hop1 0.1::factX:-and(factC,factA). 0.7::factY:-xor(factB,factC). 0.9::factZ:-and(factA,factB). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.14,0.1234246849369874,train,chances are slight,almost certain,Chances are slight that 'John moved to the office' or 'Lily is green' or both.,It is almost certain that 'John moved to the office' or 'Lily is green' or both.,1,'John moved to the office' or 'Lily is green' or both. It is improbable that Julius is a swan. Chances are slight that Fred left the apple. It is unlikely that Greg is a rhino. It is certain that if 'Fred left the apple' or 'Julius is a swan' or both then Gertrude is a wolf. It is likely that if 'Greg is a rhino' or 'Julius is a swan' or both then Bernhard is a frog. It is unlikely that if 'Greg is a rhino and Julius is a swan' then John moved to the garden.,It is probably not the case that either 'Bernhard is a frog' or 'Fred 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.1::factB. 0.2::factC. %hop1 1.0::factX:-or(factB,factA). 0.7::factY:-or(factC,factA). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.2568,0.05621124224844969,train,probably not,we believe,It is probably not the case that either 'Bernhard is a frog' or 'Fred left the apple' but not both.,We believe that either 'Bernhard is a frog' or 'Fred left the apple' but not both.,1,Either 'Bernhard is a frog' or 'Fred left the apple' but not both. There is a very good chance that Winona is a wolf. We doubt that Brian is green. It is almost certain that John went to the hallway. It is probably the case that if either 'Winona is a wolf' or 'Brian is green' but not both then Sandra left the milk. Chances are about even that if 'Brian is green and Winona is a wolf' then Bernhard is a swan. It is highly likely that if 'Brian is green and John went to the hallway' then Daniel dropped the apple.,We believe that 'Bernhard is a swan' 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.8::factA. 0.2::factB. 0.95::factC. %hop1 0.7::factX:-xor(factA,factB). 0.5::factY:-and(factB,factA). 0.9::factZ:-and(factB,factC). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.18259999999999998,0.33766753350670137,train,unlikely,we believe,It is unlikely that 'Bernhard is a swan' or 'Daniel dropped the apple' or both.,We believe that 'Bernhard is a swan' or 'Daniel dropped the apple' or both.,0,'Bernhard is a swan' or 'Daniel dropped the apple' or both. Chances are about even that Greg is a lion. It is improbable that Julius is gray. It is almost certain that John moved to the garden. It is likely that if 'Greg is a lion and Julius is gray' then Yann is hungry. It is certain that if either 'John moved to the garden' or 'Julius is gray' but not both then Sandra got the milk. We doubt that if 'Julius is gray' or 'Greg is a lion' or both then Lily is a swan.,Chances are slight that 'Lily is a swan 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.5::factA. 0.1::factB. 0.95::factC. %hop1 0.7::factX:-and(factA,factB). 1.0::factY:-xor(factC,factB). 0.2::factZ:-or(factB,factA). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.10000000000000002,0.7031406281256252,train,chances are slight,better than even,Chances are slight that 'Lily is a swan and Greg is a lion'.,There is a better than even chance that 'Lily is a swan and Greg is a lion'.,1,'Lily is a swan and Greg is a lion'. It is probable that Julius is a rhino. It is probably the case that John picked up the apple. It is certain that Bernhard is a frog. There is a better than even chance that if either 'Bernhard is a frog' or 'Julius is a rhino' but not both then Winona is a sheep. It is probably the case that if either 'Bernhard is a frog' or 'John picked up the apple' but not both then Yann is hungry. It is probable that if 'John picked up the apple and Bernhard is a frog' then Mary left the football.,It is improbable that 'Mary left the football' 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.7::factA. 0.7::factB. 1.0::factC. %hop1 0.6::factX:-xor(factC,factA). 0.7::factY:-xor(factC,factB). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.5818,0.7611522304460893,train,better than even,improbable,There is a better than even chance that 'Mary left the football' or 'Winona is a sheep' or both.,It is improbable that 'Mary left the football' or 'Winona is a sheep' or both.,0,'Mary left the football' or 'Winona is a sheep' or both. It is impossible that Julius is a rhino. There is a better than even chance that Bernhard is gray. Chances are slight that Greg is yellow. It is impossible that if either 'Bernhard is gray' or 'Greg is yellow' but not both then Sandra got the football. We doubt that if either 'Bernhard is gray' or 'Greg is yellow' but not both then Lily is green. It is likely that if 'Julius is a rhino and Bernhard is gray' then Mary went to the office.,There is a very good chance that either 'Julius is a rhino' 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.0::factA. 0.6::factB. 0.1::factC. %hop1 0.0::factX:-xor(factB,factC). 0.2::factY:-xor(factB,factC). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.10000000000000002,0.5513102620524105,train,little chance,very good chance,There is little chance that either 'Julius is a rhino' or 'Greg is yellow' but not both.,There is a very good chance that either 'Julius is a rhino' or 'Greg is yellow' but not both.,0,Either 'Julius is a rhino' or 'Greg is yellow' but not both. It is certain that Bernhard is a frog. There is almost no chance that Jessica is a mouse. It is unlikely that Julius is white. We believe that if 'Bernhard is a frog and Julius is white' then Mary went to the garden. It is likely that if either 'Bernhard is a frog' or 'Jessica is a mouse' but not both then John got the apple. There is almost no chance that if 'Bernhard is a frog and Julius is white' then Daniel grabbed the milk.,Chances are slight that either 'Daniel grabbed the milk' 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 1.0::factA. 0.02::factB. 0.2::factC. %hop1 0.75::factX:-and(factA,factC). 0.7::factY:-xor(factA,factB). 0.02::factZ:-and(factA,factC). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.14800000000000002,0.17623524704940988,train,chances are slight,we believe,Chances are slight that either 'Daniel grabbed the milk' or 'Mary went to the garden' but not both.,We believe that either 'Daniel grabbed the milk' or 'Mary went to the garden' but not both.,1,Either 'Daniel grabbed the milk' or 'Mary went to the garden' but not both. There is a very good chance that John grabbed the milk. It is unlikely that Lily is green. Chances are about even that Bernhard is green. It is probably not the case that if 'Lily is green' or 'Bernhard is green' or both then Jeff discarded the milk. It is unlikely that if 'Lily is green' or 'Bernhard is green' or both then Fred left the football. We believe that if 'Lily is green' or 'John grabbed the milk' or both then Mary moved to the office.,There is a very good chance that 'John grabbed the milk' or 'Jeff discarded 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.2::factB. 0.5::factC. %hop1 0.25::factX:-or(factB,factC). 0.2::factY:-or(factB,factC). 0.75::factZ:-or(factB,factA). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.83,0.09961992398479697,train,very good chance,unlikely,There is a very good chance that 'John grabbed the milk' or 'Jeff discarded the milk' or both.,It is unlikely that 'John grabbed the milk' or 'Jeff discarded the milk' or both.,1,'John grabbed the milk' or 'Jeff discarded the milk' or both. It is unlikely that Mary went to the kitchen. There is a better than even chance that Jessica is a cat. It is likely that Jeff left the apple. It is almost certain that if 'Jessica is a cat' or 'Mary went to the kitchen' or both then Julius is yellow. There is a very good chance that if 'Jeff left the apple' or 'Mary went to the kitchen' or both then Gertrude is a cat. It is probable that if 'Jeff left the apple and Jessica is a cat' then John discarded the milk.,It is unlikely that 'Jessica is a cat' or 'Jeff 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.2::factA. 0.6::factB. 0.7::factC. %hop1 0.95::factX:-or(factB,factA). 0.8::factY:-or(factC,factA). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.88,0.3794758951790358,train,highly likely,unlikely,It is highly likely that 'Jessica is a cat' or 'Jeff left the apple' or both.,It is unlikely that 'Jessica is a cat' or 'Jeff left the apple' or both.,0,'Jessica is a cat' or 'Jeff left the apple' or both. There is little chance that Julius is green. It is improbable that Jeff left the apple. We doubt that John dropped the apple. Chances are about even that if 'Julius is green and Jeff left the apple' then Mary moved to the office. It is probably the case that if either 'Jeff left the apple' or 'Julius is green' but not both then Lily is green. There is almost no chance that if 'Julius is green and John dropped the apple' then Bernhard is a frog.,It is likely that 'Julius is green 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.1::factA. 0.1::factB. 0.2::factC. %hop1 0.5::factX:-and(factA,factB). 0.7::factY:-xor(factB,factA). 0.02::factZ:-and(factA,factC). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.005000000000000002,0.02380476095219044,train,impossible,likely,It is impossible that 'Julius is green and Mary moved to the office'.,It is likely that 'Julius is green and Mary moved to the office'.,0,'Julius is green and Mary moved to the office'. There is almost no chance that Lily is a rhino. It is probable that Emily is a mouse. There is a better than even chance that Fred discarded the apple. We doubt that if either 'Fred discarded the apple' or 'Lily is a rhino' but not both then Brian is a frog. It is improbable that if either 'Emily is a mouse' or 'Lily is a rhino' but not both then Julius is gray. There is a very good chance that if either 'Lily is a rhino' or 'Fred discarded the apple' but not both then Jason is tired.,There is a very good chance that either 'Fred discarded the apple' 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.02::factA. 0.7::factB. 0.6::factC. %hop1 0.2::factX:-xor(factC,factA). 0.1::factY:-xor(factB,factA). 0.8::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.13599999999999998,0.5963192638527706,train,improbable,very good chance,It is improbable that either 'Fred discarded the apple' or 'Jason is tired' but not both.,There is a very good chance that either 'Fred discarded the apple' or 'Jason is tired' but not both.,0,Either 'Fred discarded the apple' or 'Jason is tired' but not both. It is almost certain that Julius is white. It is highly likely that Mary went to the bedroom. We believe that John moved to the garden. It is certain that if 'John moved to the garden and Mary went to the bedroom' then Bernhard is a rhino. It is unlikely that if 'John moved to the garden and Mary went to the bedroom' then Lily is green. There is little chance that if 'Mary went to the bedroom' or 'Julius is white' or both then Greg is a frog.,It is highly likely that 'Greg is a frog' or 'Mary 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.95::factA. 0.9::factB. 0.75::factC. %hop1 1.0::factX:-and(factC,factB). 0.2::factY:-and(factC,factB). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.9095000000000001,0.3690738147629526,train,highly likely,little chance,It is highly likely that 'Greg is a frog' or 'Mary went to the bedroom' or both.,There is little chance that 'Greg is a frog' or 'Mary went to the bedroom' or both.,1,'Greg is a frog' or 'Mary went to the bedroom' or both. It is probably the case that John dropped the apple. It is probable that Sandra grabbed the milk. It is probably the case that Brian is a frog. We believe that if 'Brian is a frog and John dropped the apple' then Greg is gray. We believe that if 'Sandra grabbed the milk' or 'John dropped the apple' or both then Mary went to the garden. It is impossible that if 'John dropped the apple and Brian is a frog' then Lily is a swan.,It is almost certain that either 'John dropped the apple' or 'Greg 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.7::factB. 0.7::factC. %hop1 0.75::factX:-and(factC,factA). 0.75::factY:-or(factB,factA). 0.0::factZ:-and(factA,factC). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.3324999999999999,0.40868173634726945,train,probably not,almost certain,It is probably not the case that either 'John dropped the apple' or 'Greg is gray' but not both.,It is almost certain that either 'John dropped the apple' or 'Greg is gray' but not both.,0,Either 'John dropped the apple' or 'Greg is gray' but not both. It is highly likely that Emily is a sheep. It is probably the case that Lily is a frog. It is unlikely that Julius is white. It is certain that if 'Julius is white and Lily is a frog' then Greg is a rhino. It is probably the case that if 'Lily is a frog' or 'Emily is a sheep' or both then Brian is white. There is almost no chance that if 'Emily is a sheep' or 'Lily is a frog' or both then Mary went to the bedroom.,It is probably not the case that either 'Emily is a sheep' 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.9::factA. 0.7::factB. 0.2::factC. %hop1 1.0::factX:-and(factC,factB). 0.7::factY:-or(factB,factA). 0.02::factZ:-or(factA,factB). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.33999999999999997,0.29645929185837167,train,probably not,probable,It is probably not the case that either 'Emily is a sheep' or 'Lily is a frog' but not both.,It is probable that either 'Emily is a sheep' or 'Lily is a frog' but not both.,1,Either 'Emily is a sheep' or 'Lily is a frog' but not both. It is likely that John dropped the apple. Chances are about even that Daniel took the apple. It is impossible that Bernhard is gray. It is unlikely that if 'John dropped the apple and Bernhard is gray' then Julius is a swan. We doubt that if 'Bernhard is gray' or 'John dropped the apple' or both then Brian is gray. It is unlikely that if either 'Daniel took the apple' or 'Bernhard is gray' but not both then Winona is a wolf.,It is probably the case that 'Bernhard is gray 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.7::factA. 0.5::factB. 0.0::factC. %hop1 0.2::factX:-and(factA,factC). 0.2::factY:-or(factC,factA). 0.2::factZ:-xor(factB,factC). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.0,0.6385277055411083,train,impossible,probably,It is impossible that 'Bernhard is gray and Winona is a wolf'.,It is probably the case that 'Bernhard is gray and Winona is a wolf'.,0,'Bernhard is gray and Winona is a wolf'. It is probable that John got the milk. Chances are slight that Brian is yellow. Chances are about even that Greg is white. There is a very good chance that if 'Greg is white' or 'Brian is yellow' or both then Mary dropped the milk. It is almost certain that if either 'Brian is yellow' or 'John got the milk' but not both then Winona is a wolf. It is probably not the case that if either 'John got the milk' or 'Greg is white' but not both then Bernhard is a lion.,It is highly unlikely that 'Greg is white 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.5::factC. %hop1 0.8::factX:-or(factC,factB). 0.95::factY:-xor(factB,factA). 0.25::factZ:-xor(factA,factC). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.05000000000000001,0.538507701540308,train,highly unlikely,very good chance,It is highly unlikely that 'Greg is white and Brian is yellow'.,There is a very good chance that 'Greg is white and Brian is yellow'.,1,'Greg is white and Brian is yellow'. We doubt that Lily is a frog. It is improbable that Yann is hungry. It is probably the case that Mary left the football. There is a better than even chance that if 'Yann is hungry' or 'Mary left the football' or both then Sandra put down the milk. There is little chance that if either 'Yann is hungry' or 'Mary left the football' but not both then Brian is a swan. It is impossible that if either 'Mary left the football' or 'Yann is hungry' but not both then Bernhard is gray.,It is highly likely that either 'Brian is a swan' 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.2::factA. 0.1::factB. 0.7::factC. %hop1 0.6::factX:-or(factB,factC). 0.1::factY:-xor(factB,factC). 0.0::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.23960000000000004,0.7359471894378876,train,probably not,highly likely,It is probably not the case that either 'Brian is a swan' or 'Lily is a frog' but not both.,It is highly likely that either 'Brian is a swan' or 'Lily is a frog' but not both.,0,Either 'Brian is a swan' or 'Lily is a frog' but not both. There is a better than even chance that Julius is gray. There is little chance that Yann is hungry. Chances are slight that Winona is a wolf. It is probably not the case that if 'Yann is hungry' or 'Julius is gray' or both then Fred went to the office. We doubt that if either 'Yann is hungry' or 'Julius is gray' but not both then Mary dropped the milk. It is highly likely that if either 'Julius is gray' or 'Winona is a wolf' but not both then Greg is a swan.,There is almost no chance that 'Mary 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.6::factA. 0.1::factB. 0.1::factC. %hop1 0.25::factX:-or(factB,factA). 0.2::factY:-xor(factB,factA). 0.9::factZ:-xor(factA,factC). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.5498,0.28565713142628524,train,about even,almost no chance,Chances are about even that 'Mary dropped the milk' or 'Greg is a swan' or both.,There is almost no chance that 'Mary dropped the milk' or 'Greg is a swan' or both.,0,'Mary dropped the milk' or 'Greg is a swan' or both. It is impossible that John left the football. It is probable that Mary put down the apple. It is almost certain that Julius is a lion. It is highly unlikely that if 'John left the football' or 'Mary put down the apple' or both then Winona is a wolf. It is improbable that if either 'Mary put down the apple' or 'Julius is a lion' but not both then Sandra got the milk. It is unlikely that if 'John left the football' or 'Mary put down the apple' or both then Yann is hungry.,It is impossible that 'John left the football 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.0::factA. 0.7::factB. 0.95::factC. %hop1 0.05::factX:-or(factA,factB). 0.1::factY:-xor(factB,factC). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.0,0.5409081816363273,train,impossible,certain,It is impossible that 'John left the football and Winona is a wolf'.,It is certain that 'John left the football and Winona is a wolf'.,1,'John left the football and Winona is a wolf'. Chances are slight that John went to the garden. It is likely that Daniel got the apple. It is probable that Winona is a sheep. We believe that if 'Winona is a sheep and John went to the garden' then Bernhard is a swan. Chances are about even that if 'Winona is a sheep' or 'John went to the garden' or both then Lily is a frog. We doubt that if 'Winona is a sheep' or 'Daniel got the apple' or both then Emily is a wolf.,It is highly unlikely that either 'Daniel got the apple' or 'John 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.7::factB. 0.7::factC. %hop1 0.75::factX:-and(factC,factA). 0.5::factY:-or(factC,factA). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6599999999999999,0.5489097819563913,train,probably,highly unlikely,It is probably the case that either 'Daniel got the apple' or 'John went to the garden' but not both.,It is highly unlikely that either 'Daniel got the apple' or 'John went to the garden' but not both.,0,Either 'Daniel got the apple' or 'John went to the garden' but not both. There is almost no chance that Lily is a lion. There is little chance that Fred went to the garden. It is certain that Greg is gray. It is likely that if 'Greg is gray' or 'Lily is a lion' or both then Julius is a swan. There is a very good chance that if either 'Fred went to the garden' or 'Lily is a lion' but not both then John took the apple. There is little chance that if 'Greg is gray and Lily is a lion' then Sandra got the milk.,There is a very good chance that 'Fred went to the garden 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 0.02::factA. 0.1::factB. 1.0::factC. %hop1 0.7::factX:-or(factC,factA). 0.8::factY:-xor(factB,factA). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.0002000000000000002,0.6103220644128826,train,impossible,very good chance,It is impossible that 'Fred went to the garden and Sandra got the milk'.,There is a very good chance that 'Fred went to the garden and Sandra got the milk'.,0,'Fred went to the garden and Sandra got the milk'. It is probably not the case that Greg is yellow. Chances are about even that Jeff moved to the garden. It is almost certain that Mary went to the office. It is almost certain that if either 'Greg is yellow' or 'Jeff moved to the garden' but not both then Daniel dropped the apple. It is unlikely that if 'Jeff moved to the garden' or 'Mary went to the office' or both then Brian is a swan. We believe that if either 'Greg is yellow' or 'Jeff moved to the garden' but not both then Julius is white.,It is impossible that either 'Brian is a swan' 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.25::factA. 0.5::factB. 0.95::factC. %hop1 0.95::factX:-xor(factA,factB). 0.2::factY:-or(factB,factC). 0.75::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.42187500000000006,0.7283456691338268,train,about even,impossible,Chances are about even that either 'Brian is a swan' or 'Julius is white' but not both.,It is impossible that either 'Brian is a swan' or 'Julius is white' but not both.,0,Either 'Brian is a swan' or 'Julius is white' but not both. It is probable that Emily is a sheep. Chances are slight that Fred put down the apple. It is probable that Mary went to the garden. There is a very good chance that if either 'Emily is a sheep' or 'Mary went to the garden' but not both then Brian is a rhino. It is impossible that if 'Emily is a sheep and Fred put down the apple' then Lily is white. It is highly likely that if either 'Fred put down the apple' or 'Mary went to the garden' but not both then John left the milk.,Chances are slight that 'Emily is a sheep' or 'John 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.7::factA. 0.1::factB. 0.7::factC. %hop1 0.8::factX:-xor(factA,factC). 0.0::factY:-and(factA,factB). 0.9::factZ:-xor(factB,factC). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.8781999999999999,0.06481296259251851,train,highly likely,chances are slight,It is highly likely that 'Emily is a sheep' or 'John left the milk' or both.,Chances are slight that 'Emily is a sheep' or 'John left the milk' or both.,0,'Emily is a sheep' or 'John left the milk' or both. It is probable that Julius is a swan. It is unlikely that John moved to the office. It is highly unlikely that Lily is a swan. We doubt that if 'Julius is a swan and Lily is a swan' then Greg is gray. It is unlikely that if 'John moved to the office and Julius is a swan' then Brian is white. It is probable that if 'John moved to the office and Lily is a swan' then Daniel left the milk.,There is almost no chance that either 'Brian is white' 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.7::factA. 0.2::factB. 0.05::factC. %hop1 0.2::factX:-and(factA,factC). 0.2::factY:-and(factB,factA). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.03304,0.4384876975395079,train,almost no chance,about even,There is almost no chance that either 'Brian is white' or 'Daniel left the milk' but not both.,Chances are about even that either 'Brian is white' or 'Daniel left the milk' but not both.,1,Either 'Brian is white' or 'Daniel left the milk' but not both. We believe that Greg is a swan. Chances are slight that Bernhard is a frog. It is highly unlikely that Sandra took the football. It is probably not the case that if 'Sandra took the football' or 'Greg is a swan' or both then Sumit is thirsty. There is a very good chance that if 'Greg is a swan and Sandra took the football' then John put down the apple. It is unlikely that if either 'Sandra took the football' or 'Greg is a swan' but not both then Mary is in the school.,Chances are slight that either 'Sumit is thirsty' 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.75::factA. 0.1::factB. 0.05::factC. %hop1 0.25::factX:-or(factC,factA). 0.8::factY:-and(factA,factC). 0.2::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.565625,0.19443888777755552,train,better than even,chances are slight,There is a better than even chance that either 'Sumit is thirsty' or 'Greg is a swan' but not both.,Chances are slight that either 'Sumit is thirsty' or 'Greg is a swan' but not both.,0,Either 'Sumit is thirsty' or 'Greg is a swan' but not both. There is almost no chance that Greg is a rhino. It is almost certain that Julius is gray. It is probable that Mary went to the garden. It is highly unlikely that if either 'Mary went to the garden' or 'Julius is gray' but not both then Winona is a wolf. It is improbable that if 'Greg is a rhino and Julius is gray' then Brian is white. It is almost certain that if either 'Julius is gray' or 'Mary went to the garden' but not both then Lily is a lion.,There is almost no chance that either 'Greg 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.02::factA. 0.95::factB. 0.7::factC. %hop1 0.05::factX:-xor(factC,factB). 0.1::factY:-and(factA,factB). 0.95::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.018100000000000005,0.29545909181836366,train,almost no chance,highly likely,There is almost no chance that either 'Greg is a rhino' or 'Brian is white' but not both.,It is highly likely that either 'Greg is a rhino' or 'Brian is white' but not both.,1,Either 'Greg is a rhino' or 'Brian is white' but not both. It is improbable that Daniel grabbed the apple. It is probably the case that Sandra dropped the milk. It is almost certain that John went to the hallway. It is probably the case that if 'Daniel grabbed the apple and Sandra dropped the milk' then Yann is hungry. It is unlikely that if 'Sandra dropped the milk and John went to the hallway' then Julius is a swan. It is impossible that if 'Sandra dropped the milk' or 'Daniel grabbed the apple' or both then Mary left the football.,It is probable 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.1::factA. 0.7::factB. 0.95::factC. %hop1 0.7::factX:-and(factA,factB). 0.2::factY:-and(factB,factC). 0.0::factZ:-or(factB,factA). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.7,0.21324264852970595,train,probable,chances are slight,It is probable that 'Sandra dropped the milk' or 'Julius is a swan' or both.,Chances are slight 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 John took the football. It is improbable that Julius is gray. It is improbable that Lily is a frog. There is a very good chance that if 'John took the football' or 'Julius is gray' or both then Bernhard is white. We believe that if 'John took the football' or 'Lily is a frog' or both then Mary went to the kitchen. It is unlikely that if 'Lily is a frog' or 'Julius is gray' or both then Greg is gray.,It is probably not the case that 'Mary went to the kitchen' or 'John took 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.25::factA. 0.1::factB. 0.1::factC. %hop1 0.8::factX:-or(factA,factB). 0.75::factY:-or(factA,factC). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.3062500000000001,0.7789557911582317,train,probably not,certain,It is probably not the case that 'Mary went to the kitchen' or 'John took the football' or both.,It is certain that 'Mary went to the kitchen' or 'John took the football' or both.,1,'Mary went to the kitchen' or 'John took the football' or both. Chances are about even that Bernhard is gray. It is improbable that Daniel dropped the milk. We doubt that Julius is yellow. It is likely that if 'Daniel dropped the milk' or 'Julius is yellow' or both then Bill went to the kitchen. It is impossible that if 'Bernhard is gray' or 'Julius is yellow' or both then Sandra took the apple. It is likely that if 'Daniel dropped the milk and Julius is yellow' then Gertrude is a sheep.,It is impossible that 'Daniel dropped the milk and Sandra took 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.5::factA. 0.1::factB. 0.2::factC. %hop1 0.7::factX:-or(factB,factC). 0.0::factY:-or(factA,factC). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.0,0.7415483096619324,train,impossible,very good chance,It is impossible that 'Daniel dropped the milk and Sandra took the apple'.,There is a very good chance that 'Daniel dropped the milk and Sandra took the apple'.,1,'Daniel dropped the milk and Sandra took the apple'. It is probably not the case that Gertrude is a cat. It is unlikely that John went to the bedroom. It is improbable that Mary moved to the garden. It is highly likely that if 'Gertrude is a cat' or 'John went to the bedroom' or both then Brian is a rhino. Chances are about even that if 'Gertrude is a cat' or 'Mary moved to the garden' or both then Julius is white. There is a very good chance that if 'Mary moved to the garden' or 'John went to the bedroom' or both then Lily is a lion.,It is highly unlikely that 'Brian is a rhino 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.25::factA. 0.2::factB. 0.1::factC. %hop1 0.9::factX:-or(factA,factB). 0.5::factY:-or(factA,factC). 0.8::factZ:-or(factC,factB). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.036000000000000004,0.029205841168233646,train,highly unlikely,highly likely,It is highly unlikely that 'Brian is a rhino and Mary moved to the garden'.,It is highly likely that 'Brian is a rhino and Mary moved to the garden'.,1,'Brian is a rhino and Mary moved to the garden'. It is certain that Julius is gray. It is highly unlikely that Mary moved to the garden. Chances are slight that John got the milk. There is little chance that if 'John got the milk and Mary moved to the garden' then Brian is a swan. It is probable that if 'John got the milk' or 'Julius is gray' or both then Daniel left the apple. There is a better than even chance that if 'Julius is gray' or 'Mary moved to the garden' or both then Winona is a sheep.,It is certain that 'Brian is a swan' or 'John 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 1.0::factA. 0.05::factB. 0.1::factC. %hop1 0.1::factX:-and(factC,factB). 0.7::factY:-or(factC,factA). 0.6::factZ:-or(factA,factB). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.10000000000000002,0.010002000400080016,train,improbable,certain,It is improbable that 'Brian is a swan' or 'John got the milk' or both.,It is certain that 'Brian is a swan' or 'John got the milk' or both.,0,'Brian is a swan' or 'John got the milk' or both. We doubt that Mary left the football. It is impossible that Greg is white. It is impossible that John moved to the office. It is certain that if 'Mary left the football and Greg is white' then Yann is hungry. There is little chance that if 'Greg is white and Mary left the football' then Emily is a mouse. It is almost certain that if either 'Greg is white' or 'John moved to the office' but not both then Bill got the milk there.,It is highly likely that 'Emily is a mouse' 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.2::factA. 0.0::factB. 0.0::factC. %hop1 1.0::factX:-and(factA,factB). 0.1::factY:-and(factB,factA). 0.95::factZ:-xor(factB,factC). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.0,0.6249249849969994,train,impossible,highly likely,It is impossible that 'Emily is a mouse' or 'John moved to the office' or both.,It is highly likely that 'Emily is a mouse' or 'John moved to the office' or both.,0,'Emily is a mouse' or 'John moved to the office' or both. Chances are slight that Sandra took the apple. There is almost no chance that Mary got the football. Chances are slight that Brian is gray. It is improbable that if either 'Sandra took the apple' or 'Mary got the football' but not both then Daniel grabbed the milk. It is likely that if 'Sandra took the apple and Brian is gray' then Jeff went to the bedroom. It is probably the case that if 'Mary got the football' or 'Brian is gray' or both then Julius is a rhino.,There is a better than even chance that 'Jeff went to the bedroom' 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.02::factB. 0.1::factC. %hop1 0.1::factX:-xor(factA,factB). 0.7::factY:-and(factA,factC). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.02686,0.11862372474494899,train,almost no chance,better than even,There is almost no chance that 'Jeff went to the bedroom' or 'Mary got the football' or both.,There is a better than even chance that 'Jeff went to the bedroom' or 'Mary got the football' or both.,0,'Jeff went to the bedroom' or 'Mary got the football' or both. We doubt that Mary dropped the milk. It is almost certain that Bernhard is a swan. There is little chance that Julius is a lion. It is probably not the case that if either 'Mary dropped the milk' or 'Bernhard is a swan' but not both then Brian is green. Chances are about even that if either 'Julius is a lion' or 'Mary dropped the milk' but not both then Fred left the football. It is unlikely that if 'Mary dropped the milk and Bernhard is a swan' then Daniel took the milk.,We believe that either 'Bernhard 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.2::factA. 0.95::factB. 0.1::factC. %hop1 0.25::factX:-xor(factA,factB). 0.5::factY:-xor(factC,factA). 0.2::factZ:-and(factA,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.7625,0.1380276055211042,train,we believe,impossible,We believe that either 'Bernhard is a swan' or 'Brian is green' but not both.,It is impossible that either 'Bernhard is a swan' or 'Brian is green' but not both.,1,Either 'Bernhard is a swan' or 'Brian is green' but not both. We believe that Lily is gray. It is almost certain that Mary left the football. We doubt that Bernhard is a lion. We doubt that if either 'Mary left the football' or 'Bernhard is a lion' but not both then Gertrude is a sheep. Chances are about even that if either 'Lily is gray' or 'Mary left the football' but not both then Emily is a wolf. It is highly unlikely that if 'Mary left the football' or 'Lily is gray' or both then John went to the hallway.,We doubt that either 'Mary left the football' or 'John went to the hallway' 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.2::factC. %hop1 0.2::factX:-xor(factB,factC). 0.5::factY:-xor(factA,factB). 0.05::factZ:-or(factB,factA). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.904375,0.26765353070614123,train,highly likely,we doubt,It is highly likely that either 'Mary left the football' or 'John went to the hallway' but not both.,We doubt that either 'Mary left the football' or 'John went to the hallway' but not both.,0,Either 'Mary left the football' or 'John went to the hallway' but not both. Chances are about even that Brian is yellow. There is little chance that Jason is thirsty. There is a very good chance that John picked up the milk. It is improbable that if either 'John picked up the milk' or 'Brian is yellow' but not both then Jessica is a cat. It is probably not the case that if 'Jason is thirsty' or 'Brian is yellow' or both then Jeff moved to the garden. It is highly unlikely that if 'John picked up the milk and Jason is thirsty' then Mary dropped the apple.,There is a very good chance that 'Jeff moved to the garden' 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.5::factA. 0.1::factB. 0.8::factC. %hop1 0.1::factX:-xor(factC,factA). 0.25::factY:-or(factB,factA). 0.05::factZ:-and(factC,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.8274999999999999,0.618123624724945,train,very good chance,unlikely,There is a very good chance that 'Jeff moved to the garden' or 'John picked up the milk' or both.,It is unlikely that 'Jeff moved to the garden' or 'John picked up the milk' or both.,1,'Jeff moved to the garden' or 'John picked up the milk' or both. There is little chance that Winona is a sheep. It is almost certain that Daniel took the football. It is probably the case that Brian is a rhino. It is highly likely that if either 'Brian is a rhino' or 'Winona is a sheep' but not both then Julius is gray. It is probable that if either 'Daniel took the football' or 'Brian is a rhino' but not both then John dropped the milk. There is almost no chance that if either 'Daniel took the football' or 'Winona is a sheep' but not both then Lily is green.,It is improbable 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 0.1::factA. 0.95::factB. 0.7::factC. %hop1 0.9::factX:-xor(factC,factA). 0.7::factY:-xor(factB,factC). 0.02::factZ:-xor(factB,factA). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.567,0.23304660932186438,train,better than even,improbable,There is a better than even chance that 'Brian is a rhino and Julius is gray'.,It is improbable 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 Bernhard is a rhino. There is almost no chance that Daniel left the milk. It is improbable that Brian is a frog. There is a better than even chance that if 'Bernhard is a rhino and Daniel left the milk' then Lily is green. It is highly unlikely that if 'Bernhard is a rhino' or 'Daniel left the milk' or both then John moved to the office. It is improbable that if either 'Daniel left the milk' or 'Brian is a frog' but not both then Jessica is a cat.,It is impossible that 'Daniel left the milk 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.25::factA. 0.02::factB. 0.1::factC. %hop1 0.6::factX:-and(factA,factB). 0.05::factY:-or(factA,factB). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.0017999999999999997,0.23324664932986597,train,impossible,probably,It is impossible that 'Daniel left the milk and Jessica is a cat'.,It is probably the case that 'Daniel left the milk and Jessica is a cat'.,1,'Daniel left the milk and Jessica is a cat'. It is improbable that Julius is green. We doubt that John dropped the apple. It is probably not the case that Bernhard is white. Chances are about even that if 'John dropped the apple and Julius is green' then Winona is a sheep. It is probable that if 'Bernhard is white' or 'John dropped the apple' or both then Greg is a rhino. We believe that if either 'Julius is green' or 'John dropped the apple' but not both then Brian is a frog.,There is a very good chance that 'Bernhard is white' 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.25::factC. %hop1 0.5::factX:-and(factB,factA). 0.7::factY:-or(factC,factB). 0.75::factZ:-xor(factA,factB). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.325,0.719743948789758,train,probably not,very good chance,It is probably not the case that 'Bernhard is white' or 'Julius is green' or both.,There is a very good chance that 'Bernhard is white' or 'Julius is green' or both.,0,'Bernhard is white' or 'Julius is green' or both. It is likely that Bernhard is a frog. There is a very good chance that Mary moved to the garden. It is certain that John took the football. It is highly likely that if 'Mary moved to the garden and John took the football' then Greg is a swan. It is probable that if 'Bernhard is a frog and Mary moved to the garden' then Lily is a rhino. There is a better than even chance that if either 'John took the football' or 'Mary moved to the garden' but not both then Sandra grabbed the milk.,It is almost certain that either 'Greg is a swan' or 'John 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.7::factA. 0.8::factB. 1.0::factC. %hop1 0.9::factX:-and(factB,factC). 0.7::factY:-and(factA,factB). 0.6::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.27999999999999997,0.4538907781556311,train,probably not,almost certain,It is probably not the case that either 'Greg is a swan' or 'John took the football' but not both.,It is almost certain that either 'Greg is a swan' or 'John took the football' but not both.,0,Either 'Greg is a swan' or 'John took the football' but not both. There is a better than even chance that Mary went to the office. It is almost certain that Lily is a rhino. It is probably not the case that John got the apple. It is highly likely that if 'John got the apple and Lily is a rhino' then Brian is green. It is unlikely that if either 'Lily is a rhino' or 'Mary went to the office' but not both then Julius is a swan. There is a very good chance that if 'Lily is a rhino and Mary went to the office' then Sandra took the milk.,It is probably not the case that either 'John got 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.6::factA. 0.95::factB. 0.25::factC. %hop1 0.9::factX:-and(factC,factB). 0.2::factY:-xor(factB,factA). 0.8::factZ:-and(factB,factA). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.29100000000000004,0.6819363872774555,train,probably not,probable,It is probably not the case that either 'John got the apple' or 'Julius is a swan' but not both.,It is probable that either 'John got the apple' or 'Julius is a swan' but not both.,1,Either 'John got the apple' or 'Julius is a swan' but not both. There is a better than even chance that Jessica is a mouse. It is highly likely that Brian is a swan. It is probably the case that Yann is hungry. We doubt that if 'Jessica is a mouse and Yann is hungry' then Greg is a frog. Chances are about even that if either 'Brian is a swan' or 'Yann is hungry' but not both then John went to the hallway. It is highly unlikely that if 'Yann is hungry and Jessica is a mouse' then Sandra got the football.,It is highly likely that 'Sandra got the football' 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.6::factA. 0.9::factB. 0.7::factC. %hop1 0.2::factX:-and(factA,factC). 0.5::factY:-xor(factB,factC). 0.05::factZ:-and(factC,factA). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.9020999999999999,0.786757351470294,train,highly likely,probably not,It is highly likely that 'Sandra got the football' or 'Brian is a swan' or both.,It is probably not the case that 'Sandra got the football' or 'Brian is a swan' or both.,1,'Sandra got the football' or 'Brian is a swan' or both. It is probable that Winona is a mouse. We doubt that Brian is a rhino. It is impossible that John took the milk. Chances are about even that if 'Brian is a rhino and Winona is a mouse' then Julius is white. There is almost no chance that if 'Brian is a rhino' or 'Winona is a mouse' or both then Jason is tired. Chances are slight that if either 'Brian is a rhino' or 'John took the milk' but not both then Lily is a rhino.,It is likely that either 'Lily is a rhino' 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.2::factB. 0.0::factC. %hop1 0.5::factX:-and(factB,factA). 0.02::factY:-or(factB,factA). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.692,0.5417083416683337,train,likely,almost no chance,It is likely that either 'Lily is a rhino' or 'Winona is a mouse' but not both.,There is almost no chance that either 'Lily is a rhino' or 'Winona is a mouse' but not both.,1,Either 'Lily is a rhino' or 'Winona is a mouse' but not both. It is probably the case that Greg is white. We doubt that Jeff left the apple. It is certain that Mary went to the office. It is almost certain that if either 'Mary went to the office' or 'Greg is white' but not both then Julius is a swan. It is highly unlikely that if 'Mary went to the office' or 'Greg is white' or both then Yann is tired. It is highly unlikely that if 'Jeff left the apple' or 'Greg is white' or both then Brian is a lion.,It is highly unlikely that either 'Yann is tired' 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.7::factA. 0.2::factB. 1.0::factC. %hop1 0.95::factX:-xor(factC,factA). 0.05::factY:-or(factC,factA). 0.05::factZ:-or(factB,factA). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.6799999999999999,0.09041808361672335,train,probable,highly unlikely,It is probable that either 'Yann is tired' or 'Greg is white' but not both.,It is highly unlikely that either 'Yann is tired' or 'Greg is white' but not both.,0,Either 'Yann is tired' or 'Greg is white' but not both. It is improbable that Mary went to the garden. It is almost certain that Greg is a swan. It is almost certain that John discarded the apple. It is likely that if 'Greg is a swan and Mary went to the garden' then Bernhard is yellow. It is probably the case that if 'John discarded the apple and Greg is a swan' then Brian is a lion. There is a better than even chance that if 'Mary went to the garden and Greg is a swan' then Julius is a rhino.,It is probable that either 'John discarded the apple' or 'Brian 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.1::factA. 0.95::factB. 0.95::factC. %hop1 0.7::factX:-and(factB,factA). 0.7::factY:-and(factC,factB). 0.6::factZ:-and(factA,factB). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.3182500000000001,0.41548309661932387,train,probably not,probable,It is probably not the case that either 'John discarded the apple' or 'Brian is a lion' but not both.,It is probable that either 'John discarded the apple' or 'Brian is a lion' but not both.,0,Either 'John discarded the apple' or 'Brian is a lion' but not both. It is probably not the case that Lily is yellow. There is little chance that Emily is a wolf. It is unlikely that Mary took the football. It is probable that if 'Lily is yellow and Mary took the football' then Julius is a rhino. It is probably the case that if 'Emily is a wolf and Lily is yellow' then John dropped the apple. It is certain that if 'Lily is yellow and Emily is a wolf' then Bill left the milk.,It is certain that 'Julius is a rhino and Mary took 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.1::factB. 0.2::factC. %hop1 0.7::factX:-and(factA,factC). 0.7::factY:-and(factB,factA). 1.0::factZ:-and(factA,factB). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.035,0.5201040208041608,train,highly unlikely,certain,It is highly unlikely that 'Julius is a rhino and Mary took the football'.,It is certain that 'Julius is a rhino and Mary took the football'.,0,'Julius is a rhino and Mary took the football'. There is a better than even chance that Bernhard is a rhino. It is certain that John got the milk. Chances are about even that Gertrude is a cat. There is a very good chance that if 'Gertrude is a cat' or 'Bernhard is a rhino' or both then Daniel took the milk. There is little chance that if 'Bernhard is a rhino' or 'Gertrude is a cat' or both then Lily is white. There is a very good chance that if 'John got the milk and Bernhard is a rhino' then Sandra is in the kitchen.,It is highly unlikely that 'Bernhard is a rhino 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.6::factA. 1.0::factB. 0.5::factC. %hop1 0.8::factX:-or(factC,factA). 0.1::factY:-or(factA,factC). 0.8::factZ:-and(factB,factA). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.6,0.590118023604721,train,better than even,highly unlikely,There is a better than even chance that 'Bernhard is a rhino and John got the milk'.,It is highly unlikely that 'Bernhard is a rhino and John got the milk'.,0,'Bernhard is a rhino and John got the milk'. It is almost certain that Brian is a frog. It is almost certain that Bernhard is a lion. Chances are slight that Greg is a frog. It is likely that if either 'Bernhard is a lion' or 'Greg is a frog' but not both then John dropped the apple. There is almost no chance that if 'Bernhard is a lion' or 'Brian is a frog' or both then Fred went to the office. There is a very good chance that if 'Bernhard is a lion' or 'Brian is a frog' or both then Sandra took the milk.,There is almost no chance that either 'Greg is a frog' 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.95::factA. 0.95::factB. 0.1::factC. %hop1 0.7::factX:-xor(factB,factC). 0.02::factY:-or(factB,factA). 0.8::factZ:-or(factB,factA). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.86,0.7485497099419884,train,highly likely,almost no chance,It is highly likely that either 'Greg is a frog' or 'Brian is a frog' but not both.,There is almost no chance that either 'Greg is a frog' or 'Brian is a frog' but not both.,0,Either 'Greg is a frog' or 'Brian is a frog' but not both. It is probable that Mary got the milk. There is almost no chance that Bernhard is a rhino. It is probably not the case that Gertrude is a cat. Chances are slight that if 'Bernhard is a rhino and Gertrude is a cat' then Greg is gray. There is a very good chance that if either 'Mary got the milk' or 'Gertrude is a cat' but not both then Emily is a sheep. It is probably not the case that if 'Bernhard is a rhino and Gertrude is a cat' then John went to the kitchen.,It is highly likely that 'Greg is gray' 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.7::factA. 0.02::factB. 0.25::factC. %hop1 0.1::factX:-and(factB,factC). 0.8::factY:-xor(factA,factC). 0.25::factZ:-and(factB,factC). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.25,0.3134626925385077,train,probably not,highly likely,It is probably not the case that 'Greg is gray' or 'Gertrude is a cat' or both.,It is highly likely that 'Greg is gray' or 'Gertrude is a cat' or both.,0,'Greg is gray' or 'Gertrude is a cat' or both. It is impossible that John put down the apple. It is unlikely that Winona is a sheep. It is improbable that Bernhard is a frog. It is highly unlikely that if 'Winona is a sheep' or 'Bernhard is a frog' or both then Fred left the football. Chances are about even that if 'Bernhard is a frog and John put down the apple' then Julius is a lion. Chances are about even that if 'Bernhard is a frog and John put down the apple' then Sandra dropped the milk.,There is a better than even chance that either 'Fred left the football' 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.0::factA. 0.2::factB. 0.1::factC. %hop1 0.05::factX:-or(factB,factC). 0.5::factY:-and(factC,factA). 0.5::factZ:-and(factC,factA). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.014000000000000007,0.46669333866773355,train,almost no chance,better than even,There is almost no chance that either 'Fred left the football' or 'Sandra dropped the milk' but not both.,There is a better than even chance that either 'Fred left the football' or 'Sandra dropped the milk' but not both.,0,Either 'Fred left the football' or 'Sandra dropped the milk' but not both. It is highly likely that John went to the kitchen. We doubt that Bernhard is a lion. It is probable that Jeff dropped the apple. It is certain that if either 'Bernhard is a lion' or 'Jeff dropped the apple' but not both then Mary got the milk. There is a better than even chance that if 'Bernhard is a lion and John went to the kitchen' then Fred moved to the office. It is probable that if either 'Bernhard is a lion' or 'Jeff dropped the apple' but not both then Winona is a wolf.,There is a very good chance that 'Bernhard is a lion 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.9::factA. 0.2::factB. 0.7::factC. %hop1 1.0::factX:-xor(factB,factC). 0.6::factY:-and(factB,factA). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.14,0.012002400480096018,train,improbable,very good chance,It is improbable that 'Bernhard is a lion and Jeff dropped the apple'.,There is a very good chance that 'Bernhard is a lion and Jeff dropped the apple'.,0,'Bernhard is a lion and Jeff dropped the apple'. We believe that Bernhard is white. We doubt that John put down the milk. It is probably not the case that Bill moved to the office. It is highly unlikely that if 'Bill moved to the office and John put down the milk' then Emily is a cat. There is a very good chance that if 'Bernhard is white' or 'Bill moved to the office' or both then Lily is a swan. It is unlikely that if 'Bernhard is white and John put down the milk' then Mary left the apple.,It is probably not the case that either 'John put down the milk' 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.75::factA. 0.2::factB. 0.25::factC. %hop1 0.05::factX:-and(factC,factB). 0.8::factY:-or(factA,factC). 0.2::factZ:-and(factA,factB). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.35000000000000003,0.036207241448289657,train,probably not,probably,It is probably not the case that either 'John put down the milk' or 'Bill moved to the office' but not both.,It is probably the case that either 'John put down the milk' or 'Bill moved to the office' but not both.,1,Either 'John put down the milk' or 'Bill moved to the office' but not both. There is a better than even chance that Daniel dropped the milk. It is probably not the case that Mary put down the milk. Chances are slight that Bill went to the bedroom. There is almost no chance that if either 'Mary put down the milk' or 'Bill went to the bedroom' but not both then Bernhard is gray. It is highly likely that if 'Mary put down the milk and Daniel dropped the milk' then Jeff moved to the office. It is probably the case that if either 'Daniel dropped the milk' or 'Bill went to the bedroom' but not both then Brian is green.,It is improbable that 'Mary put down the milk and Jeff 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.6::factA. 0.25::factB. 0.1::factC. %hop1 0.02::factX:-xor(factB,factC). 0.9::factY:-and(factB,factA). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.135,0.4394878975795159,train,improbable,very good chance,It is improbable that 'Mary put down the milk and Jeff moved to the office'.,There is a very good chance that 'Mary put down the milk and Jeff moved to the office'.,1,'Mary put down the milk and Jeff moved to the office'. It is almost certain that Jessica is a wolf. It is almost certain that Julius is gray. It is probable that Greg is yellow. It is impossible that if either 'Julius is gray' or 'Greg is yellow' but not both then Brian is white. There is a better than even chance that if 'Julius is gray and Jessica is a wolf' then John went to the kitchen. We doubt that if 'Julius is gray and Greg is yellow' then Bernhard is a frog.,Chances are slight that 'Julius is gray and Jessica 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.95::factA. 0.95::factB. 0.7::factC. %hop1 0.0::factX:-xor(factB,factC). 0.6::factY:-and(factB,factA). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.9025,0.7661532306461293,train,highly likely,chances are slight,It is highly likely that 'Julius is gray and Jessica is a wolf'.,Chances are slight that 'Julius is gray and Jessica is a wolf'.,0,'Julius is gray and Jessica is a wolf'. It is impossible that Mary dropped the apple. It is almost certain that Sumit is hungry. It is highly likely that John went to the hallway. It is probably the case that if 'Sumit is hungry' or 'Mary dropped the apple' or both then Fred put down the apple. It is impossible that if 'Sumit is hungry and Mary dropped the apple' then Gertrude is a mouse. There is almost no chance that if 'Sumit is hungry and Mary dropped the apple' then Julius is a swan.,It is impossible that 'Mary dropped the apple and Sumit 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.0::factA. 0.95::factB. 0.9::factC. %hop1 0.7::factX:-or(factB,factA). 0.0::factY:-and(factB,factA). 0.02::factZ:-and(factB,factA). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0,0.5741148229645929,train,impossible,highly likely,It is impossible that 'Mary dropped the apple and Sumit is hungry'.,It is highly likely that 'Mary dropped the apple and Sumit is hungry'.,1,'Mary dropped the apple and Sumit is hungry'. We believe that Lily is a frog. It is certain that Greg is a swan. It is unlikely that Daniel grabbed the milk. We doubt that if 'Lily is a frog' or 'Daniel grabbed the milk' or both then Bernhard is green. It is impossible that if either 'Lily is a frog' or 'Greg is a swan' but not both then John went to the kitchen. It is impossible that if either 'Daniel grabbed the milk' or 'Lily is a frog' but not both then Mary left the apple.,There is almost no chance that either 'Bernhard is green' 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.75::factA. 1.0::factB. 0.2::factC. %hop1 0.2::factX:-or(factA,factC). 0.0::factY:-xor(factA,factB). 0.0::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.61,0.7093418683736747,train,better than even,almost no chance,There is a better than even chance that either 'Bernhard is green' or 'Lily is a frog' but not both.,There is almost no chance that either 'Bernhard is green' or 'Lily is a frog' but not both.,0,Either 'Bernhard is green' or 'Lily is a frog' but not both. There is a better than even chance that Lily is a swan. It is highly likely that Mary dropped the apple. Chances are slight that Jason is thirsty. It is probable that if 'Mary dropped the apple' or 'Jason is thirsty' or both then Greg is a rhino. We doubt that if 'Lily is a swan' or 'Mary dropped the apple' or both then John moved to the office. It is probably the case that if 'Lily is a swan' or 'Jason is thirsty' or both then Emily is a wolf.,It is probably not the case that 'Greg is a rhino 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.6::factA. 0.9::factB. 0.1::factC. %hop1 0.7::factX:-or(factB,factC). 0.2::factY:-or(factA,factB). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.2871399999999999,0.22644528905781156,train,probably not,probable,It is probably not the case that 'Greg is a rhino and Emily is a wolf'.,It is probable that 'Greg is a rhino and Emily is a wolf'.,1,'Greg is a rhino and Emily is a wolf'. It is highly unlikely that Julius is white. We believe that Mary went to the kitchen. It is almost certain that Lily is a rhino. We believe that if either 'Julius is white' or 'Lily is a rhino' but not both then Bernhard is gray. It is unlikely that if 'Lily is a rhino' or 'Julius is white' or both then Bill moved to the office. It is probably the case that if either 'Lily is a rhino' or 'Julius is white' but not both then John put down the milk.,We believe that either 'Lily is a rhino' 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.05::factA. 0.75::factB. 0.95::factC. %hop1 0.75::factX:-xor(factA,factC). 0.2::factY:-or(factC,factA). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.7605,0.12582516503300661,train,we believe,probably not,We believe that either 'Lily is a rhino' or 'Bill moved to the office' but not both.,It is probably not the case that either 'Lily is a rhino' or 'Bill moved to the office' but not both.,1,Either 'Lily is a rhino' or 'Bill moved to the office' but not both. It is probably not the case that Daniel took the apple. It is improbable that Mary got the milk. We doubt that Bernhard is gray. It is improbable that if either 'Daniel took the apple' or 'Mary got the milk' but not both then Brian is white. There is a very good chance that if either 'Mary got the milk' or 'Daniel took the apple' but not both then Greg is a lion. We doubt that if 'Bernhard is gray' or 'Daniel took the apple' or both then John moved to the garden.,It is impossible that 'John moved to the garden 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.25::factA. 0.1::factB. 0.2::factC. %hop1 0.1::factX:-xor(factA,factB). 0.8::factY:-xor(factB,factA). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.004799999999999999,0.16143228645729146,train,impossible,almost certain,It is impossible that 'John moved to the garden and Brian is white'.,It is almost certain that 'John moved to the garden and Brian is white'.,1,'John moved to the garden and Brian is white'. It is probably not the case that John went to the garden. It is highly unlikely that Emily is a cat. It is highly likely that Lily is green. It is likely that if 'Lily is green and John went to the garden' then Bernhard is a swan. We doubt that if 'Emily is a cat' or 'John went to the garden' or both then Sandra left the milk. There is a better than even chance that if either 'John went to the garden' or 'Emily is a cat' but not both then Fred is in the cinema.,It is certain that either 'Sandra left 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.25::factA. 0.05::factB. 0.9::factC. %hop1 0.7::factX:-and(factC,factA). 0.2::factY:-or(factB,factA). 0.6::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.15199999999999997,0.3082616523304661,train,we doubt,certain,We doubt that either 'Sandra left the milk' or 'Bernhard is a swan' but not both.,It is certain that either 'Sandra left the milk' or 'Bernhard is a swan' but not both.,0,Either 'Sandra left the milk' or 'Bernhard is a swan' but not both. There is a better than even chance that Brian is a rhino. It is probable that John got the apple. It is highly unlikely that Sandra took the milk. It is highly unlikely that if either 'Sandra took the milk' or 'Brian is a rhino' but not both then Yann is bored. It is improbable that if 'John got the apple and Sandra took the milk' then Mary went to the hallway. There is a better than even chance that if 'Sandra took the milk' or 'Brian is a rhino' or both then Lily is green.,It is probably not the case that either 'Lily is green' 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.6::factA. 0.7::factB. 0.05::factC. %hop1 0.05::factX:-xor(factC,factA). 0.1::factY:-and(factB,factC). 0.6::factZ:-or(factC,factA). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.252,0.14502900580116024,train,probably not,we believe,It is probably not the case that either 'Lily is green' or 'Brian is a rhino' but not both.,We believe that either 'Lily is green' or 'Brian is a rhino' but not both.,1,Either 'Lily is green' or 'Brian is a rhino' but not both. There is almost no chance that Greg is white. It is impossible that Julius is a swan. Chances are about even that John left the milk. There is almost no chance that if 'Julius is a swan' or 'Greg is white' or both then Winona is a sheep. There is a better than even chance that if either 'Julius is a swan' or 'John left the milk' but not both then Brian is yellow. There is almost no chance that if 'John left the milk and Julius is a swan' then Bernhard is a frog.,It is certain that either 'John left the milk' 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.02::factA. 0.0::factB. 0.5::factC. %hop1 0.02::factX:-or(factB,factA). 0.6::factY:-xor(factB,factC). 0.02::factZ:-and(factC,factB). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5,0.751750350070014,train,about even,certain,Chances are about even that either 'John left the milk' or 'Greg is white' but not both.,It is certain that either 'John left the milk' or 'Greg is white' but not both.,0,Either 'John left the milk' or 'Greg is white' but not both. We doubt that Julius is a swan. It is highly unlikely that Greg is a lion. It is certain that Mary dropped the milk. There is almost no chance that if 'Greg is a lion and Julius is a swan' then Gertrude is a mouse. There is almost no chance that if 'Julius is a swan and Greg is a lion' then Winona is a wolf. Chances are slight that if either 'Mary dropped the milk' or 'Julius is a swan' but not both then Bernhard is a frog.,It is impossible that 'Gertrude is a mouse and Julius 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.05::factB. 1.0::factC. %hop1 0.02::factX:-and(factB,factA). 0.02::factY:-and(factA,factB). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.0002000000000000002,0.14542908581716343,train,impossible,almost certain,It is impossible that 'Gertrude is a mouse and Julius is a swan'.,It is almost certain that 'Gertrude is a mouse and Julius is a swan'.,1,'Gertrude is a mouse and Julius is a swan'. It is highly likely that Brian is a swan. It is probably the case that Mary went to the office. There is almost no chance that Jason is tired. It is improbable that if either 'Brian is a swan' or 'Jason is tired' but not both then Julius is gray. We believe that if 'Brian is a swan and Jason is tired' then John moved to the garden. It is almost certain that if 'Mary went to the office' or 'Brian is a swan' or both then Greg is a rhino.,There is a very good chance that 'Jason is tired' 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.9::factA. 0.7::factB. 0.02::factC. %hop1 0.1::factX:-xor(factA,factC). 0.75::factY:-and(factA,factC). 0.95::factZ:-or(factB,factA). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.02,0.5523104620924185,train,almost no chance,very good chance,There is almost no chance that 'Jason is tired' or 'John moved to the garden' or both.,There is a very good chance that 'Jason is tired' or 'John moved to the garden' or both.,0,'Jason is tired' or 'John moved to the garden' or both. It is impossible that Julius is a swan. It is highly likely that Brian is green. Chances are about even that Fred dropped the apple. There is a better than even chance that if either 'Brian is green' or 'Fred dropped the apple' but not both then Greg is a frog. It is probable that if 'Brian is green' or 'Julius is a swan' or both then Mary discarded the milk. There is almost no chance that if either 'Brian is green' or 'Fred dropped the apple' but not both then John went to the office.,It is highly likely that either 'Brian is green' 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.0::factA. 0.9::factB. 0.5::factC. %hop1 0.6::factX:-xor(factB,factC). 0.7::factY:-or(factB,factA). 0.02::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.9,0.6515303060612122,train,highly likely,little chance,It is highly likely that either 'Brian is green' or 'Julius is a swan' but not both.,There is little chance that either 'Brian is green' or 'Julius is a swan' but not both.,1,Either 'Brian is green' or 'Julius is a swan' but not both. We doubt that Sandra left the milk. It is likely that Lily is a rhino. It is unlikely that Julius is a lion. It is probably the case that if 'Lily is a rhino and Sandra left the milk' then Jessica is a sheep. It is highly likely that if either 'Lily is a rhino' or 'Sandra left the milk' but not both then Brian is a frog. It is unlikely that if 'Sandra left the milk' or 'Julius is a lion' or both then Mary went to the hallway.,It is almost certain that either 'Mary went to the hallway' or 'Jessica 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.2::factA. 0.7::factB. 0.2::factC. %hop1 0.7::factX:-and(factB,factA). 0.9::factY:-xor(factB,factA). 0.2::factZ:-or(factA,factC). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.13080000000000003,0.3088617723544709,train,improbable,almost certain,It is improbable that either 'Mary went to the hallway' or 'Jessica is a sheep' but not both.,It is almost certain that either 'Mary went to the hallway' or 'Jessica is a sheep' but not both.,0,Either 'Mary went to the hallway' or 'Jessica is a sheep' but not both. It is probably not the case that Gertrude is a cat. It is unlikely that Winona is a sheep. There is little chance that Julius is a lion. It is probable that if 'Gertrude is a cat' or 'Winona is a sheep' or both then Greg is a swan. There is a very good chance that if either 'Gertrude is a cat' or 'Winona is a sheep' but not both then Mary went to the garden. It is almost certain that if either 'Julius is a lion' or 'Gertrude is a cat' but not both then Sumit is bored.,It is impossible that 'Sumit is bored' 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.25::factA. 0.2::factB. 0.1::factC. %hop1 0.7::factX:-or(factA,factB). 0.8::factY:-xor(factA,factB). 0.95::factZ:-xor(factC,factA). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.40540000000000004,0.3008601720344069,train,about even,impossible,Chances are about even that 'Sumit is bored' or 'Greg is a swan' or both.,It is impossible that 'Sumit is bored' or 'Greg is a swan' or both.,0,'Sumit is bored' or 'Greg is a swan' or both. There is almost no chance that Gertrude is a sheep. It is probable that Julius is a frog. It is probably the case that John took the apple. It is almost certain that if either 'John took the apple' or 'Gertrude is a sheep' but not both then Lily is a rhino. It is probably the case that if 'Gertrude is a sheep and John took the apple' then Mary went to the kitchen. It is probably not the case that if 'Gertrude is a sheep' or 'John took the apple' or both then Jessica is a cat.,There is a better than even chance that 'Julius is a frog 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.02::factA. 0.7::factB. 0.7::factC. %hop1 0.95::factX:-xor(factC,factA). 0.7::factY:-and(factA,factC). 0.25::factZ:-or(factA,factC). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.014000000000000007,0.4938987797559512,train,almost no chance,better than even,There is almost no chance that 'Julius is a frog and Gertrude is a sheep'.,There is a better than even chance that 'Julius is a frog and Gertrude is a sheep'.,0,'Julius is a frog and Gertrude is a sheep'. It is probably not the case that Bernhard is a frog. It is likely that Gertrude is a cat. It is certain that Mary left the football. We doubt that if 'Gertrude is a cat' or 'Mary left the football' or both then John went to the hallway. There is a better than even chance that if either 'Bernhard is a frog' or 'Mary left the football' but not both then Greg is a swan. It is unlikely that if 'Bernhard is a frog' or 'Gertrude is a cat' or both then Brian is gray.,There is almost no chance that 'Mary left the football' 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.25::factA. 0.7::factB. 1.0::factC. %hop1 0.2::factX:-or(factB,factC). 0.6::factY:-xor(factA,factC). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.20984196839367875,train,certain,almost no chance,It is certain that 'Mary left the football' or 'Gertrude is a cat' or both.,There is almost no chance that 'Mary left the football' or 'Gertrude is a cat' or both.,0,'Mary left the football' or 'Gertrude is a cat' or both. There is almost no chance that Julius is white. It is probably the case that Bernhard is a frog. It is probable that Mary took the milk. There is little chance that if 'Julius is white' or 'Mary took the milk' or both then Greg is a frog. It is certain that if either 'Mary took the milk' or 'Bernhard is a frog' but not both then John got the apple. It is impossible that if 'Bernhard is a frog and Julius is white' then Lily is a swan.,It is impossible that 'Greg is a frog 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.7::factB. 0.7::factC. %hop1 0.1::factX:-or(factA,factC). 1.0::factY:-xor(factC,factB). 0.0::factZ:-and(factB,factA). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.0,0.3720744148829766,train,impossible,probable,It is impossible that 'Greg is a frog and Lily is a swan'.,It is probable that 'Greg is a frog and Lily is a swan'.,1,'Greg is a frog and Lily is a swan'. There is almost no chance that Sandra left the milk. There is a very good chance that Greg is yellow. There is a better than even chance that John went to the hallway. It is unlikely that if 'John went to the hallway' or 'Sandra left the milk' or both then Yann is tired. We believe that if 'Sandra left the milk' or 'John went to the hallway' or both then Brian is a rhino. There is a very good chance that if 'Greg is yellow' or 'John went to the hallway' or both then Julius is a frog.,We doubt that either 'Brian is a rhino' or 'John went to the hallway' 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.8::factB. 0.6::factC. %hop1 0.2::factX:-or(factC,factA). 0.75::factY:-or(factA,factC). 0.8::factZ:-or(factB,factC). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.156,0.7335467093418684,train,we doubt,we believe,We doubt that either 'Brian is a rhino' or 'John went to the hallway' but not both.,We believe that either 'Brian is a rhino' or 'John went to the hallway' but not both.,1,Either 'Brian is a rhino' or 'John went to the hallway' but not both. We believe that Julius is yellow. It is almost certain that Lily is a swan. It is unlikely that Winona is a sheep. It is probably not the case that if 'Winona is a sheep and Lily is a swan' then Emily is a wolf. It is certain that if either 'Winona is a sheep' or 'Lily is a swan' but not both then John grabbed the milk. It is certain that if 'Winona is a sheep and Lily is a swan' then Daniel left the football.,It is probably not the case that either 'Julius is yellow' or 'John 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.75::factA. 0.95::factB. 0.2::factC. %hop1 0.25::factX:-and(factC,factB). 1.0::factY:-xor(factC,factB). 1.0::factZ:-and(factC,factB). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.36500000000000005,0.17243448689737947,train,probably not,almost certain,It is probably not the case that either 'Julius is yellow' or 'John grabbed the milk' but not both.,It is almost certain that either 'Julius is yellow' or 'John grabbed the milk' but not both.,1,Either 'Julius is yellow' or 'John grabbed the milk' but not both. It is unlikely that Jeff moved to the garden. There is little chance that Jason is bored. There is little chance that Julius is a frog. It is probably the case that if 'Jason is bored' or 'Jeff moved to the garden' or both then Lily is gray. It is almost certain that if either 'Jeff moved to the garden' or 'Jason is bored' but not both then John discarded the apple. It is probably the case that if either 'Jason is bored' or 'Julius is a frog' but not both then Bernhard is a rhino.,There is almost no chance that 'Jeff moved to the garden 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.2::factA. 0.1::factB. 0.1::factC. %hop1 0.7::factX:-or(factB,factA). 0.95::factY:-xor(factA,factB). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.02000000000000001,0.28905781156231247,train,almost no chance,we believe,There is almost no chance that 'Jeff moved to the garden and Jason is bored'.,We believe that 'Jeff moved to the garden and Jason is bored'.,1,'Jeff moved to the garden and Jason is bored'. It is unlikely that Bernhard is green. It is unlikely that Jessica is a cat. It is unlikely that Brian is yellow. It is probably the case that if either 'Bernhard is green' or 'Jessica is a cat' but not both then Bill moved to the office. We doubt that if 'Jessica is a cat' or 'Brian is yellow' or both then Greg is a frog. It is probably the case that if either 'Bernhard is green' or 'Jessica is a cat' but not both then Julius is a swan.,It is probable that 'Bernhard is green 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.2::factA. 0.2::factB. 0.2::factC. %hop1 0.7::factX:-xor(factA,factB). 0.2::factY:-or(factB,factC). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.014400000000000001,0.6501300260052011,train,almost no chance,probable,There is almost no chance that 'Bernhard is green and Greg is a frog'.,It is probable that 'Bernhard is green and Greg is a frog'.,0,'Bernhard is green and Greg is a frog'. Chances are slight that Mary dropped the milk. It is highly likely that Brian is a rhino. There is a better than even chance that Emily is a sheep. It is probably the case that if either 'Brian is a rhino' or 'Emily is a sheep' but not both then Julius is yellow. It is probable that if either 'Mary dropped the milk' or 'Brian is a rhino' but not both then John grabbed the apple. It is probably not the case that if 'Emily is a sheep and Brian is a rhino' then Greg is a swan.,Chances are about even that either 'Greg is a swan' 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.1::factA. 0.9::factB. 0.6::factC. %hop1 0.7::factX:-xor(factB,factC). 0.7::factY:-xor(factA,factB). 0.25::factZ:-and(factC,factB). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.429,0.7747549509901981,train,about even,impossible,Chances are about even that either 'Greg is a swan' or 'Julius is yellow' but not both.,It is impossible that either 'Greg is a swan' or 'Julius is yellow' but not both.,1,Either 'Greg is a swan' or 'Julius is yellow' but not both. It is almost certain that Brian is yellow. It is probably not the case that Julius is gray. It is probable that John discarded the apple. It is almost certain that if either 'John discarded the apple' or 'Brian is yellow' but not both then Lily is green. It is probably the case that if 'John discarded the apple and Brian is yellow' then Sandra left the football. It is almost certain that if either 'Brian is yellow' or 'Julius is gray' but not both then Bernhard is a lion.,It is almost certain that 'Julius is gray' 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.95::factA. 0.25::factB. 0.7::factC. %hop1 0.95::factX:-xor(factC,factA). 0.7::factY:-and(factC,factA). 0.95::factZ:-xor(factA,factB). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9625,0.580116023204641,train,almost certain,impossible,It is almost certain that 'Julius is gray' or 'Brian is yellow' or both.,It is impossible that 'Julius is gray' or 'Brian is yellow' or both.,1,'Julius is gray' or 'Brian is yellow' or both. There is a better than even chance that John grabbed the apple. We believe that Greg is a lion. It is probable that Bernhard is yellow. It is probably not the case that if 'Greg is a lion and John grabbed the apple' then Julius is a frog. We doubt that if either 'Greg is a lion' or 'John grabbed the apple' but not both then Lily is a rhino. It is unlikely that if either 'John grabbed the apple' or 'Greg is a lion' but not both then Sandra dropped the milk.,It is certain that 'John grabbed 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.6::factA. 0.75::factB. 0.7::factC. %hop1 0.25::factX:-and(factB,factA). 0.2::factY:-xor(factB,factA). 0.2::factZ:-xor(factA,factB). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.11250000000000002,0.13242648529705942,train,improbable,certain,It is improbable that 'John grabbed the apple and Julius is a frog'.,It is certain that 'John grabbed the apple and Julius is a frog'.,0,'John grabbed the apple and Julius is a frog'. It is highly likely that Bernhard is gray. It is certain that Brian is a frog. It is highly likely that Mary went to the hallway. There is a better than even chance that if 'Mary went to the hallway' or 'Bernhard is gray' or both then Jessica is a cat. Chances are slight that if 'Brian is a frog and Bernhard is gray' then Jeff discarded the milk. Chances are about even that if 'Bernhard is gray' or 'Brian is a frog' or both then Daniel dropped the apple.,It is probably not the case that 'Jessica is a cat and Daniel 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.9::factA. 1.0::factB. 0.9::factC. %hop1 0.6::factX:-or(factC,factA). 0.1::factY:-and(factB,factA). 0.5::factZ:-or(factA,factB). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.29700000000000004,0.45329065813162633,train,probably not,probably,It is probably not the case that 'Jessica is a cat and Daniel dropped the apple'.,It is probably the case that 'Jessica is a cat and Daniel dropped the apple'.,1,'Jessica is a cat and Daniel dropped the apple'. We believe that John took the football. It is highly unlikely that Mary picked up the milk. There is almost no chance that Julius is a frog. It is highly likely that if 'Mary picked up the milk' or 'John took the football' or both then Greg is white. It is unlikely that if 'Julius is a frog' or 'John took the football' or both then Fred went to the garden. It is probable that if 'John took the football' or 'Julius is a frog' or both then Gertrude is a mouse.,There is almost no chance that either 'John took the football' 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.75::factA. 0.05::factB. 0.02::factC. %hop1 0.9::factX:-or(factB,factA). 0.2::factY:-or(factC,factA). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.74,0.3054610922184437,train,we believe,almost no chance,We believe that either 'John took the football' or 'Julius is a frog' but not both.,There is almost no chance that either 'John took the football' or 'Julius is a frog' but not both.,0,Either 'John took the football' or 'Julius is a frog' but not both. There is a better than even chance that Greg is yellow. It is probably the case that Bernhard is white. It is highly likely that Julius is a swan. It is unlikely that if 'Greg is yellow and Bernhard is white' then Mary moved to the garden. We believe that if either 'Bernhard is white' or 'Julius is a swan' but not both then Lily is a lion. It is probably the case that if 'Bernhard is white' or 'Greg is yellow' or both then Sandra left the apple.,It is certain that either 'Greg is yellow' 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.6::factA. 0.7::factB. 0.9::factC. %hop1 0.2::factX:-and(factA,factB). 0.75::factY:-xor(factB,factC). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.5489999999999999,0.5997199439887978,train,about even,certain,Chances are about even that either 'Greg is yellow' or 'Lily is a lion' but not both.,It is certain that either 'Greg is yellow' or 'Lily is a lion' but not both.,0,Either 'Greg is yellow' or 'Lily is a lion' but not both. It is almost certain that John moved to the garden. There is a better than even chance that Julius is yellow. We doubt that Mary went to the office. It is probably not the case that if 'John moved to the garden and Julius is yellow' then Sandra left the apple. There is a better than even chance that if 'Julius is yellow' or 'John moved to the garden' or both then Greg is a lion. There is little chance that if 'John moved to the garden and Mary went to the office' then Lily is a rhino.,There is a better than even chance that either 'Lily is a rhino' 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.95::factA. 0.6::factB. 0.2::factC. %hop1 0.25::factX:-and(factA,factB). 0.6::factY:-or(factB,factA). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.5962,0.3132626525305061,train,better than even,chances are slight,There is a better than even chance that either 'Lily is a rhino' or 'Julius is yellow' but not both.,Chances are slight that either 'Lily is a rhino' or 'Julius is yellow' but not both.,1,Either 'Lily is a rhino' or 'Julius is yellow' but not both. There is almost no chance that Mary got the football. It is probably the case that Bernhard is green. Chances are about even that Brian is gray. There is almost no chance that if either 'Mary got the football' or 'Bernhard is green' but not both then Gertrude is a wolf. It is probably the case that if 'Brian is gray' or 'Mary got the football' or both then John dropped the apple. Chances are slight that if 'Mary got the football' or 'Brian is gray' or both then Lily is a rhino.,It is certain that 'Mary got the football 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.02::factA. 0.7::factB. 0.5::factC. %hop1 0.02::factX:-xor(factA,factB). 0.7::factY:-or(factC,factA). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.0020000000000000005,0.4930986197239448,train,impossible,certain,It is impossible that 'Mary got the football and Lily is a rhino'.,It is certain that 'Mary got the football and Lily is a rhino'.,0,'Mary got the football and Lily is a rhino'. It is almost certain that Bernhard is a frog. It is likely that Winona is a mouse. There is almost no chance that Mary got the apple. We doubt that if 'Winona is a mouse and Bernhard is a frog' then John went to the garden. It is probably not the case that if either 'Winona is a mouse' or 'Mary got the apple' but not both then Brian is yellow. There is almost no chance that if 'Winona is a mouse and Bernhard is a frog' then Lily is a lion.,There is little chance that either 'Lily is a lion' or 'John 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.95::factA. 0.7::factB. 0.02::factC. %hop1 0.2::factX:-and(factB,factA). 0.25::factY:-xor(factB,factC). 0.02::factZ:-and(factB,factA). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.14098,0.6099219843968794,train,little chance,likely,There is little chance that either 'Lily is a lion' or 'John went to the garden' but not both.,It is likely that either 'Lily is a lion' or 'John went to the garden' but not both.,1,Either 'Lily is a lion' or 'John went to the garden' but not both. There is little chance that Winona is a wolf. We believe that Jeff moved to the garden. It is probably not the case that Mary went to the office. It is likely that if either 'Mary went to the office' or 'Jeff moved to the garden' but not both then Greg is a lion. It is probably not the case that if either 'Winona is a wolf' or 'Mary went to the office' but not both then John picked up the apple. It is highly likely that if either 'Mary went to the office' or 'Jeff moved to the garden' but not both then Brian is a frog.,There is a better than even chance that 'Winona is a wolf' or 'Brian 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.75::factB. 0.25::factC. %hop1 0.7::factX:-xor(factC,factB). 0.25::factY:-xor(factA,factC). 0.9::factZ:-xor(factC,factB). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.6062500000000001,0.35347069413882776,train,better than even,impossible,There is a better than even chance that 'Winona is a wolf' or 'Brian is a frog' or both.,It is impossible that 'Winona is a wolf' or 'Brian is a frog' or both.,1,'Winona is a wolf' or 'Brian is a frog' or both. It is unlikely that Bernhard is a frog. Chances are slight that Brian is white. It is certain that Sandra left the milk. It is improbable that if 'Bernhard is a frog' or 'Sandra left the milk' or both then John moved to the garden. It is certain that if 'Sandra left the milk' or 'Brian is white' or both then Gertrude is a sheep. It is improbable that if 'Bernhard is a frog and Sandra left the milk' then Jessica is a mouse.,It is certain that 'Gertrude is a sheep' 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.1::factB. 1.0::factC. %hop1 0.1::factX:-or(factA,factC). 1.0::factY:-or(factC,factB). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-or(factY,factB). query(conclusion). ",1.0,0.4756951390278056,train,certain,impossible,It is certain that 'Gertrude is a sheep' or 'Brian is white' or both.,It is impossible that 'Gertrude is a sheep' or 'Brian is white' or both.,1,'Gertrude is a sheep' or 'Brian is white' or both. There is almost no chance that Sumit is bored. It is probably not the case that Brian is green. It is probably the case that Bernhard is a frog. There is little chance that if either 'Sumit is bored' or 'Brian is green' but not both then John went to the office. It is highly unlikely that if either 'Bernhard is a frog' or 'Brian is green' but not both then Lily is a lion. There is a better than even chance that if 'Brian is green' or 'Bernhard is a frog' or both then Greg is a swan.,It is improbable that 'Bernhard is a frog' or 'Sumit 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.02::factA. 0.25::factB. 0.7::factC. %hop1 0.1::factX:-xor(factA,factB). 0.05::factY:-xor(factC,factB). 0.6::factZ:-or(factB,factC). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.706,0.07901580316063213,train,probable,improbable,It is probable that 'Bernhard is a frog' or 'Sumit is bored' or both.,It is improbable that 'Bernhard is a frog' or 'Sumit is bored' or both.,0,'Bernhard is a frog' or 'Sumit is bored' or both. It is certain that Mary went to the garden. There is little chance that Bernhard is a swan. Chances are slight that Lily is yellow. We believe that if 'Bernhard is a swan' or 'Lily is yellow' or both then Winona is a mouse. There is little chance that if either 'Mary went to the garden' or 'Bernhard is a swan' but not both then Brian is green. It is impossible that if 'Bernhard is a swan' or 'Mary went to the garden' or both then John moved to the garden.,It is unlikely that either 'Bernhard 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 1.0::factA. 0.1::factB. 0.1::factC. %hop1 0.75::factX:-or(factB,factC). 0.1::factY:-xor(factA,factB). 0.0::factZ:-or(factB,factA). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.19000000000000006,0.01240248049609922,train,unlikely,probable,It is unlikely that either 'Bernhard is a swan' or 'Brian is green' but not both.,It is probable that either 'Bernhard is a swan' or 'Brian is green' but not both.,1,Either 'Bernhard is a swan' or 'Brian is green' but not both. We doubt that Brian is a swan. There is a better than even chance that Mary is in the hallway. It is probably not the case that Bernhard is gray. It is probably the case that if either 'Bernhard is gray' or 'Brian is a swan' but not both then Jason is tired. It is probably the case that if either 'Mary is in the hallway' or 'Brian is a swan' but not both then Greg is yellow. There is little chance that if 'Brian is a swan and Mary is in the hallway' then John picked up the apple.,It is probably the case that 'Brian is a swan' 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 0.2::factA. 0.6::factB. 0.25::factC. %hop1 0.7::factX:-xor(factC,factA). 0.7::factY:-xor(factB,factA). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.3400000000000001,0.4398879775955191,train,probably not,probably,It is probably not the case that 'Brian is a swan' or 'Jason is tired' or both.,It is probably the case that 'Brian is a swan' or 'Jason is tired' or both.,0,'Brian is a swan' or 'Jason is tired' or both. There is a very good chance that Brian is yellow. There is a very good chance that Bernhard is a frog. It is certain that Sandra dropped the milk. It is highly unlikely that if 'Bernhard is a frog and Brian is yellow' then Greg is yellow. There is almost no chance that if 'Brian is yellow' or 'Sandra dropped the milk' or both then Lily is a rhino. It is probable that if either 'Bernhard is a frog' or 'Brian is yellow' but not both then Mary went to the hallway.,There is a very good chance that 'Bernhard 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.8::factA. 0.8::factB. 1.0::factC. %hop1 0.05::factX:-and(factB,factA). 0.02::factY:-or(factA,factC). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.01600000000000001,0.5957191438287658,train,almost no chance,very good chance,There is almost no chance that 'Bernhard is a frog and Lily is a rhino'.,There is a very good chance that 'Bernhard is a frog and Lily is a rhino'.,0,'Bernhard is a frog and Lily is a rhino'. We believe that John took the football. There is little chance that Julius is a rhino. We doubt that Lily is a frog. There is almost no chance that if 'Lily is a frog and John took the football' then Bernhard is gray. It is probably the case that if 'Julius is a rhino and John took the football' then Greg is white. There is a better than even chance that if 'Lily is a frog' or 'Julius is a rhino' or both then Mary left the football.,It is probably the case that either 'Greg 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.75::factA. 0.1::factB. 0.2::factC. %hop1 0.02::factX:-and(factC,factA). 0.7::factY:-and(factB,factA). 0.6::factZ:-or(factC,factB). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.23150000000000004,0.38667733546709343,train,probably not,probably,It is probably not the case that either 'Greg is white' or 'Lily is a frog' but not both.,It is probably the case that either 'Greg is white' or 'Lily is a frog' but not both.,0,Either 'Greg is white' or 'Lily is a frog' but not both. Chances are slight that John took the football. There is a very good chance that Julius is a lion. It is highly likely that Mary went to the bedroom. It is probable that if either 'John took the football' or 'Mary went to the bedroom' but not both then Jeff moved to the garden. It is probable that if 'Mary went to the bedroom and John took the football' then Lily is a frog. It is probably not the case that if 'Mary went to the bedroom and John took the football' then Greg is a rhino.,There is a very good chance that 'John took the football and Jeff 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.8::factB. 0.9::factC. %hop1 0.7::factX:-xor(factA,factC). 0.7::factY:-and(factC,factA). 0.25::factZ:-and(factC,factA). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.007000000000000003,0.5473094618923785,train,impossible,very good chance,It is impossible that 'John took the football and Jeff moved to the garden'.,There is a very good chance that 'John took the football and Jeff moved to the garden'.,0,'John took the football and Jeff moved to the garden'. It is probably not the case that Brian is a frog. It is probably not the case that Jeff put down the milk. It is certain that Bernhard is a rhino. It is probably not the case that if 'Brian is a frog' or 'Jeff put down the milk' or both then Jessica is a cat. It is impossible that if either 'Bernhard is a rhino' or 'Brian is a frog' but not both then Julius is yellow. We doubt that if 'Brian is a frog' or 'Jeff put down the milk' or both then Mary went to the kitchen.,It is impossible that either 'Mary went to the kitchen' or 'Bernhard 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.25::factA. 0.25::factB. 1.0::factC. %hop1 0.25::factX:-or(factA,factB). 0.0::factY:-xor(factC,factA). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.9125000000000001,0.45529105821164234,train,highly likely,impossible,It is highly likely that either 'Mary went to the kitchen' or 'Bernhard is a rhino' but not both.,It is impossible that either 'Mary went to the kitchen' or 'Bernhard is a rhino' but not both.,0,Either 'Mary went to the kitchen' or 'Bernhard is a rhino' but not both. It is probably the case that John took the apple. It is unlikely that Julius is a lion. It is likely that Lily is white. We doubt that if 'Lily is white and Julius is a lion' then Yann is thirsty. It is highly likely that if 'Julius is a lion and Lily is white' then Brian is a frog. Chances are about even that if 'Lily is white and Julius is a lion' then Mary moved to the office.,There is little chance that 'Brian is a frog 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.2::factB. 0.7::factC. %hop1 0.2::factX:-and(factC,factB). 0.9::factY:-and(factB,factC). 0.5::factZ:-and(factC,factB). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.12600000000000003,0.4530906181236247,train,little chance,probable,There is little chance that 'Brian is a frog and Julius is a lion'.,It is probable that 'Brian is a frog and Julius is a lion'.,1,'Brian is a frog and Julius is a lion'. We believe that Julius is a lion. It is likely that Winona is a mouse. It is probable that Bernhard is white. It is probably the case that if either 'Winona is a mouse' or 'Bernhard is white' but not both then John discarded the milk. It is highly unlikely that if 'Bernhard is white and Julius is a lion' then Greg is a frog. It is highly likely that if 'Winona is a mouse and Bernhard is white' then Lily is green.,Chances are slight that 'Bernhard is white' 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.75::factA. 0.7::factB. 0.7::factC. %hop1 0.7::factX:-xor(factB,factC). 0.05::factY:-and(factC,factA). 0.9::factZ:-and(factB,factC). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.7,0.494498899779956,train,probable,chances are slight,It is probable that 'Bernhard is white' or 'Greg is a frog' or both.,Chances are slight that 'Bernhard is white' or 'Greg is a frog' or both.,0,'Bernhard is white' or 'Greg is a frog' or both. There is almost no chance that Julius is a frog. We believe that John took the apple. It is probable that Bernhard is a rhino. It is probably not the case that if either 'Bernhard is a rhino' or 'John took the apple' but not both then Greg is a swan. It is improbable that if either 'Julius is a frog' or 'Bernhard is a rhino' but not both then Daniel got the milk. We believe that if either 'Julius is a frog' or 'John took the apple' but not both then Brian is a swan.,It is almost certain that 'John took the apple' or 'Bernhard 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.75::factB. 0.7::factC. %hop1 0.25::factX:-xor(factC,factB). 0.1::factY:-xor(factA,factC). 0.75::factZ:-xor(factA,factB). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.925,0.5711142228445689,train,almost certain,we doubt,It is almost certain that 'John took the apple' or 'Bernhard is a rhino' or both.,We doubt that 'John took the apple' or 'Bernhard is a rhino' or both.,1,'John took the apple' or 'Bernhard is a rhino' or both. It is impossible that Jeff left the apple. There is a better than even chance that Mary dropped the milk. There is little chance that Brian is a swan. It is probably not the case that if 'Mary dropped the milk and Brian is a swan' then Emily is a sheep. Chances are about even that if 'Mary dropped the milk and Brian is a swan' then John took the football. There is almost no chance that if either 'Mary dropped the milk' or 'Jeff left the apple' but not both then Bernhard is a rhino.,It is certain that 'Mary dropped the milk 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.0::factA. 0.6::factB. 0.1::factC. %hop1 0.25::factX:-and(factB,factC). 0.5::factY:-and(factB,factC). 0.02::factZ:-xor(factB,factA). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.06,0.2768553710742148,train,highly unlikely,certain,It is highly unlikely that 'Mary dropped the milk and Brian is a swan'.,It is certain that 'Mary dropped the milk and Brian is a swan'.,0,'Mary dropped the milk and Brian is a swan'. We believe that Bernhard is a swan. There is little chance that Gertrude is a mouse. It is probable that Greg is gray. It is certain that if 'Bernhard is a swan' or 'Greg is gray' or both then Lily is white. It is highly unlikely that if 'Greg is gray' or 'Gertrude is a mouse' or both then John moved to the office. It is likely that if either 'Greg is gray' or 'Gertrude is a mouse' but not both then Mary got the apple.,It is certain that 'Mary got the apple and Greg 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.75::factA. 0.1::factB. 0.7::factC. %hop1 1.0::factX:-or(factA,factC). 0.05::factY:-or(factC,factB). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.44099999999999995,0.34586917383476695,train,about even,certain,Chances are about even that 'Mary got the apple and Greg is gray'.,It is certain that 'Mary got the apple and Greg is gray'.,0,'Mary got the apple and Greg is gray'. We doubt that Fred is in the office. There is a better than even chance that Brian is yellow. It is highly likely that John went to the bedroom. It is certain that if either 'Fred is in the office' or 'John went to the bedroom' but not both then Daniel got the football. Chances are about even that if 'John went to the bedroom' or 'Fred is in the office' or both then Bernhard is a swan. There is almost no chance that if 'Brian is yellow and John went to the bedroom' then Lily is a rhino.,We believe that either 'John went to the bedroom' or 'Fred is in 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.2::factA. 0.6::factB. 0.9::factC. %hop1 1.0::factX:-xor(factA,factC). 0.5::factY:-or(factC,factA). 0.02::factZ:-and(factB,factC). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.74,0.1332266453290658,train,we believe,we doubt,We believe that either 'John went to the bedroom' or 'Fred is in the office' but not both.,We doubt that either 'John went to the bedroom' or 'Fred is in the office' but not both.,1,Either 'John went to the bedroom' or 'Fred is in the office' but not both. We believe that Mary moved to the garden. It is highly unlikely that Sandra dropped the milk. It is almost certain that Lily is a lion. It is impossible that if 'Mary moved to the garden' or 'Sandra dropped the milk' or both then Bernhard is a rhino. There is a better than even chance that if either 'Sandra dropped the milk' or 'Lily is a lion' but not both then Daniel left the milk. It is probable that if 'Mary moved to the garden and Lily is a lion' then John went to the hallway.,It is almost certain that 'Lily is a lion' 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.75::factA. 0.05::factB. 0.95::factC. %hop1 0.0::factX:-or(factA,factB). 0.6::factY:-xor(factB,factC). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.95,0.08981796359271854,train,almost certain,almost no chance,It is almost certain that 'Lily is a lion' or 'John went to the hallway' or both.,There is almost no chance that 'Lily is a lion' or 'John went to the hallway' or both.,1,'Lily is a lion' or 'John went to the hallway' or both. There is a very good chance that Mary went to the bedroom. There is a better than even chance that Greg is yellow. It is almost certain that Lily is a rhino. It is probably the case that if either 'Mary went to the bedroom' or 'Lily is a rhino' but not both then Brian is a swan. There is a very good chance that if 'Lily is a rhino and Greg is yellow' then Jeff put down the milk. There is little chance that if either 'Lily is a rhino' or 'Mary went to the bedroom' but not both then John discarded the apple.,It is certain that 'Mary went to the bedroom' 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.8::factA. 0.6::factB. 0.95::factC. %hop1 0.7::factX:-xor(factA,factC). 0.8::factY:-and(factC,factB). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.99,0.5537107421484296,train,certain,almost no chance,It is certain that 'Mary went to the bedroom' or 'Lily is a rhino' or both.,There is almost no chance that 'Mary went to the bedroom' or 'Lily is a rhino' or both.,1,'Mary went to the bedroom' or 'Lily is a rhino' or both. Chances are slight that Bernhard is green. It is highly unlikely that John discarded the milk. We believe that Brian is a lion. We believe that if 'Bernhard is green' or 'Brian is a lion' or both then Jeff went to the bedroom. It is unlikely that if 'Bernhard is green and John discarded the milk' then Greg is white. It is probable that if either 'Bernhard is green' or 'John discarded the milk' but not both then Mary moved to the garden.,It is impossible that 'Greg is white 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.1::factA. 0.05::factB. 0.75::factC. %hop1 0.75::factX:-or(factA,factC). 0.2::factY:-and(factA,factB). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.0007500000000000002,0.5399079815963193,train,impossible,about even,It is impossible that 'Greg is white and Brian is a lion'.,Chances are about even that 'Greg is white and Brian is a lion'.,1,'Greg is white and Brian is a lion'. There is a better than even chance that John discarded the apple. It is almost certain that Bernhard is a rhino. It is probably not the case that Lily is green. Chances are slight that if 'Bernhard is a rhino and John discarded the apple' then Jessica is a cat. It is probable that if 'Lily is green and Bernhard is a rhino' then Mary got the milk. It is probable that if either 'Bernhard is a rhino' or 'John discarded the apple' but not both then Brian is a swan.,Chances are about even that 'Brian is a swan and Mary 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.6::factA. 0.95::factB. 0.25::factC. %hop1 0.1::factX:-and(factB,factA). 0.7::factY:-and(factC,factB). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.04654999999999998,0.09281856371274255,train,highly unlikely,about even,It is highly unlikely that 'Brian is a swan and Mary got the milk'.,Chances are about even that 'Brian is a swan and Mary got the milk'.,0,'Brian is a swan and Mary got the milk'. It is probably the case that John went to the office. Chances are about even that Gertrude is a cat. It is unlikely that Mary left the milk. It is probable that if 'Gertrude is a cat and Mary left the milk' then Sandra got the football. It is unlikely that if 'Mary left the milk' or 'Gertrude is a cat' or both then Julius is a frog. There is little chance that if 'Gertrude is a cat and Mary left the milk' then Lily is a lion.,It is probably the case that 'Julius is a frog 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.5::factB. 0.2::factC. %hop1 0.7::factX:-and(factB,factC). 0.2::factY:-or(factC,factB). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.0020000000000000005,0.7421484296859372,train,impossible,probably,It is impossible that 'Julius is a frog and Lily is a lion'.,It is probably the case that 'Julius is a frog and Lily is a lion'.,0,'Julius is a frog and Lily is a lion'. It is probably the case that Winona is a wolf. It is probably not the case that Lily is a frog. It is probable that Mary dropped the milk. It is probable that if either 'Mary dropped the milk' or 'Winona is a wolf' but not both then Greg is a lion. It is likely that if either 'Winona is a wolf' or 'Lily is a frog' but not both then Bill went to the garden. It is unlikely that if 'Mary dropped the milk' or 'Lily is a frog' or both then Brian is a rhino.,It is highly unlikely that 'Bill went to the garden 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.7::factA. 0.25::factB. 0.7::factC. %hop1 0.7::factX:-xor(factC,factA). 0.7::factY:-xor(factA,factB). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.05249999999999999,0.50250050010002,train,highly unlikely,certain,It is highly unlikely that 'Bill went to the garden and Lily is a frog'.,It is certain that 'Bill went to the garden and Lily is a frog'.,1,'Bill went to the garden and Lily is a frog'. Chances are about even that Mary went to the office. There is little chance that John left the football. It is probably the case that Antoine is hungry. It is unlikely that if 'Mary went to the office' or 'Antoine is hungry' or both then Gertrude is a sheep. There is a better than even chance that if 'Antoine is hungry and John left the football' then Bernhard is green. It is improbable that if 'John left the football and Mary went to the office' then Greg is a lion.,There is a better than even chance that 'Mary went to the office' or 'John 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.5::factA. 0.1::factB. 0.7::factC. %hop1 0.2::factX:-or(factA,factC). 0.6::factY:-and(factC,factB). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.55,0.34666933386677334,train,better than even,little chance,There is a better than even chance that 'Mary went to the office' or 'John left the football' or both.,There is little chance that 'Mary went to the office' or 'John left the football' or both.,1,'Mary went to the office' or 'John left the football' or both. It is probably the case that Brian is a swan. It is certain that Bernhard is green. There is a better than even chance that Bill left the milk. It is certain that if either 'Brian is a swan' or 'Bill left the milk' but not both then Lily is a lion. There is a very good chance that if 'Brian is a swan and Bill left the milk' then Mary took the football. We believe that if 'Bill left the milk' or 'Brian is a swan' or both then John went to the bedroom.,It is probably not the case that 'Lily is a lion 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.7::factA. 1.0::factB. 0.6::factC. %hop1 1.0::factX:-xor(factA,factC). 0.8::factY:-and(factA,factC). 0.75::factZ:-or(factC,factA). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.27999999999999997,0.27465493098619725,train,probably not,we believe,It is probably not the case that 'Lily is a lion and Brian is a swan'.,We believe that 'Lily is a lion and Brian is a swan'.,1,'Lily is a lion and Brian is a swan'. It is highly unlikely that Bill went to the garden. There is a very good chance that Bernhard is yellow. There is a better than even chance that John left the football. It is highly unlikely that if 'Bernhard is yellow' or 'Bill went to the garden' or both then Brian is green. It is unlikely that if either 'John left the football' or 'Bernhard is yellow' but not both then Gertrude is a wolf. It is highly unlikely that if 'Bernhard is yellow' or 'Bill went to the garden' or both then Mary took the milk.,Chances are about even that 'Mary took the milk 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.05::factA. 0.8::factB. 0.6::factC. %hop1 0.05::factX:-or(factB,factA). 0.2::factY:-xor(factC,factB). 0.05::factZ:-or(factB,factA). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.0020250000000000003,0.23004600920184037,train,impossible,about even,It is impossible that 'Mary took the milk and Brian is green'.,Chances are about even that 'Mary took the milk and Brian is green'.,0,'Mary took the milk and Brian is green'. We believe that Daniel dropped the apple. It is certain that Greg is a swan. Chances are about even that Jason is tired. There is a very good chance that if either 'Daniel dropped the apple' or 'Greg is a swan' but not both then Julius is white. It is almost certain that if 'Jason is tired and Daniel dropped the apple' then Jessica is a mouse. It is certain that if 'Greg is a swan and Daniel dropped the apple' then Brian is a rhino.,We believe that 'Greg is a swan and Daniel 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.75::factA. 1.0::factB. 0.5::factC. %hop1 0.8::factX:-xor(factA,factB). 0.95::factY:-and(factC,factA). 1.0::factZ:-and(factB,factA). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.75,0.05321064212842568,train,we believe,probably not,We believe that 'Greg is a swan and Daniel dropped the apple'.,It is probably not the case that 'Greg is a swan and Daniel dropped the apple'.,1,'Greg is a swan and Daniel dropped the apple'. Chances are slight that Julius is white. There is a better than even chance that John moved to the garden. It is almost certain that Greg is a lion. Chances are slight that if 'Greg is a lion and Julius is white' then Lily is a rhino. Chances are slight that if 'Greg is a lion and John moved to the garden' then Mary took the milk. Chances are about even that if 'Greg is a lion and John moved to the garden' then Bernhard is gray.,It is unlikely that 'Mary took 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.1::factA. 0.6::factB. 0.95::factC. %hop1 0.1::factX:-and(factC,factA). 0.1::factY:-and(factC,factB). 0.5::factZ:-and(factC,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.95,0.5397079415883177,train,almost certain,unlikely,It is almost certain that 'Mary took the milk' or 'Greg is a lion' or both.,It is unlikely that 'Mary took the milk' or 'Greg is a lion' or both.,0,'Mary took the milk' or 'Greg is a lion' or both. There is a very good chance that Mary left the apple. We doubt that Lily is yellow. We believe that Sandra took the milk. It is probable that if 'Mary left the apple' or 'Sandra took the milk' or both then Winona is a wolf. Chances are slight that if 'Mary left the apple and Lily is yellow' then Julius is a frog. There is a very good chance that if 'Sandra took the milk and Lily is yellow' then Brian is a rhino.,We doubt that 'Sandra took the milk' 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.8::factA. 0.2::factB. 0.75::factC. %hop1 0.7::factX:-or(factA,factC). 0.1::factY:-and(factA,factB). 0.8::factZ:-and(factC,factB). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.754,0.656131226245249,train,we believe,we doubt,We believe that 'Sandra took the milk' or 'Julius is a frog' or both.,We doubt that 'Sandra took the milk' or 'Julius is a frog' or both.,0,'Sandra took the milk' or 'Julius is a frog' or both. There is almost no chance that Julius is a swan. It is certain that Bernhard is a frog. It is probable that John moved to the garden. It is highly likely that if 'Bernhard is a frog' or 'Julius is a swan' or both then Antoine is hungry. Chances are slight that if 'John moved to the garden and Bernhard is a frog' then Lily is white. It is impossible that if 'Bernhard is a frog and Julius is a swan' then Brian is gray.,It is probably not the case that either 'Bernhard is a frog' 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.02::factA. 1.0::factB. 0.7::factC. %hop1 0.9::factX:-or(factB,factA). 0.1::factY:-and(factC,factB). 0.0::factZ:-and(factB,factA). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.30000000000000004,0.11442288457691538,train,probably not,probable,It is probably not the case that either 'Bernhard is a frog' or 'John moved to the garden' but not both.,It is probable that either 'Bernhard is a frog' or 'John moved to the garden' but not both.,1,Either 'Bernhard is a frog' or 'John moved to the garden' but not both. It is probably the case that John got the apple. There is a better than even chance that Daniel left the football. We doubt that Julius is a lion. It is almost certain that if either 'John got the apple' or 'Julius is a lion' but not both then Brian is gray. We believe that if 'John got the apple and Daniel left the football' then Lily is white. There is almost no chance that if 'Daniel left the football and Julius is a lion' then Bill went to the bedroom.,It is impossible that 'John got the apple and Bill 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.6::factB. 0.2::factC. %hop1 0.95::factX:-xor(factA,factC). 0.75::factY:-and(factA,factB). 0.02::factZ:-and(factB,factC). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.001680000000000001,0.4852970594118824,train,impossible,likely,It is impossible that 'John got the apple and Bill went to the bedroom'.,It is likely that 'John got the apple and Bill went to the bedroom'.,1,'John got the apple and Bill went to the bedroom'. It is highly likely that Julius is yellow. Chances are slight that Lily is gray. There is almost no chance that Brian is a swan. We believe that if 'Julius is yellow' or 'Lily is gray' or both then Jessica is a mouse. It is improbable that if 'Julius is yellow' or 'Lily is gray' or both then John dropped the milk. It is certain that if 'Lily is gray' or 'Julius is yellow' or both then Greg is a frog.,It is highly likely that either 'Greg is a frog' 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.9::factA. 0.1::factB. 0.02::factC. %hop1 0.75::factX:-or(factA,factB). 0.1::factY:-or(factA,factB). 1.0::factZ:-or(factB,factA). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.2275,0.03160632126425285,train,probably not,highly likely,It is probably not the case that either 'Greg is a frog' or 'Jessica is a mouse' but not both.,It is highly likely that either 'Greg is a frog' or 'Jessica is a mouse' but not both.,0,Either 'Greg is a frog' or 'Jessica is a mouse' but not both. It is probably not the case that Brian is white. It is improbable that Daniel got the milk. Chances are slight that Lily is yellow. It is unlikely that if either 'Brian is white' or 'Lily is yellow' but not both then Sandra dropped the milk. There is a very good chance that if 'Daniel got the milk and Lily is yellow' then Julius is a lion. We doubt that if 'Brian is white' or 'Daniel got the milk' or both then Sumit is thirsty.,It is impossible that 'Julius is a lion 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.25::factA. 0.1::factB. 0.1::factC. %hop1 0.2::factX:-xor(factA,factC). 0.8::factY:-and(factB,factC). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.0016000000000000005,0.4862972594518904,train,impossible,about even,It is impossible that 'Julius is a lion and Sumit is thirsty'.,Chances are about even that 'Julius is a lion and Sumit is thirsty'.,1,'Julius is a lion and Sumit is thirsty'. Chances are about even that Lily is a swan. It is highly likely that Sandra left the milk. It is probable that Bernhard is gray. There is little chance that if 'Lily is a swan' or 'Sandra left the milk' or both then Winona is a sheep. There is a better than even chance that if 'Lily is a swan and Bernhard is gray' then Gertrude is a wolf. It is certain that if either 'Lily is a swan' or 'Bernhard is gray' but not both then John moved to the office.,It is impossible that 'John moved to the office and Gertrude 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.1::factX:-or(factA,factB). 0.6::factY:-and(factA,factC). 1.0::factZ:-xor(factA,factC). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.0,0.1274254850970194,train,impossible,very good chance,It is impossible that 'John moved to the office and Gertrude is a wolf'.,There is a very good chance that 'John moved to the office and Gertrude is a wolf'.,1,'John moved to the office and Gertrude is a wolf'. Chances are slight that Greg is green. Chances are about even that Sandra left the apple. It is highly likely that Lily is a lion. It is improbable that if 'Greg is green' or 'Lily is a lion' or both then Daniel took the football. There is almost no chance that if either 'Sandra left the apple' or 'Greg is green' but not both then Julius is gray. It is highly likely that if 'Sandra left the apple' or 'Lily is a lion' or both then Fred is in the cinema.,It is highly likely that either 'Julius is gray' 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.1::factA. 0.5::factB. 0.9::factC. %hop1 0.1::factX:-or(factA,factC). 0.02::factY:-xor(factB,factA). 0.9::factZ:-or(factB,factC). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.892,0.19383876775355072,train,highly likely,impossible,It is highly likely that either 'Julius is gray' or 'Lily is a lion' but not both.,It is impossible that either 'Julius is gray' or 'Lily is a lion' but not both.,1,Either 'Julius is gray' or 'Lily is a lion' but not both. There is a very good chance that Bernhard is a lion. There is a better than even chance that Emily is a mouse. It is probably the case that Daniel dropped the milk. It is almost certain that if either 'Emily is a mouse' or 'Daniel dropped the milk' but not both then Lily is green. It is impossible that if 'Bernhard is a lion and Emily is a mouse' then John put down the apple. There is little chance that if either 'Emily is a mouse' or 'Bernhard is a lion' but not both then Brian is yellow.,There is almost no chance that 'John put down the apple' 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.8::factA. 0.6::factB. 0.7::factC. %hop1 0.95::factX:-xor(factB,factC). 0.0::factY:-and(factA,factB). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.43699999999999994,0.5803160632126425,train,about even,almost no chance,Chances are about even that 'John put down the apple' or 'Lily is green' or both.,There is almost no chance that 'John put down the apple' or 'Lily is green' or both.,0,'John put down the apple' or 'Lily is green' or both. There is a better than even chance that Brian is green. It is probably not the case that Fred went to the garden. There is little chance that Greg is white. There is a better than even chance that if either 'Brian is green' or 'Fred went to the garden' but not both then Bernhard is a swan. It is impossible that if either 'Fred went to the garden' or 'Greg is white' but not both then Jessica is a cat. There is a better than even chance that if 'Fred went to the garden' or 'Brian is green' or both then John picked up the apple.,It is certain that 'Greg is white' 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 0.6::factA. 0.25::factB. 0.1::factC. %hop1 0.6::factX:-xor(factA,factB). 0.0::factY:-xor(factB,factC). 0.6::factZ:-or(factB,factA). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.10000000000000002,0.6389277855571114,train,little chance,certain,There is little chance that 'Greg is white' or 'Jessica is a cat' or both.,It is certain that 'Greg is white' or 'Jessica is a cat' or both.,0,'Greg is white' or 'Jessica is a cat' or both. There is a very good chance that Gertrude is a sheep. It is probably the case that Lily is green. It is likely that Julius is a swan. Chances are slight that if 'Lily is green and Julius is a swan' then Sumit is thirsty. It is probably the case that if 'Julius is a swan and Gertrude is a sheep' then Brian is yellow. It is certain that if 'Gertrude is a sheep and Lily is green' then Mary went to the kitchen.,It is improbable that either 'Mary went to the kitchen' or 'Lily 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.8::factA. 0.7::factB. 0.7::factC. %hop1 0.1::factX:-and(factB,factC). 0.7::factY:-and(factC,factA). 1.0::factZ:-and(factA,factB). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.13999999999999999,0.5683136627325465,train,improbable,highly likely,It is improbable that either 'Mary went to the kitchen' or 'Lily is green' but not both.,It is highly likely that either 'Mary went to the kitchen' or 'Lily is green' but not both.,1,Either 'Mary went to the kitchen' or 'Lily is green' but not both. It is probably the case that Brian is white. It is improbable that Sandra got the football. It is almost certain that Winona is a sheep. It is certain that if 'Brian is white' or 'Winona is a sheep' or both then Mary moved to the garden. It is probably the case that if either 'Sandra got the football' or 'Brian is white' but not both then Greg is yellow. It is impossible that if 'Brian is white' or 'Sandra got the football' or both then Bill went to the bedroom.,It is highly likely that either 'Sandra got the football' or 'Mary 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.1::factB. 0.95::factC. %hop1 1.0::factX:-or(factA,factC). 0.7::factY:-xor(factB,factA). 0.0::factZ:-or(factA,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.8879999999999999,0.6865373074614923,train,highly likely,almost no chance,It is highly likely that either 'Sandra got the football' or 'Mary moved to the garden' but not both.,There is almost no chance that either 'Sandra got the football' or 'Mary moved to the garden' but not both.,1,Either 'Sandra got the football' or 'Mary moved to the garden' but not both. It is highly likely that Lily is a rhino. There is a very good chance that Mary dropped the apple. It is probable that John got the milk. It is likely that if 'Mary dropped the apple and John got the milk' then Daniel grabbed the milk. It is probably not the case that if 'Lily is a rhino' or 'John got the milk' or both then Julius is gray. We believe that if either 'Lily is a rhino' or 'John got the milk' but not both then Jason is tired.,It is almost certain that 'Daniel grabbed the milk 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.9::factA. 0.8::factB. 0.7::factC. %hop1 0.7::factX:-and(factB,factC). 0.25::factY:-or(factA,factC). 0.75::factZ:-xor(factA,factC). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.39199999999999996,0.7791558311662332,train,about even,almost certain,Chances are about even that 'Daniel grabbed the milk and John got the milk'.,It is almost certain that 'Daniel grabbed the milk and John got the milk'.,0,'Daniel grabbed the milk and John got the milk'. It is probably not the case that Lily is green. It is improbable that Mary went to the hallway. Chances are slight that Bernhard is a frog. It is probably the case that if 'Mary went to the hallway and Bernhard is a frog' then John grabbed the apple. There is almost no chance that if 'Mary went to the hallway and Lily is green' then Greg is a rhino. It is probable that if 'Mary went to the hallway' or 'Lily is green' or both then Sandra dropped the milk.,There is little chance that either 'Mary went to the hallway' or 'John grabbed 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.1::factB. 0.1::factC. %hop1 0.7::factX:-and(factB,factC). 0.02::factY:-and(factB,factA). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.09300000000000001,0.20744148829765954,train,little chance,probable,There is little chance that either 'Mary went to the hallway' or 'John grabbed the apple' but not both.,It is probable that either 'Mary went to the hallway' or 'John grabbed the apple' but not both.,1,Either 'Mary went to the hallway' or 'John grabbed the apple' but not both. It is unlikely that John went to the garden. Chances are slight that Daniel left the football. It is improbable that Mary discarded the apple. It is probably the case that if either 'Mary discarded the apple' or 'Daniel left the football' but not both then Sandra dropped the milk. There is a very good chance that if 'Mary discarded the apple' or 'John went to the garden' or both then Bernhard is a frog. There is almost no chance that if 'Daniel left the football and Mary discarded the apple' then Brian is gray.,It is probable that 'Bernhard is a frog 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.2::factA. 0.1::factB. 0.1::factC. %hop1 0.7::factX:-xor(factC,factB). 0.8::factY:-or(factC,factA). 0.02::factZ:-and(factB,factC). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.06048000000000003,0.47229445889177835,train,highly unlikely,probable,It is highly unlikely that 'Bernhard is a frog and Sandra dropped the milk'.,It is probable that 'Bernhard is a frog and Sandra dropped the milk'.,0,'Bernhard is a frog and Sandra dropped the milk'. It is impossible that Bernhard is a swan. There is a very good chance that Brian is white. We doubt that Jeff went to the hallway. Chances are slight that if either 'Jeff went to the hallway' or 'Brian is white' but not both then John is in the garden. It is probable that if 'Bernhard is a swan' or 'Brian is white' or both then Daniel grabbed the apple. It is likely that if 'Brian is white and Bernhard is a swan' then Mary dropped the milk.,It is impossible that 'John is in the garden and Mary 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.0::factA. 0.8::factB. 0.2::factC. %hop1 0.1::factX:-xor(factC,factB). 0.7::factY:-or(factA,factB). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.0,0.28685737147429485,train,impossible,certain,It is impossible that 'John is in the garden and Mary dropped the milk'.,It is certain that 'John is in the garden and Mary dropped the milk'.,1,'John is in the garden and Mary dropped the milk'. We doubt that Emily is a mouse. It is probable that Julius is a lion. It is almost certain that Jeff went to the bedroom. It is likely that if either 'Julius is a lion' or 'Jeff went to the bedroom' but not both then Winona is a sheep. It is unlikely that if either 'Emily is a mouse' or 'Julius is a lion' but not both then Sandra left the milk. There is a better than even chance that if 'Emily is a mouse and Jeff went to the bedroom' then Lily is yellow.,There is little chance that either 'Julius is a lion' 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.2::factA. 0.7::factB. 0.95::factC. %hop1 0.7::factX:-xor(factB,factC). 0.2::factY:-xor(factA,factB). 0.6::factZ:-and(factA,factC). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.8749999999999999,0.5561112222444489,train,highly likely,little chance,It is highly likely that either 'Julius is a lion' or 'Winona is a sheep' but not both.,There is little chance that either 'Julius is a lion' or 'Winona is a sheep' but not both.,0,Either 'Julius is a lion' or 'Winona is a sheep' but not both. There is a very good chance that Greg is green. It is certain that Brian is white. We believe that Jeff discarded the milk. It is probable that if 'Brian is white' or 'Greg is green' or both then John went to the office. Chances are about even that if 'Greg is green and Brian is white' then Julius is gray. We doubt that if either 'Brian is white' or 'Jeff discarded the milk' but not both then Yann is thirsty.,There is a better than even chance that either 'Julius 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.8::factA. 1.0::factB. 0.75::factC. %hop1 0.7::factX:-or(factB,factA). 0.5::factY:-and(factA,factB). 0.2::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.6,0.3790758151630326,train,better than even,almost no chance,There is a better than even chance that either 'Julius is gray' or 'Brian is white' but not both.,There is almost no chance that either 'Julius is gray' or 'Brian is white' but not both.,1,Either 'Julius is gray' or 'Brian is white' but not both. It is highly likely that Jeff moved to the office. It is impossible that Winona is a mouse. It is probably the case that Greg is a rhino. It is impossible that if 'Jeff moved to the office and Winona is a mouse' then Bernhard is a lion. Chances are slight that if either 'Greg is a rhino' or 'Winona is a mouse' but not both then Daniel left the football. It is impossible that if either 'Winona is a mouse' or 'Jeff moved to the office' but not both then John went to the hallway.,There is almost no chance that either 'Bernhard is a lion' or 'Jeff 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.9::factA. 0.0::factB. 0.7::factC. %hop1 0.0::factX:-and(factA,factB). 0.1::factY:-xor(factC,factB). 0.0::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.9,0.4408881776355271,train,highly likely,almost no chance,It is highly likely that either 'Bernhard is a lion' or 'Jeff moved to the office' but not both.,There is almost no chance that either 'Bernhard is a lion' or 'Jeff moved to the office' but not both.,0,Either 'Bernhard is a lion' or 'Jeff moved to the office' but not both. It is probable that Lily is a swan. We doubt that Mary went to the garden. We believe that Greg is yellow. It is probable that if 'Mary went to the garden' or 'Greg is yellow' or both then Brian is white. It is certain that if 'Mary went to the garden and Lily is a swan' then Bernhard is a frog. We doubt that if 'Greg is yellow' or 'Mary went to the garden' or both then John took the apple.,It is impossible that 'Bernhard 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.7::factA. 0.2::factB. 0.75::factC. %hop1 0.7::factX:-or(factB,factC). 1.0::factY:-and(factB,factA). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.7,0.6531306261252251,train,probably,impossible,It is probably the case that 'Bernhard is a frog' or 'Lily is a swan' or both.,It is impossible that 'Bernhard is a frog' or 'Lily is a swan' or both.,0,'Bernhard is a frog' or 'Lily is a swan' or both. It is probable that Bernhard is a rhino. It is impossible that Mary got the football. It is probable that Greg is a lion. It is likely that if 'Greg is a lion and Mary got the football' then John went to the office. It is highly likely that if 'Bernhard is a rhino and Greg is a lion' then Brian is yellow. Chances are about even that if 'Greg is a lion' or 'Bernhard is a rhino' or both then Julius is yellow.,It is likely that either 'John went to the office' or 'Bernhard 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.7::factA. 0.0::factB. 0.7::factC. %hop1 0.7::factX:-and(factC,factB). 0.9::factY:-and(factA,factC). 0.5::factZ:-or(factC,factA). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.7,0.7373474694938987,train,likely,impossible,It is likely that either 'John went to the office' or 'Bernhard is a rhino' but not both.,It is impossible that either 'John went to the office' or 'Bernhard is a rhino' but not both.,1,Either 'John went to the office' or 'Bernhard is a rhino' but not both. It is impossible that John got the football. It is probably not the case that Mary went to the office. It is highly likely that Brian is a swan. There is almost no chance that if 'Mary went to the office' or 'John got the football' or both then Julius is white. It is probably the case that if either 'John got the football' or 'Mary went to the office' but not both then Gertrude is a wolf. It is almost certain that if either 'Mary went to the office' or 'Brian is a swan' but not both then Greg is a frog.,It is certain that either 'John got the football' 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.0::factA. 0.25::factB. 0.9::factC. %hop1 0.02::factX:-or(factB,factA). 0.7::factY:-xor(factA,factB). 0.95::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.005000000000000002,0.044608921784356874,train,impossible,certain,It is impossible that either 'John got the football' or 'Julius is white' but not both.,It is certain that either 'John got the football' or 'Julius is white' but not both.,0,Either 'John got the football' or 'Julius is white' but not both. It is certain that Brian is yellow. It is improbable that Fred went to the garden. We doubt that John left the milk. It is likely that if 'John left the milk' or 'Brian is yellow' or both then Julius is a frog. It is almost certain that if either 'Brian is yellow' or 'Fred went to the garden' but not both then Greg is a frog. There is a very good chance that if either 'Brian is yellow' or 'Fred went to the garden' but not both then Sandra dropped the milk.,We doubt that 'Sandra dropped the milk' 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 1.0::factA. 0.1::factB. 0.2::factC. %hop1 0.7::factX:-or(factC,factA). 0.95::factY:-xor(factA,factB). 0.8::factZ:-xor(factA,factB). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.916,0.5477095419083817,train,highly likely,we doubt,It is highly likely that 'Sandra dropped the milk' or 'Julius is a frog' or both.,We doubt that 'Sandra dropped the milk' or 'Julius is a frog' or both.,0,'Sandra dropped the milk' or 'Julius is a frog' or both. It is highly likely that Winona is a sheep. It is almost certain that Bernhard is white. There is little chance that Brian is gray. It is probably not the case that if either 'Brian is gray' or 'Winona is a sheep' but not both then Sandra left the football. Chances are about even that if 'Bernhard is white' or 'Winona is a sheep' or both then Antoine is hungry. It is unlikely that if 'Bernhard is white and Winona is a sheep' then Julius is a rhino.,There is a better than even chance that 'Bernhard is white 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.9::factA. 0.95::factB. 0.1::factC. %hop1 0.25::factX:-xor(factC,factA). 0.5::factY:-or(factB,factA). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.09500000000000001,0.5339067813562712,train,improbable,better than even,It is improbable that 'Bernhard is white and Brian is gray'.,There is a better than even chance that 'Bernhard is white and Brian is gray'.,0,'Bernhard is white and Brian is gray'. It is highly likely that John went to the hallway. It is probably not the case that Mary dropped the milk. There is a very good chance that Brian is gray. There is a very good chance that if 'Brian is gray' or 'John went to the hallway' or both then Lily is green. We doubt that if 'John went to the hallway' or 'Mary dropped the milk' or both then Greg is a swan. It is probably the case that if 'Brian is gray' or 'Mary dropped the milk' or both then Daniel got the football.,Chances are about even that either 'Mary dropped the milk' or 'Daniel 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.25::factB. 0.8::factC. %hop1 0.8::factX:-or(factC,factA). 0.2::factY:-or(factA,factB). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.495,0.5999199839967994,train,about even,highly unlikely,Chances are about even that either 'Mary dropped the milk' or 'Daniel got the football' but not both.,It is highly unlikely that either 'Mary dropped the milk' or 'Daniel got the football' but not both.,1,Either 'Mary dropped the milk' or 'Daniel got the football' but not both. We believe that Fred went to the garden. It is highly likely that Greg is green. Chances are slight that Brian is white. There is almost no chance that if 'Brian is white' or 'Greg is green' or both then Lily is a rhino. There is a very good chance that if either 'Brian is white' or 'Fred went to the garden' but not both then Yann is hungry. It is highly unlikely that if 'Brian is white' or 'Fred went to the garden' or both then John got the apple.,There is almost no chance that 'Yann is hungry 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.75::factA. 0.9::factB. 0.1::factC. %hop1 0.02::factX:-or(factC,factB). 0.8::factY:-xor(factC,factA). 0.05::factZ:-or(factC,factA). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.01012,0.7935587117423485,train,almost no chance,certain,There is almost no chance that 'Yann is hungry and Lily is a rhino'.,It is certain that 'Yann is hungry and Lily is a rhino'.,1,'Yann is hungry and Lily is a rhino'. It is probable that Brian is green. It is highly unlikely that Winona is a mouse. We doubt that John left the apple. It is probable that if 'Brian is green and Winona is a mouse' then Julius is a lion. It is probably not the case that if 'Winona is a mouse and Brian is green' then Lily is a swan. It is improbable that if 'John left the apple' or 'Brian is green' or both then Greg is a lion.,We doubt that either 'Brian is green' 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.05::factB. 0.2::factC. %hop1 0.7::factX:-and(factA,factB). 0.25::factY:-and(factB,factA). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.6755,0.1920384076815363,train,probably,we doubt,It is probably the case that either 'Brian is green' or 'Julius is a lion' but not both.,We doubt that either 'Brian is green' or 'Julius is a lion' but not both.,0,Either 'Brian is green' or 'Julius is a lion' but not both. Chances are slight that Emily is a wolf. We believe that Bernhard is a swan. It is highly likely that Sandra dropped the milk. It is likely that if either 'Emily is a wolf' or 'Bernhard is a swan' but not both then John left the football. It is certain that if 'Bernhard is a swan and Sandra dropped the milk' then Jason is tired. It is probably not the case that if either 'Bernhard is a swan' or 'Sandra dropped the milk' but not both then Jessica is a cat.,There is a better than even chance that 'Emily is a wolf' or 'John 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.1::factA. 0.75::factB. 0.9::factC. %hop1 0.7::factX:-xor(factA,factB). 1.0::factY:-and(factB,factC). 0.25::factZ:-xor(factB,factC). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.5724999999999999,0.10482096419283857,train,better than even,chances are slight,There is a better than even chance that 'Emily is a wolf' or 'John left the football' or both.,Chances are slight that 'Emily is a wolf' or 'John left the football' or both.,1,'Emily is a wolf' or 'John left the football' or both. It is likely that Greg is gray. It is improbable that Jason is bored. Chances are slight that Sandra put down the milk. Chances are slight that if 'Greg is gray and Sandra put down the milk' then Lily is green. Chances are slight that if 'Greg is gray and Jason is bored' then John got the apple. It is almost certain that if 'Jason is bored and Greg is gray' then Julius is a frog.,It is probably the case that either 'Jason is bored' or 'Sandra 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.7::factA. 0.1::factB. 0.1::factC. %hop1 0.1::factX:-and(factA,factC). 0.1::factY:-and(factA,factB). 0.95::factZ:-and(factB,factA). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.18000000000000005,0.4308861772354471,train,we doubt,probably,We doubt that either 'Jason is bored' or 'Sandra put down the milk' but not both.,It is probably the case that either 'Jason is bored' or 'Sandra put down the milk' but not both.,0,Either 'Jason is bored' or 'Sandra put down the milk' but not both. There is a very good chance that Greg is a lion. It is highly unlikely that Bill went to the office. Chances are about even that Fred left the football. Chances are slight that if 'Fred left the football and Greg is a lion' then Bernhard is a swan. Chances are about even that if 'Greg is a lion and Fred left the football' then Julius is gray. It is certain that if 'Greg is a lion and Fred left the football' then Brian is a frog.,There is a very good chance that 'Bernhard is a swan' 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.8::factA. 0.05::factB. 0.5::factC. %hop1 0.1::factX:-and(factC,factA). 0.5::factY:-and(factA,factC). 1.0::factZ:-and(factA,factC). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.8,0.3272654530906181,train,very good chance,unlikely,There is a very good chance that 'Bernhard is a swan' or 'Greg is a lion' or both.,It is unlikely that 'Bernhard is a swan' or 'Greg is a lion' or both.,1,'Bernhard is a swan' or 'Greg is a lion' or both. It is highly unlikely that Bernhard is a frog. It is highly unlikely that Brian is white. It is impossible that Bill went to the garden. It is almost certain that if 'Bill went to the garden and Bernhard is a frog' then John discarded the apple. There is a very good chance that if either 'Bernhard is a frog' or 'Bill went to the garden' but not both then Julius is a lion. We doubt that if 'Bernhard is a frog' or 'Bill went to the garden' or both then Greg is yellow.,It is highly likely that 'Julius is a lion' 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.05::factA. 0.05::factB. 0.0::factC. %hop1 0.95::factX:-and(factC,factA). 0.8::factY:-xor(factA,factC). 0.2::factZ:-or(factA,factC). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.042000000000000016,0.6951390278055611,train,highly unlikely,highly likely,It is highly unlikely that 'Julius is a lion' or 'Greg is yellow' or both.,It is highly likely that 'Julius is a lion' or 'Greg is yellow' or both.,0,'Julius is a lion' or 'Greg is yellow' or both. It is almost certain that Bernhard is a frog. It is highly likely that Jason is tired. It is certain that Brian is white. It is probably the case that if either 'Jason is tired' or 'Brian is white' but not both then Julius is a swan. It is highly unlikely that if either 'Brian is white' or 'Bernhard is a frog' but not both then Mary went to the kitchen. There is a very good chance that if 'Brian is white and Jason is tired' then Sandra got the football.,We doubt that 'Julius is a swan' 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.95::factA. 0.9::factB. 1.0::factC. %hop1 0.7::factX:-xor(factB,factC). 0.05::factY:-xor(factC,factA). 0.8::factZ:-and(factC,factB). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.9534999999999999,0.22864572914582917,train,almost certain,we doubt,It is almost certain that 'Julius is a swan' or 'Bernhard is a frog' or both.,We doubt that 'Julius is a swan' or 'Bernhard is a frog' or both.,0,'Julius is a swan' or 'Bernhard is a frog' or both. It is impossible that Lily is a lion. It is impossible that Julius is gray. Chances are slight that Sandra left the milk. It is improbable that if 'Lily is a lion' or 'Sandra left the milk' or both then John dropped the apple. It is probably not the case that if 'Julius is gray' or 'Lily is a lion' or both then Gertrude is a cat. It is certain that if 'Sandra left the milk and Julius is gray' then Bernhard is yellow.,It is impossible that 'Julius is gray 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.0::factB. 0.1::factC. %hop1 0.1::factX:-or(factA,factC). 0.25::factY:-or(factB,factA). 1.0::factZ:-and(factC,factB). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.394878975795159,train,impossible,probably,It is impossible that 'Julius is gray and Lily is a lion'.,It is probably the case that 'Julius is gray and Lily is a lion'.,1,'Julius is gray and Lily is a lion'. It is highly likely that Winona is a sheep. There is a very good chance that Greg is a lion. It is certain that Mary moved to the garden. It is certain that if 'Mary moved to the garden and Greg is a lion' then Lily is white. There is a better than even chance that if either 'Mary moved to the garden' or 'Greg is a lion' but not both then Bill went to the bedroom. There is a very good chance that if either 'Winona is a sheep' or 'Greg is a lion' but not both then Julius is a frog.,It is highly unlikely that 'Winona is a sheep' 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. 0.8::factB. 1.0::factC. %hop1 1.0::factX:-and(factC,factB). 0.6::factY:-xor(factC,factB). 0.8::factZ:-xor(factA,factB). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.98,0.7065413082616523,train,certain,highly unlikely,It is certain that 'Winona is a sheep' or 'Greg is a lion' or both.,It is highly unlikely that 'Winona is a sheep' or 'Greg is a lion' or both.,0,'Winona is a sheep' or 'Greg is a lion' or both. It is improbable that Julius is yellow. It is improbable that Mary is in the bathroom. There is a very good chance that Greg is green. It is improbable that if 'Mary is in the bathroom' or 'Julius is yellow' or both then Winona is a mouse. We believe that if 'Julius is yellow and Mary is in the bathroom' then Emily is a wolf. It is improbable that if 'Mary is in the bathroom' or 'Greg is green' or both then Bill went to the office.,It is certain that 'Winona is a mouse and Bill 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.1::factA. 0.1::factB. 0.8::factC. %hop1 0.1::factX:-or(factB,factA). 0.75::factY:-and(factA,factB). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.0017200000000000006,0.6853370674134827,train,impossible,certain,It is impossible that 'Winona is a mouse and Bill went to the office'.,It is certain that 'Winona is a mouse and Bill went to the office'.,0,'Winona is a mouse and Bill went to the office'. It is highly unlikely that Lily is yellow. It is highly likely that Greg is gray. It is likely that John went to the office. We doubt that if either 'Lily is yellow' or 'John went to the office' but not both then Jason is tired. We doubt that if either 'Lily is yellow' or 'Greg is gray' but not both then Julius is a frog. It is probable that if 'Lily is yellow and John went to the office' then Bernhard is a swan.,It is probable that 'John went to the office' 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.9::factB. 0.7::factC. %hop1 0.2::factX:-xor(factA,factC). 0.2::factY:-xor(factA,factB). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.715,0.6421284256851371,train,probable,improbable,It is probable that 'John went to the office' or 'Lily is yellow' or both.,It is improbable that 'John went to the office' or 'Lily is yellow' or both.,1,'John went to the office' or 'Lily is yellow' or both. It is highly unlikely that John dropped the apple. There is a very good chance that Bernhard is gray. It is probably not the case that Mary left the football. It is impossible that if either 'Bernhard is gray' or 'John dropped the apple' but not both then Lily is yellow. It is improbable that if 'Mary left the football and John dropped the apple' then Jeff went to the garden. There is little chance that if 'John dropped the apple' or 'Mary left the football' or both then Julius is a swan.,It is almost certain that either 'Julius 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.05::factA. 0.8::factB. 0.25::factC. %hop1 0.0::factX:-xor(factB,factA). 0.1::factY:-and(factC,factA). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.22874999999999998,0.6603320664132827,train,probably not,almost certain,It is probably not the case that either 'Julius is a swan' or 'Mary left the football' but not both.,It is almost certain that either 'Julius is a swan' or 'Mary left the football' but not both.,0,Either 'Julius is a swan' or 'Mary left the football' but not both. Chances are slight that Gertrude is a wolf. It is highly unlikely that Greg is a swan. It is highly unlikely that Bernhard is yellow. Chances are about even that if either 'Gertrude is a wolf' or 'Bernhard is yellow' but not both then John put down the apple. Chances are about even that if 'Gertrude is a wolf' or 'Bernhard is yellow' or both then Lily is green. It is certain that if either 'Gertrude is a wolf' or 'Bernhard is yellow' but not both then Sandra took the milk.,We believe that either 'John put down the apple' or 'Lily 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.05::factB. 0.05::factC. %hop1 0.5::factX:-xor(factA,factC). 0.5::factY:-or(factA,factC). 1.0::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.0725,0.08221644328865774,train,highly unlikely,we believe,It is highly unlikely that either 'John put down the apple' or 'Lily is green' but not both.,We believe that either 'John put down the apple' or 'Lily is green' but not both.,0,Either 'John put down the apple' or 'Lily is green' but not both. It is unlikely that Winona is a mouse. It is probably not the case that Jeff moved to the garden. It is probably the case that Bernhard is gray. There is a very good chance that if 'Jeff moved to the garden' or 'Winona is a mouse' or both then John left the milk. Chances are slight that if 'Winona is a mouse' or 'Jeff moved to the garden' or both then Emily is a sheep. It is likely that if 'Winona is a mouse' or 'Bernhard is gray' or both then Mary put down the apple.,It is probable that either 'Jeff moved to the garden' 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.2::factA. 0.25::factB. 0.7::factC. %hop1 0.8::factX:-or(factB,factA). 0.1::factY:-or(factA,factB). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.24000000000000005,0.0626125225045009,train,probably not,probable,It is probably not the case that either 'Jeff moved to the garden' or 'Emily is a sheep' but not both.,It is probable that either 'Jeff moved to the garden' or 'Emily is a sheep' but not both.,0,Either 'Jeff moved to the garden' or 'Emily is a sheep' but not both. There is almost no chance that Daniel left the milk. It is probable that Sandra got the milk. We doubt that Greg is a swan. There is a better than even chance that if 'Greg is a swan and Daniel left the milk' then Julius is a rhino. It is probably not the case that if either 'Sandra got the milk' or 'Greg is a swan' but not both then Brian is a swan. We doubt that if either 'Greg is a swan' or 'Sandra got the milk' but not both then John went to the hallway.,It is probable that 'Greg is a swan' 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.02::factA. 0.7::factB. 0.2::factC. %hop1 0.6::factX:-and(factC,factA). 0.25::factY:-xor(factB,factC). 0.2::factZ:-xor(factC,factB). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.21600000000000003,0.46789357871574316,train,unlikely,probable,It is unlikely that 'Greg is a swan' or 'Daniel left the milk' or both.,It is probable that 'Greg is a swan' or 'Daniel left the milk' or both.,0,'Greg is a swan' or 'Daniel left the milk' or both. There is little chance that Emily is a cat. It is highly likely that Greg is a frog. It is highly unlikely that John went to the office. It is impossible that if either 'Greg is a frog' or 'Emily is a cat' but not both then Lily is white. It is likely that if either 'John went to the office' or 'Emily is a cat' but not both then Julius is a rhino. It is certain that if either 'John went to the office' or 'Greg is a frog' but not both then Mary left the football.,It is impossible that 'John went to the office 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.1::factA. 0.9::factB. 0.05::factC. %hop1 0.0::factX:-xor(factB,factA). 0.7::factY:-xor(factC,factA). 1.0::factZ:-xor(factC,factB). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.005000000000000002,0.4736947389477896,train,impossible,better than even,It is impossible that 'John went to the office and Emily is a cat'.,There is a better than even chance that 'John went to the office and Emily is a cat'.,1,'John went to the office and Emily is a cat'. It is probable that Brian is a lion. It is certain that Bernhard is a swan. It is probably the case that Mary dropped the milk. It is impossible that if 'Brian is a lion and Mary dropped the milk' then Gertrude is a sheep. It is highly likely that if 'Mary dropped the milk and Brian is a lion' then Julius is a rhino. It is unlikely that if 'Brian is a lion' or 'Mary dropped the milk' or both then Greg is white.,Chances are about even that 'Brian is a lion and Mary 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.7::factA. 1.0::factB. 0.7::factC. %hop1 0.0::factX:-and(factA,factC). 0.9::factY:-and(factC,factA). 0.2::factZ:-or(factA,factC). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.48999999999999994,0.5235047009401881,train,about even,impossible,Chances are about even that 'Brian is a lion and Mary dropped the milk'.,It is impossible that 'Brian is a lion and Mary dropped the milk'.,1,'Brian is a lion and Mary dropped the milk'. It is unlikely that Julius is gray. Chances are about even that Bernhard is a swan. Chances are about even that John went to the kitchen. There is a better than even chance that if either 'Julius is gray' or 'John went to the kitchen' but not both then Lily is a lion. There is a better than even chance that if either 'Bernhard is a swan' or 'John went to the kitchen' but not both then Jason is tired. There is almost no chance that if 'Julius is gray and Bernhard is a swan' then Greg is white.,Chances are about even that 'Greg is white' or 'John 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.2::factA. 0.5::factB. 0.5::factC. %hop1 0.6::factX:-xor(factA,factC). 0.6::factY:-xor(factB,factC). 0.02::factZ:-and(factA,factB). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.501,0.7331466293258652,train,about even,highly unlikely,Chances are about even that 'Greg is white' or 'John went to the kitchen' or both.,It is highly unlikely that 'Greg is white' or 'John went to the kitchen' or both.,1,'Greg is white' or 'John went to the kitchen' or both. We believe that Greg is a swan. It is probably not the case that Daniel dropped the apple. It is almost certain that Bernhard is a swan. It is almost certain that if 'Greg is a swan and Daniel dropped the apple' then Julius is yellow. We doubt that if 'Greg is a swan' or 'Daniel dropped the apple' or both then Lily is a rhino. It is highly unlikely that if 'Greg is a swan and Bernhard is a swan' then Mary went to the garden.,It is probably not the case that either 'Mary went to the garden' 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.75::factA. 0.25::factB. 0.95::factC. %hop1 0.95::factX:-and(factA,factB). 0.2::factY:-or(factA,factB). 0.05::factZ:-and(factA,factC). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.2678125,0.4310862172434487,train,probably not,almost certain,It is probably not the case that either 'Mary went to the garden' or 'Daniel dropped the apple' but not both.,It is almost certain that either 'Mary went to the garden' or 'Daniel dropped the apple' but not both.,1,Either 'Mary went to the garden' or 'Daniel dropped the apple' but not both. It is unlikely that Daniel dropped the milk. We doubt that Bernhard is gray. Chances are slight that John went to the bedroom. There is almost no chance that if 'Bernhard is gray' or 'Daniel dropped the milk' or both then Yann is tired. It is probably not the case that if either 'John went to the bedroom' or 'Bernhard is gray' but not both then Lily is a frog. There is a very good chance that if 'Bernhard is gray and John went to the bedroom' then Winona is a mouse.,There is a very good chance that 'Daniel dropped the milk' 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.2::factA. 0.2::factB. 0.1::factC. %hop1 0.02::factX:-or(factB,factA). 0.25::factY:-xor(factC,factB). 0.8::factZ:-and(factB,factC). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.252,0.4902980596119224,train,probably not,very good chance,It is probably not the case that 'Daniel dropped the milk' or 'Lily is a frog' or both.,There is a very good chance that 'Daniel dropped the milk' or 'Lily is a frog' or both.,0,'Daniel dropped the milk' or 'Lily is a frog' or both. It is impossible that Bernhard is yellow. It is improbable that Julius is a lion. It is probably the case that Mary went to the office. It is highly unlikely that if either 'Mary went to the office' or 'Julius is a lion' but not both then Brian is gray. It is probable that if 'Julius is a lion' or 'Bernhard is yellow' or both then Lily is white. There is a better than even chance that if 'Mary went to the office' or 'Julius is a lion' or both then Greg is green.,It is probably not the case that 'Mary went to the office' 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.0::factA. 0.1::factB. 0.7::factC. %hop1 0.05::factX:-xor(factC,factB). 0.7::factY:-or(factB,factA). 0.6::factZ:-or(factC,factB). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.73,0.14122824564912984,train,we believe,probably not,We believe that 'Mary went to the office' or 'Julius is a lion' or both.,It is probably not the case that 'Mary went to the office' or 'Julius is a lion' or both.,0,'Mary went to the office' or 'Julius is a lion' or both. It is likely that John went to the hallway. There is almost no chance that Winona is a cat. It is probably not the case that Julius is white. It is impossible that if 'John went to the hallway' or 'Julius is white' or both then Brian is green. There is a very good chance that if 'John went to the hallway' or 'Winona is a cat' or both then Jessica is a mouse. It is improbable that if 'Julius is white and John went to the hallway' then Greg is a rhino.,It is probable that 'Julius is white 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.02::factB. 0.25::factC. %hop1 0.0::factX:-or(factA,factC). 0.8::factY:-or(factA,factB). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.005000000000000002,0.11602320464092819,train,impossible,probable,It is impossible that 'Julius is white and Winona is a cat'.,It is probable that 'Julius is white and Winona is a cat'.,0,'Julius is white and Winona is a cat'. Chances are about even that Greg is white. It is improbable that Gertrude is a cat. It is unlikely that Lily is a frog. It is impossible that if either 'Gertrude is a cat' or 'Lily is a frog' but not both then Bernhard is a lion. It is almost certain that if either 'Lily is a frog' or 'Gertrude is a cat' but not both then Brian is a swan. There is almost no chance that if 'Lily is a frog and Gertrude is a cat' then Mary went to the garden.,It is unlikely that 'Lily is a frog 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.5::factA. 0.1::factB. 0.2::factC. %hop1 0.0::factX:-xor(factB,factC). 0.95::factY:-xor(factC,factB). 0.02::factZ:-and(factC,factB). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.171,0.7701540308061612,train,unlikely,almost certain,It is unlikely that 'Lily is a frog and Brian is a swan'.,It is almost certain that 'Lily is a frog and Brian is a swan'.,1,'Lily is a frog and Brian is a swan'. Chances are slight that Fred is in the cinema. There is a very good chance that Mary dropped the apple. It is probable that Julius is white. It is improbable that if either 'Julius is white' or 'Mary dropped the apple' but not both then Greg is gray. It is likely that if 'Julius is white and Fred is in the cinema' then John went to the garden. There is little chance that if 'Mary dropped the apple' or 'Julius is white' or both then Lily is green.,There is a very good chance that 'John went to the garden' 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.1::factA. 0.8::factB. 0.7::factC. %hop1 0.1::factX:-xor(factC,factB). 0.7::factY:-and(factC,factA). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.8098,0.540508101620324,train,very good chance,little chance,There is a very good chance that 'John went to the garden' or 'Mary dropped the apple' or both.,There is little chance that 'John went to the garden' or 'Mary dropped the apple' or both.,1,'John went to the garden' or 'Mary dropped the apple' or both. It is impossible that Lily is gray. There is little chance that Emily is a wolf. It is unlikely that Julius is a swan. It is probably not the case that if either 'Julius is a swan' or 'Lily is gray' but not both then Antoine is hungry. It is impossible that if 'Emily is a wolf' or 'Julius is a swan' or both then Greg is white. It is improbable that if 'Lily is gray and Emily is a wolf' then John got the apple.,It is impossible that 'Antoine is hungry 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.0::factA. 0.1::factB. 0.2::factC. %hop1 0.25::factX:-xor(factC,factA). 0.0::factY:-or(factB,factC). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.0,0.008801760352070413,train,impossible,almost certain,It is impossible that 'Antoine is hungry and Lily is gray'.,It is almost certain that 'Antoine is hungry and Lily is gray'.,1,'Antoine is hungry and Lily is gray'. There is little chance that Greg is white. It is certain that John dropped the apple. There is little chance that Lily is yellow. It is probable that if 'Greg is white' or 'John dropped the apple' or both then Mary went to the bedroom. We believe that if 'Lily is yellow and John dropped the apple' then Brian is green. It is likely that if 'John dropped the apple and Lily is yellow' then Bernhard is a frog.,Chances are slight that 'John dropped the apple 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.1::factA. 1.0::factB. 0.1::factC. %hop1 0.7::factX:-or(factA,factB). 0.75::factY:-and(factC,factB). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.10000000000000002,0.1894378875775155,train,chances are slight,highly likely,Chances are slight that 'John dropped the apple and Lily is yellow'.,It is highly likely that 'John dropped the apple and Lily is yellow'.,1,'John dropped the apple and Lily is yellow'. It is improbable that Fred dropped the apple. It is improbable that Bernhard is white. There is little chance that Sandra put down the milk. There is a better than even chance that if 'Bernhard is white' or 'Fred dropped the apple' or both then Greg is a swan. It is probable that if 'Sandra put down the milk' or 'Fred dropped the apple' or both then Julius is a lion. It is probably not the case that if either 'Bernhard is white' or 'Sandra put down the milk' but not both then Brian is yellow.,It is almost certain that 'Sandra put down 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.1::factA. 0.1::factB. 0.1::factC. %hop1 0.6::factX:-or(factB,factA). 0.7::factY:-or(factC,factA). 0.25::factZ:-xor(factB,factC). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.20260000000000006,0.6623324664932987,train,unlikely,almost certain,It is unlikely that 'Sandra put down the milk' or 'Greg is a swan' or both.,It is almost certain that 'Sandra put down the milk' or 'Greg is a swan' or both.,0,'Sandra put down the milk' or 'Greg is a swan' or both. It is highly unlikely that Greg is a rhino. It is highly unlikely that Jason is tired. It is probably the case that Brian is a swan. There is almost no chance that if 'Greg is a rhino and Brian is a swan' then Bernhard is yellow. There is almost no chance that if 'Jason is tired' or 'Brian is a swan' or both then Lily is a rhino. It is impossible that if 'Brian is a swan and Greg is a rhino' then John picked up the apple.,It is likely that 'Bernhard is yellow 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.05::factA. 0.05::factB. 0.7::factC. %hop1 0.02::factX:-and(factA,factC). 0.02::factY:-or(factB,factC). 0.0::factZ:-and(factC,factA). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.0007000000000000001,0.10942188437687538,train,impossible,likely,It is impossible that 'Bernhard is yellow and Brian is a swan'.,It is likely that 'Bernhard is yellow and Brian is a swan'.,0,'Bernhard is yellow and Brian is a swan'. Chances are about even that Bernhard is a frog. It is impossible that Jessica is a mouse. Chances are slight that Julius is a rhino. It is probably the case that if 'Jessica is a mouse' or 'Bernhard is a frog' or both then Lily is a swan. Chances are about even that if 'Bernhard is a frog and Jessica is a mouse' then Daniel got the apple. It is probably not the case that if 'Bernhard is a frog' or 'Julius is a rhino' or both then John moved to the garden.,It is probable that either 'Julius is a rhino' 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.5::factA. 0.0::factB. 0.1::factC. %hop1 0.7::factX:-or(factB,factA). 0.5::factY:-and(factA,factB). 0.25::factZ:-or(factA,factC). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.18750000000000008,0.7811562312462492,train,unlikely,probable,It is unlikely that either 'Julius is a rhino' or 'John moved to the garden' but not both.,It is probable that either 'Julius is a rhino' or 'John moved to the garden' but not both.,0,Either 'Julius is a rhino' or 'John moved to the garden' but not both. It is improbable that Sandra left the milk. It is likely that Julius is white. It is certain that Lily is a rhino. It is highly unlikely that if 'Julius is white and Sandra left the milk' then Bernhard is green. It is probably not the case that if 'Lily is a rhino and Julius is white' then Antoine is thirsty. There is almost no chance that if either 'Sandra left the milk' or 'Lily is a rhino' but not both then Greg is gray.,Chances are slight that either 'Sandra left the milk' 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.7::factB. 1.0::factC. %hop1 0.05::factX:-and(factB,factA). 0.25::factY:-and(factC,factB). 0.02::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.09650000000000002,0.04380876175235047,train,chances are slight,highly likely,Chances are slight that either 'Sandra left the milk' or 'Bernhard is green' but not both.,It is highly likely that either 'Sandra left the milk' or 'Bernhard is green' but not both.,1,Either 'Sandra left the milk' or 'Bernhard is green' but not both. It is probably not the case that Jessica is a mouse. It is improbable that Sandra left the football. There is little chance that Brian is green. It is certain that if 'Brian is green' or 'Sandra left the football' or both then John got the milk. It is likely that if 'Jessica is a mouse' or 'Sandra left the football' or both then Gertrude is a sheep. There is a better than even chance that if 'Sandra left the football and Jessica is a mouse' then Bernhard is a rhino.,It is probably not the case that either 'John got 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.25::factA. 0.1::factB. 0.1::factC. %hop1 1.0::factX:-or(factC,factB). 0.7::factY:-or(factA,factB). 0.6::factZ:-and(factB,factA). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.24599999999999997,0.3606721344268854,train,probably not,certain,It is probably not the case that either 'John got the milk' or 'Gertrude is a sheep' but not both.,It is certain that either 'John got the milk' or 'Gertrude is a sheep' but not both.,1,Either 'John got the milk' or 'Gertrude is a sheep' but not both. Chances are about even that Gertrude is a cat. It is almost certain that Bernhard is white. It is probably the case that Julius is a lion. There is a better than even chance that if 'Bernhard is white and Gertrude is a cat' then Lily is a rhino. It is probably the case that if 'Gertrude is a cat and Bernhard is white' then Mary went to the office. It is likely that if 'Julius is a lion' or 'Bernhard is white' or both then Brian is white.,Chances are about even that either 'Julius is a lion' 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.5::factA. 0.95::factB. 0.7::factC. %hop1 0.6::factX:-and(factB,factA). 0.7::factY:-and(factA,factB). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.40950000000000003,0.7685537107421484,train,about even,almost no chance,Chances are about even that either 'Julius is a lion' or 'Brian is white' but not both.,There is almost no chance that either 'Julius is a lion' or 'Brian is white' but not both.,1,Either 'Julius is a lion' or 'Brian is white' but not both. There is a better than even chance that Jason is tired. It is certain that Lily is green. There is a very good chance that John went to the garden. We believe that if either 'Lily is green' or 'John went to the garden' but not both then Julius is a lion. Chances are about even that if 'John went to the garden and Lily is green' then Mary got the football. It is highly unlikely that if 'John went to the garden and Jason is tired' then Bernhard is a rhino.,It is certain that 'Mary got the football 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.6::factA. 1.0::factB. 0.8::factC. %hop1 0.75::factX:-xor(factB,factC). 0.5::factY:-and(factC,factB). 0.05::factZ:-and(factC,factA). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.4,0.04160832166433287,train,about even,certain,Chances are about even that 'Mary got the football and John went to the garden'.,It is certain that 'Mary got the football and John went to the garden'.,0,'Mary got the football and John went to the garden'. It is impossible that Julius is a swan. It is probably the case that Bernhard is green. We believe that Greg is a swan. There is almost no chance that if either 'Greg is a swan' or 'Julius is a swan' but not both then John moved to the garden. It is highly unlikely that if 'Greg is a swan' or 'Julius is a swan' or both then Sandra got the football. There is almost no chance that if either 'Julius is a swan' or 'Bernhard is green' but not both then Mary went to the office.,There is a very good chance that 'John moved to the garden' 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.0::factA. 0.7::factB. 0.75::factC. %hop1 0.02::factX:-xor(factC,factA). 0.05::factY:-or(factC,factA). 0.02::factZ:-xor(factA,factB). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.014999999999999998,0.41628325665133026,train,almost no chance,very good chance,There is almost no chance that 'John moved to the garden' or 'Julius is a swan' or both.,There is a very good chance that 'John moved to the garden' or 'Julius is a swan' or both.,0,'John moved to the garden' or 'Julius is a swan' or both. Chances are about even that Mary got the football. There is a very good chance that Brian is a rhino. It is improbable that Lily is a swan. It is certain that if either 'Brian is a rhino' or 'Mary got the football' but not both then John moved to the office. It is highly unlikely that if either 'Brian is a rhino' or 'Mary got the football' but not both then Emily is a wolf. It is likely that if either 'Brian is a rhino' or 'Mary got the football' but not both then Sandra left the apple.,It is almost certain that either 'Sandra left the apple' 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.5::factA. 0.8::factB. 0.1::factC. %hop1 1.0::factX:-xor(factB,factA). 0.05::factY:-xor(factB,factA). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.37999999999999995,0.2364472894578916,train,about even,almost certain,Chances are about even that either 'Sandra left the apple' or 'Lily is a swan' but not both.,It is almost certain that either 'Sandra left the apple' or 'Lily is a swan' but not both.,0,Either 'Sandra left the apple' or 'Lily is a swan' but not both. We doubt that Winona is a sheep. It is probably not the case that Greg is a rhino. It is impossible that Bernhard is a lion. It is highly unlikely that if 'Winona is a sheep and Greg is a rhino' then Sumit is hungry. It is improbable that if 'Winona is a sheep' or 'Bernhard is a lion' or both then Julius is a frog. It is unlikely that if 'Bernhard is a lion and Winona is a sheep' then Mary left the football.,It is highly likely that either 'Julius is a frog' 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.25::factB. 0.0::factC. %hop1 0.05::factX:-and(factA,factB). 0.1::factY:-or(factA,factC). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.26,0.4226845369073815,train,probably not,highly likely,It is probably not the case that either 'Julius is a frog' or 'Greg is a rhino' but not both.,It is highly likely that either 'Julius is a frog' or 'Greg is a rhino' but not both.,0,Either 'Julius is a frog' or 'Greg is a rhino' but not both. There is little chance that Mary dropped the apple. It is certain that Jason is thirsty. We doubt that Sandra got the milk. It is highly likely that if 'Jason is thirsty and Sandra got the milk' then Lily is a swan. There is little chance that if 'Mary dropped the apple and Sandra got the milk' then Julius is a frog. It is almost certain that if 'Mary dropped the apple and Jason is thirsty' then Bernhard is green.,It is highly unlikely that 'Sandra got the milk' or 'Jason 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.1::factA. 1.0::factB. 0.2::factC. %hop1 0.9::factX:-and(factB,factC). 0.1::factY:-and(factA,factC). 0.95::factZ:-and(factA,factB). %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.007601520304060812,train,certain,highly unlikely,It is certain that 'Sandra got the milk' or 'Jason is thirsty' or both.,It is highly unlikely that 'Sandra got the milk' or 'Jason is thirsty' or both.,0,'Sandra got the milk' or 'Jason is thirsty' or both. We doubt that John discarded the milk. It is probably not the case that Daniel took the apple. Chances are slight that Bernhard is green. It is almost certain that if 'Daniel took the apple and Bernhard is green' then Lily is a swan. It is impossible that if either 'Daniel took the apple' or 'John discarded the milk' but not both then Greg is white. Chances are slight that if 'John discarded the milk' or 'Bernhard is green' or both then Yann is bored.,There is almost no chance that 'John discarded the milk and Yann 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.2::factA. 0.25::factB. 0.1::factC. %hop1 0.95::factX:-and(factB,factC). 0.0::factY:-xor(factB,factA). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.02000000000000001,0.6537307461492299,train,almost no chance,very good chance,There is almost no chance that 'John discarded the milk and Yann is bored'.,There is a very good chance that 'John discarded the milk and Yann is bored'.,1,'John discarded the milk and Yann is bored'. It is certain that Lily is a swan. There is a better than even chance that Gertrude is a mouse. We believe that Fred put down the apple. Chances are slight that if either 'Gertrude is a mouse' or 'Fred put down the apple' but not both then Brian is green. It is impossible that if 'Lily is a swan' or 'Fred put down the apple' or both then Mary dropped the milk. It is probably the case that if 'Fred put down the apple and Gertrude is a mouse' then Jessica is a cat.,It is improbable that 'Lily is a swan and Fred put down 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 1.0::factA. 0.6::factB. 0.75::factC. %hop1 0.1::factX:-xor(factB,factC). 0.0::factY:-or(factA,factC). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.75,0.46169233846769353,train,we believe,improbable,We believe that 'Lily is a swan and Fred put down the apple'.,It is improbable that 'Lily is a swan and Fred put down the apple'.,0,'Lily is a swan and Fred put down the apple'. It is almost certain that Brian is white. It is improbable that Lily is a rhino. It is probably not the case that Greg is gray. It is certain that if 'Lily is a rhino' or 'Greg is gray' or both then Mary left the apple. We doubt that if either 'Greg is gray' or 'Lily is a rhino' but not both then Julius is a swan. It is likely that if 'Lily is a rhino' or 'Greg is gray' or both then Daniel dropped the milk.,Chances are slight that 'Lily is a rhino' 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.95::factA. 0.1::factB. 0.25::factC. %hop1 1.0::factX:-or(factB,factC). 0.2::factY:-xor(factC,factB). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.955,0.28525705141028207,train,almost certain,chances are slight,It is almost certain that 'Lily is a rhino' or 'Brian is white' or both.,Chances are slight that 'Lily is a rhino' or 'Brian is white' or both.,0,'Lily is a rhino' or 'Brian is white' or both. It is highly likely that Sandra grabbed the apple. It is certain that Mary took the football. It is highly likely that Jason is tired. It is impossible that if either 'Jason is tired' or 'Sandra grabbed the apple' but not both then Greg is a rhino. There is little chance that if 'Mary took the football and Sandra grabbed the apple' then Julius is a swan. It is improbable that if either 'Jason is tired' or 'Mary took the football' but not both then Jessica is a mouse.,It is improbable that 'Mary took the football and Julius 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.9::factA. 1.0::factB. 0.9::factC. %hop1 0.0::factX:-xor(factC,factA). 0.1::factY:-and(factB,factA). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.09000000000000001,0.44948989797959593,train,improbable,likely,It is improbable that 'Mary took the football and Julius is a swan'.,It is likely that 'Mary took the football and Julius is a swan'.,1,'Mary took the football and Julius is a swan'. It is probable that Julius is a swan. There is little chance that Gertrude is a mouse. It is probably not the case that John picked up the milk. There is a very good chance that if 'Julius is a swan' or 'Gertrude is a mouse' or both then Mary went to the office. We doubt that if 'John picked up the milk and Gertrude is a mouse' then Emily is a wolf. It is impossible that if 'Gertrude is a mouse' or 'John picked up the milk' or both then Greg is a lion.,It is likely that 'Mary 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.7::factA. 0.1::factB. 0.25::factC. %hop1 0.8::factX:-or(factA,factB). 0.2::factY:-and(factC,factB). 0.0::factZ:-or(factB,factC). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.6880000000000001,0.38787757551510305,train,likely,impossible,It is likely that 'Mary went to the office' or 'John picked up the milk' or both.,It is impossible that 'Mary went to the office' or 'John picked up the milk' or both.,1,'Mary went to the office' or 'John picked up the milk' or both. There is a better than even chance that Bill left the milk. It is highly unlikely that Bernhard is white. It is unlikely that Greg is a rhino. It is improbable that if 'Greg is a rhino and Bernhard is white' then John dropped the milk. We doubt that if 'Bill left the milk and Greg is a rhino' then Jeff went to the garden. There is little chance that if 'Bill left the milk' or 'Greg is a rhino' or both then Mary got the football.,It is probable that 'John dropped the milk 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.6::factA. 0.05::factB. 0.2::factC. %hop1 0.1::factX:-and(factC,factB). 0.2::factY:-and(factA,factC). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.0010000000000000002,0.3118623724744949,train,impossible,probable,It is impossible that 'John dropped the milk and Bernhard is white'.,It is probable that 'John dropped the milk and Bernhard is white'.,0,'John dropped the milk and Bernhard is white'. It is probably the case that Julius is green. It is impossible that Bill moved to the office. It is probable that Bernhard is gray. Chances are slight that if either 'Bill moved to the office' or 'Julius is green' but not both then Brian is yellow. It is highly likely that if either 'Bernhard is gray' or 'Bill moved to the office' but not both then Sandra got the milk. Chances are slight that if 'Bernhard is gray and Bill moved to the office' then Jason is thirsty.,There is a better than even chance that either 'Sandra got the milk' 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.7::factA. 0.0::factB. 0.7::factC. %hop1 0.1::factX:-xor(factB,factA). 0.9::factY:-xor(factC,factB). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.63,0.6295259051810362,train,better than even,impossible,There is a better than even chance that either 'Sandra got the milk' or 'Bill moved to the office' but not both.,It is impossible that either 'Sandra got the milk' or 'Bill moved to the office' but not both.,1,Either 'Sandra got the milk' or 'Bill moved to the office' but not both. It is likely that Winona is a sheep. There is a better than even chance that Lily is yellow. It is probably not the case that Greg is a rhino. We believe that if 'Winona is a sheep' or 'Lily is yellow' or both then Brian is a lion. We believe that if 'Winona is a sheep' or 'Lily is yellow' or both then John grabbed the apple. It is probable that if either 'Winona is a sheep' or 'Greg is a rhino' but not both then Julius is a swan.,It is impossible that 'Winona is a sheep and John 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.7::factA. 0.6::factB. 0.25::factC. %hop1 0.75::factX:-or(factA,factB). 0.75::factY:-or(factA,factB). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.525,0.756751350270054,train,about even,impossible,Chances are about even that 'Winona is a sheep and John grabbed the apple'.,It is impossible that 'Winona is a sheep and John grabbed the apple'.,0,'Winona is a sheep and John grabbed the apple'. It is unlikely that Greg is green. It is probably the case that John moved to the garden. We believe that Mary dropped the apple. There is a very good chance that if 'Greg is green' or 'John moved to the garden' or both then Julius is yellow. It is probably not the case that if 'John moved to the garden and Greg is green' then Gertrude is a wolf. It is probably the case that if either 'Mary dropped the apple' or 'Greg is green' but not both then Lily is white.,There is a better than even chance that 'Julius 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.2::factA. 0.7::factB. 0.75::factC. %hop1 0.8::factX:-or(factA,factB). 0.25::factY:-and(factB,factA). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.648,0.38767753550710143,train,better than even,highly unlikely,There is a better than even chance that 'Julius is yellow' or 'Greg is green' or both.,It is highly unlikely that 'Julius is yellow' or 'Greg is green' or both.,1,'Julius is yellow' or 'Greg is green' or both. It is improbable that Greg is a frog. It is highly likely that John went to the garden. It is highly unlikely that Julius is a swan. It is probably the case that if 'Julius is a swan and John went to the garden' then Bernhard is a lion. There is almost no chance that if either 'John went to the garden' or 'Julius is a swan' but not both then Yann is bored. It is improbable that if either 'Julius is a swan' or 'Greg is a frog' but not both then Sandra grabbed the milk.,It is certain that either 'Sandra grabbed the milk' 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.05::factC. %hop1 0.7::factX:-and(factC,factB). 0.02::factY:-xor(factB,factC). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.05500000000000003,0.2586517303460692,train,highly unlikely,certain,It is highly unlikely that either 'Sandra grabbed the milk' or 'Julius is a swan' but not both.,It is certain that either 'Sandra grabbed the milk' or 'Julius is a swan' but not both.,0,Either 'Sandra grabbed the milk' or 'Julius is a swan' but not both. It is probably not the case that Sandra took the football. Chances are about even that Brian is a lion. Chances are slight that Gertrude is a sheep. There is a very good chance that if 'Brian is a lion' or 'Sandra took the football' or both then Julius is yellow. It is improbable that if either 'Brian is a lion' or 'Sandra took the football' but not both then Greg is white. It is probably the case that if 'Gertrude is a sheep' or 'Brian is a lion' or both then Mary dropped the apple.,It is highly unlikely that either 'Brian is a lion' 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.25::factA. 0.5::factB. 0.1::factC. %hop1 0.8::factX:-or(factB,factA). 0.1::factY:-xor(factB,factA). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5,0.0028005601120224045,train,about even,highly unlikely,Chances are about even that either 'Brian is a lion' or 'Gertrude is a sheep' but not both.,It is highly unlikely that either 'Brian is a lion' or 'Gertrude is a sheep' but not both.,0,Either 'Brian is a lion' or 'Gertrude is a sheep' but not both. There is a better than even chance that Julius is gray. It is unlikely that Antoine is hungry. It is unlikely that Bernhard is white. It is highly unlikely that if 'Antoine is hungry and Bernhard is white' then Greg is a rhino. It is unlikely that if 'Julius is gray' or 'Antoine is hungry' or both then Sandra dropped the milk. It is probably the case that if 'Antoine is hungry and Julius is gray' then John got the football.,It is improbable that 'Julius is gray' or 'Antoine is hungry' 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.2::factC. %hop1 0.05::factX:-and(factB,factC). 0.2::factY:-or(factA,factB). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.68,0.7361472294458892,train,probably,improbable,It is probably the case that 'Julius is gray' or 'Antoine is hungry' or both.,It is improbable that 'Julius is gray' or 'Antoine is hungry' or both.,0,'Julius is gray' or 'Antoine is hungry' or both. We doubt that Julius is white. It is probably the case that Winona is a wolf. It is highly likely that Greg is gray. It is highly unlikely that if 'Greg is gray and Winona is a wolf' then John moved to the office. Chances are about even that if 'Greg is gray' or 'Winona is a wolf' or both then Bernhard is a lion. It is unlikely that if either 'Julius is white' or 'Greg is gray' but not both then Lily is a frog.,It is improbable that either 'Lily is a frog' or 'Greg 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.9::factC. %hop1 0.05::factX:-and(factC,factB). 0.5::factY:-or(factC,factB). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.76,0.33286657331466296,train,we believe,improbable,We believe that either 'Lily is a frog' or 'Greg is gray' but not both.,It is improbable that either 'Lily is a frog' or 'Greg is gray' but not both.,0,Either 'Lily is a frog' or 'Greg is gray' but not both. It is improbable that John went to the kitchen. It is highly likely that Fred is in the cinema. There is a better than even chance that Greg is a frog. It is impossible that if 'John went to the kitchen and Greg is a frog' then Mary discarded the milk. It is probably not the case that if either 'Greg is a frog' or 'Fred is in the cinema' but not both then Lily is a lion. It is probable that if either 'Fred is in the cinema' or 'Greg is a frog' but not both then Bernhard is white.,Chances are slight that either 'Bernhard is white' or 'Fred is in the cinema' 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.0::factX:-and(factA,factC). 0.25::factY:-xor(factC,factB). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.69,0.4128825765153031,train,likely,chances are slight,It is likely that either 'Bernhard is white' or 'Fred is in the cinema' but not both.,Chances are slight that either 'Bernhard is white' or 'Fred is in the cinema' but not both.,0,Either 'Bernhard is white' or 'Fred is in the cinema' but not both. It is probably not the case that Julius is yellow. Chances are slight that Emily is a wolf. Chances are about even that Mary left the football. It is probably not the case that if 'Julius is yellow and Mary left the football' then Lily is a swan. Chances are about even that if either 'Julius is yellow' or 'Mary left the football' but not both then Greg is a frog. It is probably not the case that if 'Emily is a wolf and Mary left the football' then John grabbed the apple.,Chances are about even that either 'Greg is a frog' 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.25::factA. 0.1::factB. 0.5::factC. %hop1 0.25::factX:-and(factA,factC). 0.5::factY:-xor(factA,factC). 0.25::factZ:-and(factB,factC). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.375,0.6955391078215644,train,about even,almost certain,Chances are about even that either 'Greg is a frog' or 'Julius is yellow' but not both.,It is almost certain that either 'Greg is a frog' or 'Julius is yellow' but not both.,1,Either 'Greg is a frog' or 'Julius is yellow' but not both. It is probable that Mary went to the office. It is likely that John took the apple. There is a better than even chance that Julius is yellow. We doubt that if 'John took the apple' or 'Mary went to the office' or both then Bernhard is yellow. Chances are slight that if 'Julius is yellow and John took the apple' then Greg is a frog. It is likely that if 'Mary went to the office and John took the apple' then Sandra got the football.,There is almost no chance that 'Julius is yellow' 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.7::factA. 0.7::factB. 0.6::factC. %hop1 0.2::factX:-or(factB,factA). 0.1::factY:-and(factC,factB). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.7372,0.39067813562712544,train,we believe,almost no chance,We believe that 'Julius is yellow' or 'Sandra got the football' or both.,There is almost no chance that 'Julius is yellow' or 'Sandra got the football' or both.,0,'Julius is yellow' or 'Sandra got the football' or both. It is unlikely that Bernhard is a frog. We doubt that Mary moved to the garden. It is highly likely that Julius is a lion. It is improbable that if either 'Mary moved to the garden' or 'Bernhard is a frog' but not both then Brian is yellow. It is unlikely that if either 'Mary moved to the garden' or 'Bernhard is a frog' but not both then Lily is a rhino. It is probably not the case that if either 'Bernhard is a frog' or 'Julius is a lion' but not both then John discarded the milk.,It is highly likely 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.2::factA. 0.2::factB. 0.9::factC. %hop1 0.1::factX:-xor(factB,factA). 0.2::factY:-xor(factB,factA). 0.25::factZ:-xor(factA,factC). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.9064000000000001,0.7159431886377275,train,highly likely,improbable,It is highly likely that 'Julius is a lion' or 'Lily is a rhino' or both.,It is improbable that 'Julius is a lion' or 'Lily is a rhino' or both.,1,'Julius is a lion' or 'Lily is a rhino' or both. Chances are slight that John discarded the milk. It is certain that Julius is a frog. There is a very good chance that Brian is green. It is probably not the case that if 'John discarded the milk' or 'Julius is a frog' or both then Sandra left the football. It is probable that if 'Brian is green and Julius is a frog' then Lily is a rhino. We doubt that if 'Julius is a frog and Brian is green' then Daniel dropped the apple.,There is a very good chance that 'John discarded the milk 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.1::factA. 1.0::factB. 0.8::factC. %hop1 0.25::factX:-or(factA,factB). 0.7::factY:-and(factC,factB). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.08000000000000002,0.25165033006601323,train,chances are slight,very good chance,Chances are slight that 'John discarded the milk and Brian is green'.,There is a very good chance that 'John discarded the milk and Brian is green'.,0,'John discarded the milk and Brian is green'. It is probably not the case that John went to the office. It is probably the case that Lily is white. It is improbable that Jason is tired. It is highly likely that if 'Jason is tired' or 'John went to the office' or both then Mary moved to the garden. It is unlikely that if 'Lily is white and Jason is tired' then Julius is a swan. It is certain that if either 'John went to the office' or 'Jason is tired' but not both then Brian is a rhino.,It is certain that 'Julius is a swan 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.25::factA. 0.7::factB. 0.1::factC. %hop1 0.9::factX:-or(factC,factA). 0.2::factY:-and(factB,factC). 1.0::factZ:-xor(factA,factC). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.003500000000000001,0.09201840368073615,train,impossible,certain,It is impossible that 'Julius is a swan and John went to the office'.,It is certain that 'Julius is a swan and John went to the office'.,0,'Julius is a swan and John went to the office'. There is little chance that Sandra dropped the milk. It is highly likely that Greg is white. We believe that Lily is a lion. There is a very good chance that if 'Sandra dropped the milk' or 'Greg is white' or both then Bernhard is a swan. There is a better than even chance that if either 'Lily is a lion' or 'Greg is white' but not both then Brian is yellow. It is highly unlikely that if 'Sandra dropped the milk and Lily is a lion' then John took the apple.,There is almost no chance that 'Sandra dropped the milk 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.9::factB. 0.75::factC. %hop1 0.8::factX:-or(factA,factB). 0.6::factY:-xor(factC,factB). 0.05::factZ:-and(factA,factC). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.018000000000000002,0.21544308861772354,train,almost no chance,almost certain,There is almost no chance that 'Sandra dropped the milk and Brian is yellow'.,It is almost certain that 'Sandra dropped the milk and Brian is yellow'.,1,'Sandra dropped the milk and Brian is yellow'. It is impossible that Greg is a swan. It is likely that Bernhard is a rhino. It is unlikely that Sandra grabbed the apple. It is almost certain that if 'Sandra grabbed the apple' or 'Bernhard is a rhino' or both then Julius is a swan. It is unlikely that if either 'Greg is a swan' or 'Sandra grabbed the apple' but not both then Winona is a mouse. It is improbable that if either 'Greg is a swan' or 'Sandra grabbed the apple' but not both then Lily is a rhino.,There is a very good chance that either 'Winona is a mouse' or 'Lily 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.7::factB. 0.2::factC. %hop1 0.95::factX:-or(factC,factB). 0.2::factY:-xor(factA,factC). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.052,0.4992998599719944,train,highly unlikely,very good chance,It is highly unlikely that either 'Winona is a mouse' or 'Lily is a rhino' but not both.,There is a very good chance that either 'Winona is a mouse' or 'Lily is a rhino' but not both.,0,Either 'Winona is a mouse' or 'Lily is a rhino' but not both. It is likely that Julius is yellow. There is little chance that Jessica is a cat. Chances are slight that Emily is a sheep. We believe that if 'Julius is yellow' or 'Emily is a sheep' or both then Bernhard is a lion. We doubt that if either 'Julius is yellow' or 'Emily is a sheep' but not both then Lily is gray. Chances are about even that if 'Julius is yellow and Jessica is a cat' then John left the apple.,There is a better than even chance that 'Bernhard is a lion' 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 0.7::factA. 0.1::factB. 0.1::factC. %hop1 0.75::factX:-or(factA,factC). 0.2::factY:-xor(factA,factC). 0.5::factZ:-and(factA,factB). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.5927499999999999,0.1842368473694739,train,better than even,improbable,There is a better than even chance that 'Bernhard is a lion' or 'Jessica is a cat' or both.,It is improbable that 'Bernhard is a lion' or 'Jessica is a cat' or both.,1,'Bernhard is a lion' or 'Jessica is a cat' or both. It is probable that Sandra put down the milk. It is almost certain that Julius is a rhino. Chances are slight that Lily is a rhino. It is almost certain that if 'Julius is a rhino and Lily is a rhino' then Bernhard is a swan. It is highly unlikely that if 'Julius is a rhino' or 'Lily is a rhino' or both then Greg is gray. We believe that if either 'Sandra put down the milk' or 'Julius is a rhino' but not both then John discarded the apple.,It is probably not the case that 'John discarded the apple' or 'Greg 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.95::factB. 0.1::factC. %hop1 0.95::factX:-and(factB,factC). 0.05::factY:-or(factB,factC). 0.75::factZ:-xor(factA,factB). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.2769312500000001,0.6993398679735947,train,probably not,probably,It is probably not the case that 'John discarded the apple' or 'Greg is gray' or both.,It is probably the case that 'John discarded the apple' or 'Greg is gray' or both.,1,'John discarded the apple' or 'Greg is gray' or both. It is unlikely that Brian is yellow. It is unlikely that Lily is a frog. It is impossible that Bill went to the office. It is improbable that if 'Bill went to the office and Brian is yellow' then Greg is a swan. It is certain that if either 'Lily is a frog' or 'Bill went to the office' but not both then Bernhard is a lion. Chances are about even that if 'Brian is yellow' or 'Bill went to the office' or both then Julius is green.,It is probably not the case that either 'Bernhard is a lion' 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.2::factA. 0.2::factB. 0.0::factC. %hop1 0.1::factX:-and(factC,factA). 1.0::factY:-xor(factB,factC). 0.5::factZ:-or(factA,factC). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.26,0.4338867773554711,train,probably not,certain,It is probably not the case that either 'Bernhard is a lion' or 'Julius is green' but not both.,It is certain that either 'Bernhard is a lion' or 'Julius is green' but not both.,1,Either 'Bernhard is a lion' or 'Julius is green' but not both. Chances are about even that Greg is a rhino. There is a better than even chance that Mary discarded the milk. It is unlikely that Julius is white. It is highly unlikely that if either 'Julius is white' or 'Greg is a rhino' but not both then Lily is a swan. It is unlikely that if either 'Greg is a rhino' or 'Mary discarded the milk' but not both then Jeff went to the garden. It is impossible that if either 'Mary discarded the milk' or 'Greg is a rhino' but not both then Bernhard is green.,It is likely that either 'Bernhard is green' 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.5::factA. 0.6::factB. 0.2::factC. %hop1 0.05::factX:-xor(factC,factA). 0.2::factY:-xor(factA,factB). 0.0::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.025,0.4350870174034807,train,almost no chance,likely,There is almost no chance that either 'Bernhard is green' or 'Lily is a swan' but not both.,It is likely that either 'Bernhard is green' or 'Lily is a swan' but not both.,0,Either 'Bernhard is green' or 'Lily is a swan' but not both. It is improbable that Fred went to the garden. It is improbable that Brian is a lion. It is unlikely that Greg is gray. It is improbable that if either 'Fred went to the garden' or 'Greg is gray' but not both then Daniel got the apple. There is almost no chance that if 'Brian is a lion and Fred went to the garden' then Mary left the milk. It is impossible that if 'Fred went to the garden and Brian is a lion' then John moved to the office.,It is probably the case that either 'Brian is a lion' 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.1::factA. 0.1::factB. 0.2::factC. %hop1 0.1::factX:-xor(factA,factC). 0.02::factY:-and(factB,factA). 0.0::factZ:-and(factA,factB). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.18000000000000005,0.6989397879575915,train,unlikely,probably,It is unlikely that either 'Brian is a lion' or 'Fred went to the garden' but not both.,It is probably the case that either 'Brian is a lion' or 'Fred went to the garden' but not both.,0,Either 'Brian is a lion' or 'Fred went to the garden' but not both. Chances are slight that Greg is gray. It is probably the case that Julius is white. There is a better than even chance that Bernhard is a frog. It is unlikely that if 'Julius is white' or 'Bernhard is a frog' or both then Brian is a rhino. We doubt that if 'Bernhard is a frog' or 'Greg is gray' or both then John went to the bedroom. It is probably not the case that if either 'Greg is gray' or 'Julius is white' but not both then Mary got the apple.,It is highly likely that 'Julius is white and John 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.1::factA. 0.7::factB. 0.6::factC. %hop1 0.2::factX:-or(factB,factC). 0.2::factY:-or(factC,factA). 0.25::factZ:-xor(factA,factB). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.08959999999999999,0.47789557911582314,train,chances are slight,highly likely,Chances are slight that 'Julius is white and John went to the bedroom'.,It is highly likely that 'Julius is white and John went to the bedroom'.,0,'Julius is white and John went to the bedroom'. It is likely that Mary took the football. It is certain that John put down the apple. There is a very good chance that Lily is yellow. There is little chance that if 'Mary took the football' or 'John put down the apple' or both then Gertrude is a mouse. It is impossible that if either 'John put down the apple' or 'Mary took the football' but not both then Julius is a lion. There is a better than even chance that if 'Lily is yellow' or 'Mary took the football' or both then Bernhard is a frog.,There is little chance that 'Bernhard is a frog' 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.7::factA. 1.0::factB. 0.8::factC. %hop1 0.1::factX:-or(factA,factB). 0.0::factY:-xor(factB,factA). 0.6::factZ:-or(factC,factA). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.564,0.5981196239247849,train,better than even,little chance,There is a better than even chance that 'Bernhard is a frog' or 'Julius is a lion' or both.,There is little chance that 'Bernhard is a frog' or 'Julius is a lion' or both.,0,'Bernhard is a frog' or 'Julius is a lion' or both. We believe that Gertrude is a sheep. It is probably not the case that Brian is white. There is little chance that Bernhard is a rhino. It is highly unlikely that if either 'Bernhard is a rhino' or 'Brian is white' but not both then Mary left the football. It is probably the case that if 'Bernhard is a rhino and Brian is white' then Lily is a rhino. There is almost no chance that if either 'Brian is white' or 'Gertrude is a sheep' but not both then Sandra got the milk.,It is probable that 'Lily is a rhino 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.75::factA. 0.25::factB. 0.1::factC. %hop1 0.05::factX:-xor(factC,factB). 0.7::factY:-and(factC,factB). 0.02::factZ:-xor(factB,factA). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.0,0.712742548509702,train,impossible,probable,It is impossible that 'Lily is a rhino and Mary left the football'.,It is probable that 'Lily is a rhino and Mary left the football'.,0,'Lily is a rhino and Mary left the football'. We believe that Brian is white. It is unlikely that John moved to the garden. There is a very good chance that Mary went to the office. We doubt that if 'Brian is white and John moved to the garden' then Greg is a swan. It is highly likely that if 'Mary went to the office and John moved to the garden' then Julius is a rhino. It is certain that if 'Mary went to the office' or 'Brian is white' or both then Bernhard is a frog.,It is highly unlikely that either 'Brian is white' 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.75::factA. 0.2::factB. 0.8::factC. %hop1 0.2::factX:-and(factA,factB). 0.9::factY:-and(factC,factB). 1.0::factZ:-or(factC,factA). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.72,0.05701140228045609,train,probable,highly unlikely,It is probable that either 'Brian is white' or 'Greg is a swan' but not both.,It is highly unlikely that either 'Brian is white' or 'Greg is a swan' but not both.,0,Either 'Brian is white' or 'Greg is a swan' but not both. There is a very good chance that Lily is a rhino. It is probable that Antoine is hungry. It is highly likely that Winona is a sheep. Chances are slight that if 'Antoine is hungry and Winona is a sheep' then Jessica is a mouse. Chances are slight that if either 'Winona is a sheep' or 'Antoine is hungry' but not both then Greg is a frog. It is certain that if 'Lily is a rhino and Antoine is hungry' then Bernhard is a swan.,It is likely that 'Lily is a rhino 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.8::factA. 0.7::factB. 0.9::factC. %hop1 0.1::factX:-and(factB,factC). 0.1::factY:-xor(factC,factB). 1.0::factZ:-and(factA,factB). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.05040000000000001,0.704740948189638,train,highly unlikely,likely,It is highly unlikely that 'Lily is a rhino and Jessica is a mouse'.,It is likely that 'Lily is a rhino and Jessica is a mouse'.,0,'Lily is a rhino and Jessica is a mouse'. There is almost no chance that Mary moved to the office. It is improbable that Brian is yellow. It is highly likely that Julius is green. It is certain that if 'Julius is green' or 'Brian is yellow' or both then Winona is a wolf. Chances are about even that if either 'Brian is yellow' or 'Mary moved to the office' but not both then Bernhard is a rhino. It is improbable that if 'Brian is yellow and Julius is green' then Emily is a mouse.,It is likely that either 'Winona is a wolf' 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.02::factA. 0.1::factB. 0.9::factC. %hop1 1.0::factX:-or(factC,factB). 0.5::factY:-xor(factB,factA). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.009999999999999995,0.21304260852170434,train,impossible,likely,It is impossible that either 'Winona is a wolf' or 'Julius is green' but not both.,It is likely that either 'Winona is a wolf' or 'Julius is green' but not both.,0,Either 'Winona is a wolf' or 'Julius is green' but not both. We believe that Winona is a sheep. It is probable that Brian is yellow. It is probably not the case that Greg is white. There is a very good chance that if 'Winona is a sheep and Brian is yellow' then John took the football. It is probable that if 'Greg is white' or 'Brian is yellow' or both then Mary put down the apple. We believe that if either 'Winona is a sheep' or 'Brian is yellow' but not both then Jessica is a cat.,There is almost no chance that either 'Winona is a sheep' 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.75::factA. 0.7::factB. 0.25::factC. %hop1 0.8::factX:-and(factA,factB). 0.7::factY:-or(factC,factB). 0.75::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.625,0.7657531506301261,train,better than even,almost no chance,There is a better than even chance that either 'Winona is a sheep' or 'Greg is white' but not both.,There is almost no chance that either 'Winona is a sheep' or 'Greg is white' but not both.,0,Either 'Winona is a sheep' or 'Greg is white' but not both. It is probable that Sandra took the football. Chances are about even that Jason is tired. Chances are slight that John dropped the apple. It is highly likely that if 'John dropped the apple' or 'Sandra took the football' or both then Bernhard is a rhino. We believe that if either 'John dropped the apple' or 'Sandra took the football' but not both then Greg is a frog. There is little chance that if 'Sandra took the football and Jason is tired' then Lily is a lion.,Chances are about even that either 'Sandra took the football' 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.7::factA. 0.5::factB. 0.1::factC. %hop1 0.9::factX:-or(factC,factA). 0.75::factY:-xor(factC,factA). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.49999999999999994,0.5097019403880776,train,about even,almost certain,Chances are about even that either 'Sandra took the football' or 'Jason is tired' but not both.,It is almost certain that either 'Sandra took the football' or 'Jason is tired' but not both.,1,Either 'Sandra took the football' or 'Jason is tired' but not both. It is probable that Lily is white. Chances are about even that Jessica is a mouse. It is highly likely that Sandra got the milk. It is almost certain that if either 'Sandra got the milk' or 'Lily is white' but not both then Brian is a rhino. There is a better than even chance that if either 'Sandra got the milk' or 'Jessica is a mouse' but not both then Bernhard is a swan. It is highly unlikely that if 'Sandra got the milk' or 'Jessica is a mouse' or both then Mary moved to the garden.,We doubt that either 'Mary moved to the garden' or 'Sandra 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.7::factA. 0.5::factB. 0.9::factC. %hop1 0.95::factX:-xor(factC,factA). 0.6::factY:-xor(factC,factB). 0.05::factZ:-or(factC,factB). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.8575,0.5161032206441288,train,highly likely,we doubt,It is highly likely that either 'Mary moved to the garden' or 'Sandra got the milk' but not both.,We doubt that either 'Mary moved to the garden' or 'Sandra got the milk' but not both.,0,Either 'Mary moved to the garden' or 'Sandra got the milk' but not both. It is probable that Mary moved to the office. We doubt that John took the apple. Chances are slight that Winona is a sheep. It is improbable that if 'John took the apple' or 'Winona is a sheep' or both then Greg is a frog. We doubt that if either 'Mary moved to the office' or 'John took the apple' but not both then Lily is yellow. It is almost certain that if 'Winona is a sheep and John took the apple' then Brian is a swan.,It is certain that 'Greg is a frog' 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.7::factA. 0.2::factB. 0.1::factC. %hop1 0.1::factX:-or(factB,factC). 0.2::factY:-xor(factA,factB). 0.95::factZ:-and(factC,factB). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.11800000000000002,0.7871574314862972,train,little chance,certain,There is little chance that 'Greg is a frog' or 'Winona is a sheep' or both.,It is certain that 'Greg is a frog' or 'Winona is a sheep' or both.,0,'Greg is a frog' or 'Winona is a sheep' or both. It is improbable that Mary dropped the apple. We believe that Julius is white. It is highly likely that Brian is a lion. Chances are about even that if either 'Julius is white' or 'Brian is a lion' but not both then Bernhard is gray. It is certain that if 'Mary dropped the apple' or 'Brian is a lion' or both then Winona is a wolf. It is probably the case that if 'Julius is white and Mary dropped the apple' then Sumit is bored.,There is a very good chance that either 'Sumit is bored' 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.1::factA. 0.75::factB. 0.9::factC. %hop1 0.5::factX:-xor(factB,factC). 1.0::factY:-or(factA,factC). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.19725,0.3006601320264053,train,we doubt,very good chance,We doubt that either 'Sumit is bored' or 'Bernhard is gray' but not both.,There is a very good chance that either 'Sumit is bored' or 'Bernhard is gray' but not both.,0,Either 'Sumit is bored' or 'Bernhard is gray' but not both. It is highly unlikely that Julius is a swan. There is a very good chance that Bernhard is green. We believe that John picked up the milk. It is highly unlikely that if 'Julius is a swan and John picked up the milk' then Mary went to the office. It is impossible that if 'Julius is a swan' or 'John picked up the milk' or both then Sandra dropped the apple. It is almost certain that if 'John picked up the milk and Bernhard is green' then Jeff left the apple.,It is likely that 'John picked up the milk and Sandra 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.05::factA. 0.8::factB. 0.75::factC. %hop1 0.05::factX:-and(factA,factC). 0.0::factY:-or(factA,factC). 0.95::factZ:-and(factC,factB). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.0,0.41608321664332865,train,impossible,likely,It is impossible that 'John picked up the milk and Sandra dropped the apple'.,It is likely that 'John picked up the milk and Sandra dropped the apple'.,0,'John picked up the milk and Sandra dropped the apple'. It is probable that Lily is a rhino. It is likely that Brian is gray. It is improbable that Sumit is bored. We believe that if 'Lily is a rhino' or 'Sumit is bored' or both then Mary is in the hallway. There is little chance that if 'Lily is a rhino' or 'Brian is gray' or both then Greg is green. There is almost no chance that if 'Sumit is bored and Brian is gray' then John took the football.,Chances are slight that 'Brian is gray' 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.7::factA. 0.7::factB. 0.1::factC. %hop1 0.75::factX:-or(factA,factC). 0.1::factY:-or(factA,factB). 0.02::factZ:-and(factC,factB). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.721,0.10742148429685937,train,likely,chances are slight,It is likely that 'Brian is gray' or 'Greg is green' or both.,Chances are slight that 'Brian is gray' or 'Greg is green' or both.,0,'Brian is gray' or 'Greg is green' or both. There is little chance that Daniel got the milk. We believe that Sandra left the milk. It is probably not the case that John went to the kitchen. We doubt that if 'Daniel got the milk and John went to the kitchen' then Julius is white. It is almost certain that if 'John went to the kitchen and Daniel got the milk' then Lily is green. It is probably not the case that if 'John went to the kitchen and Sandra left the milk' then Brian is a lion.,It is certain that 'Daniel got the milk 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.1::factA. 0.75::factB. 0.25::factC. %hop1 0.2::factX:-and(factA,factC). 0.95::factY:-and(factC,factA). 0.25::factZ:-and(factC,factB). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.025000000000000012,0.5515103020604121,train,almost no chance,certain,There is almost no chance that 'Daniel got the milk and John went to the kitchen'.,It is certain that 'Daniel got the milk and John went to the kitchen'.,0,'Daniel got the milk and John went to the kitchen'. It is highly unlikely that Greg is a lion. It is unlikely that Brian is a swan. We doubt that Bernhard is gray. It is almost certain that if 'Bernhard is gray' or 'Brian is a swan' or both then Mary left the football. It is highly likely that if 'Bernhard is gray and Brian is a swan' then John grabbed the apple. It is probably not the case that if 'Brian is a swan and Greg is a lion' then Fred went to the garden.,We believe that 'Mary left the football' or 'Fred 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.05::factA. 0.2::factB. 0.2::factC. %hop1 0.95::factX:-or(factC,factB). 0.9::factY:-and(factC,factB). 0.25::factZ:-and(factB,factA). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.342125,0.006601320264052811,train,probably not,we believe,It is probably not the case that 'Mary left the football' or 'Fred went to the garden' or both.,We believe that 'Mary left the football' or 'Fred went to the garden' or both.,0,'Mary left the football' or 'Fred went to the garden' or both. It is probably the case that John took the football. It is highly unlikely that Emily is a sheep. It is probable that Greg is yellow. It is likely that if 'Greg is yellow and Emily is a sheep' then Lily is a rhino. It is probable that if 'Emily is a sheep' or 'John took the football' or both then Jeff left the football. It is probable that if either 'John took the football' or 'Greg is yellow' but not both then Brian is a swan.,There is almost no chance that 'John took the football 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.05::factB. 0.7::factC. %hop1 0.7::factX:-and(factC,factB). 0.7::factY:-or(factB,factA). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.01714999999999999,0.2788557711542308,train,almost no chance,better than even,There is almost no chance that 'John took the football and Lily is a rhino'.,There is a better than even chance that 'John took the football and Lily is a rhino'.,1,'John took the football and Lily is a rhino'. There is little chance that Daniel got the milk. There is little chance that Jessica is a sheep. There is a very good chance that John went to the garden. It is highly unlikely that if either 'Jessica is a sheep' or 'Daniel got the milk' but not both then Lily is a lion. We doubt that if 'Daniel got the milk' or 'Jessica is a sheep' or both then Brian is green. There is little chance that if 'Daniel got the milk' or 'John went to the garden' or both then Greg is a rhino.,It is probable that either 'Jessica is a sheep' 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.1::factA. 0.1::factB. 0.8::factC. %hop1 0.05::factX:-xor(factB,factA). 0.2::factY:-or(factA,factB). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.18000000000000005,0.4342868573714743,train,unlikely,probable,It is unlikely that either 'Jessica is a sheep' or 'Daniel got the milk' but not both.,It is probable that either 'Jessica is a sheep' or 'Daniel got the milk' but not both.,0,Either 'Jessica is a sheep' or 'Daniel got the milk' but not both. It is unlikely that Jason is thirsty. We doubt that Julius is white. It is certain that Lily is a rhino. There is a better than even chance that if either 'Julius is white' or 'Jason is thirsty' but not both then John put down the milk. We believe that if 'Julius is white and Jason is thirsty' then Greg is a lion. There is little chance that if 'Julius is white and Jason is thirsty' then Jeff left the football.,We believe that 'Greg is a lion' 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.2::factA. 0.2::factB. 1.0::factC. %hop1 0.6::factX:-xor(factB,factA). 0.75::factY:-and(factB,factA). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.2,0.34106821364272855,train,unlikely,we believe,It is unlikely that 'Greg is a lion' or 'Julius is white' or both.,We believe that 'Greg is a lion' or 'Julius is white' or both.,0,'Greg is a lion' or 'Julius is white' or both. It is unlikely that Brian is yellow. Chances are about even that Lily is a swan. It is improbable that Jeff moved to the garden. We doubt that if 'Jeff moved to the garden and Brian is yellow' then John dropped the apple. There is almost no chance that if either 'Jeff moved to the garden' or 'Brian is yellow' but not both then Sandra is in the kitchen. Chances are about even that if 'Jeff moved to the garden and Lily is a swan' then Gertrude is a sheep.,It is impossible that 'Sandra is in the kitchen 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.2::factA. 0.5::factB. 0.1::factC. %hop1 0.2::factX:-and(factC,factA). 0.02::factY:-xor(factC,factA). 0.5::factZ:-and(factC,factB). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.0036,0.6167233446689337,train,impossible,about even,It is impossible that 'Sandra is in the kitchen and Brian is yellow'.,Chances are about even that 'Sandra is in the kitchen and Brian is yellow'.,1,'Sandra is in the kitchen and Brian is yellow'. It is probably the case that John took the football. It is impossible that Mary went to the bedroom. We doubt that Bernhard is yellow. It is almost certain that if 'Mary went to the bedroom' or 'John took the football' or both then Sandra grabbed the apple. There is a better than even chance that if 'Bernhard is yellow' or 'John took the football' or both then Brian is a lion. We believe that if 'Bernhard is yellow and John took the football' then Gertrude is a mouse.,It is probably the case that 'Gertrude is a mouse 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.7::factA. 0.0::factB. 0.2::factC. %hop1 0.95::factX:-or(factB,factA). 0.6::factY:-or(factC,factA). 0.75::factZ:-and(factC,factA). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.06300000000000001,0.09421884376875375,train,highly unlikely,probably,It is highly unlikely that 'Gertrude is a mouse and Brian is a lion'.,It is probably the case that 'Gertrude is a mouse and Brian is a lion'.,0,'Gertrude is a mouse and Brian is a lion'. We believe that Bill left the football. It is probably not the case that Bernhard is yellow. We doubt that Greg is white. There is a very good chance that if 'Bill left the football' or 'Bernhard is yellow' or both then Emily is a cat. It is probably the case that if either 'Bernhard is yellow' or 'Bill left the football' but not both then Julius is green. It is probably the case that if 'Greg is white' or 'Bernhard is yellow' or both then Mary moved to the garden.,We believe that 'Mary moved to the garden' or 'Emily 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.25::factB. 0.2::factC. %hop1 0.8::factX:-or(factA,factB). 0.7::factY:-xor(factB,factA). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.7269999999999999,0.6991398279655932,train,we believe,improbable,We believe that 'Mary moved to the garden' or 'Emily is a cat' or both.,It is improbable that 'Mary moved to the garden' or 'Emily is a cat' or both.,1,'Mary moved to the garden' or 'Emily is a cat' or both. It is highly unlikely that Mary moved to the garden. It is impossible that Julius is gray. It is likely that Lily is green. It is certain that if 'Julius is gray' or 'Lily is green' or both then John dropped the milk. It is highly likely that if either 'Julius is gray' or 'Lily is green' but not both then Daniel got the milk. We doubt that if 'Julius is gray and Mary moved to the garden' then Greg is yellow.,It is highly likely that 'Mary moved to the garden 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.05::factA. 0.0::factB. 0.7::factC. %hop1 1.0::factX:-or(factB,factC). 0.9::factY:-xor(factB,factC). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0,0.10042008401680336,train,impossible,highly likely,It is impossible that 'Mary moved to the garden and Julius is gray'.,It is highly likely that 'Mary moved to the garden and Julius is gray'.,0,'Mary moved to the garden and Julius is gray'. We doubt that Jessica is a cat. We doubt that Jeff dropped the apple. It is improbable that Lily is a frog. It is improbable that if 'Lily is a frog' or 'Jessica is a cat' or both then John left the apple. There is a very good chance that if 'Jeff dropped the apple' or 'Jessica is a cat' or both then Bernhard is green. There is little chance that if 'Jessica is a cat and Lily is a frog' then Julius is a rhino.,It is almost certain that 'John left the apple' 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.2::factA. 0.2::factB. 0.1::factC. %hop1 0.1::factX:-or(factC,factA). 0.8::factY:-or(factB,factA). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.11800000000000002,0.2634526905381076,train,little chance,almost certain,There is little chance that 'John left the apple' or 'Lily is a frog' or both.,It is almost certain that 'John left the apple' or 'Lily is a frog' or both.,0,'John left the apple' or 'Lily is a frog' or both. We doubt that Winona is a mouse. We doubt that Brian is green. It is likely that Bill left the football. It is probably not the case that if either 'Brian is green' or 'Bill left the football' but not both then Mary got the apple. It is probably the case that if either 'Winona is a mouse' or 'Brian is green' but not both then Bernhard is yellow. There is a very good chance that if 'Bill left the football' or 'Brian is green' or both then Lily is a lion.,It is probably the case that either 'Bill left 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.2::factA. 0.2::factB. 0.7::factC. %hop1 0.25::factX:-xor(factB,factC). 0.7::factY:-xor(factA,factB). 0.8::factZ:-or(factC,factB). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.18799999999999997,0.20304060812162433,train,we doubt,probably,We doubt that either 'Bill left the football' or 'Lily is a lion' but not both.,It is probably the case that either 'Bill left the football' or 'Lily is a lion' but not both.,0,Either 'Bill left the football' or 'Lily is a lion' but not both. It is highly likely that Lily is a frog. Chances are slight that Mary went to the hallway. We believe that Brian is yellow. We doubt that if 'Brian is yellow and Lily is a frog' then Julius is a swan. It is likely that if either 'Brian is yellow' or 'Mary went to the hallway' but not both then Jessica is a cat. Chances are slight that if either 'Mary went to the hallway' or 'Brian is yellow' but not both then John picked up the milk.,It is highly unlikely that either 'Mary went to the hallway' 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.9::factA. 0.1::factB. 0.75::factC. %hop1 0.2::factX:-and(factC,factA). 0.7::factY:-xor(factC,factB). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.5549999999999999,0.1862372474494899,train,better than even,highly unlikely,There is a better than even chance that either 'Mary went to the hallway' or 'Jessica is a cat' but not both.,It is highly unlikely that either 'Mary went to the hallway' or 'Jessica is a cat' but not both.,0,Either 'Mary went to the hallway' or 'Jessica is a cat' but not both. It is probable that Lily is a rhino. There is a better than even chance that Julius is a frog. There is almost no chance that Mary went to the office. It is certain that if 'Mary went to the office and Lily is a rhino' then Jessica is a sheep. We doubt that if 'Julius is a frog' or 'Lily is a rhino' or both then John got the milk. It is certain that if 'Julius is a frog' or 'Lily is a rhino' or both then Brian is a swan.,It is improbable that 'Jessica is a sheep' 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.7::factA. 0.6::factB. 0.02::factC. %hop1 1.0::factX:-and(factC,factA). 0.2::factY:-or(factB,factA). 1.0::factZ:-or(factB,factA). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.88,0.75375075015003,train,highly likely,improbable,It is highly likely that 'Jessica is a sheep' or 'Brian is a swan' or both.,It is improbable that 'Jessica is a sheep' or 'Brian is a swan' or both.,0,'Jessica is a sheep' or 'Brian is a swan' or both. It is highly likely that Gertrude is a mouse. It is almost certain that Mary got the football. It is unlikely that John is in the garden. Chances are slight that if 'Mary got the football and Gertrude is a mouse' then Sandra dropped the milk. We doubt that if 'John is in the garden and Mary got the football' then Brian is a swan. It is unlikely that if either 'John is in the garden' or 'Mary got the football' but not both then Lily is white.,It is likely that 'Mary got the football and John is in 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.95::factB. 0.2::factC. %hop1 0.1::factX:-and(factB,factA). 0.2::factY:-and(factC,factB). 0.2::factZ:-xor(factC,factB). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.19,0.5313062612522504,train,we doubt,likely,We doubt that 'Mary got the football and John is in the garden'.,It is likely that 'Mary got the football and John is in the garden'.,0,'Mary got the football and John is in the garden'. It is likely that Lily is a swan. It is likely that Fred went to the garden. It is impossible that Julius is a frog. We believe that if 'Julius is a frog' or 'Fred went to the garden' or both then Bernhard is a lion. It is improbable that if 'Julius is a frog and Lily is a swan' then John picked up the apple. Chances are slight that if either 'Fred went to the garden' or 'Lily is a swan' but not both then Mary put down the apple.,It is likely that either 'Julius is a frog' 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.7::factA. 0.7::factB. 0.0::factC. %hop1 0.75::factX:-or(factC,factB). 0.1::factY:-and(factC,factA). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.7,0.35447089417883576,train,likely,little chance,It is likely that either 'Julius is a frog' or 'Fred went to the garden' but not both.,There is little chance that either 'Julius is a frog' or 'Fred went to the garden' but not both.,1,Either 'Julius is a frog' or 'Fred went to the garden' but not both. It is probable that Gertrude is a cat. It is probably not the case that Bernhard is white. It is probable that Julius is a rhino. It is likely that if 'Bernhard is white and Julius is a rhino' then Sandra got the milk. There is little chance that if 'Bernhard is white' or 'Julius is a rhino' or both then Mary moved to the garden. It is highly likely that if 'Julius is a rhino and Gertrude is a cat' then Brian is a swan.,Chances are about even that 'Julius 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.7::factA. 0.25::factB. 0.7::factC. %hop1 0.7::factX:-and(factB,factC). 0.1::factY:-or(factB,factC). 0.9::factZ:-and(factC,factA). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.44099999999999995,0.1774354870974195,train,about even,impossible,Chances are about even that 'Julius is a rhino and Brian is a swan'.,It is impossible that 'Julius is a rhino and Brian is a swan'.,1,'Julius is a rhino and Brian is a swan'. Chances are about even that Bernhard is green. Chances are about even that Jeff discarded the milk. We doubt that Mary left the milk. It is impossible that if 'Bernhard is green and Mary left the milk' then Winona is a cat. It is improbable that if 'Mary left the milk and Jeff discarded the milk' then John took the football. It is certain that if 'Bernhard is green' or 'Jeff discarded the milk' or both then Julius is a frog.,It is impossible that 'Bernhard is green and John took 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.5::factA. 0.5::factB. 0.2::factC. %hop1 0.0::factX:-and(factA,factC). 0.1::factY:-and(factC,factB). 1.0::factZ:-or(factA,factB). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.005000000000000002,0.45509101820364073,train,impossible,likely,It is impossible that 'Bernhard is green and John took the football'.,It is likely that 'Bernhard is green and John took the football'.,1,'Bernhard is green and John took the football'. It is improbable that Julius is a swan. It is impossible that Mary took the milk. There is a better than even chance that John moved to the garden. It is certain that if 'Mary took the milk' or 'John moved to the garden' or both then Jessica is a mouse. It is probably not the case that if 'Mary took the milk and John moved to the garden' then Daniel got the football. There is almost no chance that if either 'John moved to the garden' or 'Julius is a swan' but not both then Bernhard is green.,It is impossible that 'Julius is a swan 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.1::factA. 0.0::factB. 0.6::factC. %hop1 1.0::factX:-or(factB,factC). 0.25::factY:-and(factB,factC). 0.02::factZ:-xor(factC,factA). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0,0.02540508101620324,train,impossible,about even,It is impossible that 'Julius is a swan and Mary took the milk'.,Chances are about even that 'Julius is a swan and Mary took the milk'.,1,'Julius is a swan and Mary took the milk'. Chances are about even that Mary got the football. It is impossible that Greg is a swan. It is highly likely that Brian is white. It is probably the case that if 'Greg is a swan' or 'Mary got the football' or both then John discarded the apple. It is highly likely that if 'Brian is white and Mary got the football' then Jeff went to the garden. It is impossible that if 'Mary got the football' or 'Greg is a swan' or both then Julius is yellow.,It is probably not the case that 'Julius is yellow' 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.5::factA. 0.0::factB. 0.9::factC. %hop1 0.7::factX:-or(factB,factA). 0.9::factY:-and(factC,factA). 0.0::factZ:-or(factA,factB). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.3499999999999999,0.33746749349869976,train,probably not,certain,It is probably not the case that 'Julius is yellow' or 'John discarded the apple' or both.,It is certain that 'Julius is yellow' or 'John discarded the apple' or both.,1,'Julius is yellow' or 'John discarded the apple' or both. It is highly unlikely that John moved to the garden. It is impossible that Emily is a cat. There is a very good chance that Mary went to the hallway. There is little chance that if either 'Emily is a cat' or 'Mary went to the hallway' but not both then Daniel left the football. It is likely that if 'Emily is a cat' or 'John moved to the garden' or both then Julius is white. There is almost no chance that if 'Mary went to the hallway and John moved to the garden' then Lily is a rhino.,We believe that 'Daniel left the football' 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.05::factA. 0.0::factB. 0.8::factC. %hop1 0.1::factX:-xor(factB,factC). 0.7::factY:-or(factB,factA). 0.02::factZ:-and(factC,factA). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.12600000000000003,0.1270254050810162,train,little chance,we believe,There is little chance that 'Daniel left the football' or 'John moved to the garden' or both.,We believe that 'Daniel left the football' or 'John moved to the garden' or both.,0,'Daniel left the football' or 'John moved to the garden' or both. There is a better than even chance that Greg is a lion. There is a very good chance that Mary got the football. It is probable that Lily is gray. There is a better than even chance that if 'Lily is gray' or 'Greg is a lion' or both then Yann is tired. It is certain that if 'Mary got the football and Greg is a lion' then John dropped the milk. It is improbable that if 'Lily is gray and Greg is a lion' then Brian is yellow.,It is highly unlikely that either 'Greg is a lion' 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.6::factA. 0.8::factB. 0.7::factC. %hop1 0.6::factX:-or(factC,factA). 1.0::factY:-and(factB,factA). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.5579999999999999,0.3302660532106421,train,better than even,highly unlikely,There is a better than even chance that either 'Greg is a lion' or 'Brian is yellow' but not both.,It is highly unlikely that either 'Greg is a lion' or 'Brian is yellow' but not both.,0,Either 'Greg is a lion' or 'Brian is yellow' but not both. It is likely that Brian is white. Chances are slight that John moved to the garden. It is probable that Bernhard is a frog. There is little chance that if 'Brian is white and Bernhard is a frog' then Greg is a rhino. It is probably not the case that if 'Brian is white and John moved to the garden' then Sandra dropped the milk. It is probably not the case that if 'John moved to the garden' or 'Bernhard is a frog' or both then Mary got the football.,We believe that 'Mary got the football 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.7::factA. 0.1::factB. 0.7::factC. %hop1 0.1::factX:-and(factA,factC). 0.25::factY:-and(factA,factB). 0.25::factZ:-or(factB,factC). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.12775,0.16583316663332667,train,little chance,we believe,There is little chance that 'Mary got the football and Brian is white'.,We believe that 'Mary got the football and Brian is white'.,0,'Mary got the football and Brian is white'. It is probable that Bernhard is a swan. Chances are about even that Lily is a rhino. Chances are slight that Sandra left the apple. We believe that if either 'Lily is a rhino' or 'Sandra left the apple' but not both then John put down the milk. It is almost certain that if either 'Lily is a rhino' or 'Sandra left the apple' but not both then Julius is a lion. It is likely that if either 'Bernhard is a swan' or 'Lily is a rhino' but not both then Brian is yellow.,Chances are about even that either 'Sandra left the apple' 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.7::factA. 0.5::factB. 0.1::factC. %hop1 0.75::factX:-xor(factB,factC). 0.95::factY:-xor(factB,factC). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.4,0.530506101220244,train,about even,highly unlikely,Chances are about even that either 'Sandra left the apple' or 'John put down the milk' but not both.,It is highly unlikely that either 'Sandra left the apple' or 'John put down the milk' but not both.,1,Either 'Sandra left the apple' or 'John put down the milk' but not both. It is certain that Mary got the apple. It is probably not the case that Emily is a wolf. Chances are about even that John left the milk. It is unlikely that if either 'Mary got the apple' or 'John left the milk' but not both then Lily is a swan. We doubt that if either 'Emily is a wolf' or 'Mary got the apple' but not both then Julius is a swan. It is probably not the case that if 'Emily is a wolf and Mary got the apple' then Bernhard is a lion.,It is probably not the case that 'Julius is a swan' 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 1.0::factA. 0.25::factB. 0.5::factC. %hop1 0.2::factX:-xor(factA,factC). 0.2::factY:-xor(factB,factA). 0.25::factZ:-and(factB,factA). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.235,0.4708941788357672,train,probably not,very good chance,It is probably not the case that 'Julius is a swan' or 'Lily is a swan' or both.,There is a very good chance that 'Julius is a swan' or 'Lily is a swan' or both.,1,'Julius is a swan' or 'Lily is a swan' or both. We believe that Mary went to the hallway. It is probably not the case that Brian is a rhino. It is certain that John put down the apple. There is little chance that if 'John put down the apple and Mary went to the hallway' then Bill got the milk there. It is probably not the case that if either 'John put down the apple' or 'Brian is a rhino' but not both then Fred left the football. It is probably not the case that if 'Brian is a rhino' or 'Mary went to the hallway' or both then Lily is a frog.,There is almost no chance that either 'Fred left the football' 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.25::factB. 1.0::factC. %hop1 0.1::factX:-and(factC,factA). 0.25::factY:-xor(factC,factB). 0.25::factZ:-or(factB,factA). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.4375,0.3180636127225445,train,about even,almost no chance,Chances are about even that either 'Fred left the football' or 'Brian is a rhino' but not both.,There is almost no chance that either 'Fred left the football' or 'Brian is a rhino' but not both.,0,Either 'Fred left the football' or 'Brian is a rhino' but not both. It is impossible that Daniel dropped the milk. There is almost no chance that John took the apple. It is certain that Julius is a frog. There is a better than even chance that if either 'John took the apple' or 'Daniel dropped the milk' but not both then Bernhard is white. It is highly unlikely that if 'Daniel dropped the milk' or 'Julius is a frog' or both then Bill went to the office. There is a better than even chance that if 'Julius is a frog and Daniel dropped the milk' then Lily is a lion.,It is certain that either 'Julius is a frog' 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.0::factA. 0.02::factB. 1.0::factC. %hop1 0.6::factX:-xor(factB,factA). 0.05::factY:-or(factA,factC). 0.6::factZ:-and(factC,factA). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",1.0,0.45549109821964395,train,certain,impossible,It is certain that either 'Julius is a frog' or 'Lily is a lion' but not both.,It is impossible that either 'Julius is a frog' or 'Lily is a lion' but not both.,1,Either 'Julius is a frog' or 'Lily is a lion' but not both. It is unlikely that Greg is yellow. It is likely that Sandra put down the milk. There is almost no chance that John picked up the apple. It is probably the case that if 'Sandra put down the milk' or 'Greg is yellow' or both then Bernhard is a swan. It is probable that if either 'Greg is yellow' or 'Sandra put down the milk' but not both then Mary discarded the milk. We doubt that if either 'John picked up the apple' or 'Greg is yellow' but not both then Lily is a rhino.,It is probable that either 'John picked up the apple' or 'Sandra 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.2::factA. 0.7::factB. 0.02::factC. %hop1 0.7::factX:-or(factB,factA). 0.7::factY:-xor(factA,factB). 0.2::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.692,0.2950590118023605,train,probable,almost no chance,It is probable that either 'John picked up the apple' or 'Sandra put down the milk' but not both.,There is almost no chance that either 'John picked up the apple' or 'Sandra put down the milk' but not both.,1,Either 'John picked up the apple' or 'Sandra put down the milk' but not both. It is certain that Bernhard is a lion. Chances are slight that Bill went to the garden. Chances are slight that Greg is a rhino. We doubt that if 'Bernhard is a lion and Bill went to the garden' then Sandra took the football. There is little chance that if 'Bernhard is a lion and Greg is a rhino' then Brian is a swan. Chances are slight that if 'Bernhard is a lion and Greg is a rhino' then John left the apple.,It is highly likely that 'Bill went to the garden 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 1.0::factA. 0.1::factB. 0.1::factC. %hop1 0.2::factX:-and(factA,factB). 0.1::factY:-and(factA,factC). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.010000000000000004,0.7149429885977195,train,almost no chance,highly likely,There is almost no chance that 'Bill went to the garden and Greg is a rhino'.,It is highly likely that 'Bill went to the garden and Greg is a rhino'.,0,'Bill went to the garden and Greg is a rhino'. It is certain that Mary went to the office. It is probably not the case that Emily is a wolf. It is probable that John dropped the apple. It is highly unlikely that if 'Mary went to the office' or 'John dropped the apple' or both then Greg is a swan. It is highly likely that if 'John dropped the apple and Mary went to the office' then Bill left the football. It is unlikely that if 'John dropped the apple' or 'Mary went to the office' or both then Brian is a rhino.,Chances are about even that 'Mary went to the office' 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.25::factB. 0.7::factC. %hop1 0.05::factX:-or(factA,factC). 0.9::factY:-and(factC,factA). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-or(factA,factX). query(conclusion). ",1.0,0.4860972194438888,train,certain,about even,It is certain that 'Mary went to the office' or 'Greg is a swan' or both.,Chances are about even that 'Mary went to the office' or 'Greg is a swan' or both.,0,'Mary went to the office' or 'Greg is a swan' or both. We doubt that Bernhard is a frog. There is almost no chance that John dropped the apple. There is a very good chance that Brian is green. It is probable that if either 'Brian is green' or 'John dropped the apple' but not both then Winona is a mouse. Chances are about even that if 'Brian is green and John dropped the apple' then Julius is white. It is highly unlikely that if either 'Brian is green' or 'John dropped the apple' but not both then Bill left the milk.,It is highly unlikely that either 'John dropped the apple' or 'Bill 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.8::factC. %hop1 0.7::factX:-xor(factC,factB). 0.5::factY:-and(factC,factB). 0.05::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.059000000000000004,0.28125625125025006,train,highly unlikely,highly likely,It is highly unlikely that either 'John dropped the apple' or 'Bill left the milk' but not both.,It is highly likely that either 'John dropped the apple' or 'Bill left the milk' but not both.,1,Either 'John dropped the apple' or 'Bill left the milk' but not both. Chances are slight that Mary went to the garden. It is likely that Gertrude is a cat. It is almost certain that Lily is a swan. There is little chance that if either 'Mary went to the garden' or 'Lily is a swan' but not both then Brian is green. It is highly unlikely that if 'Lily is a swan and Gertrude is a cat' then Julius is a lion. There is almost no chance that if either 'Gertrude is a cat' or 'Mary went to the garden' but not both then John took the football.,Chances are slight that 'Mary went to the garden' 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.1::factA. 0.7::factB. 0.95::factC. %hop1 0.1::factX:-xor(factA,factC). 0.05::factY:-and(factC,factB). 0.02::factZ:-xor(factB,factA). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.12992500000000004,0.5715143028605721,train,chances are slight,probably,Chances are slight that 'Mary went to the garden' or 'Julius is a lion' or both.,It is probably the case that 'Mary went to the garden' or 'Julius is a lion' or both.,1,'Mary went to the garden' or 'Julius is a lion' or both. It is certain that Greg is yellow. It is improbable that Julius is a rhino. It is certain that Daniel got the milk. There is little chance that if either 'Daniel got the milk' or 'Greg is yellow' but not both then Bernhard is a swan. It is almost certain that if 'Greg is yellow' or 'Daniel got the milk' or both then John dropped the apple. There is almost no chance that if either 'Julius is a rhino' or 'Greg is yellow' but not both then Lily is a lion.,It is almost certain that 'John dropped 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 1.0::factA. 0.1::factB. 1.0::factC. %hop1 0.1::factX:-xor(factC,factA). 0.95::factY:-or(factA,factC). 0.02::factZ:-xor(factB,factA). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.955,0.7045409081816363,train,almost certain,unlikely,It is almost certain that 'John dropped the apple' or 'Julius is a rhino' or both.,It is unlikely that 'John dropped the apple' or 'Julius is a rhino' or both.,1,'John dropped the apple' or 'Julius is a rhino' or both. There is a better than even chance that Brian is a rhino. It is probably not the case that Greg is gray. It is probably not the case that Bernhard is green. It is probable that if 'Bernhard is green and Greg is gray' then Jessica is a sheep. There is a better than even chance that if either 'Greg is gray' or 'Bernhard is green' but not both then Mary moved to the garden. It is probably the case that if either 'Greg is gray' or 'Bernhard is green' but not both then Lily is a swan.,It is almost certain that either 'Mary moved to the garden' or 'Greg 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.25::factB. 0.25::factC. %hop1 0.7::factX:-and(factC,factB). 0.6::factY:-xor(factB,factC). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.25000000000000006,0.4690938187637528,train,probably not,almost certain,It is probably not the case that either 'Mary moved to the garden' or 'Greg is gray' but not both.,It is almost certain that either 'Mary moved to the garden' or 'Greg is gray' but not both.,0,Either 'Mary moved to the garden' or 'Greg is gray' but not both. There is little chance that Brian is green. It is improbable that Bernhard is a lion. Chances are about even that Gertrude is a mouse. There is a better than even chance that if 'Brian is green' or 'Bernhard is a lion' or both then Sumit is hungry. We doubt that if 'Bernhard is a lion and Brian is green' then Lily is yellow. There is a better than even chance that if 'Brian is green' or 'Gertrude is a mouse' or both then John got the apple.,It is probably the case that 'Sumit is hungry 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.1::factA. 0.1::factB. 0.5::factC. %hop1 0.6::factX:-or(factA,factB). 0.2::factY:-and(factB,factA). 0.6::factZ:-or(factA,factC). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.0012000000000000005,0.10762152430486097,train,impossible,probably,It is impossible that 'Sumit is hungry and Lily is yellow'.,It is probably the case that 'Sumit is hungry and Lily is yellow'.,0,'Sumit is hungry and Lily is yellow'. It is impossible that Brian is white. Chances are slight that Bernhard is gray. There is little chance that John got the apple. It is almost certain that if 'John got the apple and Bernhard is gray' then Winona is a mouse. Chances are about even that if either 'John got the apple' or 'Bernhard is gray' but not both then Mary took the milk. It is highly likely that if 'John got the apple' or 'Brian is white' or both then Greg is a lion.,We doubt that either 'John got the apple' 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.0::factA. 0.1::factB. 0.1::factC. %hop1 0.95::factX:-and(factC,factB). 0.5::factY:-xor(factC,factB). 0.9::factZ:-or(factC,factA). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.18000000000000005,0.35147029405881175,train,we doubt,we believe,We doubt that either 'John got the apple' or 'Bernhard is gray' but not both.,We believe that either 'John got the apple' or 'Bernhard is gray' but not both.,1,Either 'John got the apple' or 'Bernhard is gray' but not both. It is impossible that Sandra took the milk. It is highly likely that Greg is a frog. We believe that John moved to the office. We believe that if 'John moved to the office' or 'Greg is a frog' or both then Bernhard is gray. It is unlikely that if either 'Greg is a frog' or 'Sandra took the milk' but not both then Brian is green. There is little chance that if either 'Greg is a frog' or 'John moved to the office' but not both then Mary went to the bedroom.,There is a very good chance that 'Bernhard is gray' 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.9::factB. 0.75::factC. %hop1 0.75::factX:-or(factC,factB). 0.2::factY:-xor(factB,factA). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.77625,0.5947189437887578,train,very good chance,probably not,There is a very good chance that 'Bernhard is gray' or 'Brian is green' or both.,It is probably not the case that 'Bernhard is gray' or 'Brian is green' or both.,1,'Bernhard is gray' or 'Brian is green' or both. It is certain that Jeff moved to the garden. There is a better than even chance that Mary discarded the milk. There is little chance that John put down the apple. It is impossible that if 'John put down the apple and Mary discarded the milk' then Emily is a cat. There is a better than even chance that if 'Jeff moved to the garden' or 'John put down the apple' or both then Brian is yellow. There is little chance that if 'Mary discarded the milk' or 'Jeff moved to the garden' or both then Greg is a rhino.,It is highly unlikely that either 'Mary discarded 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 1.0::factA. 0.6::factB. 0.1::factC. %hop1 0.0::factX:-and(factC,factB). 0.6::factY:-or(factA,factC). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.58,0.04400880176035207,train,better than even,highly unlikely,There is a better than even chance that either 'Mary discarded the milk' or 'Greg is a rhino' but not both.,It is highly unlikely that either 'Mary discarded the milk' or 'Greg is a rhino' but not both.,0,Either 'Mary discarded the milk' or 'Greg is a rhino' but not both. There is a very good chance that Mary went to the kitchen. It is probable that Jeff moved to the office. There is little chance that Brian is a swan. It is likely that if either 'Jeff moved to the office' or 'Mary went to the kitchen' but not both then Gertrude is a cat. Chances are slight that if 'Jeff moved to the office' or 'Brian is a swan' or both then Winona is a mouse. It is probably the case that if either 'Brian is a swan' or 'Mary went to the kitchen' but not both then Lily is a rhino.,It is probably the case that 'Mary went to the kitchen 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.7::factB. 0.1::factC. %hop1 0.7::factX:-xor(factB,factA). 0.1::factY:-or(factB,factC). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.08000000000000002,0.10982196439287857,train,improbable,probably,It is improbable that 'Mary went to the kitchen and Brian is a swan'.,It is probably the case that 'Mary went to the kitchen and Brian is a swan'.,0,'Mary went to the kitchen and Brian is a swan'. It is certain that Greg is a swan. There is a better than even chance that Yann is tired. There is a better than even chance that Daniel dropped the apple. It is probably not the case that if 'Daniel dropped the apple' or 'Greg is a swan' or both then Julius is gray. It is improbable that if 'Yann is tired' or 'Daniel dropped the apple' or both then Brian is green. It is likely that if 'Daniel dropped the apple and Greg is a swan' then Gertrude is a cat.,There is a better than even chance that 'Gertrude is a cat' 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 1.0::factA. 0.6::factB. 0.6::factC. %hop1 0.25::factX:-or(factC,factA). 0.1::factY:-or(factB,factC). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.6,0.2970594118823765,train,better than even,highly unlikely,There is a better than even chance that 'Gertrude is a cat' or 'Daniel dropped the apple' or both.,It is highly unlikely that 'Gertrude is a cat' or 'Daniel dropped the apple' or both.,1,'Gertrude is a cat' or 'Daniel dropped the apple' or both. There is almost no chance that Jason is tired. It is certain that Gertrude is a sheep. We believe that Bernhard is green. It is improbable that if 'Bernhard is green' or 'Gertrude is a sheep' or both then Jessica is a cat. Chances are slight that if 'Bernhard is green and Jason is tired' then Brian is white. It is almost certain that if 'Gertrude is a sheep' or 'Bernhard is green' or both then Mary left the apple.,There is little chance that 'Bernhard is green 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.02::factA. 1.0::factB. 0.75::factC. %hop1 0.1::factX:-or(factC,factB). 0.1::factY:-and(factC,factA). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.07500000000000002,0.04600920184036807,train,little chance,probable,There is little chance that 'Bernhard is green and Jessica is a cat'.,It is probable that 'Bernhard is green and Jessica is a cat'.,1,'Bernhard is green and Jessica is a cat'. It is impossible that Jeff moved to the garden. Chances are slight that Sandra dropped the milk. It is likely that Winona is a cat. It is highly unlikely that if either 'Winona is a cat' or 'Jeff moved to the garden' but not both then John discarded the apple. Chances are slight that if either 'Jeff moved to the garden' or 'Sandra dropped the milk' but not both then Lily is a swan. It is probably not the case that if either 'Jeff moved to the garden' or 'Sandra dropped the milk' but not both then Mary is in the bathroom.,It is impossible that 'Jeff moved to the garden and Mary is in the bathroom'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(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.05::factX:-xor(factC,factA). 0.1::factY:-xor(factA,factB). 0.25::factZ:-xor(factA,factB). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.0,0.046609321864372874,train,impossible,probable,It is impossible that 'Jeff moved to the garden and Mary is in the bathroom'.,It is probable that 'Jeff moved to the garden and Mary is in the bathroom'.,1,'Jeff moved to the garden and Mary is in the bathroom'. It is probably not the case that Mary took the football. It is certain that Bernhard is a rhino. It is probably the case that John went to the garden. There is a very good chance that if 'Bernhard is a rhino and John went to the garden' then Jeff dropped the apple. It is almost certain that if either 'Mary took the football' or 'John went to the garden' but not both then Emily is a sheep. It is unlikely that if either 'Bernhard is a rhino' or 'Mary took the football' but not both then Brian is green.,It is certain that 'Bernhard is a rhino' or 'John 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.25::factA. 1.0::factB. 0.7::factC. %hop1 0.8::factX:-and(factB,factC). 0.95::factY:-xor(factA,factC). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-or(factB,factC). query(conclusion). ",1.0,0.11742348469693939,train,certain,chances are slight,It is certain that 'Bernhard is a rhino' or 'John went to the garden' or both.,Chances are slight that 'Bernhard is a rhino' or 'John went to the garden' or both.,1,'Bernhard is a rhino' or 'John went to the garden' or both. It is almost certain that Bernhard is gray. It is probably the case that Bill went to the bedroom. It is highly likely that Greg is white. It is highly unlikely that if 'Bill went to the bedroom and Bernhard is gray' then Julius is a rhino. There is little chance that if 'Greg is white and Bernhard is gray' then Mary moved to the office. Chances are slight that if 'Bill went to the bedroom and Greg is white' then John discarded the milk.,It is probable that 'Bernhard is gray 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.95::factA. 0.7::factB. 0.9::factC. %hop1 0.05::factX:-and(factB,factA). 0.1::factY:-and(factC,factA). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.03325,0.6959391878375675,train,almost no chance,probable,There is almost no chance that 'Bernhard is gray and Julius is a rhino'.,It is probable that 'Bernhard is gray and Julius is a rhino'.,0,'Bernhard is gray and Julius is a rhino'. There is a very good chance that Winona is a mouse. It is certain that Julius is a frog. It is impossible that Greg is yellow. We doubt that if 'Greg is yellow' or 'Julius is a frog' or both then John dropped the milk. It is unlikely that if 'Julius is a frog and Winona is a mouse' then Bernhard is gray. There is a better than even chance that if 'Julius is a frog' or 'Greg is yellow' or both then Mary discarded the milk.,It is unlikely that either 'Winona is a mouse' 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.8::factA. 1.0::factB. 0.0::factC. %hop1 0.2::factX:-or(factC,factB). 0.2::factY:-and(factB,factA). 0.6::factZ:-or(factB,factC). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.8,0.3136627325465093,train,very good chance,unlikely,There is a very good chance that either 'Winona is a mouse' or 'Greg is yellow' but not both.,It is unlikely that either 'Winona is a mouse' or 'Greg is yellow' but not both.,0,Either 'Winona is a mouse' or 'Greg is yellow' but not both. There is a better than even chance that Lily is a rhino. It is unlikely that Mary went to the garden. Chances are slight that Julius is white. It is impossible that if either 'Lily is a rhino' or 'Mary went to the garden' but not both then Emily is a wolf. It is probably the case that if 'Julius is white and Mary went to the garden' then Bernhard is a swan. It is highly unlikely that if 'Julius is white' or 'Lily is a rhino' or both then Greg is green.,It is highly unlikely that 'Lily is a rhino 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.6::factA. 0.2::factB. 0.1::factC. %hop1 0.0::factX:-xor(factA,factB). 0.7::factY:-and(factC,factB). 0.05::factZ:-or(factC,factA). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.06,0.15243048609721943,train,highly unlikely,better than even,It is highly unlikely that 'Lily is a rhino and Julius is white'.,There is a better than even chance that 'Lily is a rhino and Julius is white'.,1,'Lily is a rhino and Julius is white'. It is impossible that Bernhard is a frog. There is a very good chance that Yann is thirsty. It is highly unlikely that Mary went to the hallway. It is probably not the case that if 'Bernhard is a frog and Mary went to the hallway' then Greg is a lion. Chances are slight that if 'Yann is thirsty and Bernhard is a frog' then Daniel dropped the apple. It is unlikely that if 'Bernhard is a frog and Mary went to the hallway' then Julius is yellow.,It is impossible that 'Mary went to the hallway 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.8::factB. 0.05::factC. %hop1 0.25::factX:-and(factA,factC). 0.1::factY:-and(factB,factA). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.0,0.7773554710942189,train,impossible,we believe,It is impossible that 'Mary went to the hallway and Julius is yellow'.,We believe that 'Mary went to the hallway and Julius is yellow'.,1,'Mary went to the hallway and Julius is yellow'. It is probably the case that Greg is gray. It is unlikely that Brian is a swan. It is probable that Daniel got the milk. It is probably not the case that if 'Greg is gray and Brian is a swan' then Yann is tired. There is a very good chance that if 'Daniel got the milk and Brian is a swan' then Bernhard is a rhino. There is almost no chance that if 'Daniel got the milk' or 'Greg is gray' or both then Emily is a wolf.,It is probable that 'Daniel got the milk' or 'Yann 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.7::factA. 0.2::factB. 0.7::factC. %hop1 0.25::factX:-and(factA,factB). 0.8::factY:-and(factC,factB). 0.02::factZ:-or(factC,factA). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.7105,0.048409681936387276,train,probable,impossible,It is probable that 'Daniel got the milk' or 'Yann is tired' or both.,It is impossible that 'Daniel got the milk' or 'Yann is tired' or both.,1,'Daniel got the milk' or 'Yann is tired' or both. We doubt that Mary put down the apple. It is almost certain that Greg is yellow. It is unlikely that Brian is a rhino. It is probably not the case that if either 'Greg is yellow' or 'Mary put down the apple' but not both then Sandra took the milk. It is almost certain that if either 'Mary put down the apple' or 'Brian is a rhino' but not both then Julius is a frog. It is almost certain that if either 'Greg is yellow' or 'Brian is a rhino' but not both then John went to the garden.,It is highly likely that either 'John 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.2::factA. 0.95::factB. 0.2::factC. %hop1 0.25::factX:-xor(factB,factA). 0.95::factY:-xor(factA,factC). 0.95::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.9125,0.4596919383876775,train,highly likely,we doubt,It is highly likely that either 'John went to the garden' or 'Brian is a rhino' but not both.,We doubt that either 'John went to the garden' or 'Brian is a rhino' but not both.,1,Either 'John went to the garden' or 'Brian is a rhino' but not both. It is probable that Julius is gray. It is highly likely that Brian is yellow. Chances are about even that Greg is a swan. There is a very good chance that if 'Julius is gray and Brian is yellow' then Gertrude is a mouse. It is improbable that if 'Julius is gray and Greg is a swan' then Lily is green. It is likely that if either 'Greg is a swan' or 'Brian is yellow' but not both then John left the apple.,It is impossible that 'Brian is yellow' 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.7::factA. 0.9::factB. 0.5::factC. %hop1 0.8::factX:-and(factA,factB). 0.1::factY:-and(factA,factC). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.9034999999999999,0.2740548109621924,train,highly likely,impossible,It is highly likely that 'Brian is yellow' or 'Lily is green' or both.,It is impossible that 'Brian is yellow' or 'Lily is green' or both.,0,'Brian is yellow' or 'Lily is green' or both. Chances are about even that Julius is a lion. It is probably the case that Sumit is tired. It is unlikely that Brian is white. It is unlikely that if either 'Julius is a lion' or 'Sumit is tired' but not both then Greg is green. Chances are about even that if either 'Brian is white' or 'Julius is a lion' but not both then Sandra dropped the milk. There is almost no chance that if 'Julius is a lion' or 'Sumit is tired' or both then John went to the office.,It is almost certain that either 'John went to the office' 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.5::factA. 0.7::factB. 0.2::factC. %hop1 0.2::factX:-xor(factA,factB). 0.5::factY:-xor(factC,factA). 0.02::factZ:-or(factA,factB). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.2576,0.26125225045009004,train,probably not,almost certain,It is probably not the case that either 'John went to the office' or 'Sandra dropped the milk' but not both.,It is almost certain that either 'John went to the office' or 'Sandra dropped the milk' but not both.,0,Either 'John went to the office' or 'Sandra dropped the milk' but not both. It is unlikely that Lily is green. It is certain that Jason is tired. We believe that Mary got the apple. Chances are about even that if either 'Jason is tired' or 'Lily is green' but not both then John went to the kitchen. Chances are slight that if 'Mary got the apple' or 'Lily is green' or both then Greg is a rhino. There is a better than even chance that if 'Lily is green' or 'Mary got the apple' or both then Bernhard is white.,It is improbable that 'Lily is green 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. 1.0::factB. 0.75::factC. %hop1 0.5::factX:-xor(factB,factA). 0.1::factY:-or(factC,factA). 0.6::factZ:-or(factA,factC). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.12000000000000001,0.5679135827165434,train,improbable,very good chance,It is improbable that 'Lily is green and Bernhard is white'.,There is a very good chance that 'Lily is green and Bernhard is white'.,1,'Lily is green and Bernhard is white'. It is highly likely that Julius is a lion. We believe that Greg is a frog. Chances are slight that John moved to the office. There is almost no chance that if 'Greg is a frog' or 'Julius is a lion' or both then Lily is a rhino. There is a better than even chance that if 'Greg is a frog' or 'Julius is a lion' or both then Mary put down the milk. It is impossible that if either 'John moved to the office' or 'Julius is a lion' but not both then Brian is yellow.,There is almost no chance that either 'Mary put down the milk' 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.9::factA. 0.75::factB. 0.1::factC. %hop1 0.02::factX:-or(factB,factA). 0.6::factY:-or(factB,factA). 0.0::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.405,0.11402280456091218,train,about even,almost no chance,Chances are about even that either 'Mary put down the milk' or 'Julius is a lion' but not both.,There is almost no chance that either 'Mary put down the milk' or 'Julius is a lion' but not both.,0,Either 'Mary put down the milk' or 'Julius is a lion' but not both. Chances are about even that John left the milk. Chances are about even that Julius is white. There is a very good chance that Lily is a rhino. There is almost no chance that if 'Julius is white and John left the milk' then Mary got the football. Chances are about even that if either 'Lily is a rhino' or 'Julius is white' but not both then Brian is yellow. It is highly unlikely that if either 'John left the milk' or 'Lily is a rhino' but not both then Greg is a swan.,There is a very good chance that either 'Greg is a swan' or 'Lily 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.5::factA. 0.5::factB. 0.8::factC. %hop1 0.02::factX:-and(factB,factA). 0.5::factY:-xor(factC,factB). 0.05::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.785,0.03640728145629126,train,very good chance,impossible,There is a very good chance that either 'Greg is a swan' or 'Lily is a rhino' but not both.,It is impossible that either 'Greg is a swan' or 'Lily is a rhino' but not both.,1,Either 'Greg is a swan' or 'Lily is a rhino' but not both. Chances are slight that Mary left the milk. It is probably the case that Daniel took the apple. There is a better than even chance that Fred moved to the office. Chances are slight that if 'Fred moved to the office and Mary left the milk' then Bernhard is a swan. It is probably not the case that if 'Mary left the milk' or 'Fred moved to the office' or both then Winona is a mouse. There is almost no chance that if 'Mary left the milk' or 'Daniel took the apple' or both then Greg is a frog.,It is improbable that 'Greg is a frog' or 'Daniel 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.1::factA. 0.7::factB. 0.6::factC. %hop1 0.1::factX:-and(factC,factA). 0.25::factY:-or(factA,factC). 0.02::factZ:-or(factA,factB). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.7006,0.7625525105021004,train,likely,improbable,It is likely that 'Greg is a frog' or 'Daniel took the apple' or both.,It is improbable that 'Greg is a frog' or 'Daniel took the apple' or both.,0,'Greg is a frog' or 'Daniel took the apple' or both. We doubt that Lily is white. It is impossible that John took the football. It is likely that Mary discarded the apple. There is a very good chance that if either 'Mary discarded the apple' or 'Lily is white' but not both then Bernhard is gray. It is probably not the case that if 'Lily is white' or 'John took the football' or both then Julius is a frog. It is highly likely that if either 'John took the football' or 'Mary discarded the apple' but not both then Brian is a rhino.,There is a very good chance that either 'John took the football' or 'Lily 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.0::factB. 0.7::factC. %hop1 0.8::factX:-xor(factC,factA). 0.25::factY:-or(factA,factB). 0.9::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.2,0.595119023804761,train,we doubt,very good chance,We doubt that either 'John took the football' or 'Lily is white' but not both.,There is a very good chance that either 'John took the football' or 'Lily is white' but not both.,0,Either 'John took the football' or 'Lily is white' but not both. There is little chance that Lily is yellow. It is highly likely that Brian is a lion. There is a very good chance that Fred is in the school. There is almost no chance that if either 'Lily is yellow' or 'Fred is in the school' but not both then Mary dropped the milk. There is a very good chance that if 'Lily is yellow' or 'Brian is a lion' or both then Jessica is a cat. There is little chance that if 'Lily is yellow and Fred is in the school' then Greg is a swan.,It is probable that 'Fred is in the school 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.1::factA. 0.9::factB. 0.8::factC. %hop1 0.02::factX:-xor(factA,factC). 0.8::factY:-or(factA,factB). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.7200000000000001,0.1890378075615123,train,probable,improbable,It is probable that 'Fred is in the school and Brian is a lion'.,It is improbable that 'Fred is in the school and Brian is a lion'.,1,'Fred is in the school and Brian is a lion'. It is highly likely that Fred is in the office. It is unlikely that Bernhard is yellow. There is a very good chance that John took the football. It is highly likely that if either 'Fred is in the office' or 'John took the football' but not both then Mary went to the kitchen. It is probably not the case that if 'Fred is in the office and Bernhard is yellow' then Jessica is a sheep. There is a very good chance that if either 'Fred is in the office' or 'Bernhard is yellow' but not both then Brian is gray.,It is probably not the case that either 'John took the football' or 'Fred is in 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.9::factA. 0.2::factB. 0.8::factC. %hop1 0.9::factX:-xor(factA,factC). 0.25::factY:-and(factA,factB). 0.8::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.25999999999999995,0.6137227445489097,train,probably not,likely,It is probably not the case that either 'John took the football' or 'Fred is in the office' but not both.,It is likely that either 'John took the football' or 'Fred is in the office' but not both.,1,Either 'John took the football' or 'Fred is in the office' but not both. It is highly unlikely that John went to the bedroom. It is impossible that Greg is a frog. There is almost no chance that Bernhard is green. It is probably not the case that if either 'John went to the bedroom' or 'Greg is a frog' but not both then Julius is a swan. Chances are about even that if 'Bernhard is green' or 'Greg is a frog' or both then Fred left the football. Chances are about even that if 'John went to the bedroom and Greg is a frog' then Sandra dropped the apple.,There is almost no chance that either 'Greg 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.05::factA. 0.0::factB. 0.02::factC. %hop1 0.25::factX:-xor(factA,factB). 0.5::factY:-or(factC,factB). 0.5::factZ:-and(factA,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.012500000000000006,0.3146629325865173,train,almost no chance,certain,There is almost no chance that either 'Greg is a frog' or 'Julius is a swan' but not both.,It is certain that either 'Greg is a frog' or 'Julius is a swan' but not both.,1,Either 'Greg is a frog' or 'Julius is a swan' but not both. There is a very good chance that John got the apple. Chances are about even that Bernhard is a frog. It is likely that Lily is white. It is certain that if either 'Bernhard is a frog' or 'John got the apple' but not both then Brian is green. It is probably the case that if 'Bernhard is a frog' or 'John got the apple' or both then Julius is a lion. It is highly unlikely that if either 'John got the apple' or 'Bernhard is a frog' but not both then Mary went to the garden.,It is improbable that 'John got the apple 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.8::factA. 0.5::factB. 0.7::factC. %hop1 1.0::factX:-xor(factB,factA). 0.7::factY:-or(factB,factA). 0.05::factZ:-xor(factA,factB). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.5599999999999999,0.3826765353070614,train,better than even,improbable,There is a better than even chance that 'John got the apple and Julius is a lion'.,It is improbable that 'John got the apple and Julius is a lion'.,0,'John got the apple and Julius is a lion'. It is certain that Brian is a frog. It is probably not the case that Jason is tired. Chances are slight that John took the football. It is highly unlikely that if 'Brian is a frog' or 'John took the football' or both then Sumit is thirsty. There is a very good chance that if either 'Jason is tired' or 'John took the football' but not both then Bernhard is yellow. It is certain that if either 'Brian is a frog' or 'John took the football' but not both then Mary went to the hallway.,It is improbable that either 'Mary went to the hallway' 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 1.0::factA. 0.25::factB. 0.1::factC. %hop1 0.05::factX:-or(factA,factC). 0.8::factY:-xor(factB,factC). 1.0::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.78,0.21504300860172035,train,very good chance,improbable,There is a very good chance that either 'Mary went to the hallway' or 'Bernhard is yellow' but not both.,It is improbable that either 'Mary went to the hallway' or 'Bernhard is yellow' but not both.,0,Either 'Mary went to the hallway' or 'Bernhard is yellow' but not both. It is probable that Jeff moved to the garden. We doubt that Mary got the football. There is little chance that John discarded the milk. It is certain that if 'John discarded the milk and Mary got the football' then Bernhard is a frog. It is probably the case that if either 'John discarded the milk' or 'Jeff moved to the garden' but not both then Julius is a swan. It is certain that if 'Jeff moved to the garden and John discarded the milk' then Lily is green.,There is little chance that 'Mary got the football' or 'Jeff 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.2::factB. 0.1::factC. %hop1 1.0::factX:-and(factC,factB). 0.7::factY:-xor(factC,factA). 1.0::factZ:-and(factA,factC). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.76,0.7649529905981196,train,we believe,little chance,We believe that 'Mary got the football' or 'Jeff moved to the garden' or both.,There is little chance that 'Mary got the football' or 'Jeff moved to the garden' or both.,0,'Mary got the football' or 'Jeff moved to the garden' or both. It is probable that Lily is yellow. It is impossible that Jessica is a cat. It is probably not the case that John went to the hallway. Chances are about even that if either 'Jessica is a cat' or 'Lily is yellow' but not both then Winona is a mouse. It is certain that if 'Lily is yellow and Jessica is a cat' then Brian is a rhino. It is improbable that if 'Jessica is a cat and Lily is yellow' then Daniel took the football.,It is probably not the case that 'Brian is a rhino' 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.7::factA. 0.0::factB. 0.25::factC. %hop1 0.5::factX:-xor(factB,factA). 1.0::factY:-and(factA,factB). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.25,0.5647129425885177,train,probably not,certain,It is probably not the case that 'Brian is a rhino' or 'John went to the hallway' or both.,It is certain that 'Brian is a rhino' or 'John went to the hallway' or both.,1,'Brian is a rhino' or 'John went to the hallway' or both. It is certain that Antoine is hungry. Chances are slight that Bernhard is green. Chances are about even that Mary moved to the garden. It is almost certain that if 'Mary moved to the garden and Bernhard is green' then Lily is a rhino. It is highly likely that if either 'Bernhard is green' or 'Antoine is hungry' but not both then Julius is yellow. We doubt that if 'Antoine is hungry' or 'Bernhard is green' or both then John left the milk.,There is a very good chance that 'John left the milk' 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 1.0::factA. 0.1::factB. 0.5::factC. %hop1 0.95::factX:-and(factC,factB). 0.9::factY:-xor(factB,factA). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.23800000000000002,0.6941388277655531,train,probably not,very good chance,It is probably not the case that 'John left the milk' or 'Lily is a rhino' or both.,There is a very good chance that 'John left the milk' or 'Lily is a rhino' or both.,0,'John left the milk' or 'Lily is a rhino' or both. It is improbable that Jeff moved to the garden. There is almost no chance that Mary went to the office. There is little chance that John grabbed the milk. Chances are slight that if 'John grabbed the milk' or 'Jeff moved to the garden' or both then Daniel dropped the apple. There is almost no chance that if either 'John grabbed the milk' or 'Jeff moved to the garden' but not both then Sandra got the football. There is almost no chance that if 'Mary went to the office and Jeff moved to the garden' then Julius is a swan.,It is highly likely that 'Mary went to the office' 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.1::factA. 0.02::factB. 0.1::factC. %hop1 0.1::factX:-or(factC,factA). 0.02::factY:-xor(factC,factA). 0.02::factZ:-and(factB,factA). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.023528000000000007,0.6883376675335067,train,almost no chance,highly likely,There is almost no chance that 'Mary went to the office' or 'Sandra got the football' or both.,It is highly likely that 'Mary went to the office' or 'Sandra got the football' or both.,0,'Mary went to the office' or 'Sandra got the football' or both. It is highly likely that Lily is a rhino. It is highly likely that Julius is a frog. It is impossible that Brian is a lion. We doubt that if either 'Lily is a rhino' or 'Julius is a frog' but not both then Emily is a cat. It is highly likely that if 'Lily is a rhino' or 'Julius is a frog' or both then Jeff left the apple. It is probably not the case that if 'Brian is a lion and Julius is a frog' then Bernhard is yellow.,It is highly likely that 'Emily is a cat' or 'Bernhard 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.9::factA. 0.9::factB. 0.0::factC. %hop1 0.2::factX:-xor(factA,factB). 0.9::factY:-or(factA,factB). 0.25::factZ:-and(factC,factB). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.036000000000000004,0.7413482696539307,train,highly unlikely,highly likely,It is highly unlikely that 'Emily is a cat' or 'Bernhard is yellow' or both.,It is highly likely that 'Emily is a cat' or 'Bernhard is yellow' or both.,0,'Emily is a cat' or 'Bernhard is yellow' or both. There is a very good chance that Julius is a frog. It is highly unlikely that Brian is a swan. Chances are slight that Lily is green. It is probably not the case that if 'Julius is a frog' or 'Lily is green' or both then Daniel left the apple. There is a very good chance that if either 'Lily is green' or 'Brian is a swan' but not both then John took the milk. We doubt that if 'Julius is a frog and Brian is a swan' then Mary went to the bedroom.,There is a very good chance that either 'Julius is a frog' 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.05::factB. 0.1::factC. %hop1 0.25::factX:-or(factA,factC). 0.8::factY:-xor(factC,factB). 0.2::factZ:-and(factA,factB). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.792,0.740748149629926,train,very good chance,unlikely,There is a very good chance that either 'Julius is a frog' or 'Mary went to the bedroom' but not both.,It is unlikely that either 'Julius is a frog' or 'Mary went to the bedroom' but not both.,1,Either 'Julius is a frog' or 'Mary went to the bedroom' but not both. It is highly unlikely that Greg is yellow. It is probably the case that Brian is white. We doubt that Bernhard is a swan. It is probably not the case that if 'Greg is yellow' or 'Brian is white' or both then Mary grabbed the milk. Chances are slight that if 'Brian is white' or 'Greg is yellow' or both then Julius is a frog. We doubt that if either 'Bernhard is a swan' or 'Brian is white' but not both then John went to the kitchen.,Chances are about even that either 'Mary grabbed the milk' 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.05::factA. 0.7::factB. 0.2::factC. %hop1 0.25::factX:-or(factA,factB). 0.1::factY:-or(factB,factA). 0.2::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.5287499999999999,0.24624924984997,train,about even,certain,Chances are about even that either 'Mary grabbed the milk' or 'Brian is white' but not both.,It is certain that either 'Mary grabbed the milk' or 'Brian is white' but not both.,1,Either 'Mary grabbed the milk' or 'Brian is white' but not both. It is probably not the case that Brian is yellow. It is probably not the case that Lily is white. It is likely that Bernhard is green. It is likely that if 'Brian is yellow and Bernhard is green' then Emily is a mouse. It is improbable that if 'Lily is white and Brian is yellow' then Sandra got the football. It is likely that if 'Lily is white and Brian is yellow' then Greg is a lion.,There is a very good chance that 'Greg is a lion' 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.25::factA. 0.25::factB. 0.7::factC. %hop1 0.7::factX:-and(factA,factC). 0.1::factY:-and(factB,factA). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.25,0.6199239847969594,train,probably not,very good chance,It is probably not the case that 'Greg is a lion' or 'Brian is yellow' or both.,There is a very good chance that 'Greg is a lion' or 'Brian is yellow' or both.,0,'Greg is a lion' or 'Brian is yellow' or both. It is impossible that Julius is a rhino. It is likely that Bernhard is green. There is almost no chance that John dropped the apple. It is highly likely that if 'John dropped the apple' or 'Julius is a rhino' or both then Brian is yellow. It is highly likely that if either 'Bernhard is green' or 'John dropped the apple' but not both then Greg is a swan. It is impossible that if 'John dropped the apple' or 'Julius is a rhino' or both then Jeff put down the milk.,It is impossible that 'Julius is a rhino and Jeff 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.02::factC. %hop1 0.9::factX:-or(factC,factA). 0.9::factY:-xor(factB,factC). 0.0::factZ:-or(factC,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.0,0.3812762552510502,train,impossible,very good chance,It is impossible that 'Julius is a rhino and Jeff put down the milk'.,There is a very good chance that 'Julius is a rhino and Jeff put down the milk'.,1,'Julius is a rhino and Jeff put down the milk'. It is likely that Daniel left the milk. It is probably the case that Greg is gray. It is probably the case that John dropped the apple. It is unlikely that if 'Daniel left the milk and Greg is gray' then Jessica is a cat. There is almost no chance that if either 'Daniel left the milk' or 'Greg is gray' but not both then Brian is yellow. There is a very good chance that if either 'John dropped the apple' or 'Greg is gray' but not both then Lily is a rhino.,It is impossible that 'Greg is gray' 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.7::factA. 0.7::factB. 0.7::factC. %hop1 0.2::factX:-and(factA,factB). 0.02::factY:-xor(factA,factB). 0.8::factZ:-xor(factC,factB). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.7041999999999999,0.5003000600120024,train,probably,impossible,It is probably the case that 'Greg is gray' or 'Brian is yellow' or both.,It is impossible that 'Greg is gray' or 'Brian is yellow' or both.,0,'Greg is gray' or 'Brian is yellow' or both. Chances are slight that Bernhard is green. It is unlikely that Lily is yellow. It is likely that John discarded the apple. It is likely that if 'John discarded the apple' or 'Lily is yellow' or both then Fred moved to the office. It is probably not the case that if 'Bernhard is green and Lily is yellow' then Brian is a lion. It is highly likely that if 'Bernhard is green and Lily is yellow' then Mary went to the hallway.,There is a very good chance that 'Mary went to the hallway 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.1::factA. 0.2::factB. 0.7::factC. %hop1 0.7::factX:-or(factC,factB). 0.25::factY:-and(factA,factB). 0.9::factZ:-and(factA,factB). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.018000000000000016,0.513502700540108,train,almost no chance,very good chance,There is almost no chance that 'Mary went to the hallway and Bernhard is green'.,There is a very good chance that 'Mary went to the hallway and Bernhard is green'.,0,'Mary went to the hallway and Bernhard is green'. There is a better than even chance that Brian is green. It is almost certain that Julius is gray. It is improbable that Bernhard is a rhino. There is almost no chance that if either 'Bernhard is a rhino' or 'Julius is gray' but not both then Winona is a mouse. Chances are about even that if either 'Julius is gray' or 'Brian is green' but not both then John took the apple. It is impossible that if 'Bernhard is a rhino' or 'Julius is gray' or both then Greg is a lion.,It is almost certain that either 'Julius is gray' 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.6::factA. 0.95::factB. 0.1::factC. %hop1 0.02::factX:-xor(factC,factB). 0.5::factY:-xor(factB,factA). 0.0::factZ:-or(factC,factB). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.41000000000000003,0.41828365673134627,train,about even,almost certain,Chances are about even that either 'Julius is gray' or 'Brian is green' but not both.,It is almost certain that either 'Julius is gray' or 'Brian is green' but not both.,0,Either 'Julius is gray' or 'Brian is green' but not both. It is impossible that John went to the hallway. It is probably not the case that Lily is white. It is probably not the case that Fred moved to the office. There is almost no chance that if either 'Lily is white' or 'Fred moved to the office' but not both then Bernhard is a frog. It is highly likely that if 'John went to the hallway and Fred moved to the office' then Mary grabbed the milk. There is a better than even chance that if either 'John went to the hallway' or 'Fred moved to the office' but not both then Julius is a rhino.,It is probably the case that either 'Lily is white' 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.0::factA. 0.25::factB. 0.25::factC. %hop1 0.02::factX:-xor(factB,factC). 0.9::factY:-and(factA,factC). 0.6::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.25000000000000006,0.27645529105821165,train,probably not,probably,It is probably not the case that either 'Lily is white' or 'Bernhard is a frog' but not both.,It is probably the case that either 'Lily is white' or 'Bernhard is a frog' but not both.,0,Either 'Lily is white' or 'Bernhard is a frog' but not both. There is a very good chance that Sumit is thirsty. It is unlikely that Greg is gray. We doubt that John went to the hallway. There is a very good chance that if 'John went to the hallway' or 'Sumit is thirsty' or both then Bernhard is white. There is a very good chance that if 'John went to the hallway' or 'Sumit is thirsty' or both then Brian is yellow. It is unlikely that if 'John went to the hallway and Sumit is thirsty' then Lily is green.,It is probably not the case that 'Greg is gray' 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.8::factA. 0.2::factB. 0.2::factC. %hop1 0.8::factX:-or(factC,factA). 0.8::factY:-or(factC,factA). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.22560000000000002,0.3062612522504501,train,probably not,very good chance,It is probably not the case that 'Greg is gray' or 'Lily is green' or both.,There is a very good chance that 'Greg is gray' or 'Lily is green' or both.,1,'Greg is gray' or 'Lily is green' or both. It is highly likely that Bernhard is a rhino. Chances are about even that Yann is hungry. It is highly likely that Daniel dropped the apple. There is almost no chance that if either 'Bernhard is a rhino' or 'Daniel dropped the apple' but not both then Jeff discarded the milk. We believe that if 'Yann is hungry' or 'Bernhard is a rhino' or both then Mary left the football. It is likely that if 'Daniel dropped the apple and Yann is hungry' then Lily is gray.,It is probably the case that either 'Mary left the football' or 'Jeff 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.5::factB. 0.9::factC. %hop1 0.02::factX:-xor(factA,factC). 0.75::factY:-or(factB,factA). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.7120500000000001,0.46829365873174633,train,probably,highly unlikely,It is probably the case that either 'Mary left the football' or 'Jeff discarded the milk' but not both.,It is highly unlikely that either 'Mary left the football' or 'Jeff discarded the milk' but not both.,1,Either 'Mary left the football' or 'Jeff discarded the milk' but not both. It is almost certain that Winona is a mouse. Chances are slight that Julius is green. It is likely that Lily is white. There is a better than even chance that if 'Lily is white' or 'Julius is green' or both then Mary went to the office. We doubt that if 'Winona is a mouse and Lily is white' then Daniel left the apple. There is a very good chance that if 'Lily is white and Winona is a mouse' then Greg is yellow.,It is improbable that either 'Lily is white' or 'Daniel 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.95::factA. 0.1::factB. 0.7::factC. %hop1 0.6::factX:-or(factC,factB). 0.2::factY:-and(factA,factC). 0.8::factZ:-and(factC,factA). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.567,0.19003800760152031,train,better than even,improbable,There is a better than even chance that either 'Lily is white' or 'Daniel left the apple' but not both.,It is improbable that either 'Lily is white' or 'Daniel left the apple' but not both.,0,Either 'Lily is white' or 'Daniel left the apple' but not both. It is likely that Bernhard is gray. It is probable that Fred went to the garden. It is probable that John discarded the apple. Chances are about even that if 'Bernhard is gray' or 'Fred went to the garden' or both then Julius is white. It is almost certain that if 'John discarded the apple' or 'Bernhard is gray' or both then Brian is green. It is improbable that if 'Fred went to the garden and John discarded the apple' then Greg is a frog.,There is little chance that 'Brian is green' 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.7::factA. 0.7::factB. 0.7::factC. %hop1 0.5::factX:-or(factA,factB). 0.95::factY:-or(factC,factA). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.917175,0.7619523904780956,train,highly likely,little chance,It is highly likely that 'Brian is green' or 'Julius is white' or both.,There is little chance that 'Brian is green' or 'Julius is white' or both.,0,'Brian is green' or 'Julius is white' or both. It is likely that Greg is a frog. We believe that Brian is green. It is likely that Julius is a swan. We doubt that if 'Greg is a frog' or 'Brian is green' or both then John picked up the apple. We believe that if 'Brian is green and Julius is a swan' then Gertrude is a sheep. It is highly likely that if either 'Julius is a swan' or 'Brian is green' but not both then Mary dropped the milk.,There is a better than even chance that either 'Greg is a frog' 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.7::factA. 0.75::factB. 0.7::factC. %hop1 0.2::factX:-or(factA,factB). 0.75::factY:-and(factB,factC). 0.9::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.605,0.4138827765553111,train,better than even,improbable,There is a better than even chance that either 'Greg is a frog' or 'John picked up the apple' but not both.,It is improbable that either 'Greg is a frog' or 'John picked up the apple' but not both.,1,Either 'Greg is a frog' or 'John picked up the apple' but not both. It is highly unlikely that Fred moved to the office. It is certain that John went to the hallway. There is almost no chance that Brian is green. It is highly likely that if 'Fred moved to the office' or 'Brian is green' or both then Mary dropped the apple. It is impossible that if 'Brian is green' or 'Fred moved to the office' or both then Bernhard is a frog. It is highly unlikely that if either 'Brian is green' or 'Fred moved to the office' but not both then Lily is white.,It is impossible that 'Mary dropped the apple 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.05::factA. 1.0::factB. 0.02::factC. %hop1 0.9::factX:-or(factA,factC). 0.0::factY:-or(factC,factA). 0.05::factZ:-xor(factC,factA). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.003060000000000002,0.21644328865773155,train,impossible,better than even,It is impossible that 'Mary dropped the apple and Lily is white'.,There is a better than even chance that 'Mary dropped the apple and Lily is white'.,1,'Mary dropped the apple and Lily is white'. Chances are slight that Emily is a sheep. It is unlikely that Lily is a swan. It is improbable that Greg is gray. Chances are about even that if 'Emily is a sheep' or 'Greg is gray' or both then Julius is white. It is probably not the case that if either 'Lily is a swan' or 'Emily is a sheep' but not both then Brian is yellow. There is almost no chance that if 'Greg is gray' or 'Emily is a sheep' or both then Jeff moved to the office.,It is impossible that 'Greg is gray 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.2::factB. 0.1::factC. %hop1 0.5::factX:-or(factA,factC). 0.25::factY:-xor(factB,factA). 0.02::factZ:-or(factC,factA). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.006500000000000004,0.6205241048209642,train,impossible,very good chance,It is impossible that 'Greg is gray and Brian is yellow'.,There is a very good chance that 'Greg is gray and Brian is yellow'.,1,'Greg is gray and Brian is yellow'. It is almost certain that Gertrude is a cat. It is improbable that John moved to the office. There is almost no chance that Daniel left the milk. There is a better than even chance that if 'Gertrude is a cat and John moved to the office' then Sandra got the football. It is probable that if either 'Gertrude is a cat' or 'John moved to the office' but not both then Greg is a rhino. We believe that if 'Daniel left the milk and Gertrude is a cat' then Brian is a swan.,It is impossible that 'Brian is a swan' 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.95::factA. 0.1::factB. 0.02::factC. %hop1 0.6::factX:-and(factA,factB). 0.7::factY:-xor(factA,factB). 0.75::factZ:-and(factC,factA). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.95,0.10202040408081617,train,almost certain,impossible,It is almost certain that 'Brian is a swan' or 'Gertrude is a cat' or both.,It is impossible that 'Brian is a swan' or 'Gertrude is a cat' or both.,0,'Brian is a swan' or 'Gertrude is a cat' or both. It is improbable that Julius is a swan. It is impossible that Mary left the football. It is likely that Greg is gray. It is improbable that if either 'Greg is gray' or 'Julius is a swan' but not both then Lily is a rhino. It is highly likely that if 'Mary left the football and Greg is gray' then John moved to the garden. It is probably the case that if either 'Greg is gray' or 'Mary left the football' but not both then Daniel got the milk.,It is unlikely that either 'Lily is a rhino' 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.0::factB. 0.7::factC. %hop1 0.1::factX:-xor(factC,factA). 0.9::factY:-and(factB,factC). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.16000000000000003,0.46449289857971593,train,unlikely,likely,It is unlikely that either 'Lily is a rhino' or 'Julius is a swan' but not both.,It is likely that either 'Lily is a rhino' or 'Julius is a swan' but not both.,1,Either 'Lily is a rhino' or 'Julius is a swan' but not both. There is almost no chance that Greg is gray. It is highly likely that John took the apple. It is probably not the case that Lily is a swan. There is a very good chance that if either 'John took the apple' or 'Greg is gray' but not both then Winona is a wolf. Chances are about even that if 'Greg is gray and John took the apple' then Bernhard is a frog. It is probable that if 'Lily is a swan and Greg is gray' then Mary got the milk.,We doubt that either 'Lily is a swan' 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.02::factA. 0.9::factB. 0.25::factC. %hop1 0.8::factX:-xor(factB,factA). 0.5::factY:-and(factA,factB). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.7000000000000001,0.5635127025405081,train,likely,we doubt,It is likely that either 'Lily is a swan' or 'John took the apple' but not both.,We doubt that either 'Lily is a swan' or 'John took the apple' but not both.,0,Either 'Lily is a swan' or 'John took the apple' but not both. It is improbable that Sandra left the milk. It is likely that Emily is a wolf. We believe that Brian is yellow. It is probably the case that if 'Sandra left the milk' or 'Emily is a wolf' or both then Mary went to the office. There is a very good chance that if 'Sandra left the milk' or 'Brian is yellow' or both then John put down the apple. It is improbable that if either 'Sandra left the milk' or 'Brian is yellow' but not both then Bernhard is white.,It is probably the case that either 'Bernhard is white' 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.1::factA. 0.7::factB. 0.75::factC. %hop1 0.7::factX:-or(factA,factB). 0.8::factY:-or(factA,factC). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.685,0.20664132826565312,train,probably,probably not,It is probably the case that either 'Bernhard is white' or 'Brian is yellow' but not both.,It is probably not the case that either 'Bernhard is white' or 'Brian is yellow' but not both.,1,Either 'Bernhard is white' or 'Brian is yellow' but not both. There is a very good chance that Gertrude is a mouse. Chances are slight that Winona is a cat. There is a better than even chance that Mary dropped the apple. There is little chance that if either 'Mary dropped the apple' or 'Winona is a cat' but not both then Greg is gray. It is improbable that if 'Winona is a cat' or 'Gertrude is a mouse' or both then Lily is white. There is almost no chance that if 'Winona is a cat and Gertrude is a mouse' then Daniel got the milk.,It is impossible that either 'Lily is white' 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.8::factA. 0.1::factB. 0.6::factC. %hop1 0.1::factX:-xor(factC,factB). 0.1::factY:-or(factB,factA). 0.02::factZ:-and(factB,factA). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.722,0.6577315463092619,train,likely,impossible,It is likely that either 'Lily is white' or 'Gertrude is a mouse' but not both.,It is impossible that either 'Lily is white' or 'Gertrude is a mouse' but not both.,0,Either 'Lily is white' or 'Gertrude is a mouse' but not both. It is likely that Yann is hungry. It is certain that Mary discarded the milk. It is probably not the case that Daniel dropped the apple. Chances are about even that if either 'Daniel dropped the apple' or 'Yann is hungry' but not both then Julius is a frog. There is almost no chance that if 'Daniel dropped the apple' or 'Mary discarded the milk' or both then Lily is yellow. It is certain that if either 'Daniel dropped the apple' or 'Mary discarded the milk' but not both then Sumit is tired.,It is likely that 'Lily is yellow and Daniel 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.7::factA. 1.0::factB. 0.25::factC. %hop1 0.5::factX:-xor(factC,factA). 0.02::factY:-or(factC,factB). 1.0::factZ:-xor(factC,factB). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.005000000000000002,0.17063412682536508,train,impossible,likely,It is impossible that 'Lily is yellow and Daniel dropped the apple'.,It is likely that 'Lily is yellow and Daniel dropped the apple'.,0,'Lily is yellow and Daniel dropped the apple'. There is a very good chance that Lily is green. It is certain that Mary put down the apple. There is a better than even chance that Emily is a sheep. Chances are slight that if 'Emily is a sheep and Mary put down the apple' then John moved to the garden. It is highly likely that if either 'Lily is green' or 'Emily is a sheep' but not both then Brian is a frog. It is probably not the case that if 'Lily is green' or 'Emily is a sheep' or both then Jeff dropped the apple.,It is probably not the case that 'Brian is a frog 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.8::factA. 1.0::factB. 0.6::factC. %hop1 0.1::factX:-and(factC,factB). 0.9::factY:-xor(factA,factC). 0.25::factZ:-or(factA,factC). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.28800000000000003,0.7891578315663133,train,probably not,almost certain,It is probably not the case that 'Brian is a frog and Lily is green'.,It is almost certain that 'Brian is a frog and Lily is green'.,1,'Brian is a frog and Lily is green'. There is almost no chance that John dropped the apple. It is probable that Julius is a frog. There is a better than even chance that Bill went to the office. Chances are about even that if either 'John dropped the apple' or 'Bill went to the office' but not both then Bernhard is yellow. It is impossible that if 'John dropped the apple' or 'Bill went to the office' or both then Jason is thirsty. It is probably the case that if either 'Bill went to the office' or 'John dropped the apple' but not both then Sandra left the football.,It is improbable that 'Bill went to the office' 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.02::factA. 0.7::factB. 0.6::factC. %hop1 0.5::factX:-xor(factA,factC). 0.0::factY:-or(factA,factC). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.88,0.5787157431486297,train,highly likely,improbable,It is highly likely that 'Bill went to the office' or 'Julius is a frog' or both.,It is improbable that 'Bill went to the office' or 'Julius is a frog' or both.,0,'Bill went to the office' or 'Julius is a frog' or both. It is probably the case that Mary went to the kitchen. There is almost no chance that John dropped the milk. It is highly unlikely that Lily is a lion. We doubt that if either 'Mary went to the kitchen' or 'John dropped the milk' but not both then Antoine is hungry. There is a better than even chance that if 'Mary went to the kitchen and Lily is a lion' then Sandra left the football. It is probable that if 'John dropped the milk and Lily is a lion' then Brian is green.,There is a very good chance that 'Antoine is hungry and Sandra 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.7::factA. 0.02::factB. 0.05::factC. %hop1 0.2::factX:-xor(factA,factB). 0.6::factY:-and(factA,factC). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.004115999999999998,0.6609321864372875,train,impossible,very good chance,It is impossible that 'Antoine is hungry and Sandra left the football'.,There is a very good chance that 'Antoine is hungry and Sandra left the football'.,0,'Antoine is hungry and Sandra left the football'. It is highly likely that Brian is a lion. It is almost certain that Gertrude is a mouse. It is likely that Greg is gray. We doubt that if 'Gertrude is a mouse and Greg is gray' then Fred moved to the office. It is likely that if 'Brian is a lion' or 'Gertrude is a mouse' or both then John went to the garden. It is unlikely that if 'Greg is gray' or 'Brian is a lion' or both then Mary took the football.,There is a very good chance that 'Gertrude is a mouse 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.95::factB. 0.7::factC. %hop1 0.2::factX:-and(factB,factC). 0.7::factY:-or(factA,factB). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.13300000000000003,0.0612122424484897,train,little chance,very good chance,There is little chance that 'Gertrude is a mouse and Fred moved to the office'.,There is a very good chance that 'Gertrude is a mouse and Fred moved to the office'.,0,'Gertrude is a mouse and Fred moved to the office'. It is highly unlikely that Emily is a wolf. There is a very good chance that Sandra dropped the milk. We believe that Winona is a cat. It is highly unlikely that if 'Sandra dropped the milk' or 'Emily is a wolf' or both then Jeff went to the hallway. We believe that if 'Sandra dropped the milk' or 'Emily is a wolf' or both then Greg is a rhino. It is probably the case that if 'Winona is a cat and Emily is a wolf' then Bernhard is a frog.,There is almost no chance that 'Greg is a rhino 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.05::factA. 0.8::factB. 0.75::factC. %hop1 0.05::factX:-or(factB,factA). 0.75::factY:-or(factB,factA). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.019687500000000007,0.6445289057811562,train,almost no chance,probably,There is almost no chance that 'Greg is a rhino and Bernhard is a frog'.,It is probably the case that 'Greg is a rhino and Bernhard is a frog'.,1,'Greg is a rhino and Bernhard is a frog'. There is almost no chance that Sandra left the football. There is almost no chance that Julius is white. There is almost no chance that Jessica is a cat. It is highly likely that if 'Sandra left the football' or 'Julius is white' or both then Lily is a swan. There is almost no chance that if either 'Sandra left the football' or 'Julius is white' but not both then Emily is a mouse. It is probably the case that if 'Julius is white and Jessica is a cat' then John got the apple.,It is likely that 'John got the apple and Sandra 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.02::factA. 0.02::factB. 0.02::factC. %hop1 0.9::factX:-or(factA,factB). 0.02::factY:-xor(factA,factB). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",5.599999999999999e-06,0.02020404080816163,train,impossible,likely,It is impossible that 'John got the apple and Sandra left the football'.,It is likely that 'John got the apple and Sandra left the football'.,0,'John got the apple and Sandra left the football'. There is a better than even chance that Julius is a lion. It is likely that Brian is white. It is certain that Mary went to the garden. It is highly likely that if 'Brian is white' or 'Mary went to the garden' or both then John discarded the milk. It is unlikely that if 'Mary went to the garden and Julius is a lion' then Antoine is thirsty. It is probable that if 'Mary went to the garden' or 'Julius is a lion' or both then Lily is green.,It is almost certain that 'Julius is a lion' or 'John discarded 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.6::factA. 0.7::factB. 1.0::factC. %hop1 0.9::factX:-or(factB,factC). 0.2::factY:-and(factC,factA). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.96,0.6085217043408682,train,almost certain,unlikely,It is almost certain that 'Julius is a lion' or 'John discarded the milk' or both.,It is unlikely that 'Julius is a lion' or 'John discarded the milk' or both.,1,'Julius is a lion' or 'John discarded the milk' or both. It is certain that Gertrude is a wolf. We doubt that Sandra got the milk. It is probably the case that Emily is a mouse. Chances are slight that if either 'Gertrude is a wolf' or 'Emily is a mouse' but not both then Julius is a lion. It is highly unlikely that if 'Emily is a mouse and Sandra got the milk' then Brian is green. It is unlikely that if 'Sandra got the milk' or 'Emily is a mouse' or both then Greg is a frog.,It is certain that 'Gertrude is a wolf 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 1.0::factA. 0.2::factB. 0.7::factC. %hop1 0.1::factX:-xor(factA,factC). 0.05::factY:-and(factC,factB). 0.2::factZ:-or(factB,factC). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.15200000000000002,0.28365673134626923,train,unlikely,certain,It is unlikely that 'Gertrude is a wolf and Greg is a frog'.,It is certain that 'Gertrude is a wolf and Greg is a frog'.,0,'Gertrude is a wolf and Greg is a frog'. Chances are slight that Bill moved to the office. It is highly likely that Daniel took the milk. It is probably the case that Julius is a swan. Chances are slight that if 'Bill moved to the office' or 'Julius is a swan' or both then Lily is a frog. It is probable that if 'Bill moved to the office' or 'Daniel took the milk' or both then Brian is white. It is unlikely that if 'Daniel took the milk' or 'Julius is a swan' or both then Sandra left the football.,We believe that 'Bill moved to the office 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.1::factA. 0.9::factB. 0.7::factC. %hop1 0.1::factX:-or(factA,factC). 0.7::factY:-or(factA,factB). 0.2::factZ:-or(factB,factC). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.07,0.46869373874774956,train,highly unlikely,we believe,It is highly unlikely that 'Bill moved to the office and Brian is white'.,We believe that 'Bill moved to the office and Brian is white'.,0,'Bill moved to the office and Brian is white'. It is probably not the case that Brian is a frog. Chances are slight that Greg is white. Chances are slight that Bernhard is white. It is impossible that if 'Greg is white and Brian is a frog' then Jason is tired. It is unlikely that if either 'Bernhard is white' or 'Greg is white' but not both then Lily is a rhino. There is little chance that if either 'Bernhard is white' or 'Brian is a frog' but not both then John left the apple.,There is a better than even chance that 'Lily is a rhino' or 'Greg 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.1::factB. 0.1::factC. %hop1 0.0::factX:-and(factB,factA). 0.2::factY:-xor(factC,factB). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.11800000000000002,0.45709141828365674,train,little chance,better than even,There is little chance that 'Lily is a rhino' or 'Greg is white' or both.,There is a better than even chance that 'Lily is a rhino' or 'Greg is white' or both.,0,'Lily is a rhino' or 'Greg is white' or both. It is probably not the case that Daniel got the apple. It is certain that Winona is a wolf. It is unlikely that Mary dropped the milk. It is almost certain that if 'Daniel got the apple' or 'Winona is a wolf' or both then Julius is green. There is a very good chance that if 'Winona is a wolf' or 'Mary dropped the milk' or both then Brian is a swan. It is likely that if 'Winona is a wolf' or 'Mary dropped the milk' or both then Lily is gray.,There is a very good chance that 'Brian is a swan' 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.25::factA. 1.0::factB. 0.2::factC. %hop1 0.95::factX:-or(factA,factB). 0.8::factY:-or(factB,factC). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.8400000000000001,0.5251050210042009,train,very good chance,almost no chance,There is a very good chance that 'Brian is a swan' or 'Mary dropped the milk' or both.,There is almost no chance that 'Brian is a swan' or 'Mary dropped the milk' or both.,1,'Brian is a swan' or 'Mary dropped the milk' or both. Chances are about even that Jeff moved to the office. It is certain that Brian is white. It is impossible that Julius is a lion. There is a very good chance that if 'Julius is a lion and Brian is white' then Lily is gray. It is probably not the case that if 'Jeff moved to the office and Julius is a lion' then John left the apple. It is impossible that if either 'Julius is a lion' or 'Jeff moved to the office' but not both then Mary went to the office.,Chances are about even that either 'John left the apple' or 'Jeff 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.5::factA. 1.0::factB. 0.0::factC. %hop1 0.8::factX:-and(factC,factB). 0.25::factY:-and(factA,factC). 0.0::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.5000000000000001,0.03800760152030406,train,about even,almost certain,Chances are about even that either 'John left the apple' or 'Jeff moved to the office' but not both.,It is almost certain that either 'John left the apple' or 'Jeff moved to the office' but not both.,1,Either 'John left the apple' or 'Jeff moved to the office' but not both. There is a better than even chance that Jeff went to the bedroom. It is improbable that Sandra grabbed the apple. It is improbable that Antoine is thirsty. It is probably not the case that if 'Sandra grabbed the apple and Jeff went to the bedroom' then Julius is gray. It is highly unlikely that if 'Jeff went to the bedroom' or 'Antoine is thirsty' or both then Mary moved to the office. It is certain that if 'Sandra grabbed the apple and Jeff went to the bedroom' then Greg is a swan.,There is almost no chance that 'Mary moved to the office and Jeff 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.6::factA. 0.1::factB. 0.1::factC. %hop1 0.25::factX:-and(factB,factA). 0.05::factY:-or(factA,factC). 1.0::factZ:-and(factB,factA). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.029999999999999995,0.3856771354270854,train,almost no chance,highly likely,There is almost no chance that 'Mary moved to the office and Jeff went to the bedroom'.,It is highly likely that 'Mary moved to the office and Jeff went to the bedroom'.,1,'Mary moved to the office and Jeff went to the bedroom'. It is probably the case that Gertrude is a sheep. It is impossible that Winona is a sheep. Chances are about even that John put down the apple. It is likely that if 'John put down the apple and Gertrude is a sheep' then Brian is a rhino. We doubt that if 'Winona is a sheep' or 'Gertrude is a sheep' or both then Bernhard is gray. It is unlikely that if 'Gertrude is a sheep' or 'Winona is a sheep' or both then Julius is white.,It is highly likely that 'Julius is white 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.7::factA. 0.0::factB. 0.5::factC. %hop1 0.7::factX:-and(factC,factA). 0.2::factY:-or(factB,factA). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.14,0.004800960192038408,train,little chance,highly likely,There is little chance that 'Julius is white and Gertrude is a sheep'.,It is highly likely that 'Julius is white and Gertrude is a sheep'.,0,'Julius is white and Gertrude is a sheep'. It is likely that Julius is white. It is highly unlikely that Greg is a lion. It is highly likely that Mary left the apple. We doubt that if 'Mary left the apple and Greg is a lion' then John moved to the office. We doubt that if 'Julius is white and Mary left the apple' then Brian is green. It is impossible that if either 'Greg is a lion' or 'Mary left the apple' but not both then Lily is a frog.,There is a better than even chance that either 'Brian is green' 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.05::factB. 0.9::factC. %hop1 0.2::factX:-and(factC,factB). 0.2::factY:-and(factA,factC). 0.0::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.574,0.05141028205641128,train,better than even,impossible,There is a better than even chance that either 'Brian is green' or 'Julius is white' but not both.,It is impossible that either 'Brian is green' or 'Julius is white' but not both.,1,Either 'Brian is green' or 'Julius is white' but not both. It is probable that Julius is yellow. It is highly unlikely that Bernhard is gray. It is highly likely that John discarded the apple. We believe that if either 'Bernhard is gray' or 'John discarded the apple' but not both then Brian is white. Chances are about even that if either 'John discarded the apple' or 'Bernhard is gray' but not both then Lily is green. It is probably the case that if 'Bernhard is gray and John discarded the apple' then Mary took the milk.,It is probably not the case that 'Julius 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.7::factA. 0.05::factB. 0.9::factC. %hop1 0.75::factX:-xor(factB,factC). 0.5::factY:-xor(factC,factB). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.8935000000000001,0.6315263052610522,train,highly likely,probably not,It is highly likely that 'Julius is yellow' or 'Brian is white' or both.,It is probably not the case that 'Julius is yellow' or 'Brian is white' or both.,0,'Julius is yellow' or 'Brian is white' or both. There is almost no chance that Daniel dropped the apple. We doubt that Winona is a mouse. It is unlikely that Lily is gray. It is likely that if 'Daniel dropped the apple and Winona is a mouse' then Greg is a swan. Chances are about even that if 'Daniel dropped the apple and Lily is gray' then Brian is a rhino. We doubt that if 'Daniel dropped the apple and Lily is gray' then Bernhard is green.,It is probably the case that 'Winona is a mouse' 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.2::factB. 0.2::factC. %hop1 0.7::factX:-and(factA,factB). 0.5::factY:-and(factA,factC). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.20160000000000003,0.7733546709341869,train,unlikely,probably,It is unlikely that 'Winona is a mouse' or 'Brian is a rhino' or both.,It is probably the case that 'Winona is a mouse' or 'Brian is a rhino' or both.,0,'Winona is a mouse' or 'Brian is a rhino' or both. It is certain that Bernhard is yellow. We doubt that Mary dropped the milk. It is unlikely that Lily is a rhino. Chances are slight that if 'Mary dropped the milk' or 'Lily is a rhino' or both then Gertrude is a sheep. It is almost certain that if 'Lily is a rhino and Bernhard is yellow' then Sandra took the apple. There is a better than even chance that if 'Lily is a rhino' or 'Mary dropped the milk' or both then John went to the office.,It is probably the case that either 'John went to the office' 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 1.0::factA. 0.2::factB. 0.2::factC. %hop1 0.1::factX:-or(factB,factC). 0.95::factY:-and(factC,factA). 0.6::factZ:-or(factC,factB). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.20880000000000004,0.7191438287657531,train,we doubt,probably,We doubt that either 'John went to the office' or 'Gertrude is a sheep' but not both.,It is probably the case that either 'John went to the office' or 'Gertrude is a sheep' but not both.,0,Either 'John went to the office' or 'Gertrude is a sheep' but not both. It is certain that Sandra put down the milk. We doubt that John moved to the office. There is almost no chance that Brian is a rhino. There is a very good chance that if 'Brian is a rhino and John moved to the office' then Jeff left the apple. Chances are about even that if 'Brian is a rhino' or 'John moved to the office' or both then Bernhard is gray. There is little chance that if 'Sandra put down the milk and Brian is a rhino' then Mary went to the hallway.,It is unlikely that either 'Mary went to the hallway' or 'John 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. 0.2::factB. 0.02::factC. %hop1 0.8::factX:-and(factC,factB). 0.5::factY:-or(factC,factB). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.2012,0.6845369073814763,train,unlikely,certain,It is unlikely that either 'Mary went to the hallway' or 'John moved to the office' but not both.,It is certain that either 'Mary went to the hallway' or 'John moved to the office' but not both.,1,Either 'Mary went to the hallway' or 'John moved to the office' but not both. It is probably not the case that Bernhard is a frog. It is certain that Greg is green. It is improbable that Brian is a swan. Chances are about even that if 'Brian is a swan' or 'Greg is green' or both then Emily is a cat. It is likely that if 'Brian is a swan' or 'Greg is green' or both then Daniel dropped the apple. It is highly unlikely that if either 'Bernhard is a frog' or 'Brian is a swan' but not both then Gertrude is a cat.,It is almost certain that 'Bernhard is a frog 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.25::factA. 1.0::factB. 0.1::factC. %hop1 0.5::factX:-or(factC,factB). 0.7::factY:-or(factC,factB). 0.05::factZ:-xor(factA,factC). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.25,0.1764352870574115,train,probably not,almost certain,It is probably not the case that 'Bernhard is a frog and Greg is green'.,It is almost certain that 'Bernhard is a frog and Greg is green'.,0,'Bernhard is a frog and Greg is green'. It is impossible that Daniel put down the milk. We believe that John moved to the office. It is highly likely that Julius is a frog. It is unlikely that if 'Julius is a frog' or 'Daniel put down the milk' or both then Brian is a swan. It is improbable that if 'Julius is a frog and Daniel put down the milk' then Sandra took the football. It is probably not the case that if 'John moved to the office and Julius is a frog' then Emily is a sheep.,There is a very good chance that either 'Daniel put down the milk' 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.0::factA. 0.75::factB. 0.9::factC. %hop1 0.2::factX:-or(factC,factA). 0.1::factY:-and(factC,factA). 0.25::factZ:-and(factB,factC). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.18000000000000002,0.6441288257651531,train,we doubt,very good chance,We doubt that either 'Daniel put down the milk' or 'Brian is a swan' but not both.,There is a very good chance that either 'Daniel put down the milk' or 'Brian is a swan' but not both.,0,Either 'Daniel put down the milk' or 'Brian is a swan' but not both. It is almost certain that Lily is a swan. It is impossible that John went to the garden. It is probable that Bernhard is yellow. There is little chance that if 'Lily is a swan' or 'John went to the garden' or both then Brian is a rhino. Chances are about even that if 'Lily is a swan and Bernhard is yellow' then Greg is a lion. It is impossible that if 'John went to the garden' or 'Lily is a swan' or both then Jessica is a cat.,There is a very good chance that 'Lily is a swan 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.95::factA. 0.0::factB. 0.7::factC. %hop1 0.1::factX:-or(factA,factB). 0.5::factY:-and(factA,factC). 0.0::factZ:-or(factB,factA). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0,0.35927185437087417,train,impossible,very good chance,It is impossible that 'Lily is a swan and John went to the garden'.,There is a very good chance that 'Lily is a swan and John went to the garden'.,0,'Lily is a swan and John went to the garden'. It is highly likely that Fred went to the garden. It is highly unlikely that Brian is gray. It is impossible that Julius is white. It is probable that if 'Fred went to the garden' or 'Julius is white' or both then Sandra took the milk. There is a very good chance that if 'Julius is white' or 'Brian is gray' or both then Bernhard is yellow. It is probably not the case that if 'Fred went to the garden and Julius is white' then Greg is a lion.,It is highly unlikely that 'Sandra took 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.9::factA. 0.05::factB. 0.0::factC. %hop1 0.7::factX:-or(factA,factC). 0.8::factY:-or(factC,factB). 0.25::factZ:-and(factA,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.63,0.1884376875375075,train,better than even,highly unlikely,There is a better than even chance that 'Sandra took the milk and Fred went to the garden'.,It is highly unlikely that 'Sandra took the milk and Fred went to the garden'.,0,'Sandra took the milk and Fred went to the garden'. It is likely that Antoine is hungry. It is probably not the case that Jessica is a mouse. It is probably not the case that Bernhard is a rhino. It is impossible that if 'Antoine is hungry' or 'Jessica is a mouse' or both then Greg is gray. It is impossible that if 'Bernhard is a rhino' or 'Jessica is a mouse' or both then Brian is a swan. It is almost certain that if 'Jessica is a mouse' or 'Antoine is hungry' or both then Mary moved to the office.,We believe that either 'Brian is a swan' or 'Mary 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.7::factA. 0.25::factB. 0.25::factC. %hop1 0.0::factX:-or(factA,factB). 0.0::factY:-or(factC,factB). 0.95::factZ:-or(factB,factA). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.73625,0.011802360472094419,train,we believe,improbable,We believe that either 'Brian is a swan' or 'Mary moved to the office' but not both.,It is improbable that either 'Brian is a swan' or 'Mary moved to the office' but not both.,1,Either 'Brian is a swan' or 'Mary moved to the office' but not both. It is highly unlikely that John dropped the apple. It is highly likely that Bernhard is a swan. It is improbable that Mary went to the garden. It is probably not the case that if 'John dropped the apple' or 'Mary went to the garden' or both then Lily is a frog. There is a very good chance that if either 'John dropped the apple' or 'Bernhard is a swan' but not both then Greg is a rhino. Chances are about even that if 'Mary went to the garden' or 'Bernhard is a swan' or both then Jason is tired.,It is likely that 'John dropped the apple 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.05::factA. 0.9::factB. 0.1::factC. %hop1 0.25::factX:-or(factA,factC). 0.8::factY:-xor(factA,factB). 0.5::factZ:-or(factC,factB). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.012500000000000006,0.4080816163232647,train,almost no chance,likely,There is almost no chance that 'John dropped the apple and Lily is a frog'.,It is likely that 'John dropped the apple and Lily is a frog'.,0,'John dropped the apple and Lily is a frog'. There is almost no chance that Lily is a swan. It is impossible that John moved to the office. It is improbable that Julius is a frog. We believe that if 'Lily is a swan and John moved to the office' then Mary dropped the milk. There is a very good chance that if 'Lily is a swan' or 'John moved to the office' or both then Greg is a lion. There is almost no chance that if either 'Julius is a frog' or 'John moved to the office' but not both then Jessica is a sheep.,It is impossible that either 'John moved to the office' or 'Mary 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.02::factA. 0.0::factB. 0.1::factC. %hop1 0.75::factX:-and(factA,factB). 0.8::factY:-or(factA,factB). 0.02::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.0,0.7443488697739548,train,impossible,about even,It is impossible that either 'John moved to the office' or 'Mary dropped the milk' but not both.,Chances are about even that either 'John moved to the office' or 'Mary dropped the milk' but not both.,1,Either 'John moved to the office' or 'Mary dropped the milk' but not both. It is likely that Fred discarded the apple. It is improbable that Julius is white. It is probably not the case that John is in the garden. There is a very good chance that if either 'Julius is white' or 'Fred discarded the apple' but not both then Bernhard is yellow. There is almost no chance that if either 'John is in the garden' or 'Fred discarded the apple' but not both then Brian is a swan. There is almost no chance that if 'Julius is white and Fred discarded the apple' then Greg is green.,It is improbable that either 'Brian is a swan' 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.1::factB. 0.25::factC. %hop1 0.8::factX:-xor(factB,factA). 0.02::factY:-xor(factC,factA). 0.02::factZ:-and(factB,factA). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.10960000000000004,0.09301860372074415,train,improbable,almost certain,It is improbable that either 'Brian is a swan' or 'Julius is white' but not both.,It is almost certain that either 'Brian is a swan' or 'Julius is white' but not both.,1,Either 'Brian is a swan' or 'Julius is white' but not both. We believe that Julius is a lion. We doubt that Sandra left the football. It is unlikely that Mary went to the office. Chances are slight that if 'Mary went to the office and Sandra left the football' then Brian is yellow. We believe that if either 'Sandra left the football' or 'Mary went to the office' but not both then Lily is a rhino. It is probably the case that if either 'Julius is a lion' or 'Sandra left the football' but not both then Bernhard is a swan.,It is probably not the case that either 'Brian is yellow' or 'Lily 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.2::factB. 0.2::factC. %hop1 0.1::factX:-and(factC,factB). 0.75::factY:-xor(factB,factC). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.24400000000000002,0.2456491298259652,train,probably not,probably,It is probably not the case that either 'Brian is yellow' or 'Lily is a rhino' but not both.,It is probably the case that either 'Brian is yellow' or 'Lily is a rhino' but not both.,1,Either 'Brian is yellow' or 'Lily is a rhino' but not both. It is probably the case that Brian is white. It is highly likely that Greg is a swan. There is almost no chance that Bill went to the kitchen. It is improbable that if 'Bill went to the kitchen and Greg is a swan' then Mary got the football. It is probable that if either 'Brian is white' or 'Greg is a swan' but not both then Gertrude is a sheep. There is little chance that if either 'Greg is a swan' or 'Brian is white' but not both then Lily is green.,There is a better than even chance that 'Mary got the football 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.7::factA. 0.9::factB. 0.02::factC. %hop1 0.1::factX:-and(factC,factB). 0.7::factY:-xor(factA,factB). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.0003780000000000003,0.7669533906781356,train,impossible,better than even,It is impossible that 'Mary got the football and Gertrude is a sheep'.,There is a better than even chance that 'Mary got the football and Gertrude is a sheep'.,0,'Mary got the football and Gertrude is a sheep'. It is almost certain that Greg is a rhino. It is highly likely that Lily is a swan. There is a better than even chance that John left the milk. It is probably not the case that if 'Greg is a rhino and Lily is a swan' then Bernhard is green. There is almost no chance that if 'Lily is a swan' or 'John left the milk' or both then Gertrude is a sheep. There is a very good chance that if either 'John left the milk' or 'Greg is a rhino' but not both then Julius is a frog.,There is almost no chance that 'Greg is a rhino' 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.95::factA. 0.9::factB. 0.6::factC. %hop1 0.25::factX:-and(factA,factB). 0.02::factY:-or(factB,factC). 0.8::factZ:-xor(factC,factA). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.995,0.381876375275055,train,certain,almost no chance,It is certain that 'Greg is a rhino' or 'Lily is a swan' or both.,There is almost no chance that 'Greg is a rhino' or 'Lily is a swan' or both.,0,'Greg is a rhino' or 'Lily is a swan' or both. There is a better than even chance that Lily is a swan. There is little chance that Daniel grabbed the milk. It is likely that Mary is in the bathroom. It is certain that if 'Lily is a swan and Daniel grabbed the milk' then John took the football. It is probable that if either 'Lily is a swan' or 'Daniel grabbed the milk' but not both then Brian is a rhino. It is almost certain that if 'Daniel grabbed the milk' or 'Mary is in the bathroom' or both then Winona is a mouse.,It is probably not the case that either 'Mary is in the bathroom' or 'John 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.6::factA. 0.1::factB. 0.7::factC. %hop1 1.0::factX:-and(factA,factB). 0.7::factY:-xor(factA,factB). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.6759999999999999,0.21124224844968995,train,likely,probably not,It is likely that either 'Mary is in the bathroom' or 'John took the football' but not both.,It is probably not the case that either 'Mary is in the bathroom' or 'John took the football' but not both.,0,Either 'Mary is in the bathroom' or 'John took the football' but not both. It is improbable that John put down the milk. We doubt that Mary moved to the garden. It is probable that Greg is green. It is highly unlikely that if either 'Mary moved to the garden' or 'John put down the milk' but not both then Brian is a swan. It is impossible that if 'John put down the milk' or 'Greg is green' or both then Lily is white. We doubt that if 'Mary moved to the garden and John put down the milk' then Bernhard is a rhino.,It is improbable that either 'Greg is green' or 'Mary 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.1::factA. 0.2::factB. 0.7::factC. %hop1 0.05::factX:-xor(factB,factA). 0.0::factY:-or(factA,factC). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.62,0.352870574114823,train,better than even,improbable,There is a better than even chance that either 'Greg is green' or 'Mary moved to the garden' but not both.,It is improbable that either 'Greg is green' or 'Mary moved to the garden' but not both.,0,Either 'Greg is green' or 'Mary moved to the garden' but not both. Chances are slight that Greg is a swan. There is almost no chance that John got the milk. It is highly unlikely that Winona is a mouse. There is a better than even chance that if 'Greg is a swan and John got the milk' then Bill moved to the office. It is probably not the case that if 'John got the milk and Greg is a swan' then Julius is gray. It is highly likely that if 'John got the milk and Winona is a mouse' then Gertrude is a sheep.,It is impossible that 'Winona is a mouse 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.1::factA. 0.02::factB. 0.05::factC. %hop1 0.6::factX:-and(factA,factB). 0.25::factY:-and(factB,factA). 0.9::factZ:-and(factB,factC). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0010000000000000002,0.358871774354871,train,impossible,probably,It is impossible that 'Winona is a mouse and John got the milk'.,It is probably the case that 'Winona is a mouse and John got the milk'.,1,'Winona is a mouse and John got the milk'. There is a better than even chance that Greg is yellow. It is probable that Gertrude is a mouse. It is highly unlikely that Julius is gray. There is almost no chance that if 'Julius is gray and Greg is yellow' then Sandra took the football. It is improbable that if 'Julius is gray and Gertrude is a mouse' then Brian is a swan. There is almost no chance that if 'Gertrude is a mouse and Greg is yellow' then John went to the kitchen.,It is highly unlikely that 'Julius is gray' 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.6::factA. 0.7::factB. 0.05::factC. %hop1 0.02::factX:-and(factC,factA). 0.1::factY:-and(factC,factB). 0.02::factZ:-and(factB,factA). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.05000000000000001,0.7965593118623725,train,highly unlikely,probably,It is highly unlikely that 'Julius is gray' or 'Brian is a swan' or both.,It is probably the case that 'Julius is gray' or 'Brian is a swan' or both.,1,'Julius is gray' or 'Brian is a swan' or both. There is almost no chance that Brian is a rhino. It is highly unlikely that John moved to the garden. It is probably not the case that Mary got the apple. It is improbable that if 'John moved to the garden and Mary got the apple' then Bill went to the office. It is probably not the case that if either 'Brian is a rhino' or 'Mary got the apple' but not both then Julius is a lion. It is likely that if 'John moved to the garden and Mary got the apple' then Sandra left the milk.,It is impossible that 'Sandra left 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.02::factA. 0.05::factB. 0.25::factC. %hop1 0.1::factX:-and(factB,factC). 0.25::factY:-xor(factA,factC). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.00017500000000000016,0.04300860172034407,train,impossible,almost certain,It is impossible that 'Sandra left the milk and Brian is a rhino'.,It is almost certain that 'Sandra left the milk and Brian is a rhino'.,1,'Sandra left the milk and Brian is a rhino'. It is likely that Mary moved to the garden. It is highly unlikely that John dropped the apple. It is probable that Greg is a rhino. It is almost certain that if either 'John dropped the apple' or 'Mary moved to the garden' but not both then Lily is a swan. There is almost no chance that if 'Greg is a rhino and Mary moved to the garden' then Emily is a sheep. Chances are slight that if either 'Greg is a rhino' or 'John dropped the apple' but not both then Julius is white.,It is unlikely that 'Mary moved to the garden' or 'John 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.05::factB. 0.7::factC. %hop1 0.95::factX:-xor(factB,factA). 0.02::factY:-and(factC,factA). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.715,0.7303460692138428,train,probable,unlikely,It is probable that 'Mary moved to the garden' or 'John dropped the apple' or both.,It is unlikely that 'Mary moved to the garden' or 'John dropped the apple' or both.,0,'Mary moved to the garden' or 'John dropped the apple' or both. We believe that John dropped the apple. There is almost no chance that Bill went to the garden. We doubt that Brian is a swan. It is likely that if 'Bill went to the garden' or 'Brian is a swan' or both then Jessica is a mouse. It is almost certain that if either 'Brian is a swan' or 'John dropped the apple' but not both then Julius is a frog. There is a very good chance that if either 'John dropped the apple' or 'Bill went to the garden' but not both then Bernhard is a lion.,We believe that 'Bernhard is a lion' or 'John 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.75::factA. 0.02::factB. 0.2::factC. %hop1 0.7::factX:-or(factB,factC). 0.95::factY:-xor(factC,factA). 0.8::factZ:-xor(factA,factB). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.754,0.253250650130026,train,we believe,highly unlikely,We believe that 'Bernhard is a lion' or 'John dropped the apple' or both.,It is highly unlikely that 'Bernhard is a lion' or 'John dropped the apple' or both.,1,'Bernhard is a lion' or 'John dropped the apple' or both. It is impossible that Brian is a rhino. It is impossible that Sumit is thirsty. It is probable that Lily is yellow. It is probably not the case that if either 'Sumit is thirsty' or 'Brian is a rhino' but not both then Julius is white. It is highly unlikely that if either 'Brian is a rhino' or 'Sumit is thirsty' but not both then Bernhard is a frog. Chances are slight that if 'Sumit is thirsty' or 'Brian is a rhino' or both then John picked up the apple.,It is probably the case that 'Sumit is thirsty' 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.0::factA. 0.0::factB. 0.7::factC. %hop1 0.25::factX:-xor(factB,factA). 0.05::factY:-xor(factA,factB). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.0,0.23584716943388678,train,impossible,probably,It is impossible that 'Sumit is thirsty' or 'Brian is a rhino' or both.,It is probably the case that 'Sumit is thirsty' or 'Brian is a rhino' or both.,0,'Sumit is thirsty' or 'Brian is a rhino' or both. It is unlikely that Winona is a mouse. It is probable that John left the football. It is highly unlikely that Mary went to the hallway. It is probably the case that if 'John left the football' or 'Mary went to the hallway' or both then Fred is in the office. Chances are about even that if 'Winona is a mouse' or 'Mary went to the hallway' or both then Julius is gray. It is highly likely that if 'Winona is a mouse' or 'Mary went to the hallway' or both then Lily is green.,It is probable that either 'Lily 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.2::factA. 0.7::factB. 0.05::factC. %hop1 0.7::factX:-or(factB,factC). 0.5::factY:-or(factA,factC). 0.9::factZ:-or(factA,factC). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.05599999999999999,0.08481696339267854,train,highly unlikely,probable,It is highly unlikely that either 'Lily is green' or 'Winona is a mouse' but not both.,It is probable that either 'Lily is green' or 'Winona is a mouse' but not both.,0,Either 'Lily is green' or 'Winona is a mouse' but not both. It is probably the case that John got the apple. It is probable that Mary took the milk. Chances are slight that Fred is in the office. It is likely that if either 'John got the apple' or 'Fred is in the office' but not both then Brian is white. It is certain that if either 'Fred is in the office' or 'Mary took the milk' but not both then Greg is gray. There is almost no chance that if 'Mary took the milk' or 'Fred is in the office' or both then Lily is a swan.,There is almost no chance that 'Mary took the milk' or 'John 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.7::factA. 0.7::factB. 0.1::factC. %hop1 0.7::factX:-xor(factA,factC). 1.0::factY:-xor(factC,factB). 0.02::factZ:-or(factB,factC). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9099999999999999,0.2996599319863973,train,highly likely,almost no chance,It is highly likely that 'Mary took the milk' or 'John got the apple' or both.,There is almost no chance that 'Mary took the milk' or 'John got the apple' or both.,0,'Mary took the milk' or 'John got the apple' or both. It is probable that Greg is yellow. It is impossible that Brian is a rhino. Chances are slight that Jeff went to the hallway. There is almost no chance that if either 'Greg is yellow' or 'Brian is a rhino' but not both then Lily is yellow. It is certain that if 'Jeff went to the hallway' or 'Greg is yellow' or both then Bernhard is gray. It is almost certain that if 'Jeff went to the hallway' or 'Brian is a rhino' or both then Emily is a sheep.,It is impossible that 'Brian is a rhino and Emily 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.7::factA. 0.0::factB. 0.1::factC. %hop1 0.02::factX:-xor(factA,factB). 1.0::factY:-or(factC,factA). 0.95::factZ:-or(factC,factB). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.0,0.6185237047409482,train,impossible,very good chance,It is impossible that 'Brian is a rhino and Emily is a sheep'.,There is a very good chance that 'Brian is a rhino and Emily is a sheep'.,1,'Brian is a rhino and Emily is a sheep'. It is probable that Sumit is tired. It is likely that Brian is green. Chances are slight that Julius is a swan. There is a better than even chance that if either 'Julius is a swan' or 'Brian is green' but not both then Sandra grabbed the apple. It is highly unlikely that if 'Brian is green' or 'Julius is a swan' or both then John went to the garden. It is improbable that if either 'Sumit is tired' or 'Brian is green' but not both then Bernhard is a frog.,There is a better than even chance that 'Sumit is tired 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.7::factA. 0.7::factB. 0.1::factC. %hop1 0.6::factX:-xor(factC,factB). 0.05::factY:-or(factB,factC). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.025549999999999996,0.22324464892978596,train,almost no chance,better than even,There is almost no chance that 'Sumit is tired and John went to the garden'.,There is a better than even chance that 'Sumit is tired and John went to the garden'.,0,'Sumit is tired and John went to the garden'. It is highly unlikely that Emily is a mouse. Chances are about even that John went to the hallway. There is a very good chance that Jeff left the apple. It is almost certain that if either 'Jeff left the apple' or 'Emily is a mouse' but not both then Brian is white. It is unlikely that if 'Jeff left the apple' or 'John went to the hallway' or both then Sumit is tired. There is a better than even chance that if 'John went to the hallway and Jeff left the apple' then Jessica is a sheep.,It is probably not the case that 'Brian is white' 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.05::factA. 0.5::factB. 0.8::factC. %hop1 0.95::factX:-xor(factC,factA). 0.2::factY:-or(factC,factB). 0.6::factZ:-and(factB,factC). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.7549,0.16903380676135227,train,we believe,probably not,We believe that 'Brian is white' or 'Jessica is a sheep' or both.,It is probably not the case that 'Brian is white' or 'Jessica is a sheep' or both.,0,'Brian is white' or 'Jessica is a sheep' or both. It is likely that Julius is a frog. There is little chance that Bill moved to the office. It is likely that Greg is a rhino. Chances are slight that if 'Bill moved to the office and Julius is a frog' then John picked up the apple. It is unlikely that if 'Bill moved to the office and Greg is a rhino' then Bernhard is gray. Chances are about even that if either 'Bill moved to the office' or 'Julius is a frog' but not both then Winona is a mouse.,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.7::factA. 0.1::factB. 0.7::factC. %hop1 0.1::factX:-and(factB,factA). 0.2::factY:-and(factB,factC). 0.5::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.6944,0.4372874574914983,train,likely,almost no chance,It is likely that either 'Julius is a frog' or 'Bernhard is gray' but not both.,There is almost no chance that either 'Julius is a frog' or 'Bernhard is gray' but not both.,1,Either 'Julius is a frog' or 'Bernhard is gray' but not both. It is probably not the case that John took the apple. There is a better than even chance that Mary moved to the garden. There is almost no chance that Julius is yellow. It is highly likely that if 'Julius is yellow and John took the apple' then Greg is gray. There is a better than even chance that if 'Mary moved to the garden and Julius is yellow' then Bernhard is green. It is highly likely that if 'John took the apple and Julius is yellow' then Sandra dropped the milk.,It is impossible that 'Julius is yellow and John took 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.6::factB. 0.02::factC. %hop1 0.9::factX:-and(factC,factA). 0.6::factY:-and(factB,factC). 0.9::factZ:-and(factA,factC). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.005000000000000002,0.1408281656331266,train,impossible,about even,It is impossible that 'Julius is yellow and John took the apple'.,Chances are about even that 'Julius is yellow and John took the apple'.,1,'Julius is yellow and John took the apple'. It is unlikely that Daniel dropped the apple. It is highly likely that Winona is a sheep. It is probably the case that Lily is a frog. It is probably not the case that if either 'Daniel dropped the apple' or 'Lily is a frog' but not both then Sandra left the milk. It is likely that if 'Daniel dropped the apple and Winona is a sheep' then Jessica is a mouse. It is highly unlikely that if 'Lily is a frog and Winona is a sheep' then John went to the hallway.,It is unlikely that 'Daniel dropped the apple 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.2::factA. 0.9::factB. 0.7::factC. %hop1 0.25::factX:-xor(factA,factC). 0.7::factY:-and(factA,factB). 0.05::factZ:-and(factC,factB). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.18000000000000002,0.45749149829965996,train,unlikely,probable,It is unlikely that 'Daniel dropped the apple and Winona is a sheep'.,It is probable that 'Daniel dropped the apple and Winona is a sheep'.,1,'Daniel dropped the apple and Winona is a sheep'. It is probable that Sandra dropped the milk. It is highly unlikely that Lily is a rhino. There is a better than even chance that Brian is a swan. We doubt that if 'Sandra dropped the milk and Lily is a rhino' then John moved to the garden. There is a very good chance that if 'Brian is a swan' or 'Lily is a rhino' or both then Greg is green. It is probably not the case that if 'Lily is a rhino and Sandra dropped the milk' then Mary discarded the milk.,It is highly unlikely that either 'Mary discarded the milk' 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.05::factB. 0.6::factC. %hop1 0.2::factX:-and(factA,factB). 0.8::factY:-or(factC,factB). 0.25::factZ:-and(factB,factA). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.5982500000000001,0.24764952990598119,train,better than even,highly unlikely,There is a better than even chance that either 'Mary discarded the milk' or 'Brian is a swan' but not both.,It is highly unlikely that either 'Mary discarded the milk' or 'Brian is a swan' but not both.,0,Either 'Mary discarded the milk' or 'Brian is a swan' but not both. It is improbable that Julius is gray. It is probably not the case that Sandra left the football. It is almost certain that Greg is a frog. It is highly likely that if 'Sandra left the football and Greg is a frog' then Gertrude is a sheep. It is improbable that if 'Julius is gray' or 'Sandra left the football' or both then Mary dropped the milk. Chances are about even that if 'Greg is a frog' or 'Julius is gray' or both then Emily is a mouse.,Chances are about even that either 'Emily is a mouse' 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. 0.25::factB. 0.95::factC. %hop1 0.9::factX:-and(factB,factC). 0.1::factY:-or(factA,factB). 0.5::factZ:-or(factC,factA). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.47750000000000004,0.18003600720144028,train,about even,highly unlikely,Chances are about even that either 'Emily is a mouse' or 'Gertrude is a sheep' but not both.,It is highly unlikely that either 'Emily is a mouse' or 'Gertrude is a sheep' but not both.,1,Either 'Emily is a mouse' or 'Gertrude is a sheep' but not both. It is unlikely that Jessica is a mouse. It is probably the case that Bernhard is a frog. It is likely that Brian is gray. It is likely that if 'Bernhard is a frog and Jessica is a mouse' then Jeff moved to the garden. It is likely that if 'Brian is gray' or 'Bernhard is a frog' or both then Mary grabbed the milk. Chances are about even that if either 'Bernhard is a frog' or 'Jessica is a mouse' but not both then Julius is a swan.,We doubt that 'Bernhard is a frog' 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.2::factA. 0.7::factB. 0.7::factC. %hop1 0.7::factX:-and(factB,factA). 0.7::factY:-or(factC,factB). 0.5::factZ:-xor(factB,factA). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.73,0.3138627725545109,train,we believe,we doubt,We believe that 'Bernhard is a frog' or 'Julius is a swan' or both.,We doubt that 'Bernhard is a frog' or 'Julius is a swan' or both.,0,'Bernhard is a frog' or 'Julius is a swan' or both. There is a better than even chance that Julius is yellow. There is a better than even chance that Brian is a rhino. It is highly likely that Jessica is a mouse. It is improbable that if either 'Brian is a rhino' or 'Julius is yellow' but not both then Emily is a wolf. It is probably not the case that if 'Brian is a rhino and Jessica is a mouse' then Lily is a lion. It is likely that if 'Brian is a rhino and Julius is yellow' then Mary picked up the apple.,It is probably not the case that either 'Mary picked up the apple' 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 0.6::factA. 0.6::factB. 0.9::factC. %hop1 0.1::factX:-xor(factB,factA). 0.25::factY:-and(factB,factC). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.3,0.7977595519103821,train,probably not,we believe,It is probably not the case that either 'Mary picked up the apple' or 'Emily is a wolf' but not both.,We believe that either 'Mary picked up the apple' or 'Emily is a wolf' but not both.,1,Either 'Mary picked up the apple' or 'Emily is a wolf' but not both. It is unlikely that Winona is a wolf. It is impossible that Daniel got the milk. There is a better than even chance that Bill moved to the office. It is probably the case that if 'Winona is a wolf' or 'Daniel got the milk' or both then Bernhard is a rhino. It is probable that if 'Bill moved to the office and Winona is a wolf' then John went to the kitchen. There is almost no chance that if either 'Daniel got the milk' or 'Winona is a wolf' but not both then Mary discarded the milk.,We doubt that 'Winona is a wolf' 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.2::factA. 0.0::factB. 0.6::factC. %hop1 0.7::factX:-or(factA,factB). 0.7::factY:-and(factC,factA). 0.02::factZ:-xor(factB,factA). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.2,0.2710542108421684,train,we doubt,certain,We doubt that 'Winona is a wolf' or 'Daniel got the milk' or both.,It is certain that 'Winona is a wolf' or 'Daniel got the milk' or both.,1,'Winona is a wolf' or 'Daniel got the milk' or both. It is probably the case that Greg is a swan. We doubt that Brian is a lion. Chances are about even that John went to the kitchen. It is certain that if 'Brian is a lion' or 'John went to the kitchen' or both then Bernhard is a frog. It is likely that if 'Greg is a swan' or 'John went to the kitchen' or both then Julius is yellow. It is probably the case that if 'Greg is a swan' or 'John went to the kitchen' or both then Mary left the football.,It is almost certain that 'Julius is yellow and Greg 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.2::factB. 0.5::factC. %hop1 1.0::factX:-or(factB,factC). 0.7::factY:-or(factA,factC). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.48999999999999994,0.40608121624324867,train,about even,almost certain,Chances are about even that 'Julius is yellow and Greg is a swan'.,It is almost certain that 'Julius is yellow and Greg is a swan'.,0,'Julius is yellow and Greg is a swan'. It is highly likely that Sumit is thirsty. There is almost no chance that Winona is a sheep. It is likely that Julius is gray. We believe that if 'Winona is a sheep' or 'Julius is gray' or both then John moved to the office. It is impossible that if either 'Winona is a sheep' or 'Julius is gray' but not both then Mary dropped the apple. It is probable that if 'Julius is gray and Winona is a sheep' then Bernhard is yellow.,It is probably the case that 'Bernhard is yellow 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.02::factB. 0.7::factC. %hop1 0.75::factX:-or(factB,factC). 0.0::factY:-xor(factB,factC). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.009800000000000003,0.09341868373674735,train,impossible,probably,It is impossible that 'Bernhard is yellow and Winona is a sheep'.,It is probably the case that 'Bernhard is yellow and Winona is a sheep'.,0,'Bernhard is yellow and Winona is a sheep'. We doubt that Fred put down the apple. It is certain that John picked up the milk. It is certain that Lily is a frog. It is impossible that if 'Lily is a frog' or 'Fred put down the apple' or both then Emily is a mouse. It is likely that if 'Fred put down the apple and John picked up the milk' then Greg is a swan. It is probable that if 'Fred put down the apple and Lily is a frog' then Brian is yellow.,It is highly unlikely that 'Greg is a swan' 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.2::factA. 1.0::factB. 1.0::factC. %hop1 0.0::factX:-or(factC,factA). 0.7::factY:-and(factA,factB). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-or(factY,factB). query(conclusion). ",1.0,0.7429485897179436,train,certain,highly unlikely,It is certain that 'Greg is a swan' or 'John picked up the milk' or both.,It is highly unlikely that 'Greg is a swan' or 'John picked up the milk' or both.,0,'Greg is a swan' or 'John picked up the milk' or both. We believe that Winona is a wolf. It is highly unlikely that Mary moved to the office. There is almost no chance that Bernhard is green. It is highly unlikely that if 'Bernhard is green and Mary moved to the office' then Julius is a rhino. It is improbable that if 'Bernhard is green' or 'Winona is a wolf' or both then Brian is a swan. It is highly unlikely that if 'Winona is a wolf and Bernhard is green' then Sandra left the football.,It is impossible that 'Julius 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.75::factA. 0.05::factB. 0.02::factC. %hop1 0.05::factX:-and(factC,factB). 0.1::factY:-or(factC,factA). 0.05::factZ:-and(factA,factC). %hop2 conclusion:-and(factX,factY). query(conclusion). ",4.999999999999999e-06,0.3640728145629126,train,impossible,highly likely,It is impossible that 'Julius is a rhino and Brian is a swan'.,It is highly likely that 'Julius is a rhino and Brian is a swan'.,1,'Julius is a rhino and Brian is a swan'. It is unlikely that Emily is a mouse. It is impossible that Jeff went to the garden. It is improbable that Mary left the football. Chances are slight that if 'Mary left the football' or 'Jeff went to the garden' or both then Sandra took the milk. It is highly unlikely that if 'Emily is a mouse and Jeff went to the garden' then Greg is a frog. We doubt that if either 'Mary left the football' or 'Jeff went to the garden' but not both then Bernhard is green.,It is impossible that either 'Greg is a frog' 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.2::factA. 0.0::factB. 0.1::factC. %hop1 0.1::factX:-or(factC,factB). 0.05::factY:-and(factA,factB). 0.2::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.0,0.7321464292858572,train,impossible,certain,It is impossible that either 'Greg is a frog' or 'Jeff went to the garden' but not both.,It is certain that either 'Greg is a frog' or 'Jeff went to the garden' but not both.,1,Either 'Greg is a frog' or 'Jeff went to the garden' but not both. There is a better than even chance that Mary went to the office. There is a better than even chance that Julius is a lion. There is little chance that John took the apple. It is impossible that if 'John took the apple' or 'Julius is a lion' or both then Bill left the milk. It is probable that if either 'John took the apple' or 'Julius is a lion' but not both then Lily is a swan. It is highly unlikely that if either 'Mary went to the office' or 'John took the apple' but not both then Greg is a rhino.,We believe that 'Bill left the milk 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.6::factA. 0.6::factB. 0.1::factC. %hop1 0.0::factX:-or(factC,factB). 0.7::factY:-xor(factC,factB). 0.05::factZ:-xor(factA,factC). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.0,0.4478895779155831,train,impossible,we believe,It is impossible that 'Bill left the milk and Lily is a swan'.,We believe that 'Bill left the milk and Lily is a swan'.,0,'Bill left the milk and Lily is a swan'. It is probable that Antoine is thirsty. It is improbable that Sandra dropped the milk. Chances are slight that Greg is a frog. It is highly unlikely that if 'Antoine is thirsty and Sandra dropped the milk' then Bernhard is a swan. It is unlikely that if 'Antoine is thirsty' or 'Greg is a frog' or both then Julius is a lion. We believe that if 'Sandra dropped the milk' or 'Antoine is thirsty' or both then Gertrude is a wolf.,We believe that 'Bernhard is a swan and Antoine 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.1::factC. %hop1 0.05::factX:-and(factA,factB). 0.2::factY:-or(factA,factC). 0.75::factZ:-or(factB,factA). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.003500000000000001,0.4118823764752951,train,impossible,we believe,It is impossible that 'Bernhard is a swan and Antoine is thirsty'.,We believe that 'Bernhard is a swan and Antoine is thirsty'.,0,'Bernhard is a swan and Antoine is thirsty'. It is impossible that Mary discarded the apple. It is unlikely that Julius is gray. It is probably not the case that Brian is yellow. It is impossible that if 'Julius is gray' or 'Brian is yellow' or both then Winona is a wolf. There is a better than even chance that if 'Mary discarded the apple and Julius is gray' then Greg is yellow. It is almost certain that if either 'Brian is yellow' or 'Mary discarded the apple' but not both then John went to the hallway.,It is probably not the case that either 'John went to the hallway' 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.0::factA. 0.2::factB. 0.25::factC. %hop1 0.0::factX:-or(factB,factC). 0.6::factY:-and(factA,factB). 0.95::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.2375,0.4358871774354871,train,probably not,certain,It is probably not the case that either 'John went to the hallway' or 'Greg is yellow' but not both.,It is certain that either 'John went to the hallway' or 'Greg is yellow' but not both.,1,Either 'John went to the hallway' or 'Greg is yellow' but not both. It is highly unlikely that Julius is yellow. It is unlikely that Brian is a frog. We believe that John moved to the office. It is unlikely that if 'Julius is yellow and John moved to the office' then Greg is a swan. It is highly unlikely that if 'John moved to the office' or 'Julius is yellow' or both then Mary went to the hallway. It is improbable that if either 'Brian is a frog' or 'John moved to the office' but not both then Bernhard is white.,It is almost certain that either 'Mary went to the hallway' 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.05::factA. 0.2::factB. 0.75::factC. %hop1 0.2::factX:-and(factA,factC). 0.05::factY:-or(factC,factA). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.09710000000000008,0.6787357471494299,train,improbable,almost certain,It is improbable that either 'Mary went to the hallway' or 'Bernhard is white' but not both.,It is almost certain that either 'Mary went to the hallway' or 'Bernhard is white' but not both.,0,Either 'Mary went to the hallway' or 'Bernhard is white' but not both. We believe that Lily is a rhino. It is highly likely that Emily is a mouse. We believe that Julius is a frog. We believe that if either 'Lily is a rhino' or 'Julius is a frog' but not both then Winona is a wolf. There is a better than even chance that if 'Emily is a mouse and Lily is a rhino' then Sandra dropped the milk. Chances are about even that if 'Emily is a mouse and Lily is a rhino' then John discarded the apple.,Chances are about even that either 'Julius is a frog' or 'Lily 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.9::factB. 0.75::factC. %hop1 0.75::factX:-xor(factA,factC). 0.6::factY:-and(factB,factA). 0.5::factZ:-and(factB,factA). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.375,0.3796759351870374,train,about even,certain,Chances are about even that either 'Julius is a frog' or 'Lily is a rhino' but not both.,It is certain that either 'Julius is a frog' or 'Lily is a rhino' but not both.,1,Either 'Julius is a frog' or 'Lily is a rhino' but not both. Chances are slight that Bernhard is a swan. It is probably not the case that Winona is a mouse. It is almost certain that Mary dropped the milk. Chances are slight that if 'Bernhard is a swan' or 'Mary dropped the milk' or both then Brian is a lion. It is highly unlikely that if 'Mary dropped the milk and Winona is a mouse' then John went to the hallway. Chances are slight that if either 'Mary dropped the milk' or 'Bernhard is a swan' but not both then Greg is a swan.,There is little chance that 'Brian is a lion' 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.1::factA. 0.25::factB. 0.95::factC. %hop1 0.1::factX:-or(factA,factC). 0.05::factY:-and(factC,factB). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.10618750000000003,0.4888977795559112,train,little chance,likely,There is little chance that 'Brian is a lion' or 'John went to the hallway' or both.,It is likely that 'Brian is a lion' or 'John went to the hallway' or both.,1,'Brian is a lion' or 'John went to the hallway' or both. It is almost certain that Emily is a mouse. It is certain that Julius is a lion. It is probably the case that Greg is yellow. There is almost no chance that if 'Greg is yellow' or 'Emily is a mouse' or both then Mary left the football. It is certain that if either 'Emily is a mouse' or 'Julius is a lion' but not both then Brian is a rhino. We doubt that if either 'Greg is yellow' or 'Emily is a mouse' but not both then John is in the garden.,Chances are slight that 'Greg is yellow 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. 1.0::factB. 0.7::factC. %hop1 0.02::factX:-or(factC,factA). 1.0::factY:-xor(factA,factB). 0.2::factZ:-xor(factC,factA). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.6649999999999999,0.6563312662532507,train,probably,chances are slight,It is probably the case that 'Greg is yellow and Emily is a mouse'.,Chances are slight that 'Greg is yellow and Emily is a mouse'.,0,'Greg is yellow and Emily is a mouse'. We doubt that John dropped the apple. It is certain that Sumit is thirsty. It is almost certain that Mary went to the office. We doubt that if either 'John dropped the apple' or 'Mary went to the office' but not both then Sandra got the milk. Chances are about even that if 'Mary went to the office and Sumit is thirsty' then Julius is a swan. It is impossible that if either 'Sumit is thirsty' or 'Mary went to the office' but not both then Greg is a rhino.,There is little chance that either 'Sumit is thirsty' or 'John 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. 1.0::factB. 0.95::factC. %hop1 0.2::factX:-xor(factA,factC). 0.5::factY:-and(factC,factB). 0.0::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.8,0.6755351070214043,train,very good chance,little chance,There is a very good chance that either 'Sumit is thirsty' or 'John dropped the apple' but not both.,There is little chance that either 'Sumit is thirsty' or 'John dropped the apple' but not both.,0,Either 'Sumit is thirsty' or 'John dropped the apple' but not both. We doubt that Sandra left the milk. There is almost no chance that Brian is yellow. It is probable that Sumit is thirsty. It is almost certain that if 'Sumit is thirsty and Sandra left the milk' then Julius is white. It is highly unlikely that if either 'Sandra left the milk' or 'Brian is yellow' but not both then John went to the bedroom. There is little chance that if 'Sumit is thirsty and Brian is yellow' then Mary put down the apple.,It is probably the case that 'John went to the bedroom' 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.2::factA. 0.02::factB. 0.7::factC. %hop1 0.95::factX:-and(factC,factA). 0.05::factY:-xor(factA,factB). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.137083,0.7545509101820365,train,improbable,probably,It is improbable that 'John went to the bedroom' or 'Julius is white' or both.,It is probably the case that 'John went to the bedroom' or 'Julius is white' or both.,0,'John went to the bedroom' or 'Julius is white' or both. There is a very good chance that Daniel took the milk. It is likely that Greg is yellow. Chances are about even that John dropped the apple. We believe that if 'Daniel took the milk' or 'John dropped the apple' or both then Brian is white. It is unlikely that if 'Daniel took the milk and John dropped the apple' then Julius is green. There is almost no chance that if either 'Daniel took the milk' or 'Greg is yellow' but not both then Gertrude is a cat.,Chances are about even that 'John dropped the apple' 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.8::factA. 0.7::factB. 0.5::factC. %hop1 0.75::factX:-or(factA,factC). 0.2::factY:-and(factA,factC). 0.02::factZ:-xor(factA,factB). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.5038,0.6949389877975595,train,about even,almost no chance,Chances are about even that 'John dropped the apple' or 'Gertrude is a cat' or both.,There is almost no chance that 'John dropped the apple' or 'Gertrude is a cat' or both.,1,'John dropped the apple' or 'Gertrude is a cat' or both. We believe that John took the apple. We doubt that Lily is a lion. It is likely that Julius is a swan. It is probably the case that if 'Lily is a lion and John took the apple' then Jeff left the apple. We believe that if 'Lily is a lion' or 'John took the apple' or both then Bernhard is green. It is likely that if 'Lily is a lion' or 'John took the apple' or both then Greg is a frog.,We believe that 'John took the apple' or 'Jeff 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.75::factA. 0.2::factB. 0.7::factC. %hop1 0.7::factX:-and(factB,factA). 0.75::factY:-or(factB,factA). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.75,0.5291058211642329,train,we believe,impossible,We believe that 'John took the apple' or 'Jeff left the apple' or both.,It is impossible that 'John took the apple' or 'Jeff left the apple' or both.,1,'John took the apple' or 'Jeff left the apple' or both. We believe that John put down the milk. It is improbable that Sandra dropped the apple. It is impossible that Julius is gray. Chances are about even that if either 'Julius is gray' or 'Sandra dropped the apple' but not both then Mary moved to the office. There is little chance that if 'John put down the milk' or 'Julius is gray' or both then Greg is white. It is probably the case that if 'John put down the milk and Julius is gray' then Bernhard is yellow.,Chances are about even that 'Mary moved to the office' 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.75::factA. 0.1::factB. 0.0::factC. %hop1 0.5::factX:-xor(factC,factB). 0.1::factY:-or(factA,factC). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.05000000000000001,0.16163232646529305,train,highly unlikely,about even,It is highly unlikely that 'Mary moved to the office' or 'Julius is gray' or both.,Chances are about even that 'Mary moved to the office' or 'Julius is gray' or both.,0,'Mary moved to the office' or 'Julius is gray' or both. It is impossible that Emily is a sheep. It is probably the case that Bernhard is yellow. It is probably not the case that Greg is yellow. It is certain that if 'Bernhard is yellow and Greg is yellow' then Lily is a rhino. There is a very good chance that if 'Greg is yellow and Emily is a sheep' then Brian is a frog. It is likely that if 'Bernhard is yellow and Greg is yellow' then Sandra dropped the milk.,It is certain that 'Greg is yellow' or 'Brian 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.7::factB. 0.25::factC. %hop1 1.0::factX:-and(factB,factC). 0.8::factY:-and(factC,factA). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.25,0.35747149429885977,train,probably not,certain,It is probably not the case that 'Greg is yellow' or 'Brian is a frog' or both.,It is certain that 'Greg is yellow' or 'Brian is a frog' or both.,0,'Greg is yellow' or 'Brian is a frog' or both. It is probably not the case that Gertrude is a sheep. We doubt that Julius is a lion. It is highly likely that John discarded the apple. It is likely that if either 'Gertrude is a sheep' or 'Julius is a lion' but not both then Jeff moved to the office. It is certain that if either 'Gertrude is a sheep' or 'John discarded the apple' but not both then Brian is gray. It is probable that if 'John discarded the apple and Julius is a lion' then Winona is a mouse.,It is highly unlikely that 'Winona is a mouse and Jeff 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.25::factA. 0.2::factB. 0.9::factC. %hop1 0.7::factX:-xor(factA,factB). 1.0::factY:-xor(factA,factC). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.06615000000000001,0.03400680136027205,train,highly unlikely,we believe,It is highly unlikely that 'Winona is a mouse and Jeff moved to the office'.,We believe that 'Winona is a mouse and Jeff moved to the office'.,1,'Winona is a mouse and Jeff moved to the office'. There is little chance that Bernhard is gray. It is impossible that Daniel left the apple. There is a very good chance that Mary dropped the milk. It is certain that if 'Mary dropped the milk' or 'Bernhard is gray' or both then Greg is yellow. It is likely that if either 'Mary dropped the milk' or 'Bernhard is gray' but not both then Brian is a frog. Chances are about even that if 'Bernhard is gray' or 'Mary dropped the milk' or both then Lily is a swan.,Chances are slight that 'Mary dropped the milk 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.1::factA. 0.0::factB. 0.8::factC. %hop1 1.0::factX:-or(factC,factA). 0.7::factY:-xor(factC,factA). 0.5::factZ:-or(factA,factC). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.08000000000000002,0.07781556311262253,train,chances are slight,very good chance,Chances are slight that 'Mary dropped the milk and Bernhard is gray'.,There is a very good chance that 'Mary dropped the milk and Bernhard is gray'.,1,'Mary dropped the milk and Bernhard is gray'. It is certain that Bernhard is a frog. There is almost no chance that Antoine is hungry. Chances are about even that Julius is a swan. There is almost no chance that if 'Bernhard is a frog and Antoine is hungry' then Mary went to the office. There is a better than even chance that if 'Julius is a swan' or 'Antoine is hungry' or both then Brian is yellow. There is almost no chance that if 'Bernhard is a frog and Antoine is hungry' then John picked up the milk.,It is probably not the case that 'Julius is a swan 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 1.0::factA. 0.02::factB. 0.5::factC. %hop1 0.02::factX:-and(factA,factB). 0.6::factY:-or(factC,factB). 0.02::factZ:-and(factA,factB). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.30000000000000004,0.07201440288057612,train,probably not,likely,It is probably not the case that 'Julius is a swan and Brian is yellow'.,It is likely that 'Julius is a swan and Brian is yellow'.,1,'Julius is a swan and Brian is yellow'. Chances are slight that Mary left the apple. It is highly unlikely that Brian is green. It is probably the case that John went to the office. It is impossible that if 'Mary left the apple' or 'Brian is green' or both then Julius is a frog. There is a better than even chance that if 'John went to the office' or 'Brian is green' or both then Jessica is a mouse. There is almost no chance that if either 'John went to the office' or 'Mary left the apple' but not both then Greg is a rhino.,It is almost certain that 'Jessica is a mouse' 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.1::factA. 0.05::factB. 0.7::factC. %hop1 0.0::factX:-or(factA,factB). 0.6::factY:-or(factC,factB). 0.02::factZ:-xor(factC,factA). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.4489999999999999,0.4206841368273655,train,about even,almost certain,Chances are about even that 'Jessica is a mouse' or 'Brian is green' or both.,It is almost certain that 'Jessica is a mouse' or 'Brian is green' or both.,0,'Jessica is a mouse' or 'Brian is green' or both. It is highly unlikely that Brian is a lion. Chances are slight that Bill went to the office. There is a better than even chance that Mary left the football. It is highly likely that if either 'Mary left the football' or 'Brian is a lion' but not both then Lily is a rhino. It is impossible that if 'Bill went to the office' or 'Brian is a lion' or both then John put down the apple. It is probably the case that if 'Mary left the football' or 'Brian is a lion' or both then Sandra dropped the milk.,It is improbable that 'Lily 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.05::factA. 0.1::factB. 0.6::factC. %hop1 0.9::factX:-xor(factC,factA). 0.0::factY:-or(factB,factA). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.618,0.2530506101220244,train,better than even,improbable,There is a better than even chance that 'Lily is a rhino' or 'Mary left the football' or both.,It is improbable that 'Lily is a rhino' or 'Mary left the football' or both.,0,'Lily is a rhino' or 'Mary left the football' or both. There is a better than even chance that John put down the milk. It is probable that Julius is a frog. It is likely that Jessica is a mouse. There is little chance that if 'Julius is a frog' or 'John put down the milk' or both then Sandra dropped the apple. It is highly unlikely that if either 'Julius is a frog' or 'John put down the milk' but not both then Mary went to the kitchen. Chances are about even that if 'Jessica is a mouse and John put down the milk' then Lily is white.,There is almost no chance that 'Jessica is a mouse' 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.6::factA. 0.7::factB. 0.7::factC. %hop1 0.1::factX:-or(factB,factA). 0.05::factY:-xor(factB,factA). 0.5::factZ:-and(factC,factA). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.7,0.4568913782756551,train,probably,almost no chance,It is probably the case that 'Jessica is a mouse' or 'Lily is white' or both.,There is almost no chance that 'Jessica is a mouse' or 'Lily is white' or both.,0,'Jessica is a mouse' or 'Lily is white' or both. It is highly unlikely that Daniel dropped the apple. Chances are slight that Bill went to the office. It is probable that John picked up the milk. Chances are about even that if 'Daniel dropped the apple' or 'John picked up the milk' or both then Jason is tired. There is a very good chance that if 'Daniel dropped the apple and John picked up the milk' then Julius is a swan. There is almost no chance that if either 'Daniel dropped the apple' or 'John picked up the milk' but not both then Bernhard is green.,It is likely that either 'Julius is a swan' or 'Bill 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.1::factB. 0.7::factC. %hop1 0.5::factX:-or(factA,factC). 0.8::factY:-and(factA,factC). 0.02::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.12240000000000006,0.7519503900780156,train,little chance,likely,There is little chance that either 'Julius is a swan' or 'Bill went to the office' but not both.,It is likely that either 'Julius is a swan' or 'Bill went to the office' but not both.,0,Either 'Julius is a swan' or 'Bill went to the office' but not both. We doubt that Greg is a frog. There is almost no chance that Bernhard is yellow. It is almost certain that Brian is a swan. It is almost certain that if 'Bernhard is yellow and Greg is a frog' then Sumit is thirsty. We believe that if 'Greg is a frog' or 'Bernhard is yellow' or both then Julius is a lion. Chances are about even that if either 'Brian is a swan' or 'Bernhard is yellow' but not both then Lily is white.,Chances are about even that either 'Lily is white' or 'Sumit 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.2::factA. 0.02::factB. 0.95::factC. %hop1 0.95::factX:-and(factB,factA). 0.75::factY:-or(factA,factB). 0.5::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.46961,0.2614522904580916,train,about even,almost certain,Chances are about even that either 'Lily is white' or 'Sumit is thirsty' but not both.,It is almost certain that either 'Lily is white' or 'Sumit is thirsty' but not both.,1,Either 'Lily is white' or 'Sumit is thirsty' but not both. It is impossible that Julius is a lion. It is impossible that John discarded the milk. It is likely that Mary went to the garden. It is probably the case that if 'John discarded the milk' or 'Mary went to the garden' or both then Bernhard is a swan. It is unlikely that if either 'John discarded the milk' or 'Mary went to the garden' but not both then Fred put down the apple. It is probably the case that if 'Julius is a lion' or 'John discarded the milk' or both then Greg is a rhino.,It is certain that 'Julius is a lion and Mary 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.0::factA. 0.0::factB. 0.7::factC. %hop1 0.7::factX:-or(factB,factC). 0.2::factY:-xor(factB,factC). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.2940588117623525,train,impossible,certain,It is impossible that 'Julius is a lion and Mary went to the garden'.,It is certain that 'Julius is a lion and Mary went to the garden'.,0,'Julius is a lion and Mary went to the garden'. Chances are slight that John grabbed the apple. Chances are about even that Lily is a frog. It is probable that Julius is a swan. There is almost no chance that if either 'Julius is a swan' or 'John grabbed the apple' but not both then Bernhard is green. There is almost no chance that if either 'Lily is a frog' or 'John grabbed the apple' but not both then Fred went to the garden. Chances are slight that if 'Lily is a frog and John grabbed the apple' then Greg is gray.,It is highly likely that 'Greg is gray 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.1::factA. 0.5::factB. 0.7::factC. %hop1 0.02::factX:-xor(factC,factA). 0.02::factY:-xor(factB,factA). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.005000000000000002,0.6737347469493898,train,impossible,highly likely,It is impossible that 'Greg is gray and Lily is a frog'.,It is highly likely that 'Greg is gray and Lily is a frog'.,0,'Greg is gray and Lily is a frog'. It is unlikely that Bernhard is gray. It is probably not the case that Lily is a frog. It is highly unlikely that Julius is white. Chances are about even that if either 'Lily is a frog' or 'Julius is white' but not both then Bill went to the kitchen. Chances are slight that if either 'Julius is white' or 'Lily is a frog' but not both then Brian is a rhino. It is unlikely that if either 'Bernhard is gray' or 'Lily is a frog' but not both then John left the apple.,There is a very good chance that either 'Bernhard is gray' 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.2::factA. 0.25::factB. 0.05::factC. %hop1 0.5::factX:-xor(factB,factC). 0.1::factY:-xor(factC,factB). 0.2::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.23,0.3814762952590518,train,probably not,very good chance,It is probably not the case that either 'Bernhard is gray' or 'Julius is white' but not both.,There is a very good chance that either 'Bernhard is gray' or 'Julius is white' but not both.,0,Either 'Bernhard is gray' or 'Julius is white' but not both. We believe that Mary dropped the milk. It is impossible that Gertrude is a cat. It is probably the case that John went to the kitchen. It is almost certain that if 'John went to the kitchen' or 'Gertrude is a cat' or both then Winona is a sheep. It is impossible that if 'Gertrude is a cat' or 'John went to the kitchen' or both then Lily is white. Chances are about even that if 'Mary dropped the milk and John went to the kitchen' then Bernhard is a swan.,It is almost certain that either 'Winona is a sheep' or 'Mary 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.75::factA. 0.0::factB. 0.7::factC. %hop1 0.95::factX:-or(factC,factB). 0.0::factY:-or(factB,factC). 0.5::factZ:-and(factA,factC). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.41750000000000004,0.71374274854971,train,about even,almost certain,Chances are about even that either 'Winona is a sheep' or 'Mary dropped the milk' but not both.,It is almost certain that either 'Winona is a sheep' or 'Mary dropped the milk' but not both.,0,Either 'Winona is a sheep' or 'Mary dropped the milk' but not both. Chances are about even that Jason is tired. There is little chance that Bernhard is green. We doubt that Lily is a frog. It is probable that if either 'Jason is tired' or 'Bernhard is green' but not both then Daniel left the milk. There is almost no chance that if either 'Jason is tired' or 'Bernhard is green' but not both then John took the apple. It is unlikely that if either 'Lily is a frog' or 'Bernhard is green' but not both then Brian is white.,It is likely that 'John took the apple and Daniel 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.5::factA. 0.1::factB. 0.2::factC. %hop1 0.7::factX:-xor(factA,factB). 0.02::factY:-xor(factA,factB). 0.2::factZ:-xor(factC,factB). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.007000000000000003,0.5285057011402281,train,impossible,likely,It is impossible that 'John took the apple and Daniel left the milk'.,It is likely that 'John took the apple and Daniel left the milk'.,0,'John took the apple and Daniel left the milk'. It is certain that Fred dropped the apple. There is little chance that Sumit is thirsty. It is almost certain that Mary moved to the garden. It is probably not the case that if either 'Fred dropped the apple' or 'Mary moved to the garden' but not both then Sandra left the milk. Chances are about even that if either 'Fred dropped the apple' or 'Sumit is thirsty' but not both then Gertrude is a sheep. Chances are about even that if either 'Mary moved to the garden' or 'Fred dropped the apple' but not both then Lily is a rhino.,It is certain that 'Lily is a rhino' or 'Fred 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 1.0::factA. 0.1::factB. 0.95::factC. %hop1 0.25::factX:-xor(factA,factC). 0.5::factY:-xor(factA,factB). 0.5::factZ:-xor(factC,factA). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",1.0,0.6143228645729146,train,certain,we doubt,It is certain that 'Lily is a rhino' or 'Fred dropped the apple' or both.,We doubt that 'Lily is a rhino' or 'Fred dropped the apple' or both.,1,'Lily is a rhino' or 'Fred dropped the apple' or both. It is impossible that Daniel took the milk. It is almost certain that Emily is a mouse. There is almost no chance that Julius is a swan. Chances are slight that if 'Daniel took the milk' or 'Emily is a mouse' or both then Greg is gray. It is highly unlikely that if either 'Daniel took the milk' or 'Julius is a swan' but not both then Bernhard is yellow. There is almost no chance that if 'Daniel took the milk' or 'Emily is a mouse' or both then John went to the garden.,There is little chance that 'Greg is gray 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.0::factA. 0.95::factB. 0.02::factC. %hop1 0.1::factX:-or(factA,factB). 0.05::factY:-xor(factA,factC). 0.02::factZ:-or(factA,factB). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.09500000000000001,0.03460692138427685,train,little chance,probably,There is little chance that 'Greg is gray and Emily is a mouse'.,It is probably the case that 'Greg is gray and Emily is a mouse'.,1,'Greg is gray and Emily is a mouse'. There is a better than even chance that John went to the hallway. It is highly likely that Gertrude is a cat. It is highly unlikely that Mary took the milk. It is probably not the case that if 'Mary took the milk' or 'Gertrude is a cat' or both then Greg is a rhino. It is certain that if either 'John went to the hallway' or 'Mary took the milk' but not both then Daniel dropped the apple. It is certain that if either 'John went to the hallway' or 'Gertrude is a cat' but not both then Lily is a swan.,There is a better than even chance that 'Daniel dropped the apple' or 'Mary 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.6::factA. 0.9::factB. 0.05::factC. %hop1 0.25::factX:-or(factC,factB). 1.0::factY:-xor(factA,factC). 1.0::factZ:-xor(factA,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.6199999999999999,0.46569313862772554,train,better than even,improbable,There is a better than even chance that 'Daniel dropped the apple' or 'Mary took the milk' or both.,It is improbable that 'Daniel dropped the apple' or 'Mary took the milk' or both.,1,'Daniel dropped the apple' or 'Mary took the milk' or both. It is highly unlikely that Greg is a swan. Chances are about even that Brian is yellow. It is highly unlikely that Julius is gray. It is probable that if either 'Julius is gray' or 'Greg is a swan' but not both then Sandra took the milk. It is certain that if 'Julius is gray and Brian is yellow' then Jeff dropped the apple. It is almost certain that if 'Brian is yellow and Greg is a swan' then John went to the office.,It is probable that either 'Julius is gray' 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.05::factA. 0.5::factB. 0.05::factC. %hop1 0.7::factX:-xor(factC,factA). 1.0::factY:-and(factC,factB). 0.95::factZ:-and(factB,factA). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.09500000000000001,0.20584116823364673,train,improbable,probable,It is improbable that either 'Julius is gray' or 'Greg is a swan' but not both.,It is probable that either 'Julius is gray' or 'Greg is a swan' but not both.,0,Either 'Julius is gray' or 'Greg is a swan' but not both. There is little chance that Jessica is a mouse. It is probable that Mary took the milk. It is highly unlikely that Gertrude is a sheep. It is certain that if 'Mary took the milk and Gertrude is a sheep' then Brian is yellow. It is probable that if either 'Gertrude is a sheep' or 'Jessica is a mouse' but not both then Greg is white. It is unlikely that if 'Gertrude is a sheep' or 'Jessica is a mouse' or both then John picked up the apple.,There is almost no chance that 'Greg is white 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.05::factC. %hop1 1.0::factX:-and(factB,factC). 0.7::factY:-xor(factC,factA). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.02205,0.011202240448089618,train,almost no chance,probably,There is almost no chance that 'Greg is white and Brian is yellow'.,It is probably the case that 'Greg is white and Brian is yellow'.,1,'Greg is white and Brian is yellow'. It is likely that Brian is white. There is little chance that Sandra got the milk. It is probably not the case that Greg is a swan. It is certain that if 'Brian is white' or 'Sandra got the milk' or both then Julius is a frog. There is a very good chance that if 'Sandra got the milk and Brian is white' then Mary put down the apple. We doubt that if either 'Sandra got the milk' or 'Brian is white' but not both then Lily is a swan.,It is probably the case that 'Brian is white and Mary put down 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.7::factA. 0.1::factB. 0.25::factC. %hop1 1.0::factX:-or(factA,factB). 0.8::factY:-and(factB,factA). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.05600000000000001,0.7375475095019004,train,highly unlikely,probably,It is highly unlikely that 'Brian is white and Mary put down the apple'.,It is probably the case that 'Brian is white and Mary put down the apple'.,0,'Brian is white and Mary put down the apple'. It is probably the case that Winona is a cat. It is almost certain that Daniel grabbed the milk. It is likely that Sandra left the milk. There is almost no chance that if 'Daniel grabbed the milk' or 'Sandra left the milk' or both then Antoine is hungry. It is highly unlikely that if either 'Winona is a cat' or 'Sandra left the milk' but not both then Jessica is a mouse. There is almost no chance that if 'Winona is a cat' or 'Sandra left the milk' or both then John moved to the office.,There is almost no chance that 'Sandra left the milk 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.7::factA. 0.95::factB. 0.7::factC. %hop1 0.02::factX:-or(factB,factC). 0.05::factY:-xor(factA,factC). 0.02::factZ:-or(factA,factC). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.014000000000000007,0.4280856171234247,train,almost no chance,probable,There is almost no chance that 'Sandra left the milk and John moved to the office'.,It is probable that 'Sandra left the milk and John moved to the office'.,1,'Sandra left the milk and John moved to the office'. It is impossible that Gertrude is a sheep. Chances are slight that Jessica is a cat. It is probably the case that Daniel left the football. It is certain that if either 'Gertrude is a sheep' or 'Jessica is a cat' but not both then Bernhard is a frog. It is impossible that if either 'Jessica is a cat' or 'Daniel left the football' but not both then Greg is yellow. We believe that if 'Gertrude is a sheep' or 'Daniel left the football' or both then Lily is a swan.,It is probably the case that 'Daniel left the football' 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.0::factA. 0.1::factB. 0.7::factC. %hop1 1.0::factX:-xor(factA,factB). 0.0::factY:-xor(factB,factC). 0.75::factZ:-or(factA,factC). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.7,0.4472894578915783,train,probably,almost no chance,It is probably the case that 'Daniel left the football' or 'Greg is yellow' or both.,There is almost no chance that 'Daniel left the football' or 'Greg is yellow' or both.,1,'Daniel left the football' or 'Greg is yellow' or both. There is little chance that Fred left the football. It is probably the case that Bernhard is a swan. It is almost certain that John picked up the apple. There is a better than even chance that if 'Fred left the football' or 'John picked up the apple' or both then Mary moved to the garden. We believe that if 'Bernhard is a swan' or 'Fred left the football' or both then Brian is white. It is impossible that if either 'Bernhard is a swan' or 'Fred left the football' but not both then Greg is a frog.,It is almost certain that 'Fred left the football 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.1::factA. 0.7::factB. 0.95::factC. %hop1 0.6::factX:-or(factA,factC). 0.75::factY:-or(factB,factA). 0.0::factZ:-xor(factB,factA). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.07500000000000002,0.591118223644729,train,chances are slight,almost certain,Chances are slight that 'Fred left the football and Brian is white'.,It is almost certain that 'Fred left the football and Brian is white'.,0,'Fred left the football and Brian is white'. We believe that John moved to the garden. It is unlikely that Mary went to the kitchen. It is highly unlikely that Lily is yellow. It is unlikely that if either 'Lily is yellow' or 'Mary went to the kitchen' but not both then Sandra left the milk. It is probably not the case that if either 'Lily is yellow' or 'John moved to the garden' but not both then Gertrude is a wolf. There is a very good chance that if 'John moved to the garden and Lily is yellow' then Fred is in the school.,It is probably not the case that either 'Gertrude is a wolf' 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.2::factB. 0.05::factC. %hop1 0.2::factX:-xor(factC,factB). 0.25::factY:-xor(factC,factA). 0.8::factZ:-and(factA,factC). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.225,0.6461292258451691,train,probably not,we believe,It is probably not the case that either 'Gertrude is a wolf' or 'Lily is yellow' but not both.,We believe that either 'Gertrude is a wolf' or 'Lily is yellow' but not both.,1,Either 'Gertrude is a wolf' or 'Lily is yellow' but not both. It is highly likely that Mary went to the hallway. There is almost no chance that Jason is tired. Chances are slight that Daniel dropped the apple. It is certain that if either 'Daniel dropped the apple' or 'Jason is tired' but not both then Sandra left the football. There is a better than even chance that if 'Jason is tired and Mary went to the hallway' then Sumit is thirsty. There is a very good chance that if 'Mary went to the hallway and Daniel dropped the apple' then Brian is gray.,There is almost no chance that 'Mary went to the hallway 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.02::factB. 0.1::factC. %hop1 1.0::factX:-xor(factC,factB). 0.6::factY:-and(factB,factA). 0.8::factZ:-and(factA,factC). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.010800000000000002,0.5205041008201641,train,almost no chance,likely,There is almost no chance that 'Mary went to the hallway and Sumit is thirsty'.,It is likely that 'Mary went to the hallway and Sumit is thirsty'.,1,'Mary went to the hallway and Sumit is thirsty'. Chances are slight that John went to the kitchen. There is a very good chance that Bernhard is green. It is almost certain that Julius is a swan. There is a very good chance that if 'Julius is a swan and John went to the kitchen' then Daniel got the milk. Chances are slight that if either 'John went to the kitchen' or 'Julius is a swan' but not both then Lily is a frog. It is impossible that if 'Julius is a swan' or 'Bernhard is green' or both then Mary moved to the garden.,We believe that 'Bernhard is green 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.1::factA. 0.8::factB. 0.95::factC. %hop1 0.8::factX:-and(factC,factA). 0.1::factY:-xor(factA,factC). 0.0::factZ:-or(factC,factB). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.06880000000000003,0.6457291458291659,train,highly unlikely,we believe,It is highly unlikely that 'Bernhard is green and Lily is a frog'.,We believe that 'Bernhard is green and Lily is a frog'.,0,'Bernhard is green and Lily is a frog'. It is probably the case that Gertrude is a mouse. Chances are about even that John left the apple. It is almost certain that Brian is a frog. We believe that if either 'Brian is a frog' or 'John left the apple' but not both then Julius is white. It is highly likely that if 'Brian is a frog and Gertrude is a mouse' then Bernhard is gray. There is a better than even chance that if 'John left the apple' or 'Gertrude is a mouse' or both then Lily is a swan.,Chances are about even that either 'John left the apple' 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.5::factB. 0.95::factC. %hop1 0.75::factX:-xor(factC,factB). 0.9::factY:-and(factC,factA). 0.6::factZ:-or(factB,factA). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.4999999999999999,0.6761352270454091,train,about even,highly unlikely,Chances are about even that either 'John left the apple' or 'Bernhard is gray' but not both.,It is highly unlikely that either 'John left the apple' or 'Bernhard is gray' but not both.,1,Either 'John left the apple' or 'Bernhard is gray' but not both. It is highly likely that Julius is yellow. It is improbable that Bernhard is a frog. It is highly likely that Daniel got the football. There is almost no chance that if either 'Daniel got the football' or 'Bernhard is a frog' but not both then Greg is a lion. There is a better than even chance that if 'Daniel got the football and Julius is yellow' then Brian is a rhino. Chances are about even that if 'Bernhard is a frog' or 'Julius is yellow' or both then Lily is white.,It is highly likely that either 'Greg is a lion' 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.1::factB. 0.9::factC. %hop1 0.02::factX:-xor(factC,factB). 0.6::factY:-and(factC,factA). 0.5::factZ:-or(factB,factA). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.88688,0.351870374074815,train,highly likely,chances are slight,It is highly likely that either 'Greg is a lion' or 'Julius is yellow' but not both.,Chances are slight that either 'Greg is a lion' or 'Julius is yellow' but not both.,1,Either 'Greg is a lion' or 'Julius is yellow' but not both. There is a very good chance that Greg is a swan. It is likely that Jessica is a cat. It is highly likely that John got the milk. It is likely that if 'Greg is a swan' or 'John got the milk' or both then Emily is a sheep. There is a very good chance that if either 'Jessica is a cat' or 'John got the milk' but not both then Brian is yellow. It is highly unlikely that if 'Greg is a swan and John got the milk' then Mary went to the garden.,There is little chance that 'Emily is a sheep' 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.8::factA. 0.7::factB. 0.9::factC. %hop1 0.7::factX:-or(factA,factC). 0.8::factY:-xor(factB,factC). 0.05::factZ:-and(factA,factC). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.77544,0.005601120224044809,train,very good chance,little chance,There is a very good chance that 'Emily is a sheep' or 'Brian is yellow' or both.,There is little chance that 'Emily is a sheep' or 'Brian is yellow' or both.,0,'Emily is a sheep' or 'Brian is yellow' or both. It is unlikely that John picked up the milk. It is highly likely that Brian is a lion. It is highly likely that Bernhard is gray. It is highly likely that if either 'Brian is a lion' or 'John picked up the milk' but not both then Winona is a wolf. It is probably not the case that if 'Brian is a lion' or 'John picked up the milk' or both then Mary got the football. It is unlikely that if either 'Brian is a lion' or 'Bernhard is gray' but not both then Julius is white.,It is certain that 'Mary got the football 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.2::factA. 0.9::factB. 0.9::factC. %hop1 0.9::factX:-xor(factB,factA). 0.25::factY:-or(factB,factA). 0.2::factZ:-xor(factB,factC). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.005400000000000001,0.54250850170034,train,impossible,certain,It is impossible that 'Mary got the football and Julius is white'.,It is certain that 'Mary got the football and Julius is white'.,0,'Mary got the football and Julius is white'. It is likely that Bernhard is green. Chances are slight that Mary left the football. It is unlikely that Brian is yellow. It is probably not the case that if either 'Mary left the football' or 'Brian is yellow' but not both then Greg is gray. It is probably not the case that if 'Brian is yellow' or 'Bernhard is green' or both then John went to the office. It is impossible that if 'Brian is yellow and Bernhard is green' then Lily is a swan.,It is impossible that 'Bernhard is green 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.1::factB. 0.2::factC. %hop1 0.25::factX:-xor(factB,factC). 0.25::factY:-or(factC,factA). 0.0::factZ:-and(factC,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.0,0.7001400280056012,train,impossible,probable,It is impossible that 'Bernhard is green and Lily is a swan'.,It is probable that 'Bernhard is green and Lily is a swan'.,1,'Bernhard is green and Lily is a swan'. Chances are slight that Winona is a wolf. It is probable that Greg is yellow. It is almost certain that Julius is a rhino. There is a better than even chance that if either 'Julius is a rhino' or 'Greg is yellow' but not both then Jessica is a sheep. It is probably not the case that if either 'Winona is a wolf' or 'Julius is a rhino' but not both then Mary left the football. It is probably the case that if 'Greg is yellow' or 'Julius is a rhino' or both then Bernhard is yellow.,It is almost certain that 'Julius is a rhino' 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.7::factB. 0.95::factC. %hop1 0.6::factX:-xor(factC,factB). 0.25::factY:-xor(factA,factC). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.971,0.5189037807561512,train,almost certain,impossible,It is almost certain that 'Julius is a rhino' or 'Jessica is a sheep' or both.,It is impossible that 'Julius is a rhino' or 'Jessica is a sheep' or both.,1,'Julius is a rhino' or 'Jessica is a sheep' or both. It is unlikely that Mary got the football. It is likely that Lily is a frog. It is almost certain that Greg is a rhino. It is almost certain that if 'Lily is a frog' or 'Mary got the football' or both then John left the football. It is unlikely that if either 'Lily is a frog' or 'Mary got the football' but not both then Brian is white. We believe that if either 'Lily is a frog' or 'Mary got the football' but not both then Bernhard is green.,It is probable that either 'John left the football' 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.2::factA. 0.7::factB. 0.95::factC. %hop1 0.95::factX:-or(factB,factA). 0.2::factY:-xor(factB,factA). 0.75::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.09200000000000004,0.01860372074414883,train,improbable,probable,It is improbable that either 'John left the football' or 'Lily is a frog' but not both.,It is probable that either 'John left the football' or 'Lily is a frog' but not both.,0,Either 'John left the football' or 'Lily is a frog' but not both. There is little chance that Fred is in the cinema. There is little chance that John went to the bedroom. It is likely that Brian is a lion. It is highly unlikely that if 'Fred is in the cinema' or 'Brian is a lion' or both then Julius is green. It is impossible that if either 'Fred is in the cinema' or 'John went to the bedroom' but not both then Mary dropped the milk. We believe that if 'Brian is a lion and John went to the bedroom' then Lily is a frog.,It is highly unlikely that 'Brian is a lion 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.1::factA. 0.1::factB. 0.7::factC. %hop1 0.05::factX:-or(factA,factC). 0.0::factY:-xor(factA,factB). 0.75::factZ:-and(factC,factB). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.05250000000000002,0.11262252450490098,train,highly unlikely,very good chance,It is highly unlikely that 'Brian is a lion and Lily is a frog'.,There is a very good chance that 'Brian is a lion and Lily is a frog'.,1,'Brian is a lion and Lily is a frog'. It is probable that John went to the kitchen. It is probably not the case that Julius is a frog. It is certain that Mary left the football. It is improbable that if 'Julius is a frog and John went to the kitchen' then Bernhard is yellow. It is highly likely that if either 'John went to the kitchen' or 'Julius is a frog' but not both then Brian is a rhino. There is little chance that if 'John went to the kitchen and Julius is a frog' then Greg is a lion.,It is probably not the case that 'Bernhard is yellow' 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.7::factA. 0.25::factB. 1.0::factC. %hop1 0.1::factX:-and(factB,factA). 0.9::factY:-xor(factA,factB). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.24999999999999994,0.3674734946989398,train,probably not,certain,It is probably not the case that 'Bernhard is yellow' or 'Julius is a frog' or both.,It is certain that 'Bernhard is yellow' or 'Julius is a frog' or both.,1,'Bernhard is yellow' or 'Julius is a frog' or both. It is impossible that Daniel dropped the milk. There is a better than even chance that Mary went to the hallway. It is certain that Greg is yellow. It is improbable that if 'Greg is yellow' or 'Mary went to the hallway' or both then Bernhard is a swan. It is impossible that if either 'Greg is yellow' or 'Daniel dropped the milk' but not both then John left the apple. There is a better than even chance that if 'Daniel dropped the milk and Mary went to the hallway' then Julius is white.,It is almost certain that 'John left the apple' 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.0::factA. 0.6::factB. 1.0::factC. %hop1 0.1::factX:-or(factC,factB). 0.0::factY:-xor(factC,factA). 0.6::factZ:-and(factA,factB). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.0,0.3840768153630726,train,impossible,almost certain,It is impossible that 'John left the apple' or 'Julius is white' or both.,It is almost certain that 'John left the apple' or 'Julius is white' or both.,0,'John left the apple' or 'Julius is white' or both. There is a very good chance that Daniel left the milk. It is impossible that Julius is yellow. We doubt that John got the apple. It is highly likely that if 'Julius is yellow and Daniel left the milk' then Greg is a lion. It is unlikely that if either 'John got the apple' or 'Daniel left the milk' but not both then Brian is green. It is highly unlikely that if either 'Julius is yellow' or 'Daniel left the milk' but not both then Winona is a mouse.,It is probably not the case that 'Brian is green' or 'John 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.8::factA. 0.0::factB. 0.2::factC. %hop1 0.9::factX:-and(factB,factA). 0.2::factY:-xor(factC,factA). 0.05::factZ:-xor(factB,factA). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.328,0.7525505101020205,train,probably not,likely,It is probably not the case that 'Brian is green' or 'John got the apple' or both.,It is likely that 'Brian is green' or 'John got the apple' or both.,1,'Brian is green' or 'John got the apple' or both. It is likely that Julius is white. It is certain that Emily is a wolf. We doubt that Brian is a lion. It is unlikely that if either 'Emily is a wolf' or 'Julius is white' but not both then Bernhard is yellow. There is almost no chance that if 'Julius is white and Brian is a lion' then Daniel dropped the milk. It is unlikely that if either 'Emily is a wolf' or 'Julius is white' but not both then Mary went to the office.,It is probably the case that either 'Daniel dropped the milk' or 'Brian 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. 1.0::factB. 0.2::factC. %hop1 0.2::factX:-xor(factB,factA). 0.02::factY:-and(factA,factC). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.1972,0.16003200640128026,train,unlikely,probably,It is unlikely that either 'Daniel dropped the milk' or 'Brian is a lion' but not both.,It is probably the case that either 'Daniel dropped the milk' or 'Brian is a lion' but not both.,0,Either 'Daniel dropped the milk' or 'Brian is a lion' but not both. It is probable that Mary moved to the garden. It is highly likely that Winona is a wolf. It is highly likely that Julius is white. It is highly unlikely that if either 'Julius is white' or 'Mary moved to the garden' but not both then Bernhard is gray. There is little chance that if 'Winona is a wolf' or 'Julius is white' or both then Brian is yellow. It is likely that if either 'Winona is a wolf' or 'Julius is white' but not both then Greg is a frog.,There is little chance that either 'Mary moved to the garden' 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.7::factA. 0.9::factB. 0.9::factC. %hop1 0.05::factX:-xor(factC,factA). 0.1::factY:-or(factB,factC). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.6604,0.1370274054810962,train,likely,little chance,It is likely that either 'Mary moved to the garden' or 'Brian is yellow' but not both.,There is little chance that either 'Mary moved to the garden' or 'Brian is yellow' but not both.,0,Either 'Mary moved to the garden' or 'Brian is yellow' but not both. It is almost certain that Greg is a swan. It is probably the case that Antoine is bored. There is little chance that Brian is a frog. There is almost no chance that if either 'Greg is a swan' or 'Antoine is bored' but not both then Mary went to the hallway. There is a better than even chance that if either 'Antoine is bored' or 'Greg is a swan' but not both then John took the apple. We believe that if 'Antoine is bored' or 'Greg is a swan' or both then Sumit is hungry.,We believe that 'Antoine is bored' or 'Brian 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.95::factA. 0.7::factB. 0.1::factC. %hop1 0.02::factX:-xor(factA,factB). 0.6::factY:-xor(factB,factA). 0.75::factZ:-or(factB,factA). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.73,0.5183036607321464,train,we believe,impossible,We believe that 'Antoine is bored' or 'Brian is a frog' or both.,It is impossible that 'Antoine is bored' or 'Brian is a frog' or both.,1,'Antoine is bored' or 'Brian is a frog' or both. We believe that John moved to the garden. Chances are slight that Jeff went to the bedroom. We believe that Bernhard is a swan. It is likely that if either 'Bernhard is a swan' or 'John moved to the garden' but not both then Fred left the football. We doubt that if 'John moved to the garden' or 'Jeff went to the bedroom' or both then Brian is yellow. There is almost no chance that if either 'Bernhard is a swan' or 'Jeff went to the bedroom' but not both then Greg is a lion.,It is unlikely that 'Bernhard is a swan' 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.75::factA. 0.1::factB. 0.75::factC. %hop1 0.7::factX:-xor(factC,factA). 0.2::factY:-or(factA,factB). 0.02::factZ:-xor(factC,factB). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.78875,0.15143028605721146,train,very good chance,unlikely,There is a very good chance that 'Bernhard is a swan' or 'Brian is yellow' or both.,It is unlikely that 'Bernhard is a swan' or 'Brian is yellow' or both.,0,'Bernhard is a swan' or 'Brian is yellow' or both. It is highly likely that Mary dropped the milk. There is almost no chance that Brian is a frog. It is highly unlikely that Bernhard is a swan. It is unlikely that if 'Bernhard is a swan and Brian is a frog' then Lily is gray. We believe that if 'Mary dropped the milk' or 'Brian is a frog' or both then Jeff went to the bedroom. It is probable that if 'Brian is a frog' or 'Bernhard is a swan' or both then Jason is tired.,It is probable that 'Jason is tired' or 'Brian 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.02::factB. 0.05::factC. %hop1 0.2::factX:-and(factC,factB). 0.75::factY:-or(factA,factB). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.054300000000000015,0.22264452890578115,train,highly unlikely,probable,It is highly unlikely that 'Jason is tired' or 'Brian is a frog' or both.,It is probable that 'Jason is tired' or 'Brian is a frog' or both.,0,'Jason is tired' or 'Brian is a frog' or both. Chances are about even that Gertrude is a cat. It is certain that Jeff discarded the milk. It is unlikely that Bernhard is a frog. There is a better than even chance that if 'Bernhard is a frog and Jeff discarded the milk' then Bill moved to the office. It is unlikely that if either 'Jeff discarded the milk' or 'Bernhard is a frog' but not both then John put down the apple. There is almost no chance that if 'Bernhard is a frog and Gertrude is a cat' then Mary went to the bedroom.,It is certain that 'John put down the apple' or 'Bill 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.5::factA. 1.0::factB. 0.2::factC. %hop1 0.6::factX:-and(factC,factB). 0.2::factY:-xor(factB,factC). 0.02::factZ:-and(factC,factA). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.28,0.3198639727945589,train,probably not,certain,It is probably not the case that 'John put down the apple' or 'Bill moved to the office' or both.,It is certain that 'John put down the apple' or 'Bill moved to the office' or both.,0,'John put down the apple' or 'Bill moved to the office' or both. It is highly unlikely that Lily is yellow. It is highly unlikely that Jessica is a mouse. It is highly unlikely that John went to the hallway. Chances are slight that if either 'John went to the hallway' or 'Jessica is a mouse' but not both then Julius is a lion. It is highly likely that if either 'Jessica is a mouse' or 'John went to the hallway' but not both then Bernhard is white. There is a better than even chance that if either 'John went to the hallway' or 'Jessica is a mouse' but not both then Greg is green.,It is probably the case that 'Greg is green' 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.05::factA. 0.05::factB. 0.05::factC. %hop1 0.1::factX:-xor(factC,factB). 0.9::factY:-xor(factB,factC). 0.6::factZ:-xor(factC,factB). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.060800000000000014,0.255251050210042,train,highly unlikely,probably,It is highly unlikely that 'Greg is green' or 'Julius is a lion' or both.,It is probably the case that 'Greg is green' or 'Julius is a lion' or both.,0,'Greg is green' or 'Julius is a lion' or both. It is highly unlikely that Jason is tired. We believe that Lily is a swan. There is almost no chance that John left the football. We believe that if 'John left the football' or 'Lily is a swan' or both then Julius is a frog. It is certain that if either 'John left the football' or 'Lily is a swan' but not both then Brian is white. There is little chance that if 'Jason is tired and Lily is a swan' then Bernhard is a lion.,It is impossible that 'Bernhard is a lion 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.05::factA. 0.75::factB. 0.02::factC. %hop1 0.75::factX:-or(factC,factB). 1.0::factY:-xor(factC,factB). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.003750000000000002,0.1970394078815763,train,impossible,probable,It is impossible that 'Bernhard is a lion and Lily is a swan'.,It is probable that 'Bernhard is a lion and Lily is a swan'.,1,'Bernhard is a lion and Lily is a swan'. There is a very good chance that Greg is a lion. It is probably the case that Brian is a frog. We believe that Bernhard is a swan. We believe that if 'Brian is a frog' or 'Bernhard is a swan' or both then John picked up the apple. It is impossible that if 'Bernhard is a swan and Greg is a lion' then Sandra dropped the milk. There is a very good chance that if 'Greg is a lion' or 'Bernhard is a swan' or both then Mary went to the office.,There is almost no chance that 'Bernhard is a swan' or 'John picked up 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.8::factA. 0.7::factB. 0.75::factC. %hop1 0.75::factX:-or(factB,factC). 0.0::factY:-and(factC,factA). 0.8::factZ:-or(factA,factC). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.8812500000000001,0.5875175035007001,train,highly likely,almost no chance,It is highly likely that 'Bernhard is a swan' or 'John picked up the apple' or both.,There is almost no chance that 'Bernhard is a swan' or 'John picked up the apple' or both.,0,'Bernhard is a swan' or 'John picked up the apple' or both. There is almost no chance that John moved to the office. It is likely that Julius is white. There is little chance that Bernhard is a swan. It is probable that if 'Julius is white and John moved to the office' then Daniel grabbed the apple. It is highly likely that if 'Julius is white' or 'John moved to the office' or both then Lily is gray. There is a better than even chance that if 'Bernhard is a swan and John moved to the office' then Mary took the football.,There is almost no chance that either 'Lily is gray' or 'John 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.02::factA. 0.7::factB. 0.1::factC. %hop1 0.7::factX:-and(factB,factA). 0.9::factY:-or(factB,factA). 0.6::factZ:-and(factC,factA). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.6194,0.001200240048009602,train,better than even,almost no chance,There is a better than even chance that either 'Lily is gray' or 'John moved to the office' but not both.,There is almost no chance that either 'Lily is gray' or 'John moved to the office' but not both.,0,Either 'Lily is gray' or 'John moved to the office' but not both. It is highly unlikely that Mary is in the hallway. It is probably the case that John moved to the office. It is impossible that Winona is a sheep. It is certain that if either 'Mary is in the hallway' or 'John moved to the office' but not both then Lily is white. There is a very good chance that if 'Mary is in the hallway' or 'Winona is a sheep' or both then Bernhard is a frog. It is impossible that if either 'Winona is a sheep' or 'John moved to the office' but not both then Brian is a swan.,It is impossible that 'Mary is in the hallway 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.05::factA. 0.7::factB. 0.0::factC. %hop1 1.0::factX:-xor(factA,factB). 0.8::factY:-or(factA,factC). 0.0::factZ:-xor(factC,factB). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.0,0.15223044608921785,train,impossible,probable,It is impossible that 'Mary is in the hallway and Brian is a swan'.,It is probable that 'Mary is in the hallway and Brian is a swan'.,1,'Mary is in the hallway and Brian is a swan'. It is likely that Jessica is a cat. It is almost certain that Bernhard is a frog. It is improbable that John got the milk. There is almost no chance that if either 'Jessica is a cat' or 'John got the milk' but not both then Sandra left the milk. It is likely that if 'John got the milk' or 'Jessica is a cat' or both then Greg is a swan. There is almost no chance that if 'Bernhard is a frog and Jessica is a cat' then Brian is gray.,It is probable that 'Brian is gray 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.95::factB. 0.1::factC. %hop1 0.02::factX:-xor(factA,factC). 0.7::factY:-or(factC,factA). 0.02::factZ:-and(factB,factA). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.00023940000000000002,0.5255051010202041,train,impossible,probable,It is impossible that 'Brian is gray and Sandra left the milk'.,It is probable that 'Brian is gray and Sandra left the milk'.,0,'Brian is gray and Sandra left the milk'. It is certain that Emily is a sheep. There is a very good chance that Lily is a frog. It is highly unlikely that John got the milk. It is improbable that if 'Emily is a sheep' or 'John got the milk' or both then Mary went to the hallway. Chances are about even that if 'Emily is a sheep and John got the milk' then Julius is a rhino. It is certain that if either 'Lily is a frog' or 'Emily is a sheep' but not both then Brian is white.,We doubt that either 'Brian is white' 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 1.0::factA. 0.8::factB. 0.05::factC. %hop1 0.1::factX:-or(factA,factC). 0.5::factY:-and(factA,factC). 1.0::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.21499999999999997,0.5813162632526505,train,we doubt,very good chance,We doubt that either 'Brian is white' or 'Julius is a rhino' but not both.,There is a very good chance that either 'Brian is white' or 'Julius is a rhino' but not both.,1,Either 'Brian is white' or 'Julius is a rhino' but not both. Chances are slight that John moved to the garden. Chances are slight that Mary discarded the milk. It is certain that Julius is a frog. There is almost no chance that if 'Mary discarded the milk and John moved to the garden' then Bernhard is white. It is almost certain that if either 'Julius is a frog' or 'John moved to the garden' but not both then Brian is a rhino. There is little chance that if 'Mary discarded the milk and John moved to the garden' then Fred left the apple.,There is a very good chance that either 'Brian is a rhino' 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.1::factA. 0.1::factB. 1.0::factC. %hop1 0.02::factX:-and(factB,factA). 0.95::factY:-xor(factC,factA). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.7839999999999999,0.24144828965793158,train,very good chance,chances are slight,There is a very good chance that either 'Brian is a rhino' or 'Mary discarded the milk' but not both.,Chances are slight that either 'Brian is a rhino' or 'Mary discarded the milk' but not both.,1,Either 'Brian is a rhino' or 'Mary discarded the milk' but not both. There is a better than even chance that Bernhard is a rhino. It is probable that John went to the office. We believe that Greg is a lion. It is highly likely that if 'Greg is a lion' or 'Bernhard is a rhino' or both then Mary left the milk. There is little chance that if either 'John went to the office' or 'Greg is a lion' but not both then Brian is a lion. It is likely that if either 'Greg is a lion' or 'Bernhard is a rhino' but not both then Lily is yellow.,There is almost no chance that 'Mary left the milk' 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.6::factA. 0.7::factB. 0.75::factC. %hop1 0.9::factX:-or(factC,factA). 0.1::factY:-xor(factB,factC). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.9430000000000001,0.4988997799559912,train,almost certain,almost no chance,It is almost certain that 'Mary left the milk' or 'John went to the office' or both.,There is almost no chance that 'Mary left the milk' or 'John went to the office' or both.,0,'Mary left the milk' or 'John went to the office' or both. It is probably not the case that Jason is tired. It is likely that Jeff went to the bedroom. It is unlikely that Greg is white. There is a better than even chance that if either 'Jeff went to the bedroom' or 'Jason is tired' but not both then Lily is a swan. It is likely that if 'Greg is white and Jason is tired' then Emily is a mouse. It is almost certain that if either 'Greg is white' or 'Jason is tired' but not both then Mary got the apple.,It is likely that 'Lily is a swan 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.25::factA. 0.7::factB. 0.2::factC. %hop1 0.6::factX:-xor(factB,factA). 0.7::factY:-and(factC,factA). 0.95::factZ:-xor(factC,factA). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.07200000000000002,0.47629525905181036,train,highly unlikely,likely,It is highly unlikely that 'Lily is a swan and Greg is white'.,It is likely that 'Lily is a swan and Greg is white'.,0,'Lily is a swan and Greg is white'. There is almost no chance that Mary went to the kitchen. It is likely that John got the apple. There is little chance that Bernhard is a frog. It is impossible that if 'Bernhard is a frog and Mary went to the kitchen' then Jessica is a cat. Chances are about even that if either 'Mary went to the kitchen' or 'John got the apple' but not both then Greg is a rhino. It is improbable that if either 'Mary went to the kitchen' or 'John got the apple' but not both then Lily is a swan.,It is almost certain that either 'Jessica is a cat' 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.7::factB. 0.1::factC. %hop1 0.0::factX:-and(factC,factA). 0.5::factY:-xor(factA,factB). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.10000000000000002,0.5317063412682537,train,improbable,almost certain,It is improbable that either 'Jessica is a cat' or 'Bernhard is a frog' but not both.,It is almost certain that either 'Jessica is a cat' or 'Bernhard is a frog' but not both.,0,Either 'Jessica is a cat' or 'Bernhard is a frog' but not both. There is a very good chance that John got the apple. It is probable that Greg is white. We doubt that Julius is a swan. It is almost certain that if 'John got the apple' or 'Julius is a swan' or both then Sandra took the football. There is little chance that if 'Greg is white' or 'Julius is a swan' or both then Brian is gray. It is probably the case that if 'John got the apple and Greg is white' then Lily is a rhino.,It is probably not the case that either 'Julius is a swan' or 'Brian 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. 0.7::factB. 0.2::factC. %hop1 0.95::factX:-or(factA,factC). 0.1::factY:-or(factB,factC). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.23600000000000004,0.632126425285057,train,probably not,almost certain,It is probably not the case that either 'Julius is a swan' or 'Brian is gray' but not both.,It is almost certain that either 'Julius is a swan' or 'Brian is gray' but not both.,1,Either 'Julius is a swan' or 'Brian is gray' but not both. Chances are slight that Brian is green. It is likely that Julius is a frog. It is almost certain that Lily is a lion. It is probable that if 'Julius is a frog and Lily is a lion' then Sumit is tired. It is highly likely that if either 'Lily is a lion' or 'Brian is green' but not both then Mary went to the kitchen. It is probably not the case that if either 'Julius is a frog' or 'Lily is a lion' but not both then John dropped the apple.,It is probably not the case that either 'Lily is a lion' 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.1::factA. 0.7::factB. 0.95::factC. %hop1 0.7::factX:-and(factB,factC). 0.9::factY:-xor(factC,factA). 0.25::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.32000000000000006,0.16883376675335068,train,probably not,certain,It is probably not the case that either 'Lily is a lion' or 'Julius is a frog' but not both.,It is certain that either 'Lily is a lion' or 'Julius is a frog' but not both.,1,Either 'Lily is a lion' or 'Julius is a frog' but not both. It is highly unlikely that Sandra got the milk. We believe that Brian is white. It is probable that Lily is a swan. Chances are about even that if 'Brian is white' or 'Sandra got the milk' or both then Jason is tired. There is a better than even chance that if 'Sandra got the milk and Brian is white' then Mary went to the bedroom. It is certain that if either 'Lily is a swan' or 'Sandra got the milk' but not both then Bernhard is a rhino.,It is unlikely that either 'Lily is a swan' or 'Sandra 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.05::factA. 0.75::factB. 0.7::factC. %hop1 0.5::factX:-or(factB,factA). 0.6::factY:-and(factA,factB). 1.0::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6799999999999999,0.6917383476695339,train,likely,unlikely,It is likely that either 'Lily is a swan' or 'Sandra got the milk' but not both.,It is unlikely that either 'Lily is a swan' or 'Sandra got the milk' but not both.,0,Either 'Lily is a swan' or 'Sandra got the milk' but not both. It is highly unlikely that Brian is a rhino. It is unlikely that Bernhard is yellow. It is likely that Jeff put down the milk. It is highly unlikely that if 'Bernhard is yellow and Brian is a rhino' then Sandra dropped the milk. It is almost certain that if 'Jeff put down the milk' or 'Bernhard is yellow' or both then Mary went to the garden. It is almost certain that if 'Jeff put down the milk' or 'Brian is a rhino' or both then Lily is a frog.,It is impossible that 'Mary went to the garden 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.05::factA. 0.2::factB. 0.7::factC. %hop1 0.05::factX:-and(factB,factA). 0.95::factY:-or(factC,factB). 0.95::factZ:-or(factC,factA). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.00047500000000000027,0.5667133426685337,train,impossible,highly likely,It is impossible that 'Mary went to the garden and Sandra dropped the milk'.,It is highly likely that 'Mary went to the garden and Sandra dropped the milk'.,1,'Mary went to the garden and Sandra dropped the milk'. There is little chance that John dropped the apple. There is almost no chance that Greg is yellow. It is probable that Jeff moved to the garden. We believe that if 'Jeff moved to the garden and John dropped the apple' then Jason is bored. It is certain that if 'Greg is yellow' or 'John dropped the apple' or both then Lily is a swan. It is highly likely that if either 'Jeff moved to the garden' or 'Greg is yellow' but not both then Bernhard is a lion.,It is improbable that 'John dropped the apple' 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.02::factB. 0.7::factC. %hop1 0.75::factX:-and(factC,factA). 1.0::factY:-or(factB,factA). 0.9::factZ:-xor(factC,factB). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.10000000000000002,0.7395479095819164,train,improbable,likely,It is improbable that 'John dropped the apple' or 'Jason is bored' or both.,It is likely that 'John dropped the apple' or 'Jason is bored' or both.,1,'John dropped the apple' or 'Jason is bored' or both. It is probably the case that Lily is a rhino. There is little chance that Jason is thirsty. It is probably the case that Bernhard is a lion. Chances are slight that if either 'Jason is thirsty' or 'Lily is a rhino' but not both then Brian is white. It is unlikely that if 'Lily is a rhino' or 'Jason is thirsty' or both then John picked up the milk. Chances are about even that if 'Bernhard is a lion and Jason is thirsty' then Greg is a rhino.,It is highly likely that 'Lily is a rhino 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.7::factA. 0.1::factB. 0.7::factC. %hop1 0.1::factX:-xor(factB,factA). 0.2::factY:-or(factA,factB). 0.5::factZ:-and(factC,factB). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.0245,0.3142628525705141,train,almost no chance,highly likely,There is almost no chance that 'Lily is a rhino and Greg is a rhino'.,It is highly likely that 'Lily is a rhino and Greg is a rhino'.,0,'Lily is a rhino and Greg is a rhino'. There is a very good chance that Winona is a sheep. It is probable that Brian is gray. There is a very good chance that Mary put down the apple. Chances are slight that if either 'Winona is a sheep' or 'Mary put down the apple' but not both then Gertrude is a cat. It is probably not the case that if either 'Brian is gray' or 'Mary put down the apple' but not both then John went to the office. There is little chance that if 'Winona is a sheep and Brian is gray' then Bernhard is a lion.,There is a very good chance that either 'John went to the office' 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.8::factA. 0.7::factB. 0.8::factC. %hop1 0.1::factX:-xor(factA,factC). 0.25::factY:-xor(factB,factC). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.775,0.6763352670534107,train,very good chance,unlikely,There is a very good chance that either 'John went to the office' or 'Mary put down the apple' but not both.,It is unlikely that either 'John went to the office' or 'Mary put down the apple' but not both.,1,Either 'John went to the office' or 'Mary put down the apple' but not both. There is a very good chance that Greg is gray. It is probably the case that Julius is a rhino. Chances are about even that Mary grabbed the milk. It is certain that if either 'Julius is a rhino' or 'Mary grabbed the milk' but not both then Brian is a swan. Chances are about even that if 'Greg is gray' or 'Mary grabbed the milk' or both then Antoine is bored. It is probable that if 'Mary grabbed the milk' or 'Julius is a rhino' or both then John dropped the milk.,It is highly unlikely that either 'Antoine is bored' or 'Greg 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. 0.7::factB. 0.5::factC. %hop1 1.0::factX:-xor(factB,factC). 0.5::factY:-or(factA,factC). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.45000000000000007,0.16023204640928185,train,about even,highly unlikely,Chances are about even that either 'Antoine is bored' or 'Greg is gray' but not both.,It is highly unlikely that either 'Antoine is bored' or 'Greg is gray' but not both.,0,Either 'Antoine is bored' or 'Greg is gray' but not both. There is a very good chance that Mary left the football. We believe that Julius is yellow. There is a very good chance that Greg is yellow. We doubt that if either 'Mary left the football' or 'Julius is yellow' but not both then Lily is gray. There is a better than even chance that if 'Mary left the football' or 'Julius is yellow' or both then John put down the apple. Chances are slight that if either 'Julius is yellow' or 'Mary left the football' but not both then Sandra took the milk.,There is a very good chance that 'Sandra took the milk' 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.8::factA. 0.75::factB. 0.8::factC. %hop1 0.2::factX:-xor(factA,factB). 0.6::factY:-or(factA,factB). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.8150000000000001,0.5357071414282857,train,very good chance,unlikely,There is a very good chance that 'Sandra took the milk' or 'Mary left the football' or both.,It is unlikely that 'Sandra took the milk' or 'Mary left the football' or both.,1,'Sandra took the milk' or 'Mary left the football' or both. It is highly unlikely that John moved to the office. It is impossible that Mary went to the hallway. It is likely that Bernhard is yellow. Chances are about even that if 'John moved to the office' or 'Bernhard is yellow' or both then Julius is white. There is a better than even chance that if 'John moved to the office' or 'Bernhard is yellow' or both then Sandra took the football. It is highly unlikely that if either 'Bernhard is yellow' or 'Mary went to the hallway' but not both then Daniel got the milk.,It is highly likely that either 'John moved to the office' 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.05::factA. 0.0::factB. 0.7::factC. %hop1 0.5::factX:-or(factA,factC). 0.6::factY:-or(factA,factC). 0.05::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.35749999999999993,0.5849169833966793,train,probably not,highly likely,It is probably not the case that either 'John moved to the office' or 'Julius is white' but not both.,It is highly likely that either 'John moved to the office' or 'Julius is white' but not both.,0,Either 'John moved to the office' or 'Julius is white' but not both. It is likely that Greg is a rhino. It is probable that Lily is a swan. It is highly unlikely that Daniel dropped the apple. It is probably the case that if 'Lily is a swan and Greg is a rhino' then Mary went to the kitchen. It is unlikely that if 'Lily is a swan' or 'Greg is a rhino' or both then Bernhard is a frog. Chances are slight that if either 'Daniel dropped the apple' or 'Greg is a rhino' but not both then Brian is a lion.,It is improbable that 'Lily is a swan 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.7::factA. 0.7::factB. 0.05::factC. %hop1 0.7::factX:-and(factB,factA). 0.2::factY:-or(factB,factA). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.14,0.6585317063412682,train,improbable,almost certain,It is improbable that 'Lily is a swan and Bernhard is a frog'.,It is almost certain that 'Lily is a swan and Bernhard is a frog'.,1,'Lily is a swan and Bernhard is a frog'. It is probably not the case that Brian is a lion. Chances are slight that Sandra left the apple. It is unlikely that Greg is a rhino. It is probable that if 'Brian is a lion and Sandra left the apple' then Lily is yellow. It is certain that if 'Sandra left the apple and Brian is a lion' then John went to the office. There is a very good chance that if 'Brian is a lion' or 'Sandra left the apple' or both then Julius is white.,It is certain that 'Julius is white' 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.25::factA. 0.1::factB. 0.2::factC. %hop1 0.7::factX:-and(factA,factB). 1.0::factY:-and(factB,factA). 0.8::factZ:-or(factA,factB). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.26350000000000007,0.2816563312662532,train,probably not,certain,It is probably not the case that 'Julius is white' or 'Lily is yellow' or both.,It is certain that 'Julius is white' or 'Lily is yellow' or both.,0,'Julius is white' or 'Lily is yellow' or both. We doubt that Julius is a rhino. It is probable that Bernhard is a frog. We believe that John moved to the office. Chances are slight that if 'Julius is a rhino' or 'Bernhard is a frog' or both then Sandra took the football. It is almost certain that if either 'Julius is a rhino' or 'John moved to the office' but not both then Lily is a lion. It is probably the case that if 'Bernhard is a frog and Julius is a rhino' then Greg is yellow.,There is a very good chance that 'Sandra took the football 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.2::factA. 0.7::factB. 0.75::factC. %hop1 0.1::factX:-or(factA,factB). 0.95::factY:-xor(factA,factC). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.05700000000000002,0.2534506901380276,train,highly unlikely,very good chance,It is highly unlikely that 'Sandra took the football and John moved to the office'.,There is a very good chance that 'Sandra took the football and John moved to the office'.,0,'Sandra took the football and John moved to the office'. It is highly unlikely that Bernhard is white. Chances are slight that John went to the kitchen. It is probably not the case that Greg is a rhino. There is almost no chance that if either 'Bernhard is white' or 'Greg is a rhino' but not both then Sandra dropped the milk. There is little chance that if 'John went to the kitchen' or 'Greg is a rhino' or both then Brian is a frog. There is a better than even chance that if either 'John went to the kitchen' or 'Greg is a rhino' but not both then Fred left the football.,It is probable that 'Bernhard is white and Brian 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.05::factA. 0.1::factB. 0.25::factC. %hop1 0.02::factX:-xor(factA,factC). 0.1::factY:-or(factB,factC). 0.6::factZ:-xor(factB,factC). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.0016250000000000006,0.05441088217643529,train,impossible,probable,It is impossible that 'Bernhard is white and Brian is a frog'.,It is probable that 'Bernhard is white and Brian is a frog'.,0,'Bernhard is white and Brian is a frog'. We believe that Julius is gray. It is impossible that Mary went to the kitchen. It is probably not the case that Bill got the milk there. It is probably the case that if 'Bill got the milk there' or 'Mary went to the kitchen' or both then Bernhard is gray. It is certain that if 'Julius is gray' or 'Mary went to the kitchen' or both then Brian is white. There is a better than even chance that if either 'Julius is gray' or 'Bill got the milk there' but not both then Jeff moved to the office.,There is a better than even chance that either 'Bernhard is gray' 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.75::factA. 0.0::factB. 0.25::factC. %hop1 0.7::factX:-or(factC,factB). 1.0::factY:-or(factA,factB). 0.6::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.075,0.45349069813962795,train,highly unlikely,better than even,It is highly unlikely that either 'Bernhard is gray' or 'Bill got the milk there' but not both.,There is a better than even chance that either 'Bernhard is gray' or 'Bill got the milk there' but not both.,0,Either 'Bernhard is gray' or 'Bill got the milk there' but not both. It is probably the case that Mary went to the garden. It is highly unlikely that Greg is yellow. It is highly likely that Julius is a swan. There is a better than even chance that if 'Mary went to the garden and Greg is yellow' then Lily is green. There is little chance that if either 'Greg is yellow' or 'Mary went to the garden' but not both then John put down the apple. We doubt that if 'Mary went to the garden and Julius is a swan' then Bernhard is a swan.,It is highly unlikely that 'John put down the apple and Julius 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.05::factB. 0.9::factC. %hop1 0.6::factX:-and(factA,factB). 0.1::factY:-xor(factB,factA). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.061200000000000004,0.009201840368073614,train,highly unlikely,certain,It is highly unlikely that 'John put down the apple and Julius is a swan'.,It is certain that 'John put down the apple and Julius is a swan'.,1,'John put down the apple and Julius is a swan'. There is almost no chance that Brian is a frog. It is probably the case that Jeff moved to the office. We believe that Julius is yellow. There is little chance that if either 'Brian is a frog' or 'Jeff moved to the office' but not both then Bernhard is gray. Chances are slight that if 'Brian is a frog' or 'Julius is yellow' or both then Lily is a rhino. There is little chance that if 'Jeff moved to the office' or 'Brian is a frog' or both then Mary left the football.,Chances are about even that 'Mary left the football 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.7::factB. 0.75::factC. %hop1 0.1::factX:-xor(factA,factB). 0.1::factY:-or(factA,factC). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.052950000000000025,0.5755151030206042,train,highly unlikely,about even,It is highly unlikely that 'Mary left the football and Julius is yellow'.,Chances are about even that 'Mary left the football and Julius is yellow'.,0,'Mary left the football and Julius is yellow'. There is a better than even chance that Mary went to the garden. There is almost no chance that Greg is a swan. There is a better than even chance that Brian is yellow. It is unlikely that if 'Mary went to the garden and Greg is a swan' then John took the apple. It is probably the case that if 'Brian is yellow' or 'Greg is a swan' or both then Julius is a lion. There is a very good chance that if 'Greg is a swan and Mary went to the garden' then Gertrude is a sheep.,There is almost no chance that 'John took the apple' 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 0.6::factA. 0.02::factB. 0.6::factC. %hop1 0.2::factX:-and(factA,factB). 0.7::factY:-or(factC,factB). 0.8::factZ:-and(factB,factA). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.01008,0.15523104620924186,train,almost no chance,probable,There is almost no chance that 'John took the apple' or 'Gertrude is a sheep' or both.,It is probable that 'John took the apple' or 'Gertrude is a sheep' or both.,1,'John took the apple' or 'Gertrude is a sheep' or both. There is little chance that Sandra took the football. It is improbable that John got the apple. Chances are about even that Julius is yellow. Chances are slight that if 'Julius is yellow and Sandra took the football' then Jessica is a cat. It is unlikely that if 'Julius is yellow' or 'John got the apple' or both then Bernhard is gray. There is a better than even chance that if 'Sandra took the football' or 'Julius is yellow' or both then Brian is a frog.,There is almost no chance that 'Julius is yellow' or 'John 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.1::factB. 0.5::factC. %hop1 0.1::factX:-and(factC,factA). 0.2::factY:-or(factC,factB). 0.6::factZ:-or(factA,factC). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.55,0.3032606521304261,train,better than even,almost no chance,There is a better than even chance that 'Julius is yellow' or 'John got the apple' or both.,There is almost no chance that 'Julius is yellow' or 'John got the apple' or both.,0,'Julius is yellow' or 'John got the apple' or both. It is unlikely that Sumit is thirsty. It is probably the case that Bernhard is yellow. It is impossible that John got the milk. There is little chance that if 'Bernhard is yellow' or 'Sumit is thirsty' or both then Julius is white. There is little chance that if 'Sumit is thirsty and Bernhard is yellow' then Mary picked up the apple. It is unlikely that if 'Sumit is thirsty' or 'Bernhard is yellow' or both then Brian is a frog.,It is unlikely that either 'John got the milk' or 'Sumit 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.2::factA. 0.7::factB. 0.0::factC. %hop1 0.1::factX:-or(factB,factA). 0.1::factY:-and(factA,factB). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.2,0.594118823764753,train,unlikely,likely,It is unlikely that either 'John got the milk' or 'Sumit is thirsty' but not both.,It is likely that either 'John got the milk' or 'Sumit is thirsty' but not both.,1,Either 'John got the milk' or 'Sumit is thirsty' but not both. It is probably the case that Brian is a rhino. It is probable that Julius is a swan. It is improbable that John left the football. It is certain that if 'Brian is a rhino and Julius is a swan' then Mary got the apple. It is likely that if either 'Julius is a swan' or 'John left the football' but not both then Bernhard is a frog. We believe that if 'Julius is a swan' or 'John left the football' or both then Greg is green.,It is highly unlikely that 'Julius is a swan and John 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.7::factA. 0.7::factB. 0.1::factC. %hop1 1.0::factX:-and(factA,factB). 0.7::factY:-xor(factB,factC). 0.75::factZ:-or(factB,factC). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.07,0.3756751350270054,train,highly unlikely,probably,It is highly unlikely that 'Julius is a swan and John left the football'.,It is probably the case that 'Julius is a swan and John left the football'.,1,'Julius is a swan and John left the football'. We believe that Mary went to the office. There is almost no chance that Bernhard is gray. We believe that John put down the milk. It is probable that if 'Bernhard is gray' or 'John put down the milk' or both then Gertrude is a wolf. It is probably the case that if 'Bernhard is gray' or 'Mary went to the office' or both then Brian is a frog. There is a very good chance that if 'Bernhard is gray and Mary went to the office' then Jessica is a sheep.,It is probably not the case that either 'Gertrude is a wolf' 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.75::factA. 0.02::factB. 0.75::factC. %hop1 0.7::factX:-or(factB,factC). 0.7::factY:-or(factB,factA). 0.8::factZ:-and(factB,factA). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.22850000000000006,0.7251450290058011,train,probably not,almost certain,It is probably not the case that either 'Gertrude is a wolf' or 'John put down the milk' but not both.,It is almost certain that either 'Gertrude is a wolf' or 'John put down the milk' but not both.,1,Either 'Gertrude is a wolf' or 'John put down the milk' but not both. It is unlikely that Emily is a sheep. It is highly likely that Bernhard is a swan. It is probable that Daniel got the football. There is a better than even chance that if 'Daniel got the football' or 'Bernhard is a swan' or both then Lily is a lion. We doubt that if 'Emily is a sheep' or 'Bernhard is a swan' or both then Jessica is a cat. There is almost no chance that if either 'Daniel got the football' or 'Bernhard is a swan' but not both then Brian is white.,We believe that 'Emily is a sheep 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.2::factA. 0.9::factB. 0.7::factC. %hop1 0.6::factX:-or(factC,factB). 0.2::factY:-or(factA,factB). 0.02::factZ:-xor(factC,factB). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.04000000000000001,0.4250850170034007,train,highly unlikely,we believe,It is highly unlikely that 'Emily is a sheep and Jessica is a cat'.,We believe that 'Emily is a sheep and Jessica is a cat'.,0,'Emily is a sheep and Jessica is a cat'. It is highly unlikely that Greg is a lion. It is probably not the case that Lily is a swan. It is probably not the case that John went to the bedroom. It is probably not the case that if either 'John went to the bedroom' or 'Lily is a swan' but not both then Antoine is hungry. There is almost no chance that if 'John went to the bedroom' or 'Lily is a swan' or both then Bernhard is a rhino. Chances are about even that if either 'Greg is a lion' or 'John went to the bedroom' but not both then Mary got the football.,It is probable that 'Antoine is hungry and John 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.05::factA. 0.25::factB. 0.25::factC. %hop1 0.25::factX:-xor(factC,factB). 0.02::factY:-or(factC,factB). 0.5::factZ:-xor(factA,factC). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.04687499999999999,0.5147029405881176,train,highly unlikely,probable,It is highly unlikely that 'Antoine is hungry and John went to the bedroom'.,It is probable that 'Antoine is hungry and John went to the bedroom'.,0,'Antoine is hungry and John went to the bedroom'. We doubt that Brian is white. There is a better than even chance that Mary got the football. Chances are slight that Greg is a swan. There is a better than even chance that if 'Brian is white and Greg is a swan' then Fred dropped the milk. It is probably not the case that if either 'Brian is white' or 'Mary got the football' but not both then Jeff left the football. It is certain that if either 'Brian is white' or 'Greg is a swan' but not both then Winona is a cat.,It is probably not the case that 'Fred dropped the milk' 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.2::factA. 0.6::factB. 0.1::factC. %hop1 0.6::factX:-and(factA,factC). 0.25::factY:-xor(factA,factB). 1.0::factZ:-xor(factA,factC). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.2720000000000001,0.08001600320064013,train,probably not,certain,It is probably not the case that 'Fred dropped the milk' or 'Winona is a cat' or both.,It is certain that 'Fred dropped the milk' or 'Winona is a cat' or both.,1,'Fred dropped the milk' or 'Winona is a cat' or both. Chances are about even that Jeff went to the bedroom. It is probably not the case that Brian is white. Chances are about even that Bernhard is gray. It is certain that if 'Bernhard is gray' or 'Brian is white' or both then Greg is a swan. It is impossible that if either 'Brian is white' or 'Bernhard is gray' but not both then Julius is gray. Chances are about even that if either 'Jeff went to the bedroom' or 'Brian is white' but not both then Emily is a cat.,Chances are about even that either 'Bernhard is gray' or 'Emily 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.5::factA. 0.25::factB. 0.5::factC. %hop1 1.0::factX:-or(factC,factB). 0.0::factY:-xor(factB,factC). 0.5::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.5000000000000001,0.6913382676535307,train,about even,almost no chance,Chances are about even that either 'Bernhard is gray' or 'Emily is a cat' but not both.,There is almost no chance that either 'Bernhard is gray' or 'Emily is a cat' but not both.,1,Either 'Bernhard is gray' or 'Emily is a cat' but not both. It is certain that Emily is a mouse. It is probably the case that Brian is a rhino. It is impossible that Bernhard is a swan. It is highly likely that if 'Emily is a mouse' or 'Brian is a rhino' or both then Winona is a wolf. It is probable that if 'Emily is a mouse' or 'Brian is a rhino' or both then Mary went to the bedroom. It is probably the case that if 'Bernhard is a swan' or 'Emily is a mouse' or both then Jessica is a sheep.,It is probably the case that 'Mary went to the bedroom 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 1.0::factA. 0.7::factB. 0.0::factC. %hop1 0.9::factX:-or(factA,factB). 0.7::factY:-or(factA,factB). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.7,0.395879175835167,train,probably,improbable,It is probably the case that 'Mary went to the bedroom and Emily is a mouse'.,It is improbable that 'Mary went to the bedroom and Emily is a mouse'.,1,'Mary went to the bedroom and Emily is a mouse'. It is probably not the case that Lily is a lion. It is improbable that Jessica is a cat. We believe that Daniel put down the milk. It is improbable that if either 'Lily is a lion' or 'Jessica is a cat' but not both then Brian is yellow. We doubt that if either 'Jessica is a cat' or 'Daniel put down the milk' but not both then Mary got the apple. It is likely that if 'Lily is a lion' or 'Daniel put down the milk' or both then Julius is a rhino.,Chances are about even that 'Daniel put down 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.25::factA. 0.1::factB. 0.75::factC. %hop1 0.1::factX:-xor(factA,factB). 0.2::factY:-xor(factB,factC). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.525,0.5701140228045609,train,about even,impossible,Chances are about even that 'Daniel put down the milk and Julius is a rhino'.,It is impossible that 'Daniel put down the milk and Julius is a rhino'.,1,'Daniel put down the milk and Julius is a rhino'. It is highly likely that John moved to the garden. It is highly likely that Winona is a mouse. There is a better than even chance that Fred left the apple. It is probably the case that if either 'John moved to the garden' or 'Fred left the apple' but not both then Sandra dropped the milk. It is unlikely that if 'Fred left the apple and John moved to the garden' then Bernhard is a swan. It is likely that if 'Fred left the apple and Winona is a mouse' then Julius is a lion.,Chances are about even that 'Winona is a mouse and Fred 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.9::factA. 0.9::factB. 0.6::factC. %hop1 0.7::factX:-xor(factA,factC). 0.2::factY:-and(factC,factA). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.5399999999999999,0.7325465093018604,train,about even,impossible,Chances are about even that 'Winona is a mouse and Fred left the apple'.,It is impossible that 'Winona is a mouse and Fred left the apple'.,1,'Winona is a mouse and Fred left the apple'. It is probably not the case that Daniel got the football. It is unlikely that Winona is a sheep. We doubt that Brian is white. We doubt that if 'Brian is white and Daniel got the football' then John discarded the milk. It is probably the case that if 'Daniel got the football' or 'Winona is a sheep' or both then Lily is a swan. There is almost no chance that if 'Winona is a sheep' or 'Daniel got the football' or both then Mary went to the kitchen.,It is unlikely that either 'Lily is a swan' 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.25::factA. 0.2::factB. 0.2::factC. %hop1 0.2::factX:-and(factC,factA). 0.7::factY:-or(factA,factB). 0.02::factZ:-or(factB,factA). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.19999999999999998,0.7095419083816763,train,unlikely,likely,It is unlikely that either 'Lily is a swan' or 'Winona is a sheep' but not both.,It is likely that either 'Lily is a swan' or 'Winona is a sheep' but not both.,1,Either 'Lily is a swan' or 'Winona is a sheep' but not both. It is improbable that Julius is gray. It is unlikely that Mary left the milk. It is impossible that Greg is a swan. It is almost certain that if 'Mary left the milk and Greg is a swan' then Bill moved to the office. There is a very good chance that if either 'Mary left the milk' or 'Julius is gray' but not both then John went to the hallway. It is improbable that if 'Julius is gray' or 'Mary left the milk' or both then Jessica is a cat.,There is a very good chance that 'Jessica is a cat' or 'Bill 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.2::factB. 0.0::factC. %hop1 0.95::factX:-and(factB,factC). 0.8::factY:-xor(factB,factA). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.028000000000000014,0.21624324864972994,train,almost no chance,very good chance,There is almost no chance that 'Jessica is a cat' or 'Bill moved to the office' or both.,There is a very good chance that 'Jessica is a cat' or 'Bill moved to the office' or both.,0,'Jessica is a cat' or 'Bill moved to the office' or both. It is highly unlikely that Mary grabbed the milk. It is highly unlikely that Brian is a frog. We believe that Daniel left the apple. It is highly unlikely that if 'Mary grabbed the milk' or 'Daniel left the apple' or both then John went to the kitchen. It is probably not the case that if 'Brian is a frog' or 'Mary grabbed the milk' or both then Greg is gray. We believe that if 'Daniel left the apple' or 'Brian is a frog' or both then Emily is a mouse.,It is probably the case that 'Emily is a mouse 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.05::factA. 0.05::factB. 0.75::factC. %hop1 0.05::factX:-or(factA,factC). 0.25::factY:-or(factB,factA). 0.75::factZ:-or(factC,factB). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.028148437500000012,0.7351470294058812,train,almost no chance,probably,There is almost no chance that 'Emily is a mouse and John went to the kitchen'.,It is probably the case that 'Emily is a mouse and John went to the kitchen'.,0,'Emily is a mouse and John went to the kitchen'. There is little chance that Lily is a swan. It is certain that Mary went to the bedroom. It is probably not the case that Greg is a frog. There is a better than even chance that if 'Greg is a frog' or 'Lily is a swan' or both then Bernhard is white. It is unlikely that if either 'Mary went to the bedroom' or 'Greg is a frog' but not both then Sandra left the football. There is a better than even chance that if 'Mary went to the bedroom and Lily is a swan' then John got the milk.,We believe that either 'Sandra left the football' 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. 1.0::factB. 0.25::factC. %hop1 0.6::factX:-or(factC,factA). 0.2::factY:-xor(factB,factC). 0.6::factZ:-and(factB,factA). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.22000000000000006,0.6619323864772955,train,we doubt,we believe,We doubt that either 'Sandra left the football' or 'Lily is a swan' but not both.,We believe that either 'Sandra left the football' or 'Lily is a swan' but not both.,0,Either 'Sandra left the football' or 'Lily is a swan' but not both. There is a better than even chance that Julius is a swan. It is highly unlikely that John moved to the garden. It is highly likely that Bernhard is green. We believe that if either 'Bernhard is green' or 'John moved to the garden' but not both then Mary went to the hallway. There is a very good chance that if 'Bernhard is green' or 'Julius is a swan' or both then Winona is a sheep. We believe that if 'Bernhard is green' or 'Julius is a swan' or both then Sandra left the milk.,Chances are about even that 'Mary went to the hallway 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.6::factA. 0.05::factB. 0.9::factC. %hop1 0.75::factX:-xor(factC,factB). 0.8::factY:-or(factC,factA). 0.75::factZ:-or(factC,factA). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.48262499999999997,0.6667333466693338,train,about even,highly unlikely,Chances are about even that 'Mary went to the hallway and Sandra left the milk'.,It is highly unlikely that 'Mary went to the hallway and Sandra left the milk'.,1,'Mary went to the hallway and Sandra left the milk'. Chances are slight that Mary went to the hallway. It is almost certain that Greg is a swan. We doubt that Daniel got the milk. It is impossible that if either 'Daniel got the milk' or 'Greg is a swan' but not both then Lily is a swan. It is likely that if 'Greg is a swan' or 'Daniel got the milk' or both then Julius is a rhino. It is improbable that if 'Daniel got the milk and Mary went to the hallway' then John grabbed the apple.,It is highly likely that either 'Julius is a rhino' 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.2::factC. %hop1 0.0::factX:-xor(factC,factB). 0.7::factY:-or(factB,factC). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.292,0.5487097419483897,train,probably not,highly likely,It is probably not the case that either 'Julius is a rhino' or 'Greg is a swan' but not both.,It is highly likely that either 'Julius is a rhino' or 'Greg is a swan' but not both.,0,Either 'Julius is a rhino' or 'Greg is a swan' but not both. It is probably not the case that John discarded the apple. It is highly unlikely that Lily is a frog. Chances are slight that Brian is a lion. There is little chance that if 'Lily is a frog' or 'John discarded the apple' or both then Bernhard is a swan. It is probably not the case that if 'Brian is a lion and John discarded the apple' then Sandra dropped the milk. It is unlikely that if 'John discarded the apple' or 'Lily is a frog' or both then Mary went to the office.,It is almost certain that either 'Bernhard 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.25::factA. 0.05::factB. 0.1::factC. %hop1 0.1::factX:-or(factB,factA). 0.25::factY:-and(factC,factA). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.22874999999999998,0.1294258851770354,train,probably not,almost certain,It is probably not the case that either 'Bernhard is a swan' or 'John discarded the apple' but not both.,It is almost certain that either 'Bernhard is a swan' or 'John discarded the apple' but not both.,0,Either 'Bernhard is a swan' or 'John discarded the apple' but not both. It is likely that Brian is white. It is certain that Daniel grabbed the milk. It is probable that Winona is a mouse. Chances are about even that if 'Winona is a mouse and Daniel grabbed the milk' then Julius is yellow. It is highly likely that if 'Daniel grabbed the milk and Winona is a mouse' then Mary left the football. There is almost no chance that if 'Brian is white' or 'Winona is a mouse' or both then Greg is a rhino.,There is a better than even chance that 'Greg 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.7::factA. 1.0::factB. 0.7::factC. %hop1 0.5::factX:-and(factC,factB). 0.9::factY:-and(factB,factC). 0.02::factZ:-or(factA,factC). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.6355999999999999,0.2958591718343669,train,better than even,impossible,There is a better than even chance that 'Greg is a rhino' or 'Mary left the football' or both.,It is impossible that 'Greg is a rhino' or 'Mary left the football' or both.,1,'Greg is a rhino' or 'Mary left the football' or both. There is almost no chance that Jeff dropped the apple. It is probably the case that Jason is thirsty. It is highly likely that Bernhard is yellow. It is impossible that if 'Jeff dropped the apple' or 'Jason is thirsty' or both then Daniel took the football. It is likely that if 'Bernhard is yellow' or 'Jason is thirsty' or both then Winona is a sheep. It is probably the case that if 'Jason is thirsty and Jeff dropped the apple' then John moved to the office.,We doubt that 'Jason is thirsty' 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.02::factA. 0.7::factB. 0.9::factC. %hop1 0.0::factX:-or(factA,factB). 0.7::factY:-or(factC,factB). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.706,0.6937387477495499,train,probably,we doubt,It is probably the case that 'Jason is thirsty' or 'Jeff dropped the apple' or both.,We doubt that 'Jason is thirsty' or 'Jeff dropped the apple' or both.,0,'Jason is thirsty' or 'Jeff dropped the apple' or both. There is a very good chance that Lily is a rhino. It is probably the case that Julius is gray. It is impossible that Daniel left the apple. It is likely that if 'Lily is a rhino and Daniel left the apple' then Sandra put down the milk. It is impossible that if 'Daniel left the apple and Lily is a rhino' then Brian is a lion. It is probably the case that if 'Lily is a rhino' or 'Daniel left the apple' or both then Fred moved to the office.,It is highly likely that 'Sandra put down the milk 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.8::factA. 0.7::factB. 0.0::factC. %hop1 0.7::factX:-and(factA,factC). 0.0::factY:-and(factC,factA). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.0,0.7263452690538108,train,impossible,highly likely,It is impossible that 'Sandra put down the milk and Fred moved to the office'.,It is highly likely that 'Sandra put down the milk and Fred moved to the office'.,0,'Sandra put down the milk and Fred moved to the office'. There is little chance that Lily is a swan. There is a better than even chance that Sandra took the football. We doubt that Julius is white. There is little chance that if either 'Lily is a swan' or 'Sandra took the football' but not both then Fred dropped the apple. There is little chance that if 'Sandra took the football and Lily is a swan' then Mary grabbed the milk. It is highly unlikely that if either 'Lily is a swan' or 'Julius is white' but not both then Jessica is a sheep.,It is probable that 'Jessica is a sheep 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.1::factA. 0.6::factB. 0.2::factC. %hop1 0.1::factX:-xor(factA,factB). 0.1::factY:-and(factB,factA). 0.05::factZ:-xor(factA,factC). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.004000000000000002,0.7975595119023805,train,impossible,probable,It is impossible that 'Jessica is a sheep and Lily is a swan'.,It is probable that 'Jessica is a sheep and Lily is a swan'.,0,'Jessica is a sheep and Lily is a swan'. It is impossible that Mary went to the garden. It is highly likely that Bernhard is white. There is little chance that Gertrude is a sheep. Chances are about even that if 'Gertrude is a sheep and Bernhard is white' then Jeff left the apple. We doubt that if either 'Bernhard is white' or 'Mary went to the garden' but not both then Lily is white. It is likely that if 'Gertrude is a sheep' or 'Mary went to the garden' or both then Julius is yellow.,Chances are about even that either 'Jeff left the apple' 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.0::factA. 0.9::factB. 0.1::factC. %hop1 0.5::factX:-and(factC,factB). 0.2::factY:-xor(factB,factA). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.045000000000000005,0.3806761352270454,train,highly unlikely,about even,It is highly unlikely that either 'Jeff left the apple' or 'Mary went to the garden' but not both.,Chances are about even that either 'Jeff left the apple' or 'Mary went to the garden' but not both.,0,Either 'Jeff left the apple' or 'Mary went to the garden' but not both. It is improbable that Antoine is hungry. Chances are about even that Greg is green. There is little chance that Mary is in the bathroom. We doubt that if 'Mary is in the bathroom' or 'Greg is green' or both then Lily is a lion. It is improbable that if either 'Mary is in the bathroom' or 'Antoine is hungry' but not both then John dropped the apple. It is probable that if either 'Antoine is hungry' or 'Greg is green' but not both then Julius is yellow.,We doubt that 'Lily is a lion' or 'Antoine is hungry' 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.5::factB. 0.1::factC. %hop1 0.2::factX:-or(factC,factB). 0.1::factY:-xor(factC,factA). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.199,0.07801560312062412,train,we doubt,probably,We doubt that 'Lily is a lion' or 'Antoine is hungry' or both.,It is probably the case that 'Lily is a lion' or 'Antoine is hungry' or both.,1,'Lily is a lion' or 'Antoine is hungry' or both. Chances are slight that Bernhard is a rhino. We believe that Bill moved to the office. It is improbable that John took the football. Chances are about even that if 'John took the football and Bernhard is a rhino' then Greg is yellow. It is highly likely that if 'Bernhard is a rhino' or 'John took the football' or both then Mary went to the bedroom. It is unlikely that if 'Bernhard is a rhino and John took the football' then Lily is white.,It is highly unlikely that either 'Lily is white' 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.1::factA. 0.75::factB. 0.1::factC. %hop1 0.5::factX:-and(factC,factA). 0.9::factY:-or(factA,factC). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.749,0.585117023404681,train,we believe,highly unlikely,We believe that either 'Lily is white' or 'Bill moved to the office' but not both.,It is highly unlikely that either 'Lily is white' or 'Bill moved to the office' but not both.,0,Either 'Lily is white' or 'Bill moved to the office' but not both. It is likely that Brian is white. It is almost certain that Greg is a lion. Chances are about even that Julius is a swan. Chances are slight that if either 'Brian is white' or 'Julius is a swan' but not both then Mary went to the office. There is almost no chance that if 'Greg is a lion and Julius is a swan' then Lily is a rhino. It is certain that if either 'Greg is a lion' or 'Brian is white' but not both then Bernhard is green.,It is probable that either 'Mary went to the office' 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.7::factA. 0.95::factB. 0.5::factC. %hop1 0.1::factX:-xor(factA,factC). 0.02::factY:-and(factB,factC). 1.0::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.68,0.5467093418683737,train,probable,little chance,It is probable that either 'Mary went to the office' or 'Brian is white' but not both.,There is little chance that either 'Mary went to the office' or 'Brian is white' but not both.,1,Either 'Mary went to the office' or 'Brian is white' but not both. It is probable that Emily is a cat. It is certain that Greg is yellow. Chances are about even that Mary is in the hallway. We doubt that if 'Greg is yellow and Mary is in the hallway' then John dropped the apple. It is highly unlikely that if 'Emily is a cat and Mary is in the hallway' then Jason is tired. It is impossible that if 'Greg is yellow' or 'Emily is a cat' or both then Julius is a frog.,It is certain that 'Jason is tired' 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.7::factA. 1.0::factB. 0.5::factC. %hop1 0.2::factX:-and(factB,factC). 0.05::factY:-and(factA,factC). 0.0::factZ:-or(factB,factA). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.9999999999999999,0.5367073414682937,train,certain,unlikely,It is certain that 'Jason is tired' or 'Greg is yellow' or both.,It is unlikely that 'Jason is tired' or 'Greg is yellow' or both.,1,'Jason is tired' or 'Greg is yellow' or both. It is probable that Greg is a frog. It is certain that John dropped the apple. It is unlikely that Fred moved to the office. There is almost no chance that if either 'Greg is a frog' or 'Fred moved to the office' but not both then Julius is a rhino. There is little chance that if 'John dropped the apple and Greg is a frog' then Lily is white. It is highly likely that if 'Fred moved to the office and Greg is a frog' then Mary went to the hallway.,It is probably not the case that 'Greg is a frog' 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.7::factA. 1.0::factB. 0.2::factC. %hop1 0.02::factX:-xor(factA,factC). 0.1::factY:-and(factB,factA). 0.9::factZ:-and(factC,factA). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.7,0.7961592318463693,train,probable,probably not,It is probable that 'Greg is a frog' or 'Lily is white' or both.,It is probably not the case that 'Greg is a frog' or 'Lily is white' or both.,0,'Greg is a frog' or 'Lily is white' or both. It is highly likely that Julius is gray. It is almost certain that Gertrude is a cat. It is improbable that Bernhard is a swan. It is improbable that if 'Julius is gray' or 'Gertrude is a cat' or both then Greg is a lion. It is unlikely that if either 'Gertrude is a cat' or 'Julius is gray' but not both then John picked up the apple. It is likely that if either 'Gertrude is a cat' or 'Julius is gray' but not both then Mary discarded the milk.,There is little chance that either 'John picked up the apple' 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.95::factB. 0.1::factC. %hop1 0.1::factX:-or(factA,factB). 0.2::factY:-xor(factB,factA). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.08680000000000003,0.5659131826365273,train,little chance,probable,There is little chance that either 'John picked up the apple' or 'Mary discarded the milk' but not both.,It is probable that either 'John picked up the apple' or 'Mary discarded the milk' but not both.,1,Either 'John picked up the apple' or 'Mary discarded the milk' but not both. There is a very good chance that Mary left the football. It is impossible that Fred dropped the milk. It is almost certain that John went to the garden. It is improbable that if 'Mary left the football and Fred dropped the milk' then Bernhard is green. It is impossible that if 'John went to the garden' or 'Mary left the football' or both then Jessica is a cat. There is almost no chance that if either 'John went to the garden' or 'Mary left the football' but not both then Yann is hungry.,There is a better than even chance that 'Bernhard is green 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.0::factB. 0.95::factC. %hop1 0.1::factX:-and(factA,factB). 0.0::factY:-or(factC,factA). 0.02::factZ:-xor(factC,factA). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.0,0.13442688537707542,train,impossible,better than even,It is impossible that 'Bernhard is green and Jessica is a cat'.,There is a better than even chance that 'Bernhard is green and Jessica is a cat'.,0,'Bernhard is green and Jessica is a cat'. It is highly unlikely that Julius is gray. It is highly likely that Mary got the football. Chances are slight that Daniel left the milk. It is certain that if either 'Mary got the football' or 'Julius is gray' but not both then Sandra took the apple. It is unlikely that if 'Julius is gray' or 'Mary got the football' or both then Bernhard is white. It is probably not the case that if 'Mary got the football' or 'Daniel left the milk' or both then Lily is green.,It is unlikely that either 'Julius is gray' or 'Sandra 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.05::factA. 0.9::factB. 0.1::factC. %hop1 1.0::factX:-xor(factB,factA). 0.2::factY:-or(factA,factB). 0.25::factZ:-or(factB,factC). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.9,0.11482296459291859,train,highly likely,unlikely,It is highly likely that either 'Julius is gray' or 'Sandra took the apple' but not both.,It is unlikely that either 'Julius is gray' or 'Sandra took the apple' but not both.,0,Either 'Julius is gray' or 'Sandra took the apple' but not both. It is probable that Emily is a mouse. It is highly likely that Sandra dropped the apple. It is probably not the case that Brian is white. It is probable that if 'Emily is a mouse' or 'Sandra dropped the apple' or both then Lily is a lion. It is likely that if 'Brian is white' or 'Sandra dropped the apple' or both then Greg is a lion. It is probable that if 'Emily is a mouse' or 'Sandra dropped the apple' or both then Fred left the football.,It is likely that 'Brian is white and Sandra 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.7::factA. 0.9::factB. 0.25::factC. %hop1 0.7::factX:-or(factA,factB). 0.7::factY:-or(factC,factB). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.225,0.6063212642528506,train,unlikely,likely,It is unlikely that 'Brian is white and Sandra dropped the apple'.,It is likely that 'Brian is white and Sandra dropped the apple'.,0,'Brian is white and Sandra dropped the apple'. It is probably the case that Brian is gray. It is highly unlikely that Fred moved to the office. It is likely that Lily is a lion. We doubt that if 'Lily is a lion' or 'Brian is gray' or both then Greg is a swan. It is probably not the case that if 'Brian is gray and Fred moved to the office' then Daniel dropped the apple. It is certain that if 'Brian is gray and Lily is a lion' then Bernhard is green.,It is impossible that 'Greg is a swan' 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.05::factB. 0.7::factC. %hop1 0.2::factX:-or(factC,factA). 0.25::factY:-and(factA,factB). 1.0::factZ:-and(factA,factC). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.574,0.755751150230046,train,better than even,impossible,There is a better than even chance that 'Greg is a swan' or 'Bernhard is green' or both.,It is impossible that 'Greg is a swan' or 'Bernhard is green' or both.,0,'Greg is a swan' or 'Bernhard is green' or both. It is probably the case that Brian is a frog. There is almost no chance that Fred is in the school. It is probably not the case that Bernhard is yellow. Chances are about even that if either 'Bernhard is yellow' or 'Brian is a frog' but not both then Julius is a rhino. It is impossible that if 'Fred is in the school and Bernhard is yellow' then Gertrude is a mouse. We doubt that if 'Brian is a frog and Fred is in the school' then Bill left the football.,There is almost no chance that 'Fred is in the school' 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.7::factA. 0.02::factB. 0.25::factC. %hop1 0.5::factX:-xor(factC,factA). 0.0::factY:-and(factB,factC). 0.2::factZ:-and(factA,factB). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.02,0.3786757351470294,train,almost no chance,almost certain,There is almost no chance that 'Fred is in the school' or 'Gertrude is a mouse' or both.,It is almost certain that 'Fred is in the school' or 'Gertrude is a mouse' or both.,1,'Fred is in the school' or 'Gertrude is a mouse' or both. It is improbable that Brian is green. It is likely that Bernhard is a rhino. We believe that Greg is yellow. It is impossible that if either 'Bernhard is a rhino' or 'Greg is yellow' but not both then Mary went to the garden. It is highly unlikely that if 'Bernhard is a rhino' or 'Greg is yellow' or both then Lily is a frog. It is likely that if 'Brian is green and Greg is yellow' then John got the apple.,It is likely that either 'Bernhard is a rhino' 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.1::factA. 0.7::factB. 0.75::factC. %hop1 0.0::factX:-xor(factB,factC). 0.05::factY:-or(factB,factC). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6599999999999999,0.7465493098619724,train,likely,improbable,It is likely that either 'Bernhard is a rhino' or 'Brian is green' but not both.,It is improbable that either 'Bernhard is a rhino' or 'Brian is green' but not both.,1,Either 'Bernhard is a rhino' or 'Brian is green' but not both. There is a better than even chance that Julius is a frog. It is highly likely that Brian is yellow. There is a better than even chance that Winona is a sheep. It is probably the case that if 'Winona is a sheep and Brian is yellow' then Antoine is bored. It is almost certain that if 'Winona is a sheep' or 'Brian is yellow' or both then Sandra dropped the milk. It is likely that if either 'Julius is a frog' or 'Brian is yellow' but not both then Greg is a rhino.,Chances are slight that either 'Brian is yellow' 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.6::factA. 0.9::factB. 0.6::factC. %hop1 0.7::factX:-and(factC,factB). 0.95::factY:-or(factC,factB). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.69,0.36027205441088217,train,probable,chances are slight,It is probable that either 'Brian is yellow' or 'Greg is a rhino' but not both.,Chances are slight that either 'Brian is yellow' or 'Greg is a rhino' but not both.,0,Either 'Brian is yellow' or 'Greg is a rhino' but not both. It is highly likely that Brian is a rhino. It is improbable that Sumit is hungry. It is almost certain that Lily is green. It is likely that if either 'Sumit is hungry' or 'Brian is a rhino' but not both then Mary left the football. It is unlikely that if 'Brian is a rhino and Lily is green' then Julius is a swan. It is likely that if either 'Sumit is hungry' or 'Lily is green' but not both then Sandra took the football.,It is certain that 'Brian is a rhino' 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.9::factA. 0.1::factB. 0.95::factC. %hop1 0.7::factX:-xor(factB,factA). 0.2::factY:-and(factA,factC). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.995,0.6087217443488698,train,certain,we doubt,It is certain that 'Brian is a rhino' or 'Lily is green' or both.,We doubt that 'Brian is a rhino' or 'Lily is green' or both.,1,'Brian is a rhino' or 'Lily is green' or both. It is almost certain that Daniel left the apple. Chances are about even that Lily is white. It is highly likely that Fred went to the garden. It is likely that if 'Daniel left the apple' or 'Lily is white' or both then Gertrude is a mouse. It is certain that if 'Fred went to the garden' or 'Lily is white' or both then Antoine is hungry. There is almost no chance that if either 'Fred went to the garden' or 'Daniel left the apple' but not both then Greg is a frog.,It is certain that 'Daniel left the apple' or 'Fred 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.95::factA. 0.5::factB. 0.9::factC. %hop1 0.7::factX:-or(factA,factB). 1.0::factY:-or(factC,factB). 0.02::factZ:-xor(factC,factA). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.995,0.750750150030006,train,certain,chances are slight,It is certain that 'Daniel left the apple' or 'Fred went to the garden' or both.,Chances are slight that 'Daniel left the apple' or 'Fred went to the garden' or both.,1,'Daniel left the apple' or 'Fred went to the garden' or both. It is probably the case that Bernhard is a frog. It is improbable that Lily is green. We believe that Greg is white. There is almost no chance that if 'Bernhard is a frog and Lily is green' then Gertrude is a cat. It is likely that if 'Bernhard is a frog' or 'Lily is green' or both then John dropped the apple. It is probable that if 'Lily is green and Bernhard is a frog' then Mary left the milk.,Chances are about even that 'Mary left the milk' or 'John 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.75::factC. %hop1 0.02::factX:-and(factA,factB). 0.7::factY:-or(factA,factB). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.5257,0.26405281056211244,train,about even,almost certain,Chances are about even that 'Mary left the milk' or 'John dropped the apple' or both.,It is almost certain that 'Mary left the milk' or 'John dropped the apple' or both.,1,'Mary left the milk' or 'John dropped the apple' or both. It is impossible that John took the football. Chances are about even that Bernhard is a frog. It is certain that Lily is white. There is little chance that if 'Lily is white' or 'Bernhard is a frog' or both then Antoine is hungry. We believe that if either 'Lily is white' or 'Bernhard is a frog' but not both then Mary dropped the milk. It is probably not the case that if 'Lily is white' or 'John took the football' or both then Greg is a rhino.,It is certain that 'Bernhard is a frog 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.0::factA. 0.5::factB. 1.0::factC. %hop1 0.1::factX:-or(factC,factB). 0.75::factY:-xor(factC,factB). 0.25::factZ:-or(factC,factA). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.5,0.01220244048809762,train,about even,certain,Chances are about even that 'Bernhard is a frog and Lily is white'.,It is certain that 'Bernhard is a frog and Lily is white'.,0,'Bernhard is a frog and Lily is white'. We believe that Mary left the apple. Chances are slight that John went to the office. We believe that Bernhard is gray. Chances are slight that if 'Bernhard is gray and John went to the office' then Greg is white. There is a very good chance that if either 'Mary left the apple' or 'Bernhard is gray' but not both then Lily is a swan. There is little chance that if 'Bernhard is gray' or 'John went to the office' or both then Emily is a sheep.,It is impossible that 'Emily is a sheep 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.75::factA. 0.1::factB. 0.75::factC. %hop1 0.1::factX:-and(factC,factB). 0.8::factY:-xor(factA,factC). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.000750000000000001,0.7023404680936187,train,impossible,certain,It is impossible that 'Emily is a sheep and Greg is white'.,It is certain that 'Emily is a sheep and Greg is white'.,1,'Emily is a sheep and Greg is white'. There is a better than even chance that Jason is tired. There is little chance that Sandra left the milk. There is almost no chance that Julius is a swan. It is probable that if 'Sandra left the milk' or 'Julius is a swan' or both then John went to the garden. There is a better than even chance that if 'Julius is a swan' or 'Jason is tired' or both then Bernhard is yellow. It is almost certain that if 'Sandra left the milk and Julius is a swan' then Greg is white.,Chances are about even that either 'Bernhard is yellow' or 'Sandra 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.6::factA. 0.1::factB. 0.02::factC. %hop1 0.7::factX:-or(factB,factC). 0.6::factY:-or(factC,factA). 0.95::factZ:-and(factB,factC). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.39183999999999997,0.5885177035407081,train,about even,impossible,Chances are about even that either 'Bernhard is yellow' or 'Sandra left the milk' but not both.,It is impossible that either 'Bernhard is yellow' or 'Sandra left the milk' but not both.,1,Either 'Bernhard is yellow' or 'Sandra left the milk' but not both. It is probably the case that Yann is tired. It is improbable that Bill went to the garden. There is little chance that Lily is a lion. It is almost certain that if 'Bill went to the garden' or 'Lily is a lion' or both then John dropped the apple. It is probable that if 'Bill went to the garden and Yann is tired' then Mary picked up the milk. We doubt that if 'Bill went to the garden and Lily is a lion' then Winona is a sheep.,It is highly unlikely 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.1::factB. 0.1::factC. %hop1 0.95::factX:-or(factB,factC). 0.7::factY:-and(factB,factA). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.07,0.638127625525105,train,highly unlikely,certain,It is highly unlikely that 'Yann is tired and Lily is a lion'.,It is certain that 'Yann is tired and Lily is a lion'.,1,'Yann is tired and Lily is a lion'. We believe that Mary got the football. It is impossible that Jessica is a cat. It is impossible that John discarded the apple. It is probably not the case that if 'Jessica is a cat' or 'John discarded the apple' or both then Jason is tired. It is certain that if either 'John discarded the apple' or 'Mary got the football' but not both then Bernhard is a frog. It is almost certain that if 'John discarded the apple' or 'Mary got the football' or both then Brian is a rhino.,We believe that 'Mary got the football' 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 0.75::factA. 0.0::factB. 0.0::factC. %hop1 0.25::factX:-or(factB,factC). 1.0::factY:-xor(factC,factA). 0.95::factZ:-or(factC,factA). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.75,0.3650730146029206,train,we believe,improbable,We believe that 'Mary got the football' or 'Jessica is a cat' or both.,It is improbable that 'Mary got the football' or 'Jessica is a cat' or both.,1,'Mary got the football' or 'Jessica is a cat' or both. It is almost certain that Brian is a lion. Chances are about even that Emily is a cat. It is probably the case that Mary went to the garden. There is little chance that if 'Brian is a lion and Mary went to the garden' then Lily is green. Chances are slight that if 'Brian is a lion' or 'Mary went to the garden' or both then John dropped the milk. It is improbable that if 'Mary went to the garden' or 'Emily is a cat' or both then Bernhard is a frog.,We believe that either 'Mary went to the garden' or 'Brian 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.95::factA. 0.5::factB. 0.7::factC. %hop1 0.1::factX:-and(factA,factC). 0.1::factY:-or(factA,factC). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.32000000000000006,0.371874374874975,train,probably not,we believe,It is probably not the case that either 'Mary went to the garden' or 'Brian is a lion' but not both.,We believe that either 'Mary went to the garden' or 'Brian is a lion' but not both.,0,Either 'Mary went to the garden' or 'Brian is a lion' but not both. It is unlikely that Lily is white. It is likely that Brian is a rhino. It is probably not the case that Mary went to the bedroom. It is likely that if 'Mary went to the bedroom and Brian is a rhino' then Julius is gray. It is certain that if either 'Mary went to the bedroom' or 'Brian is a rhino' but not both then Sandra left the milk. It is highly likely that if 'Mary went to the bedroom' or 'Brian is a rhino' or both then John got the milk.,It is impossible that either 'Julius is gray' 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.2::factA. 0.7::factB. 0.25::factC. %hop1 0.7::factX:-and(factC,factB). 1.0::factY:-xor(factC,factB). 0.9::factZ:-or(factC,factB). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.5775,0.38947789557911583,train,better than even,impossible,There is a better than even chance that either 'Julius is gray' or 'Brian is a rhino' but not both.,It is impossible that either 'Julius is gray' or 'Brian is a rhino' but not both.,0,Either 'Julius is gray' or 'Brian is a rhino' but not both. Chances are slight that Mary went to the hallway. It is almost certain that Sandra got the football. We doubt that Greg is a lion. It is highly likely that if either 'Sandra got the football' or 'Greg is a lion' but not both then Lily is white. There is almost no chance that if 'Sandra got the football and Greg is a lion' then Gertrude is a sheep. Chances are about even that if 'Mary went to the hallway' or 'Sandra got the football' or both then John picked up the apple.,It is probable that either 'Mary went to the hallway' or 'Lily 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.95::factB. 0.2::factC. %hop1 0.9::factX:-xor(factB,factC). 0.02::factY:-and(factB,factC). 0.5::factZ:-or(factA,factB). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.6544,0.3586717343468694,train,probable,highly unlikely,It is probable that either 'Mary went to the hallway' or 'Lily is white' but not both.,It is highly unlikely that either 'Mary went to the hallway' or 'Lily is white' but not both.,1,Either 'Mary went to the hallway' or 'Lily is white' but not both. We doubt that Bernhard is yellow. It is highly unlikely that Fred left the apple. There is little chance that John went to the hallway. It is probably not the case that if 'John went to the hallway and Bernhard is yellow' then Jason is tired. There is little chance that if either 'John went to the hallway' or 'Bernhard is yellow' but not both then Brian is green. We believe that if either 'John went to the hallway' or 'Fred left the apple' but not both then Julius is a frog.,It is almost certain that 'Jason is tired' or 'Bernhard 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.05::factB. 0.1::factC. %hop1 0.25::factX:-and(factC,factA). 0.1::factY:-xor(factC,factA). 0.75::factZ:-xor(factC,factB). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.2,0.3624724944988998,train,we doubt,almost certain,We doubt that 'Jason is tired' or 'Bernhard is yellow' or both.,It is almost certain that 'Jason is tired' or 'Bernhard is yellow' or both.,0,'Jason is tired' or 'Bernhard is yellow' or both. There is a better than even chance that Lily is a swan. It is impossible that Julius is a frog. We believe that Mary put down the apple. Chances are slight that if 'Julius is a frog and Mary put down the apple' then Sandra got the football. There is a better than even chance that if either 'Mary put down the apple' or 'Lily is a swan' but not both then Greg is a rhino. It is probably not the case that if 'Mary put down the apple and Julius is a frog' then Bernhard is white.,It is almost certain that either 'Mary put down the apple' 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.6::factA. 0.0::factB. 0.75::factC. %hop1 0.1::factX:-and(factB,factC). 0.6::factY:-xor(factC,factA). 0.25::factZ:-and(factC,factB). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.45000000000000007,0.378875775155031,train,about even,almost certain,Chances are about even that either 'Mary put down the apple' or 'Lily is a swan' but not both.,It is almost certain that either 'Mary put down the apple' or 'Lily is a swan' but not both.,0,Either 'Mary put down the apple' or 'Lily is a swan' but not both. There is a better than even chance that Lily is white. It is highly likely that Daniel left the milk. It is probably not the case that Mary got the football. It is certain that if either 'Daniel left the milk' or 'Lily is white' but not both then John moved to the office. We doubt that if 'Daniel left the milk' or 'Lily is white' or both then Bernhard is yellow. It is impossible that if either 'Mary got the football' or 'Lily is white' but not both then Julius is gray.,It is impossible that 'Julius is gray 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.6::factA. 0.9::factB. 0.25::factC. %hop1 1.0::factX:-xor(factB,factA). 0.2::factY:-or(factB,factA). 0.0::factZ:-xor(factC,factA). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.0,0.09061812362472495,train,impossible,we believe,It is impossible that 'Julius is gray and Mary got the football'.,We believe that 'Julius is gray and Mary got the football'.,1,'Julius is gray and Mary got the football'. We doubt that Brian is a lion. There is little chance that Mary went to the kitchen. There is a better than even chance that Lily is green. It is probable that if 'Lily is green and Mary went to the kitchen' then Yann is bored. It is probably not the case that if either 'Mary went to the kitchen' or 'Brian is a lion' but not both then Bernhard is yellow. It is unlikely that if either 'Lily is green' or 'Mary went to the kitchen' but not both then Julius is a frog.,There is a better than even chance that either 'Bernhard is yellow' or 'Lily 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.2::factA. 0.1::factB. 0.6::factC. %hop1 0.7::factX:-and(factC,factB). 0.25::factY:-xor(factB,factA). 0.2::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.5870000000000001,0.6969393878775755,train,better than even,little chance,There is a better than even chance that either 'Bernhard is yellow' or 'Lily is green' but not both.,There is little chance that either 'Bernhard is yellow' or 'Lily is green' but not both.,1,Either 'Bernhard is yellow' or 'Lily is green' but not both. Chances are about even that Greg is white. Chances are about even that Emily is a wolf. It is probably the case that John dropped the apple. Chances are about even that if 'John dropped the apple' or 'Emily is a wolf' or both then Mary moved to the garden. There is a very good chance that if 'Emily is a wolf and John dropped the apple' then Brian is yellow. We believe that if either 'John dropped the apple' or 'Greg is white' but not both then Bernhard is a lion.,We believe that 'Emily is a wolf 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.5::factA. 0.5::factB. 0.7::factC. %hop1 0.5::factX:-or(factC,factB). 0.8::factY:-and(factB,factC). 0.75::factZ:-xor(factC,factA). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.1875,0.6057211442288458,train,we doubt,we believe,We doubt that 'Emily is a wolf and Bernhard is a lion'.,We believe that 'Emily is a wolf and Bernhard is a lion'.,0,'Emily is a wolf and Bernhard is a lion'. There is almost no chance that Brian is yellow. It is highly likely that John went to the bedroom. It is highly unlikely that Lily is a swan. It is unlikely that if 'Lily is a swan and John went to the bedroom' then Greg is green. It is probably not the case that if either 'Brian is yellow' or 'John went to the bedroom' but not both then Jessica is a cat. It is probably not the case that if either 'Lily is a swan' or 'John went to the bedroom' but not both then Bernhard is a rhino.,It is probably not the case that 'Lily is a swan' or 'Bernhard 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.9::factB. 0.05::factC. %hop1 0.2::factX:-and(factC,factB). 0.25::factY:-xor(factA,factB). 0.25::factZ:-xor(factC,factB). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.26375000000000004,0.4212842568513703,train,probably not,almost certain,It is probably not the case that 'Lily is a swan' or 'Bernhard is a rhino' or both.,It is almost certain that 'Lily is a swan' or 'Bernhard is a rhino' or both.,1,'Lily is a swan' or 'Bernhard is a rhino' or both. It is impossible that John went to the hallway. We believe that Gertrude is a sheep. It is highly unlikely that Mary left the football. It is improbable that if 'Mary left the football and John went to the hallway' then Greg is a swan. It is unlikely that if 'Mary left the football' or 'Gertrude is a sheep' or both then Julius is a rhino. Chances are slight that if either 'Gertrude is a sheep' or 'John went to the hallway' but not both then Bernhard is gray.,It is improbable that 'Mary left the football' 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 0.0::factA. 0.75::factB. 0.05::factC. %hop1 0.1::factX:-and(factC,factA). 0.2::factY:-or(factC,factB). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.7625,0.04480896179235847,train,we believe,improbable,We believe that 'Mary left the football' or 'Gertrude is a sheep' or both.,It is improbable that 'Mary left the football' or 'Gertrude is a sheep' or both.,0,'Mary left the football' or 'Gertrude is a sheep' or both. There is a better than even chance that Julius is green. It is certain that Greg is a rhino. There is a better than even chance that Brian is yellow. There is a better than even chance that if 'Brian is yellow and Julius is green' then Fred moved to the office. There is a better than even chance that if 'Greg is a rhino and Julius is green' then Mary picked up the milk. Chances are about even that if 'Julius is green' or 'Greg is a rhino' or both then John got the apple.,We believe that 'Mary picked up the milk 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.6::factA. 1.0::factB. 0.6::factC. %hop1 0.6::factX:-and(factC,factA). 0.6::factY:-and(factB,factA). 0.5::factZ:-or(factA,factB). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.21599999999999997,0.23344668933786758,train,we doubt,we believe,We doubt that 'Mary picked up the milk and Brian is yellow'.,We believe that 'Mary picked up the milk and Brian is yellow'.,0,'Mary picked up the milk and Brian is yellow'. It is improbable that Mary moved to the garden. It is certain that Julius is a frog. We doubt that Jeff left the football. We believe that if 'Jeff left the football and Mary moved to the garden' then Lily is a swan. It is probably not the case that if 'Mary moved to the garden' or 'Jeff left the football' or both then Brian is white. We believe that if 'Julius is a frog and Mary moved to the garden' then Yann is hungry.,It is highly likely that either 'Mary moved to the garden' 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.1::factA. 1.0::factB. 0.2::factC. %hop1 0.75::factX:-and(factC,factA). 0.25::factY:-or(factA,factC). 0.75::factZ:-and(factB,factA). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.9,0.5737147429485897,train,highly likely,impossible,It is highly likely that either 'Mary moved to the garden' or 'Julius is a frog' but not both.,It is impossible that either 'Mary moved to the garden' or 'Julius is a frog' but not both.,1,Either 'Mary moved to the garden' or 'Julius is a frog' but not both. There is little chance that John went to the hallway. It is likely that Bill left the football. There is little chance that Lily is yellow. It is unlikely that if either 'Bill left the football' or 'John went to the hallway' but not both then Brian is a rhino. Chances are slight that if 'Bill left the football' or 'Lily is yellow' or both then Bernhard is gray. It is likely that if either 'Lily is yellow' or 'John went to the hallway' but not both then Winona is a wolf.,It is probable that 'Bernhard is gray' or 'Bill 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.1::factA. 0.7::factB. 0.1::factC. %hop1 0.2::factX:-xor(factB,factA). 0.1::factY:-or(factB,factC). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.703,0.6247249449889978,train,probable,probably not,It is probable that 'Bernhard is gray' or 'Bill left the football' or both.,It is probably not the case that 'Bernhard is gray' or 'Bill left the football' or both.,1,'Bernhard is gray' or 'Bill left the football' or both. It is probably not the case that John discarded the milk. There is almost no chance that Brian is green. It is highly unlikely that Greg is gray. It is improbable that if either 'John discarded the milk' or 'Brian is green' but not both then Sumit is tired. There is little chance that if either 'Greg is gray' or 'John discarded the milk' but not both then Julius is a swan. It is probably the case that if 'John discarded the milk' or 'Greg is gray' or both then Lily is yellow.,There is little chance that either 'Lily is yellow' or 'John 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.25::factA. 0.02::factB. 0.05::factC. %hop1 0.1::factX:-xor(factA,factB). 0.1::factY:-xor(factC,factA). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.10125,0.6269253850770155,train,little chance,probable,There is little chance that either 'Lily is yellow' or 'John discarded the milk' but not both.,It is probable that either 'Lily is yellow' or 'John discarded the milk' but not both.,1,Either 'Lily is yellow' or 'John discarded the milk' but not both. It is almost certain that John left the apple. It is unlikely that Julius is yellow. It is highly unlikely that Greg is a swan. It is probable that if either 'Julius is yellow' or 'John left the apple' but not both then Brian is a frog. It is highly unlikely that if 'John left the apple' or 'Julius is yellow' or both then Jason is tired. It is likely that if 'John left the apple and Julius is yellow' then Mary moved to the office.,It is probably not the case that 'Julius 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 0.95::factA. 0.2::factB. 0.05::factC. %hop1 0.7::factX:-xor(factB,factA). 0.05::factY:-or(factA,factB). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.23800000000000002,0.5131026205241048,train,probably not,we believe,It is probably not the case that 'Julius is yellow' or 'Jason is tired' or both.,We believe that 'Julius is yellow' or 'Jason is tired' or both.,1,'Julius is yellow' or 'Jason is tired' or both. It is likely that Jessica is a cat. It is probably not the case that Fred dropped the apple. Chances are slight that Greg is gray. There is almost no chance that if 'Greg is gray' or 'Jessica is a cat' or both then Sumit is thirsty. It is almost certain that if 'Greg is gray' or 'Fred dropped the apple' or both then Bernhard is green. There is almost no chance that if either 'Jessica is a cat' or 'Fred dropped the apple' but not both then Mary moved to the office.,It is impossible that 'Sumit is thirsty 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.7::factA. 0.25::factB. 0.1::factC. %hop1 0.02::factX:-or(factC,factA). 0.95::factY:-or(factC,factB). 0.02::factZ:-xor(factA,factB). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.00021300000000000016,0.1170234046809362,train,impossible,highly likely,It is impossible that 'Sumit is thirsty and Mary moved to the office'.,It is highly likely that 'Sumit is thirsty and Mary moved to the office'.,1,'Sumit is thirsty and Mary moved to the office'. It is impossible that Bernhard is yellow. There is a better than even chance that Jason is tired. We doubt that John moved to the garden. We believe that if 'Bernhard is yellow and John moved to the garden' then Julius is a frog. We believe that if 'Bernhard is yellow' or 'Jason is tired' or both then Sandra grabbed the milk. It is highly likely that if 'Bernhard is yellow' or 'John moved to the garden' or both then Brian is a swan.,There is almost no chance that either 'Brian is a swan' 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.0::factA. 0.6::factB. 0.2::factC. %hop1 0.75::factX:-and(factA,factC). 0.75::factY:-or(factA,factB). 0.9::factZ:-or(factA,factC). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.019999999999999993,0.3060612122424485,train,almost no chance,probably,There is almost no chance that either 'Brian is a swan' or 'John moved to the garden' but not both.,It is probably the case that either 'Brian is a swan' or 'John moved to the garden' but not both.,1,Either 'Brian is a swan' or 'John moved to the garden' but not both. Chances are slight that Greg is yellow. It is likely that Julius is a swan. It is certain that Brian is white. It is certain that if 'Julius is a swan and Greg is yellow' then Sandra left the milk. There is a very good chance that if either 'Greg is yellow' or 'Brian is white' but not both then Lily is a lion. There is a very good chance that if 'Julius is a swan' or 'Greg is yellow' or both then Fred went to the garden.,It is certain that either 'Julius is a swan' 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.1::factA. 0.7::factB. 1.0::factC. %hop1 1.0::factX:-and(factB,factA). 0.8::factY:-xor(factA,factC). 0.8::factZ:-or(factB,factA). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.412,0.6051210242048409,train,about even,certain,Chances are about even that either 'Julius is a swan' or 'Lily is a lion' but not both.,It is certain that either 'Julius is a swan' or 'Lily is a lion' but not both.,0,Either 'Julius is a swan' or 'Lily is a lion' but not both. It is unlikely that Julius is a swan. Chances are slight that Jeff moved to the office. Chances are about even that Antoine is hungry. It is probably the case that if 'Julius is a swan' or 'Antoine is hungry' or both then John discarded the apple. It is improbable that if either 'Antoine is hungry' or 'Julius is a swan' but not both then Bernhard is a frog. It is highly unlikely that if 'Jeff moved to the office' or 'Antoine is hungry' or both then Sandra put down the milk.,Chances are about even that either 'Sandra put down the milk' or 'Antoine is hungry' 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.7::factX:-or(factA,factC). 0.1::factY:-xor(factC,factA). 0.05::factZ:-or(factB,factC). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.4775,0.16943388677735546,train,about even,almost certain,Chances are about even that either 'Sandra put down the milk' or 'Antoine is hungry' but not both.,It is almost certain that either 'Sandra put down the milk' or 'Antoine is hungry' but not both.,1,Either 'Sandra put down the milk' or 'Antoine is hungry' but not both. Chances are slight that Jessica is a wolf. It is probable that Lily is a frog. We believe that Bernhard is green. It is unlikely that if either 'Bernhard is green' or 'Lily is a frog' but not both then Jeff left the football. There is little chance that if 'Lily is a frog' or 'Jessica is a wolf' or both then John took the apple. There is a better than even chance that if 'Lily is a frog and Jessica is a wolf' then Brian is a swan.,It is improbable that 'Jeff left the football' 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.1::factA. 0.7::factB. 0.75::factC. %hop1 0.2::factX:-xor(factC,factB). 0.1::factY:-or(factB,factA). 0.6::factZ:-and(factB,factA). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.11989999999999999,0.23464692938587717,train,improbable,better than even,It is improbable that 'Jeff left the football' or 'Brian is a swan' or both.,There is a better than even chance that 'Jeff left the football' or 'Brian is a swan' or both.,1,'Jeff left the football' or 'Brian is a swan' or both. It is highly likely that Bernhard is a frog. It is improbable that Emily is a wolf. It is likely that John went to the bedroom. It is probably the case that if 'Bernhard is a frog and John went to the bedroom' then Brian is a rhino. It is certain that if either 'Bernhard is a frog' or 'Emily is a wolf' but not both then Mary dropped the apple. It is probable that if either 'Bernhard is a frog' or 'John went to the bedroom' but not both then Lily is yellow.,It is highly unlikely that 'Bernhard 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.9::factA. 0.1::factB. 0.7::factC. %hop1 0.7::factX:-and(factA,factC). 1.0::factY:-xor(factA,factB). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.97,0.1770354070814163,train,almost certain,highly unlikely,It is almost certain that 'Bernhard is a frog' or 'John went to the bedroom' or both.,It is highly unlikely that 'Bernhard is a frog' or 'John went to the bedroom' or both.,0,'Bernhard is a frog' or 'John went to the bedroom' or both. It is probably not the case that Emily is a wolf. It is unlikely that Brian is gray. Chances are about even that Greg is yellow. It is likely that if 'Brian is gray' or 'Emily is a wolf' or both then Julius is yellow. There is almost no chance that if either 'Emily is a wolf' or 'Greg is yellow' but not both then Bernhard is a swan. It is highly likely that if either 'Brian is gray' or 'Greg is yellow' but not both then Yann is tired.,It is unlikely that either 'Julius is yellow' 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 0.25::factA. 0.2::factB. 0.5::factC. %hop1 0.7::factX:-or(factB,factA). 0.02::factY:-xor(factA,factC). 0.9::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.17999999999999997,0.46489297859571915,train,unlikely,probably,It is unlikely that either 'Julius is yellow' or 'Emily is a wolf' but not both.,It is probably the case that either 'Julius is yellow' or 'Emily is a wolf' but not both.,1,Either 'Julius is yellow' or 'Emily is a wolf' but not both. There is a better than even chance that Mary got the apple. It is certain that Jessica is a sheep. It is likely that Julius is a frog. There is almost no chance that if 'Jessica is a sheep' or 'Mary got the apple' or both then Fred left the football. There is a better than even chance that if 'Mary got the apple' or 'Julius is a frog' or both then Lily is green. We believe that if 'Mary got the apple and Jessica is a sheep' then Greg is yellow.,It is likely that either 'Fred left the football' 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.6::factA. 1.0::factB. 0.7::factC. %hop1 0.02::factX:-or(factB,factA). 0.6::factY:-or(factA,factC). 0.75::factZ:-and(factA,factB). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.692,0.6587317463492699,train,likely,impossible,It is likely that either 'Fred left the football' or 'Julius is a frog' but not both.,It is impossible that either 'Fred left the football' or 'Julius is a frog' but not both.,1,Either 'Fred left the football' or 'Julius is a frog' but not both. It is almost certain that Bernhard is a rhino. It is unlikely that Lily is a swan. It is probably not the case that Mary left the milk. It is highly unlikely that if 'Lily is a swan' or 'Bernhard is a rhino' or both then Fred put down the apple. Chances are slight that if 'Lily is a swan and Bernhard is a rhino' then John went to the kitchen. It is likely that if 'Mary left the milk and Bernhard is a rhino' then Brian is a frog.,It is highly unlikely that either 'Fred put down the apple' or 'John went to the kitchen' 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.2::factB. 0.25::factC. %hop1 0.05::factX:-or(factB,factA). 0.1::factY:-and(factB,factA). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.0651,0.22584516903380678,train,highly unlikely,very good chance,It is highly unlikely that either 'Fred put down the apple' or 'John went to the kitchen' but not both.,There is a very good chance that either 'Fred put down the apple' or 'John went to the kitchen' but not both.,1,Either 'Fred put down the apple' or 'John went to the kitchen' but not both. It is highly likely that Sandra took the milk. It is highly unlikely that Mary is in the school. There is little chance that Winona is a mouse. Chances are about even that if 'Winona is a mouse and Sandra took the milk' then Julius is white. It is probably the case that if 'Winona is a mouse' or 'Mary is in the school' or both then Bernhard is green. It is highly unlikely that if either 'Mary is in the school' or 'Winona is a mouse' but not both then John dropped the apple.,There is a very good chance that either 'Sandra took the milk' 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.9::factA. 0.05::factB. 0.1::factC. %hop1 0.5::factX:-and(factC,factA). 0.7::factY:-or(factC,factB). 0.05::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.8188,0.1984396879375875,train,very good chance,improbable,There is a very good chance that either 'Sandra took the milk' or 'Bernhard is green' but not both.,It is improbable that either 'Sandra took the milk' or 'Bernhard is green' but not both.,1,Either 'Sandra took the milk' or 'Bernhard is green' but not both. It is unlikely that Sandra left the football. It is improbable that Greg is gray. It is probable that Lily is a rhino. It is highly likely that if 'Sandra left the football and Greg is gray' then Winona is a mouse. It is highly likely that if either 'Lily is a rhino' or 'Sandra left the football' but not both then John put down the milk. We doubt that if 'Greg is gray and Lily is a rhino' then Brian is a swan.,It is impossible that 'Winona is a mouse 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.2::factA. 0.1::factB. 0.7::factC. %hop1 0.9::factX:-and(factA,factB). 0.9::factY:-xor(factC,factA). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.002520000000000002,0.1960392078415683,train,impossible,about even,It is impossible that 'Winona is a mouse and Brian is a swan'.,Chances are about even that 'Winona is a mouse and Brian is a swan'.,1,'Winona is a mouse and Brian is a swan'. It is highly likely that Julius is white. It is unlikely that Brian is a swan. We doubt that John went to the bedroom. We believe that if either 'John went to the bedroom' or 'Julius is white' but not both then Bernhard is a rhino. It is certain that if either 'Julius is white' or 'John went to the bedroom' but not both then Gertrude is a mouse. There is a very good chance that if 'John went to the bedroom' or 'Brian is a swan' or both then Mary left the football.,We believe that 'Bernhard 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.9::factA. 0.2::factB. 0.2::factC. %hop1 0.75::factX:-xor(factC,factA). 1.0::factY:-xor(factA,factC). 0.8::factZ:-or(factC,factB). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.7446,0.4480896179235847,train,we believe,chances are slight,We believe that 'Bernhard is a rhino' or 'Mary left the football' or both.,Chances are slight that 'Bernhard is a rhino' or 'Mary left the football' or both.,1,'Bernhard is a rhino' or 'Mary left the football' or both. We doubt that Julius is yellow. There is a very good chance that Yann is thirsty. It is highly unlikely that Mary went to the hallway. Chances are about even that if either 'Yann is thirsty' or 'Julius is yellow' but not both then Brian is gray. It is probably not the case that if 'Mary went to the hallway and Julius is yellow' then Bernhard is yellow. It is probable that if either 'Yann is thirsty' or 'Julius is yellow' but not both then John put down the milk.,It is certain that 'Bernhard is yellow 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.2::factA. 0.8::factB. 0.05::factC. %hop1 0.5::factX:-xor(factB,factA). 0.25::factY:-and(factC,factA). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.0025000000000000005,0.05201040208041608,train,impossible,certain,It is impossible that 'Bernhard is yellow and Mary went to the hallway'.,It is certain that 'Bernhard is yellow and Mary went to the hallway'.,0,'Bernhard is yellow and Mary went to the hallway'. It is impossible that Julius is a lion. It is highly likely that Mary got the football. It is impossible that Gertrude is a mouse. We believe that if either 'Gertrude is a mouse' or 'Julius is a lion' but not both then John picked up the apple. It is almost certain that if either 'Mary got the football' or 'Julius is a lion' but not both then Lily is a rhino. It is unlikely that if 'Mary got the football and Gertrude is a mouse' then Brian is yellow.,It is certain that either 'Julius is a lion' 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.0::factA. 0.9::factB. 0.0::factC. %hop1 0.75::factX:-xor(factC,factA). 0.95::factY:-xor(factB,factA). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.0,0.09021804360872175,train,impossible,certain,It is impossible that either 'Julius is a lion' or 'John picked up the apple' but not both.,It is certain that either 'Julius is a lion' or 'John picked up the apple' but not both.,0,Either 'Julius is a lion' or 'John picked up the apple' but not both. Chances are about even that Daniel put down the milk. We doubt that Mary moved to the garden. It is impossible that Jessica is a sheep. We believe that if 'Jessica is a sheep and Mary moved to the garden' then Antoine is hungry. It is probably not the case that if 'Jessica is a sheep and Daniel put down the milk' then Lily is white. It is unlikely that if either 'Mary moved to the garden' or 'Jessica is a sheep' but not both then Brian is a swan.,It is highly unlikely that either 'Brian is a swan' or 'Antoine is hungry' 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.0::factC. %hop1 0.75::factX:-and(factC,factB). 0.25::factY:-and(factC,factA). 0.2::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.04000000000000001,0.38287657531506303,train,highly unlikely,almost certain,It is highly unlikely that either 'Brian is a swan' or 'Antoine is hungry' but not both.,It is almost certain that either 'Brian is a swan' or 'Antoine is hungry' but not both.,1,Either 'Brian is a swan' or 'Antoine is hungry' but not both. We believe that John went to the hallway. It is unlikely that Brian is white. It is probable that Yann is bored. Chances are about even that if 'Brian is white and John went to the hallway' then Bernhard is yellow. It is highly unlikely that if 'Yann is bored' or 'Brian is white' or both then Daniel left the milk. It is almost certain that if 'Brian is white and Yann is bored' then Greg is a lion.,There is almost no chance that 'John went to the hallway' 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.75::factA. 0.2::factB. 0.7::factC. %hop1 0.5::factX:-and(factB,factA). 0.05::factY:-or(factC,factB). 0.95::factZ:-and(factB,factC). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.78325,0.7129425885177035,train,very good chance,almost no chance,There is a very good chance that 'John went to the hallway' or 'Greg is a lion' or both.,There is almost no chance that 'John went to the hallway' or 'Greg is a lion' or both.,0,'John went to the hallway' or 'Greg is a lion' or both. There is little chance that John discarded the apple. We doubt that Gertrude is a sheep. It is unlikely that Brian is white. It is almost certain that if 'John discarded the apple' or 'Brian is white' or both then Bernhard is a swan. Chances are about even that if either 'Brian is white' or 'Gertrude is a sheep' but not both then Sandra got the milk. It is highly likely that if 'Gertrude is a sheep' or 'John discarded the apple' or both then Greg is gray.,We doubt that either 'Sandra got 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. 0.2::factB. 0.2::factC. %hop1 0.95::factX:-or(factA,factC). 0.5::factY:-xor(factC,factB). 0.9::factZ:-or(factB,factA). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.20000000000000007,0.32766553310662133,train,we doubt,we believe,We doubt that either 'Sandra got the milk' or 'Gertrude is a sheep' but not both.,We believe that either 'Sandra got the milk' or 'Gertrude is a sheep' but not both.,1,Either 'Sandra got the milk' or 'Gertrude is a sheep' but not both. There is little chance that Lily is yellow. There is little chance that Yann is tired. Chances are slight that Julius is gray. It is likely that if either 'Yann is tired' or 'Lily is yellow' but not both then Mary went to the bedroom. Chances are about even that if either 'Yann is tired' or 'Julius is gray' but not both then Greg is a rhino. It is likely that if 'Julius is gray and Lily is yellow' then Sandra left the milk.,It is certain that 'Greg is a rhino' 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.1::factA. 0.1::factB. 0.1::factC. %hop1 0.7::factX:-xor(factB,factA). 0.5::factY:-xor(factB,factC). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.09385000000000002,0.28965793158631725,train,chances are slight,certain,Chances are slight that 'Greg is a rhino' or 'Sandra left the milk' or both.,It is certain that 'Greg is a rhino' or 'Sandra left the milk' or both.,0,'Greg is a rhino' or 'Sandra left the milk' or both. It is highly unlikely that Mary got the milk. It is highly likely that John went to the garden. We believe that Julius is white. It is probably the case that if 'Julius is white and John went to the garden' then Greg is yellow. It is impossible that if either 'Julius is white' or 'Mary got the milk' but not both then Bernhard is a swan. There is a better than even chance that if 'Julius is white' or 'Mary got the milk' or both then Lily is a frog.,There is almost no chance 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.75::factC. %hop1 0.7::factX:-and(factC,factB). 0.0::factY:-xor(factC,factA). 0.6::factZ:-or(factC,factA). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.75,0.6943388677735547,train,we believe,almost no chance,We believe that 'Julius is white' or 'Bernhard is a swan' or both.,There is almost no chance that 'Julius is white' or 'Bernhard is a swan' or both.,0,'Julius is white' or 'Bernhard is a swan' or both. It is probably the case that Greg is green. Chances are about even that Mary left the football. There is a better than even chance that Emily is a mouse. There is almost no chance that if 'Greg is green and Mary left the football' then Fred dropped the milk. There is a very good chance that if 'Emily is a mouse' or 'Mary left the football' or both then Bernhard is yellow. It is highly likely that if 'Emily is a mouse and Greg is green' then Lily is a lion.,Chances are about even that 'Greg is green 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.7::factA. 0.5::factB. 0.6::factC. %hop1 0.02::factX:-and(factA,factB). 0.8::factY:-or(factC,factB). 0.9::factZ:-and(factC,factA). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.41999999999999993,0.4558911782356471,train,about even,impossible,Chances are about even that 'Greg is green and Emily is a mouse'.,It is impossible that 'Greg is green and Emily is a mouse'.,1,'Greg is green and Emily is a mouse'. It is certain that Bill got the milk there. There is a very good chance that John moved to the office. It is unlikely that Brian is green. It is certain that if 'Brian is green' or 'Bill got the milk there' or both then Julius is gray. There is little chance that if 'Brian is green and Bill got the milk there' then Sandra took the football. We doubt that if 'Brian is green and John moved to the office' then Jessica is a mouse.,It is unlikely that either 'John moved to the office' 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 1.0::factA. 0.8::factB. 0.2::factC. %hop1 1.0::factX:-or(factC,factA). 0.1::factY:-and(factC,factA). 0.2::factZ:-and(factC,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.19999999999999998,0.6073214642928586,train,unlikely,certain,It is unlikely that either 'John moved to the office' or 'Julius is gray' but not both.,It is certain that either 'John moved to the office' or 'Julius is gray' but not both.,1,Either 'John moved to the office' or 'Julius is gray' but not both. There is little chance that Greg is green. It is certain that Emily is a sheep. It is highly likely that Julius is a lion. We believe that if either 'Julius is a lion' or 'Emily is a sheep' but not both then Brian is white. It is impossible that if 'Emily is a sheep and Julius is a lion' then Jessica is a mouse. Chances are slight that if 'Julius is a lion' or 'Emily is a sheep' or both then Mary left the milk.,It is certain that 'Julius is a lion' 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.1::factA. 1.0::factB. 0.9::factC. %hop1 0.75::factX:-xor(factC,factB). 0.0::factY:-and(factB,factC). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.9750000000000001,0.78375675135027,train,certain,improbable,It is certain that 'Julius is a lion' or 'Brian is white' or both.,It is improbable that 'Julius is a lion' or 'Brian is white' or both.,1,'Julius is a lion' or 'Brian is white' or both. It is impossible that Brian is gray. There is almost no chance that Fred dropped the apple. We believe that John grabbed the milk. It is probably the case that if either 'John grabbed the milk' or 'Fred dropped the apple' but not both then Bernhard is a lion. It is probably not the case that if 'Fred dropped the apple and Brian is gray' then Greg is a rhino. It is probably the case that if 'Brian is gray' or 'Fred dropped the apple' or both then Mary got the football.,It is impossible that 'Mary got the football 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.0::factA. 0.02::factB. 0.75::factC. %hop1 0.7::factX:-xor(factC,factB). 0.25::factY:-and(factB,factA). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.0,0.7099419883976795,train,impossible,we believe,It is impossible that 'Mary got the football and Greg is a rhino'.,We believe that 'Mary got the football and Greg is a rhino'.,1,'Mary got the football and Greg is a rhino'. We doubt that Gertrude is a mouse. There is a better than even chance that Julius is a swan. It is unlikely that John dropped the apple. It is unlikely that if 'Julius is a swan' or 'Gertrude is a mouse' or both then Jessica is a sheep. Chances are slight that if 'Julius is a swan' or 'John dropped the apple' or both then Greg is yellow. It is certain that if 'John dropped the apple and Julius is a swan' then Yann is hungry.,It is likely that 'John dropped 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.2::factA. 0.6::factB. 0.2::factC. %hop1 0.2::factX:-or(factB,factA). 0.1::factY:-or(factB,factC). 1.0::factZ:-and(factC,factB). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.02000000000000001,0.08961792358471694,train,almost no chance,likely,There is almost no chance that 'John dropped the apple and Greg is yellow'.,It is likely that 'John dropped the apple and Greg is yellow'.,0,'John dropped the apple and Greg is yellow'. It is probable that Gertrude is a sheep. There is a better than even chance that Lily is a rhino. It is unlikely that Julius is a frog. It is probable that if 'Lily is a rhino and Gertrude is a sheep' then Brian is white. It is probably the case that if either 'Lily is a rhino' or 'Gertrude is a sheep' but not both then Greg is a rhino. It is probably the case that if 'Julius is a frog' or 'Lily is a rhino' or both then Sandra got the milk.,It is improbable that 'Sandra got 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.7::factA. 0.6::factB. 0.2::factC. %hop1 0.7::factX:-and(factB,factA). 0.7::factY:-xor(factB,factA). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.11564,0.11242248449689939,train,improbable,certain,It is improbable that 'Sandra got the milk and Greg is a rhino'.,It is certain that 'Sandra got the milk and Greg is a rhino'.,1,'Sandra got the milk and Greg is a rhino'. It is unlikely that Mary dropped the milk. It is impossible that Lily is a lion. We doubt that Winona is a mouse. It is probably not the case that if either 'Winona is a mouse' or 'Mary dropped the milk' but not both then John discarded the apple. It is likely that if 'Mary dropped the milk and Lily is a lion' then Greg is white. It is certain that if 'Lily is a lion' or 'Mary dropped the milk' or both then Julius is gray.,It is certain that either 'Lily is a lion' 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.2::factA. 0.0::factB. 0.2::factC. %hop1 0.25::factX:-xor(factC,factA). 0.7::factY:-and(factA,factB). 1.0::factZ:-or(factB,factA). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.2,0.27665533106621326,train,we doubt,certain,We doubt that either 'Lily is a lion' or 'Winona is a mouse' but not both.,It is certain that either 'Lily is a lion' or 'Winona is a mouse' but not both.,0,Either 'Lily is a lion' or 'Winona is a mouse' but not both. Chances are slight that Lily is a swan. It is highly likely that Brian is a frog. It is impossible that Julius is yellow. We believe that if either 'Julius is yellow' or 'Brian is a frog' but not both then Greg is white. There is little chance that if 'Julius is yellow' or 'Lily is a swan' or both then John discarded the apple. We doubt that if 'Lily is a swan and Julius is yellow' then Mary moved to the office.,There is a better than even chance that either 'Lily is a swan' 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.1::factA. 0.9::factB. 0.0::factC. %hop1 0.75::factX:-xor(factC,factB). 0.1::factY:-or(factC,factA). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.64,0.1912382476495299,train,better than even,highly unlikely,There is a better than even chance that either 'Lily is a swan' or 'Greg is white' but not both.,It is highly unlikely that either 'Lily is a swan' or 'Greg is white' but not both.,1,Either 'Lily is a swan' or 'Greg is white' but not both. Chances are about even that Greg is white. It is likely that Bernhard is gray. We believe that Brian is a swan. There is little chance that if 'Brian is a swan' or 'Bernhard is gray' or both then John moved to the garden. It is certain that if either 'Greg is white' or 'Brian is a swan' but not both then Lily is a lion. It is almost certain that if 'Greg is white' or 'Bernhard is gray' or both then Mary went to the bedroom.,There is a very good chance that 'Lily is a lion 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.5::factA. 0.7::factB. 0.75::factC. %hop1 0.1::factX:-or(factC,factB). 1.0::factY:-xor(factA,factC). 0.95::factZ:-or(factA,factB). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.12500000000000003,0.15263052610522104,train,chances are slight,very good chance,Chances are slight that 'Lily is a lion and Greg is white'.,There is a very good chance that 'Lily is a lion and Greg is white'.,0,'Lily is a lion and Greg is white'. It is improbable that Greg is green. It is impossible that Brian is a swan. There is little chance that Julius is a frog. There is little chance that if 'Greg is green and Brian is a swan' then John got the milk. It is highly unlikely that if either 'Julius is a frog' or 'Brian is a swan' but not both then Emily is a mouse. It is likely that if 'Brian is a swan and Julius is a frog' then Bernhard is a swan.,There is little chance that either 'Bernhard is a swan' 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.1::factA. 0.0::factB. 0.1::factC. %hop1 0.1::factX:-and(factA,factB). 0.05::factY:-xor(factC,factB). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.10000000000000002,0.07161432286457292,train,little chance,highly likely,There is little chance that either 'Bernhard is a swan' or 'Julius is a frog' but not both.,It is highly likely that either 'Bernhard is a swan' or 'Julius is a frog' but not both.,1,Either 'Bernhard is a swan' or 'Julius is a frog' but not both. It is highly likely that Lily is a swan. It is highly unlikely that Daniel took the milk. It is improbable that Bernhard is green. We believe that if either 'Bernhard is green' or 'Lily is a swan' but not both then Brian is a frog. It is unlikely that if either 'Daniel took the milk' or 'Bernhard is green' but not both then Sandra got the football. We believe that if 'Lily is a swan and Daniel took the milk' then John dropped the apple.,It is impossible that 'Sandra got the football and John 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.9::factA. 0.05::factB. 0.1::factC. %hop1 0.75::factX:-xor(factC,factA). 0.2::factY:-xor(factB,factC). 0.75::factZ:-and(factA,factB). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.006074999999999998,0.625125025005001,train,impossible,we believe,It is impossible that 'Sandra got the football and John dropped the apple'.,We believe that 'Sandra got the football and John dropped the apple'.,1,'Sandra got the football and John dropped the apple'. Chances are slight that John went to the office. It is unlikely that Julius is a frog. It is likely that Brian is yellow. It is probably not the case that if either 'Brian is yellow' or 'John went to the office' but not both then Gertrude is a mouse. It is highly likely that if 'Julius is a frog' or 'John went to the office' or both then Bernhard is white. It is probably the case that if 'Brian is yellow and John went to the office' then Fred is in the school.,We doubt that 'Julius is a frog 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.1::factA. 0.2::factB. 0.7::factC. %hop1 0.25::factX:-xor(factC,factA). 0.9::factY:-or(factB,factA). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.18000000000000002,0.06861372274454891,train,we doubt,certain,We doubt that 'Julius is a frog and Bernhard is white'.,It is certain that 'Julius is a frog and Bernhard is white'.,1,'Julius is a frog and Bernhard is white'. Chances are about even that Jeff discarded the milk. It is impossible that John moved to the garden. There is almost no chance that Bernhard is gray. We believe that if 'Jeff discarded the milk' or 'John moved to the garden' or both then Mary got the milk. It is improbable that if either 'Jeff discarded the milk' or 'John moved to the garden' but not both then Brian is a rhino. There is little chance that if 'Bernhard is gray and John moved to the garden' then Greg is a lion.,It is probable that 'John moved to the garden' 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.5::factA. 0.0::factB. 0.02::factC. %hop1 0.75::factX:-or(factA,factB). 0.1::factY:-xor(factA,factB). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.05000000000000001,0.4972994598919784,train,highly unlikely,probable,It is highly unlikely that 'John moved to the garden' or 'Brian is a rhino' or both.,It is probable that 'John moved to the garden' or 'Brian is a rhino' or both.,0,'John moved to the garden' or 'Brian is a rhino' or both. It is impossible that Daniel took the milk. We believe that John put down the apple. There is a better than even chance that Mary went to the office. It is impossible that if 'John put down the apple and Mary went to the office' then Julius is gray. There is a better than even chance that if either 'Mary went to the office' or 'Daniel took the milk' but not both then Bernhard is a swan. We believe that if 'Mary went to the office and John put down the apple' then Antoine is thirsty.,Chances are about even that 'Bernhard is a swan and Daniel 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.0::factA. 0.75::factB. 0.6::factC. %hop1 0.0::factX:-and(factB,factC). 0.6::factY:-xor(factC,factA). 0.75::factZ:-and(factC,factB). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.0,0.029805961192238446,train,impossible,about even,It is impossible that 'Bernhard is a swan and Daniel took the milk'.,Chances are about even that 'Bernhard is a swan and Daniel took the milk'.,0,'Bernhard is a swan and Daniel took the milk'. It is unlikely that Brian is green. It is impossible that Jeff moved to the garden. We doubt that Mary went to the office. It is certain that if 'Brian is green' or 'Jeff moved to the garden' or both then Daniel dropped the apple. It is likely that if 'Brian is green' or 'Jeff moved to the garden' or both then Sandra left the milk. It is highly likely that if 'Jeff moved to the garden and Brian is green' then Greg is gray.,It is almost certain that 'Jeff moved to the garden' or 'Greg 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.2::factA. 0.0::factB. 0.2::factC. %hop1 1.0::factX:-or(factA,factB). 0.7::factY:-or(factA,factB). 0.9::factZ:-and(factB,factA). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.0,0.17023404680936188,train,impossible,almost certain,It is impossible that 'Jeff moved to the garden' or 'Greg is gray' or both.,It is almost certain that 'Jeff moved to the garden' or 'Greg is gray' or both.,0,'Jeff moved to the garden' or 'Greg is gray' or both. It is likely that Greg is a swan. It is probable that Lily is white. It is probably not the case that Brian is a rhino. It is certain that if 'Brian is a rhino' or 'Greg is a swan' or both then Bernhard is a frog. Chances are slight that if either 'Greg is a swan' or 'Brian is a rhino' but not both then John dropped the milk. It is probably the case that if either 'Lily is white' or 'Greg is a swan' but not both then Mary went to the kitchen.,There is almost no chance that either 'Mary went to the kitchen' 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.7::factA. 0.7::factB. 0.25::factC. %hop1 1.0::factX:-or(factC,factA). 0.1::factY:-xor(factA,factC). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.397,0.7301460292058412,train,about even,almost no chance,Chances are about even that either 'Mary went to the kitchen' or 'Brian is a rhino' but not both.,There is almost no chance that either 'Mary went to the kitchen' or 'Brian is a rhino' but not both.,0,Either 'Mary went to the kitchen' or 'Brian is a rhino' but not both. There is little chance that John picked up the milk. It is highly unlikely that Mary went to the office. It is probable that Daniel dropped the apple. Chances are slight that if either 'Mary went to the office' or 'John picked up the milk' but not both then Bernhard is gray. It is unlikely that if either 'Daniel dropped the apple' or 'Mary went to the office' but not both then Julius is a swan. Chances are slight that if either 'Daniel dropped the apple' or 'Mary went to the office' but not both then Sandra left the milk.,It is unlikely that either 'John picked up the milk' 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.05::factB. 0.7::factC. %hop1 0.1::factX:-xor(factB,factA). 0.2::factY:-xor(factC,factB). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.20880000000000004,0.5481096219243848,train,unlikely,certain,It is unlikely that either 'John picked up the milk' or 'Julius is a swan' but not both.,It is certain that either 'John picked up the milk' or 'Julius is a swan' but not both.,1,Either 'John picked up the milk' or 'Julius is a swan' but not both. It is probably not the case that Brian is a rhino. Chances are slight that Winona is a mouse. It is improbable that Sandra left the football. It is unlikely that if 'Brian is a rhino' or 'Winona is a mouse' or both then Lily is a swan. We doubt that if either 'Brian is a rhino' or 'Sandra left the football' but not both then Julius is a frog. It is probably the case that if 'Winona is a mouse and Brian is a rhino' then Daniel got the apple.,There is a very good chance that 'Lily is a swan' or 'Daniel 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.25::factA. 0.1::factB. 0.1::factC. %hop1 0.2::factX:-or(factA,factB). 0.2::factY:-xor(factA,factC). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.07900000000000001,0.7247449489897979,train,little chance,very good chance,There is little chance that 'Lily is a swan' or 'Daniel got the apple' or both.,There is a very good chance that 'Lily is a swan' or 'Daniel got the apple' or both.,0,'Lily is a swan' or 'Daniel got the apple' or both. There is a better than even chance that Winona is a mouse. It is impossible that Bernhard is a frog. There is almost no chance that Jason is thirsty. It is unlikely that if either 'Bernhard is a frog' or 'Winona is a mouse' but not both then Julius is a lion. There is little chance that if either 'Winona is a mouse' or 'Bernhard is a frog' but not both then Greg is yellow. It is unlikely that if 'Jason is thirsty' or 'Winona is a mouse' or both then Mary went to the garden.,It is certain that either 'Greg is yellow' or 'Jason 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.6::factA. 0.0::factB. 0.02::factC. %hop1 0.2::factX:-xor(factB,factA). 0.1::factY:-xor(factA,factB). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.07759999999999999,0.22224444888977796,train,little chance,certain,There is little chance that either 'Greg is yellow' or 'Jason is thirsty' but not both.,It is certain that either 'Greg is yellow' or 'Jason is thirsty' but not both.,0,Either 'Greg is yellow' or 'Jason is thirsty' but not both. It is likely that Mary went to the kitchen. We believe that John put down the apple. It is probably not the case that Jessica is a cat. It is probably not the case that if 'Jessica is a cat' or 'John put down the apple' or both then Jason is tired. It is almost certain that if 'Mary went to the kitchen' or 'Jessica is a cat' or both then Julius is yellow. It is almost certain that if 'Mary went to the kitchen and John put down the apple' then Brian is green.,There is a better than even chance that either 'John put down the apple' 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.7::factA. 0.75::factB. 0.25::factC. %hop1 0.25::factX:-or(factC,factB). 0.95::factY:-or(factA,factC). 0.95::factZ:-and(factA,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.578125,0.19863972794558912,train,better than even,improbable,There is a better than even chance that either 'John put down the apple' or 'Jason is tired' but not both.,It is improbable that either 'John put down the apple' or 'Jason is tired' but not both.,1,Either 'John put down the apple' or 'Jason is tired' but not both. It is probable that Gertrude is a mouse. It is impossible that Greg is a rhino. It is impossible that Brian is a swan. Chances are slight that if either 'Gertrude is a mouse' or 'Greg is a rhino' but not both then Mary is in the bathroom. We doubt that if either 'Greg is a rhino' or 'Gertrude is a mouse' but not both then John left the football. We believe that if 'Gertrude is a mouse' or 'Greg is a rhino' or both then Bernhard is yellow.,There is little chance that either 'Gertrude is a mouse' or 'Mary is in the bathroom' 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.0::factC. %hop1 0.1::factX:-xor(factA,factB). 0.2::factY:-xor(factB,factA). 0.75::factZ:-or(factA,factB). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.6299999999999999,0.4326865373074615,train,better than even,little chance,There is a better than even chance that either 'Gertrude is a mouse' or 'Mary is in the bathroom' but not both.,There is little chance that either 'Gertrude is a mouse' or 'Mary is in the bathroom' but not both.,0,Either 'Gertrude is a mouse' or 'Mary is in the bathroom' but not both. There is a better than even chance that Fred left the football. It is highly unlikely that Brian is a swan. There is little chance that John dropped the apple. We doubt that if either 'John dropped the apple' or 'Brian is a swan' but not both then Mary went to the bedroom. There is little chance that if either 'Fred left the football' or 'John dropped the apple' but not both then Bernhard is yellow. It is almost certain that if 'John dropped the apple' or 'Brian is a swan' or both then Greg is a rhino.,Chances are slight that either 'Bernhard is yellow' 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.6::factA. 0.05::factB. 0.1::factC. %hop1 0.2::factX:-xor(factC,factB). 0.1::factY:-xor(factA,factC). 0.95::factZ:-or(factC,factB). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.08340000000000002,0.46409281856371276,train,chances are slight,highly likely,Chances are slight that either 'Bernhard is yellow' or 'Mary went to the bedroom' but not both.,It is highly likely that either 'Bernhard is yellow' or 'Mary went to the bedroom' but not both.,1,Either 'Bernhard is yellow' or 'Mary went to the bedroom' but not both. There is almost no chance that Emily is a sheep. It is impossible that Lily is yellow. There is little chance that Greg is a rhino. It is probable that if 'Lily is yellow' or 'Emily is a sheep' or both then Daniel dropped the apple. It is highly unlikely that if 'Emily is a sheep' or 'Lily is yellow' or both then Bill went to the garden. It is certain that if 'Lily is yellow and Greg is a rhino' then Bernhard is gray.,It is improbable that 'Greg is a rhino' or 'Emily 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.02::factA. 0.0::factB. 0.1::factC. %hop1 0.7::factX:-or(factB,factA). 0.05::factY:-or(factA,factB). 1.0::factZ:-and(factB,factC). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.11800000000000002,0.7425485097019404,train,improbable,probably,It is improbable that 'Greg is a rhino' or 'Emily is a sheep' or both.,It is probably the case that 'Greg is a rhino' or 'Emily is a sheep' or both.,1,'Greg is a rhino' or 'Emily is a sheep' or both. Chances are about even that Daniel got the football. It is likely that Julius is a rhino. We believe that Greg is a swan. There is a very good chance that if 'Julius is a rhino' or 'Greg is a swan' or both then Sandra left the milk. It is likely that if 'Greg is a swan' or 'Julius is a rhino' or both then Mary went to the office. We doubt that if 'Julius is a rhino and Daniel got the football' then John put down the milk.,It is probable that 'Mary went to the office and Daniel 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.5::factA. 0.7::factB. 0.75::factC. %hop1 0.8::factX:-or(factB,factC). 0.7::factY:-or(factC,factB). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.3237499999999999,0.5049009801960392,train,probably not,probable,It is probably not the case that 'Mary went to the office and Daniel got the football'.,It is probable that 'Mary went to the office and Daniel got the football'.,0,'Mary went to the office and Daniel got the football'. It is probably the case that Mary went to the kitchen. It is improbable that Lily is a swan. It is improbable that Julius is gray. There is a very good chance that if 'Mary went to the kitchen and Julius is gray' then John grabbed the apple. It is probable that if 'Lily is a swan and Mary went to the kitchen' then Brian is white. It is probably not the case that if 'Mary went to the kitchen and Julius is gray' then Bernhard is yellow.,It is likely that 'Brian is white' 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.7::factA. 0.1::factB. 0.1::factC. %hop1 0.8::factX:-and(factA,factC). 0.7::factY:-and(factB,factA). 0.25::factZ:-and(factA,factC). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.7,0.3752750550110022,train,likely,probably not,It is likely that 'Brian is white' or 'Mary went to the kitchen' or both.,It is probably not the case that 'Brian is white' or 'Mary went to the kitchen' or both.,1,'Brian is white' or 'Mary went to the kitchen' or both. It is impossible that Julius is a swan. It is likely that Lily is a rhino. It is almost certain that Brian is yellow. There is a better than even chance that if 'Julius is a swan and Lily is a rhino' then Emily is a mouse. Chances are slight that if either 'Julius is a swan' or 'Lily is a rhino' but not both then John went to the garden. It is impossible that if either 'Julius is a swan' or 'Lily is a rhino' but not both then Jason is tired.,It is impossible that 'Brian is yellow and Julius 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.0::factA. 0.7::factB. 0.95::factC. %hop1 0.6::factX:-and(factA,factB). 0.1::factY:-xor(factA,factB). 0.0::factZ:-xor(factA,factB). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.39447889577915585,train,impossible,probably,It is impossible that 'Brian is yellow and Julius is a swan'.,It is probably the case that 'Brian is yellow and Julius is a swan'.,1,'Brian is yellow and Julius is a swan'. It is probably not the case that John went to the bedroom. It is probably the case that Bernhard is a swan. It is highly unlikely that Brian is a rhino. Chances are slight that if 'John went to the bedroom and Brian is a rhino' then Sandra left the football. It is improbable that if either 'Brian is a rhino' or 'Bernhard is a swan' but not both then Mary grabbed the milk. It is probably not the case that if either 'Bernhard is a swan' or 'Brian is a rhino' but not both then Lily is green.,It is probable that either 'Lily is green' 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.25::factA. 0.7::factB. 0.05::factC. %hop1 0.1::factX:-and(factA,factC). 0.1::factY:-xor(factC,factB). 0.25::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.3350000000000001,0.28505701140228046,train,probably not,probable,It is probably not the case that either 'Lily is green' or 'John went to the bedroom' but not both.,It is probable that either 'Lily is green' or 'John went to the bedroom' but not both.,0,Either 'Lily is green' or 'John went to the bedroom' but not both. It is highly unlikely that Daniel dropped the milk. Chances are slight that John is in the garden. It is unlikely that Greg is white. There is little chance that if either 'John is in the garden' or 'Greg is white' but not both then Bernhard is a swan. We doubt that if either 'John is in the garden' or 'Greg is white' but not both then Winona is a wolf. It is highly likely that if 'Daniel dropped the milk and John is in the garden' then Sandra grabbed the apple.,There is little chance that 'Sandra grabbed the apple' or 'John is in 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.05::factA. 0.1::factB. 0.2::factC. %hop1 0.1::factX:-xor(factB,factC). 0.2::factY:-xor(factB,factC). 0.9::factZ:-and(factA,factB). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.10000000000000002,0.3730746149229846,train,little chance,likely,There is little chance that 'Sandra grabbed the apple' or 'John is in the garden' or both.,It is likely that 'Sandra grabbed the apple' or 'John is in the garden' or both.,1,'Sandra grabbed the apple' or 'John is in the garden' or both. It is probably the case that Winona is a wolf. There is almost no chance that Jessica is a mouse. It is improbable that Bernhard is a frog. It is impossible that if either 'Jessica is a mouse' or 'Bernhard is a frog' but not both then Lily is gray. We doubt that if 'Winona is a wolf and Jessica is a mouse' then Mary got the milk. We doubt that if 'Jessica is a mouse' or 'Bernhard is a frog' or both then John moved to the office.,It is highly unlikely that either 'Jessica is a mouse' or 'John 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.7::factA. 0.02::factB. 0.1::factC. %hop1 0.0::factX:-xor(factB,factC). 0.2::factY:-and(factA,factB). 0.2::factZ:-or(factB,factC). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.0356,0.48249649929986,train,highly unlikely,better than even,It is highly unlikely that either 'Jessica is a mouse' or 'John moved to the office' but not both.,There is a better than even chance that either 'Jessica is a mouse' or 'John moved to the office' but not both.,1,Either 'Jessica is a mouse' or 'John moved to the office' but not both. Chances are slight that Jeff left the football. It is certain that Fred put down the apple. Chances are about even that Greg is white. Chances are slight that if 'Jeff left the football' or 'Greg is white' or both then Bernhard is yellow. It is likely that if 'Greg is white and Jeff left the football' then Bill got the milk there. It is certain that if either 'Greg is white' or 'Fred put down the apple' but not both then Jessica is a wolf.,It is highly unlikely that 'Bill got the milk there 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. 1.0::factB. 0.5::factC. %hop1 0.1::factX:-or(factA,factC). 0.7::factY:-and(factC,factA). 1.0::factZ:-xor(factC,factB). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.035,0.479495899179836,train,highly unlikely,likely,It is highly unlikely that 'Bill got the milk there and Greg is white'.,It is likely that 'Bill got the milk there and Greg is white'.,1,'Bill got the milk there and Greg is white'. We doubt that Sandra left the milk. Chances are slight that Brian is white. It is probably not the case that Greg is yellow. It is highly unlikely that if 'Brian is white' or 'Greg is yellow' or both then Lily is a lion. There is almost no chance that if 'Greg is yellow' or 'Brian is white' or both then Fred went to the garden. It is improbable that if 'Greg is yellow' or 'Sandra left the milk' or both then Mary moved to the office.,There is a very good chance that 'Sandra left the milk 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.1::factB. 0.25::factC. %hop1 0.05::factX:-or(factB,factC). 0.02::factY:-or(factC,factB). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.02000000000000001,0.35047009401880375,train,almost no chance,very good chance,There is almost no chance that 'Sandra left the milk and Mary moved to the office'.,There is a very good chance that 'Sandra left the milk and Mary moved to the office'.,0,'Sandra left the milk and Mary moved to the office'. It is probable that Mary dropped the milk. There is a very good chance that John picked up the apple. It is highly likely that Julius is a frog. It is probably the case that if either 'Julius is a frog' or 'John picked up the apple' but not both then Jessica is a cat. Chances are slight that if either 'John picked up the apple' or 'Mary dropped the milk' but not both then Sandra got the milk. There is little chance that if 'Julius is a frog and Mary dropped the milk' then Bernhard is a rhino.,It is highly unlikely that 'Julius is a frog' 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.8::factB. 0.9::factC. %hop1 0.7::factX:-xor(factC,factB). 0.1::factY:-xor(factB,factA). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.97,0.2882576515303061,train,almost certain,highly unlikely,It is almost certain that 'Julius is a frog' or 'Mary dropped the milk' or both.,It is highly unlikely that 'Julius is a frog' or 'Mary dropped the milk' or both.,0,'Julius is a frog' or 'Mary dropped the milk' or both. It is impossible that Mary dropped the milk. It is improbable that Julius is a rhino. There is little chance that Lily is a swan. It is improbable that if 'Lily is a swan' or 'Julius is a rhino' or both then Jessica is a mouse. There is little chance that if either 'Julius is a rhino' or 'Lily is a swan' but not both then Brian is white. It is impossible that if either 'Lily is a swan' or 'Julius is a rhino' but not both then John grabbed the apple.,There is almost no chance that 'Jessica is a mouse' or 'John 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.0::factA. 0.1::factB. 0.1::factC. %hop1 0.1::factX:-or(factC,factB). 0.1::factY:-xor(factB,factC). 0.0::factZ:-xor(factC,factB). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.019000000000000017,0.44288857771554313,train,almost no chance,better than even,There is almost no chance that 'Jessica is a mouse' or 'John grabbed the apple' or both.,There is a better than even chance that 'Jessica is a mouse' or 'John grabbed the apple' or both.,1,'Jessica is a mouse' or 'John grabbed the apple' or both. There is almost no chance that Daniel left the football. It is likely that Lily is yellow. It is likely that John moved to the garden. Chances are slight that if 'Lily is yellow and Daniel left the football' then Jeff put down the milk. There is a better than even chance that if 'Lily is yellow' or 'John moved to the garden' or both then Greg is white. It is impossible that if 'Daniel left the football' or 'John moved to the garden' or both then Bernhard is a rhino.,It is impossible that 'Jeff put down the milk and Daniel 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.02::factA. 0.7::factB. 0.7::factC. %hop1 0.1::factX:-and(factB,factA). 0.6::factY:-or(factB,factC). 0.0::factZ:-or(factA,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.0014000000000000015,0.7911582316463293,train,impossible,probably,It is impossible that 'Jeff put down the milk and Daniel left the football'.,It is probably the case that 'Jeff put down the milk and Daniel left the football'.,1,'Jeff put down the milk and Daniel left the football'. There is a very good chance that Mary left the football. It is probable that Sumit is bored. It is almost certain that Julius is gray. There is little chance that if either 'Mary left the football' or 'Julius is gray' but not both then Winona is a wolf. We believe that if 'Julius is gray and Sumit is bored' then John got the milk. Chances are about even that if 'Julius is gray and Mary left the football' then Bernhard is a lion.,It is probably the case that either 'Julius is gray' or 'Sumit is bored' 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(factA,factC). 0.75::factY:-and(factC,factB). 0.5::factZ:-and(factC,factA). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.32000000000000006,0.7181436287257451,train,probably not,probably,It is probably not the case that either 'Julius is gray' or 'Sumit is bored' but not both.,It is probably the case that either 'Julius is gray' or 'Sumit is bored' but not both.,0,Either 'Julius is gray' or 'Sumit is bored' but not both. There is a very good chance that Sandra dropped the milk. It is certain that John picked up the apple. There is little chance that Daniel got the milk. It is impossible that if 'John picked up the apple and Daniel got the milk' then Jessica is a mouse. There is a very good chance that if 'Daniel got the milk' or 'Sandra dropped the milk' or both then Lily is green. It is certain that if 'Daniel got the milk and John picked up the apple' then Sumit is thirsty.,It is impossible that 'Daniel got the milk' 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.8::factA. 1.0::factB. 0.1::factC. %hop1 0.0::factX:-and(factB,factC). 0.8::factY:-or(factC,factA). 1.0::factZ:-and(factC,factB). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.8200000000000001,0.32386477295459093,train,very good chance,impossible,There is a very good chance that 'Daniel got the milk' or 'Sandra dropped the milk' or both.,It is impossible that 'Daniel got the milk' or 'Sandra dropped the milk' or both.,0,'Daniel got the milk' or 'Sandra dropped the milk' or both. It is almost certain that Jessica is a mouse. It is unlikely that Winona is a sheep. Chances are slight that John put down the apple. It is highly unlikely that if 'John put down the apple and Winona is a sheep' then Julius is white. It is unlikely that if 'John put down the apple and Jessica is a mouse' then Sandra took the milk. It is almost certain that if 'Winona is a sheep and John put down the apple' then Mary got the apple.,It is unlikely that 'Winona is a sheep 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.95::factA. 0.2::factB. 0.1::factC. %hop1 0.05::factX:-and(factC,factB). 0.2::factY:-and(factC,factA). 0.95::factZ:-and(factB,factC). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.19,0.16543308661732348,train,unlikely,highly likely,It is unlikely that 'Winona is a sheep and Jessica is a mouse'.,It is highly likely that 'Winona is a sheep and Jessica is a mouse'.,1,'Winona is a sheep and Jessica is a mouse'. It is highly likely that Mary went to the bedroom. We doubt that Greg is a frog. There is little chance that Daniel dropped the apple. It is almost certain that if 'Daniel dropped the apple' or 'Mary went to the bedroom' or both then Julius is a rhino. It is unlikely that if 'Mary went to the bedroom' or 'Greg is a frog' or both then John put down the milk. It is certain that if 'Greg is a frog and Mary went to the bedroom' then Brian is white.,It is highly likely that 'Julius is a rhino' 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 0.9::factA. 0.2::factB. 0.1::factC. %hop1 0.95::factX:-or(factC,factA). 0.2::factY:-or(factA,factB). 1.0::factZ:-and(factB,factA). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.87712,0.6037207441488298,train,highly likely,highly unlikely,It is highly likely that 'Julius is a rhino' or 'John put down the milk' or both.,It is highly unlikely that 'Julius is a rhino' or 'John put down the milk' or both.,1,'Julius is a rhino' or 'John put down the milk' or both. It is probably the case that Sandra grabbed the apple. It is highly unlikely that Bernhard is gray. We believe that Brian is white. There is little chance that if 'Bernhard is gray' or 'Sandra grabbed the apple' or both then Mary left the football. It is almost certain that if 'Bernhard is gray' or 'Sandra grabbed the apple' or both then Lily is green. It is certain that if either 'Sandra grabbed the apple' or 'Brian is white' but not both then Julius is a swan.,There is almost no chance that either 'Mary left the football' or 'Lily 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.05::factB. 0.75::factC. %hop1 0.1::factX:-or(factB,factA). 0.95::factY:-or(factB,factA). 1.0::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.6148999999999999,0.6867373474694939,train,better than even,almost no chance,There is a better than even chance that either 'Mary left the football' or 'Lily is green' but not both.,There is almost no chance that either 'Mary left the football' or 'Lily is green' but not both.,0,Either 'Mary left the football' or 'Lily is green' but not both. It is unlikely that Lily is a rhino. Chances are slight that John dropped the milk. It is almost certain that Greg is a frog. It is highly unlikely that if 'Lily is a rhino and Greg is a frog' then Mary went to the hallway. It is probably not the case that if 'John dropped the milk and Lily is a rhino' then Sumit is thirsty. There is little chance that if 'Greg is a frog and John dropped the milk' then Jessica is a sheep.,It is almost certain that either 'Greg is a frog' or 'Jessica 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.2::factA. 0.1::factB. 0.95::factC. %hop1 0.05::factX:-and(factA,factC). 0.25::factY:-and(factB,factA). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.9405,0.3140628125625125,train,almost certain,impossible,It is almost certain that either 'Greg is a frog' or 'Jessica is a sheep' but not both.,It is impossible that either 'Greg is a frog' or 'Jessica is a sheep' but not both.,1,Either 'Greg is a frog' or 'Jessica is a sheep' but not both. It is improbable that Brian is a rhino. It is likely that Greg is a frog. It is probable that John went to the garden. There is almost no chance that if 'Brian is a rhino' or 'John went to the garden' or both then Lily is yellow. It is probably not the case that if 'Brian is a rhino and John went to the garden' then Mary picked up the milk. There is almost no chance that if either 'Greg is a frog' or 'Brian is a rhino' but not both then Sandra left the apple.,There is almost no chance that 'Lily is yellow 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.1::factA. 0.7::factB. 0.7::factC. %hop1 0.02::factX:-or(factA,factC). 0.25::factY:-and(factA,factC). 0.02::factZ:-xor(factB,factA). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.010220000000000007,0.13782756551310263,train,almost no chance,highly likely,There is almost no chance that 'Lily is yellow and Greg is a frog'.,It is highly likely that 'Lily is yellow and Greg is a frog'.,1,'Lily is yellow and Greg is a frog'. There is a better than even chance that Lily is green. We doubt that Fred went to the garden. It is probably the case that Greg is green. There is a very good chance that if 'Fred went to the garden' or 'Greg is green' or both then Sandra dropped the apple. There is a better than even chance that if 'Fred went to the garden and Greg is green' then Julius is a frog. There is almost no chance that if 'Fred went to the garden and Greg is green' then Bernhard is yellow.,We doubt that 'Fred went to the garden and Sandra 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.6::factA. 0.2::factB. 0.7::factC. %hop1 0.8::factX:-or(factB,factC). 0.6::factY:-and(factB,factC). 0.02::factZ:-and(factB,factC). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.16000000000000003,0.05081016203240648,train,we doubt,certain,We doubt that 'Fred went to the garden and Sandra dropped the apple'.,It is certain that 'Fred went to the garden and Sandra dropped the apple'.,1,'Fred went to the garden and Sandra dropped the apple'. We believe that Fred put down the apple. It is improbable that Greg is a rhino. There is a better than even chance that John took the football. It is highly unlikely that if either 'Fred put down the apple' or 'Greg is a rhino' but not both then Mary went to the office. It is probable that if either 'John took the football' or 'Fred put down the apple' but not both then Brian is green. We believe that if either 'Fred put down the apple' or 'John took the football' but not both then Bernhard is a lion.,There is a better than even chance that 'John took 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.75::factA. 0.1::factB. 0.6::factC. %hop1 0.05::factX:-xor(factA,factB). 0.7::factY:-xor(factC,factA). 0.75::factZ:-xor(factA,factC). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.64,0.41308261652330464,train,better than even,almost no chance,There is a better than even chance that 'John took the football' or 'Greg is a rhino' or both.,There is almost no chance that 'John took the football' or 'Greg is a rhino' or both.,1,'John took the football' or 'Greg is a rhino' or both. It is likely that John picked up the milk. It is likely that Julius is green. It is probable that Mary took the football. It is almost certain that if 'Mary took the football' or 'John picked up the milk' or both then Bernhard is a rhino. It is impossible that if 'Mary took the football' or 'Julius is green' or both then Fred moved to the office. We doubt that if either 'Julius is green' or 'Mary took the football' but not both then Lily is a lion.,Chances are about even that 'John picked up the milk 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 0.7::factA. 0.7::factB. 0.7::factC. %hop1 0.95::factX:-or(factC,factA). 0.0::factY:-or(factC,factB). 0.2::factZ:-xor(factB,factC). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.48999999999999994,0.2458491698339668,train,about even,almost certain,Chances are about even that 'John picked up the milk and Julius is green'.,It is almost certain that 'John picked up the milk and Julius is green'.,1,'John picked up the milk and Julius is green'. There is a better than even chance that Gertrude is a cat. It is highly unlikely that Sumit is hungry. It is almost certain that Jason is tired. There is a better than even chance that if 'Sumit is hungry' or 'Jason is tired' or both then Brian is a frog. We believe that if 'Jason is tired and Gertrude is a cat' then Julius is green. Chances are about even that if 'Jason is tired' or 'Gertrude is a cat' or both then Lily is a rhino.,Chances are slight that either 'Gertrude is a cat' or 'Sumit is hungry' 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.05::factB. 0.95::factC. %hop1 0.6::factX:-or(factB,factC). 0.75::factY:-and(factC,factA). 0.5::factZ:-or(factC,factA). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.59,0.027205441088217645,train,better than even,chances are slight,There is a better than even chance that either 'Gertrude is a cat' or 'Sumit is hungry' but not both.,Chances are slight that either 'Gertrude is a cat' or 'Sumit is hungry' but not both.,0,Either 'Gertrude is a cat' or 'Sumit is hungry' but not both. Chances are about even that Brian is a frog. It is probably the case that Mary grabbed the milk. It is highly likely that Greg is gray. There is a better than even chance that if either 'Greg is gray' or 'Mary grabbed the milk' but not both then Antoine is bored. We doubt that if either 'Mary grabbed the milk' or 'Brian is a frog' but not both then Bernhard is white. It is highly unlikely that if 'Greg is gray' or 'Brian is a frog' or both then Lily is a rhino.,It is highly unlikely that 'Mary grabbed the milk 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.5::factA. 0.7::factB. 0.9::factC. %hop1 0.6::factX:-xor(factC,factB). 0.2::factY:-xor(factB,factA). 0.05::factZ:-or(factC,factA). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.07,0.3780756151230246,train,highly unlikely,probable,It is highly unlikely that 'Mary grabbed the milk and Bernhard is white'.,It is probable that 'Mary grabbed the milk and Bernhard is white'.,1,'Mary grabbed the milk and Bernhard is white'. It is unlikely that Lily is yellow. There is almost no chance that Sandra dropped the milk. It is highly likely that Brian is yellow. It is highly likely that if 'Lily is yellow' or 'Sandra dropped the milk' or both then Greg is white. It is certain that if either 'Brian is yellow' or 'Sandra dropped the milk' but not both then Bernhard is a frog. It is probably the case that if 'Sandra dropped the milk and Brian is yellow' then Mary went to the garden.,There is a better than even chance that 'Sandra dropped the milk' 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.02::factB. 0.9::factC. %hop1 0.9::factX:-or(factA,factB). 1.0::factY:-xor(factC,factB). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.02,0.04560912182436487,train,almost no chance,better than even,There is almost no chance that 'Sandra dropped the milk' or 'Mary went to the garden' or both.,There is a better than even chance that 'Sandra dropped the milk' or 'Mary went to the garden' or both.,0,'Sandra dropped the milk' or 'Mary went to the garden' or both. It is almost certain that Bernhard is green. There is a very good chance that Greg is white. There is little chance that Jeff moved to the garden. It is impossible that if either 'Bernhard is green' or 'Greg is white' but not both then Julius is yellow. We doubt that if either 'Jeff moved to the garden' or 'Greg is white' but not both then Mary went to the office. It is highly likely that if 'Greg is white' or 'Jeff moved to the garden' or both then Lily is a lion.,We doubt that either 'Bernhard is green' 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.95::factA. 0.8::factB. 0.1::factC. %hop1 0.0::factX:-xor(factA,factB). 0.2::factY:-xor(factC,factB). 0.9::factZ:-or(factB,factC). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.86,0.02440488097619524,train,highly likely,we doubt,It is highly likely that either 'Bernhard is green' or 'Jeff moved to the garden' but not both.,We doubt that either 'Bernhard is green' or 'Jeff moved to the garden' but not both.,0,Either 'Bernhard is green' or 'Jeff moved to the garden' but not both. There is a better than even chance that Daniel left the apple. It is probably not the case that Sandra got the football. There is a better than even chance that Greg is white. It is improbable that if either 'Daniel left the apple' or 'Greg is white' but not both then John moved to the office. There is little chance that if either 'Sandra got the football' or 'Daniel left the apple' but not both then Julius is yellow. It is probable that if either 'Sandra got the football' or 'Daniel left the apple' but not both then Brian is a swan.,There is a better than even chance that 'Daniel left the apple' 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.6::factA. 0.25::factB. 0.6::factC. %hop1 0.1::factX:-xor(factA,factC). 0.1::factY:-xor(factB,factA). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.624,0.025805161032206442,train,better than even,chances are slight,There is a better than even chance that 'Daniel left the apple' or 'John moved to the office' or both.,Chances are slight that 'Daniel left the apple' or 'John moved to the office' or both.,1,'Daniel left the apple' or 'John moved to the office' or both. There is a better than even chance that Jessica is a sheep. It is highly likely that Sandra dropped the milk. It is probable that Winona is a wolf. It is unlikely that if 'Sandra dropped the milk and Winona is a wolf' then Mary grabbed the apple. It is highly unlikely that if either 'Winona is a wolf' or 'Jessica is a sheep' but not both then Greg is a swan. It is unlikely that if either 'Jessica is a sheep' or 'Sandra dropped the milk' but not both then John moved to the office.,There is little chance that 'John moved to the office' 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.6::factA. 0.9::factB. 0.7::factC. %hop1 0.2::factX:-and(factB,factC). 0.05::factY:-xor(factC,factA). 0.2::factZ:-xor(factA,factB). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.7252,0.3550710142028406,train,we believe,little chance,We believe that 'John moved to the office' or 'Winona is a wolf' or both.,There is little chance that 'John moved to the office' or 'Winona is a wolf' or both.,0,'John moved to the office' or 'Winona is a wolf' or both. It is highly unlikely that Mary moved to the garden. It is improbable that Gertrude is a wolf. It is certain that Lily is a frog. Chances are slight that if 'Lily is a frog and Gertrude is a wolf' then Winona is a mouse. Chances are about even that if 'Mary moved to the garden and Gertrude is a wolf' then Sandra left the milk. It is almost certain that if either 'Gertrude is a wolf' or 'Mary moved to the garden' but not both then Bernhard is green.,There is little chance that 'Sandra left the milk' 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.05::factA. 0.1::factB. 1.0::factC. %hop1 0.1::factX:-and(factC,factB). 0.5::factY:-and(factA,factB). 0.95::factZ:-xor(factB,factA). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.1355,0.6553310662132427,train,little chance,we believe,There is little chance that 'Sandra left the milk' or 'Bernhard is green' or both.,We believe that 'Sandra left the milk' or 'Bernhard is green' or both.,1,'Sandra left the milk' or 'Bernhard is green' or both. We doubt that Bernhard is green. There is a very good chance that Fred is in the school. Chances are slight that Brian is a frog. Chances are about even that if 'Brian is a frog' or 'Fred is in the school' or both then Greg is a rhino. It is certain that if 'Brian is a frog and Fred is in the school' then Mary got the milk. It is impossible that if 'Bernhard is green and Brian is a frog' then Julius is a swan.,There is a very good chance that 'Fred is in the school' 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.2::factA. 0.8::factB. 0.1::factC. %hop1 0.5::factX:-or(factC,factB). 1.0::factY:-and(factC,factB). 0.0::factZ:-and(factA,factC). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.8,0.42188437687537506,train,very good chance,we doubt,There is a very good chance that 'Fred is in the school' or 'Julius is a swan' or both.,We doubt that 'Fred is in the school' or 'Julius is a swan' or both.,1,'Fred is in the school' or 'Julius is a swan' or both. There is almost no chance that Julius is a swan. It is highly likely that Greg is yellow. It is improbable that John went to the garden. Chances are slight that if 'Julius is a swan' or 'Greg is yellow' or both then Brian is green. It is probable that if either 'John went to the garden' or 'Greg is yellow' but not both then Bernhard is gray. It is almost certain that if 'Greg is yellow and Julius is a swan' then Mary left the football.,Chances are slight that either 'Mary left the football' 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.02::factA. 0.9::factB. 0.1::factC. %hop1 0.1::factX:-or(factA,factB). 0.7::factY:-xor(factC,factB). 0.95::factZ:-and(factB,factA). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.8829,0.13962792558511702,train,highly likely,chances are slight,It is highly likely that either 'Mary left the football' or 'Greg is yellow' but not both.,Chances are slight that either 'Mary left the football' or 'Greg is yellow' but not both.,0,Either 'Mary left the football' or 'Greg is yellow' but not both. Chances are slight that Mary picked up the milk. It is impossible that Bill went to the bedroom. There is almost no chance that Bernhard is a rhino. It is improbable that if 'Bernhard is a rhino' or 'Mary picked up the milk' or both then Greg is green. It is improbable that if 'Bill went to the bedroom and Bernhard is a rhino' then Julius is yellow. It is highly likely that if 'Mary picked up the milk and Bill went to the bedroom' then Jason is tired.,Chances are slight that 'Mary picked up 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.1::factA. 0.0::factB. 0.02::factC. %hop1 0.1::factX:-or(factC,factA). 0.1::factY:-and(factB,factC). 0.9::factZ:-and(factA,factB). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.10000000000000002,0.09921984396879376,train,chances are slight,certain,Chances are slight that 'Mary picked up the milk' or 'Julius is yellow' or both.,It is certain that 'Mary picked up the milk' or 'Julius is yellow' or both.,1,'Mary picked up the milk' or 'Julius is yellow' or both. There is almost no chance that Bernhard is yellow. It is probable that Emily is a wolf. It is unlikely that John went to the office. It is likely that if either 'Bernhard is yellow' or 'Emily is a wolf' but not both then Greg is a rhino. It is impossible that if either 'John went to the office' or 'Bernhard is yellow' but not both then Mary got the apple. It is highly likely that if either 'John went to the office' or 'Emily is a wolf' but not both then Lily is a swan.,It is impossible that 'Mary got the apple 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.02::factA. 0.7::factB. 0.2::factC. %hop1 0.7::factX:-xor(factA,factB). 0.0::factY:-xor(factC,factA). 0.9::factZ:-xor(factC,factB). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.0,0.7697539507901581,train,impossible,better than even,It is impossible that 'Mary got the apple and Emily is a wolf'.,There is a better than even chance that 'Mary got the apple and Emily is a wolf'.,1,'Mary got the apple and Emily is a wolf'. There is almost no chance that Lily is a frog. It is probably not the case that Daniel put down the milk. There is little chance that Greg is green. We believe that if 'Greg is green and Lily is a frog' then Mary moved to the garden. It is probably not the case that if 'Greg is green' or 'Lily is a frog' or both then Emily is a mouse. It is certain that if either 'Lily is a frog' or 'Greg is green' but not both then John discarded the apple.,There is a better than even chance that either 'Greg is green' 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.25::factB. 0.1::factC. %hop1 0.75::factX:-and(factC,factA). 0.25::factY:-or(factC,factA). 1.0::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.116,0.034406881376275254,train,chances are slight,better than even,Chances are slight that either 'Greg is green' or 'Lily is a frog' but not both.,There is a better than even chance that either 'Greg is green' or 'Lily is a frog' but not both.,0,Either 'Greg is green' or 'Lily is a frog' but not both. There is a better than even chance that Lily is a rhino. It is impossible that Daniel took the milk. There is a better than even chance that Mary went to the office. It is highly unlikely that if 'Daniel took the milk' or 'Mary went to the office' or both then Emily is a sheep. There is little chance that if 'Daniel took the milk' or 'Lily is a rhino' or both then Jessica is a wolf. We believe that if 'Lily is a rhino' or 'Daniel took the milk' or both then Bernhard is gray.,There is little chance that 'Emily is a sheep' or 'Mary 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.6::factA. 0.0::factB. 0.6::factC. %hop1 0.05::factX:-or(factB,factC). 0.1::factY:-or(factB,factA). 0.75::factZ:-or(factA,factB). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.6,0.08721744348869774,train,better than even,little chance,There is a better than even chance that 'Emily is a sheep' or 'Mary went to the office' or both.,There is little chance that 'Emily is a sheep' or 'Mary went to the office' or both.,0,'Emily is a sheep' or 'Mary went to the office' or both. It is improbable that Sandra left the milk. It is highly likely that John took the milk. It is probable that Mary went to the office. It is highly unlikely that if 'Mary went to the office' or 'John took the milk' or both then Julius is a frog. Chances are about even that if 'Mary went to the office' or 'Sandra left the milk' or both then Lily is green. It is impossible that if 'Sandra left the milk' or 'Mary went to the office' or both then Bernhard is a rhino.,It is highly likely that 'Sandra left the milk 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.9::factB. 0.7::factC. %hop1 0.05::factX:-or(factC,factB). 0.5::factY:-or(factC,factA). 0.0::factZ:-or(factA,factC). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.0,0.543508701740348,train,impossible,highly likely,It is impossible that 'Sandra left the milk and Bernhard is a rhino'.,It is highly likely that 'Sandra left the milk and Bernhard is a rhino'.,0,'Sandra left the milk and Bernhard is a rhino'. It is unlikely that Lily is green. It is probable that Bernhard is gray. It is highly unlikely that Brian is a lion. There is a very good chance that if either 'Lily is green' or 'Brian is a lion' but not both then Julius is yellow. It is impossible that if 'Lily is green' or 'Bernhard is gray' or both then Mary went to the garden. Chances are about even that if 'Bernhard is gray and Lily is green' then Greg is a swan.,Chances are about even that 'Greg is a swan' 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.7::factB. 0.05::factC. %hop1 0.8::factX:-xor(factA,factC). 0.0::factY:-or(factA,factB). 0.5::factZ:-and(factB,factA). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.07,0.6823364672934586,train,highly unlikely,about even,It is highly unlikely that 'Greg is a swan' or 'Mary went to the garden' or both.,Chances are about even that 'Greg is a swan' or 'Mary went to the garden' or both.,0,'Greg is a swan' or 'Mary went to the garden' or both. It is likely that Mary picked up the milk. Chances are slight that Bernhard is yellow. It is probably the case that Brian is white. We believe that if 'Bernhard is yellow and Mary picked up the milk' then Sandra got the football. It is almost certain that if either 'Mary picked up the milk' or 'Brian is white' but not both then Julius is a lion. There is a very good chance that if 'Mary picked up the milk and Brian is white' then Jeff went to the garden.,We believe that 'Bernhard 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.7::factA. 0.1::factB. 0.7::factC. %hop1 0.75::factX:-and(factB,factA). 0.95::factY:-xor(factA,factC). 0.8::factZ:-and(factA,factC). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.039200000000000006,0.5265053010602121,train,highly unlikely,we believe,It is highly unlikely that 'Bernhard is yellow and Jeff went to the garden'.,We believe that 'Bernhard is yellow and Jeff went to the garden'.,0,'Bernhard is yellow and Jeff went to the garden'. It is likely that Mary dropped the milk. There is a very good chance that Julius is a frog. It is probably the case that Lily is a swan. It is probably not the case that if 'Julius is a frog' or 'Mary dropped the milk' or both then John moved to the office. We doubt that if 'Julius is a frog' or 'Lily is a swan' or both then Emily is a mouse. It is almost certain that if 'Mary dropped the milk' or 'Julius is a frog' or both then Greg is a lion.,It is highly unlikely that either 'Julius is a frog' 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.7::factA. 0.8::factB. 0.7::factC. %hop1 0.25::factX:-or(factB,factA). 0.2::factY:-or(factB,factC). 0.95::factZ:-or(factA,factB). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.38,0.19963992798559713,train,about even,highly unlikely,Chances are about even that either 'Julius is a frog' or 'Lily is a swan' but not both.,It is highly unlikely that either 'Julius is a frog' or 'Lily is a swan' but not both.,0,Either 'Julius is a frog' or 'Lily is a swan' but not both. It is almost certain that Greg is green. We believe that Mary went to the kitchen. It is probably the case that Brian is a lion. It is certain that if 'Greg is green and Mary went to the kitchen' then Winona is a sheep. It is unlikely that if either 'Greg is green' or 'Brian is a lion' but not both then John put down the apple. It is unlikely that if 'Greg is green and Brian is a lion' then Bernhard is a frog.,It is impossible that 'Brian is a lion' 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.95::factA. 0.75::factB. 0.7::factC. %hop1 1.0::factX:-and(factA,factB). 0.2::factY:-xor(factA,factC). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.925,0.16463292658531706,train,almost certain,impossible,It is almost certain that 'Brian is a lion' or 'Mary went to the kitchen' or both.,It is impossible that 'Brian is a lion' or 'Mary went to the kitchen' or both.,0,'Brian is a lion' or 'Mary went to the kitchen' or both. Chances are slight that John went to the garden. It is certain that Winona is a mouse. There is almost no chance that Lily is a rhino. It is improbable that if 'John went to the garden and Winona is a mouse' then Bernhard is yellow. It is unlikely that if 'John went to the garden' or 'Winona is a mouse' or both then Julius is gray. We believe that if either 'Winona is a mouse' or 'John went to the garden' but not both then Daniel dropped the apple.,It is certain that 'Daniel dropped the apple' 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.1::factA. 1.0::factB. 0.02::factC. %hop1 0.1::factX:-and(factA,factB). 0.2::factY:-or(factA,factB). 0.75::factZ:-xor(factB,factA). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",1.0,0.3340668133626725,train,certain,almost no chance,It is certain that 'Daniel dropped the apple' or 'Winona is a mouse' or both.,There is almost no chance that 'Daniel dropped the apple' or 'Winona is a mouse' or both.,1,'Daniel dropped the apple' or 'Winona is a mouse' or both. It is probable that Daniel got the football. It is probably not the case that Yann is hungry. It is certain that Lily is a rhino. There is a very good chance that if 'Daniel got the football and Yann is hungry' then Jeff moved to the garden. It is probably not the case that if 'Lily is a rhino' or 'Daniel got the football' or both then Greg is a lion. Chances are about even that if either 'Lily is a rhino' or 'Daniel got the football' but not both then Julius is a frog.,There is a very good chance that 'Daniel got the football' 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.7::factA. 0.25::factB. 1.0::factC. %hop1 0.8::factX:-and(factA,factB). 0.25::factY:-or(factC,factA). 0.5::factZ:-xor(factC,factA). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.85,0.7575515103020604,train,very good chance,highly unlikely,There is a very good chance that 'Daniel got the football' or 'Julius is a frog' or both.,It is highly unlikely that 'Daniel got the football' or 'Julius is a frog' or both.,1,'Daniel got the football' or 'Julius is a frog' or both. It is highly unlikely that Greg is a rhino. It is certain that Jeff discarded the milk. There is almost no chance that Julius is gray. It is likely that if 'Julius is gray' or 'Greg is a rhino' or both then Lily is green. It is impossible that if either 'Julius is gray' or 'Jeff discarded the milk' but not both then John grabbed the apple. Chances are about even that if 'Jeff discarded the milk' or 'Julius is gray' or both then Bernhard is a frog.,It is almost certain that 'Lily is green 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.05::factA. 1.0::factB. 0.02::factC. %hop1 0.7::factX:-or(factC,factA). 0.0::factY:-xor(factC,factB). 0.5::factZ:-or(factB,factC). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.024149999999999998,0.5543108621724345,train,almost no chance,almost certain,There is almost no chance that 'Lily is green and Bernhard is a frog'.,It is almost certain that 'Lily is green and Bernhard is a frog'.,0,'Lily is green and Bernhard is a frog'. There is almost no chance that Lily is a rhino. It is improbable that Winona is a cat. It is certain that Mary left the apple. It is impossible that if 'Lily is a rhino' or 'Winona is a cat' or both then Jeff went to the hallway. It is impossible that if 'Mary left the apple' or 'Lily is a rhino' or both then Julius is a lion. We doubt that if 'Mary left the apple and Lily is a rhino' then Sandra got the milk.,Chances are about even that 'Lily is a rhino 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.02::factA. 0.1::factB. 1.0::factC. %hop1 0.0::factX:-or(factA,factB). 0.0::factY:-or(factC,factA). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0020000000000000005,0.7055411082216443,train,impossible,about even,It is impossible that 'Lily is a rhino and Winona is a cat'.,Chances are about even that 'Lily is a rhino and Winona is a cat'.,0,'Lily is a rhino and Winona is a cat'. It is almost certain that John moved to the garden. It is highly unlikely that Daniel dropped the apple. It is probably not the case that Sumit is tired. It is unlikely that if 'Daniel dropped the apple and John moved to the garden' then Mary went to the office. It is certain that if 'Daniel dropped the apple' or 'John moved to the garden' or both then Greg is a lion. It is likely that if 'Sumit is tired' or 'John moved to the garden' or both then Lily is a rhino.,There is almost no chance that either 'Daniel dropped the apple' 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.95::factA. 0.05::factB. 0.25::factC. %hop1 0.2::factX:-and(factB,factA). 1.0::factY:-or(factB,factA). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.9025,0.004600920184036807,train,highly likely,almost no chance,It is highly likely that either 'Daniel dropped the apple' or 'Greg is a lion' but not both.,There is almost no chance that either 'Daniel dropped the apple' or 'Greg is a lion' but not both.,0,Either 'Daniel dropped the apple' or 'Greg is a lion' but not both. There is almost no chance that John discarded the milk. Chances are slight that Brian is a rhino. It is probably the case that Bernhard is a swan. Chances are about even that if 'Bernhard is a swan and Brian is a rhino' then Julius is a lion. It is probably the case that if 'Bernhard is a swan and John discarded the milk' then Lily is white. Chances are about even that if 'Bernhard is a swan' or 'Brian is a rhino' or both then Mary got the football.,We doubt that 'Mary got 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.02::factA. 0.1::factB. 0.7::factC. %hop1 0.5::factX:-and(factC,factB). 0.7::factY:-and(factC,factA). 0.5::factZ:-or(factC,factB). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.715,0.15103020604120823,train,probably,we doubt,It is probably the case that 'Mary got the football' or 'Bernhard is a swan' or both.,We doubt that 'Mary got the football' or 'Bernhard is a swan' or both.,0,'Mary got the football' or 'Bernhard is a swan' or both. There is a very good chance that Brian is white. It is highly likely that Mary got the apple. It is probably not the case that Greg is a swan. It is highly unlikely that if either 'Mary got the apple' or 'Greg is a swan' but not both then Jason is tired. It is certain that if 'Mary got the apple' or 'Brian is white' or both then Bernhard is yellow. It is probable that if either 'Brian is white' or 'Mary got the apple' but not both then John moved to the garden.,It is likely that 'Jason is tired 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.8::factA. 0.9::factB. 0.25::factC. %hop1 0.05::factX:-xor(factB,factC). 1.0::factY:-or(factB,factA). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.03375000000000001,0.14882976595319064,train,almost no chance,likely,There is almost no chance that 'Jason is tired and Mary got the apple'.,It is likely that 'Jason is tired and Mary got the apple'.,0,'Jason is tired and Mary got the apple'. It is unlikely that Julius is yellow. There is almost no chance that Emily is a wolf. There is little chance that Bernhard is a rhino. There is almost no chance that if 'Bernhard is a rhino' or 'Emily is a wolf' or both then Mary went to the hallway. It is unlikely that if 'Emily is a wolf' or 'Bernhard is a rhino' or both then Lily is a lion. It is certain that if 'Bernhard is a rhino and Julius is yellow' then John moved to the office.,There is little chance that either 'John moved to the office' or 'Bernhard 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.02::factB. 0.1::factC. %hop1 0.02::factX:-or(factC,factB). 0.2::factY:-or(factB,factC). 1.0::factZ:-and(factC,factA). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.08000000000000002,0.7061412282456492,train,little chance,almost certain,There is little chance that either 'John moved to the office' or 'Bernhard is a rhino' but not both.,It is almost certain that either 'John moved to the office' or 'Bernhard is a rhino' but not both.,1,Either 'John moved to the office' or 'Bernhard is a rhino' but not both. It is almost certain that Winona is a mouse. Chances are slight that Lily is a frog. It is highly likely that Bill went to the kitchen. It is probably not the case that if either 'Bill went to the kitchen' or 'Lily is a frog' but not both then Bernhard is gray. It is probable that if 'Lily is a frog and Bill went to the kitchen' then John discarded the milk. Chances are about even that if 'Bill went to the kitchen and Winona is a mouse' then Julius is green.,It is improbable that 'Lily is a frog and Winona 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.1::factB. 0.9::factC. %hop1 0.25::factX:-xor(factC,factB). 0.7::factY:-and(factB,factC). 0.5::factZ:-and(factC,factA). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.09500000000000001,0.5783156631326265,train,improbable,very good chance,It is improbable that 'Lily is a frog and Winona is a mouse'.,There is a very good chance that 'Lily is a frog and Winona is a mouse'.,1,'Lily is a frog and Winona is a mouse'. It is probably the case that Julius is white. There is almost no chance that Bernhard is a lion. We doubt that John moved to the garden. It is probable that if 'Julius is white and John moved to the garden' then Mary went to the office. There is almost no chance that if 'Julius is white' or 'John moved to the garden' or both then Brian is a rhino. It is highly likely that if either 'John moved to the garden' or 'Julius is white' but not both then Greg is yellow.,It is impossible that 'John moved to the garden 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.02::factB. 0.2::factC. %hop1 0.7::factX:-and(factA,factC). 0.02::factY:-or(factA,factC). 0.9::factZ:-xor(factC,factA). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.004000000000000002,0.5231046209241849,train,impossible,better than even,It is impossible that 'John moved to the garden and Brian is a rhino'.,There is a better than even chance that 'John moved to the garden and Brian is a rhino'.,1,'John moved to the garden and Brian is a rhino'. There is a very good chance that Brian is green. Chances are slight that Bernhard is yellow. There is little chance that Daniel got the milk. It is highly likely that if 'Brian is green and Bernhard is yellow' then Julius is a swan. It is probably not the case that if 'Bernhard is yellow' or 'Brian is green' or both then Sandra took the football. There is a better than even chance that if 'Daniel got the milk and Bernhard is yellow' then Jeff moved to the garden.,It is probably the case that 'Brian is green 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.8::factA. 0.1::factB. 0.1::factC. %hop1 0.9::factX:-and(factA,factB). 0.25::factY:-or(factB,factA). 0.6::factZ:-and(factC,factB). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.08000000000000002,0.7017403480696139,train,improbable,probably,It is improbable that 'Brian is green and Daniel got the milk'.,It is probably the case that 'Brian is green and Daniel got the milk'.,0,'Brian is green and Daniel got the milk'. It is likely that Bernhard is white. It is probable that Lily is white. There is almost no chance that John put down the milk. We doubt that if either 'John put down the milk' or 'Lily is white' but not both then Daniel got the football. It is certain that if 'Bernhard is white' or 'Lily is white' or both then Julius is a lion. It is probably not the case that if 'Bernhard is white' or 'John put down the milk' or both then Mary went to the garden.,We believe that 'Bernhard is white' or 'Daniel 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.7::factA. 0.7::factB. 0.02::factC. %hop1 0.2::factX:-xor(factC,factB). 1.0::factY:-or(factA,factB). 0.25::factZ:-or(factA,factC). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.74152,0.759751950390078,train,we believe,highly unlikely,We believe that 'Bernhard is white' or 'Daniel got the football' or both.,It is highly unlikely that 'Bernhard is white' or 'Daniel got the football' or both.,1,'Bernhard is white' or 'Daniel got the football' or both. There is almost no chance that Bernhard is gray. Chances are about even that John took the football. It is highly likely that Julius is a frog. There is little chance that if 'Bernhard is gray' or 'John took the football' or both then Mary got the milk. It is likely that if either 'John took the football' or 'Julius is a frog' but not both then Lily is green. It is improbable that if either 'Julius is a frog' or 'John took the football' but not both then Winona is a mouse.,It is highly unlikely that either 'Julius is a frog' or 'John 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.02::factA. 0.5::factB. 0.9::factC. %hop1 0.1::factX:-or(factA,factB). 0.7::factY:-xor(factB,factC). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5,0.5789157831566313,train,about even,highly unlikely,Chances are about even that either 'Julius is a frog' or 'John took the football' but not both.,It is highly unlikely that either 'Julius is a frog' or 'John took the football' but not both.,0,Either 'Julius is a frog' or 'John took the football' but not both. It is improbable that Winona is a cat. It is highly unlikely that Lily is white. There is a better than even chance that Mary went to the garden. It is unlikely that if either 'Winona is a cat' or 'Lily is white' but not both then Antoine is hungry. It is unlikely that if either 'Lily is white' or 'Winona is a cat' but not both then John got the apple. There is almost no chance that if either 'Mary went to the garden' or 'Winona is a cat' but not both then Bernhard is green.,Chances are slight that either 'Winona is a cat' 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.05::factB. 0.6::factC. %hop1 0.2::factX:-xor(factA,factB). 0.2::factY:-xor(factB,factA). 0.02::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.11000000000000001,0.6743348669733947,train,chances are slight,better than even,Chances are slight that either 'Winona is a cat' or 'Bernhard is green' but not both.,There is a better than even chance that either 'Winona is a cat' or 'Bernhard is green' but not both.,1,Either 'Winona is a cat' or 'Bernhard is green' but not both. It is certain that Julius is white. It is probably not the case that Lily is yellow. There is a very good chance that John went to the bedroom. It is improbable that if 'Julius is white' or 'Lily is yellow' or both then Fred is in the cinema. It is certain that if 'Julius is white' or 'Lily is yellow' or both then Mary left the football. It is unlikely that if 'Julius is white' or 'Lily is yellow' or both then Bernhard is gray.,It is likely that either 'Mary left the football' 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 1.0::factA. 0.25::factB. 0.8::factC. %hop1 0.1::factX:-or(factA,factB). 1.0::factY:-or(factA,factB). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.19999999999999998,0.2478495699139828,train,we doubt,likely,We doubt that either 'Mary left the football' or 'John went to the bedroom' but not both.,It is likely that either 'Mary left the football' or 'John went to the bedroom' but not both.,0,Either 'Mary left the football' or 'John went to the bedroom' but not both. There is a better than even chance that Julius is white. It is almost certain that John discarded the apple. It is highly unlikely that Bernhard is a rhino. There is almost no chance that if 'John discarded the apple and Bernhard is a rhino' then Mary went to the garden. It is improbable that if 'John discarded the apple' or 'Julius is white' or both then Sandra left the milk. It is improbable that if either 'John discarded the apple' or 'Bernhard is a rhino' but not both then Brian is a frog.,It is almost certain that 'Bernhard is a rhino' 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.6::factA. 0.95::factB. 0.05::factC. %hop1 0.02::factX:-and(factB,factC). 0.1::factY:-or(factB,factA). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.14310000000000003,0.6229245849169834,train,little chance,almost certain,There is little chance that 'Bernhard is a rhino' or 'Sandra left the milk' or both.,It is almost certain that 'Bernhard is a rhino' or 'Sandra left the milk' or both.,0,'Bernhard is a rhino' or 'Sandra left the milk' or both. There is little chance that Bernhard is yellow. We believe that Jessica is a mouse. It is likely that Mary went to the kitchen. There is a very good chance that if 'Jessica is a mouse' or 'Bernhard is yellow' or both then Brian is green. It is unlikely that if 'Bernhard is yellow and Jessica is a mouse' then Jason is tired. It is probably the case that if 'Jessica is a mouse and Bernhard is yellow' then Sandra took the football.,It is unlikely that either 'Jessica is a mouse' 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.1::factA. 0.75::factB. 0.7::factC. %hop1 0.8::factX:-or(factB,factA). 0.2::factY:-and(factA,factB). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.17,0.7385477095419084,train,unlikely,highly likely,It is unlikely that either 'Jessica is a mouse' or 'Brian is green' but not both.,It is highly likely that either 'Jessica is a mouse' or 'Brian is green' but not both.,1,Either 'Jessica is a mouse' or 'Brian is green' but not both. There is almost no chance that Lily is yellow. We doubt that Mary dropped the apple. We doubt that Bernhard is gray. It is likely that if 'Lily is yellow and Mary dropped the apple' then Daniel took the milk. It is highly likely that if 'Lily is yellow' or 'Bernhard is gray' or both then Jessica is a sheep. It is highly likely that if 'Bernhard is gray and Lily is yellow' then Bill went to the garden.,It is highly likely that either 'Bill went to the garden' 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.2::factB. 0.2::factC. %hop1 0.7::factX:-and(factA,factB). 0.9::factY:-or(factA,factC). 0.9::factZ:-and(factC,factA). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.20216,0.597119423884777,train,we doubt,highly likely,We doubt that either 'Bill went to the garden' or 'Mary dropped the apple' but not both.,It is highly likely that either 'Bill went to the garden' or 'Mary dropped the apple' but not both.,0,Either 'Bill went to the garden' or 'Mary dropped the apple' but not both. It is highly unlikely that Julius is a frog. Chances are about even that Lily is white. It is probable that John went to the bedroom. It is likely that if either 'Julius is a frog' or 'Lily is white' but not both then Gertrude is a cat. There is almost no chance that if either 'Julius is a frog' or 'Lily is white' but not both then Jeff moved to the garden. We believe that if either 'Lily is white' or 'Julius is a frog' but not both then Greg is a rhino.,There is a very good chance that 'John went to the bedroom 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.05::factA. 0.5::factB. 0.7::factC. %hop1 0.7::factX:-xor(factA,factB). 0.02::factY:-xor(factA,factB). 0.75::factZ:-xor(factB,factA). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.3499999999999999,0.21084216843368675,train,probably not,very good chance,It is probably not the case that 'John went to the bedroom and Lily is white'.,There is a very good chance that 'John went to the bedroom and Lily is white'.,0,'John went to the bedroom and Lily is white'. We believe that Bernhard is white. There is almost no chance that Mary moved to the office. It is improbable that Sandra left the milk. There is almost no chance that if either 'Sandra left the milk' or 'Mary moved to the office' but not both then Antoine is thirsty. We doubt that if 'Mary moved to the office' or 'Sandra left the milk' or both then John took the apple. It is improbable that if 'Mary moved to the office' or 'Sandra left the milk' or both then Emily is a wolf.,There is little chance that 'Sandra left the milk 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.75::factA. 0.02::factB. 0.1::factC. %hop1 0.02::factX:-xor(factC,factB). 0.2::factY:-or(factB,factC). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07500000000000002,0.5071014202840568,train,little chance,highly likely,There is little chance that 'Sandra left the milk and Bernhard is white'.,It is highly likely that 'Sandra left the milk and Bernhard is white'.,1,'Sandra left the milk and Bernhard is white'. It is probably the case that John put down the milk. There is a better than even chance that Jeff dropped the apple. We believe that Jason is thirsty. There is a better than even chance that if 'John put down the milk' or 'Jason is thirsty' or both then Lily is gray. It is probable that if 'Jeff dropped the apple' or 'Jason is thirsty' or both then Daniel got the football. It is highly unlikely that if either 'Jason is thirsty' or 'John put down the milk' but not both then Julius is a swan.,Chances are slight that either 'Julius is a swan' 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.7::factA. 0.6::factB. 0.75::factC. %hop1 0.6::factX:-or(factA,factC). 0.7::factY:-or(factB,factC). 0.05::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.7025,0.3186637327465493,train,likely,chances are slight,It is likely that either 'Julius is a swan' or 'John put down the milk' but not both.,Chances are slight that either 'Julius is a swan' or 'John put down the milk' but not both.,0,Either 'Julius is a swan' or 'John put down the milk' but not both. We doubt that Brian is a rhino. It is probably not the case that Fred put down the apple. We believe that John got the milk. We believe that if either 'Brian is a rhino' or 'John got the milk' but not both then Mary went to the hallway. It is unlikely that if 'Fred put down the apple and Brian is a rhino' then Sandra took the football. There is little chance that if 'John got the milk and Brian is a rhino' then Lily is a lion.,It is highly unlikely that 'Sandra took the football' or 'Mary 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.2::factA. 0.25::factB. 0.75::factC. %hop1 0.75::factX:-xor(factA,factC). 0.2::factY:-and(factB,factA). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.49562500000000004,0.0072014402880576115,train,about even,highly unlikely,Chances are about even that 'Sandra took the football' or 'Mary went to the hallway' or both.,It is highly unlikely that 'Sandra took the football' or 'Mary went to the hallway' or both.,0,'Sandra took the football' or 'Mary went to the hallway' or both. It is highly likely that Lily is white. There is a better than even chance that Winona is a mouse. It is highly unlikely that Mary got the football. There is almost no chance that if 'Mary got the football' or 'Winona is a mouse' or both then Daniel grabbed the milk. We believe that if either 'Mary got the football' or 'Winona is a mouse' but not both then Brian is a rhino. It is probable that if 'Winona is a mouse and Mary got the football' then John moved to the garden.,It is probable that 'Daniel grabbed the milk 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.9::factA. 0.6::factB. 0.05::factC. %hop1 0.02::factX:-or(factC,factB). 0.75::factY:-xor(factC,factB). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.0004200000000000001,0.705741148229646,train,impossible,probable,It is impossible that 'Daniel grabbed the milk and John moved to the garden'.,It is probable that 'Daniel grabbed the milk and John moved to the garden'.,0,'Daniel grabbed the milk and John moved to the garden'. Chances are about even that Winona is a mouse. It is unlikely that Lily is a rhino. It is certain that Julius is a swan. It is probably not the case that if either 'Winona is a mouse' or 'Julius is a swan' but not both then Mary put down the apple. There is a better than even chance that if 'Winona is a mouse and Lily is a rhino' then Sandra left the milk. It is unlikely that if 'Julius is a swan' or 'Winona is a mouse' or both then John got the apple.,We believe that 'Mary put down the apple' 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.5::factA. 0.2::factB. 1.0::factC. %hop1 0.25::factX:-xor(factA,factC). 0.6::factY:-and(factA,factB). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.185,0.09661932386477295,train,unlikely,we believe,It is unlikely that 'Mary put down the apple' or 'Sandra left the milk' or both.,We believe that 'Mary put down the apple' or 'Sandra left the milk' or both.,0,'Mary put down the apple' or 'Sandra left the milk' or both. It is certain that Lily is green. Chances are about even that Mary went to the office. It is probably the case that John dropped the milk. It is improbable that if 'Lily is green and John dropped the milk' then Daniel took the apple. It is improbable that if 'Mary went to the office' or 'John dropped the milk' or both then Brian is a swan. It is highly unlikely that if 'John dropped the milk' or 'Lily is green' or both then Bernhard is a lion.,It is likely that 'John dropped the milk' 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.7::factC. %hop1 0.1::factX:-and(factA,factC). 0.1::factY:-or(factB,factC). 0.05::factZ:-or(factC,factA). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.715,0.5525105021004201,train,likely,chances are slight,It is likely that 'John dropped the milk' or 'Bernhard is a lion' or both.,Chances are slight that 'John dropped the milk' or 'Bernhard is a lion' or both.,1,'John dropped the milk' or 'Bernhard is a lion' or both. It is probably the case that Daniel took the football. It is almost certain that Mary dropped the apple. There is almost no chance that Brian is a swan. Chances are about even that if 'Brian is a swan' or 'Mary dropped the apple' or both then Emily is a mouse. It is almost certain that if either 'Daniel took the football' or 'Mary dropped the apple' but not both then Bernhard is white. There is almost no chance that if 'Mary dropped the apple' or 'Brian is a swan' or both then Jeff left the football.,Chances are about even that either 'Daniel took the football' 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.7::factA. 0.95::factB. 0.02::factC. %hop1 0.5::factX:-or(factC,factB). 0.95::factY:-xor(factA,factB). 0.02::factZ:-or(factB,factC). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.5098,0.6469293858771754,train,about even,almost no chance,Chances are about even that either 'Daniel took the football' or 'Emily is a mouse' but not both.,There is almost no chance that either 'Daniel took the football' or 'Emily is a mouse' but not both.,1,Either 'Daniel took the football' or 'Emily is a mouse' but not both. Chances are slight that Julius is gray. It is probably the case that Daniel took the milk. There is a very good chance that Lily is yellow. It is almost certain that if either 'Julius is gray' or 'Daniel took the milk' but not both then Jessica is a mouse. It is highly likely that if 'Julius is gray' or 'Lily is yellow' or both then John discarded the apple. It is likely that if either 'Daniel took the milk' or 'Lily is yellow' but not both then Bernhard is white.,It is probably the case that either 'Jessica is a mouse' 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.1::factA. 0.7::factB. 0.8::factC. %hop1 0.95::factX:-xor(factA,factB). 0.9::factY:-or(factA,factC). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.6935,0.17263452690538109,train,probably,unlikely,It is probably the case that either 'Jessica is a mouse' or 'Bernhard is white' but not both.,It is unlikely that either 'Jessica is a mouse' or 'Bernhard is white' but not both.,1,Either 'Jessica is a mouse' or 'Bernhard is white' but not both. It is likely that Julius is green. It is unlikely that Lily is a swan. We believe that Greg is gray. There is a better than even chance that if either 'Lily is a swan' or 'Greg is gray' but not both then Mary picked up the apple. We doubt that if 'Julius is green' or 'Lily is a swan' or both then Gertrude is a sheep. There is a very good chance that if either 'Greg is gray' or 'Julius is green' but not both then John got the milk.,It is probable that 'Lily is a swan and Greg 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.7::factA. 0.2::factB. 0.75::factC. %hop1 0.6::factX:-xor(factB,factC). 0.2::factY:-or(factA,factB). 0.8::factZ:-xor(factC,factA). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.15,0.04440888177635527,train,chances are slight,probable,Chances are slight that 'Lily is a swan and Greg is gray'.,It is probable that 'Lily is a swan and Greg is gray'.,0,'Lily is a swan and Greg is gray'. There is a very good chance that Jeff moved to the garden. It is probably not the case that Mary went to the hallway. It is impossible that Lily is a lion. It is unlikely that if 'Jeff moved to the garden' or 'Lily is a lion' or both then Greg is a swan. It is probable that if 'Lily is a lion' or 'Jeff moved to the garden' or both then Fred dropped the apple. It is likely that if 'Lily is a lion and Jeff moved to the garden' then Sandra got the football.,There is a very good chance that 'Lily is a lion' or 'Jeff 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.8::factA. 0.25::factB. 0.0::factC. %hop1 0.2::factX:-or(factA,factC). 0.7::factY:-or(factC,factA). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.8,0.3052610522104421,train,very good chance,unlikely,There is a very good chance that 'Lily is a lion' or 'Jeff moved to the garden' or both.,It is unlikely that 'Lily is a lion' or 'Jeff moved to the garden' or both.,1,'Lily is a lion' or 'Jeff moved to the garden' or both. There is little chance that John left the milk. It is probably not the case that Greg is white. We doubt that Jeff moved to the office. It is probably the case that if 'Greg is white' or 'John left the milk' or both then Lily is a swan. It is unlikely that if either 'John left the milk' or 'Greg is white' but not both then Brian is a lion. It is probably not the case that if either 'John left the milk' or 'Greg is white' but not both then Mary got the football.,There is almost no chance that 'John left the milk 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.1::factA. 0.25::factB. 0.2::factC. %hop1 0.7::factX:-or(factB,factA). 0.2::factY:-xor(factA,factB). 0.25::factZ:-xor(factA,factB). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.01500000000000001,0.6375275055011003,train,almost no chance,probably,There is almost no chance that 'John left the milk and Brian is a lion'.,It is probably the case that 'John left the milk and Brian is a lion'.,1,'John left the milk and Brian is a lion'. It is almost certain that John went to the garden. It is improbable that Greg is a rhino. Chances are about even that Sandra dropped the apple. There is a better than even chance that if 'John went to the garden' or 'Greg is a rhino' or both then Julius is white. There is little chance that if either 'Sandra dropped the apple' or 'John went to the garden' but not both then Bernhard is white. There is little chance that if either 'Greg is a rhino' or 'John went to the garden' but not both then Emily is a wolf.,There is a better than even chance that either 'Julius is white' 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.95::factA. 0.1::factB. 0.5::factC. %hop1 0.6::factX:-or(factA,factB). 0.1::factY:-xor(factC,factA). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.5657,0.27905581116223244,train,better than even,almost no chance,There is a better than even chance that either 'Julius is white' or 'Bernhard is white' but not both.,There is almost no chance that either 'Julius is white' or 'Bernhard is white' but not both.,1,Either 'Julius is white' or 'Bernhard is white' but not both. It is highly unlikely that John left the apple. There is a very good chance that Greg is a frog. There is a better than even chance that Mary moved to the garden. It is probably not the case that if 'John left the apple and Greg is a frog' then Sumit is thirsty. Chances are slight that if 'Greg is a frog' or 'Mary moved to the garden' or both then Bernhard is yellow. Chances are slight that if 'Greg is a frog' or 'John left the apple' or both then Daniel got the apple.,Chances are slight that either 'Sumit is thirsty' or 'Mary 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.8::factB. 0.6::factC. %hop1 0.25::factX:-and(factA,factB). 0.1::factY:-or(factB,factC). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.5980000000000001,0.16103220644128827,train,better than even,chances are slight,There is a better than even chance that either 'Sumit is thirsty' or 'Mary moved to the garden' but not both.,Chances are slight that either 'Sumit is thirsty' or 'Mary moved to the garden' but not both.,0,Either 'Sumit is thirsty' or 'Mary moved to the garden' but not both. Chances are slight that Mary left the apple. It is certain that Bernhard is a swan. It is highly likely that John discarded the milk. We doubt that if 'Bernhard is a swan' or 'Mary left the apple' or both then Julius is gray. We doubt that if 'Bernhard is a swan' or 'John discarded the milk' or both then Brian is a frog. We believe that if either 'Bernhard is a swan' or 'John discarded the milk' but not both then Bill went to the garden.,It is probably not the case that 'Julius is gray' or 'Mary 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.1::factA. 1.0::factB. 0.9::factC. %hop1 0.2::factX:-or(factB,factA). 0.2::factY:-or(factB,factC). 0.75::factZ:-xor(factB,factC). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.28,0.2500500100020004,train,probably not,probable,It is probably not the case that 'Julius is gray' or 'Mary left the apple' or both.,It is probable that 'Julius is gray' or 'Mary left the apple' or both.,1,'Julius is gray' or 'Mary left the apple' or both. There is a very good chance that Brian is a lion. It is probable that Greg is yellow. It is highly likely that Mary dropped the milk. Chances are slight that if either 'Mary dropped the milk' or 'Greg is yellow' but not both then Jessica is a cat. It is impossible that if 'Greg is yellow' or 'Mary dropped the milk' or both then Lily is yellow. It is almost certain that if 'Mary dropped the milk and Greg is yellow' then John left the apple.,It is probable that 'Jessica is a cat' 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.8::factA. 0.7::factB. 0.9::factC. %hop1 0.1::factX:-xor(factC,factB). 0.0::factY:-or(factB,factC). 0.95::factZ:-and(factC,factB). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.034000000000000016,0.21684336867373474,train,almost no chance,probable,There is almost no chance that 'Jessica is a cat' or 'Lily is yellow' or both.,It is probable that 'Jessica is a cat' or 'Lily is yellow' or both.,0,'Jessica is a cat' or 'Lily is yellow' or both. It is likely that Lily is a lion. There is a very good chance that Bernhard is white. We believe that Jeff left the apple. It is highly likely that if 'Bernhard is white' or 'Lily is a lion' or both then Gertrude is a cat. We believe that if 'Lily is a lion and Jeff left the apple' then Brian is a rhino. It is certain that if either 'Lily is a lion' or 'Jeff left the apple' but not both then John put down the milk.,It is highly likely that 'Jeff left the apple 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.7::factA. 0.8::factB. 0.75::factC. %hop1 0.9::factX:-or(factB,factA). 0.75::factY:-and(factA,factC). 1.0::factZ:-xor(factA,factC). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.22500000000000006,0.5877175435087018,train,probably not,highly likely,It is probably not the case that 'Jeff left the apple and John put down the milk'.,It is highly likely that 'Jeff left the apple and John put down the milk'.,0,'Jeff left the apple and John put down the milk'. It is highly unlikely that Sumit is thirsty. It is almost certain that Greg is a frog. We doubt that Emily is a cat. It is almost certain that if 'Emily is a cat' or 'Sumit is thirsty' or both then Mary went to the office. There is almost no chance that if 'Sumit is thirsty' or 'Greg is a frog' or both then Bernhard is a rhino. We believe that if either 'Emily is a cat' or 'Greg is a frog' but not both then Lily is a swan.,There is almost no chance that 'Sumit is thirsty 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.05::factA. 0.95::factB. 0.2::factC. %hop1 0.95::factX:-or(factC,factA). 0.02::factY:-or(factA,factB). 0.75::factZ:-xor(factC,factB). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.010000000000000004,0.47049409881976395,train,almost no chance,we believe,There is almost no chance that 'Sumit is thirsty and Emily is a cat'.,We believe that 'Sumit is thirsty and Emily is a cat'.,1,'Sumit is thirsty and Emily is a cat'. It is likely that Fred moved to the office. There is a better than even chance that Bernhard is a rhino. There is a very good chance that Julius is a swan. There is a better than even chance that if 'Bernhard is a rhino and Fred moved to the office' then Lily is green. It is certain that if 'Julius is a swan' or 'Fred moved to the office' or both then Greg is white. There is little chance that if 'Fred moved to the office' or 'Bernhard is a rhino' or both then John dropped the apple.,It is highly likely that either 'Greg is white' or 'John 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. 0.6::factB. 0.8::factC. %hop1 0.6::factX:-and(factB,factA). 1.0::factY:-or(factC,factA). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.8592,0.5553110622124425,train,highly likely,impossible,It is highly likely that either 'Greg is white' or 'John dropped the apple' but not both.,It is impossible that either 'Greg is white' or 'John dropped the apple' but not both.,1,Either 'Greg is white' or 'John dropped the apple' but not both. Chances are about even that Mary put down the apple. It is certain that Julius is gray. It is probably not the case that Lily is gray. There is little chance that if either 'Lily is gray' or 'Julius is gray' but not both then Antoine is hungry. It is highly unlikely that if 'Julius is gray' or 'Mary put down the apple' or both then Brian is white. There is a better than even chance that if either 'Julius is gray' or 'Mary put down the apple' but not both then Daniel grabbed the apple.,It is probably not the case that either 'Mary put down the apple' or 'Daniel grabbed 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.5::factA. 1.0::factB. 0.25::factC. %hop1 0.1::factX:-xor(factC,factB). 0.05::factY:-or(factB,factA). 0.6::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.8,0.16763352670534107,train,very good chance,probably not,There is a very good chance that either 'Mary put down the apple' or 'Daniel grabbed the apple' but not both.,It is probably not the case that either 'Mary put down the apple' or 'Daniel grabbed the apple' but not both.,0,Either 'Mary put down the apple' or 'Daniel grabbed the apple' but not both. It is improbable that John got the apple. It is likely that Winona is a mouse. We doubt that Julius is a lion. Chances are about even that if either 'John got the apple' or 'Winona is a mouse' but not both then Greg is a frog. There is little chance that if 'John got the apple' or 'Julius is a lion' or both then Bill went to the kitchen. It is certain that if 'Winona is a mouse' or 'John got the apple' or both then Sandra left the football.,There is almost no chance that 'Bill went to the kitchen 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.1::factA. 0.7::factB. 0.2::factC. %hop1 0.5::factX:-xor(factA,factB). 0.1::factY:-or(factA,factC). 1.0::factZ:-or(factB,factA). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.02000000000000001,0.27825565113022604,train,almost no chance,better than even,There is almost no chance that 'Bill went to the kitchen and Julius is a lion'.,There is a better than even chance that 'Bill went to the kitchen and Julius is a lion'.,1,'Bill went to the kitchen and Julius is a lion'. It is likely that Sandra dropped the milk. It is certain that Brian is a rhino. It is impossible that Mary left the football. It is likely that if either 'Mary left the football' or 'Brian is a rhino' but not both then Bernhard is a swan. We believe that if 'Sandra dropped the milk' or 'Brian is a rhino' or both then John got the milk. It is probably the case that if either 'Brian is a rhino' or 'Sandra dropped the milk' but not both then Lily is a frog.,There is almost no chance 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.7::factA. 1.0::factB. 0.0::factC. %hop1 0.7::factX:-xor(factC,factB). 0.75::factY:-or(factA,factB). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-or(factB,factC). query(conclusion). ",1.0,0.536507301460292,train,certain,almost no chance,It is certain that 'Brian is a rhino' or 'Mary left the football' or both.,There is almost no chance that 'Brian is a rhino' or 'Mary left the football' or both.,0,'Brian is a rhino' or 'Mary left the football' or both. We believe that Mary moved to the office. We believe that Jessica is a mouse. It is highly unlikely that Daniel got the apple. Chances are slight that if either 'Daniel got the apple' or 'Mary moved to the office' but not both then Yann is thirsty. It is probably not the case that if 'Jessica is a mouse' or 'Mary moved to the office' or both then Brian is gray. There is a very good chance that if 'Mary moved to the office and Jessica is a mouse' then Jeff discarded the milk.,It is probably the case that 'Brian is gray 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.75::factA. 0.75::factB. 0.05::factC. %hop1 0.1::factX:-xor(factC,factA). 0.25::factY:-or(factB,factA). 0.8::factZ:-and(factA,factB). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.11250000000000002,0.4312862572514503,train,little chance,probably,There is little chance that 'Brian is gray and Jeff discarded the milk'.,It is probably the case that 'Brian is gray and Jeff discarded the milk'.,0,'Brian is gray and Jeff discarded the milk'. There is a better than even chance that Gertrude is a sheep. It is highly unlikely that Lily is yellow. There is a better than even chance that Julius is a frog. There is a very good chance that if 'Julius is a frog and Lily is yellow' then Bernhard is gray. We doubt that if either 'Gertrude is a sheep' or 'Julius is a frog' but not both then Brian is yellow. It is almost certain that if 'Julius is a frog and Gertrude is a sheep' then John went to the garden.,There is a better than even chance that 'Bernhard is gray' 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 0.6::factA. 0.05::factB. 0.6::factC. %hop1 0.8::factX:-and(factC,factB). 0.2::factY:-xor(factA,factC). 0.95::factZ:-and(factC,factA). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.6095999999999999,0.7641528305661133,train,better than even,chances are slight,There is a better than even chance that 'Bernhard is gray' or 'Gertrude is a sheep' or both.,Chances are slight that 'Bernhard is gray' or 'Gertrude is a sheep' or both.,1,'Bernhard is gray' or 'Gertrude is a sheep' or both. It is probably not the case that Daniel took the football. It is improbable that Brian is gray. It is certain that John moved to the garden. It is unlikely that if 'Brian is gray' or 'John moved to the garden' or both then Winona is a sheep. Chances are slight that if either 'John moved to the garden' or 'Brian is gray' but not both then Sandra is in the kitchen. There is a better than even chance that if either 'Brian is gray' or 'Daniel took the football' but not both then Lily is green.,It is improbable that 'Sandra is in the kitchen 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.25::factA. 0.1::factB. 1.0::factC. %hop1 0.2::factX:-or(factB,factC). 0.1::factY:-xor(factC,factB). 0.6::factZ:-xor(factB,factA). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.09000000000000001,0.747749549909982,train,improbable,very good chance,It is improbable that 'Sandra is in the kitchen and John moved to the garden'.,There is a very good chance that 'Sandra is in the kitchen and John moved to the garden'.,1,'Sandra is in the kitchen and John moved to the garden'. There is little chance that Emily is a mouse. It is highly likely that Lily is green. There is a very good chance that Bernhard is green. We believe that if 'Bernhard is green and Lily is green' then Winona is a wolf. We believe that if 'Bernhard is green and Lily is green' then Sandra dropped the milk. It is probably the case that if 'Emily is a mouse and Lily is green' then Julius is a lion.,It is unlikely that 'Sandra dropped the milk' 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.9::factB. 0.8::factC. %hop1 0.75::factX:-and(factC,factB). 0.75::factY:-and(factC,factB). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.8,0.004400880176035207,train,very good chance,unlikely,There is a very good chance that 'Sandra dropped the milk' or 'Bernhard is green' or both.,It is unlikely that 'Sandra dropped the milk' or 'Bernhard is green' or both.,0,'Sandra dropped the milk' or 'Bernhard is green' or both. There is a better than even chance that Fred went to the garden. There is a very good chance that Bernhard is yellow. It is improbable that Julius is a swan. It is unlikely that if 'Julius is a swan and Bernhard is yellow' then Emily is a wolf. It is probably not the case that if 'Bernhard is yellow and Julius is a swan' then Daniel got the apple. It is certain that if either 'Julius is a swan' or 'Bernhard is yellow' but not both then Brian is a frog.,There is a very good chance that either 'Brian 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.6::factA. 0.8::factB. 0.1::factC. %hop1 0.2::factX:-and(factC,factB). 0.25::factY:-and(factB,factC). 1.0::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.8,0.13062612522504502,train,very good chance,little chance,There is a very good chance that either 'Brian is a frog' or 'Julius is a swan' but not both.,There is little chance that either 'Brian is a frog' or 'Julius is a swan' but not both.,1,Either 'Brian is a frog' or 'Julius is a swan' but not both. It is probably not the case that Bernhard is yellow. We doubt that John got the apple. It is likely that Brian is a lion. Chances are slight that if either 'Brian is a lion' or 'Bernhard is yellow' but not both then Fred left the football. It is impossible that if either 'John got the apple' or 'Brian is a lion' but not both then Julius is white. Chances are slight that if 'John got the apple' or 'Bernhard is yellow' or both then Mary went to the bedroom.,It is improbable that 'John got the apple 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.25::factA. 0.2::factB. 0.7::factC. %hop1 0.1::factX:-xor(factC,factA). 0.0::factY:-xor(factB,factC). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.14,0.14242848569713942,train,improbable,certain,It is improbable that 'John got the apple and Brian is a lion'.,It is certain that 'John got the apple and Brian is a lion'.,1,'John got the apple and Brian is a lion'. We doubt that John went to the kitchen. It is impossible that Brian is a swan. It is almost certain that Julius is gray. It is likely that if 'Brian is a swan' or 'Julius is gray' or both then Greg is a lion. It is probable that if either 'Brian is a swan' or 'Julius is gray' but not both then Bernhard is a rhino. There is almost no chance that if 'Julius is gray and John went to the kitchen' then Emily is a mouse.,It is probable that 'Brian is a swan 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.2::factA. 0.0::factB. 0.95::factC. %hop1 0.7::factX:-or(factB,factC). 0.7::factY:-xor(factB,factC). 0.02::factZ:-and(factC,factA). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.0,0.47529505901180236,train,impossible,probable,It is impossible that 'Brian is a swan and Emily is a mouse'.,It is probable that 'Brian is a swan and Emily is a mouse'.,0,'Brian is a swan and Emily is a mouse'. It is impossible that Julius is a swan. It is highly unlikely that Mary moved to the garden. It is likely that Bill left the football. Chances are slight that if 'Bill left the football and Mary moved to the garden' then Lily is a lion. We doubt that if 'Mary moved to the garden and Bill left the football' then Greg is a rhino. There is a better than even chance that if 'Mary moved to the garden and Julius is a swan' then Winona is a mouse.,It is impossible that 'Greg is a rhino and Julius 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.0::factA. 0.05::factB. 0.7::factC. %hop1 0.1::factX:-and(factC,factB). 0.2::factY:-and(factB,factC). 0.6::factZ:-and(factB,factA). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.0,0.14822964592918583,train,impossible,almost certain,It is impossible that 'Greg is a rhino and Julius is a swan'.,It is almost certain that 'Greg is a rhino and Julius is a swan'.,1,'Greg is a rhino and Julius is a swan'. Chances are slight that Julius is a swan. It is probably not the case that Bernhard is a frog. There is a very good chance that Sandra took the milk. It is highly unlikely that if either 'Sandra took the milk' or 'Bernhard is a frog' but not both then Lily is green. It is certain that if 'Bernhard is a frog and Sandra took the milk' then Greg is a lion. There is a better than even chance that if either 'Julius is a swan' or 'Sandra took the milk' but not both then Fred is in the cinema.,There is a better than even chance that either 'Greg is a lion' 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.25::factB. 0.8::factC. %hop1 0.05::factX:-xor(factC,factB). 1.0::factY:-and(factB,factC). 0.6::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.6000000000000001,0.02500500100020004,train,better than even,highly unlikely,There is a better than even chance that either 'Greg is a lion' or 'Sandra took the milk' but not both.,It is highly unlikely that either 'Greg is a lion' or 'Sandra took the milk' but not both.,1,Either 'Greg is a lion' or 'Sandra took the milk' but not both. It is probable that Greg is a lion. There is little chance that Jessica is a cat. We doubt that Brian is yellow. There is a better than even chance that if 'Jessica is a cat and Brian is yellow' then Winona is a mouse. It is certain that if 'Jessica is a cat and Greg is a lion' then Emily is a sheep. There is little chance that if 'Greg is a lion' or 'Brian is yellow' or both then John left the football.,It is impossible that 'Winona is a mouse' 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.7::factA. 0.1::factB. 0.2::factC. %hop1 0.6::factX:-and(factB,factC). 1.0::factY:-and(factB,factA). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.7036,0.6769353870774155,train,probably,impossible,It is probably the case that 'Winona is a mouse' or 'Greg is a lion' or both.,It is impossible that 'Winona is a mouse' or 'Greg is a lion' or both.,0,'Winona is a mouse' or 'Greg is a lion' or both. Chances are slight that Yann is bored. It is probably not the case that Greg is a swan. It is unlikely that John went to the kitchen. It is unlikely that if 'John went to the kitchen and Greg is a swan' then Jason is thirsty. It is probably not the case that if 'Yann is bored and John went to the kitchen' then Julius is a frog. There is almost no chance that if 'John went to the kitchen and Yann is bored' then Mary moved to the garden.,We believe that either 'Jason is thirsty' or 'John went to the kitchen' 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.2::factC. %hop1 0.2::factX:-and(factC,factB). 0.25::factY:-and(factA,factC). 0.02::factZ:-and(factC,factA). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.19,0.02560512102420484,train,we doubt,we believe,We doubt that either 'Jason is thirsty' or 'John went to the kitchen' but not both.,We believe that either 'Jason is thirsty' or 'John went to the kitchen' but not both.,0,Either 'Jason is thirsty' or 'John went to the kitchen' but not both. It is impossible that Julius is a rhino. It is impossible that Lily is a rhino. Chances are about even that Mary left the football. Chances are about even that if 'Mary left the football and Julius is a rhino' then Gertrude is a sheep. Chances are about even that if 'Julius is a rhino' or 'Lily is a rhino' or both then John went to the bedroom. It is highly unlikely that if 'Mary left the football' or 'Lily is a rhino' or both then Brian is yellow.,There is almost no chance that either 'John went to the bedroom' 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.0::factA. 0.0::factB. 0.5::factC. %hop1 0.5::factX:-and(factC,factA). 0.5::factY:-or(factA,factB). 0.05::factZ:-or(factC,factB). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.025,0.1828365673134627,train,almost no chance,better than even,There is almost no chance that either 'John went to the bedroom' or 'Brian is yellow' but not both.,There is a better than even chance that either 'John went to the bedroom' or 'Brian is yellow' but not both.,1,Either 'John went to the bedroom' or 'Brian is yellow' but not both. We doubt that Brian is white. It is almost certain that John discarded the apple. Chances are slight that Lily is a swan. We doubt that if 'Lily is a swan and John discarded the apple' then Mary took the football. It is improbable that if 'Brian is white' or 'Lily is a swan' or both then Bernhard is yellow. It is probably not the case that if 'Brian is white' or 'John discarded the apple' or both then Winona is a mouse.,It is likely that 'Bernhard is yellow' 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.2::factA. 0.95::factB. 0.1::factC. %hop1 0.2::factX:-and(factC,factB). 0.1::factY:-or(factA,factC). 0.25::factZ:-or(factA,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.11800000000000002,0.4446889377875575,train,improbable,likely,It is improbable that 'Bernhard is yellow' or 'Lily is a swan' or both.,It is likely that 'Bernhard is yellow' or 'Lily is a swan' or both.,0,'Bernhard is yellow' or 'Lily is a swan' or both. It is probably not the case that Julius is a frog. It is certain that Lily is a rhino. It is certain that John went to the kitchen. There is a better than even chance that if 'Lily is a rhino and Julius is a frog' then Antoine is hungry. It is likely that if 'Julius is a frog and John went to the kitchen' then Bernhard is green. It is unlikely that if 'John went to the kitchen and Julius is a frog' then Sandra dropped the milk.,It is unlikely that 'Lily is a rhino' 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.25::factA. 1.0::factB. 1.0::factC. %hop1 0.6::factX:-and(factB,factA). 0.7::factY:-and(factA,factC). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.10582116423284657,train,certain,unlikely,It is certain that 'Lily is a rhino' or 'Julius is a frog' or both.,It is unlikely that 'Lily is a rhino' or 'Julius is a frog' or both.,0,'Lily is a rhino' or 'Julius is a frog' or both. There is little chance that Bernhard is a rhino. It is certain that John dropped the milk. There is little chance that Brian is yellow. It is likely that if 'John dropped the milk' or 'Bernhard is a rhino' or both then Lily is a frog. There is almost no chance that if either 'Brian is yellow' or 'John dropped the milk' but not both then Greg is a swan. There is little chance that if 'John dropped the milk and Brian is yellow' then Mary went to the office.,It is likely that either 'Lily is a frog' 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.1::factA. 1.0::factB. 0.1::factC. %hop1 0.7::factX:-or(factB,factA). 0.02::factY:-xor(factC,factB). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.6599999999999999,0.657131426285257,train,likely,improbable,It is likely that either 'Lily is a frog' or 'Brian is yellow' but not both.,It is improbable that either 'Lily is a frog' or 'Brian is yellow' but not both.,1,Either 'Lily is a frog' or 'Brian is yellow' but not both. It is highly likely that Mary discarded the apple. It is unlikely that Sandra got the football. We doubt that Brian is a swan. It is highly likely that if either 'Mary discarded the apple' or 'Sandra got the football' but not both then Lily is a lion. It is probably not the case that if 'Mary discarded the apple and Sandra got the football' then Emily is a wolf. It is highly unlikely that if either 'Brian is a swan' or 'Sandra got the football' but not both then John moved to the garden.,It is likely that either 'Emily is a wolf' 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.9::factA. 0.2::factB. 0.2::factC. %hop1 0.9::factX:-xor(factA,factB). 0.25::factY:-and(factA,factB). 0.05::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.7110000000000001,0.17403480696139229,train,likely,probably not,It is likely that either 'Emily is a wolf' or 'Lily is a lion' but not both.,It is probably not the case that either 'Emily is a wolf' or 'Lily is a lion' but not both.,1,Either 'Emily is a wolf' or 'Lily is a lion' but not both. It is certain that Bernhard is a rhino. There is almost no chance that Brian is a lion. We believe that John got the milk. It is likely that if 'Bernhard is a rhino and John got the milk' then Gertrude is a sheep. It is probable that if either 'John got the milk' or 'Bernhard is a rhino' but not both then Julius is a swan. It is impossible that if 'Brian is a lion and Bernhard is a rhino' then Greg is a frog.,It is almost certain that 'Bernhard is a rhino 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 1.0::factA. 0.02::factB. 0.75::factC. %hop1 0.7::factX:-and(factA,factC). 0.7::factY:-xor(factC,factA). 0.0::factZ:-and(factB,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.0,0.6677335467093418,train,impossible,almost certain,It is impossible that 'Bernhard is a rhino and Greg is a frog'.,It is almost certain that 'Bernhard is a rhino and Greg is a frog'.,0,'Bernhard is a rhino and Greg is a frog'. It is highly likely that John went to the kitchen. It is almost certain that Brian is yellow. It is almost certain that Greg is white. Chances are slight that if either 'Greg is white' or 'Brian is yellow' but not both then Mary moved to the garden. Chances are slight that if 'Brian is yellow' or 'Greg is white' or both then Julius is a lion. It is probably not the case that if 'Greg is white' or 'John went to the kitchen' or both then Daniel left the milk.,It is certain that either 'Brian is yellow' or 'John went to the kitchen' 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.95::factC. %hop1 0.1::factX:-xor(factC,factB). 0.1::factY:-or(factB,factC). 0.25::factZ:-or(factC,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.14000000000000004,0.744748949789958,train,chances are slight,certain,Chances are slight that either 'Brian is yellow' or 'John went to the kitchen' but not both.,It is certain that either 'Brian is yellow' or 'John went to the kitchen' but not both.,0,Either 'Brian is yellow' or 'John went to the kitchen' but not both. We believe that Bernhard is a rhino. Chances are about even that Winona is a mouse. Chances are slight that Lily is a lion. It is likely that if 'Winona is a mouse and Bernhard is a rhino' then John took the apple. There is a better than even chance that if either 'Bernhard is a rhino' or 'Lily is a lion' but not both then Mary moved to the garden. It is improbable that if 'Lily is a lion and Winona is a mouse' then Julius is yellow.,We believe that 'John took the apple' or 'Bernhard 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.75::factA. 0.5::factB. 0.1::factC. %hop1 0.7::factX:-and(factB,factA). 0.6::factY:-xor(factA,factC). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.75,0.5351070214042809,train,we believe,almost no chance,We believe that 'John took the apple' or 'Bernhard is a rhino' or both.,There is almost no chance that 'John took the apple' or 'Bernhard is a rhino' or both.,1,'John took the apple' or 'Bernhard is a rhino' or both. It is likely that John left the football. There is almost no chance that Lily is a rhino. It is probably not the case that Bernhard is white. It is probably the case that if either 'Bernhard is white' or 'John left the football' but not both then Julius is gray. It is likely that if either 'Bernhard is white' or 'John left the football' but not both then Greg is a lion. We believe that if 'Lily is a rhino and Bernhard is white' then Brian is gray.,We doubt that either 'John left the football' or 'Lily 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.7::factA. 0.02::factB. 0.25::factC. %hop1 0.7::factX:-xor(factC,factA). 0.7::factY:-xor(factC,factA). 0.75::factZ:-and(factB,factC). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.692,0.20884176835367074,train,probable,we doubt,It is probable that either 'John left the football' or 'Lily is a rhino' but not both.,We doubt that either 'John left the football' or 'Lily is a rhino' but not both.,0,Either 'John left the football' or 'Lily is a rhino' but not both. It is improbable that Greg is a lion. We believe that Brian is a swan. There is a better than even chance that Mary went to the garden. Chances are slight that if either 'Greg is a lion' or 'Brian is a swan' but not both then Bernhard is a frog. It is probable that if 'Mary went to the garden and Greg is a lion' then Lily is a rhino. Chances are about even that if either 'Greg is a lion' or 'Brian is a swan' but not both then John left the apple.,There is little chance that either 'Mary went to the garden' 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.1::factA. 0.75::factB. 0.6::factC. %hop1 0.1::factX:-xor(factA,factB). 0.7::factY:-and(factC,factA). 0.5::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.586,0.39467893578715746,train,better than even,little chance,There is a better than even chance that either 'Mary went to the garden' or 'Bernhard is a frog' but not both.,There is little chance that either 'Mary went to the garden' or 'Bernhard is a frog' but not both.,0,Either 'Mary went to the garden' or 'Bernhard is a frog' but not both. Chances are about even that Winona is a sheep. There is almost no chance that Julius is a rhino. There is a very good chance that Mary took the football. There is a very good chance that if 'Julius is a rhino' or 'Mary took the football' or both then Greg is green. It is almost certain that if 'Mary took the football' or 'Julius is a rhino' or both then Brian is a frog. It is highly likely that if either 'Mary took the football' or 'Winona is a sheep' but not both then Bernhard is a swan.,There is a better than even chance that 'Mary took the football 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.5::factA. 0.02::factB. 0.8::factC. %hop1 0.8::factX:-or(factB,factC). 0.95::factY:-or(factC,factB). 0.9::factZ:-xor(factC,factA). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.64,0.5491098219643928,train,better than even,little chance,There is a better than even chance that 'Mary took the football and Greg is green'.,There is little chance that 'Mary took the football and Greg is green'.,1,'Mary took the football and Greg is green'. There is little chance that Bernhard is a frog. It is highly unlikely that Sumit is tired. It is highly likely that Greg is a frog. We doubt that if 'Sumit is tired and Greg is a frog' then Emily is a wolf. Chances are about even that if 'Sumit is tired' or 'Bernhard is a frog' or both then Mary went to the bedroom. There is a better than even chance that if either 'Bernhard is a frog' or 'Greg is a frog' but not both then Brian is yellow.,There is a very good chance that 'Emily is a wolf 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.1::factA. 0.05::factB. 0.9::factC. %hop1 0.2::factX:-and(factB,factC). 0.5::factY:-or(factB,factA). 0.6::factZ:-xor(factA,factC). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.004500000000000003,0.16383276655331067,train,impossible,very good chance,It is impossible that 'Emily is a wolf and Mary went to the bedroom'.,There is a very good chance that 'Emily is a wolf and Mary went to the bedroom'.,0,'Emily is a wolf and Mary went to the bedroom'. There is almost no chance that Lily is gray. There is a very good chance that John got the apple. It is certain that Greg is white. It is impossible that if either 'Greg is white' or 'Lily is gray' but not both then Daniel left the milk. There is little chance that if 'Lily is gray and John got the apple' then Julius is a rhino. We believe that if 'Greg is white' or 'Lily is gray' or both then Mary moved to the garden.,It is certain that 'Mary moved to the garden' or 'Greg 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.02::factA. 0.8::factB. 1.0::factC. %hop1 0.0::factX:-xor(factC,factA). 0.1::factY:-and(factA,factB). 0.75::factZ:-or(factC,factA). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",1.0,0.7929585917183437,train,certain,about even,It is certain that 'Mary moved to the garden' or 'Greg is white' or both.,Chances are about even that 'Mary moved to the garden' or 'Greg is white' or both.,1,'Mary moved to the garden' or 'Greg is white' or both. It is impossible that Sandra dropped the apple. It is probably the case that Jeff went to the bedroom. It is likely that John moved to the garden. It is likely that if 'John moved to the garden' or 'Jeff went to the bedroom' or both then Bernhard is a frog. There is almost no chance that if 'Sandra dropped the apple' or 'Jeff went to the bedroom' or both then Lily is a lion. It is highly likely that if 'John moved to the garden and Sandra dropped the apple' then Fred is in the school.,It is probably the case that 'Lily is a lion' or 'Jeff 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.0::factA. 0.7::factB. 0.7::factC. %hop1 0.7::factX:-or(factC,factB). 0.02::factY:-or(factA,factB). 0.9::factZ:-and(factC,factA). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.7,0.26585317063412683,train,probably,unlikely,It is probably the case that 'Lily is a lion' or 'Jeff went to the bedroom' or both.,It is unlikely that 'Lily is a lion' or 'Jeff went to the bedroom' or both.,1,'Lily is a lion' or 'Jeff went to the bedroom' or both. There is a very good chance that Brian is a frog. It is certain that Greg is yellow. There is almost no chance that Julius is a lion. It is probably the case that if 'Julius is a lion' or 'Greg is yellow' or both then John put down the milk. Chances are about even that if either 'Greg is yellow' or 'Julius is a lion' but not both then Fred left the apple. It is probably the case that if either 'Julius is a lion' or 'Greg is yellow' but not both then Emily is a mouse.,There is almost no chance 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.8::factA. 1.0::factB. 0.02::factC. %hop1 0.7::factX:-or(factC,factB). 0.5::factY:-xor(factB,factC). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.02,0.1208241648329666,train,almost no chance,about even,There is almost no chance that 'Julius is a lion and Greg is yellow'.,Chances are about even that 'Julius is a lion and Greg is yellow'.,1,'Julius is a lion and Greg is yellow'. It is highly unlikely that Julius is yellow. We doubt that Mary went to the office. There is little chance that John discarded the apple. Chances are slight that if 'Julius is yellow' or 'John discarded the apple' or both then Greg is a swan. We doubt that if 'Mary went to the office and John discarded the apple' then Jeff moved to the garden. It is certain that if 'Mary went to the office and John discarded the apple' then Brian is white.,We believe that 'Jeff moved to the garden' 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.05::factA. 0.2::factB. 0.1::factC. %hop1 0.1::factX:-or(factA,factC). 0.2::factY:-and(factB,factC). 1.0::factZ:-and(factB,factC). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.018100000000000005,0.242248449689938,train,almost no chance,we believe,There is almost no chance that 'Jeff moved to the garden' or 'Greg is a swan' or both.,We believe that 'Jeff moved to the garden' or 'Greg is a swan' or both.,0,'Jeff moved to the garden' or 'Greg is a swan' or both. There is a very good chance that Lily is green. We believe that John went to the garden. Chances are slight that Winona is a sheep. It is probably the case that if 'Winona is a sheep' or 'John went to the garden' or both then Emily is a cat. There is a better than even chance that if 'Lily is green and Winona is a sheep' then Greg is gray. It is probably the case that if 'John went to the garden and Lily is green' then Jeff moved to the office.,It is probable that 'Jeff moved to the office' or 'Emily 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.8::factA. 0.75::factB. 0.1::factC. %hop1 0.7::factX:-or(factC,factB). 0.6::factY:-and(factA,factC). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.6685,0.04540908181636327,train,probable,little chance,It is probable that 'Jeff moved to the office' or 'Emily is a cat' or both.,There is little chance that 'Jeff moved to the office' or 'Emily is a cat' or both.,1,'Jeff moved to the office' or 'Emily is a cat' or both. There is a very good chance that Greg is a frog. It is certain that Sumit is hungry. It is likely that John dropped the milk. It is impossible that if 'Greg is a frog and John dropped the milk' then Julius is white. There is almost no chance that if 'John dropped the milk' or 'Greg is a frog' or both then Mary went to the garden. It is certain that if either 'Sumit is hungry' or 'John dropped the milk' but not both then Lily is green.,There is almost no chance that 'Greg is a frog and Sumit 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.8::factA. 1.0::factB. 0.7::factC. %hop1 0.0::factX:-and(factA,factC). 0.02::factY:-or(factC,factA). 1.0::factZ:-xor(factB,factC). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.8,0.5865173034606921,train,very good chance,almost no chance,There is a very good chance that 'Greg is a frog and Sumit is hungry'.,There is almost no chance that 'Greg is a frog and Sumit is hungry'.,0,'Greg is a frog and Sumit is hungry'. Chances are slight that Brian is a frog. Chances are slight that Jessica is a sheep. We doubt that Mary picked up the apple. Chances are about even that if 'Brian is a frog and Mary picked up the apple' then John took the football. Chances are slight that if either 'Jessica is a sheep' or 'Mary picked up the apple' but not both then Greg is yellow. It is almost certain that if 'Brian is a frog and Mary picked up the apple' then Julius is gray.,It is probable that either 'Brian is a frog' 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.1::factA. 0.1::factB. 0.2::factC. %hop1 0.5::factX:-and(factA,factC). 0.1::factY:-xor(factB,factC). 0.95::factZ:-and(factA,factC). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.08100000000000002,0.5685137027405481,train,little chance,probable,There is little chance that either 'Brian is a frog' or 'Julius is gray' but not both.,It is probable that either 'Brian is a frog' or 'Julius is gray' but not both.,0,Either 'Brian is a frog' or 'Julius is gray' but not both. It is probable that Sandra is in the kitchen. There is little chance that Lily is white. It is probably not the case that Emily is a mouse. It is probable that if 'Emily is a mouse and Lily is white' then Brian is gray. We believe that if 'Emily is a mouse and Lily is white' then Mary went to the bedroom. We believe that if 'Emily is a mouse and Sandra is in the kitchen' then Bill moved to the office.,There is little chance that either 'Lily is white' or 'Brian 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.25::factC. %hop1 0.7::factX:-and(factC,factB). 0.75::factY:-and(factC,factB). 0.75::factZ:-and(factC,factA). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.08250000000000002,0.09561912382476495,train,little chance,we believe,There is little chance that either 'Lily is white' or 'Brian is gray' but not both.,We believe that either 'Lily is white' or 'Brian is gray' but not both.,1,Either 'Lily is white' or 'Brian is gray' but not both. Chances are slight that Sandra left the milk. It is highly likely that Greg is gray. Chances are slight that Bernhard is yellow. There is little chance that if 'Sandra left the milk and Greg is gray' then Mary went to the bedroom. It is certain that if 'Bernhard is yellow' or 'Sandra left the milk' or both then Lily is a frog. It is probably the case that if either 'Sandra left the milk' or 'Bernhard is yellow' but not both then John put down the milk.,We doubt that 'Greg is gray' 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 0.1::factA. 0.9::factB. 0.1::factC. %hop1 0.1::factX:-and(factA,factB). 1.0::factY:-or(factC,factA). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.9126000000000001,0.5983196639327866,train,highly likely,we doubt,It is highly likely that 'Greg is gray' or 'John put down the milk' or both.,We doubt that 'Greg is gray' or 'John put down the milk' or both.,0,'Greg is gray' or 'John put down the milk' or both. There is a better than even chance that Winona is a wolf. There is a very good chance that Jessica is a cat. It is probable that Brian is green. It is improbable that if either 'Jessica is a cat' or 'Brian is green' but not both then Lily is gray. It is probably not the case that if 'Winona is a wolf and Jessica is a cat' then Mary left the football. There is little chance that if 'Jessica is a cat' or 'Winona is a wolf' or both then Julius is a lion.,We doubt that 'Julius is a lion' 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.6::factA. 0.8::factB. 0.7::factC. %hop1 0.1::factX:-xor(factB,factC). 0.25::factY:-and(factA,factB). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.2,0.504500900180036,train,we doubt,probably,We doubt that 'Julius is a lion' or 'Mary left the football' or both.,It is probably the case that 'Julius is a lion' or 'Mary left the football' or both.,1,'Julius is a lion' or 'Mary left the football' or both. We doubt that Greg is gray. It is impossible that Bill went to the bedroom. It is probable that Julius is a rhino. Chances are about even that if 'Julius is a rhino and Greg is gray' then Jason is tired. It is likely that if 'Julius is a rhino and Greg is gray' then Brian is a swan. It is certain that if either 'Bill went to the bedroom' or 'Greg is gray' but not both then John left the apple.,We doubt that 'Julius is a rhino' or 'Greg 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.2::factA. 0.0::factB. 0.7::factC. %hop1 0.5::factX:-and(factC,factA). 0.7::factY:-and(factC,factA). 1.0::factZ:-xor(factB,factA). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.7599999999999999,0.20764152830566113,train,we believe,we doubt,We believe that 'Julius is a rhino' or 'Greg is gray' or both.,We doubt that 'Julius is a rhino' or 'Greg is gray' or both.,0,'Julius is a rhino' or 'Greg is gray' or both. There is almost no chance that Sandra dropped the milk. We believe that Greg is yellow. It is highly unlikely that Gertrude is a mouse. It is likely that if either 'Gertrude is a mouse' or 'Greg is yellow' but not both then Julius is green. It is highly likely that if 'Gertrude is a mouse and Greg is yellow' then Brian is a swan. It is highly unlikely that if either 'Greg is yellow' or 'Sandra dropped the milk' but not both then John got the milk.,It is improbable that 'Gertrude is a mouse' or 'John 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.02::factA. 0.75::factB. 0.05::factC. %hop1 0.7::factX:-xor(factC,factB). 0.9::factY:-and(factC,factB). 0.05::factZ:-xor(factB,factA). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.08515,0.4052810562112423,train,improbable,probably,It is improbable that 'Gertrude is a mouse' or 'John got the milk' or both.,It is probably the case that 'Gertrude is a mouse' or 'John got the milk' or both.,1,'Gertrude is a mouse' or 'John got the milk' or both. Chances are about even that Emily is a sheep. Chances are slight that Fred left the football. Chances are about even that Brian is a frog. It is almost certain that if 'Fred left the football' or 'Emily is a sheep' or both then John went to the bedroom. We doubt that if either 'Brian is a frog' or 'Fred left the football' but not both then Yann is hungry. It is certain that if 'Brian is a frog and Emily is a sheep' then Jeff moved to the garden.,It is highly unlikely that 'Fred left the football' or 'Brian 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.5::factA. 0.1::factB. 0.5::factC. %hop1 0.95::factX:-or(factB,factA). 0.2::factY:-xor(factC,factB). 1.0::factZ:-and(factC,factA). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.55,0.6809361872374475,train,better than even,highly unlikely,There is a better than even chance that 'Fred left the football' or 'Brian is a frog' or both.,It is highly unlikely that 'Fred left the football' or 'Brian is a frog' or both.,0,'Fred left the football' or 'Brian is a frog' or both. We believe that John went to the office. It is likely that Bernhard is yellow. Chances are about even that Julius is white. It is probably the case that if 'John went to the office' or 'Bernhard is yellow' or both then Mary grabbed the milk. It is likely that if either 'Bernhard is yellow' or 'Julius is white' but not both then Sandra left the milk. There is a better than even chance that if either 'Bernhard is yellow' or 'Julius is white' but not both then Jessica is a mouse.,It is probably not the case that 'John went to the office 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.75::factA. 0.7::factB. 0.5::factC. %hop1 0.7::factX:-or(factA,factB). 0.7::factY:-xor(factB,factC). 0.6::factZ:-xor(factB,factC). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.2625,0.004200840168033607,train,probably not,we believe,It is probably not the case that 'John went to the office and Sandra left the milk'.,We believe that 'John went to the office and Sandra left the milk'.,1,'John went to the office and Sandra left the milk'. It is highly unlikely that John took the football. It is probable that Bernhard is yellow. It is improbable that Mary dropped the apple. Chances are slight that if 'Bernhard is yellow' or 'Mary dropped the apple' or both then Fred went to the garden. We believe that if either 'Bernhard is yellow' or 'Mary dropped the apple' but not both then Julius is a frog. It is unlikely that if either 'Bernhard is yellow' or 'Mary dropped the apple' but not both then Lily is a rhino.,It is almost certain that 'John took the football 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.05::factA. 0.7::factB. 0.1::factC. %hop1 0.1::factX:-or(factB,factC). 0.75::factY:-xor(factB,factC). 0.2::factZ:-xor(factB,factC). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.006600000000000003,0.1950390078015603,train,impossible,almost certain,It is impossible that 'John took the football and Lily is a rhino'.,It is almost certain that 'John took the football and Lily is a rhino'.,0,'John took the football and Lily is a rhino'. It is highly likely that Lily is white. It is highly unlikely that Sandra dropped the milk. There is almost no chance that Mary took the football. It is highly unlikely that if 'Lily is white and Sandra dropped the milk' then Greg is a lion. It is highly unlikely that if 'Sandra dropped the milk and Mary took the football' then John discarded the apple. It is probably the case that if 'Lily is white and Mary took the football' then Bernhard is green.,It is highly likely that either 'John discarded the apple' or 'Lily 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.9::factA. 0.05::factB. 0.02::factC. %hop1 0.05::factX:-and(factA,factB). 0.05::factY:-and(factB,factC). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.89996,0.013602720544108823,train,highly likely,chances are slight,It is highly likely that either 'John discarded the apple' or 'Lily is white' but not both.,Chances are slight that either 'John discarded the apple' or 'Lily is white' but not both.,1,Either 'John discarded the apple' or 'Lily is white' but not both. It is probably the case that Julius is a rhino. We believe that Emily is a mouse. It is probably the case that Mary moved to the office. There is little chance that if either 'Mary moved to the office' or 'Emily is a mouse' but not both then Brian is a frog. Chances are about even that if either 'Mary moved to the office' or 'Julius is a rhino' but not both then Jeff went to the bedroom. It is certain that if either 'Julius is a rhino' or 'Emily is a mouse' but not both then Bernhard is a frog.,It is highly unlikely that 'Mary moved to the office 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.7::factA. 0.75::factB. 0.7::factC. %hop1 0.1::factX:-xor(factC,factB). 0.5::factY:-xor(factC,factA). 1.0::factZ:-xor(factA,factB). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.525,0.27265453090618125,train,about even,highly unlikely,Chances are about even that 'Mary moved to the office and Emily is a mouse'.,It is highly unlikely that 'Mary moved to the office and Emily is a mouse'.,0,'Mary moved to the office and Emily is a mouse'. We doubt that Lily is a rhino. It is improbable that Greg is gray. It is impossible that John went to the office. It is unlikely that if either 'Greg is gray' or 'Lily is a rhino' but not both then Mary left the football. There is little chance that if 'Lily is a rhino' or 'John went to the office' or both then Winona is a sheep. It is highly likely that if 'John went to the office and Greg is gray' then Brian is a frog.,There is a better than even chance that 'Brian is a frog' 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.2::factA. 0.1::factB. 0.0::factC. %hop1 0.2::factX:-xor(factB,factA). 0.1::factY:-or(factA,factC). 0.9::factZ:-and(factC,factB). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.05200000000000002,0.021404280856171236,train,highly unlikely,better than even,It is highly unlikely that 'Brian is a frog' or 'Mary left the football' or both.,There is a better than even chance that 'Brian is a frog' or 'Mary left the football' or both.,0,'Brian is a frog' or 'Mary left the football' or both. It is certain that Sandra dropped the milk. It is impossible that Greg is a rhino. It is almost certain that Fred is in the office. It is unlikely that if 'Sandra dropped the milk' or 'Greg is a rhino' or both then Mary took the football. It is probably the case that if 'Sandra dropped the milk and Greg is a rhino' then Bernhard is a lion. It is unlikely that if 'Sandra dropped the milk and Greg is a rhino' then Gertrude is a mouse.,It is almost certain that 'Fred is in the office' or 'Mary took 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 1.0::factA. 0.0::factB. 0.95::factC. %hop1 0.2::factX:-or(factA,factB). 0.7::factY:-and(factA,factB). 0.2::factZ:-and(factA,factB). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.96,0.1858371674334867,train,almost certain,unlikely,It is almost certain that 'Fred is in the office' or 'Mary took the football' or both.,It is unlikely that 'Fred is in the office' or 'Mary took the football' or both.,1,'Fred is in the office' or 'Mary took the football' or both. There is little chance that John got the milk. It is probable that Sandra left the milk. It is likely that Bernhard is a swan. It is certain that if either 'Bernhard is a swan' or 'John got the milk' but not both then Jeff moved to the garden. It is almost certain that if either 'Sandra left the milk' or 'John got the milk' but not both then Emily is a mouse. It is likely that if 'Sandra left the milk and Bernhard is a swan' then Brian is a lion.,There is little chance that 'Emily is a mouse' 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.1::factA. 0.7::factB. 0.7::factC. %hop1 1.0::factX:-xor(factC,factA). 0.95::factY:-xor(factB,factA). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.8880999999999999,0.5091018203640728,train,highly likely,little chance,It is highly likely that 'Emily is a mouse' or 'Bernhard is a swan' or both.,There is little chance that 'Emily is a mouse' or 'Bernhard is a swan' or both.,0,'Emily is a mouse' or 'Bernhard is a swan' or both. It is certain that Julius is a lion. It is probable that Mary went to the office. It is likely that Daniel left the apple. It is likely that if 'Julius is a lion' or 'Mary went to the office' or both then Bernhard is a frog. There is a very good chance that if 'Mary went to the office and Daniel left the apple' then Greg is a swan. Chances are slight that if either 'Mary went to the office' or 'Julius is a lion' but not both then Lily is yellow.,It is almost certain that either 'Bernhard is a frog' 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 1.0::factA. 0.7::factB. 0.7::factC. %hop1 0.7::factX:-or(factA,factB). 0.8::factY:-and(factB,factC). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.5432,0.1230246049209842,train,about even,almost certain,Chances are about even that either 'Bernhard is a frog' or 'Greg is a swan' but not both.,It is almost certain that either 'Bernhard is a frog' or 'Greg is a swan' but not both.,0,Either 'Bernhard is a frog' or 'Greg is a swan' but not both. It is likely that Greg is a lion. It is probable that Yann is thirsty. There is little chance that Daniel left the apple. We believe that if 'Daniel left the apple' or 'Yann is thirsty' or both then Julius is a rhino. It is almost certain that if either 'Greg is a lion' or 'Yann is thirsty' but not both then Lily is green. It is certain that if either 'Greg is a lion' or 'Daniel left the apple' but not both then Mary got the football.,It is probable that either 'Mary got the football' or 'Daniel 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.7::factB. 0.1::factC. %hop1 0.75::factX:-or(factC,factB). 0.95::factY:-xor(factA,factB). 1.0::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.7,0.16483296659331867,train,probable,almost no chance,It is probable that either 'Mary got the football' or 'Daniel left the apple' but not both.,There is almost no chance that either 'Mary got the football' or 'Daniel left the apple' but not both.,1,Either 'Mary got the football' or 'Daniel left the apple' but not both. It is certain that Daniel dropped the apple. There is a very good chance that Jessica is a cat. It is unlikely that Mary moved to the garden. Chances are about even that if either 'Mary moved to the garden' or 'Jessica is a cat' but not both then Bernhard is green. It is highly unlikely that if either 'Jessica is a cat' or 'Daniel dropped the apple' but not both then Lily is yellow. There is almost no chance that if either 'Mary moved to the garden' or 'Daniel dropped the apple' but not both then Julius is gray.,It is impossible that 'Bernhard is green 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 1.0::factA. 0.8::factB. 0.2::factC. %hop1 0.5::factX:-xor(factC,factB). 0.05::factY:-xor(factB,factA). 0.02::factZ:-xor(factC,factA). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.0010000000000000002,0.6555311062212442,train,impossible,probable,It is impossible that 'Bernhard is green and Lily is yellow'.,It is probable that 'Bernhard is green and Lily is yellow'.,1,'Bernhard is green and Lily is yellow'. It is highly likely that Fred discarded the apple. We doubt that Brian is a rhino. It is highly unlikely that Julius is green. It is probably the case that if either 'Fred discarded the apple' or 'Brian is a rhino' but not both then Gertrude is a wolf. It is likely that if 'Brian is a rhino and Julius is green' then Mary grabbed the milk. It is unlikely that if 'Julius is green' or 'Fred discarded the apple' or both then Bernhard is a swan.,It is highly unlikely that 'Bernhard 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.9::factA. 0.2::factB. 0.05::factC. %hop1 0.7::factX:-xor(factA,factB). 0.7::factY:-and(factB,factC). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.03620000000000002,0.6031206241248249,train,highly unlikely,almost certain,It is highly unlikely that 'Bernhard is a swan and Brian is a rhino'.,It is almost certain that 'Bernhard is a swan and Brian is a rhino'.,1,'Bernhard is a swan and Brian is a rhino'. It is highly likely that Lily is a swan. We believe that John put down the apple. There is a very good chance that Bill went to the bedroom. It is certain that if 'Bill went to the bedroom' or 'Lily is a swan' or both then Jason is thirsty. It is probably the case that if 'John put down the apple and Lily is a swan' then Sandra took the milk. Chances are slight that if 'John put down the apple' or 'Lily is a swan' or both then Julius is yellow.,We doubt that either 'Jason is thirsty' or 'Bill 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.75::factB. 0.8::factC. %hop1 1.0::factX:-or(factC,factA). 0.7::factY:-and(factB,factA). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.17999999999999997,0.03060612122424485,train,we doubt,probably,We doubt that either 'Jason is thirsty' or 'Bill went to the bedroom' but not both.,It is probably the case that either 'Jason is thirsty' or 'Bill went to the bedroom' but not both.,1,Either 'Jason is thirsty' or 'Bill went to the bedroom' but not both. It is probably the case that Mary put down the apple. It is almost certain that Sandra grabbed the milk. There is a better than even chance that John went to the garden. It is probably not the case that if 'Sandra grabbed the milk' or 'Mary put down the apple' or both then Jessica is a cat. It is probably the case that if 'John went to the garden' or 'Sandra grabbed the milk' or both then Julius is a rhino. It is impossible that if 'Sandra grabbed the milk and Mary put down the apple' then Greg is a swan.,It is impossible that 'Sandra grabbed the milk and Mary put down 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.7::factA. 0.95::factB. 0.6::factC. %hop1 0.25::factX:-or(factB,factA). 0.7::factY:-or(factC,factB). 0.0::factZ:-and(factB,factA). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.6649999999999999,0.6497299459891979,train,probable,impossible,It is probable that 'Sandra grabbed the milk and Mary put down the apple'.,It is impossible that 'Sandra grabbed the milk and Mary put down the apple'.,0,'Sandra grabbed the milk and Mary put down the apple'. It is highly unlikely that Greg is white. It is unlikely that Jeff dropped the apple. Chances are slight that Mary went to the hallway. There is little chance that if either 'Mary went to the hallway' or 'Greg is white' but not both then Julius is white. It is highly unlikely that if 'Greg is white' or 'Mary went to the hallway' or both then Brian is yellow. There is a very good chance that if 'Mary went to the hallway' or 'Jeff dropped the apple' or both then Bernhard is a swan.,It is impossible that 'Julius is white 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.05::factA. 0.2::factB. 0.1::factC. %hop1 0.1::factX:-xor(factC,factA). 0.05::factY:-or(factA,factC). 0.8::factZ:-or(factC,factB). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.0007000000000000008,0.14782956591318264,train,impossible,probably,It is impossible that 'Julius is white and Brian is yellow'.,It is probably the case that 'Julius is white and Brian is yellow'.,1,'Julius is white and Brian is yellow'. We believe that John moved to the office. It is probably not the case that Mary went to the office. It is impossible that Julius is yellow. We doubt that if 'Julius is yellow and John moved to the office' then Lily is a swan. There is almost no chance that if either 'John moved to the office' or 'Mary went to the office' but not both then Brian is a rhino. It is almost certain that if 'John moved to the office and Julius is yellow' then Greg is white.,It is unlikely that 'John moved to the office 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.75::factA. 0.25::factB. 0.0::factC. %hop1 0.2::factX:-and(factC,factA). 0.02::factY:-xor(factA,factB). 0.95::factZ:-and(factA,factC). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.1875,0.1184236847369474,train,unlikely,we believe,It is unlikely that 'John moved to the office and Mary went to the office'.,We believe that 'John moved to the office and Mary went to the office'.,1,'John moved to the office and Mary went to the office'. It is probable that Jeff moved to the garden. It is improbable that Greg is yellow. It is certain that Brian is a frog. We believe that if 'Brian is a frog and Greg is yellow' then Lily is a lion. It is highly likely that if either 'Jeff moved to the garden' or 'Brian is a frog' but not both then Emily is a mouse. There is little chance that if either 'Greg is yellow' or 'Brian is a frog' but not both then Bill left the milk.,There is almost no chance that 'Emily is a mouse and Bill 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.1::factB. 1.0::factC. %hop1 0.75::factX:-and(factC,factB). 0.9::factY:-xor(factA,factC). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.024300000000000006,0.5605121024204841,train,almost no chance,probable,There is almost no chance that 'Emily is a mouse and Bill left the milk'.,It is probable that 'Emily is a mouse and Bill left the milk'.,1,'Emily is a mouse and Bill left the milk'. It is certain that Greg is a frog. We believe that Brian is white. It is impossible that Jessica is a mouse. It is certain that if 'Jessica is a mouse and Brian is white' then Fred is in the school. There is little chance that if 'Greg is a frog and Jessica is a mouse' then Bernhard is a swan. It is probable that if 'Greg is a frog' or 'Jessica is a mouse' or both then Lily is green.,It is probable that 'Lily 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 1.0::factA. 0.75::factB. 0.0::factC. %hop1 1.0::factX:-and(factC,factB). 0.1::factY:-and(factA,factC). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.0,0.21784356871374275,train,impossible,probable,It is impossible that 'Lily is green and Jessica is a mouse'.,It is probable that 'Lily is green and Jessica is a mouse'.,0,'Lily is green and Jessica is a mouse'. It is probably not the case that Lily is a frog. It is impossible that Greg is a rhino. There is little chance that Mary dropped the milk. It is probably not the case that if 'Lily is a frog' or 'Mary dropped the milk' or both then Emily is a wolf. There is a better than even chance that if 'Lily is a frog and Greg is a rhino' then John picked up the apple. It is improbable that if either 'Lily is a frog' or 'Mary dropped the milk' but not both then Brian is a swan.,It is impossible that 'Greg is a rhino 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.25::factA. 0.0::factB. 0.1::factC. %hop1 0.25::factX:-or(factA,factC). 0.6::factY:-and(factA,factB). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.0,0.785757151430286,train,impossible,probably,It is impossible that 'Greg is a rhino and John picked up the apple'.,It is probably the case that 'Greg is a rhino and John picked up the apple'.,1,'Greg is a rhino and John picked up the apple'. We doubt that Mary dropped the apple. There is little chance that Julius is yellow. There is a very good chance that Emily is a sheep. It is almost certain that if 'Mary dropped the apple' or 'Julius is yellow' or both then Lily is a frog. There is almost no chance that if either 'Mary dropped the apple' or 'Emily is a sheep' but not both then John moved to the office. There is almost no chance that if 'Mary dropped the apple' or 'Emily is a sheep' or both then Bernhard is a swan.,We doubt that either 'Bernhard is a swan' 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.2::factA. 0.1::factB. 0.8::factC. %hop1 0.95::factX:-or(factA,factB). 0.02::factY:-xor(factA,factC). 0.02::factZ:-or(factA,factC). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.20880000000000004,0.01920384076815363,train,we doubt,certain,We doubt that either 'Bernhard is a swan' or 'Mary dropped the apple' but not both.,It is certain that either 'Bernhard is a swan' or 'Mary dropped the apple' but not both.,1,Either 'Bernhard is a swan' or 'Mary dropped the apple' but not both. Chances are slight that Greg is a swan. We believe that Gertrude is a mouse. It is probable that Bernhard is white. It is highly unlikely that if 'Gertrude is a mouse and Greg is a swan' then Lily is green. We believe that if either 'Greg is a swan' or 'Bernhard is white' but not both then Sandra got the milk. Chances are about even that if 'Gertrude is a mouse' or 'Greg is a swan' or both then John went to the office.,Chances are about even that either 'John went to the office' 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.75::factB. 0.7::factC. %hop1 0.05::factX:-and(factB,factA). 0.75::factY:-xor(factA,factC). 0.5::factZ:-or(factB,factA). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.3875,0.1902380476095219,train,about even,certain,Chances are about even that either 'John went to the office' or 'Greg is a swan' but not both.,It is certain that either 'John went to the office' or 'Greg is a swan' but not both.,1,Either 'John went to the office' or 'Greg is a swan' but not both. We doubt that Julius is a swan. There is a better than even chance that Bernhard is a frog. There is a better than even chance that Lily is a rhino. It is almost certain that if either 'Julius is a swan' or 'Lily is a rhino' but not both then Emily is a wolf. There is a very good chance that if 'Lily is a rhino' or 'Bernhard is a frog' or both then John went to the kitchen. We believe that if 'Bernhard is a frog and Julius is a swan' then Jessica is a sheep.,Chances are about even that 'Lily is a rhino 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.2::factA. 0.6::factB. 0.6::factC. %hop1 0.95::factX:-xor(factA,factC). 0.8::factY:-or(factC,factB). 0.75::factZ:-and(factB,factA). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.45599999999999996,0.14342868573714743,train,about even,almost certain,Chances are about even that 'Lily is a rhino and Emily is a wolf'.,It is almost certain that 'Lily is a rhino and Emily is a wolf'.,1,'Lily is a rhino and Emily is a wolf'. It is probably not the case that Fred went to the garden. It is likely that Brian is green. It is unlikely that Jeff discarded the milk. It is certain that if 'Jeff discarded the milk and Fred went to the garden' then John moved to the office. We doubt that if 'Fred went to the garden' or 'Jeff discarded the milk' or both then Emily is a wolf. We doubt that if either 'Fred went to the garden' or 'Jeff discarded the milk' but not both then Julius is a lion.,We believe that 'Brian is green' or 'Fred 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.25::factA. 0.7::factB. 0.2::factC. %hop1 1.0::factX:-and(factC,factA). 0.2::factY:-or(factA,factC). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.775,0.2638527705541108,train,we believe,we doubt,We believe that 'Brian is green' or 'Fred went to the garden' or both.,We doubt that 'Brian is green' or 'Fred went to the garden' or both.,1,'Brian is green' or 'Fred went to the garden' or both. It is highly likely that John took the football. It is probable that Daniel dropped the apple. It is probably not the case that Mary went to the hallway. There is almost no chance that if 'John took the football and Mary went to the hallway' then Jeff discarded the milk. Chances are about even that if 'Daniel dropped the apple' or 'John took the football' or both then Lily is yellow. There is almost no chance that if 'Daniel dropped the apple' or 'John took the football' or both then Julius is gray.,Chances are about even that 'Lily 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.7::factB. 0.25::factC. %hop1 0.02::factX:-and(factA,factC). 0.5::factY:-or(factB,factA). 0.02::factZ:-or(factB,factA). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.49470000000000003,0.21464292858571715,train,about even,almost certain,Chances are about even that 'Lily is yellow' or 'Julius is gray' or both.,It is almost certain that 'Lily is yellow' or 'Julius is gray' or both.,1,'Lily is yellow' or 'Julius is gray' or both. We believe that John went to the garden. It is probably the case that Sandra left the football. It is highly likely that Julius is a frog. It is highly unlikely that if either 'Sandra left the football' or 'Julius is a frog' but not both then Gertrude is a sheep. It is almost certain that if 'Sandra left the football' or 'John went to the garden' or both then Greg is a rhino. It is almost certain that if either 'John went to the garden' or 'Julius is a frog' but not both then Daniel took the milk.,There is a very good chance that 'Julius is a frog 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.75::factA. 0.7::factB. 0.9::factC. %hop1 0.05::factX:-xor(factB,factC). 0.95::factY:-or(factB,factA). 0.95::factZ:-xor(factA,factC). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.013500000000000015,0.05401080216043209,train,almost no chance,very good chance,There is almost no chance that 'Julius is a frog and Gertrude is a sheep'.,There is a very good chance that 'Julius is a frog and Gertrude is a sheep'.,0,'Julius is a frog and Gertrude is a sheep'. It is probably not the case that Brian is green. There is little chance that Greg is gray. It is probably not the case that Sandra took the milk. It is likely that if 'Brian is green and Greg is gray' then John went to the garden. It is impossible that if 'Greg is gray and Brian is green' then Gertrude is a sheep. We believe that if 'Sandra took the milk' or 'Greg is gray' or both then Emily is a wolf.,There is almost no chance that either 'Brian is green' 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.25::factA. 0.1::factB. 0.25::factC. %hop1 0.7::factX:-and(factA,factB). 0.0::factY:-and(factB,factA). 0.75::factZ:-or(factC,factB). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.375,0.01840368073614723,train,about even,almost no chance,Chances are about even that either 'Brian is green' or 'Sandra took the milk' but not both.,There is almost no chance that either 'Brian is green' or 'Sandra took the milk' but not both.,0,Either 'Brian is green' or 'Sandra took the milk' but not both. Chances are slight that Brian is a swan. We believe that Jessica is a mouse. It is almost certain that Gertrude is a cat. It is almost certain that if 'Gertrude is a cat' or 'Jessica is a mouse' or both then Lily is a frog. There is almost no chance that if either 'Brian is a swan' or 'Jessica is a mouse' but not both then Mary went to the bedroom. It is improbable that if 'Gertrude is a cat' or 'Jessica is a mouse' or both then Sandra grabbed the apple.,We believe that 'Jessica is a mouse' or 'Mary 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.1::factA. 0.75::factB. 0.95::factC. %hop1 0.95::factX:-or(factC,factB). 0.02::factY:-xor(factA,factB). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.7505000000000001,0.41068213642728546,train,we believe,we doubt,We believe that 'Jessica is a mouse' or 'Mary went to the bedroom' or both.,We doubt that 'Jessica is a mouse' or 'Mary went to the bedroom' or both.,1,'Jessica is a mouse' or 'Mary went to the bedroom' or both. Chances are about even that Lily is a lion. It is highly likely that Greg is yellow. It is likely that Mary took the football. It is impossible that if 'Greg is yellow and Mary took the football' then Julius is a frog. We believe that if 'Greg is yellow' or 'Mary took the football' or both then Emily is a wolf. It is unlikely that if 'Greg is yellow and Lily is a lion' then Brian is a swan.,Chances are slight that 'Brian 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.5::factA. 0.9::factB. 0.7::factC. %hop1 0.0::factX:-and(factB,factC). 0.75::factY:-or(factB,factC). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.09000000000000001,0.4224844968993799,train,chances are slight,probably,Chances are slight that 'Brian is a swan and Lily is a lion'.,It is probably the case that 'Brian is a swan and Lily is a lion'.,1,'Brian is a swan and Lily is a lion'. It is likely that Jessica is a mouse. There is a very good chance that Brian is white. It is highly likely that John went to the hallway. It is probable that if 'Brian is white' or 'Jessica is a mouse' or both then Bernhard is gray. It is highly likely that if 'John went to the hallway and Brian is white' then Greg is a rhino. It is probable that if 'Jessica is a mouse and John went to the hallway' then Mary dropped the apple.,There is a very good chance that 'Bernhard is gray' 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.7::factA. 0.8::factB. 0.9::factC. %hop1 0.7::factX:-or(factB,factA). 0.9::factY:-and(factC,factB). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.7902999999999999,0.7639527905581116,train,very good chance,chances are slight,There is a very good chance that 'Bernhard is gray' or 'Mary dropped the apple' or both.,Chances are slight that 'Bernhard is gray' or 'Mary dropped the apple' or both.,1,'Bernhard is gray' or 'Mary dropped the apple' or both. There is almost no chance that Jessica is a cat. Chances are about even that Mary left the football. It is improbable that Julius is a frog. It is improbable that if either 'Jessica is a cat' or 'Julius is a frog' but not both then Sandra dropped the milk. Chances are about even that if 'Julius is a frog and Jessica is a cat' then Brian is a swan. It is impossible that if either 'Jessica is a cat' or 'Mary left the football' but not both then Bernhard is white.,There is almost no chance that 'Brian is a swan' 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.02::factA. 0.5::factB. 0.1::factC. %hop1 0.1::factX:-xor(factA,factC). 0.5::factY:-and(factC,factA). 0.0::factZ:-xor(factA,factB). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.5005,0.6117223444688937,train,about even,almost no chance,Chances are about even that 'Brian is a swan' or 'Mary left the football' or both.,There is almost no chance that 'Brian is a swan' or 'Mary left the football' or both.,0,'Brian is a swan' or 'Mary left the football' or both. There is a better than even chance that Bernhard is gray. There is almost no chance that Julius is a lion. It is highly unlikely that Jason is tired. It is almost certain that if either 'Bernhard is gray' or 'Julius is a lion' but not both then Lily is yellow. It is certain that if 'Bernhard is gray and Jason is tired' then John grabbed the apple. It is certain that if 'Bernhard is gray' or 'Jason is tired' or both then Greg is a frog.,It is impossible that 'Jason is tired 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.02::factB. 0.05::factC. %hop1 0.95::factX:-xor(factA,factB). 1.0::factY:-and(factA,factC). 1.0::factZ:-or(factA,factC). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0010000000000000002,0.0014002800560112022,train,impossible,highly likely,It is impossible that 'Jason is tired and Julius is a lion'.,It is highly likely that 'Jason is tired and Julius is a lion'.,1,'Jason is tired and Julius is a lion'. It is highly likely that Brian is yellow. We doubt that Jessica is a cat. There is a better than even chance that Bernhard is green. It is probable that if either 'Jessica is a cat' or 'Brian is yellow' but not both then Sandra took the milk. It is almost certain that if 'Jessica is a cat and Bernhard is green' then Mary got the apple. There is little chance that if 'Brian is yellow and Bernhard is green' then Antoine is hungry.,There is a better than even chance that 'Antoine is hungry 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.2::factB. 0.6::factC. %hop1 0.7::factX:-xor(factB,factA). 0.95::factY:-and(factB,factC). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.05400000000000002,0.717743548709742,train,highly unlikely,better than even,It is highly unlikely that 'Antoine is hungry and Brian is yellow'.,There is a better than even chance that 'Antoine is hungry and Brian is yellow'.,0,'Antoine is hungry and Brian is yellow'. We believe that John dropped the apple. There is a very good chance that Julius is a frog. It is highly likely that Jessica is a cat. It is almost certain that if either 'Jessica is a cat' or 'Julius is a frog' but not both then Lily is yellow. It is highly unlikely that if either 'Jessica is a cat' or 'John dropped the apple' but not both then Greg is gray. There is little chance that if 'Julius is a frog' or 'Jessica is a cat' or both then Mary went to the garden.,It is impossible that 'Greg is gray 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.8::factB. 0.9::factC. %hop1 0.95::factX:-xor(factC,factB). 0.05::factY:-xor(factC,factA). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.0049875,0.2468493698739748,train,impossible,very good chance,It is impossible that 'Greg is gray and Lily is yellow'.,There is a very good chance that 'Greg is gray and Lily is yellow'.,1,'Greg is gray and Lily is yellow'. It is highly unlikely that Mary got the football. It is impossible that Sandra grabbed the apple. We believe that Brian is a swan. We doubt that if 'Mary got the football' or 'Sandra grabbed the apple' or both then Winona is a mouse. There is a very good chance that if 'Brian is a swan and Mary got the football' then John went to the office. Chances are slight that if 'Mary got the football and Brian is a swan' then Lily is a frog.,It is highly unlikely that either 'Mary got the football' 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.05::factA. 0.0::factB. 0.75::factC. %hop1 0.2::factX:-or(factA,factB). 0.8::factY:-and(factC,factA). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.046250000000000006,0.5767153430686137,train,highly unlikely,probable,It is highly unlikely that either 'Mary got the football' or 'Lily is a frog' but not both.,It is probable that either 'Mary got the football' or 'Lily is a frog' but not both.,1,Either 'Mary got the football' or 'Lily is a frog' but not both. It is almost certain that Julius is a lion. It is probably not the case that Daniel took the football. It is probably not the case that Brian is a frog. It is highly unlikely that if 'Brian is a frog and Julius is a lion' then Mary is in the school. There is little chance that if 'Daniel took the football and Brian is a frog' then Sandra dropped the milk. It is impossible that if 'Daniel took the football and Julius is a lion' then Lily is green.,It is likely that either 'Julius is a lion' or 'Daniel 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.95::factA. 0.25::factB. 0.25::factC. %hop1 0.05::factX:-and(factC,factA). 0.1::factY:-and(factB,factC). 0.0::factZ:-and(factB,factA). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.725,0.015403080616123225,train,likely,impossible,It is likely that either 'Julius is a lion' or 'Daniel took the football' but not both.,It is impossible that either 'Julius is a lion' or 'Daniel took the football' but not both.,1,Either 'Julius is a lion' or 'Daniel took the football' but not both. Chances are about even that Mary got the apple. Chances are about even that Greg is a lion. It is improbable that Jessica is a cat. There is little chance that if 'Mary got the apple and Greg is a lion' then Lily is a frog. Chances are slight that if either 'Jessica is a cat' or 'Mary got the apple' but not both then John moved to the garden. It is probable that if 'Greg is a lion' or 'Jessica is a cat' or both then Emily is a mouse.,It is probably not the case that either 'Emily is a mouse' 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.5::factA. 0.5::factB. 0.1::factC. %hop1 0.1::factX:-and(factA,factB). 0.1::factY:-xor(factC,factA). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.375,0.27245449089817964,train,probably not,certain,It is probably not the case that either 'Emily is a mouse' or 'Lily is a frog' but not both.,It is certain that either 'Emily is a mouse' or 'Lily is a frog' but not both.,1,Either 'Emily is a mouse' or 'Lily is a frog' but not both. It is certain that John went to the hallway. There is a very good chance that Mary took the milk. There is a better than even chance that Sumit is tired. It is improbable that if 'Mary took the milk' or 'John went to the hallway' or both then Bernhard is yellow. It is almost certain that if 'Mary took the milk and Sumit is tired' then Julius is green. There is a very good chance that if 'Mary took the milk' or 'Sumit is tired' or both then Jeff moved to the garden.,There is a better than even chance that either 'Sumit is tired' 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 1.0::factA. 0.8::factB. 0.6::factC. %hop1 0.1::factX:-or(factB,factA). 0.95::factY:-and(factB,factC). 0.8::factZ:-or(factB,factC). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.58,0.28585717143428685,train,better than even,impossible,There is a better than even chance that either 'Sumit is tired' or 'Bernhard is yellow' but not both.,It is impossible that either 'Sumit is tired' or 'Bernhard is yellow' but not both.,1,Either 'Sumit is tired' or 'Bernhard is yellow' but not both. We believe that Jessica is a wolf. It is impossible that Winona is a sheep. There is a better than even chance that Brian is green. It is likely that if 'Jessica is a wolf and Brian is green' then Daniel left the apple. It is almost certain that if 'Winona is a sheep and Jessica is a wolf' then John went to the garden. It is certain that if 'Jessica is a wolf and Brian is green' then Mary put down the milk.,We believe that either 'Jessica is a wolf' or 'John 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.0::factB. 0.6::factC. %hop1 0.7::factX:-and(factA,factC). 0.95::factY:-and(factB,factA). 1.0::factZ:-and(factA,factC). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.75,0.5807161432286457,train,we believe,almost no chance,We believe that either 'Jessica is a wolf' or 'John went to the garden' but not both.,There is almost no chance that either 'Jessica is a wolf' or 'John went to the garden' but not both.,1,Either 'Jessica is a wolf' or 'John went to the garden' but not both. It is probably the case that Lily is a lion. It is impossible that Brian is white. It is impossible that John dropped the apple. It is unlikely that if 'John dropped the apple and Brian is white' then Jason is bored. There is a better than even chance that if 'Lily is a lion and Brian is white' then Mary picked up the milk. It is impossible that if 'Brian is white' or 'John dropped the apple' or both then Jessica is a cat.,It is likely that 'John dropped the apple' 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.7::factA. 0.0::factB. 0.0::factC. %hop1 0.2::factX:-and(factC,factB). 0.6::factY:-and(factA,factB). 0.0::factZ:-or(factB,factC). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.0,0.015203040608121624,train,impossible,likely,It is impossible that 'John dropped the apple' or 'Jason is bored' or both.,It is likely that 'John dropped the apple' or 'Jason is bored' or both.,0,'John dropped the apple' or 'Jason is bored' or both. There is a very good chance that Bernhard is a swan. We doubt that Julius is white. There is a better than even chance that Fred went to the office. There is a very good chance that if either 'Julius is white' or 'Bernhard is a swan' but not both then Brian is a frog. There is almost no chance that if 'Julius is white and Fred went to the office' then Greg is a lion. It is improbable that if 'Fred went to the office and Bernhard is a swan' then John moved to the garden.,We believe that 'Brian is a frog 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.8::factA. 0.2::factB. 0.6::factC. %hop1 0.8::factX:-xor(factB,factA). 0.02::factY:-and(factB,factC). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.00038399999999999985,0.390878175635127,train,impossible,we believe,It is impossible that 'Brian is a frog and Greg is a lion'.,We believe that 'Brian is a frog and Greg is a lion'.,0,'Brian is a frog and Greg is a lion'. It is probable that Julius is white. It is probably the case that Greg is a rhino. Chances are about even that Mary went to the bedroom. It is highly likely that if 'Julius is white and Greg is a rhino' then Brian is green. It is certain that if 'Julius is white and Mary went to the bedroom' then Bernhard is a lion. It is probably the case that if 'Mary went to the bedroom' or 'Greg is a rhino' or both then Lily is yellow.,Chances are about even that either 'Mary went to the bedroom' 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.7::factA. 0.7::factB. 0.5::factC. %hop1 0.9::factX:-and(factA,factB). 1.0::factY:-and(factA,factC). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.3949999999999999,0.27525505101020203,train,about even,impossible,Chances are about even that either 'Mary went to the bedroom' or 'Lily is yellow' but not both.,It is impossible that either 'Mary went to the bedroom' or 'Lily is yellow' but not both.,1,Either 'Mary went to the bedroom' or 'Lily is yellow' but not both. There is a very good chance that Daniel grabbed the milk. We believe that Julius is a rhino. There is a very good chance that Lily is a lion. There is a very good chance that if 'Lily is a lion' or 'Daniel grabbed the milk' or both then Brian is white. Chances are about even that if 'Julius is a rhino' or 'Daniel grabbed the milk' or both then John took the apple. It is impossible that if 'Daniel grabbed the milk' or 'Julius is a rhino' or both then Mary went to the office.,It is almost certain that 'Julius is a rhino' 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.8::factA. 0.75::factB. 0.8::factC. %hop1 0.8::factX:-or(factC,factA). 0.5::factY:-or(factB,factA). 0.0::factZ:-or(factA,factB). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.9420000000000002,0.627125425085017,train,almost certain,about even,It is almost certain that 'Julius is a rhino' or 'Brian is white' or both.,Chances are about even that 'Julius is a rhino' or 'Brian is white' or both.,1,'Julius is a rhino' or 'Brian is white' or both. It is certain that Brian is green. It is certain that Mary picked up the apple. It is improbable that John went to the office. There is a better than even chance that if 'Brian is green' or 'John went to the office' or both then Sandra left the milk. It is highly likely that if 'Mary picked up the apple' or 'John went to the office' or both then Greg is gray. There is little chance that if 'Mary picked up the apple' or 'John went to the office' or both then Lily is a rhino.,There is a better than even chance that 'Sandra left the milk and Mary 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 1.0::factA. 1.0::factB. 0.1::factC. %hop1 0.6::factX:-or(factA,factC). 0.9::factY:-or(factB,factC). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.6,0.5517103420684137,train,better than even,highly unlikely,There is a better than even chance that 'Sandra left the milk and Mary picked up the apple'.,It is highly unlikely that 'Sandra left the milk and Mary picked up the apple'.,1,'Sandra left the milk and Mary picked up the apple'. It is probably the case that Julius is white. It is impossible that Sandra left the milk. It is likely that Brian is gray. It is unlikely that if 'Julius is white' or 'Sandra left the milk' or both then Daniel put down the milk. It is almost certain that if 'Brian is gray and Sandra left the milk' then Mary went to the office. It is probable that if 'Brian is gray and Julius is white' then John discarded the apple.,It is likely that 'Brian is gray' 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.7::factA. 0.0::factB. 0.7::factC. %hop1 0.2::factX:-or(factA,factB). 0.95::factY:-and(factC,factB). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.7,0.1210242048409682,train,likely,almost no chance,It is likely that 'Brian is gray' or 'John discarded the apple' or both.,There is almost no chance that 'Brian is gray' or 'John discarded the apple' or both.,1,'Brian is gray' or 'John discarded the apple' or both. It is certain that Daniel took the milk. We believe that Mary got the football. It is improbable that Lily is green. It is unlikely that if either 'Lily is green' or 'Mary got the football' but not both then Julius is a rhino. It is almost certain that if 'Mary got the football and Lily is green' then Jessica is a sheep. There is little chance that if 'Daniel took the milk' or 'Lily is green' or both then Bernhard is green.,It is highly likely that either 'Jessica is a sheep' 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 1.0::factA. 0.75::factB. 0.1::factC. %hop1 0.2::factX:-xor(factC,factB). 0.95::factY:-and(factB,factC). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.15700000000000003,0.6851370274054811,train,we doubt,highly likely,We doubt that either 'Jessica is a sheep' or 'Bernhard is green' but not both.,It is highly likely that either 'Jessica is a sheep' or 'Bernhard is green' but not both.,0,Either 'Jessica is a sheep' or 'Bernhard is green' but not both. It is probably the case that Bernhard is gray. It is probably not the case that Jason is tired. Chances are slight that Lily is yellow. It is improbable that if either 'Lily is yellow' or 'Bernhard is gray' but not both then Mary went to the bedroom. It is highly likely that if 'Jason is tired' or 'Lily is yellow' or both then Brian is a rhino. It is highly unlikely that if 'Bernhard is gray and Lily is yellow' then John grabbed the apple.,It is likely that 'Bernhard is gray 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.25::factB. 0.1::factC. %hop1 0.1::factX:-xor(factC,factA). 0.9::factY:-or(factB,factC). 0.05::factZ:-and(factA,factC). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.06300000000000001,0.5625125025005001,train,highly unlikely,likely,It is highly unlikely that 'Bernhard is gray and Mary went to the bedroom'.,It is likely that 'Bernhard is gray and Mary went to the bedroom'.,0,'Bernhard is gray and Mary went to the bedroom'. We doubt that Brian is a rhino. It is highly likely that Mary went to the hallway. It is almost certain that Winona is a mouse. There is a better than even chance that if either 'Brian is a rhino' or 'Winona is a mouse' but not both then Julius is a frog. There is almost no chance that if either 'Winona is a mouse' or 'Brian is a rhino' but not both then John took the football. It is highly unlikely that if 'Brian is a rhino' or 'Mary went to the hallway' or both then Antoine is thirsty.,It is probably the case that 'Antoine is thirsty 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.2::factA. 0.9::factB. 0.95::factC. %hop1 0.6::factX:-xor(factA,factC). 0.02::factY:-xor(factC,factA). 0.05::factZ:-or(factA,factB). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.045000000000000005,0.2976595319063813,train,highly unlikely,probably,It is highly unlikely that 'Antoine is thirsty and Mary went to the hallway'.,It is probably the case that 'Antoine is thirsty and Mary went to the hallway'.,0,'Antoine is thirsty and Mary went to the hallway'. It is unlikely that Julius is a rhino. It is improbable that Bernhard is a lion. There is a very good chance that Brian is green. It is likely that if 'Julius is a rhino' or 'Brian is green' or both then Mary got the football. Chances are slight that if either 'Bernhard is a lion' or 'Julius is a rhino' but not both then Daniel took the apple. There is a better than even chance that if 'Brian is green and Julius is a rhino' then Greg is a swan.,We believe that either 'Daniel took 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.2::factA. 0.1::factB. 0.8::factC. %hop1 0.7::factX:-or(factA,factC). 0.1::factY:-xor(factB,factA). 0.6::factZ:-and(factC,factA). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.10472000000000005,0.40948189637927584,train,improbable,we believe,It is improbable that either 'Daniel took the apple' or 'Greg is a swan' but not both.,We believe that either 'Daniel took the apple' or 'Greg is a swan' but not both.,0,Either 'Daniel took the apple' or 'Greg is a swan' but not both. We believe that Winona is a cat. It is probable that Mary went to the kitchen. It is highly likely that Jeff dropped the apple. It is improbable that if 'Jeff dropped the apple' or 'Winona is a cat' or both then Sandra left the football. It is likely that if 'Jeff dropped the apple' or 'Winona is a cat' or both then Lily is yellow. It is almost certain that if either 'Winona is a cat' or 'Mary went to the kitchen' but not both then Greg is yellow.,It is almost certain that 'Greg is yellow' 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.75::factA. 0.7::factB. 0.9::factC. %hop1 0.1::factX:-or(factC,factA). 0.7::factY:-or(factC,factA). 0.95::factZ:-xor(factA,factB). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.9380000000000001,0.4536907381476295,train,almost certain,improbable,It is almost certain that 'Greg is yellow' or 'Jeff dropped the apple' or both.,It is improbable that 'Greg is yellow' or 'Jeff dropped the apple' or both.,1,'Greg is yellow' or 'Jeff dropped the apple' or both. It is probably the case that Greg is white. We believe that Jessica is a mouse. There is little chance that Mary left the football. There is almost no chance that if either 'Jessica is a mouse' or 'Greg is white' but not both then Julius is a swan. It is certain that if either 'Mary left the football' or 'Greg is white' but not both then Winona is a sheep. It is unlikely that if either 'Greg is white' or 'Jessica is a mouse' but not both then John dropped the apple.,It is probably not the case that 'Winona is a sheep' or 'John 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.75::factB. 0.1::factC. %hop1 0.02::factX:-xor(factB,factA). 1.0::factY:-xor(factC,factA). 0.2::factZ:-xor(factA,factB). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.704,0.48569713942788556,train,likely,probably not,It is likely that 'Winona is a sheep' or 'John dropped the apple' or both.,It is probably not the case that 'Winona is a sheep' or 'John dropped the apple' or both.,0,'Winona is a sheep' or 'John dropped the apple' or both. There is little chance that John went to the garden. It is probable that Bill got the milk there. It is impossible that Mary left the apple. It is almost certain that if 'Bill got the milk there' or 'Mary left the apple' or both then Lily is yellow. There is little chance that if 'John went to the garden' or 'Bill got the milk there' or both then Julius is a frog. It is highly unlikely that if 'John went to the garden and Mary left the apple' then Greg is green.,We believe that 'John went to the garden' or 'Bill got the milk there' 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.95::factX:-or(factB,factC). 0.1::factY:-or(factA,factB). 0.05::factZ:-and(factA,factC). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.73,0.21244248849769953,train,we believe,we doubt,We believe that 'John went to the garden' or 'Bill got the milk there' or both.,We doubt that 'John went to the garden' or 'Bill got the milk there' or both.,1,'John went to the garden' or 'Bill got the milk there' or both. It is likely that Greg is gray. Chances are about even that Gertrude is a mouse. There is almost no chance that Bernhard is a rhino. It is probably not the case that if 'Greg is gray and Gertrude is a mouse' then Brian is green. Chances are about even that if 'Bernhard is a rhino' or 'Greg is gray' or both then Lily is a swan. There is little chance that if 'Greg is gray and Gertrude is a mouse' then John moved to the office.,It is likely that either 'Bernhard is a rhino' or 'Greg 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.5::factB. 0.02::factC. %hop1 0.25::factX:-and(factA,factB). 0.5::factY:-or(factC,factA). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.692,0.010202040408081616,train,likely,probably not,It is likely that either 'Bernhard is a rhino' or 'Greg is gray' but not both.,It is probably not the case that either 'Bernhard is a rhino' or 'Greg is gray' but not both.,1,Either 'Bernhard is a rhino' or 'Greg is gray' but not both. It is improbable that Greg is a lion. It is unlikely that Daniel got the football. It is probably the case that Brian is yellow. It is unlikely that if either 'Greg is a lion' or 'Brian is yellow' but not both then Lily is a rhino. It is probably the case that if either 'Brian is yellow' or 'Greg is a lion' but not both then Bernhard is a swan. It is unlikely that if 'Greg is a lion and Daniel got the football' then John discarded the apple.,It is highly unlikely that 'Brian is yellow 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.1::factA. 0.2::factB. 0.7::factC. %hop1 0.2::factX:-xor(factA,factC). 0.7::factY:-xor(factC,factA). 0.2::factZ:-and(factA,factB). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07,0.4468893778755751,train,highly unlikely,probable,It is highly unlikely that 'Brian is yellow and Greg is a lion'.,It is probable that 'Brian is yellow and Greg is a lion'.,1,'Brian is yellow and Greg is a lion'. We doubt that Lily is a rhino. It is certain that Julius is yellow. There is a better than even chance that Bernhard is a frog. It is unlikely that if 'Julius is yellow and Lily is a rhino' then Greg is a lion. It is impossible that if 'Julius is yellow and Bernhard is a frog' then John grabbed the apple. There is little chance that if 'Julius is yellow and Bernhard is a frog' then Winona is a sheep.,We believe that either 'John grabbed the apple' or 'Lily 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. 1.0::factB. 0.6::factC. %hop1 0.2::factX:-and(factB,factA). 0.0::factY:-and(factB,factC). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.2,0.28005601120224044,train,unlikely,we believe,It is unlikely that either 'John grabbed the apple' or 'Lily is a rhino' but not both.,We believe that either 'John grabbed the apple' or 'Lily is a rhino' but not both.,0,Either 'John grabbed the apple' or 'Lily is a rhino' but not both. It is probable that Sandra took the football. Chances are about even that Mary dropped the apple. It is likely that Bernhard is gray. It is probable that if either 'Bernhard is gray' or 'Sandra took the football' but not both then Greg is a lion. It is almost certain that if either 'Bernhard is gray' or 'Sandra took the football' but not both then Jeff went to the hallway. There is a better than even chance that if either 'Mary dropped the apple' or 'Bernhard is gray' but not both then Lily is a swan.,There is a very good chance that 'Jeff went to the hallway and Sandra took 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.5::factB. 0.7::factC. %hop1 0.7::factX:-xor(factC,factA). 0.95::factY:-xor(factC,factA). 0.6::factZ:-xor(factB,factC). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.19949999999999998,0.0632126425285057,train,unlikely,very good chance,It is unlikely that 'Jeff went to the hallway and Sandra took the football'.,There is a very good chance that 'Jeff went to the hallway and Sandra took the football'.,0,'Jeff went to the hallway and Sandra took the football'. Chances are about even that Emily is a wolf. It is impossible that Lily is a swan. There is almost no chance that Mary got the apple. It is almost certain that if 'Emily is a wolf' or 'Lily is a swan' or both then John dropped the milk. We doubt that if 'Mary got the apple' or 'Lily is a swan' or both then Jessica is a cat. It is unlikely that if 'Mary got the apple and Emily is a wolf' then Bernhard is green.,It is impossible that either 'Bernhard is green' 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 0.5::factA. 0.0::factB. 0.02::factC. %hop1 0.95::factX:-or(factA,factB). 0.2::factY:-or(factC,factB). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.498,0.4634926985397079,train,about even,impossible,Chances are about even that either 'Bernhard is green' or 'Emily is a wolf' but not both.,It is impossible that either 'Bernhard is green' or 'Emily is a wolf' but not both.,0,Either 'Bernhard is green' or 'Emily is a wolf' but not both. Chances are about even that Fred moved to the office. There is a very good chance that Brian is a lion. Chances are slight that Julius is a rhino. There is almost no chance that if 'Julius is a rhino' or 'Fred moved to the office' or both then Mary put down the milk. It is unlikely that if 'Brian is a lion and Fred moved to the office' then Bernhard is a frog. It is improbable that if 'Brian is a lion and Julius is a rhino' then John went to the kitchen.,Chances are slight that 'Brian is a lion 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.5::factA. 0.8::factB. 0.1::factC. %hop1 0.02::factX:-or(factC,factA). 0.2::factY:-and(factB,factA). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.08000000000000002,0.21004200840168033,train,chances are slight,probably,Chances are slight that 'Brian is a lion and Bernhard is a frog'.,It is probably the case that 'Brian is a lion and Bernhard is a frog'.,1,'Brian is a lion and Bernhard is a frog'. There is almost no chance that Fred is in the school. It is improbable that Julius is yellow. Chances are about even that Greg is a frog. It is improbable that if 'Greg is a frog and Fred is in the school' then Mary took the football. It is probably the case that if 'Greg is a frog and Julius is yellow' then Sandra dropped the apple. There is a very good chance that if 'Greg is a frog and Julius is yellow' then Daniel left the milk.,It is highly unlikely that 'Fred is in the school' 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.02::factA. 0.1::factB. 0.5::factC. %hop1 0.1::factX:-and(factC,factA). 0.7::factY:-and(factC,factB). 0.8::factZ:-and(factC,factB). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.05919999999999999,0.04680936187237447,train,highly unlikely,probable,It is highly unlikely that 'Fred is in the school' or 'Daniel left the milk' or both.,It is probable that 'Fred is in the school' or 'Daniel left the milk' or both.,1,'Fred is in the school' or 'Daniel left the milk' or both. There is a better than even chance that Brian is yellow. There is almost no chance that John took the apple. It is highly unlikely that Mary discarded the milk. It is highly unlikely that if 'John took the apple' or 'Mary discarded the milk' or both then Julius is a rhino. Chances are slight that if either 'Brian is yellow' or 'Mary discarded the milk' but not both then Bernhard is yellow. It is probable that if 'Brian is yellow and John took the apple' then Lily is white.,Chances are slight that 'Brian is yellow' or 'Mary discarded 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.6::factA. 0.02::factB. 0.05::factC. %hop1 0.05::factX:-or(factB,factC). 0.1::factY:-xor(factA,factC). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.62,0.5925185037007401,train,better than even,chances are slight,There is a better than even chance that 'Brian is yellow' or 'Mary discarded the milk' or both.,Chances are slight that 'Brian is yellow' or 'Mary discarded the milk' or both.,0,'Brian is yellow' or 'Mary discarded the milk' or both. It is certain that Sandra dropped the milk. It is certain that Winona is a sheep. We doubt that Julius is green. It is impossible that if either 'Winona is a sheep' or 'Julius is green' but not both then Bernhard is a rhino. It is probable that if 'Winona is a sheep and Sandra dropped the milk' then Mary went to the office. It is highly unlikely that if 'Julius is green and Winona is a sheep' then Greg is a swan.,It is certain that 'Julius is green and Greg 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. 1.0::factB. 0.2::factC. %hop1 0.0::factX:-xor(factB,factC). 0.7::factY:-and(factB,factA). 0.05::factZ:-and(factC,factB). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.010000000000000004,0.6189237847569514,train,almost no chance,certain,There is almost no chance that 'Julius is green and Greg is a swan'.,It is certain that 'Julius is green and Greg is a swan'.,0,'Julius is green and Greg is a swan'. It is probable that Bill got the milk there. There is little chance that Emily is a mouse. It is impossible that Lily is a frog. Chances are about even that if either 'Emily is a mouse' or 'Bill got the milk there' but not both then Jeff left the apple. It is highly likely that if either 'Emily is a mouse' or 'Lily is a frog' but not both then Mary went to the bedroom. It is probably the case that if 'Lily is a frog' or 'Emily is a mouse' or both then Bernhard is yellow.,It is almost certain that 'Bernhard is yellow 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.7::factA. 0.1::factB. 0.0::factC. %hop1 0.5::factX:-xor(factB,factA). 0.9::factY:-xor(factB,factC). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.07,0.6359271854370874,train,highly unlikely,almost certain,It is highly unlikely that 'Bernhard is yellow and Emily is a mouse'.,It is almost certain that 'Bernhard is yellow and Emily is a mouse'.,0,'Bernhard is yellow and Emily is a mouse'. It is probable that Jessica is a mouse. We believe that Greg is a frog. It is highly unlikely that Lily is a swan. It is probably the case that if 'Jessica is a mouse' or 'Lily is a swan' or both then Fred moved to the office. There is a better than even chance that if 'Lily is a swan' or 'Jessica is a mouse' or both then Bernhard is yellow. It is almost certain that if either 'Lily is a swan' or 'Jessica is a mouse' but not both then John put down the apple.,It is unlikely that 'Greg is a frog' or 'Bernhard 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.7::factA. 0.75::factB. 0.05::factC. %hop1 0.7::factX:-or(factA,factC). 0.6::factY:-or(factC,factA). 0.95::factZ:-xor(factC,factA). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.8572500000000001,0.41348269653930786,train,highly likely,unlikely,It is highly likely that 'Greg is a frog' or 'Bernhard is yellow' or both.,It is unlikely that 'Greg is a frog' or 'Bernhard is yellow' or both.,0,'Greg is a frog' or 'Bernhard is yellow' or both. There is almost no chance that John grabbed the apple. There is little chance that Gertrude is a sheep. It is probably the case that Emily is a wolf. It is likely that if 'Gertrude is a sheep and John grabbed the apple' then Lily is a frog. It is unlikely that if 'Gertrude is a sheep and John grabbed the apple' then Mary went to the kitchen. We doubt that if 'Emily is a wolf and John grabbed the apple' then Brian is a lion.,There is a very good chance that 'Brian is a lion' or 'John 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.02::factA. 0.1::factB. 0.7::factC. %hop1 0.7::factX:-and(factB,factA). 0.2::factY:-and(factB,factA). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.02,0.1896379275855171,train,almost no chance,very good chance,There is almost no chance that 'Brian is a lion' or 'John grabbed the apple' or both.,There is a very good chance that 'Brian is a lion' or 'John grabbed the apple' or both.,0,'Brian is a lion' or 'John grabbed the apple' or both. It is probably not the case that Brian is green. There is a very good chance that Mary put down the apple. It is almost certain that Winona is a mouse. It is almost certain that if either 'Mary put down the apple' or 'Winona is a mouse' but not both then Bernhard is a frog. It is improbable that if 'Winona is a mouse' or 'Mary put down the apple' or both then Bill left the milk. It is certain that if 'Brian is green' or 'Mary put down the apple' or both then Sandra dropped the milk.,Chances are slight that 'Sandra dropped the milk and Mary put down 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.8::factB. 0.95::factC. %hop1 0.95::factX:-xor(factB,factC). 0.1::factY:-or(factC,factB). 1.0::factZ:-or(factA,factB). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.8,0.06621324264852971,train,very good chance,chances are slight,There is a very good chance that 'Sandra dropped the milk and Mary put down the apple'.,Chances are slight that 'Sandra dropped the milk and Mary put down the apple'.,0,'Sandra dropped the milk and Mary put down the apple'. It is probably the case that Bernhard is a swan. It is almost certain that Brian is green. There is a better than even chance that John picked up the milk. Chances are slight that if either 'Bernhard is a swan' or 'John picked up the milk' but not both then Winona is a cat. It is highly likely that if either 'Brian is green' or 'John picked up the milk' but not both then Julius is a frog. We believe that if 'Bernhard is a swan and Brian is green' then Greg is yellow.,It is highly unlikely that 'John picked up 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.6::factC. %hop1 0.1::factX:-xor(factA,factC). 0.9::factY:-xor(factB,factC). 0.75::factZ:-and(factA,factB). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.41999999999999993,0.33826765353070615,train,about even,highly unlikely,Chances are about even that 'John picked up the milk and Bernhard is a swan'.,It is highly unlikely that 'John picked up the milk and Bernhard is a swan'.,0,'John picked up the milk and Bernhard is a swan'. We doubt that Julius is a frog. It is highly likely that Jessica is a mouse. Chances are slight that Bernhard is gray. There is almost no chance that if 'Julius is a frog' or 'Bernhard is gray' or both then Mary moved to the office. There is little chance that if 'Jessica is a mouse and Julius is a frog' then Sandra left the milk. It is highly unlikely that if 'Jessica is a mouse and Julius is a frog' then Daniel got the milk.,Chances are slight that either 'Jessica is a mouse' 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.2::factA. 0.9::factB. 0.1::factC. %hop1 0.02::factX:-or(factA,factC). 0.1::factY:-and(factB,factA). 0.05::factZ:-and(factB,factA). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.891,0.16243248649729947,train,highly likely,chances are slight,It is highly likely that either 'Jessica is a mouse' or 'Daniel got the milk' but not both.,Chances are slight that either 'Jessica is a mouse' or 'Daniel got the milk' but not both.,0,Either 'Jessica is a mouse' or 'Daniel got the milk' but not both. It is impossible that Gertrude is a sheep. It is highly likely that Greg is yellow. It is probable that Bernhard is white. Chances are about even that if 'Gertrude is a sheep' or 'Bernhard is white' or both then Jessica is a mouse. It is highly unlikely that if either 'Bernhard is white' or 'Greg is yellow' but not both then John went to the garden. It is probably not the case that if 'Greg is yellow' or 'Gertrude is a sheep' or both then Daniel took the apple.,There is almost no chance that 'Bernhard is white' or 'Daniel 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.0::factA. 0.9::factB. 0.7::factC. %hop1 0.5::factX:-or(factA,factC). 0.05::factY:-xor(factC,factB). 0.25::factZ:-or(factB,factA). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.7675,0.249249849969994,train,we believe,almost no chance,We believe that 'Bernhard is white' or 'Daniel took the apple' or both.,There is almost no chance that 'Bernhard is white' or 'Daniel took the apple' or both.,0,'Bernhard is white' or 'Daniel took the apple' or both. There is almost no chance that Daniel grabbed the milk. There is almost no chance that Jeff moved to the office. Chances are about even that Mary left the football. It is probably the case that if either 'Daniel grabbed the milk' or 'Mary left the football' but not both then Gertrude is a sheep. There is a very good chance that if either 'Jeff moved to the office' or 'Daniel grabbed the milk' but not both then Greg is yellow. It is almost certain that if 'Jeff moved to the office' or 'Mary left the football' or both then Brian is gray.,It is highly unlikely that 'Brian is gray' or 'Daniel grabbed 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.02::factB. 0.5::factC. %hop1 0.7::factX:-xor(factA,factC). 0.8::factY:-xor(factB,factA). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.4948099999999999,0.1194238847769554,train,about even,highly unlikely,Chances are about even that 'Brian is gray' or 'Daniel grabbed the milk' or both.,It is highly unlikely that 'Brian is gray' or 'Daniel grabbed the milk' or both.,0,'Brian is gray' or 'Daniel grabbed the milk' or both. It is highly unlikely that Jessica is a cat. It is probable that Bernhard is gray. There is almost no chance that Jeff went to the garden. There is almost no chance that if either 'Jeff went to the garden' or 'Bernhard is gray' but not both then Brian is a swan. There is almost no chance that if 'Jeff went to the garden' or 'Jessica is a cat' or both then Greg is green. It is impossible that if either 'Jessica is a cat' or 'Jeff went to the garden' but not both then Winona is a mouse.,It is almost certain that either 'Brian is a swan' or 'Greg 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.7::factB. 0.02::factC. %hop1 0.02::factX:-xor(factC,factB). 0.02::factY:-or(factC,factA). 0.0::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.015187760000000008,0.6885377075415083,train,almost no chance,almost certain,There is almost no chance that either 'Brian is a swan' or 'Greg is green' but not both.,It is almost certain that either 'Brian is a swan' or 'Greg is green' but not both.,0,Either 'Brian is a swan' or 'Greg is green' but not both. There is a better than even chance that Brian is green. We believe that Bernhard is a rhino. There is little chance that Fred dropped the milk. We doubt that if 'Brian is green' or 'Bernhard is a rhino' or both then Sandra left the apple. It is probably not the case that if 'Bernhard is a rhino' or 'Fred dropped the milk' or both then Julius is a swan. It is probable that if either 'Fred dropped the milk' or 'Brian is green' but not both then John went to the hallway.,There is little chance that 'Sandra left the apple 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.6::factA. 0.75::factB. 0.1::factC. %hop1 0.2::factX:-or(factA,factB). 0.25::factY:-or(factB,factC). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.12000000000000001,0.009801960392078415,train,little chance,likely,There is little chance that 'Sandra left the apple and Brian is green'.,It is likely that 'Sandra left the apple and Brian is green'.,1,'Sandra left the apple and Brian is green'. It is probable that Lily is a lion. Chances are about even that Mary moved to the garden. It is probably not the case that Bernhard is yellow. Chances are about even that if 'Lily is a lion and Mary moved to the garden' then Greg is gray. It is almost certain that if 'Mary moved to the garden and Bernhard is yellow' then John left the milk. It is probably the case that if either 'Mary moved to the garden' or 'Lily is a lion' but not both then Sandra took the apple.,It is unlikely that 'Greg is gray 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.5::factB. 0.25::factC. %hop1 0.5::factX:-and(factA,factB). 0.95::factY:-and(factB,factC). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.17499999999999996,0.7333466693338668,train,unlikely,probable,It is unlikely that 'Greg is gray and Lily is a lion'.,It is probable that 'Greg is gray and Lily is a lion'.,1,'Greg is gray and Lily is a lion'. There is almost no chance that Greg is a rhino. It is probable that Mary got the football. It is probably not the case that Daniel left the milk. There is little chance that if either 'Greg is a rhino' or 'Daniel left the milk' but not both then Brian is white. It is probably the case that if either 'Mary got the football' or 'Daniel left the milk' but not both then Julius is gray. Chances are slight that if 'Greg is a rhino and Daniel left the milk' then Emily is a mouse.,There is a better than even chance that either 'Julius is gray' 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.02::factA. 0.7::factB. 0.25::factC. %hop1 0.1::factX:-xor(factA,factC). 0.7::factY:-xor(factB,factC). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.5650000000000001,0.5423084616923385,train,better than even,almost no chance,There is a better than even chance that either 'Julius is gray' or 'Daniel left the milk' but not both.,There is almost no chance that either 'Julius is gray' or 'Daniel left the milk' but not both.,1,Either 'Julius is gray' or 'Daniel left the milk' but not both. It is probable that Mary left the football. There is a very good chance that Winona is a mouse. Chances are about even that Bill went to the kitchen. There is a very good chance that if either 'Mary left the football' or 'Winona is a mouse' but not both then Bernhard is a swan. It is unlikely that if 'Winona is a mouse' or 'Bill went to the kitchen' or both then Lily is a swan. It is improbable that if 'Mary left the football and Bill went to the kitchen' then Julius is yellow.,It is probably the case that 'Bill went to the kitchen 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.7::factA. 0.8::factB. 0.5::factC. %hop1 0.8::factX:-xor(factA,factB). 0.2::factY:-or(factB,factC). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.035,0.3042608521704341,train,highly unlikely,probably,It is highly unlikely that 'Bill went to the kitchen and Julius is yellow'.,It is probably the case that 'Bill went to the kitchen and Julius is yellow'.,0,'Bill went to the kitchen and Julius is yellow'. It is impossible that Lily is yellow. It is likely that Julius is white. It is highly likely that Greg is yellow. It is almost certain that if either 'Julius is white' or 'Lily is yellow' but not both then Brian is a frog. There is little chance that if 'Lily is yellow and Julius is white' then John took the apple. It is highly likely that if 'Julius is white and Greg is yellow' then Mary put down the apple.,It is highly unlikely that 'John took the apple' 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.0::factA. 0.7::factB. 0.9::factC. %hop1 0.95::factX:-xor(factB,factA). 0.1::factY:-and(factA,factB). 0.9::factZ:-and(factB,factC). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.9,0.44968993798759754,train,highly likely,highly unlikely,It is highly likely that 'John took the apple' or 'Greg is yellow' or both.,It is highly unlikely that 'John took the apple' or 'Greg is yellow' or both.,0,'John took the apple' or 'Greg is yellow' or both. It is impossible that John went to the hallway. There is almost no chance that Emily is a sheep. It is probably not the case that Jessica is a mouse. It is highly unlikely that if either 'Emily is a sheep' or 'Jessica is a mouse' but not both then Lily is white. It is likely that if 'John went to the hallway' or 'Emily is a sheep' or both then Bernhard is a swan. It is probably the case that if either 'Jessica is a mouse' or 'John went to the hallway' but not both then Julius is a frog.,We doubt that 'Bernhard is a swan' 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.02::factB. 0.25::factC. %hop1 0.05::factX:-xor(factB,factC). 0.7::factY:-or(factA,factB). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.18655,0.23824764952990599,train,we doubt,highly likely,We doubt that 'Bernhard is a swan' or 'Julius is a frog' or both.,It is highly likely that 'Bernhard is a swan' or 'Julius is a frog' or both.,1,'Bernhard is a swan' or 'Julius is a frog' or both. It is certain that Mary moved to the garden. It is certain that Daniel got the football. It is likely that John dropped the milk. It is certain that if 'Daniel got the football' or 'Mary moved to the garden' or both then Emily is a mouse. We doubt that if 'Daniel got the football and John dropped the milk' then Brian is a rhino. It is probably not the case that if 'Mary moved to the garden and Daniel got the football' then Jessica is a cat.,It is improbable that 'Jessica is a cat' or 'Emily 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 1.0::factA. 1.0::factB. 0.7::factC. %hop1 1.0::factX:-or(factB,factA). 0.2::factY:-and(factB,factC). 0.25::factZ:-and(factA,factB). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",1.0,0.746749349869974,train,certain,improbable,It is certain that 'Jessica is a cat' or 'Emily is a mouse' or both.,It is improbable that 'Jessica is a cat' or 'Emily is a mouse' or both.,0,'Jessica is a cat' or 'Emily is a mouse' or both. It is likely that Bernhard is a swan. Chances are slight that Emily is a sheep. There is a very good chance that Greg is a frog. It is likely that if 'Greg is a frog and Bernhard is a swan' then Julius is white. There is little chance that if 'Emily is a sheep' or 'Bernhard is a swan' or both then Mary grabbed the milk. We doubt that if 'Emily is a sheep and Bernhard is a swan' then John went to the hallway.,There is a better than even chance that 'Greg 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.7::factA. 0.1::factB. 0.8::factC. %hop1 0.7::factX:-and(factC,factA). 0.1::factY:-or(factB,factA). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.5599999999999999,0.09621924384876976,train,better than even,little chance,There is a better than even chance that 'Greg is a frog and Bernhard is a swan'.,There is little chance that 'Greg is a frog and Bernhard is a swan'.,1,'Greg is a frog and Bernhard is a swan'. It is likely that Mary is in the bathroom. There is little chance that Jeff left the apple. It is likely that John moved to the garden. It is almost certain that if 'Jeff left the apple and John moved to the garden' then Brian is a swan. We believe that if 'Mary is in the bathroom' or 'John moved to the garden' or both then Lily is white. It is highly unlikely that if 'Jeff left the apple' or 'John moved to the garden' or both then Greg is a lion.,It is likely that either 'Jeff left 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.7::factA. 0.1::factB. 0.7::factC. %hop1 0.95::factX:-and(factB,factC). 0.75::factY:-or(factA,factC). 0.05::factZ:-or(factB,factC). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6599999999999999,0.026805361072214443,train,likely,probably not,It is likely that either 'Jeff left the apple' or 'John moved to the garden' but not both.,It is probably not the case that either 'Jeff left the apple' or 'John moved to the garden' but not both.,1,Either 'Jeff left the apple' or 'John moved to the garden' but not both. It is likely that Julius is yellow. It is highly likely that Mary left the football. It is highly unlikely that Brian is a frog. It is probable that if either 'Julius is yellow' or 'Mary left the football' but not both then Greg is a frog. There is little chance that if either 'Mary left the football' or 'Brian is a frog' but not both then Sandra dropped the milk. It is probably the case that if 'Julius is yellow and Mary left the football' then Bill went to the garden.,There is almost no chance that either 'Sandra dropped the milk' 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.9::factB. 0.05::factC. %hop1 0.7::factX:-xor(factA,factB). 0.1::factY:-xor(factB,factC). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.815,0.7483496699339868,train,very good chance,almost no chance,There is a very good chance that either 'Sandra dropped the milk' or 'Mary left the football' but not both.,There is almost no chance that either 'Sandra dropped the milk' or 'Mary left the football' but not both.,0,Either 'Sandra dropped the milk' or 'Mary left the football' but not both. It is highly likely that Fred is in the cinema. It is almost certain that Julius is gray. It is impossible that John went to the hallway. It is highly unlikely that if either 'Julius is gray' or 'John went to the hallway' but not both then Lily is a swan. It is probably not the case that if 'Julius is gray and John went to the hallway' then Mary got the apple. It is highly likely that if 'Julius is gray' or 'Fred is in the cinema' or both then Brian is a frog.,It is almost certain that either 'Mary got 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.9::factA. 0.95::factB. 0.0::factC. %hop1 0.05::factX:-xor(factB,factC). 0.25::factY:-and(factB,factC). 0.9::factZ:-or(factB,factA). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.95,0.14002800560112022,train,almost certain,almost no chance,It is almost certain that either 'Mary got the apple' or 'Julius is gray' but not both.,There is almost no chance that either 'Mary got the apple' or 'Julius is gray' but not both.,1,Either 'Mary got the apple' or 'Julius is gray' but not both. It is probably the case that Jessica is a mouse. Chances are about even that Mary went to the office. Chances are slight that Brian is green. We believe that if 'Jessica is a mouse' or 'Mary went to the office' or both then John dropped the apple. There is a better than even chance that if 'Brian is green' or 'Mary went to the office' or both then Bernhard is a rhino. It is probably not the case that if either 'Brian is green' or 'Jessica is a mouse' but not both then Lily is green.,It is highly unlikely that 'Mary went to the office 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.5::factB. 0.1::factC. %hop1 0.75::factX:-or(factA,factB). 0.6::factY:-or(factC,factB). 0.25::factZ:-xor(factC,factA). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.05000000000000001,0.7369473894778956,train,highly unlikely,highly likely,It is highly unlikely that 'Mary went to the office and Brian is green'.,It is highly likely that 'Mary went to the office and Brian is green'.,1,'Mary went to the office and Brian is green'. It is probable that Greg is a swan. There is almost no chance that Julius is yellow. We believe that Brian is yellow. There is a very good chance that if 'Brian is yellow' or 'Julius is yellow' or both then Sumit is thirsty. It is probable that if either 'Brian is yellow' or 'Julius is yellow' but not both then John dropped the milk. It is highly likely that if 'Julius is yellow' or 'Greg is a swan' or both then Bill moved to the office.,Chances are slight that 'Greg is a swan 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.7::factA. 0.02::factB. 0.75::factC. %hop1 0.8::factX:-or(factC,factB). 0.7::factY:-xor(factC,factB). 0.9::factZ:-or(factB,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.63,0.4436887377475495,train,better than even,chances are slight,There is a better than even chance that 'Greg is a swan and Bill moved to the office'.,Chances are slight that 'Greg is a swan and Bill moved to the office'.,0,'Greg is a swan and Bill moved to the office'. It is highly unlikely that Julius is green. It is highly likely that Lily is a lion. Chances are slight that Greg is a lion. It is almost certain that if 'Julius is green' or 'Lily is a lion' or both then Brian is a rhino. There is little chance that if 'Greg is a lion' or 'Julius is green' or both then John dropped the apple. It is highly likely that if either 'Greg is a lion' or 'Julius is green' but not both then Mary left the milk.,It is highly likely that 'Brian is a rhino' or 'John 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.9::factB. 0.1::factC. %hop1 0.95::factX:-or(factA,factB). 0.1::factY:-or(factC,factA). 0.9::factZ:-xor(factC,factA). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.8613775,0.7759551910382076,train,highly likely,almost no chance,It is highly likely that 'Brian is a rhino' or 'John dropped the apple' or both.,There is almost no chance that 'Brian is a rhino' or 'John dropped the apple' or both.,1,'Brian is a rhino' or 'John dropped the apple' or both. We doubt that John left the football. It is improbable that Julius is yellow. It is probable that Bernhard is a frog. We believe that if 'Julius is yellow and Bernhard is a frog' then Greg is a rhino. It is highly likely that if 'John left the football' or 'Julius is yellow' or both then Lily is white. Chances are about even that if 'Julius is yellow' or 'Bernhard is a frog' or both then Mary discarded the milk.,It is probably not the case that 'Bernhard is a frog and Mary 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.1::factB. 0.7::factC. %hop1 0.75::factX:-and(factB,factC). 0.9::factY:-or(factA,factB). 0.5::factZ:-or(factB,factC). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.3499999999999999,0.1928385677135427,train,probably not,probably,It is probably not the case that 'Bernhard is a frog and Mary discarded the milk'.,It is probably the case that 'Bernhard is a frog and Mary discarded the milk'.,1,'Bernhard is a frog and Mary discarded the milk'. There is almost no chance that Greg is yellow. It is almost certain that Gertrude is a sheep. Chances are about even that John took the football. We doubt that if either 'Gertrude is a sheep' or 'Greg is yellow' but not both then Emily is a mouse. We doubt that if 'John took the football and Greg is yellow' then Julius is a frog. It is probable that if 'Gertrude is a sheep and Greg is yellow' then Brian is a lion.,It is almost certain that 'Gertrude is a sheep' or 'Emily 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.02::factA. 0.95::factB. 0.5::factC. %hop1 0.2::factX:-xor(factB,factA). 0.2::factY:-and(factC,factA). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.9501999999999999,0.26505301060212044,train,almost certain,unlikely,It is almost certain that 'Gertrude is a sheep' or 'Emily is a mouse' or both.,It is unlikely that 'Gertrude is a sheep' or 'Emily is a mouse' or both.,1,'Gertrude is a sheep' or 'Emily is a mouse' or both. Chances are slight that Jessica is a mouse. It is highly likely that Bernhard is a frog. It is impossible that John moved to the office. It is probably the case that if 'Jessica is a mouse and Bernhard is a frog' then Mary went to the kitchen. It is unlikely that if 'Jessica is a mouse' or 'John moved to the office' or both then Brian is gray. It is impossible that if 'Bernhard is a frog' or 'Jessica is a mouse' or both then Sandra left the football.,It is certain that 'Sandra left the football' 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.1::factA. 0.9::factB. 0.0::factC. %hop1 0.7::factX:-and(factA,factB). 0.2::factY:-or(factA,factC). 0.0::factZ:-or(factB,factA). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.0,0.5979195839167833,train,impossible,certain,It is impossible that 'Sandra left the football' or 'John moved to the office' or both.,It is certain that 'Sandra left the football' or 'John moved to the office' or both.,0,'Sandra left the football' or 'John moved to the office' or both. It is impossible that Greg is a frog. There is a better than even chance that Mary went to the bedroom. There is a very good chance that Lily is a frog. There is little chance that if either 'Lily is a frog' or 'Mary went to the bedroom' but not both then Jeff left the apple. It is likely that if either 'Lily is a frog' or 'Mary went to the bedroom' but not both then Bernhard is a swan. There is a better than even chance that if 'Mary went to the bedroom' or 'Lily is a frog' or both then Brian is gray.,Chances are about even that 'Lily is a frog 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.0::factA. 0.6::factB. 0.8::factC. %hop1 0.1::factX:-xor(factC,factB). 0.7::factY:-xor(factC,factB). 0.6::factZ:-or(factB,factC). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.48,0.5197039407881576,train,about even,highly unlikely,Chances are about even that 'Lily is a frog and Mary went to the bedroom'.,It is highly unlikely that 'Lily is a frog and Mary went to the bedroom'.,1,'Lily is a frog and Mary went to the bedroom'. It is certain that Brian is yellow. It is certain that Mary grabbed the milk. It is improbable that Lily is a rhino. Chances are slight that if 'Brian is yellow' or 'Mary grabbed the milk' or both then Emily is a wolf. It is likely that if either 'Mary grabbed the milk' or 'Lily is a rhino' but not both then Julius is a swan. It is improbable that if either 'Lily is a rhino' or 'Brian is yellow' but not both then John dropped the milk.,There is a better than even chance that either 'Julius 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. 1.0::factB. 0.1::factC. %hop1 0.1::factX:-or(factA,factB). 0.7::factY:-xor(factB,factC). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.604,0.0026005201040208044,train,better than even,almost no chance,There is a better than even chance that either 'Julius is a swan' or 'Emily is a wolf' but not both.,There is almost no chance that either 'Julius is a swan' or 'Emily is a wolf' but not both.,1,Either 'Julius is a swan' or 'Emily is a wolf' but not both. It is highly unlikely that Mary went to the garden. It is almost certain that Julius is a swan. Chances are slight that Winona is a sheep. Chances are slight that if 'Julius is a swan and Mary went to the garden' then Brian is a rhino. Chances are about even that if 'Julius is a swan and Mary went to the garden' then Sandra grabbed the apple. There is little chance that if 'Mary went to the garden and Julius is a swan' then Greg is a frog.,There is almost no chance that 'Julius is a swan and Sandra 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.05::factA. 0.95::factB. 0.1::factC. %hop1 0.1::factX:-and(factB,factA). 0.5::factY:-and(factB,factA). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.02375,0.6157231446289257,train,almost no chance,probable,There is almost no chance that 'Julius is a swan and Sandra grabbed the apple'.,It is probable that 'Julius is a swan and Sandra grabbed the apple'.,1,'Julius is a swan and Sandra grabbed the apple'. We believe that John went to the garden. It is highly unlikely that Sandra dropped the milk. There is a better than even chance that Lily is a rhino. We doubt that if 'Sandra dropped the milk' or 'John went to the garden' or both then Bernhard is green. There is little chance that if 'Lily is a rhino and John went to the garden' then Brian is white. Chances are about even that if 'Lily is a rhino and John went to the garden' then Mary is in the school.,There is a better than even chance that 'Brian is white 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.75::factA. 0.05::factB. 0.6::factC. %hop1 0.2::factX:-or(factB,factA). 0.1::factY:-and(factC,factA). 0.5::factZ:-and(factC,factA). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.045000000000000005,0.5937187437487498,train,highly unlikely,better than even,It is highly unlikely that 'Brian is white and John went to the garden'.,There is a better than even chance that 'Brian is white and John went to the garden'.,0,'Brian is white and John went to the garden'. It is highly unlikely that Brian is green. There is a better than even chance that Julius is a swan. Chances are about even that Greg is yellow. It is impossible that if either 'Brian is green' or 'Julius is a swan' but not both then John got the apple. We doubt that if 'Julius is a swan and Greg is yellow' then Mary went to the bedroom. It is improbable that if either 'Greg is yellow' or 'Julius is a swan' but not both then Lily is a rhino.,Chances are about even that 'Mary went to the bedroom' or 'John 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.05::factA. 0.6::factB. 0.5::factC. %hop1 0.0::factX:-xor(factA,factB). 0.2::factY:-and(factB,factC). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.06,0.5989197839567914,train,highly unlikely,about even,It is highly unlikely that 'Mary went to the bedroom' or 'John got the apple' or both.,Chances are about even that 'Mary went to the bedroom' or 'John got the apple' or both.,0,'Mary went to the bedroom' or 'John got the apple' or both. It is probably not the case that Bill went to the office. We doubt that Emily is a cat. It is probably the case that Lily is a rhino. We believe that if 'Emily is a cat and Lily is a rhino' then Greg is a lion. There is a very good chance that if either 'Bill went to the office' or 'Emily is a cat' but not both then Brian is yellow. It is highly likely that if 'Bill went to the office and Lily is a rhino' then John dropped the milk.,It is probably not the case that either 'Brian is yellow' 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.25::factA. 0.2::factB. 0.7::factC. %hop1 0.75::factX:-and(factB,factC). 0.8::factY:-xor(factA,factB). 0.9::factZ:-and(factA,factC). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.25900000000000006,0.033806761352270454,train,probably not,probable,It is probably not the case that either 'Brian is yellow' or 'Greg is a lion' but not both.,It is probable that either 'Brian is yellow' or 'Greg is a lion' but not both.,1,Either 'Brian is yellow' or 'Greg is a lion' but not both. We believe that Jessica is a wolf. We doubt that Sandra took the milk. There is little chance that John went to the garden. It is almost certain that if 'Sandra took the milk and Jessica is a wolf' then Bernhard is a frog. It is probably the case that if either 'Sandra took the milk' or 'Jessica is a wolf' but not both then Mary dropped the apple. It is highly unlikely that if 'John went to the garden' or 'Jessica is a wolf' or both then Julius is white.,It is almost certain that 'Julius is white and Sandra 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.75::factA. 0.2::factB. 0.1::factC. %hop1 0.95::factX:-and(factB,factA). 0.7::factY:-xor(factB,factA). 0.05::factZ:-or(factC,factA). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.007750000000000001,0.05021004200840168,train,impossible,almost certain,It is impossible that 'Julius is white and Sandra took the milk'.,It is almost certain that 'Julius is white and Sandra took the milk'.,0,'Julius is white and Sandra took the milk'. It is almost certain that John went to the hallway. There is almost no chance that Jessica is a cat. It is highly likely that Lily is a swan. It is probable that if 'John went to the hallway and Lily is a swan' then Julius is gray. There is a very good chance that if 'John went to the hallway and Jessica is a cat' then Greg is a rhino. Chances are about even that if 'John went to the hallway' or 'Lily is a swan' or both then Mary left the football.,It is highly unlikely that either 'John went to the hallway' 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.95::factA. 0.02::factB. 0.9::factC. %hop1 0.7::factX:-and(factA,factC). 0.8::factY:-and(factA,factB). 0.5::factZ:-or(factA,factC). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.4975,0.0016003200640128026,train,about even,highly unlikely,Chances are about even that either 'John went to the hallway' or 'Mary left the football' but not both.,It is highly unlikely that either 'John went to the hallway' or 'Mary left the football' but not both.,0,Either 'John went to the hallway' or 'Mary left the football' but not both. There is little chance that Mary picked up the milk. There is little chance that Sandra took the apple. It is highly likely that Lily is a swan. It is certain that if either 'Lily is a swan' or 'Mary picked up the milk' but not both then John dropped the milk. It is probably not the case that if either 'Sandra took the apple' or 'Lily is a swan' but not both then Bernhard is yellow. It is probably not the case that if 'Lily is a swan' or 'Mary picked up the milk' or both then Brian is white.,It is highly likely that 'Lily is a swan' or 'Mary 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.1::factA. 0.1::factB. 0.9::factC. %hop1 1.0::factX:-xor(factC,factA). 0.25::factY:-xor(factB,factC). 0.25::factZ:-or(factC,factA). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.91,0.08601720344068814,train,highly likely,chances are slight,It is highly likely that 'Lily is a swan' or 'Mary picked up the milk' or both.,Chances are slight that 'Lily is a swan' or 'Mary picked up the milk' or both.,1,'Lily is a swan' or 'Mary picked up the milk' or both. It is probable that Greg is a lion. It is impossible that Sandra left the milk. It is improbable that Mary moved to the office. It is improbable that if 'Mary moved to the office and Sandra left the milk' then Jason is tired. There is a very good chance that if either 'Mary moved to the office' or 'Greg is a lion' but not both then Lily is white. It is impossible that if 'Sandra left the milk and Greg is a lion' then Brian is green.,It is impossible that 'Lily is white' 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.7::factA. 0.0::factB. 0.1::factC. %hop1 0.1::factX:-and(factC,factB). 0.8::factY:-xor(factC,factA). 0.0::factZ:-and(factB,factA). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.604,0.13902780556111222,train,better than even,impossible,There is a better than even chance that 'Lily is white' or 'Mary moved to the office' or both.,It is impossible that 'Lily is white' or 'Mary moved to the office' or both.,0,'Lily is white' or 'Mary moved to the office' or both. It is probable that Lily is green. It is highly likely that Mary got the football. It is likely that Julius is a lion. Chances are about even that if 'Julius is a lion' or 'Lily is green' or both then Gertrude is a cat. Chances are about even that if 'Mary got the football and Lily is green' then Bernhard is gray. It is likely that if 'Mary got the football' or 'Lily is green' or both then Brian is green.,It is probably not the case that 'Julius is a lion 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.9::factB. 0.7::factC. %hop1 0.5::factX:-or(factC,factA). 0.5::factY:-and(factB,factA). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.3499999999999999,0.5615123024604921,train,probably not,we believe,It is probably not the case that 'Julius is a lion and Gertrude is a cat'.,We believe that 'Julius is a lion and Gertrude is a cat'.,1,'Julius is a lion and Gertrude is a cat'. We doubt that Bernhard is a frog. It is certain that Greg is a swan. It is highly likely that Mary left the milk. It is highly unlikely that if 'Mary left the milk and Greg is a swan' then Brian is a rhino. There is almost no chance that if either 'Bernhard is a frog' or 'Mary left the milk' but not both then Lily is green. There is almost no chance that if either 'Greg is a swan' or 'Bernhard is a frog' but not both then John discarded the apple.,There is almost no chance that 'Greg is a swan 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.2::factA. 1.0::factB. 0.9::factC. %hop1 0.05::factX:-and(factC,factB). 0.02::factY:-xor(factA,factC). 0.02::factZ:-xor(factB,factA). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.014800000000000008,0.07881576315263053,train,almost no chance,better than even,There is almost no chance that 'Greg is a swan and Lily is green'.,There is a better than even chance that 'Greg is a swan and Lily is green'.,1,'Greg is a swan and Lily is green'. It is likely that Bernhard is a lion. It is probably the case that Sandra left the milk. It is almost certain that John picked up the apple. It is likely that if either 'Bernhard is a lion' or 'John picked up the apple' but not both then Fred went to the garden. It is improbable that if 'Sandra left the milk' or 'Bernhard is a lion' or both then Mary got the football. It is certain that if 'Bernhard is a lion' or 'Sandra left the milk' or both then Lily is a swan.,It is almost certain that 'Lily is a swan' or 'Fred 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.7::factA. 0.7::factB. 0.95::factC. %hop1 0.7::factX:-xor(factA,factC). 0.1::factY:-or(factB,factA). 1.0::factZ:-or(factA,factB). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.96985,0.5645129025805161,train,almost certain,probably not,It is almost certain that 'Lily is a swan' or 'Fred went to the garden' or both.,It is probably not the case that 'Lily is a swan' or 'Fred went to the garden' or both.,1,'Lily is a swan' or 'Fred went to the garden' or both. It is improbable that John dropped the apple. There is almost no chance that Bernhard is a frog. Chances are about even that Brian is gray. We doubt that if either 'Brian is gray' or 'John dropped the apple' but not both then Yann is hungry. It is improbable that if either 'Bernhard is a frog' or 'Brian is gray' but not both then Mary went to the bedroom. We doubt that if either 'Bernhard is a frog' or 'Brian is gray' but not both then Julius is a swan.,It is probable that 'Yann is hungry 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.1::factA. 0.02::factB. 0.5::factC. %hop1 0.2::factX:-xor(factC,factA). 0.1::factY:-xor(factB,factC). 0.2::factZ:-xor(factB,factC). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.09000000000000001,0.665133026605321,train,little chance,probable,There is little chance that 'Yann is hungry and Brian is gray'.,It is probable that 'Yann is hungry and Brian is gray'.,0,'Yann is hungry and Brian is gray'. There is a better than even chance that Mary went to the hallway. It is unlikely that Daniel left the apple. We doubt that Bernhard is a swan. We doubt that if either 'Bernhard is a swan' or 'Daniel left the apple' but not both then John moved to the garden. Chances are slight that if either 'Bernhard is a swan' or 'Daniel left the apple' but not both then Jason is tired. It is certain that if either 'Daniel left the apple' or 'Bernhard is a swan' but not both then Sandra got the milk.,It is highly likely that 'Bernhard is a swan and Daniel 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.6::factA. 0.2::factB. 0.2::factC. %hop1 0.2::factX:-xor(factC,factB). 0.1::factY:-xor(factC,factB). 1.0::factZ:-xor(factB,factC). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.04000000000000001,0.14262852570514103,train,highly unlikely,highly likely,It is highly unlikely that 'Bernhard is a swan and Daniel left the apple'.,It is highly likely that 'Bernhard is a swan and Daniel left the apple'.,0,'Bernhard is a swan and Daniel left the apple'. It is likely that John left the football. It is improbable that Mary went to the hallway. Chances are about even that Gertrude is a sheep. It is likely that if 'Mary went to the hallway and John left the football' then Greg is a rhino. We believe that if 'Mary went to the hallway' or 'Gertrude is a sheep' or both then Bernhard is white. Chances are slight that if 'Mary went to the hallway' or 'Gertrude is a sheep' or both then Bill moved to the office.,It is probably not the case that either 'John left the football' or 'Mary went to the hallway' 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.5::factC. %hop1 0.7::factX:-and(factB,factA). 0.75::factY:-or(factB,factC). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.6599999999999999,0.03080616123224645,train,probable,probably not,It is probable that either 'John left the football' or 'Mary went to the hallway' but not both.,It is probably not the case that either 'John left the football' or 'Mary went to the hallway' but not both.,0,Either 'John left the football' or 'Mary went to the hallway' but not both. Chances are about even that John left the football. It is impossible that Bernhard is white. We doubt that Greg is a frog. There is a better than even chance that if either 'Greg is a frog' or 'Bernhard is white' but not both then Lily is green. Chances are about even that if 'John left the football' or 'Bernhard is white' or both then Brian is yellow. It is probable that if 'John left the football' or 'Bernhard is white' or both then Mary moved to the garden.,It is highly likely that 'Mary moved to the garden' 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.5::factA. 0.0::factB. 0.2::factC. %hop1 0.6::factX:-xor(factC,factB). 0.5::factY:-or(factA,factB). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.3499999999999999,0.5665133026605321,train,probably not,highly likely,It is probably not the case that 'Mary moved to the garden' or 'Bernhard is white' or both.,It is highly likely that 'Mary moved to the garden' or 'Bernhard is white' or both.,0,'Mary moved to the garden' or 'Bernhard is white' or both. We believe that Mary went to the hallway. It is likely that Greg is a rhino. We doubt that Jessica is a cat. There is a very good chance that if 'Greg is a rhino and Mary went to the hallway' then Sandra left the milk. There is little chance that if 'Mary went to the hallway' or 'Jessica is a cat' or both then Bernhard is a lion. There is little chance that if either 'Mary went to the hallway' or 'Jessica is a cat' but not both then John moved to the office.,It is probable that 'John 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.75::factA. 0.7::factB. 0.2::factC. %hop1 0.8::factX:-and(factB,factA). 0.1::factY:-or(factA,factC). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.7195,0.7493498699739948,train,probable,almost no chance,It is probable that 'John moved to the office' or 'Greg is a rhino' or both.,There is almost no chance that 'John moved to the office' or 'Greg is a rhino' or both.,1,'John moved to the office' or 'Greg is a rhino' or both. We doubt that Lily is a lion. There is a better than even chance that Julius is gray. It is probably the case that Greg is yellow. Chances are about even that if either 'Lily is a lion' or 'Julius is gray' but not both then Mary went to the kitchen. It is certain that if 'Julius is gray and Lily is a lion' then Sandra left the milk. It is unlikely that if 'Lily is a lion' or 'Julius is gray' or both then John got the apple.,It is certain that either 'Sandra left the milk' 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.2::factA. 0.6::factB. 0.7::factC. %hop1 0.5::factX:-xor(factA,factB). 1.0::factY:-and(factB,factA). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.08000000000000002,0.7623524704940988,train,little chance,certain,There is little chance that either 'Sandra left the milk' or 'Lily is a lion' but not both.,It is certain that either 'Sandra left the milk' or 'Lily is a lion' but not both.,0,Either 'Sandra left the milk' or 'Lily is a lion' but not both. It is probably the case that Julius is a frog. It is improbable that Gertrude is a cat. It is highly likely that Bernhard is green. Chances are about even that if 'Bernhard is green' or 'Julius is a frog' or both then Sumit is hungry. It is probable that if 'Julius is a frog' or 'Gertrude is a cat' or both then Brian is yellow. There is a better than even chance that if 'Gertrude is a cat and Julius is a frog' then Mary grabbed the milk.,There is little chance that 'Brian 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.9::factC. %hop1 0.5::factX:-or(factC,factA). 0.7::factY:-or(factA,factB). 0.6::factZ:-and(factB,factA). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.9511000000000001,0.6169233846769354,train,almost certain,little chance,It is almost certain that 'Brian is yellow' or 'Bernhard is green' or both.,There is little chance that 'Brian is yellow' or 'Bernhard is green' or both.,0,'Brian is yellow' or 'Bernhard is green' or both. It is impossible that Jessica is a mouse. It is highly likely that John grabbed the apple. It is probable that Brian is a frog. It is almost certain that if either 'Jessica is a mouse' or 'Brian is a frog' but not both then Daniel left the milk. It is probably not the case that if either 'Brian is a frog' or 'John grabbed the apple' but not both then Bernhard is green. It is probably the case that if either 'John grabbed the apple' or 'Jessica is a mouse' but not both then Gertrude is a sheep.,It is impossible that either 'Daniel left 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.0::factA. 0.9::factB. 0.7::factC. %hop1 0.95::factX:-xor(factA,factC). 0.25::factY:-xor(factC,factB). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.45709999999999995,0.40388077615523105,train,about even,impossible,Chances are about even that either 'Daniel left the milk' or 'Gertrude is a sheep' but not both.,It is impossible that either 'Daniel left the milk' or 'Gertrude is a sheep' but not both.,0,Either 'Daniel left the milk' or 'Gertrude is a sheep' but not both. It is highly likely that Winona is a cat. We believe that Greg is a rhino. It is highly unlikely that Daniel got the football. There is a very good chance that if 'Winona is a cat and Daniel got the football' then Sandra left the milk. It is certain that if either 'Greg is a rhino' or 'Winona is a cat' but not both then Mary discarded the apple. It is probable that if 'Daniel got the football and Greg is a rhino' then Jason is tired.,It is unlikely that either 'Sandra left the milk' or 'Winona 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.9::factA. 0.75::factB. 0.05::factC. %hop1 0.8::factX:-and(factA,factC). 1.0::factY:-xor(factB,factA). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.864,0.7459491898379675,train,highly likely,unlikely,It is highly likely that either 'Sandra left the milk' or 'Winona is a cat' but not both.,It is unlikely that either 'Sandra left the milk' or 'Winona is a cat' but not both.,0,Either 'Sandra left the milk' or 'Winona is a cat' but not both. It is likely that Bernhard is green. It is probable that John discarded the apple. We doubt that Jason is tired. There is a better than even chance that if 'John discarded the apple' or 'Jason is tired' or both then Mary went to the office. It is unlikely that if 'Bernhard is green' or 'Jason is tired' or both then Brian is a lion. There is little chance that if 'John discarded the apple and Jason is tired' then Greg is a swan.,There is little chance that 'Bernhard is green' 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.7::factA. 0.7::factB. 0.2::factC. %hop1 0.6::factX:-or(factB,factC). 0.2::factY:-or(factA,factC). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.712,0.04980996199239848,train,probably,little chance,It is probably the case that 'Bernhard is green' or 'Brian is a lion' or both.,There is little chance that 'Bernhard is green' or 'Brian is a lion' or both.,0,'Bernhard is green' or 'Brian is a lion' or both. It is certain that Gertrude is a sheep. It is probably the case that Mary dropped the apple. There is almost no chance that Lily is a lion. It is unlikely that if 'Gertrude is a sheep and Mary dropped the apple' then Bernhard is a frog. It is probable that if either 'Lily is a lion' or 'Mary dropped the apple' but not both then Brian is yellow. There is a very good chance that if either 'Lily is a lion' or 'Mary dropped the apple' but not both then John went to the hallway.,There is a better than even chance that either 'Bernhard is a frog' 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 1.0::factA. 0.7::factB. 0.02::factC. %hop1 0.2::factX:-and(factA,factB). 0.7::factY:-xor(factC,factB). 0.8::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.5599999999999999,0.379875975195039,train,better than even,little chance,There is a better than even chance that either 'Bernhard is a frog' or 'Mary dropped the apple' but not both.,There is little chance that either 'Bernhard is a frog' or 'Mary dropped the apple' but not both.,1,Either 'Bernhard is a frog' or 'Mary dropped the apple' but not both. It is probably the case that Sumit is tired. It is highly unlikely that Bernhard is a rhino. It is probably the case that Greg is a lion. Chances are slight that if either 'Greg is a lion' or 'Sumit is tired' but not both then Brian is yellow. It is probable that if 'Greg is a lion' or 'Sumit is tired' or both then Fred dropped the milk. It is unlikely that if either 'Sumit is tired' or 'Greg is a lion' but not both then John left the football.,It is impossible that 'Sumit is tired' 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.7::factA. 0.05::factB. 0.7::factC. %hop1 0.1::factX:-xor(factC,factA). 0.7::factY:-or(factC,factA). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.721,0.33646729345869175,train,likely,impossible,It is likely that 'Sumit is tired' or 'Brian is yellow' or both.,It is impossible that 'Sumit is tired' or 'Brian is yellow' or both.,0,'Sumit is tired' or 'Brian is yellow' or both. There is little chance that Brian is gray. It is almost certain that John grabbed the apple. We believe that Julius is a frog. There is almost no chance that if either 'John grabbed the apple' or 'Julius is a frog' but not both then Greg is gray. It is almost certain that if 'John grabbed the apple' or 'Julius is a frog' or both then Bill left the milk. It is almost certain that if either 'Brian is gray' or 'John grabbed the apple' but not both then Mary went to the office.,It is almost certain that either 'Greg is gray' or 'John grabbed 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.75::factC. %hop1 0.02::factX:-xor(factB,factC). 0.95::factY:-or(factB,factC). 0.95::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.9460000000000001,0.5203040608121624,train,almost certain,about even,It is almost certain that either 'Greg is gray' or 'John grabbed the apple' but not both.,Chances are about even that either 'Greg is gray' or 'John grabbed the apple' but not both.,1,Either 'Greg is gray' or 'John grabbed the apple' but not both. Chances are slight that Lily is a lion. We doubt that Jessica is a sheep. It is almost certain that Bernhard is yellow. It is almost certain that if 'Bernhard is yellow' or 'Jessica is a sheep' or both then Gertrude is a mouse. It is highly likely that if 'Bernhard is yellow and Lily is a lion' then Mary went to the kitchen. It is probable that if 'Lily is a lion and Jessica is a sheep' then Julius is white.,There is almost no chance that 'Jessica is a sheep 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.1::factA. 0.2::factB. 0.95::factC. %hop1 0.95::factX:-or(factC,factB). 0.9::factY:-and(factC,factA). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.02000000000000001,0.6945389077815564,train,almost no chance,probably,There is almost no chance that 'Jessica is a sheep and Lily is a lion'.,It is probably the case that 'Jessica is a sheep and Lily is a lion'.,1,'Jessica is a sheep and Lily is a lion'. It is probable that Brian is green. There is a better than even chance that Mary went to the hallway. It is likely that Julius is white. It is unlikely that if 'Brian is green' or 'Julius is white' or both then Bernhard is a frog. There is a very good chance that if either 'Mary went to the hallway' or 'Brian is green' but not both then Daniel took the milk. It is unlikely that if 'Mary went to the hallway and Julius is white' then Sandra left the football.,It is certain that 'Bernhard is a frog 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.6::factB. 0.7::factC. %hop1 0.2::factX:-or(factA,factC). 0.8::factY:-xor(factB,factA). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.14,0.40268053610722143,train,chances are slight,certain,Chances are slight that 'Bernhard is a frog and Brian is green'.,It is certain that 'Bernhard is a frog and Brian is green'.,0,'Bernhard is a frog and Brian is green'. It is impossible that Greg is gray. We doubt that Daniel got the football. It is likely that Bernhard is a lion. Chances are slight that if either 'Bernhard is a lion' or 'Daniel got the football' but not both then John discarded the apple. Chances are slight that if 'Bernhard is a lion' or 'Greg is gray' or both then Bill went to the office. It is probable that if either 'Daniel got the football' or 'Greg is gray' but not both then Julius is yellow.,It is certain that 'Bill went to the office' 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.0::factA. 0.2::factB. 0.7::factC. %hop1 0.1::factX:-xor(factC,factB). 0.1::factY:-or(factC,factA). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.2002,0.1880376075215043,train,we doubt,certain,We doubt that 'Bill went to the office' or 'Julius is yellow' or both.,It is certain that 'Bill went to the office' or 'Julius is yellow' or both.,0,'Bill went to the office' or 'Julius is yellow' or both. There is little chance that Bernhard is a swan. There is a very good chance that Lily is green. We doubt that John moved to the garden. It is highly unlikely that if either 'Bernhard is a swan' or 'John moved to the garden' but not both then Antoine is hungry. We believe that if 'John moved to the garden and Lily is green' then Brian is yellow. There is almost no chance that if 'John moved to the garden' or 'Lily is green' or both then Greg is gray.,It is probably not the case that 'Brian is yellow' 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.1::factA. 0.8::factB. 0.2::factC. %hop1 0.05::factX:-xor(factA,factC). 0.75::factY:-and(factC,factB). 0.02::factZ:-or(factC,factB). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.8,0.7049409881976395,train,very good chance,probably not,There is a very good chance that 'Brian is yellow' or 'Lily is green' or both.,It is probably not the case that 'Brian is yellow' or 'Lily is green' or both.,0,'Brian is yellow' or 'Lily is green' or both. We believe that Daniel dropped the milk. There is a better than even chance that Bernhard is yellow. It is highly unlikely that Brian is a lion. It is almost certain that if 'Brian is a lion and Daniel dropped the milk' then Sumit is bored. It is unlikely that if 'Daniel dropped the milk' or 'Bernhard is yellow' or both then Mary went to the bedroom. It is probable that if 'Daniel dropped the milk and Brian is a lion' then John moved to the garden.,There is almost no chance that 'John moved to the garden 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.75::factA. 0.6::factB. 0.05::factC. %hop1 0.95::factX:-and(factC,factA). 0.2::factY:-or(factA,factB). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.01575,0.17763552710542108,train,almost no chance,certain,There is almost no chance that 'John moved to the garden and Bernhard is yellow'.,It is certain that 'John moved to the garden and Bernhard is yellow'.,1,'John moved to the garden and Bernhard is yellow'. It is impossible that Mary picked up the milk. There is a better than even chance that Lily is a rhino. There is a very good chance that Sandra left the football. It is probably not the case that if 'Sandra left the football' or 'Mary picked up the milk' or both then Jessica is a cat. Chances are about even that if 'Sandra left the football' or 'Mary picked up the milk' or both then Bernhard is a swan. It is probably not the case that if 'Sandra left the football' or 'Lily is a rhino' or both then John discarded the apple.,There is a better than even chance that 'Lily is a rhino' or 'Mary 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.0::factA. 0.6::factB. 0.8::factC. %hop1 0.25::factX:-or(factC,factA). 0.5::factY:-or(factC,factA). 0.25::factZ:-or(factC,factB). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.6,0.4232846569313863,train,better than even,impossible,There is a better than even chance that 'Lily is a rhino' or 'Mary picked up the milk' or both.,It is impossible that 'Lily is a rhino' or 'Mary picked up the milk' or both.,1,'Lily is a rhino' or 'Mary picked up the milk' or both. It is unlikely that Bernhard is gray. There is almost no chance that Greg is a lion. It is likely that John moved to the office. It is impossible that if 'Greg is a lion and Bernhard is gray' then Sandra took the football. It is highly unlikely that if 'Greg is a lion and Bernhard is gray' then Lily is a rhino. It is almost certain that if either 'John moved to the office' or 'Greg is a lion' but not both then Mary left the apple.,It is impossible that 'Greg is a lion 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.2::factA. 0.02::factB. 0.7::factC. %hop1 0.0::factX:-and(factB,factA). 0.05::factY:-and(factB,factA). 0.95::factZ:-xor(factC,factB). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.004000000000000002,0.16123224644928985,train,impossible,we believe,It is impossible that 'Greg is a lion and Bernhard is gray'.,We believe that 'Greg is a lion and Bernhard is gray'.,1,'Greg is a lion and Bernhard is gray'. There is almost no chance that Emily is a sheep. It is highly unlikely that Lily is a swan. It is probably the case that Greg is a rhino. There is little chance that if 'Lily is a swan and Greg is a rhino' then Mary went to the kitchen. It is likely that if 'Lily is a swan and Greg is a rhino' then John put down the milk. It is impossible that if either 'Emily is a sheep' or 'Lily is a swan' but not both then Bernhard is green.,There is a better than even chance that 'Mary went to the kitchen' 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 0.02::factA. 0.05::factB. 0.7::factC. %hop1 0.1::factX:-and(factB,factC). 0.7::factY:-and(factB,factC). 0.0::factZ:-xor(factA,factB). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.025549999999999996,0.26105221044208843,train,almost no chance,better than even,There is almost no chance that 'Mary went to the kitchen' or 'John put down the milk' or both.,There is a better than even chance that 'Mary went to the kitchen' or 'John put down the milk' or both.,0,'Mary went to the kitchen' or 'John put down the milk' or both. There is a very good chance that Lily is a rhino. We believe that John left the football. It is certain that Jessica is a cat. It is improbable that if 'John left the football' or 'Lily is a rhino' or both then Bernhard is gray. It is highly likely that if 'Lily is a rhino' or 'John left the football' or both then Julius is a frog. It is unlikely that if 'Jessica is a cat and John left the football' then Mary went to the hallway.,It is probable that either 'Jessica is a cat' or 'John 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.8::factA. 0.75::factB. 1.0::factC. %hop1 0.1::factX:-or(factB,factA). 0.9::factY:-or(factA,factB). 0.2::factZ:-and(factC,factB). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.25,0.47329465893178635,train,probably not,probable,It is probably not the case that either 'Jessica is a cat' or 'John left the football' but not both.,It is probable that either 'Jessica is a cat' or 'John left the football' but not both.,0,Either 'Jessica is a cat' or 'John left the football' but not both. It is likely that Lily is a swan. It is almost certain that Sandra took the milk. It is likely that Jeff moved to the garden. We doubt that if 'Sandra took the milk' or 'Jeff moved to the garden' or both then Mary is in the bathroom. It is improbable that if 'Jeff moved to the garden' or 'Lily is a swan' or both then Greg is white. It is highly unlikely that if either 'Sandra took the milk' or 'Lily is a swan' but not both then Gertrude is a mouse.,It is probably not the case that either 'Jeff moved to the garden' 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.7::factA. 0.95::factB. 0.7::factC. %hop1 0.2::factX:-or(factB,factC). 0.1::factY:-or(factC,factA). 0.05::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.32000000000000006,0.23224644928985796,train,probably not,probable,It is probably not the case that either 'Jeff moved to the garden' or 'Sandra took the milk' but not both.,It is probable that either 'Jeff moved to the garden' or 'Sandra took the milk' but not both.,1,Either 'Jeff moved to the garden' or 'Sandra took the milk' but not both. There is a very good chance that Brian is a swan. It is highly likely that Sumit is tired. There is a very good chance that Bernhard is a rhino. It is likely that if either 'Brian is a swan' or 'Sumit is tired' but not both then Emily is a sheep. There is a very good chance that if either 'Bernhard is a rhino' or 'Sumit is tired' but not both then Lily is green. It is highly unlikely that if 'Sumit is tired' or 'Brian is a swan' or both then John went to the hallway.,It is certain that 'John went to the hallway 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.8::factA. 0.9::factB. 0.8::factC. %hop1 0.7::factX:-xor(factA,factB). 0.8::factY:-xor(factC,factB). 0.05::factZ:-or(factB,factA). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.039200000000000006,0.506501300260052,train,highly unlikely,certain,It is highly unlikely that 'John went to the hallway and Bernhard is a rhino'.,It is certain that 'John went to the hallway and Bernhard is a rhino'.,0,'John went to the hallway and Bernhard is a rhino'. It is certain that Julius is gray. Chances are about even that Greg is a swan. It is highly likely that John went to the hallway. It is impossible that if 'John went to the hallway and Greg is a swan' then Lily is a rhino. We doubt that if 'Julius is gray and Greg is a swan' then Sandra took the milk. It is highly likely that if 'Julius is gray' or 'John went to the hallway' or both then Brian is a lion.,Chances are about even that either 'Greg is a swan' or 'Lily 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 1.0::factA. 0.5::factB. 0.9::factC. %hop1 0.0::factX:-and(factC,factB). 0.2::factY:-and(factA,factB). 0.9::factZ:-or(factA,factC). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.5,0.021804360872174435,train,about even,almost certain,Chances are about even that either 'Greg is a swan' or 'Lily is a rhino' but not both.,It is almost certain that either 'Greg is a swan' or 'Lily is a rhino' but not both.,1,Either 'Greg is a swan' or 'Lily is a rhino' but not both. It is highly unlikely that Daniel got the apple. It is highly unlikely that Antoine is hungry. We doubt that Julius is a frog. We doubt that if either 'Julius is a frog' or 'Daniel got the apple' but not both then Sandra dropped the milk. There is a very good chance that if 'Daniel got the apple and Julius is a frog' then Bernhard is yellow. It is impossible that if 'Daniel got the apple and Antoine is hungry' then Jeff left the apple.,There is a better than even chance that 'Antoine is hungry' or 'Jeff 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.05::factA. 0.05::factB. 0.2::factC. %hop1 0.2::factX:-xor(factC,factA). 0.8::factY:-and(factA,factC). 0.0::factZ:-and(factA,factB). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.05000000000000001,0.20544108821764354,train,highly unlikely,better than even,It is highly unlikely that 'Antoine is hungry' or 'Jeff left the apple' or both.,There is a better than even chance that 'Antoine is hungry' or 'Jeff left the apple' or both.,0,'Antoine is hungry' or 'Jeff left the apple' or both. We believe that Bernhard is a swan. It is probably the case that Lily is a rhino. It is probably not the case that Jeff left the football. There is a better than even chance that if 'Lily is a rhino and Jeff left the football' then Brian is gray. It is almost certain that if either 'Lily is a rhino' or 'Jeff left the football' but not both then John took the football. It is probably not the case that if 'Jeff left the football' or 'Bernhard is a swan' or both then Sandra put down the milk.,It is probably not the case that 'Brian is gray' or 'Sandra 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. 0.7::factB. 0.25::factC. %hop1 0.6::factX:-and(factB,factC). 0.95::factY:-xor(factB,factC). 0.25::factZ:-or(factC,factA). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.28187500000000004,0.14962992598519703,train,probably not,likely,It is probably not the case that 'Brian is gray' or 'Sandra put down the milk' or both.,It is likely that 'Brian is gray' or 'Sandra put down the milk' or both.,1,'Brian is gray' or 'Sandra put down the milk' or both. There is little chance that Bernhard is a swan. It is probable that Greg is gray. There is almost no chance that Sandra dropped the apple. It is impossible that if 'Sandra dropped the apple and Greg is gray' then Brian is green. It is probable that if 'Sandra dropped the apple and Bernhard is a swan' then John put down the apple. It is highly unlikely that if 'Sandra dropped the apple' or 'Greg is gray' or both then Daniel left the milk.,There is a better than even chance that either 'Bernhard 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.1::factA. 0.7::factB. 0.02::factC. %hop1 0.0::factX:-and(factC,factB). 0.7::factY:-and(factC,factA). 0.05::factZ:-or(factC,factB). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.116,0.4422884576915383,train,improbable,better than even,It is improbable that either 'Bernhard is a swan' or 'Sandra dropped the apple' but not both.,There is a better than even chance that either 'Bernhard is a swan' or 'Sandra dropped the apple' but not both.,0,Either 'Bernhard is a swan' or 'Sandra dropped the apple' but not both. Chances are slight that Antoine is hungry. It is impossible that Brian is a lion. It is impossible that John went to the garden. There is a very good chance that if 'Brian is a lion and John went to the garden' then Julius is a rhino. There is little chance that if 'Antoine is hungry' or 'John went to the garden' or both then Bernhard is a frog. It is impossible that if 'John went to the garden and Antoine is hungry' then Greg is yellow.,It is highly likely that either 'Greg is yellow' or 'John 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.0::factB. 0.0::factC. %hop1 0.8::factX:-and(factB,factC). 0.1::factY:-or(factA,factC). 0.0::factZ:-and(factC,factA). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.0,0.17683536707341468,train,impossible,highly likely,It is impossible that either 'Greg is yellow' or 'John went to the garden' but not both.,It is highly likely that either 'Greg is yellow' or 'John went to the garden' but not both.,0,Either 'Greg is yellow' or 'John went to the garden' but not both. It is likely that Julius is a swan. It is certain that John took the apple. It is unlikely that Greg is yellow. It is highly likely that if 'Greg is yellow and Julius is a swan' then Lily is gray. Chances are slight that if 'John took the apple' or 'Greg is yellow' or both then Brian is a lion. It is likely that if 'Greg is yellow' or 'Julius is a swan' or both then Sandra dropped the milk.,There is almost no chance 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.7::factA. 1.0::factB. 0.2::factC. %hop1 0.9::factX:-and(factC,factA). 0.1::factY:-or(factB,factC). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.5256,0.3656731346269254,train,about even,almost no chance,Chances are about even that either 'Brian is a lion' or 'Sandra dropped the milk' but not both.,There is almost no chance 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 almost certain that Greg is a rhino. It is likely that Brian is yellow. We believe that Julius is a frog. There is almost no chance that if 'Brian is yellow and Greg is a rhino' then John put down the milk. It is unlikely that if either 'Julius is a frog' or 'Brian is yellow' but not both then Mary went to the kitchen. It is probable that if either 'Julius is a frog' or 'Greg is a rhino' but not both then Daniel got the football.,It is unlikely that either 'John put down the milk' or 'Daniel 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.95::factA. 0.7::factB. 0.75::factC. %hop1 0.02::factX:-and(factB,factA). 0.2::factY:-xor(factC,factB). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.20114500000000005,0.5319063812762552,train,unlikely,probable,It is unlikely that either 'John put down the milk' or 'Daniel got the football' but not both.,It is probable that either 'John put down the milk' or 'Daniel got the football' but not both.,1,Either 'John put down the milk' or 'Daniel got the football' but not both. We doubt that Bernhard is gray. There is almost no chance that Julius is a swan. It is improbable that Jeff went to the garden. It is highly likely that if 'Jeff went to the garden and Bernhard is gray' then Sumit is thirsty. We believe that if 'Julius is a swan' or 'Jeff went to the garden' or both then Gertrude is a cat. We doubt that if 'Jeff went to the garden' or 'Julius is a swan' or both then Fred put down the apple.,There is little chance that 'Jeff went to the garden 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.2::factA. 0.02::factB. 0.1::factC. %hop1 0.9::factX:-and(factC,factA). 0.75::factY:-or(factB,factC). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.07500000000000002,0.6797359471894379,train,little chance,highly likely,There is little chance that 'Jeff went to the garden and Gertrude is a cat'.,It is highly likely that 'Jeff went to the garden and Gertrude is a cat'.,1,'Jeff went to the garden and Gertrude is a cat'. It is almost certain that Antoine is hungry. It is highly likely that Brian is yellow. We believe that Mary got the milk. It is highly unlikely that if either 'Antoine is hungry' or 'Brian is yellow' but not both then John moved to the garden. It is highly unlikely that if 'Mary got the milk' or 'Antoine is hungry' or both then Julius is gray. There is almost no chance that if 'Mary got the milk and Antoine is hungry' then Lily is a frog.,There is a very good chance that 'Julius is gray 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.95::factA. 0.9::factB. 0.75::factC. %hop1 0.05::factX:-xor(factA,factB). 0.05::factY:-or(factC,factA). 0.02::factZ:-and(factC,factA). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.044437500000000005,0.6757351470294058,train,highly unlikely,very good chance,It is highly unlikely that 'Julius is gray and Brian is yellow'.,There is a very good chance that 'Julius is gray and Brian is yellow'.,0,'Julius is gray and Brian is yellow'. There is a very good chance that Bernhard is yellow. We believe that Brian is white. It is likely that Mary grabbed the milk. There is a very good chance that if either 'Mary grabbed the milk' or 'Bernhard is yellow' but not both then Julius is gray. It is probably the case that if 'Bernhard is yellow and Mary grabbed the milk' then Sumit is thirsty. There is little chance that if 'Brian is white' or 'Mary grabbed the milk' or both then Jessica is a mouse.,It is probably not the case that either 'Brian is white' 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.8::factA. 0.75::factB. 0.7::factC. %hop1 0.8::factX:-xor(factC,factA). 0.7::factY:-and(factA,factC). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.35000000000000003,0.7861572314462892,train,probably not,probable,It is probably not the case that either 'Brian is white' or 'Bernhard is yellow' but not both.,It is probable that either 'Brian is white' or 'Bernhard is yellow' but not both.,1,Either 'Brian is white' or 'Bernhard is yellow' but not both. It is impossible that Julius is gray. Chances are slight that Yann is thirsty. There is little chance that John moved to the office. There is a very good chance that if 'Yann is thirsty' or 'John moved to the office' or both then Jessica is a cat. It is impossible that if 'Yann is thirsty and John moved to the office' then Brian is a rhino. It is impossible that if 'Julius is gray and Yann is thirsty' then Sandra put down the milk.,It is probable that either 'Yann is thirsty' or 'John 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.0::factA. 0.1::factB. 0.1::factC. %hop1 0.8::factX:-or(factB,factC). 0.0::factY:-and(factB,factC). 0.0::factZ:-and(factA,factB). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.18000000000000005,0.4270854170834167,train,unlikely,probable,It is unlikely that either 'Yann is thirsty' or 'John moved to the office' but not both.,It is probable that either 'Yann is thirsty' or 'John moved to the office' but not both.,0,Either 'Yann is thirsty' or 'John moved to the office' but not both. There is a better than even chance that Mary moved to the office. It is probably not the case that Daniel left the milk. It is highly likely that Bernhard is yellow. Chances are slight that if 'Mary moved to the office' or 'Bernhard is yellow' or both then Greg is a frog. It is almost certain that if 'Bernhard is yellow and Daniel left the milk' then Julius is gray. We doubt that if either 'Mary moved to the office' or 'Daniel left the milk' but not both then John discarded the apple.,It is probably not the case that 'Julius is gray' 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.6::factA. 0.25::factB. 0.9::factC. %hop1 0.1::factX:-or(factA,factC). 0.95::factY:-and(factC,factB). 0.2::factZ:-xor(factA,factB). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.288375,0.01740348069613923,train,probably not,certain,It is probably not the case that 'Julius is gray' or 'Greg is a frog' or both.,It is certain that 'Julius is gray' or 'Greg is a frog' or both.,1,'Julius is gray' or 'Greg is a frog' or both. There is a better than even chance that Greg is a swan. It is unlikely that Gertrude is a sheep. There is almost no chance that Lily is a lion. It is highly likely that if either 'Gertrude is a sheep' or 'Greg is a swan' but not both then Jessica is a cat. There is little chance that if either 'Gertrude is a sheep' or 'Greg is a swan' but not both then Mary went to the kitchen. It is certain that if 'Lily is a lion and Greg is a swan' then John moved to the office.,It is highly unlikely 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.6::factA. 0.2::factB. 0.02::factC. %hop1 0.9::factX:-xor(factB,factA). 0.1::factY:-xor(factB,factA). 1.0::factZ:-and(factC,factA). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.608,0.30586117223444687,train,better than even,highly unlikely,There is a better than even chance that 'Mary went to the kitchen' or 'Greg is a swan' or both.,It is highly unlikely that 'Mary went to the kitchen' or 'Greg is a swan' or both.,0,'Mary went to the kitchen' or 'Greg is a swan' or both. It is almost certain that John went to the garden. It is highly unlikely that Brian is white. We believe that Mary discarded the milk. There is little chance that if either 'John went to the garden' or 'Mary discarded the milk' but not both then Sandra took the football. There is almost no chance that if 'Brian is white and John went to the garden' then Bill got the milk there. It is certain that if 'Brian is white and Mary discarded the milk' then Bernhard is a swan.,It is impossible that 'Sandra took the football 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.75::factC. %hop1 0.1::factX:-xor(factA,factC). 0.02::factY:-and(factB,factA). 1.0::factZ:-and(factB,factC). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.0001875000000000002,0.7313462692538508,train,impossible,probably,It is impossible that 'Sandra took the football and Bernhard is a swan'.,It is probably the case that 'Sandra took the football and Bernhard is a swan'.,1,'Sandra took the football and Bernhard is a swan'. It is improbable that Mary moved to the office. Chances are about even that Greg is a rhino. It is probably not the case that Sandra is in the kitchen. There is almost no chance that if 'Sandra is in the kitchen' or 'Greg is a rhino' or both then Brian is white. It is improbable that if 'Greg is a rhino and Sandra is in the kitchen' then Bernhard is green. It is almost certain that if 'Mary moved to the office and Sandra is in the kitchen' then Daniel put down the milk.,Chances are about even that either 'Greg is a rhino' or 'Sandra is in the kitchen' 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.5::factB. 0.25::factC. %hop1 0.02::factX:-or(factC,factB). 0.1::factY:-and(factB,factC). 0.95::factZ:-and(factA,factC). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5000000000000001,0.32506501300260054,train,about even,impossible,Chances are about even that either 'Greg is a rhino' or 'Sandra is in the kitchen' but not both.,It is impossible that either 'Greg is a rhino' or 'Sandra is in the kitchen' but not both.,1,Either 'Greg is a rhino' or 'Sandra is in the kitchen' but not both. There is a better than even chance that Gertrude is a wolf. It is highly unlikely that Bernhard is a lion. There is little chance that Mary moved to the garden. It is improbable that if either 'Bernhard is a lion' or 'Mary moved to the garden' but not both then Brian is green. It is probably the case that if either 'Gertrude is a wolf' or 'Bernhard is a lion' but not both then Greg is a frog. We believe that if either 'Gertrude is a wolf' or 'Bernhard is a lion' but not both then John discarded the apple.,There is a better than even chance that 'Bernhard is a lion' or 'Gertrude 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.6::factA. 0.05::factB. 0.1::factC. %hop1 0.1::factX:-xor(factB,factC). 0.7::factY:-xor(factA,factB). 0.75::factZ:-xor(factA,factB). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.6199999999999999,0.0598119623924785,train,better than even,highly unlikely,There is a better than even chance that 'Bernhard is a lion' or 'Gertrude is a wolf' or both.,It is highly unlikely that 'Bernhard is a lion' or 'Gertrude is a wolf' or both.,1,'Bernhard is a lion' or 'Gertrude is a wolf' or both. There is almost no chance that Emily is a mouse. Chances are about even that Bernhard is gray. Chances are about even that Lily is a frog. It is impossible that if 'Lily is a frog and Emily is a mouse' then Winona is a wolf. There is little chance that if 'Lily is a frog' or 'Emily is a mouse' or both then John left the football. It is improbable that if either 'Bernhard is gray' or 'Lily is a frog' but not both then Greg is a swan.,It is highly unlikely that either 'Winona is a wolf' or 'John 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.02::factA. 0.5::factB. 0.5::factC. %hop1 0.0::factX:-and(factC,factA). 0.1::factY:-or(factC,factA). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.05100000000000001,0.17483496699339868,train,highly unlikely,better than even,It is highly unlikely that either 'Winona is a wolf' or 'John left the football' but not both.,There is a better than even chance that either 'Winona is a wolf' or 'John left the football' but not both.,1,Either 'Winona is a wolf' or 'John left the football' but not both. It is probable that Jessica is a wolf. It is highly likely that Brian is a rhino. It is almost certain that Greg is yellow. There is a very good chance that if 'Brian is a rhino' or 'Greg is yellow' or both then Bernhard is a swan. It is highly unlikely that if either 'Brian is a rhino' or 'Jessica is a wolf' but not both then John left the football. It is probable that if 'Greg is yellow and Jessica is a wolf' then Mary went to the hallway.,It is highly likely that 'Mary went to the hallway' 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.9::factB. 0.95::factC. %hop1 0.8::factX:-or(factB,factC). 0.05::factY:-xor(factB,factA). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.8891,0.1836367273454691,train,highly likely,improbable,It is highly likely that 'Mary went to the hallway' or 'Bernhard is a swan' or both.,It is improbable that 'Mary went to the hallway' or 'Bernhard is a swan' or both.,1,'Mary went to the hallway' or 'Bernhard is a swan' or both. Chances are slight that Greg is yellow. It is unlikely that Winona is a sheep. It is probable that Bernhard is a swan. It is impossible that if 'Bernhard is a swan and Greg is yellow' then Lily is green. It is almost certain that if 'Bernhard is a swan and Greg is yellow' then Antoine is thirsty. It is probably the case that if either 'Winona is a sheep' or 'Bernhard is a swan' but not both then John got the milk.,It is probably not the case that 'Winona is a sheep' or 'Antoine 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.1::factA. 0.2::factB. 0.7::factC. %hop1 0.0::factX:-and(factC,factA). 0.95::factY:-and(factC,factA). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.2532,0.05721144228845769,train,probably not,almost certain,It is probably not the case that 'Winona is a sheep' or 'Antoine is thirsty' or both.,It is almost certain that 'Winona is a sheep' or 'Antoine is thirsty' or both.,1,'Winona is a sheep' or 'Antoine is thirsty' or both. It is probably the case that Bernhard is yellow. It is almost certain that Julius is a frog. There is a better than even chance that Daniel got the milk. We doubt that if either 'Daniel got the milk' or 'Julius is a frog' but not both then John moved to the office. There is a better than even chance that if either 'Julius is a frog' or 'Daniel got the milk' but not both then Lily is gray. It is highly likely that if 'Julius is a frog and Daniel got the milk' then Emily is a mouse.,There is almost no chance that either 'Bernhard is yellow' 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.7::factA. 0.95::factB. 0.6::factC. %hop1 0.2::factX:-xor(factC,factB). 0.6::factY:-xor(factB,factC). 0.9::factZ:-and(factB,factC). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.6015999999999999,0.20004000800160032,train,better than even,almost no chance,There is a better than even chance that either 'Bernhard is yellow' or 'Lily is gray' but not both.,There is almost no chance that either 'Bernhard is yellow' or 'Lily is gray' but not both.,0,Either 'Bernhard is yellow' or 'Lily is gray' but not both. It is certain that Gertrude is a mouse. It is improbable that Sandra left the milk. It is probably not the case that Greg is white. Chances are slight that if 'Greg is white' or 'Sandra left the milk' or both then John went to the garden. There is a better than even chance that if 'Gertrude is a mouse and Greg is white' then Brian is a swan. We doubt that if 'Greg is white and Gertrude is a mouse' then Mary dropped the milk.,There is a very good chance that 'Gertrude is a mouse 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 1.0::factA. 0.1::factB. 0.25::factC. %hop1 0.1::factX:-or(factC,factB). 0.6::factY:-and(factA,factC). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.03250000000000001,0.5809161832366473,train,almost no chance,very good chance,There is almost no chance that 'Gertrude is a mouse and John went to the garden'.,There is a very good chance that 'Gertrude is a mouse and John went to the garden'.,0,'Gertrude is a mouse and John went to the garden'. It is probably the case that Gertrude is a sheep. Chances are about even that Greg is a swan. We believe that Mary moved to the office. It is unlikely that if either 'Gertrude is a sheep' or 'Mary moved to the office' but not both then Lily is green. It is almost certain that if 'Mary moved to the office' or 'Greg is a swan' or both then Bernhard is green. There is little chance that if 'Gertrude is a sheep' or 'Mary moved to the office' or both then Julius is yellow.,It is highly unlikely that 'Julius is yellow and Greg 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.5::factB. 0.75::factC. %hop1 0.2::factX:-xor(factA,factC). 0.95::factY:-or(factC,factB). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.046250000000000006,0.3102620524104821,train,highly unlikely,highly likely,It is highly unlikely that 'Julius is yellow and Greg is a swan'.,It is highly likely that 'Julius is yellow and Greg is a swan'.,1,'Julius is yellow and Greg is a swan'. There is little chance that Sandra left the football. It is highly unlikely that Jessica is a sheep. It is probably the case that Greg is a rhino. We believe that if 'Sandra left the football and Jessica is a sheep' then Bernhard is gray. It is probably not the case that if 'Greg is a rhino' or 'Sandra left the football' or both then John got the milk. It is impossible that if either 'Jessica is a sheep' or 'Greg is a rhino' but not both then Yann is hungry.,It is probably not the case that 'Sandra left the football' or 'John 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.1::factA. 0.05::factB. 0.7::factC. %hop1 0.75::factX:-and(factA,factB). 0.25::factY:-or(factC,factA). 0.0::factZ:-xor(factB,factC). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.2575,0.054210842168433686,train,probably not,very good chance,It is probably not the case that 'Sandra left the football' or 'John got the milk' or both.,There is a very good chance that 'Sandra left the football' or 'John got the milk' or both.,1,'Sandra left the football' or 'John got the milk' or both. We doubt that Bernhard is a lion. There is almost no chance that Jessica is a sheep. There is almost no chance that Greg is a rhino. We believe that if 'Bernhard is a lion' or 'Jessica is a sheep' or both then John got the apple. It is almost certain that if 'Bernhard is a lion' or 'Jessica is a sheep' or both then Mary went to the hallway. It is probable that if 'Greg is a rhino and Bernhard is a lion' then Brian is a lion.,There is a very good chance that 'Brian is a lion' or 'John 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.2::factA. 0.02::factB. 0.02::factC. %hop1 0.75::factX:-or(factA,factB). 0.95::factY:-or(factA,factB). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.16270000000000004,0.6183236647329466,train,we doubt,very good chance,We doubt that 'Brian is a lion' or 'John got the apple' or both.,There is a very good chance that 'Brian is a lion' or 'John got the apple' or both.,0,'Brian is a lion' or 'John got the apple' or both. It is certain that John moved to the office. It is likely that Yann is thirsty. It is likely that Julius is a swan. It is certain that if either 'John moved to the office' or 'Yann is thirsty' but not both then Mary went to the garden. It is unlikely that if 'Yann is thirsty' or 'Julius is a swan' or both then Brian is white. It is almost certain that if either 'Julius is a swan' or 'Yann is thirsty' but not both then Lily is a rhino.,It is almost certain that 'Yann is thirsty 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 1.0::factA. 0.7::factB. 0.7::factC. %hop1 1.0::factX:-xor(factA,factB). 0.2::factY:-or(factB,factC). 0.95::factZ:-xor(factC,factB). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.14,0.515503100620124,train,chances are slight,almost certain,Chances are slight that 'Yann is thirsty and Brian is white'.,It is almost certain that 'Yann is thirsty and Brian is white'.,0,'Yann is thirsty and Brian is white'. It is highly unlikely that Jason is tired. It is highly likely that Jeff moved to the office. It is highly likely that Julius is gray. It is almost certain that if either 'Jason is tired' or 'Julius is gray' but not both then Brian is a swan. It is unlikely that if 'Julius is gray and Jason is tired' then Greg is a lion. There is a better than even chance that if 'Jeff moved to the office and Jason is tired' then John picked up the apple.,It is certain that 'Julius is gray' 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.05::factA. 0.9::factB. 0.9::factC. %hop1 0.95::factX:-xor(factA,factC). 0.2::factY:-and(factC,factA). 0.6::factZ:-and(factB,factA). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.99,0.3152630526105221,train,certain,little chance,It is certain that 'Julius is gray' or 'Jeff moved to the office' or both.,There is little chance that 'Julius is gray' or 'Jeff moved to the office' or both.,1,'Julius is gray' or 'Jeff moved to the office' or both. It is almost certain that Jessica is a cat. It is improbable that Greg is a lion. There is a better than even chance that John went to the hallway. It is impossible that if 'John went to the hallway and Greg is a lion' then Bernhard is a swan. There is almost no chance that if 'John went to the hallway' or 'Greg is a lion' or both then Emily is a sheep. It is impossible that if 'Jessica is a cat and Greg is a lion' then Brian is a rhino.,There is a better than even chance that 'John went to the hallway' or 'Emily 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.95::factA. 0.1::factB. 0.6::factC. %hop1 0.0::factX:-and(factC,factB). 0.02::factY:-or(factC,factB). 0.0::factZ:-and(factA,factB). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.6008,0.24524904980996198,train,better than even,chances are slight,There is a better than even chance that 'John went to the hallway' or 'Emily is a sheep' or both.,Chances are slight that 'John went to the hallway' or 'Emily is a sheep' or both.,1,'John went to the hallway' or 'Emily is a sheep' or both. It is probably not the case that Jessica is a cat. There is a very good chance that Emily is a mouse. It is probably not the case that John discarded the milk. It is probably the case that if 'John discarded the milk' or 'Jessica is a cat' or both then Daniel left the apple. It is likely that if either 'John discarded the milk' or 'Emily is a mouse' but not both then Bernhard is green. It is highly unlikely that if 'John discarded the milk and Emily is a mouse' then Lily is a swan.,There is a very good chance that 'John discarded the milk 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.25::factA. 0.8::factB. 0.25::factC. %hop1 0.7::factX:-or(factC,factA). 0.7::factY:-xor(factC,factB). 0.05::factZ:-and(factC,factB). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0625,0.706741348269654,train,highly unlikely,very good chance,It is highly unlikely that 'John discarded the milk and Jessica is a cat'.,There is a very good chance that 'John discarded the milk and Jessica is a cat'.,0,'John discarded the milk and Jessica is a cat'. It is unlikely that Brian is a frog. It is improbable that Greg is a swan. It is highly unlikely that John took the football. It is likely that if either 'John took the football' or 'Greg is a swan' but not both then Mary went to the garden. It is impossible that if 'John took the football' or 'Brian is a frog' or both then Lily is a rhino. It is highly unlikely that if either 'John took the football' or 'Brian is a frog' but not both then Bernhard is white.,It is likely that 'Bernhard is white and Greg 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.1::factB. 0.05::factC. %hop1 0.7::factX:-xor(factC,factB). 0.0::factY:-or(factC,factA). 0.05::factZ:-xor(factC,factA). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.0011500000000000008,0.07321464292858572,train,impossible,likely,It is impossible that 'Bernhard is white and Greg is a swan'.,It is likely that 'Bernhard is white and Greg is a swan'.,0,'Bernhard is white and Greg is a swan'. Chances are about even that Lily is a lion. It is probably the case that Brian is a rhino. We believe that John went to the garden. It is unlikely that if 'Brian is a rhino' or 'Lily is a lion' or both then Jessica is a mouse. It is unlikely that if either 'Brian is a rhino' or 'Lily is a lion' but not both then Julius is white. There is a very good chance that if 'Lily is a lion' or 'John went to the garden' or both then Mary grabbed the milk.,It is highly likely that 'John went to the garden' 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.5::factA. 0.7::factB. 0.75::factC. %hop1 0.2::factX:-or(factB,factA). 0.2::factY:-xor(factB,factA). 0.8::factZ:-or(factA,factC). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.875,0.5867173434686938,train,highly likely,impossible,It is highly likely that 'John went to the garden' or 'Lily is a lion' or both.,It is impossible that 'John went to the garden' or 'Lily is a lion' or both.,1,'John went to the garden' or 'Lily is a lion' or both. It is probable that Bernhard is gray. We doubt that Mary moved to the garden. It is almost certain that Julius is a swan. It is impossible that if 'Julius is a swan' or 'Mary moved to the garden' or both then Jason is tired. There is little chance that if 'Julius is a swan' or 'Mary moved to the garden' or both then Winona is a cat. It is highly likely that if either 'Julius is a swan' or 'Mary moved to the garden' but not both then Lily is a frog.,It is probable that either 'Bernhard is gray' or 'Winona 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.7::factA. 0.2::factB. 0.95::factC. %hop1 0.0::factX:-or(factC,factB). 0.1::factY:-or(factC,factB). 0.9::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.6616,0.41648329665933187,train,probable,almost no chance,It is probable that either 'Bernhard is gray' or 'Winona is a cat' but not both.,There is almost no chance that either 'Bernhard is gray' or 'Winona is a cat' but not both.,1,Either 'Bernhard is gray' or 'Winona is a cat' but not both. It is certain that Lily is a rhino. We believe that Bernhard is a frog. There is a better than even chance that Julius is yellow. It is unlikely that if 'Bernhard is a frog and Julius is yellow' then Greg is gray. There is little chance that if 'Lily is a rhino' or 'Julius is yellow' or both then Mary dropped the apple. It is highly unlikely that if 'Bernhard is a frog and Julius is yellow' then Gertrude is a wolf.,There is almost no chance 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 1.0::factA. 0.75::factB. 0.6::factC. %hop1 0.2::factX:-and(factB,factC). 0.1::factY:-or(factA,factC). 0.05::factZ:-and(factB,factC). %hop2 conclusion:-or(factA,factY). query(conclusion). ",1.0,0.005001000200040008,train,certain,almost no chance,It is certain that 'Lily is a rhino' or 'Mary dropped the apple' or both.,There is almost no chance 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 highly likely that Bernhard is gray. There is a very good chance that Gertrude is a mouse. Chances are about even that Bill moved to the office. Chances are slight that if 'Bill moved to the office' or 'Bernhard is gray' or both then Winona is a cat. There is little chance that if 'Gertrude is a mouse' or 'Bill moved to the office' or both then Julius is yellow. We doubt that if either 'Gertrude is a mouse' or 'Bernhard is gray' but not both then Lily is a lion.,It is impossible that 'Lily is a lion 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.9::factA. 0.8::factB. 0.5::factC. %hop1 0.1::factX:-or(factC,factA). 0.1::factY:-or(factB,factC). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.0034000000000000007,0.11222244448889777,train,impossible,very good chance,It is impossible that 'Lily is a lion and Julius is yellow'.,There is a very good chance that 'Lily is a lion and Julius is yellow'.,1,'Lily is a lion and Julius is yellow'. There is a better than even chance that Brian is a frog. It is probably the case that Bernhard is green. It is impossible that Greg is a lion. It is improbable that if 'Greg is a lion and Bernhard is green' then Daniel dropped the milk. There is a very good chance that if 'Brian is a frog and Bernhard is green' then Fred went to the garden. It is probable that if either 'Bernhard is green' or 'Brian is a frog' but not both then Lily is a rhino.,It is impossible that 'Daniel dropped 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.6::factA. 0.7::factB. 0.0::factC. %hop1 0.1::factX:-and(factC,factB). 0.8::factY:-and(factA,factB). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.0,0.20604120824164834,train,impossible,probably,It is impossible that 'Daniel dropped the milk and Fred went to the garden'.,It is probably the case that 'Daniel dropped the milk and Fred went to the garden'.,1,'Daniel dropped the milk and Fred went to the garden'. It is highly likely that John took the apple. It is highly unlikely that Bernhard is green. It is probably not the case that Mary went to the office. There is little chance that if 'Bernhard is green' or 'John took the apple' or both then Greg is a swan. It is probable that if 'John took the apple and Mary went to the office' then Brian is a rhino. It is almost certain that if either 'Bernhard is green' or 'Mary went to the office' but not both then Lily is a lion.,It is impossible that 'Greg is a swan 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.9::factA. 0.05::factB. 0.25::factC. %hop1 0.1::factX:-or(factB,factA). 0.7::factY:-and(factA,factC). 0.95::factZ:-xor(factB,factC). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.005000000000000002,0.47449489897979596,train,impossible,very good chance,It is impossible that 'Greg is a swan and Bernhard is green'.,There is a very good chance that 'Greg is a swan and Bernhard is green'.,1,'Greg is a swan and Bernhard is green'. We doubt that Brian is a frog. There is a very good chance that John left the football. It is probably not the case that Mary grabbed the milk. We believe that if 'Brian is a frog' or 'Mary grabbed the milk' or both then Bernhard is yellow. There is almost no chance that if 'Mary grabbed the milk' or 'Brian is a frog' or both then Daniel dropped the apple. Chances are slight that if 'Brian is a frog and John left the football' then Julius is yellow.,We believe 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.8::factB. 0.25::factC. %hop1 0.75::factX:-or(factA,factC). 0.02::factY:-or(factC,factA). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.023360000000000013,0.4508901780356071,train,almost no chance,we believe,There is almost no chance that either 'Julius is yellow' or 'Daniel dropped the apple' but not both.,We believe that either 'Julius is yellow' or 'Daniel dropped the apple' but not both.,0,Either 'Julius is yellow' or 'Daniel dropped the apple' but not both. It is certain that Jason is tired. It is certain that Sandra left the milk. There is a better than even chance that Greg is a frog. It is unlikely that if either 'Sandra left the milk' or 'Greg is a frog' but not both then Mary moved to the garden. It is unlikely that if 'Sandra left the milk and Greg is a frog' then Daniel got the football. It is probable that if 'Jason is tired' or 'Greg is a frog' or both then Bernhard is gray.,It is certain that either 'Jason is tired' or 'Sandra 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 1.0::factA. 1.0::factB. 0.6::factC. %hop1 0.2::factX:-xor(factB,factC). 0.2::factY:-and(factB,factC). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.0,0.6109221844368874,train,impossible,certain,It is impossible that either 'Jason is tired' or 'Sandra left the milk' but not both.,It is certain that either 'Jason is tired' or 'Sandra left the milk' but not both.,0,Either 'Jason is tired' or 'Sandra left the milk' but not both. There is a better than even chance that Julius is a lion. There is a very good chance that Daniel dropped the apple. It is almost certain that Bernhard is a rhino. It is highly unlikely that if either 'Julius is a lion' or 'Bernhard is a rhino' but not both then Sandra took the football. It is probably not the case that if 'Bernhard is a rhino' or 'Julius is a lion' or both then Mary moved to the garden. Chances are slight that if 'Daniel dropped the apple' or 'Julius is a lion' or both then John left the football.,It is improbable that 'Julius 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.6::factA. 0.8::factB. 0.95::factC. %hop1 0.05::factX:-xor(factA,factC). 0.25::factY:-or(factC,factA). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.15,0.544508901780356,train,improbable,certain,It is improbable that 'Julius is a lion and Mary moved to the garden'.,It is certain that 'Julius is a lion and Mary moved to the garden'.,1,'Julius is a lion and Mary moved to the garden'. There is almost no chance that Sandra left the apple. It is unlikely that Mary discarded the milk. It is almost certain that Lily is a rhino. It is almost certain that if 'Sandra left the apple' or 'Mary discarded the milk' or both then Bernhard is yellow. We doubt that if 'Lily is a rhino and Sandra left the apple' then Brian is white. There is almost no chance that if 'Sandra left the apple and Lily is a rhino' then John picked up the milk.,It is unlikely that 'Bernhard is yellow and Mary 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.02::factA. 0.2::factB. 0.95::factC. %hop1 0.95::factX:-or(factA,factB). 0.2::factY:-and(factC,factA). 0.02::factZ:-and(factA,factC). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.19,0.5253050610122024,train,unlikely,certain,It is unlikely that 'Bernhard is yellow and Mary discarded the milk'.,It is certain that 'Bernhard is yellow and Mary discarded the milk'.,1,'Bernhard is yellow and Mary discarded the milk'. It is probably not the case that Bernhard is a rhino. There is a better than even chance that John went to the garden. It is probably the case that Gertrude is a cat. There is a very good chance that if 'Bernhard is a rhino' or 'John went to the garden' or both then Greg is white. It is probable that if either 'Gertrude is a cat' or 'Bernhard is a rhino' but not both then Julius is yellow. We believe that if either 'John went to the garden' or 'Bernhard is a rhino' but not both then Sandra dropped the milk.,It is likely that 'Bernhard is a rhino 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.25::factA. 0.6::factB. 0.7::factC. %hop1 0.8::factX:-or(factA,factB). 0.7::factY:-xor(factC,factA). 0.75::factZ:-xor(factB,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.075,0.7707541508301661,train,highly unlikely,likely,It is highly unlikely that 'Bernhard is a rhino and Sandra dropped the milk'.,It is likely that 'Bernhard is a rhino and Sandra dropped the milk'.,0,'Bernhard is a rhino and Sandra dropped the milk'. Chances are slight that Greg is yellow. It is unlikely that Brian is a swan. There is a better than even chance that Mary went to the bedroom. There is a very good chance that if 'Mary went to the bedroom and Greg is yellow' then Julius is gray. It is probably the case that if 'Greg is yellow and Brian is a swan' then Bernhard is white. There is little chance that if 'Brian is a swan and Greg is yellow' then John took the milk.,It is improbable that either 'Mary went to the bedroom' 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.1::factA. 0.2::factB. 0.6::factC. %hop1 0.8::factX:-and(factC,factA). 0.7::factY:-and(factA,factB). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.5519999999999999,0.787757551510302,train,better than even,improbable,There is a better than even chance that either 'Mary went to the bedroom' or 'Julius is gray' but not both.,It is improbable that either 'Mary went to the bedroom' or 'Julius is gray' but not both.,0,Either 'Mary went to the bedroom' or 'Julius is gray' but not both. It is likely that Lily is a rhino. Chances are slight that Greg is a swan. It is probably the case that Mary went to the garden. There is almost no chance that if 'Mary went to the garden' or 'Lily is a rhino' or both then Emily is a wolf. Chances are about even that if either 'Greg is a swan' or 'Mary went to the garden' but not both then Brian is a frog. It is highly unlikely that if 'Lily is a rhino and Greg is a swan' then Bernhard is a lion.,It is probable that 'Emily is a wolf' or 'Brian 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.7::factA. 0.1::factB. 0.7::factC. %hop1 0.02::factX:-or(factC,factA). 0.5::factY:-xor(factB,factC). 0.05::factZ:-and(factA,factB). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.3416899999999999,0.7289457891578316,train,probably not,probable,It is probably not the case that 'Emily is a wolf' or 'Brian is a frog' or both.,It is probable that 'Emily is a wolf' or 'Brian is a frog' or both.,0,'Emily is a wolf' or 'Brian is a frog' or both. It is certain that Emily is a cat. We believe that Julius is a rhino. It is highly unlikely that John discarded the apple. It is probably not the case that if 'Julius is a rhino and Emily is a cat' then Sumit is hungry. It is improbable that if either 'Emily is a cat' or 'Julius is a rhino' but not both then Greg is a frog. It is certain that if 'Julius is a rhino and Emily is a cat' then Gertrude is a mouse.,There is almost no chance that 'Emily is a cat 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 1.0::factA. 0.75::factB. 0.05::factC. %hop1 0.25::factX:-and(factB,factA). 0.1::factY:-xor(factA,factB). 1.0::factZ:-and(factB,factA). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.025000000000000012,0.03720744148829766,train,almost no chance,probable,There is almost no chance that 'Emily is a cat and Greg is a frog'.,It is probable that 'Emily is a cat and Greg is a frog'.,1,'Emily is a cat and Greg is a frog'. It is certain that Daniel took the milk. It is probably not the case that Julius is gray. It is probably the case that Jessica is a cat. Chances are about even that if 'Daniel took the milk' or 'Jessica is a cat' or both then Bernhard is a swan. It is probably the case that if 'Jessica is a cat' or 'Julius is gray' or both then Brian is a swan. There is a very good chance that if 'Julius is gray' or 'Jessica is a cat' or both then John went to the hallway.,Chances are about even that 'John went to the hallway 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 1.0::factA. 0.25::factB. 0.7::factC. %hop1 0.5::factX:-or(factA,factC). 0.7::factY:-or(factC,factB). 0.8::factZ:-or(factB,factC). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.434,0.5403080616123225,train,about even,almost certain,Chances are about even that 'John went to the hallway and Brian is a swan'.,It is almost certain that 'John went to the hallway and Brian is a swan'.,1,'John went to the hallway and Brian is a swan'. There is little chance that Lily is gray. It is probably not the case that Winona is a mouse. It is likely that Bernhard is yellow. It is highly unlikely that if 'Lily is gray and Bernhard is yellow' then Greg is a frog. It is certain that if 'Lily is gray' or 'Bernhard is yellow' or both then Mary took the football. It is probably not the case that if 'Bernhard is yellow' or 'Lily is gray' or both then Brian is green.,It is highly likely that 'Winona is a mouse 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.1::factA. 0.25::factB. 0.7::factC. %hop1 0.05::factX:-and(factA,factC). 1.0::factY:-or(factA,factC). 0.25::factZ:-or(factC,factA). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.045625,0.47249449889977996,train,highly unlikely,highly likely,It is highly unlikely that 'Winona is a mouse and Brian is green'.,It is highly likely that 'Winona is a mouse and Brian is green'.,0,'Winona is a mouse and Brian is green'. Chances are about even that Lily is a rhino. It is probable that John took the apple. It is highly likely that Bernhard is a lion. There is a very good chance that if either 'John took the apple' or 'Bernhard is a lion' but not both then Gertrude is a wolf. There is a better than even chance that if either 'Lily is a rhino' or 'John took the apple' but not both then Brian is green. There is a better than even chance that if 'Lily is a rhino' or 'John took the apple' or both then Julius is a frog.,It is probable that 'John took the apple 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.5::factA. 0.7::factB. 0.9::factC. %hop1 0.8::factX:-xor(factB,factC). 0.6::factY:-xor(factA,factB). 0.6::factZ:-or(factA,factB). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.3499999999999999,0.10822164432886577,train,probably not,probable,It is probably not the case that 'John took the apple and Lily is a rhino'.,It is probable that 'John took the apple and Lily is a rhino'.,0,'John took the apple and Lily is a rhino'. It is probable that John took the football. It is unlikely that Mary picked up the apple. It is improbable that Julius is a rhino. It is probably the case that if 'John took the football and Julius is a rhino' then Jessica is a cat. It is almost certain that if either 'Julius is a rhino' or 'Mary picked up the apple' but not both then Winona is a mouse. There is a better than even chance that if 'Julius is a rhino' or 'John took the football' or both then Bernhard is a frog.,It is certain that either 'Mary picked up the apple' 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.7::factA. 0.2::factB. 0.1::factC. %hop1 0.7::factX:-and(factA,factC). 0.95::factY:-xor(factC,factB). 0.6::factZ:-or(factC,factA). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.22940000000000002,0.36767353470694136,train,probably not,certain,It is probably not the case that either 'Mary picked up the apple' or 'Jessica is a cat' but not both.,It is certain that either 'Mary picked up the apple' or 'Jessica is a cat' but not both.,0,Either 'Mary picked up the apple' or 'Jessica is a cat' but not both. It is likely that Brian is yellow. Chances are slight that Mary went to the kitchen. We doubt that Lily is green. Chances are slight that if either 'Mary went to the kitchen' or 'Brian is yellow' but not both then John discarded the milk. It is certain that if 'Brian is yellow' or 'Mary went to the kitchen' or both then Greg is a lion. It is improbable that if either 'Brian is yellow' or 'Mary went to the kitchen' but not both then Sumit is thirsty.,It is probable that either 'John discarded the milk' or 'Mary went to the kitchen' 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(factB,factA). 1.0::factY:-or(factA,factB). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.16000000000000003,0.5463092618523705,train,we doubt,probable,We doubt that either 'John discarded the milk' or 'Mary went to the kitchen' but not both.,It is probable that either 'John discarded the milk' or 'Mary went to the kitchen' but not both.,0,Either 'John discarded the milk' or 'Mary went to the kitchen' but not both. There is almost no chance that Sandra left the milk. It is probably the case that Jeff went to the garden. It is certain that Mary took the football. It is highly unlikely that if 'Jeff went to the garden and Mary took the football' then Brian is yellow. We doubt that if either 'Sandra left the milk' or 'Mary took the football' but not both then Julius is yellow. There is a very good chance that if 'Jeff went to the garden' or 'Mary took the football' or both then Bernhard is a swan.,It is highly unlikely that either 'Brian is yellow' 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.02::factA. 0.7::factB. 1.0::factC. %hop1 0.05::factX:-and(factB,factC). 0.2::factY:-xor(factA,factC). 0.8::factZ:-or(factB,factC). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.6649999999999999,0.22764552910582117,train,probably,highly unlikely,It is probably the case that either 'Brian is yellow' or 'Jeff went to the garden' but not both.,It is highly unlikely that either 'Brian is yellow' or 'Jeff went to the garden' but not both.,0,Either 'Brian is yellow' or 'Jeff went to the garden' but not both. It is probably not the case that Mary went to the kitchen. It is probable that Brian is green. It is impossible that John dropped the milk. There is little chance that if 'Mary went to the kitchen and Brian is green' then Julius is a swan. There is almost no chance that if 'Mary went to the kitchen' or 'Brian is green' or both then Gertrude is a wolf. There is little chance that if either 'Mary went to the kitchen' or 'John dropped the milk' but not both then Emily is a cat.,It is impossible that 'John dropped the milk 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.0::factC. %hop1 0.1::factX:-and(factA,factB). 0.02::factY:-or(factA,factB). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.0,0.35247049409881975,train,impossible,likely,It is impossible that 'John dropped the milk and Emily is a cat'.,It is likely that 'John dropped the milk and Emily is a cat'.,1,'John dropped the milk and Emily is a cat'. Chances are slight that Bernhard is gray. There is almost no chance that Greg is a swan. It is likely that John went to the bedroom. It is impossible that if 'Bernhard is gray and Greg is a swan' then Jeff moved to the office. It is unlikely that if 'Bernhard is gray' or 'John went to the bedroom' or both then Brian is yellow. It is likely that if either 'Bernhard is gray' or 'Greg is a swan' but not both then Lily is a swan.,There is almost no chance that either 'Greg is a swan' or 'Jeff 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.1::factA. 0.02::factB. 0.7::factC. %hop1 0.0::factX:-and(factA,factB). 0.2::factY:-or(factA,factC). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.02,0.13642728545709143,train,almost no chance,probably,There is almost no chance that either 'Greg is a swan' or 'Jeff moved to the office' but not both.,It is probably the case that either 'Greg is a swan' or 'Jeff moved to the office' but not both.,1,Either 'Greg is a swan' or 'Jeff moved to the office' but not both. We doubt that Julius is gray. It is likely that John dropped the apple. It is almost certain that Gertrude is a wolf. We doubt that if either 'John dropped the apple' or 'Gertrude is a wolf' but not both then Mary moved to the office. We believe that if 'Julius is gray' or 'Gertrude is a wolf' or both then Bernhard is a frog. It is almost certain that if either 'John dropped the apple' or 'Gertrude is a wolf' but not both then Greg is a swan.,It is highly unlikely that 'Greg is a swan 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.7::factB. 0.95::factC. %hop1 0.2::factX:-xor(factB,factC). 0.75::factY:-or(factA,factC). 0.95::factZ:-xor(factB,factC). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.060800000000000014,0.20784156831366274,train,highly unlikely,better than even,It is highly unlikely that 'Greg is a swan and Mary moved to the office'.,There is a better than even chance that 'Greg is a swan and Mary moved to the office'.,1,'Greg is a swan and Mary moved to the office'. Chances are about even that John put down the apple. It is impossible that Daniel grabbed the milk. It is certain that Jessica is a mouse. There is a very good chance that if 'John put down the apple' or 'Daniel grabbed the milk' or both then Greg is a lion. It is highly likely that if 'Daniel grabbed the milk' or 'John put down the apple' or both then Brian is a rhino. It is probably not the case that if 'John put down the apple' or 'Jessica is a mouse' or both then Bernhard is a frog.,It is certain that 'Greg 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.5::factA. 0.0::factB. 1.0::factC. %hop1 0.8::factX:-or(factA,factB). 0.9::factY:-or(factB,factA). 0.25::factZ:-or(factA,factC). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.49000000000000005,0.0656131226245249,train,about even,certain,Chances are about even that 'Greg is a lion' or 'Brian is a rhino' or both.,It is certain that 'Greg is a lion' or 'Brian is a rhino' or both.,0,'Greg is a lion' or 'Brian is a rhino' or both. We believe that Jeff went to the bedroom. It is certain that Daniel dropped the milk. It is probably not the case that Julius is a swan. There is a better than even chance that if 'Julius is a swan' or 'Jeff went to the bedroom' or both then Lily is white. It is almost certain that if either 'Daniel dropped the milk' or 'Jeff went to the bedroom' but not both then Gertrude is a mouse. It is impossible that if either 'Daniel dropped the milk' or 'Julius is a swan' but not both then Brian is a rhino.,It is improbable that 'Julius is a swan' 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.75::factA. 1.0::factB. 0.25::factC. %hop1 0.6::factX:-or(factC,factA). 0.95::factY:-xor(factB,factA). 0.0::factZ:-xor(factB,factC). %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.19683936787357473,train,certain,improbable,It is certain that 'Julius is a swan' or 'Daniel dropped the milk' or both.,It is improbable that 'Julius is a swan' or 'Daniel dropped the milk' or both.,0,'Julius is a swan' or 'Daniel dropped the milk' or both. There is a better than even chance that Bernhard is a rhino. Chances are slight that John got the apple. There is a better than even chance that Brian is a frog. There is a very good chance that if 'Bernhard is a rhino' or 'Brian is a frog' or both then Mary took the milk. It is highly unlikely that if 'John got the apple' or 'Bernhard is a rhino' or both then Greg is a swan. It is unlikely that if either 'John got the apple' or 'Bernhard is a rhino' but not both then Emily is a mouse.,It is probable that either 'Emily is a mouse' or 'John 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.6::factA. 0.1::factB. 0.6::factC. %hop1 0.8::factX:-or(factA,factC). 0.05::factY:-or(factB,factA). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.20000000000000007,0.4110822164432887,train,we doubt,probable,We doubt that either 'Emily is a mouse' or 'John got the apple' but not both.,It is probable that either 'Emily is a mouse' or 'John got the apple' but not both.,0,Either 'Emily is a mouse' or 'John got the apple' but not both. It is probably not the case that Daniel put down the milk. We believe that Emily is a wolf. It is impossible that Jeff left the apple. There is almost no chance that if either 'Daniel put down the milk' or 'Emily is a wolf' but not both then Lily is a frog. We doubt that if 'Daniel put down the milk and Emily is a wolf' then John went to the kitchen. It is improbable that if 'Daniel put down the milk' or 'Emily is a wolf' or both then Brian is yellow.,It is likely that 'Daniel put down the milk' 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.25::factA. 0.75::factB. 0.0::factC. %hop1 0.02::factX:-xor(factA,factB). 0.2::factY:-and(factA,factB). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.26125000000000004,0.7317463492698539,train,probably not,likely,It is probably not the case that 'Daniel put down the milk' or 'Lily is a frog' or both.,It is likely that 'Daniel put down the milk' or 'Lily is a frog' or both.,0,'Daniel put down the milk' or 'Lily is a frog' or both. There is a better than even chance that Lily is a lion. It is highly likely that Julius is yellow. There is a better than even chance that Bill went to the kitchen. It is impossible that if either 'Julius is yellow' or 'Bill went to the kitchen' but not both then Winona is a wolf. It is likely that if 'Julius is yellow' or 'Bill went to the kitchen' or both then Mary left the football. It is almost certain that if either 'Bill went to the kitchen' or 'Julius is yellow' but not both then Bernhard is green.,There is a very good chance that 'Julius is yellow 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.6::factA. 0.9::factB. 0.6::factC. %hop1 0.0::factX:-xor(factB,factC). 0.7::factY:-or(factB,factC). 0.95::factZ:-xor(factC,factB). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.0,0.480496099219844,train,impossible,very good chance,It is impossible that 'Julius is yellow and Winona is a wolf'.,There is a very good chance that 'Julius is yellow and Winona is a wolf'.,0,'Julius is yellow and Winona is a wolf'. It is impossible that Fred went to the office. It is improbable that Gertrude is a mouse. It is unlikely that Julius is a frog. We doubt that if 'Gertrude is a mouse and Julius is a frog' then John got the milk. It is probably not the case that if 'Fred went to the office and Gertrude is a mouse' then Brian is a rhino. We doubt that if 'Gertrude is a mouse and Fred went to the office' then Lily is a frog.,There is a very good chance that 'Julius is a frog' 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.0::factA. 0.1::factB. 0.2::factC. %hop1 0.2::factX:-and(factB,factC). 0.25::factY:-and(factA,factB). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.2,0.05581116223244649,train,we doubt,very good chance,We doubt that 'Julius is a frog' or 'Lily is a frog' or both.,There is a very good chance that 'Julius is a frog' or 'Lily is a frog' or both.,0,'Julius is a frog' or 'Lily is a frog' or both. Chances are about even that Brian is yellow. It is unlikely that Bernhard is a frog. It is probable that Greg is white. It is certain that if 'Bernhard is a frog and Brian is yellow' then Yann is thirsty. It is likely that if 'Greg is white and Brian is yellow' then Lily is a swan. There is a better than even chance that if 'Brian is yellow and Bernhard is a frog' then Daniel got the milk.,It is highly unlikely that 'Brian is yellow' 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.5::factA. 0.2::factB. 0.7::factC. %hop1 1.0::factX:-and(factB,factA). 0.7::factY:-and(factC,factA). 0.6::factZ:-and(factA,factB). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.49999999999999994,0.49229845969193836,train,about even,highly unlikely,Chances are about even that 'Brian is yellow' or 'Lily is a swan' or both.,It is highly unlikely that 'Brian is yellow' or 'Lily is a swan' or both.,0,'Brian is yellow' or 'Lily is a swan' or both. It is highly unlikely that Bernhard is a lion. It is highly unlikely that Lily is a frog. There is almost no chance that Brian is yellow. It is likely that if 'Brian is yellow and Bernhard is a lion' then Jessica is a cat. It is probable that if either 'Lily is a frog' or 'Brian is yellow' but not both then Greg is a swan. It is almost certain that if 'Lily is a frog' or 'Brian is yellow' or both then John discarded the apple.,There is almost no chance that either 'Brian is yellow' 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.05::factA. 0.05::factB. 0.02::factC. %hop1 0.7::factX:-and(factC,factA). 0.7::factY:-xor(factB,factC). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.0193,0.7839567913582717,train,almost no chance,likely,There is almost no chance that either 'Brian is yellow' or 'Jessica is a cat' but not both.,It is likely that either 'Brian is yellow' or 'Jessica is a cat' but not both.,1,Either 'Brian is yellow' or 'Jessica is a cat' but not both. There is little chance that Greg is a rhino. There is a very good chance that Emily is a wolf. It is highly unlikely that Mary went to the hallway. It is highly likely that if either 'Greg is a rhino' or 'Mary went to the hallway' but not both then Sandra dropped the milk. It is improbable that if 'Greg is a rhino' or 'Emily is a wolf' or both then Brian is a swan. It is probably not the case that if 'Mary went to the hallway' or 'Emily is a wolf' or both then John took the apple.,It is probably not the case that either 'Emily is a wolf' or 'Mary went to the hallway' 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.8::factB. 0.05::factC. %hop1 0.9::factX:-xor(factA,factC). 0.1::factY:-or(factA,factB). 0.25::factZ:-or(factC,factB). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.77,0.5717143428685737,train,we believe,probably not,We believe that either 'Emily is a wolf' or 'Mary went to the hallway' but not both.,It is probably not the case that either 'Emily is a wolf' or 'Mary went to the hallway' but not both.,0,Either 'Emily is a wolf' or 'Mary went to the hallway' but not both. There is little chance that Brian is a frog. Chances are slight that Julius is a rhino. We believe that Mary moved to the garden. It is probably the case that if 'Brian is a frog' or 'Mary moved to the garden' or both then John grabbed the milk. It is almost certain that if 'Julius is a rhino' or 'Brian is a frog' or both then Daniel dropped the apple. There is almost no chance that if either 'Julius is a rhino' or 'Mary moved to the garden' but not both then Lily is a swan.,Chances are slight that 'Brian is a frog 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.1::factA. 0.1::factB. 0.75::factC. %hop1 0.7::factX:-or(factA,factC). 0.95::factY:-or(factB,factA). 0.02::factZ:-xor(factB,factC). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.07500000000000002,0.05481096219243849,train,chances are slight,we believe,Chances are slight that 'Brian is a frog and Mary moved to the garden'.,We believe that 'Brian is a frog and Mary moved to the garden'.,1,'Brian is a frog and Mary moved to the garden'. Chances are about even that Fred put down the apple. It is probable that Gertrude is a sheep. There is a better than even chance that Mary is in the hallway. There is little chance that if 'Mary is in the hallway and Gertrude is a sheep' then Lily is gray. There is little chance that if 'Mary is in the hallway' or 'Gertrude is a sheep' or both then Greg is a swan. There is a very good chance that if 'Mary is in the hallway' or 'Gertrude is a sheep' or both then John got the milk.,There is a very good chance that 'Gertrude is a sheep' or 'Fred 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.5::factA. 0.7::factB. 0.6::factC. %hop1 0.1::factX:-and(factC,factB). 0.1::factY:-or(factC,factB). 0.8::factZ:-or(factC,factB). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.85,0.7029405881176235,train,very good chance,we doubt,There is a very good chance that 'Gertrude is a sheep' or 'Fred put down the apple' or both.,We doubt that 'Gertrude is a sheep' or 'Fred put down the apple' or both.,1,'Gertrude is a sheep' or 'Fred put down the apple' or both. It is certain that Lily is a frog. We believe that Julius is gray. It is unlikely that John went to the hallway. It is highly unlikely that if either 'Julius is gray' or 'John went to the hallway' but not both then Winona is a sheep. There is little chance that if 'John went to the hallway and Julius is gray' then Brian is a lion. We doubt that if 'Lily is a frog' or 'Julius is gray' or both then Greg is yellow.,It is certain that 'Lily is a frog' 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 1.0::factA. 0.75::factB. 0.2::factC. %hop1 0.05::factX:-xor(factB,factC). 0.1::factY:-and(factC,factB). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-or(factA,factX). query(conclusion). ",1.0,0.23144628925785157,train,certain,impossible,It is certain that 'Lily is a frog' or 'Winona is a sheep' or both.,It is impossible that 'Lily is a frog' or 'Winona is a sheep' or both.,1,'Lily is a frog' or 'Winona is a sheep' or both. It is probable that Greg is a swan. There is little chance that Sumit is hungry. There is a very good chance that Julius is a rhino. We believe that if 'Sumit is hungry' or 'Greg is a swan' or both then Bernhard is a frog. It is highly unlikely that if either 'Julius is a rhino' or 'Sumit is hungry' but not both then Sandra took the football. It is almost certain that if 'Greg is a swan' or 'Julius is a rhino' or both then Mary put down the apple.,It is certain that either 'Sumit is hungry' or 'Sandra 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.7::factA. 0.1::factB. 0.8::factC. %hop1 0.75::factX:-or(factB,factA). 0.05::factY:-xor(factC,factB). 0.95::factZ:-or(factA,factC). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.135,0.1182236447289458,train,chances are slight,certain,Chances are slight that either 'Sumit is hungry' or 'Sandra took the football' but not both.,It is certain that either 'Sumit is hungry' or 'Sandra took the football' but not both.,0,Either 'Sumit is hungry' or 'Sandra took the football' but not both. There is almost no chance that Mary discarded the milk. It is improbable that John left the apple. It is likely that Jeff went to the hallway. It is certain that if either 'John left the apple' or 'Jeff went to the hallway' but not both then Lily is a lion. It is almost certain that if 'Mary discarded the milk and Jeff went to the hallway' then Brian is yellow. It is impossible that if 'Mary discarded the milk' or 'Jeff went to the hallway' or both then Sandra took the milk.,There is a better than even chance that 'Mary discarded the milk and Jeff 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.02::factA. 0.1::factB. 0.7::factC. %hop1 1.0::factX:-xor(factB,factC). 0.95::factY:-and(factA,factC). 0.0::factZ:-or(factA,factC). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.014000000000000007,0.11682336467293458,train,almost no chance,better than even,There is almost no chance that 'Mary discarded the milk and Jeff went to the hallway'.,There is a better than even chance that 'Mary discarded the milk and Jeff went to the hallway'.,0,'Mary discarded the milk and Jeff went to the hallway'. There is almost no chance that Bill moved to the office. There is a better than even chance that Sumit is thirsty. It is highly likely that John went to the garden. It is likely that if 'Bill moved to the office and Sumit is thirsty' then Bernhard is a rhino. Chances are slight that if either 'Bill moved to the office' or 'John went to the garden' but not both then Lily is yellow. It is improbable that if 'John went to the garden' or 'Bill moved to the office' or both then Jessica is a sheep.,There is little chance that 'Bernhard is a rhino' 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.02::factA. 0.6::factB. 0.9::factC. %hop1 0.7::factX:-and(factA,factB). 0.1::factY:-xor(factA,factC). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.09776,0.014802960592118424,train,little chance,better than even,There is little chance that 'Bernhard is a rhino' or 'Jessica is a sheep' or both.,There is a better than even chance that 'Bernhard is a rhino' or 'Jessica is a sheep' or both.,1,'Bernhard is a rhino' or 'Jessica is a sheep' or both. It is highly likely that Lily is white. There is almost no chance that Fred discarded the apple. Chances are slight that Julius is a frog. It is probable that if 'Lily is white and Julius is a frog' then Greg is a swan. We doubt that if 'Fred discarded the apple' or 'Julius is a frog' or both then John got the milk. It is certain that if either 'Julius is a frog' or 'Lily is white' but not both then Mary went to the bedroom.,It is improbable that 'John got the milk' 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.9::factA. 0.02::factB. 0.1::factC. %hop1 0.7::factX:-and(factA,factC). 0.2::factY:-or(factB,factC). 1.0::factZ:-xor(factC,factA). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.90236,0.7765553110622124,train,highly likely,improbable,It is highly likely that 'John got the milk' or 'Lily is white' or both.,It is improbable that 'John got the milk' or 'Lily is white' or both.,0,'John got the milk' or 'Lily is white' or both. It is unlikely that Brian is green. There is a better than even chance that Julius is gray. We believe that Greg is a frog. It is almost certain that if 'Julius is gray and Brian is green' then Bernhard is a rhino. It is likely that if either 'Greg is a frog' or 'Julius is gray' but not both then Mary moved to the office. There is almost no chance that if 'Julius is gray and Brian is green' then John got the milk.,It is improbable that either 'Mary moved to the office' or 'Greg 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.6::factB. 0.75::factC. %hop1 0.95::factX:-and(factB,factA). 0.7::factY:-xor(factC,factB). 0.02::factZ:-and(factB,factA). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.6449999999999999,0.2524504900980196,train,better than even,improbable,There is a better than even chance that either 'Mary moved to the office' or 'Greg is a frog' but not both.,It is improbable that either 'Mary moved to the office' or 'Greg is a frog' but not both.,0,Either 'Mary moved to the office' or 'Greg is a frog' but not both. It is unlikely that Gertrude is a sheep. It is highly likely that John went to the garden. Chances are slight that Julius is gray. It is probable that if 'Julius is gray' or 'John went to the garden' or both then Jessica is a sheep. It is probably the case that if 'Gertrude is a sheep' or 'Julius is gray' or both then Greg is a lion. It is highly unlikely that if 'Julius is gray and Gertrude is a sheep' then Mary picked up the apple.,There is little chance that either 'Gertrude is a sheep' or 'Jessica 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.2::factA. 0.9::factB. 0.1::factC. %hop1 0.7::factX:-or(factC,factB). 0.7::factY:-or(factA,factC). 0.05::factZ:-and(factC,factA). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.5821999999999999,0.3684736947389478,train,better than even,little chance,There is a better than even chance that either 'Gertrude is a sheep' or 'Jessica is a sheep' but not both.,There is little chance that either 'Gertrude is a sheep' or 'Jessica is a sheep' but not both.,0,Either 'Gertrude is a sheep' or 'Jessica is a sheep' but not both. It is highly unlikely that John went to the hallway. It is impossible that Julius is a swan. There is almost no chance that Winona is a wolf. It is probably the case that if 'Julius is a swan' or 'John went to the hallway' or both then Jeff moved to the garden. There is little chance that if either 'Winona is a wolf' or 'John went to the hallway' but not both then Bernhard is gray. It is improbable that if 'Julius is a swan and John went to the hallway' then Mary got the milk.,There is a very good chance that 'Mary got the milk' 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.0::factB. 0.02::factC. %hop1 0.7::factX:-or(factB,factA). 0.1::factY:-xor(factC,factA). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.05000000000000001,0.5933186637327466,train,highly unlikely,very good chance,It is highly unlikely that 'Mary got the milk' or 'John went to the hallway' or both.,There is a very good chance that 'Mary got the milk' or 'John went to the hallway' or both.,0,'Mary got the milk' or 'John went to the hallway' or both. There is little chance that Julius is gray. There is a very good chance that Winona is a wolf. It is improbable that Lily is a swan. It is certain that if 'Julius is gray and Winona is a wolf' then Fred put down the apple. It is impossible that if 'Julius is gray' or 'Lily is a swan' or both then Brian is a rhino. There is a better than even chance that if 'Julius is gray' or 'Lily is a swan' or both then Mary went to the kitchen.,There is a very good chance that 'Fred put down the apple 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.8::factB. 0.1::factC. %hop1 1.0::factX:-and(factA,factB). 0.0::factY:-or(factA,factC). 0.6::factZ:-or(factA,factC). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.0,0.4614922984596919,train,impossible,very good chance,It is impossible that 'Fred put down the apple and Brian is a rhino'.,There is a very good chance that 'Fred put down the apple and Brian is a rhino'.,0,'Fred put down the apple and Brian is a rhino'. It is probably not the case that Greg is a swan. It is likely that Brian is white. It is probably not the case that Mary went to the office. It is unlikely that if either 'Mary went to the office' or 'Greg is a swan' but not both then Jeff discarded the milk. It is unlikely that if either 'Mary went to the office' or 'Brian is white' but not both then Sumit is thirsty. There is a very good chance that if 'Greg is a swan and Brian is white' then Bernhard is yellow.,It is certain that either 'Bernhard is yellow' 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.25::factA. 0.7::factB. 0.25::factC. %hop1 0.2::factX:-xor(factC,factA). 0.2::factY:-xor(factC,factB). 0.8::factZ:-and(factA,factB). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.32,0.7295459091818364,train,probably not,certain,It is probably not the case that either 'Bernhard is yellow' or 'Mary went to the office' but not both.,It is certain that either 'Bernhard is yellow' or 'Mary went to the office' but not both.,0,Either 'Bernhard is yellow' or 'Mary went to the office' but not both. Chances are about even that Mary went to the bedroom. It is almost certain that Sumit is thirsty. It is likely that John put down the apple. It is certain that if 'Mary went to the bedroom' or 'Sumit is thirsty' or both then Emily is a mouse. We believe that if 'Mary went to the bedroom' or 'Sumit is thirsty' or both then Brian is yellow. There is a better than even chance that if 'Sumit is thirsty' or 'Mary went to the bedroom' or both then Greg is yellow.,Chances are slight that 'Emily is a mouse' 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.5::factA. 0.95::factB. 0.7::factC. %hop1 1.0::factX:-or(factA,factB). 0.75::factY:-or(factA,factB). 0.6::factZ:-or(factB,factA). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.975,0.6139227845569114,train,almost certain,chances are slight,It is almost certain that 'Emily is a mouse' or 'Sumit is thirsty' or both.,Chances are slight that 'Emily is a mouse' or 'Sumit is thirsty' or both.,0,'Emily is a mouse' or 'Sumit is thirsty' or both. It is improbable that Greg is a frog. It is likely that Sandra dropped the milk. There is a very good chance that Brian is gray. We doubt that if 'Greg is a frog and Sandra dropped the milk' then Gertrude is a sheep. There is almost no chance that if either 'Sandra dropped the milk' or 'Brian is gray' but not both then Mary went to the garden. There is almost no chance that if either 'Sandra dropped the milk' or 'Brian is gray' but not both then John left the football.,There is almost no chance that 'Greg is a frog 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.1::factA. 0.7::factB. 0.8::factC. %hop1 0.2::factX:-and(factA,factB). 0.02::factY:-xor(factB,factC). 0.02::factZ:-xor(factB,factC). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.014000000000000007,0.7513502700540108,train,almost no chance,probable,There is almost no chance that 'Greg is a frog and Gertrude is a sheep'.,It is probable that 'Greg is a frog and Gertrude is a sheep'.,1,'Greg is a frog and Gertrude is a sheep'. Chances are about even that Sandra put down the milk. It is highly unlikely that John picked up the apple. There is a better than even chance that Mary moved to the garden. It is probable that if 'Mary moved to the garden and Sandra put down the milk' then Gertrude is a mouse. It is probably not the case that if 'Sandra put down the milk' or 'John picked up the apple' or both then Julius is a frog. It is almost certain that if 'Sandra put down the milk and John picked up the apple' then Lily is a lion.,There is almost no chance that 'John picked up 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.05::factB. 0.6::factC. %hop1 0.7::factX:-and(factC,factA). 0.25::factY:-or(factA,factB). 0.95::factZ:-and(factA,factB). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.012500000000000006,0.24244848969793958,train,almost no chance,certain,There is almost no chance that 'John picked up the apple and Julius is a frog'.,It is certain that 'John picked up the apple and Julius is a frog'.,1,'John picked up the apple and Julius is a frog'. It is highly likely that Lily is a rhino. It is almost certain that Mary went to the kitchen. Chances are about even that Daniel left the milk. There is a very good chance that if either 'Lily is a rhino' or 'Mary went to the kitchen' but not both then Brian is green. There is almost no chance that if 'Daniel left the milk' or 'Lily is a rhino' or both then Greg is a swan. There is a very good chance that if either 'Mary went to the kitchen' or 'Lily is a rhino' but not both then Emily is a sheep.,It is almost certain that 'Daniel left the milk 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.9::factA. 0.95::factB. 0.5::factC. %hop1 0.8::factX:-xor(factA,factB). 0.02::factY:-or(factC,factA). 0.8::factZ:-xor(factB,factA). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.45000000000000007,0.10222044408881777,train,about even,almost certain,Chances are about even that 'Daniel left the milk and Lily is a rhino'.,It is almost certain that 'Daniel left the milk and Lily is a rhino'.,0,'Daniel left the milk and Lily is a rhino'. It is likely that Bernhard is a rhino. It is probable that Mary went to the garden. It is probable that Sandra dropped the milk. There is a very good chance that if 'Bernhard is a rhino' or 'Sandra dropped the milk' or both then Greg is white. It is almost certain that if 'Mary went to the garden' or 'Bernhard is a rhino' or both then Gertrude is a cat. We believe that if either 'Sandra dropped the milk' or 'Mary went to the garden' but not both then John left the milk.,We believe that 'Sandra dropped the milk and John 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.7::factB. 0.7::factC. %hop1 0.8::factX:-or(factA,factC). 0.95::factY:-or(factB,factA). 0.75::factZ:-xor(factC,factB). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.15750000000000003,0.030006001200240048,train,unlikely,we believe,It is unlikely that 'Sandra dropped the milk and John left the milk'.,We believe that 'Sandra dropped the milk and John left the milk'.,0,'Sandra dropped the milk and John left the milk'. We believe that Sumit is hungry. It is likely that Julius is a rhino. It is certain that Greg is white. There is a better than even chance that if either 'Greg is white' or 'Sumit is hungry' but not both then Mary went to the hallway. We doubt that if 'Greg is white and Sumit is hungry' then Fred discarded the apple. There is almost no chance that if 'Julius is a rhino' or 'Sumit is hungry' or both then Jason is tired.,Chances are about even that 'Greg is white' or 'Fred 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.75::factA. 0.7::factB. 1.0::factC. %hop1 0.6::factX:-xor(factC,factA). 0.2::factY:-and(factC,factA). 0.02::factZ:-or(factB,factA). %hop2 conclusion:-or(factC,factY). query(conclusion). ",1.0,0.24324864972994598,train,certain,about even,It is certain that 'Greg is white' or 'Fred discarded the apple' or both.,Chances are about even that 'Greg is white' or 'Fred discarded the apple' or both.,0,'Greg is white' or 'Fred discarded the apple' or both. It is highly likely that Jessica is a cat. We doubt that Lily is a lion. It is probably not the case that John left the milk. We believe that if 'John left the milk and Lily is a lion' then Mary went to the office. We believe that if 'Jessica is a cat' or 'Lily is a lion' or both then Julius is yellow. There is almost no chance that if 'Jessica is a cat' or 'Lily is a lion' or both then Brian is white.,We believe that either 'John left the milk' 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.9::factA. 0.2::factB. 0.25::factC. %hop1 0.75::factX:-and(factC,factB). 0.75::factY:-or(factA,factB). 0.02::factZ:-or(factA,factB). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.2592,0.18243648729745948,train,probably not,we believe,It is probably not the case that either 'John left the milk' or 'Brian is white' but not both.,We believe that either 'John left the milk' or 'Brian is white' but not both.,0,Either 'John left the milk' or 'Brian is white' but not both. It is improbable that Brian is yellow. It is probably not the case that Mary is in the hallway. There is little chance that Winona is a wolf. It is unlikely that if 'Winona is a wolf' or 'Brian is yellow' or both then Bernhard is a frog. There is little chance that if either 'Mary is in the hallway' or 'Winona is a wolf' but not both then John took the football. Chances are slight that if 'Winona is a wolf and Mary is in the hallway' then Greg is green.,It is almost certain that 'Mary is in the hallway 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.1::factC. %hop1 0.2::factX:-or(factC,factA). 0.1::factY:-xor(factB,factC). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.002500000000000003,0.5289057811562312,train,impossible,almost certain,It is impossible that 'Mary is in the hallway and Greg is green'.,It is almost certain that 'Mary is in the hallway and Greg is green'.,0,'Mary is in the hallway and Greg is green'. It is probably the case that Julius is gray. Chances are slight that Lily is white. It is probably the case that Bernhard is a rhino. There is almost no chance that if 'Bernhard is a rhino and Lily is white' then Winona is a wolf. There is almost no chance that if 'Julius is gray and Bernhard is a rhino' then Brian is yellow. Chances are slight that if 'Lily is white' or 'Bernhard is a rhino' or both then John went to the office.,It is likely that either 'Lily is white' 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.7::factC. %hop1 0.02::factX:-and(factC,factB). 0.02::factY:-and(factA,factC). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6599999999999999,0.5043008601720345,train,likely,probably not,It is likely that either 'Lily is white' or 'Julius is gray' but not both.,It is probably not the case that either 'Lily is white' or 'Julius is gray' but not both.,1,Either 'Lily is white' or 'Julius is gray' but not both. It is likely that Emily is a sheep. It is almost certain that Mary picked up the apple. It is unlikely that Greg is a frog. There is a very good chance that if either 'Greg is a frog' or 'Emily is a sheep' but not both then Bernhard is a rhino. There is little chance that if 'Greg is a frog and Mary picked up the apple' then Julius is green. It is unlikely that if 'Emily is a sheep' or 'Greg is a frog' or both then John left the football.,It is highly unlikely that 'John left the football 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.7::factA. 0.95::factB. 0.2::factC. %hop1 0.8::factX:-xor(factC,factA). 0.1::factY:-and(factC,factB). 0.2::factZ:-or(factA,factC). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.04000000000000001,0.3158631726345269,train,highly unlikely,highly likely,It is highly unlikely that 'John left the football and Greg is a frog'.,It is highly likely that 'John left the football and Greg is a frog'.,1,'John left the football and Greg is a frog'. It is highly likely that Greg is yellow. It is almost certain that Brian is gray. It is improbable that Bernhard is white. There is almost no chance that if either 'Brian is gray' or 'Bernhard is white' but not both then Jessica is a mouse. It is impossible that if 'Brian is gray and Greg is yellow' then Julius is a lion. It is impossible that if 'Brian is gray' or 'Bernhard is white' or both then Fred went to the garden.,It is almost certain that either 'Jessica is a mouse' or 'Brian 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.9::factA. 0.95::factB. 0.1::factC. %hop1 0.02::factX:-xor(factB,factC). 0.0::factY:-and(factB,factA). 0.0::factZ:-or(factB,factC). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.9329999999999999,0.6453290658131626,train,almost certain,probably not,It is almost certain that either 'Jessica is a mouse' or 'Brian is gray' but not both.,It is probably not the case that either 'Jessica is a mouse' or 'Brian is gray' but not both.,1,Either 'Jessica is a mouse' or 'Brian is gray' but not both. There is a better than even chance that John went to the garden. There is a better than even chance that Greg is a rhino. It is highly unlikely that Bernhard is white. We doubt that if 'John went to the garden' or 'Greg is a rhino' or both then Julius is yellow. There is little chance that if either 'John went to the garden' or 'Bernhard is white' but not both then Mary grabbed the apple. There is a better than even chance that if 'John went to the garden and Greg is a rhino' then Emily is a mouse.,It is likely that 'Emily is a mouse' 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.6::factA. 0.6::factB. 0.05::factC. %hop1 0.2::factX:-or(factA,factB). 0.1::factY:-xor(factA,factC). 0.6::factZ:-and(factA,factB). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.3408,0.6929385877175435,train,probably not,likely,It is probably not the case that 'Emily is a mouse' or 'Julius is yellow' or both.,It is likely that 'Emily is a mouse' or 'Julius is yellow' or both.,0,'Emily is a mouse' or 'Julius is yellow' or both. It is impossible that Bernhard is a rhino. It is probably not the case that Brian is green. Chances are slight that Greg is a frog. It is probable that if 'Bernhard is a rhino' or 'Greg is a frog' or both then Lily is a swan. It is probably the case that if 'Greg is a frog and Brian is green' then Jessica is a sheep. It is probably the case that if 'Bernhard is a rhino' or 'Brian is green' or both then John put down the milk.,It is highly unlikely that either 'Lily is a swan' or 'Bernhard 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.25::factB. 0.1::factC. %hop1 0.7::factX:-or(factA,factC). 0.7::factY:-and(factC,factB). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.07,0.03020604120824165,train,highly unlikely,very good chance,It is highly unlikely that either 'Lily is a swan' or 'Bernhard is a rhino' but not both.,There is a very good chance that either 'Lily is a swan' or 'Bernhard is a rhino' but not both.,1,Either 'Lily is a swan' or 'Bernhard is a rhino' but not both. It is improbable that Sandra left the milk. It is improbable that Greg is a lion. There is a very good chance that John moved to the office. Chances are slight that if 'Sandra left the milk and John moved to the office' then Brian is a rhino. It is likely that if 'Greg is a lion and Sandra left the milk' then Jessica is a cat. Chances are about even that if 'John moved to the office' or 'Greg is a lion' or both then Julius is yellow.,Chances are slight that 'Brian is a rhino' 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.1::factA. 0.1::factB. 0.8::factC. %hop1 0.1::factX:-and(factA,factC). 0.7::factY:-and(factB,factA). 0.5::factZ:-or(factC,factB). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.10720000000000005,0.2844568913782757,train,chances are slight,probably,Chances are slight that 'Brian is a rhino' or 'Greg is a lion' or both.,It is probably the case that 'Brian is a rhino' or 'Greg is a lion' or both.,1,'Brian is a rhino' or 'Greg is a lion' or both. It is highly unlikely that Lily is a rhino. There is little chance that Greg is white. It is certain that Brian is white. It is almost certain that if either 'Lily is a rhino' or 'Greg is white' but not both then Winona is a sheep. It is improbable that if 'Greg is white' or 'Brian is white' or both then Julius is gray. It is certain that if 'Brian is white' or 'Greg is white' or both then Mary left the milk.,There is almost no chance that 'Greg is white 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.05::factA. 0.1::factB. 1.0::factC. %hop1 0.95::factX:-xor(factA,factB). 0.1::factY:-or(factB,factC). 1.0::factZ:-or(factC,factB). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.010000000000000004,0.7257451490298059,train,almost no chance,certain,There is almost no chance that 'Greg is white and Julius is gray'.,It is certain that 'Greg is white and Julius is gray'.,1,'Greg is white and Julius is gray'. It is improbable that Julius is a swan. It is improbable that Jessica is a mouse. Chances are slight that Greg is green. It is improbable that if 'Julius is a swan' or 'Jessica is a mouse' or both then Sandra took the football. It is probably not the case that if 'Julius is a swan and Jessica is a mouse' then Brian is a rhino. Chances are slight that if 'Greg is green and Jessica is a mouse' then John went to the bedroom.,There is almost no chance that 'Julius is a swan and Sandra took 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.1::factB. 0.1::factC. %hop1 0.1::factX:-or(factA,factB). 0.25::factY:-and(factA,factB). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.010000000000000004,0.3882776555311062,train,almost no chance,probable,There is almost no chance that 'Julius is a swan and Sandra took the football'.,It is probable that 'Julius is a swan and Sandra took the football'.,1,'Julius is a swan and Sandra took the football'. It is certain that Brian is yellow. We believe that Antoine is hungry. There is a better than even chance that Greg is white. It is almost certain that if either 'Antoine is hungry' or 'Brian is yellow' but not both then Sandra left the milk. We believe that if either 'Greg is white' or 'Antoine is hungry' but not both then Julius is green. We doubt that if 'Greg is white and Brian is yellow' then Mary dropped the apple.,There is almost no chance that 'Antoine is hungry 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 1.0::factA. 0.75::factB. 0.6::factC. %hop1 0.95::factX:-xor(factB,factA). 0.75::factY:-xor(factC,factB). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.45,0.44668933786757353,train,about even,almost no chance,Chances are about even that 'Antoine is hungry and Greg is white'.,There is almost no chance that 'Antoine is hungry and Greg is white'.,0,'Antoine is hungry and Greg is white'. It is likely that Lily is a swan. It is highly likely that Bernhard is a rhino. There is little chance that Yann is hungry. Chances are about even that if 'Bernhard is a rhino and Yann is hungry' then Jessica is a cat. There is a better than even chance that if 'Lily is a swan' or 'Bernhard is a rhino' or both then Brian is a lion. We believe that if either 'Yann is hungry' or 'Lily is a swan' but not both then Mary moved to the garden.,We believe that 'Mary moved to the garden 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.7::factA. 0.9::factB. 0.1::factC. %hop1 0.5::factX:-and(factB,factC). 0.6::factY:-or(factA,factB). 0.75::factZ:-xor(factC,factA). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.29564999999999997,0.24124824964993,train,probably not,we believe,It is probably not the case that 'Mary moved to the garden and Brian is a lion'.,We believe that 'Mary moved to the garden and Brian is a lion'.,0,'Mary moved to the garden and Brian is a lion'. It is highly unlikely that Antoine is thirsty. It is probably the case that Bernhard is a swan. It is almost certain that Gertrude is a mouse. It is likely that if 'Bernhard is a swan and Gertrude is a mouse' then Mary moved to the garden. There is little chance that if either 'Gertrude is a mouse' or 'Antoine is thirsty' but not both then John dropped the apple. There is a very good chance that if 'Gertrude is a mouse and Bernhard is a swan' then Brian is a frog.,It is likely that either 'Bernhard is a swan' 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.05::factA. 0.7::factB. 0.95::factC. %hop1 0.7::factX:-and(factB,factC). 0.1::factY:-xor(factC,factA). 0.8::factZ:-and(factC,factB). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.168,0.4498899779955991,train,we doubt,likely,We doubt that either 'Bernhard is a swan' or 'Brian is a frog' but not both.,It is likely that either 'Bernhard is a swan' or 'Brian is a frog' but not both.,0,Either 'Bernhard is a swan' or 'Brian is a frog' but not both. It is probably not the case that Mary got the milk. There is a very good chance that Brian is yellow. It is probable that John moved to the garden. There is a very good chance that if 'Brian is yellow and John moved to the garden' then Lily is a swan. We doubt that if either 'John moved to the garden' or 'Brian is yellow' but not both then Julius is a lion. It is unlikely that if 'John moved to the garden and Mary got the milk' then Bernhard is green.,It is certain that 'Brian is yellow 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.25::factA. 0.8::factB. 0.7::factC. %hop1 0.8::factX:-and(factB,factC). 0.2::factY:-xor(factC,factB). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.448,0.051610322064412885,train,about even,certain,Chances are about even that 'Brian is yellow and Lily is a swan'.,It is certain that 'Brian is yellow and Lily is a swan'.,0,'Brian is yellow and Lily is a swan'. There is almost no chance that Brian is yellow. It is likely that John went to the garden. There is almost no chance that Mary left the football. There is almost no chance that if either 'Mary left the football' or 'Brian is yellow' but not both then Greg is a swan. There is little chance that if 'John went to the garden and Brian is yellow' then Julius is a rhino. It is impossible that if 'Mary left the football and Brian is yellow' then Sandra put down the milk.,It is impossible that 'John went to the garden' 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.02::factA. 0.7::factB. 0.02::factC. %hop1 0.02::factX:-xor(factC,factA). 0.1::factY:-and(factB,factA). 0.0::factZ:-and(factC,factA). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.706,0.39987997599519903,train,probably,impossible,It is probably the case that 'John went to the garden' or 'Brian is yellow' or both.,It is impossible that 'John went to the garden' or 'Brian is yellow' or both.,0,'John went to the garden' or 'Brian is yellow' or both. There is little chance that Greg is gray. It is almost certain that Lily is a rhino. It is highly unlikely that Brian is white. It is highly unlikely that if 'Greg is gray' or 'Lily is a rhino' or both then Emily is a sheep. It is improbable that if either 'Lily is a rhino' or 'Brian is white' but not both then Antoine is hungry. It is probable that if 'Greg is gray' or 'Lily is a rhino' or both then Fred moved to the office.,It is highly unlikely that either 'Greg is gray' 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 0.1::factA. 0.95::factB. 0.05::factC. %hop1 0.05::factX:-or(factA,factB). 0.1::factY:-xor(factB,factC). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.6285,0.1750350070014003,train,better than even,highly unlikely,There is a better than even chance that either 'Greg is gray' or 'Fred moved to the office' but not both.,It is highly unlikely that either 'Greg is gray' or 'Fred moved to the office' but not both.,0,Either 'Greg is gray' or 'Fred moved to the office' but not both. There is a very good chance that Mary went to the office. There is a very good chance that Greg is white. We believe that Brian is a rhino. It is almost certain that if 'Greg is white' or 'Mary went to the office' or both then John picked up the apple. Chances are slight that if 'Mary went to the office' or 'Greg is white' or both then Bernhard is a lion. It is probably the case that if 'Mary went to the office' or 'Greg is white' or both then Julius is a swan.,It is probably not the case that 'Brian is a rhino' 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 0.8::factA. 0.8::factB. 0.75::factC. %hop1 0.95::factX:-or(factB,factA). 0.1::factY:-or(factA,factB). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.774,0.5279055811162232,train,we believe,probably not,We believe that 'Brian is a rhino' or 'Bernhard is a lion' or both.,It is probably not the case that 'Brian is a rhino' or 'Bernhard is a lion' or both.,0,'Brian is a rhino' or 'Bernhard is a lion' or both. There is a better than even chance that Winona is a cat. It is highly unlikely that Bernhard is green. Chances are about even that Lily is a swan. There is a better than even chance that if 'Bernhard is green and Lily is a swan' then Greg is yellow. It is likely that if 'Winona is a cat' or 'Bernhard is green' or both then Julius is a lion. Chances are about even that if 'Winona is a cat and Lily is a swan' then John went to the kitchen.,There is almost no chance that 'Winona is a cat 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.6::factA. 0.05::factB. 0.5::factC. %hop1 0.6::factX:-and(factB,factC). 0.7::factY:-or(factA,factB). 0.5::factZ:-and(factA,factC). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.029999999999999995,0.5149029805961193,train,almost no chance,probable,There is almost no chance that 'Winona is a cat and Bernhard is green'.,It is probable that 'Winona is a cat and Bernhard is green'.,1,'Winona is a cat and Bernhard is green'. There is a very good chance that John went to the hallway. There is almost no chance that Daniel put down the milk. We believe that Greg is a swan. There is a better than even chance that if either 'Daniel put down the milk' or 'Greg is a swan' but not both then Bernhard is yellow. It is almost certain that if 'Greg is a swan and Daniel put down the milk' then Julius is a rhino. There is little chance that if 'Greg is a swan' or 'John went to the hallway' or both then Brian is white.,Chances are about even that 'Bernhard is yellow' 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.8::factA. 0.02::factB. 0.75::factC. %hop1 0.6::factX:-xor(factB,factC). 0.95::factY:-and(factC,factB). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.461,0.21904380876175236,train,about even,almost certain,Chances are about even that 'Bernhard is yellow' or 'Daniel put down the milk' or both.,It is almost certain that 'Bernhard is yellow' or 'Daniel put down the milk' or both.,1,'Bernhard is yellow' or 'Daniel put down the milk' or both. Chances are slight that Mary went to the hallway. We doubt that Bernhard is green. There is a better than even chance that Brian is a lion. It is certain that if 'Bernhard is green' or 'Brian is a lion' or both then Julius is white. It is certain that if either 'Bernhard is green' or 'Brian is a lion' but not both then Gertrude is a cat. It is improbable that if either 'Bernhard is green' or 'Mary went to the hallway' but not both then Winona is a wolf.,It is improbable that 'Brian is a lion' 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.1::factA. 0.2::factB. 0.6::factC. %hop1 1.0::factX:-or(factB,factC). 1.0::factY:-xor(factB,factC). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.6104,0.16683336667333468,train,better than even,improbable,There is a better than even chance that 'Brian is a lion' or 'Winona is a wolf' or both.,It is improbable that 'Brian is a lion' or 'Winona is a wolf' or both.,0,'Brian is a lion' or 'Winona is a wolf' or both. We believe that Julius is a lion. It is probably the case that John put down the apple. There is little chance that Mary dropped the milk. Chances are about even that if 'John put down the apple and Julius is a lion' then Gertrude is a cat. We believe that if 'Mary dropped the milk' or 'Julius is a lion' or both then Bill left the milk. Chances are about even that if 'Julius is a lion and Mary dropped the milk' then Lily is a rhino.,Chances are about even that either 'Julius is a lion' 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.75::factA. 0.7::factB. 0.1::factC. %hop1 0.5::factX:-and(factB,factA). 0.75::factY:-or(factC,factA). 0.5::factZ:-and(factA,factC). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.4,0.42008401680336066,train,about even,impossible,Chances are about even that either 'Julius is a lion' or 'John put down the apple' but not both.,It is impossible that either 'Julius is a lion' or 'John put down the apple' but not both.,1,Either 'Julius is a lion' or 'John put down the apple' but not both. It is almost certain that Jeff left the apple. We believe that Julius is a swan. It is almost certain that Yann is tired. It is probably not the case that if 'Yann is tired' or 'Julius is a swan' or both then Greg is gray. It is almost certain that if 'Jeff left the apple' or 'Yann is tired' or both then Brian is green. There is a better than even chance that if either 'Yann is tired' or 'Julius is a swan' but not both then Lily is a frog.,It is certain that 'Brian is green' 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.95::factA. 0.75::factB. 0.95::factC. %hop1 0.25::factX:-or(factC,factB). 0.95::factY:-or(factA,factC). 0.6::factZ:-xor(factC,factB). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.9869062500000001,0.1804360872174435,train,certain,unlikely,It is certain that 'Brian is green' or 'Julius is a swan' or both.,It is unlikely that 'Brian is green' or 'Julius is a swan' or both.,1,'Brian is green' or 'Julius is a swan' or both. Chances are slight that Julius is gray. We doubt that Mary went to the hallway. Chances are about even that Jessica is a cat. There is almost no chance that if either 'Mary went to the hallway' or 'Julius is gray' but not both then John moved to the office. It is unlikely that if either 'Julius is gray' or 'Mary went to the hallway' but not both then Daniel took the apple. There is a very good chance that if 'Julius is gray' or 'Jessica is a cat' or both then Yann is tired.,Chances are slight that 'John moved to the office' 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.1::factA. 0.2::factB. 0.5::factC. %hop1 0.02::factX:-xor(factB,factA). 0.2::factY:-xor(factA,factB). 0.8::factZ:-or(factA,factC). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.10360000000000003,0.5753150630126025,train,chances are slight,highly likely,Chances are slight that 'John moved to the office' or 'Julius is gray' or both.,It is highly likely that 'John moved to the office' or 'Julius is gray' or both.,1,'John moved to the office' or 'Julius is gray' or both. Chances are about even that John moved to the garden. We doubt that Sumit is hungry. It is probably the case that Greg is a frog. It is impossible that if either 'Greg is a frog' or 'Sumit is hungry' but not both then Mary got the football. It is highly unlikely that if either 'Sumit is hungry' or 'John moved to the garden' but not both then Brian is gray. It is probably not the case that if 'Sumit is hungry' or 'Greg is a frog' or both then Yann is thirsty.,It is probable that 'Sumit is hungry 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.5::factA. 0.2::factB. 0.7::factC. %hop1 0.0::factX:-xor(factC,factB). 0.05::factY:-xor(factB,factA). 0.25::factZ:-or(factB,factC). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.10000000000000002,0.07701540308061612,train,chances are slight,probable,Chances are slight that 'Sumit is hungry and John moved to the garden'.,It is probable that 'Sumit is hungry and John moved to the garden'.,0,'Sumit is hungry and John moved to the garden'. We doubt that Julius is gray. It is certain that Winona is a sheep. It is impossible that Lily is white. It is unlikely that if either 'Julius is gray' or 'Winona is a sheep' but not both then Emily is a wolf. It is certain that if either 'Lily is white' or 'Winona is a sheep' but not both then Greg is yellow. There is almost no chance that if 'Winona is a sheep' or 'Julius is gray' or both then Mary went to the kitchen.,It is highly unlikely that either 'Greg is yellow' or 'Mary went to the kitchen' 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. 1.0::factB. 0.0::factC. %hop1 0.2::factX:-xor(factA,factB). 1.0::factY:-xor(factC,factB). 0.02::factZ:-or(factB,factA). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.98,0.20804160832166432,train,certain,highly unlikely,It is certain that either 'Greg is yellow' or 'Mary went to the kitchen' but not both.,It is highly unlikely that either 'Greg is yellow' or 'Mary went to the kitchen' but not both.,0,Either 'Greg is yellow' or 'Mary went to the kitchen' but not both. We doubt that Julius is white. It is probably not the case that Bernhard is a frog. It is probably the case that Jeff left the apple. It is probably not the case that if 'Julius is white' or 'Bernhard is a frog' or both then Yann is bored. It is certain that if 'Julius is white' or 'Jeff left the apple' or both then Sandra got the football. Chances are about even that if 'Jeff left the apple and Julius is white' then John went to the garden.,It is probably not the case that 'Yann is bored' or 'Jeff 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.2::factA. 0.25::factB. 0.7::factC. %hop1 0.25::factX:-or(factA,factB). 1.0::factY:-or(factA,factC). 0.5::factZ:-and(factC,factA). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.73,0.7383476695339067,train,we believe,probably not,We believe that 'Yann is bored' or 'Jeff left the apple' or both.,It is probably not the case that 'Yann is bored' or 'Jeff left the apple' or both.,0,'Yann is bored' or 'Jeff left the apple' or both. It is certain that Lily is a rhino. We doubt that Brian is white. It is highly likely that Julius is a lion. There is a very good chance that if either 'Lily is a rhino' or 'Julius is a lion' but not both then Sandra got the milk. It is improbable that if either 'Brian is white' or 'Julius is a lion' but not both then Fred discarded the apple. There is little chance that if 'Lily is a rhino' or 'Julius is a lion' or both then Greg is white.,It is unlikely that 'Fred discarded the apple' or 'Greg 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 1.0::factA. 0.2::factB. 0.9::factC. %hop1 0.8::factX:-xor(factA,factC). 0.1::factY:-xor(factB,factC). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.16660000000000008,0.5485097019403881,train,unlikely,very good chance,It is unlikely that 'Fred discarded the apple' or 'Greg is white' or both.,There is a very good chance that 'Fred discarded the apple' or 'Greg is white' or both.,1,'Fred discarded the apple' or 'Greg is white' or both. It is unlikely that Mary picked up the milk. It is likely that Sandra left the milk. It is probably the case that Julius is a frog. There is a better than even chance that if 'Julius is a frog and Sandra left the milk' then Greg is yellow. Chances are about even that if 'Sandra left the milk' or 'Julius is a frog' or both then Lily is a swan. It is certain that if 'Sandra left the milk and Mary picked up the milk' then Jessica is a cat.,Chances are about even that either 'Lily is a swan' 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.2::factA. 0.7::factB. 0.7::factC. %hop1 0.6::factX:-and(factC,factB). 0.5::factY:-or(factB,factC). 1.0::factZ:-and(factB,factA). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.45499999999999996,0.5109021804360873,train,about even,highly unlikely,Chances are about even that either 'Lily is a swan' or 'Julius is a frog' but not both.,It is highly unlikely that either 'Lily is a swan' or 'Julius is a frog' but not both.,1,Either 'Lily is a swan' or 'Julius is a frog' but not both. It is probably not the case that John went to the office. It is highly likely that Sandra took the milk. It is almost certain that Lily is a rhino. It is probably not the case that if either 'John went to the office' or 'Lily is a rhino' but not both then Mary moved to the garden. It is impossible that if either 'John went to the office' or 'Sandra took the milk' but not both then Jason is thirsty. Chances are slight that if either 'Lily is a rhino' or 'John went to the office' but not both then Brian is yellow.,It is probably not the case that either 'John went to the office' or 'Jason 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.25::factA. 0.9::factB. 0.95::factC. %hop1 0.25::factX:-xor(factA,factC). 0.0::factY:-xor(factA,factB). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.25,0.7723544708941789,train,probably not,probable,It is probably not the case that either 'John went to the office' or 'Jason is thirsty' but not both.,It is probable that either 'John went to the office' or 'Jason is thirsty' but not both.,1,Either 'John went to the office' or 'Jason is thirsty' but not both. It is highly unlikely that Mary went to the office. We believe that John took the football. There is almost no chance that Bernhard is yellow. We doubt that if either 'Mary went to the office' or 'John took the football' but not both then Jessica is a mouse. It is likely that if 'Bernhard is yellow' or 'John took the football' or both then Brian is a frog. It is probably the case that if either 'Mary went to the office' or 'John took the football' but not both then Fred dropped the milk.,It is highly unlikely that 'Brian is a frog' 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.05::factA. 0.75::factB. 0.02::factC. %hop1 0.2::factX:-xor(factA,factB). 0.7::factY:-or(factC,factB). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.573715,0.250250050010002,train,better than even,highly unlikely,There is a better than even chance that 'Brian is a frog' or 'Jessica is a mouse' or both.,It is highly unlikely that 'Brian is a frog' or 'Jessica is a mouse' or both.,0,'Brian is a frog' or 'Jessica is a mouse' or both. We doubt that Jeff put down the milk. Chances are slight that Daniel dropped the apple. It is certain that Lily is a frog. It is certain that if 'Daniel dropped the apple' or 'Lily is a frog' or both then Greg is a swan. It is probably not the case that if either 'Lily is a frog' or 'Daniel dropped the apple' but not both then John went to the garden. There is a better than even chance that if either 'Jeff put down the milk' or 'Daniel dropped the apple' but not both then Bernhard is a lion.,It is certain that 'Jeff put down the milk' 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.2::factA. 0.1::factB. 1.0::factC. %hop1 1.0::factX:-or(factB,factC). 0.25::factY:-xor(factC,factB). 0.6::factZ:-xor(factA,factB). %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.782756551310262,train,certain,impossible,It is certain that 'Jeff put down the milk' or 'Lily is a frog' or both.,It is impossible that 'Jeff put down the milk' or 'Lily is a frog' or both.,1,'Jeff put down the milk' or 'Lily is a frog' or both. It is improbable that Greg is white. It is almost certain that John put down the apple. There is almost no chance that Winona is a sheep. We believe that if 'Winona is a sheep and Greg is white' then Lily is yellow. There is a very good chance that if 'Greg is white and Winona is a sheep' then Brian is a lion. It is improbable that if 'John put down the apple' or 'Winona is a sheep' or both then Mary got the milk.,There is a better than even chance that 'John put down the apple 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.1::factA. 0.95::factB. 0.02::factC. %hop1 0.75::factX:-and(factC,factA). 0.8::factY:-and(factA,factC). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.019,0.7589517903580716,train,almost no chance,better than even,There is almost no chance that 'John put down the apple and Winona is a sheep'.,There is a better than even chance that 'John put down the apple and Winona is a sheep'.,0,'John put down the apple and Winona is a sheep'. It is certain that Bernhard is a frog. It is improbable that Lily is green. It is probably not the case that John left the apple. It is certain that if 'Lily is green and John left the apple' then Greg is a swan. There is little chance that if either 'John left the apple' or 'Bernhard is a frog' but not both then Jason is tired. It is highly likely that if either 'Lily is green' or 'John left the apple' but not both then Julius is gray.,It is probable that either 'Lily is green' 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.1::factB. 0.25::factC. %hop1 1.0::factX:-and(factB,factC). 0.1::factY:-xor(factC,factA). 0.9::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.30000000000000004,0.07021404280856171,train,probably not,probable,It is probably not the case that either 'Lily is green' or 'John left the apple' but not both.,It is probable that either 'Lily is green' or 'John left the apple' but not both.,0,Either 'Lily is green' or 'John left the apple' but not both. It is probably not the case that Brian is yellow. There is little chance that John dropped the milk. There is a better than even chance that Julius is a swan. It is impossible that if 'Julius is a swan' or 'John dropped the milk' or both then Mary went to the kitchen. It is impossible that if 'Julius is a swan' or 'John dropped the milk' or both then Bernhard is a frog. It is probable that if either 'Julius is a swan' or 'Brian is yellow' but not both then Greg is a frog.,It is improbable that 'John 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.25::factA. 0.1::factB. 0.6::factC. %hop1 0.0::factX:-or(factC,factB). 0.0::factY:-or(factC,factB). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.64,0.11802360472094418,train,better than even,improbable,There is a better than even chance that 'John dropped the milk' or 'Julius is a swan' or both.,It is improbable that 'John dropped the milk' or 'Julius is a swan' or both.,0,'John dropped the milk' or 'Julius is a swan' or both. It is unlikely that Lily is a lion. It is improbable that Bernhard is yellow. We doubt that Greg is a frog. It is probable that if 'Lily is a lion and Greg is a frog' then John moved to the garden. There is almost no chance that if either 'Bernhard is yellow' or 'Lily is a lion' but not both then Julius is a swan. It is likely that if 'Lily is a lion' or 'Bernhard is yellow' or both then Brian is a rhino.,We believe that either 'Bernhard is yellow' 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.2::factA. 0.1::factB. 0.2::factC. %hop1 0.7::factX:-and(factA,factC). 0.02::factY:-xor(factB,factA). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.12240000000000001,0.1272254450890178,train,little chance,we believe,There is little chance that either 'Bernhard is yellow' or 'John moved to the garden' but not both.,We believe that either 'Bernhard is yellow' or 'John moved to the garden' but not both.,0,Either 'Bernhard is yellow' or 'John moved to the garden' but not both. It is impossible that Greg is a frog. We doubt that Lily is green. It is likely that John went to the office. It is highly unlikely that if 'John went to the office and Greg is a frog' then Bernhard is a swan. It is highly unlikely that if 'Lily is green and John went to the office' then Sandra took the milk. There is little chance that if 'John went to the office and Lily is green' then Emily is a mouse.,It is impossible that 'Greg is a frog and Sandra 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.0::factA. 0.2::factB. 0.7::factC. %hop1 0.05::factX:-and(factC,factA). 0.05::factY:-and(factB,factC). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.0,0.09601920384076815,train,impossible,highly likely,It is impossible that 'Greg is a frog and Sandra took the milk'.,It is highly likely that 'Greg is a frog and Sandra took the milk'.,1,'Greg is a frog and Sandra took the milk'. It is likely that Julius is a swan. Chances are slight that Bernhard is a frog. There is almost no chance that Yann is thirsty. Chances are about even that if either 'Bernhard is a frog' or 'Yann is thirsty' but not both then Brian is white. Chances are slight that if either 'Julius is a swan' or 'Yann is thirsty' but not both then John picked up the milk. It is unlikely that if 'Julius is a swan and Yann is thirsty' then Bill went to the kitchen.,There is almost no chance that 'Yann is thirsty and Julius 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.1::factB. 0.02::factC. %hop1 0.5::factX:-xor(factB,factC). 0.1::factY:-xor(factA,factC). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.014000000000000007,0.08261652330466093,train,almost no chance,certain,There is almost no chance that 'Yann is thirsty and Julius is a swan'.,It is certain that 'Yann is thirsty and Julius is a swan'.,1,'Yann is thirsty and Julius is a swan'. It is likely that Mary dropped the milk. There is a better than even chance that John went to the office. It is highly likely that Greg is a rhino. It is almost certain that if 'Greg is a rhino and Mary dropped the milk' then Lily is a swan. It is likely that if either 'John went to the office' or 'Mary dropped the milk' but not both then Brian is yellow. It is highly likely that if 'Greg is a rhino and John went to the office' then Gertrude is a cat.,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.7::factA. 0.6::factB. 0.9::factC. %hop1 0.95::factX:-and(factC,factA). 0.7::factY:-xor(factB,factA). 0.9::factZ:-and(factC,factB). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.6424,0.7035407081416283,train,better than even,chances are slight,There is a better than even chance that either 'Greg is a rhino' or 'Brian is yellow' but not both.,Chances are slight that either 'Greg is a rhino' or 'Brian is yellow' but not both.,0,Either 'Greg is a rhino' or 'Brian is yellow' but not both. It is probably not the case that Brian is yellow. It is highly likely that Julius is white. It is probable that Daniel grabbed the milk. It is improbable that if either 'Brian is yellow' or 'Daniel grabbed the milk' but not both then Mary got the football. There is almost no chance that if either 'Brian is yellow' or 'Daniel grabbed the milk' but not both then Bernhard is a rhino. There is a very good chance that if 'Julius is white and Daniel grabbed the milk' then John went to the garden.,Chances are about even that 'Daniel grabbed 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.25::factA. 0.9::factB. 0.7::factC. %hop1 0.1::factX:-xor(factA,factC). 0.02::factY:-xor(factA,factC). 0.8::factZ:-and(factB,factC). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.504,0.27945589117823566,train,about even,impossible,Chances are about even that 'Daniel grabbed the milk and John went to the garden'.,It is impossible that 'Daniel grabbed the milk and John went to the garden'.,1,'Daniel grabbed the milk and John went to the garden'. It is improbable that Mary left the football. It is highly unlikely that Lily is green. It is improbable that Greg is a frog. There is little chance that if either 'Mary left the football' or 'Lily is green' but not both then Emily is a sheep. We doubt that if 'Mary left the football and Lily is green' then John picked up the milk. It is highly likely that if either 'Lily is green' or 'Greg is a frog' but not both then Brian is white.,It is unlikely that 'Greg is a frog' 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.1::factA. 0.05::factB. 0.1::factC. %hop1 0.1::factX:-xor(factA,factB). 0.2::factY:-and(factA,factB). 0.9::factZ:-xor(factB,factC). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.19000000000000006,0.1280256051210242,train,unlikely,we believe,It is unlikely that 'Greg is a frog' or 'Mary left the football' or both.,We believe that 'Greg is a frog' or 'Mary left the football' or both.,1,'Greg is a frog' or 'Mary left the football' or both. We believe that Mary picked up the apple. It is highly likely that Sandra dropped the milk. We believe that John moved to the garden. It is almost certain that if 'John moved to the garden and Mary picked up the apple' then Greg is a rhino. There is a very good chance that if 'Sandra dropped the milk' or 'John moved to the garden' or both then Bernhard is gray. It is highly unlikely that if 'John moved to the garden' or 'Mary picked up the apple' or both then Brian is a frog.,It is highly likely that either 'Brian 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.75::factA. 0.9::factB. 0.75::factC. %hop1 0.95::factX:-and(factC,factA). 0.8::factY:-or(factB,factC). 0.05::factZ:-or(factC,factA). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.8625,0.7801560312062412,train,highly likely,probably not,It is highly likely that either 'Brian is a frog' or 'Sandra dropped the milk' but not both.,It is probably not the case that either 'Brian is a frog' or 'Sandra dropped the milk' but not both.,1,Either 'Brian is a frog' or 'Sandra dropped the milk' but not both. There is little chance that Fred went to the office. It is improbable that Mary discarded the milk. It is probably the case that John moved to the garden. It is almost certain that if 'Fred went to the office' or 'John moved to the garden' or both then Bill left the milk. It is unlikely that if 'Mary discarded the milk and John moved to the garden' then Bernhard is gray. It is highly likely that if 'Mary discarded the milk' or 'John moved to the garden' or both then Brian is a lion.,There is a better than even chance that either 'Fred went to the office' or 'Bill 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.1::factB. 0.7::factC. %hop1 0.95::factX:-or(factA,factC). 0.2::factY:-and(factB,factC). 0.9::factZ:-or(factB,factC). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.6034999999999999,0.3028605721144229,train,better than even,highly unlikely,There is a better than even chance that either 'Fred went to the office' or 'Bill left the milk' but not both.,It is highly unlikely that either 'Fred went to the office' or 'Bill left the milk' but not both.,1,Either 'Fred went to the office' or 'Bill left the milk' but not both. It is probably the case that John dropped the milk. It is probably the case that Jason is bored. There is a better than even chance that Mary moved to the garden. It is likely that if either 'John dropped the milk' or 'Mary moved to the garden' but not both then Greg is a swan. We believe that if 'Mary moved to the garden' or 'Jason is bored' or both then Emily is a mouse. We doubt that if 'John dropped the milk and Jason is bored' then Julius is a swan.,It is probably not the case that either 'Jason is bored' 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.7::factA. 0.7::factB. 0.6::factC. %hop1 0.7::factX:-xor(factA,factC). 0.75::factY:-or(factC,factB). 0.2::factZ:-and(factA,factB). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.31,0.07601520304060812,train,probably not,likely,It is probably not the case that either 'Jason is bored' or 'Emily is a mouse' but not both.,It is likely that either 'Jason is bored' or 'Emily is a mouse' but not both.,1,Either 'Jason is bored' or 'Emily is a mouse' but not both. Chances are slight that Lily is a frog. There is little chance that Sumit is thirsty. It is probable that Greg is yellow. It is certain that if either 'Lily is a frog' or 'Sumit is thirsty' but not both then John moved to the garden. It is highly likely that if 'Lily is a frog' or 'Greg is yellow' or both then Julius is a rhino. There is almost no chance that if either 'Greg is yellow' or 'Lily is a frog' but not both then Bernhard is yellow.,Chances are slight that either 'Julius is a rhino' or 'Sumit 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.1::factA. 0.1::factB. 0.7::factC. %hop1 1.0::factX:-xor(factA,factB). 0.9::factY:-or(factA,factC). 0.02::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.6256,0.4450890178035607,train,better than even,chances are slight,There is a better than even chance that either 'Julius is a rhino' or 'Sumit is thirsty' but not both.,Chances are slight that either 'Julius is a rhino' or 'Sumit is thirsty' but not both.,0,Either 'Julius is a rhino' or 'Sumit is thirsty' but not both. It is impossible that Daniel left the apple. It is highly likely that Antoine is hungry. It is impossible that John went to the bedroom. It is highly unlikely that if 'Daniel left the apple and John went to the bedroom' then Julius is a swan. It is likely that if 'John went to the bedroom' or 'Antoine is hungry' or both then Lily is a rhino. There is a very good chance that if either 'Daniel left the apple' or 'Antoine is hungry' but not both then Greg is a frog.,It is impossible that either 'Daniel left the apple' 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.0::factA. 0.9::factB. 0.0::factC. %hop1 0.05::factX:-and(factA,factC). 0.7::factY:-or(factC,factB). 0.8::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.0,0.5269053810762152,train,impossible,likely,It is impossible that either 'Daniel left the apple' or 'John went to the bedroom' but not both.,It is likely that either 'Daniel left the apple' or 'John went to the bedroom' but not both.,1,Either 'Daniel left the apple' or 'John went to the bedroom' but not both. It is certain that Jeff moved to the office. It is likely that Julius is gray. It is probably the case that Bernhard is yellow. It is probably not the case that if 'Julius is gray' or 'Bernhard is yellow' or both then Emily is a mouse. It is impossible that if 'Bernhard is yellow and Jeff moved to the office' then John got the apple. It is probable that if 'Bernhard is yellow and Julius is gray' then Mary is in the hallway.,Chances are about even that either 'Emily is a mouse' or 'Mary is in the hallway' 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.7::factC. %hop1 0.25::factX:-or(factB,factC). 0.0::factY:-and(factC,factA). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.39899999999999997,0.36207241448289657,train,about even,highly unlikely,Chances are about even that either 'Emily is a mouse' or 'Mary is in the hallway' but not both.,It is highly unlikely that either 'Emily is a mouse' or 'Mary is in the hallway' but not both.,1,Either 'Emily is a mouse' or 'Mary is in the hallway' but not both. We doubt that Julius is green. We believe that Jeff dropped the apple. It is certain that Brian is white. It is probably not the case that if 'Jeff dropped the apple and Julius is green' then Greg is a frog. It is probably the case that if either 'Brian is white' or 'Julius is green' but not both then John took the football. There is almost no chance that if either 'Julius is green' or 'Brian is white' but not both then Mary discarded the milk.,Chances are about even that either 'John took the football' 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.75::factB. 1.0::factC. %hop1 0.25::factX:-and(factB,factA). 0.7::factY:-xor(factC,factA). 0.02::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.44000000000000006,0.2664532906581316,train,about even,impossible,Chances are about even that either 'John took the football' or 'Brian is white' but not both.,It is impossible that either 'John took the football' or 'Brian is white' but not both.,1,Either 'John took the football' or 'Brian is white' but not both. It is highly unlikely that John got the milk. There is almost no chance that Bernhard is gray. There is almost no chance that Jeff dropped the apple. It is impossible that if 'John got the milk' or 'Jeff dropped the apple' or both then Jessica is a mouse. It is highly likely that if 'Bernhard is gray' or 'John got the milk' or both then Mary is in the hallway. Chances are slight that if 'Bernhard is gray' or 'Jeff dropped the apple' or both then Julius is white.,There is almost no chance that either 'Jeff dropped the apple' 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.05::factA. 0.02::factB. 0.02::factC. %hop1 0.0::factX:-or(factA,factC). 0.9::factY:-or(factB,factA). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.02,0.6881376275255051,train,almost no chance,highly likely,There is almost no chance that either 'Jeff dropped the apple' or 'Jessica is a mouse' but not both.,It is highly likely that either 'Jeff dropped the apple' or 'Jessica is a mouse' but not both.,1,Either 'Jeff dropped the apple' or 'Jessica is a mouse' but not both. It is certain that John left the football. It is unlikely that Greg is a lion. There is a very good chance that Emily is a mouse. It is likely that if 'Greg is a lion' or 'John left the football' or both then Brian is a lion. It is unlikely that if either 'Emily is a mouse' or 'John left the football' but not both then Bill went to the office. It is almost certain that if either 'Emily is a mouse' or 'John left the football' but not both then Julius is yellow.,There is a better than even chance that 'Bill went to the office 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 1.0::factA. 0.2::factB. 0.8::factC. %hop1 0.7::factX:-or(factB,factA). 0.2::factY:-xor(factC,factA). 0.95::factZ:-xor(factC,factA). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.038000000000000006,0.6717343468693738,train,highly unlikely,better than even,It is highly unlikely that 'Bill went to the office and Julius is yellow'.,There is a better than even chance that 'Bill went to the office and Julius is yellow'.,0,'Bill went to the office and Julius is yellow'. It is likely that John grabbed the apple. It is probably not the case that Daniel put down the milk. There is almost no chance that Julius is white. There is almost no chance that if either 'Daniel put down the milk' or 'John grabbed the apple' but not both then Emily is a cat. It is probably the case that if 'Julius is white' or 'John grabbed the apple' or both then Mary got the football. It is probably the case that if either 'Julius is white' or 'Daniel put down the milk' but not both then Bernhard is green.,It is highly unlikely that 'Mary got the football' 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.25::factB. 0.02::factC. %hop1 0.02::factX:-xor(factB,factA). 0.7::factY:-or(factC,factA). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.584815,0.34886977395479096,train,better than even,highly unlikely,There is a better than even chance that 'Mary got the football' or 'Bernhard is green' or both.,It is highly unlikely that 'Mary got the football' or 'Bernhard is green' or both.,0,'Mary got the football' or 'Bernhard is green' or both. It is highly unlikely that John got the milk. It is highly unlikely that Winona is a cat. It is likely that Brian is yellow. It is probably the case that if 'John got the milk' or 'Brian is yellow' or both then Lily is a swan. Chances are about even that if 'Winona is a cat' or 'Brian is yellow' or both then Mary went to the kitchen. Chances are slight that if either 'John got the milk' or 'Winona is a cat' but not both then Julius is a frog.,It is unlikely that 'Lily is a swan' 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.05::factA. 0.05::factB. 0.7::factC. %hop1 0.7::factX:-or(factA,factC). 0.5::factY:-or(factB,factC). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.7105,0.5303060612122424,train,probably,unlikely,It is probably the case that 'Lily is a swan' or 'Brian is yellow' or both.,It is unlikely that 'Lily is a swan' or 'Brian is yellow' or both.,0,'Lily is a swan' or 'Brian is yellow' or both. It is unlikely that Bernhard is a frog. It is impossible that Brian is a swan. It is probably the case that John moved to the garden. It is probably the case that if either 'John moved to the garden' or 'Bernhard is a frog' but not both then Winona is a wolf. It is impossible that if 'John moved to the garden and Bernhard is a frog' then Lily is gray. It is highly likely that if 'John moved to the garden' or 'Bernhard is a frog' or both then Mary left the apple.,It is impossible that 'Brian is a swan 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.2::factA. 0.0::factB. 0.7::factC. %hop1 0.7::factX:-xor(factC,factA). 0.0::factY:-and(factC,factA). 0.9::factZ:-or(factC,factA). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.25745149029805964,train,impossible,likely,It is impossible that 'Brian is a swan and Bernhard is a frog'.,It is likely that 'Brian is a swan and Bernhard is a frog'.,1,'Brian is a swan and Bernhard is a frog'. It is highly likely that Mary took the milk. It is certain that Bernhard is a swan. We believe that Julius is gray. Chances are slight that if 'Mary took the milk' or 'Bernhard is a swan' or both then Lily is yellow. It is likely that if either 'Bernhard is a swan' or 'Mary took the milk' but not both then Greg is a frog. There is little chance that if either 'Julius is gray' or 'Bernhard is a swan' but not both then Gertrude is a wolf.,It is impossible that 'Gertrude is a wolf 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.9::factA. 1.0::factB. 0.75::factC. %hop1 0.1::factX:-or(factA,factB). 0.7::factY:-xor(factB,factA). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.0017500000000000005,0.4426885377075415,train,impossible,very good chance,It is impossible that 'Gertrude is a wolf and Greg is a frog'.,There is a very good chance that 'Gertrude is a wolf and Greg is a frog'.,1,'Gertrude is a wolf and Greg is a frog'. There is little chance that Mary moved to the office. It is almost certain that Julius is a lion. There is little chance that John took the football. It is probably not the case that if 'Mary moved to the office and John took the football' then Fred left the apple. It is highly unlikely that if either 'Mary moved to the office' or 'John took the football' but not both then Bernhard is gray. It is highly likely that if either 'Mary moved to the office' or 'Julius is a lion' but not both then Greg is white.,There is a very good chance that either 'Fred left the apple' 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.1::factA. 0.95::factB. 0.1::factC. %hop1 0.25::factX:-and(factA,factC). 0.05::factY:-xor(factA,factC). 0.9::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.776275,0.20324064812962592,train,very good chance,almost no chance,There is a very good chance that either 'Fred left the apple' or 'Greg is white' but not both.,There is almost no chance that either 'Fred left the apple' or 'Greg is white' but not both.,1,Either 'Fred left the apple' or 'Greg is white' but not both. There is a very good chance that Sandra left the milk. It is probably the case that Lily is green. It is unlikely that Yann is bored. There is almost no chance that if 'Lily is green' or 'Yann is bored' or both then Jeff moved to the garden. It is highly likely that if 'Lily is green and Sandra left the milk' then Mary went to the bedroom. It is unlikely that if 'Yann is bored' or 'Sandra left the milk' or both then John dropped the apple.,There is a better than even chance that 'Lily is green 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.8::factA. 0.7::factB. 0.2::factC. %hop1 0.02::factX:-or(factB,factC). 0.9::factY:-and(factB,factA). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.5599999999999999,0.20204040808161633,train,better than even,little chance,There is a better than even chance that 'Lily is green and Sandra left the milk'.,There is little chance that 'Lily is green and Sandra left the milk'.,1,'Lily is green and Sandra left the milk'. We believe that Gertrude is a mouse. It is highly likely that Lily is green. It is probably not the case that Sandra left the milk. It is highly unlikely that if 'Lily is green' or 'Gertrude is a mouse' or both then John dropped the milk. There is a very good chance that if 'Sandra left the milk' or 'Lily is green' or both then Julius is a frog. It is highly likely that if 'Sandra left the milk and Lily is green' then Daniel took the apple.,We believe that 'John dropped the milk' 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.75::factA. 0.9::factB. 0.25::factC. %hop1 0.05::factX:-or(factB,factA). 0.8::factY:-or(factC,factB). 0.9::factZ:-and(factC,factB). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.7520000000000001,0.6253250650130026,train,we believe,probably not,We believe that 'John dropped the milk' or 'Julius is a frog' or both.,It is probably not the case that 'John dropped the milk' or 'Julius is a frog' or both.,1,'John dropped the milk' or 'Julius is a frog' or both. We believe that Mary dropped the milk. It is probable that Lily is a rhino. There is a better than even chance that Daniel left the football. There is little chance that if 'Lily is a rhino and Daniel left the football' then Jessica is a mouse. It is probable that if 'Mary dropped the milk and Daniel left the football' then Fred went to the garden. It is likely that if 'Lily is a rhino and Daniel left the football' then Brian is white.,There is almost no chance that 'Lily is a rhino' or 'Fred 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.75::factA. 0.7::factB. 0.6::factC. %hop1 0.1::factX:-and(factB,factC). 0.7::factY:-and(factA,factC). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.7944999999999999,0.03320664132826565,train,very good chance,almost no chance,There is a very good chance that 'Lily is a rhino' or 'Fred went to the garden' or both.,There is almost no chance that 'Lily is a rhino' or 'Fred went to the garden' or both.,0,'Lily is a rhino' or 'Fred went to the garden' or both. There is a very good chance that Bernhard is a swan. There is almost no chance that Mary went to the garden. There is little chance that John took the football. It is almost certain that if 'Bernhard is a swan' or 'John took the football' or both then Brian is white. It is impossible that if either 'Bernhard is a swan' or 'Mary went to the garden' but not both then Julius is a rhino. It is probably not the case that if 'Mary went to the garden' or 'Bernhard is a swan' or both then Greg is a lion.,It is unlikely that 'Greg is a lion 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.02::factB. 0.1::factC. %hop1 0.95::factX:-or(factA,factC). 0.0::factY:-xor(factA,factB). 0.25::factZ:-or(factB,factA). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.190095,0.5287057411482297,train,unlikely,probable,It is unlikely that 'Greg is a lion and Brian is white'.,It is probable that 'Greg is a lion and Brian is white'.,1,'Greg is a lion and Brian is white'. It is highly likely that Mary dropped the apple. It is certain that Greg is a lion. It is unlikely that Julius is white. It is improbable that if 'Julius is white and Mary dropped the apple' then Jessica is a cat. It is likely that if 'Julius is white and Greg is a lion' then Lily is green. There is almost no chance that if 'Mary dropped the apple' or 'Julius is white' or both then John took the football.,It is improbable that 'Jessica is a cat' 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.9::factA. 1.0::factB. 0.2::factC. %hop1 0.1::factX:-and(factC,factA). 0.7::factY:-and(factC,factB). 0.02::factZ:-or(factA,factC). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.1454,0.40508101620324066,train,improbable,we believe,It is improbable that 'Jessica is a cat' or 'Lily is green' or both.,We believe that 'Jessica is a cat' or 'Lily is green' or both.,1,'Jessica is a cat' or 'Lily is green' or both. It is highly likely that Brian is a frog. There is almost no chance that John got the apple. It is highly likely that Greg is a lion. We believe that if either 'John got the apple' or 'Greg is a lion' but not both then Sandra put down the milk. It is probably not the case that if 'John got the apple' or 'Greg is a lion' or both then Gertrude is a cat. We believe that if 'John got the apple and Greg is a lion' then Julius is a rhino.,It is probably not the case that 'Gertrude is a cat' 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.9::factA. 0.02::factB. 0.9::factC. %hop1 0.75::factX:-xor(factB,factC). 0.25::factY:-or(factB,factC). 0.75::factZ:-and(factB,factC). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.23562500000000006,0.023204640928185638,train,probably not,probable,It is probably not the case that 'Gertrude is a cat' or 'Julius is a rhino' or both.,It is probable that 'Gertrude is a cat' or 'Julius is a rhino' or both.,1,'Gertrude is a cat' or 'Julius is a rhino' or both. It is certain that Emily is a sheep. It is impossible that Greg is white. It is almost certain that Brian is a lion. Chances are slight that if either 'Greg is white' or 'Brian is a lion' but not both then Bernhard is a frog. It is unlikely that if 'Greg is white' or 'Brian is a lion' or both then John got the milk. It is highly likely that if 'Greg is white and Emily is a sheep' then Sandra is in the kitchen.,It is highly likely that either 'Bernhard is a frog' 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 1.0::factA. 0.0::factB. 0.95::factC. %hop1 0.1::factX:-xor(factB,factC). 0.2::factY:-or(factB,factC). 0.9::factZ:-and(factB,factA). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.905,0.038207641528305664,train,highly likely,almost no chance,It is highly likely that either 'Bernhard is a frog' or 'Emily is a sheep' but not both.,There is almost no chance that either 'Bernhard is a frog' or 'Emily is a sheep' but not both.,1,Either 'Bernhard is a frog' or 'Emily is a sheep' but not both. It is highly unlikely that John went to the office. We doubt that Lily is a rhino. It is certain that Brian is white. Chances are slight that if either 'John went to the office' or 'Lily is a rhino' but not both then Julius is gray. It is unlikely that if either 'Lily is a rhino' or 'John went to the office' but not both then Greg is a swan. It is probable that if 'John went to the office and Lily is a rhino' then Jessica is a wolf.,It is probably not the case that either 'Lily is a rhino' 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.05::factA. 0.2::factB. 1.0::factC. %hop1 0.1::factX:-xor(factA,factB). 0.2::factY:-xor(factB,factA). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.23,0.7829565913182637,train,probably not,probable,It is probably not the case that either 'Lily is a rhino' or 'John went to the office' but not both.,It is probable that either 'Lily is a rhino' or 'John went to the office' but not both.,1,Either 'Lily is a rhino' or 'John went to the office' but not both. There is little chance that Mary went to the garden. It is impossible that Lily is a lion. We doubt that John left the football. It is probable that if 'Lily is a lion and Mary went to the garden' then Brian is white. It is likely that if 'John left the football and Lily is a lion' then Jessica is a cat. It is certain that if 'John left the football' or 'Mary went to the garden' or both then Jason is thirsty.,There is a very good chance that 'Mary 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 0.1::factA. 0.0::factB. 0.2::factC. %hop1 0.7::factX:-and(factB,factA). 0.7::factY:-and(factC,factB). 1.0::factZ:-or(factC,factA). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.10000000000000002,0.735747149429886,train,improbable,very good chance,It is improbable that 'Mary went to the garden' or 'Jessica is a cat' or both.,There is a very good chance that 'Mary went to the garden' or 'Jessica is a cat' or both.,0,'Mary went to the garden' or 'Jessica is a cat' or both. It is certain that Antoine is thirsty. There is a very good chance that John put down the apple. It is likely that Greg is a swan. It is improbable that if 'Greg is a swan' or 'John put down the apple' or both then Mary left the football. There is almost no chance that if 'Antoine is thirsty and John put down the apple' then Lily is a lion. It is improbable that if 'Greg is a swan' or 'John put down the apple' or both then Julius is a rhino.,It is likely 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 1.0::factA. 0.8::factB. 0.7::factC. %hop1 0.1::factX:-or(factC,factB). 0.02::factY:-and(factA,factB). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.7047999999999999,0.7893578715743149,train,likely,almost no chance,It is likely that 'Greg is a swan' or 'Lily is a lion' or both.,There is almost no chance that 'Greg is a swan' or 'Lily is a lion' or both.,1,'Greg is a swan' or 'Lily is a lion' or both. It is probable that Emily is a mouse. There is little chance that Gertrude is a sheep. It is impossible that Greg is gray. It is almost certain that if either 'Gertrude is a sheep' or 'Emily is a mouse' but not both then John picked up the apple. It is unlikely that if 'Gertrude is a sheep' or 'Emily is a mouse' or both then Mary discarded the milk. There is a very good chance that if 'Gertrude is a sheep and Greg is gray' then Brian is white.,There is little chance that either 'Brian is white' 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.1::factB. 0.0::factC. %hop1 0.95::factX:-xor(factB,factA). 0.2::factY:-or(factB,factA). 0.8::factZ:-and(factB,factC). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.14600000000000002,0.7121424284856971,train,little chance,certain,There is little chance that either 'Brian is white' or 'Mary discarded the milk' but not both.,It is certain that either 'Brian is white' or 'Mary discarded the milk' but not both.,1,Either 'Brian is white' or 'Mary discarded the milk' but not both. It is probable that Julius is a frog. There is little chance that Brian is yellow. There is a better than even chance that Mary took the milk. Chances are about even that if either 'Julius is a frog' or 'Brian is yellow' but not both then Gertrude is a sheep. It is improbable that if 'Brian is yellow and Mary took the milk' then Sandra left the milk. It is highly unlikely that if either 'Julius is a frog' or 'Brian is yellow' but not both then Antoine is thirsty.,It is highly unlikely that 'Brian is yellow 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.1::factB. 0.6::factC. %hop1 0.5::factX:-xor(factA,factB). 0.1::factY:-and(factB,factC). 0.05::factZ:-xor(factA,factB). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.07,0.4460892178435687,train,highly unlikely,likely,It is highly unlikely that 'Brian is yellow and Julius is a frog'.,It is likely that 'Brian is yellow and Julius is a frog'.,1,'Brian is yellow and Julius is a frog'. It is certain that John dropped the milk. It is highly unlikely that Julius is white. It is almost certain that Mary went to the office. There is a better than even chance that if 'Mary went to the office and John dropped the milk' then Greg is gray. Chances are slight that if 'John dropped the milk' or 'Mary went to the office' or both then Bernhard is a frog. It is highly unlikely that if either 'Julius is white' or 'John dropped the milk' but not both then Winona is a wolf.,There is a better than even chance that 'Bernhard is a frog 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 1.0::factA. 0.05::factB. 0.95::factC. %hop1 0.6::factX:-and(factC,factA). 0.1::factY:-or(factA,factC). 0.05::factZ:-xor(factB,factA). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.09500000000000001,0.11162232446489298,train,improbable,better than even,It is improbable that 'Bernhard is a frog and Mary went to the office'.,There is a better than even chance that 'Bernhard is a frog and Mary went to the office'.,0,'Bernhard is a frog and Mary went to the office'. We believe that John moved to the office. There is a better than even chance that Fred dropped the apple. Chances are about even that Brian is a lion. It is unlikely that if either 'Brian is a lion' or 'John moved to the office' but not both then Julius is yellow. Chances are slight that if 'Fred dropped the apple' or 'John moved to the office' or both then Gertrude is a sheep. There is a very good chance that if 'Fred dropped the apple and John moved to the office' then Lily is a swan.,It is probably the case that 'Brian is a lion 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.75::factA. 0.6::factB. 0.5::factC. %hop1 0.2::factX:-xor(factC,factA). 0.1::factY:-or(factB,factA). 0.8::factZ:-and(factB,factA). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.045000000000000005,0.028405681136227247,train,highly unlikely,probably,It is highly unlikely that 'Brian is a lion and Gertrude is a sheep'.,It is probably the case that 'Brian is a lion and Gertrude is a sheep'.,0,'Brian is a lion and Gertrude is a sheep'. Chances are about even that Jason is thirsty. It is highly likely that Sandra got the football. There is little chance that Brian is white. Chances are about even that if 'Sandra got the football' or 'Brian is white' or both then John discarded the apple. It is highly likely that if either 'Sandra got the football' or 'Brian is white' but not both then Greg is yellow. It is likely that if either 'Brian is white' or 'Sandra got the football' but not both then Bernhard is a rhino.,There is a very good chance that 'John discarded the apple and Jason 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.5::factA. 0.9::factB. 0.1::factC. %hop1 0.5::factX:-or(factB,factC). 0.9::factY:-xor(factB,factC). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.2275,0.53250650130026,train,probably not,very good chance,It is probably not the case that 'John discarded the apple and Jason is thirsty'.,There is a very good chance that 'John discarded the apple and Jason is thirsty'.,0,'John discarded the apple and Jason is thirsty'. It is certain that John discarded the milk. It is unlikely that Mary left the football. We believe that Brian is a frog. It is unlikely that if 'Brian is a frog' or 'John discarded the milk' or both then Bernhard is a rhino. It is probable that if either 'Mary left the football' or 'John discarded the milk' but not both then Lily is a swan. We doubt that if 'Brian is a frog' or 'Mary left the football' or both then Julius is yellow.,There is a very good chance that either 'Bernhard is a rhino' or 'John 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 1.0::factA. 0.2::factB. 0.75::factC. %hop1 0.2::factX:-or(factC,factA). 0.7::factY:-xor(factB,factA). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.8,0.3884776955391078,train,very good chance,almost no chance,There is a very good chance that either 'Bernhard is a rhino' or 'John discarded the milk' but not both.,There is almost no chance that either 'Bernhard is a rhino' or 'John discarded the milk' but not both.,1,Either 'Bernhard is a rhino' or 'John discarded the milk' but not both. There is almost no chance that John moved to the office. It is probable that Bernhard is yellow. It is probable that Mary got the football. It is likely that if either 'Mary got the football' or 'John moved to the office' but not both then Julius is a frog. There is little chance that if 'John moved to the office and Mary got the football' then Greg is a rhino. It is highly unlikely that if either 'John moved to the office' or 'Bernhard is yellow' but not both then Jeff left the apple.,It is likely that 'Julius is a frog and Jeff 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.02::factA. 0.7::factB. 0.7::factC. %hop1 0.7::factX:-xor(factC,factA). 0.1::factY:-and(factA,factC). 0.05::factZ:-xor(factA,factB). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.016869999999999996,0.48869773954790957,train,almost no chance,likely,There is almost no chance that 'Julius is a frog and Jeff left the apple'.,It is likely that 'Julius is a frog and Jeff left the apple'.,0,'Julius is a frog and Jeff left the apple'. It is improbable that Julius is a swan. We doubt that Bill moved to the office. It is highly unlikely that John discarded the apple. It is likely that if either 'Bill moved to the office' or 'John discarded the apple' but not both then Fred went to the garden. It is probably the case that if 'Bill moved to the office' or 'John discarded the apple' or both then Winona is a wolf. There is little chance that if 'Bill moved to the office and Julius is a swan' then Brian is white.,It is likely that 'Brian is white 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.1::factA. 0.2::factB. 0.05::factC. %hop1 0.7::factX:-xor(factB,factC). 0.7::factY:-or(factB,factC). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.0014000000000000015,0.784756951390278,train,impossible,likely,It is impossible that 'Brian is white and Winona is a wolf'.,It is likely that 'Brian is white and Winona is a wolf'.,0,'Brian is white and Winona is a wolf'. It is impossible that Julius is gray. It is probably the case that Greg is a frog. It is likely that Brian is white. Chances are about even that if 'Julius is gray' or 'Greg is a frog' or both then Winona is a cat. There is a very good chance that if 'Julius is gray and Brian is white' then John discarded the milk. It is unlikely that if either 'Brian is white' or 'Julius is gray' but not both then Jason is tired.,It is likely that 'Brian is white' 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 0.0::factA. 0.7::factB. 0.7::factC. %hop1 0.5::factX:-or(factA,factB). 0.8::factY:-and(factA,factC). 0.2::factZ:-xor(factC,factA). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.7,0.4998999799959992,train,likely,almost no chance,It is likely that 'Brian is white' or 'Jason is tired' or both.,There is almost no chance that 'Brian is white' or 'Jason is tired' or both.,1,'Brian is white' or 'Jason is tired' or both. Chances are about even that Yann is bored. There is a better than even chance that Brian is green. Chances are slight that Julius is gray. It is probably the case that if 'Julius is gray' or 'Brian is green' or both then Mary dropped the milk. There is almost no chance that if 'Yann is bored and Julius is gray' then Bernhard is yellow. It is almost certain that if 'Julius is gray and Yann is bored' then Emily is a wolf.,There is a better than even chance that 'Mary dropped 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.5::factA. 0.6::factB. 0.1::factC. %hop1 0.7::factX:-or(factC,factB). 0.02::factY:-and(factA,factC). 0.95::factZ:-and(factC,factA). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.628,0.28245649129825967,train,better than even,highly unlikely,There is a better than even chance that 'Mary dropped the milk' or 'Brian is green' or both.,It is highly unlikely that 'Mary dropped the milk' or 'Brian is green' or both.,1,'Mary dropped the milk' or 'Brian is green' or both. There is little chance that Mary moved to the office. It is almost certain that Bernhard is a frog. There is almost no chance that Brian is a rhino. It is unlikely that if 'Bernhard is a frog and Brian is a rhino' then Fred went to the garden. Chances are slight that if 'Brian is a rhino' or 'Mary moved to the office' or both then Winona is a wolf. It is impossible that if 'Brian is a rhino and Mary moved to the office' then Julius is a swan.,It is impossible that 'Fred went to the garden 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.1::factA. 0.95::factB. 0.02::factC. %hop1 0.2::factX:-and(factB,factC). 0.1::factY:-or(factC,factA). 0.0::factZ:-and(factC,factA). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.0037999999999999996,0.05901180236047209,train,impossible,almost certain,It is impossible that 'Fred went to the garden and Bernhard is a frog'.,It is almost certain that 'Fred went to the garden and Bernhard is a frog'.,1,'Fred went to the garden and Bernhard is a frog'. There is a better than even chance that Lily is white. It is almost certain that Sandra got the football. It is impossible that Greg is white. We believe that if 'Greg is white and Lily is white' then Daniel took the apple. It is probable that if 'Lily is white' or 'Sandra got the football' or both then Bernhard is a lion. Chances are slight that if 'Lily is white' or 'Greg is white' or both then John went to the bedroom.,It is almost certain that 'Sandra got the football' or 'Daniel 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.6::factA. 0.95::factB. 0.0::factC. %hop1 0.75::factX:-and(factC,factA). 0.7::factY:-or(factA,factB). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.95,0.48489697939587917,train,almost certain,about even,It is almost certain that 'Sandra got the football' or 'Daniel took the apple' or both.,Chances are about even that 'Sandra got the football' or 'Daniel took the apple' or both.,1,'Sandra got the football' or 'Daniel took the apple' or both. We believe that Greg is a swan. It is probably not the case that Fred left the apple. It is improbable that John moved to the garden. It is almost certain that if 'Fred left the apple and John moved to the garden' then Winona is a wolf. It is highly unlikely that if either 'Greg is a swan' or 'John moved to the garden' but not both then Mary dropped the milk. It is unlikely that if 'Fred left the apple and John moved to the garden' then Julius is white.,It is likely that 'John moved to the garden' 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.75::factA. 0.25::factB. 0.1::factC. %hop1 0.95::factX:-and(factB,factC). 0.05::factY:-xor(factA,factC). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.13375000000000004,0.7153430686137228,train,chances are slight,likely,Chances are slight that 'John moved to the garden' or 'Mary dropped the milk' or both.,It is likely that 'John moved to the garden' or 'Mary dropped the milk' or both.,0,'John moved to the garden' or 'Mary dropped the milk' or both. It is highly unlikely that Bernhard is a swan. There is a better than even chance that Daniel grabbed the milk. We doubt that Sumit is thirsty. There is a very good chance that if 'Bernhard is a swan and Daniel grabbed the milk' then Mary moved to the garden. It is improbable that if 'Daniel grabbed the milk and Bernhard is a swan' then Brian is green. It is improbable that if 'Bernhard is a swan and Sumit is thirsty' then Julius is a rhino.,There is a better than even chance that 'Daniel grabbed the milk' 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.6::factB. 0.2::factC. %hop1 0.8::factX:-and(factA,factB). 0.1::factY:-and(factB,factA). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.62,0.7755551110222044,train,better than even,impossible,There is a better than even chance that 'Daniel grabbed the milk' or 'Bernhard is a swan' or both.,It is impossible that 'Daniel grabbed the milk' or 'Bernhard is a swan' or both.,1,'Daniel grabbed the milk' or 'Bernhard is a swan' or both. It is likely that Julius is a frog. There is almost no chance that Brian is green. It is highly likely that Mary dropped the apple. There is a better than even chance that if either 'Julius is a frog' or 'Mary dropped the apple' but not both then John picked up the milk. It is certain that if 'Brian is green' or 'Mary dropped the apple' or both then Bernhard is a lion. It is probably the case that if 'Brian is green' or 'Julius is a frog' or both then Jason is thirsty.,Chances are about even that 'Julius is a frog and Jason 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.02::factB. 0.9::factC. %hop1 0.6::factX:-xor(factA,factC). 1.0::factY:-or(factB,factC). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.48999999999999994,0.23124624924984996,train,about even,impossible,Chances are about even that 'Julius is a frog and Jason is thirsty'.,It is impossible that 'Julius is a frog and Jason is thirsty'.,1,'Julius is a frog and Jason is thirsty'. It is almost certain that Emily is a sheep. It is certain that Brian is green. There is almost no chance that Julius is a rhino. There is a better than even chance that if 'Emily is a sheep' or 'Brian is green' or both then Bernhard is a frog. It is almost certain that if either 'Emily is a sheep' or 'Julius is a rhino' but not both then Yann is bored. It is likely that if 'Julius is a rhino' or 'Emily is a sheep' or both then John went to the office.,Chances are about even that either 'Bernhard is a frog' 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.95::factA. 1.0::factB. 0.02::factC. %hop1 0.6::factX:-or(factA,factB). 0.95::factY:-xor(factA,factC). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.46686,0.48649729945989195,train,about even,highly unlikely,Chances are about even that either 'Bernhard is a frog' or 'John went to the office' but not both.,It is highly unlikely that either 'Bernhard is a frog' or 'John went to the office' but not both.,1,Either 'Bernhard is a frog' or 'John went to the office' but not both. It is impossible that Winona is a mouse. It is likely that John went to the kitchen. It is highly unlikely that Lily is yellow. It is impossible that if 'Winona is a mouse' or 'Lily is yellow' or both then Mary dropped the milk. There is a better than even chance that if 'Winona is a mouse' or 'John went to the kitchen' or both then Julius is a frog. We doubt that if 'John went to the kitchen and Winona is a mouse' then Greg is a swan.,It is highly unlikely that 'Julius is a frog' or 'John 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.0::factA. 0.7::factB. 0.05::factC. %hop1 0.0::factX:-or(factA,factC). 0.6::factY:-or(factA,factB). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.7,0.5125025005001,train,likely,highly unlikely,It is likely that 'Julius is a frog' or 'John went to the kitchen' or both.,It is highly unlikely that 'Julius is a frog' or 'John went to the kitchen' or both.,0,'Julius is a frog' or 'John went to the kitchen' or both. There is a very good chance that John is in the garden. It is certain that Daniel got the football. We believe that Mary went to the bedroom. We doubt that if either 'Daniel got the football' or 'John is in the garden' but not both then Greg is green. There is almost no chance that if either 'Daniel got the football' or 'John is in the garden' but not both then Emily is a wolf. It is unlikely that if 'John is in the garden' or 'Daniel got the football' or both then Lily is a rhino.,It is certain that either 'Emily is a wolf' or 'Daniel 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.8::factA. 1.0::factB. 0.75::factC. %hop1 0.2::factX:-xor(factB,factA). 0.02::factY:-xor(factB,factA). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.996,0.534506901380276,train,certain,impossible,It is certain that either 'Emily is a wolf' or 'Daniel got the football' but not both.,It is impossible that either 'Emily is a wolf' or 'Daniel got the football' but not both.,1,Either 'Emily is a wolf' or 'Daniel got the football' but not both. We doubt that Julius is gray. There is a very good chance that Jeff moved to the office. It is almost certain that Greg is yellow. It is unlikely that if 'Jeff moved to the office' or 'Greg is yellow' or both then Brian is yellow. It is improbable that if 'Greg is yellow and Jeff moved to the office' then Lily is white. It is almost certain that if either 'Jeff moved to the office' or 'Greg is yellow' but not both then Mary left the milk.,It is highly unlikely that 'Mary left the milk 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.2::factA. 0.8::factB. 0.95::factC. %hop1 0.2::factX:-or(factB,factC). 0.1::factY:-and(factC,factB). 0.95::factZ:-xor(factB,factC). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.04369999999999999,0.14922984596919384,train,highly unlikely,almost certain,It is highly unlikely that 'Mary left the milk and Julius is gray'.,It is almost certain that 'Mary left the milk and Julius is gray'.,1,'Mary left the milk and Julius is gray'. We believe that Winona is a sheep. There is a very good chance that Greg is a swan. There is little chance that Yann is hungry. It is highly likely that if 'Winona is a sheep and Greg is a swan' then John grabbed the milk. It is almost certain that if either 'Greg is a swan' or 'Winona is a sheep' but not both then Julius is a rhino. It is probably not the case that if either 'Greg is a swan' or 'Winona is a sheep' but not both then Mary got the football.,It is highly unlikely that 'Winona is a sheep 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.75::factA. 0.8::factB. 0.1::factC. %hop1 0.9::factX:-and(factA,factB). 0.95::factY:-xor(factB,factA). 0.25::factZ:-xor(factB,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.03749999999999999,0.10402080416083216,train,highly unlikely,very good chance,It is highly unlikely that 'Winona is a sheep and Mary got the football'.,There is a very good chance that 'Winona is a sheep and Mary got the football'.,1,'Winona is a sheep and Mary got the football'. It is almost certain that Bernhard is a frog. There is a very good chance that John took the apple. There is almost no chance that Mary grabbed the milk. There is almost no chance that if 'John took the apple and Bernhard is a frog' then Greg is white. It is highly unlikely that if either 'Bernhard is a frog' or 'Mary grabbed the milk' but not both then Lily is a rhino. It is certain that if 'Mary grabbed the milk' or 'John took the apple' or both then Julius is yellow.,It is highly unlikely that 'Lily is a rhino' or 'Greg 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.8::factB. 0.02::factC. %hop1 0.02::factX:-and(factB,factA). 0.05::factY:-xor(factA,factC). 1.0::factZ:-or(factC,factB). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.0610552,0.40548109621924383,train,highly unlikely,we believe,It is highly unlikely that 'Lily is a rhino' or 'Greg is white' or both.,We believe that 'Lily is a rhino' or 'Greg is white' or both.,1,'Lily is a rhino' or 'Greg is white' or both. There is almost no chance that Mary went to the kitchen. It is impossible that Bernhard is a rhino. It is probably the case that Julius is a frog. It is certain that if 'Mary went to the kitchen' or 'Bernhard is a rhino' or both then Gertrude is a wolf. It is unlikely that if either 'Julius is a frog' or 'Bernhard is a rhino' but not both then Fred left the football. It is probable that if either 'Julius is a frog' or 'Mary went to the kitchen' but not both then Lily is white.,Chances are about even that 'Fred 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.02::factA. 0.0::factB. 0.7::factC. %hop1 1.0::factX:-or(factA,factB). 0.2::factY:-xor(factC,factB). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.5283599999999999,0.21044208841768353,train,about even,impossible,Chances are about even that 'Fred left the football' or 'Lily is white' or both.,It is impossible that 'Fred left the football' or 'Lily is white' or both.,1,'Fred left the football' or 'Lily is white' or both. It is almost certain that Daniel took the milk. Chances are slight that Brian is a rhino. There is little chance that Greg is gray. It is highly likely that if 'Daniel took the milk and Brian is a rhino' then Lily is a swan. It is highly likely that if 'Daniel took the milk and Brian is a rhino' then John went to the hallway. We doubt that if 'Brian is a rhino' or 'Greg is gray' or both then Fred left the apple.,Chances are slight that 'Brian is a rhino' or 'Fred 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.95::factA. 0.1::factB. 0.1::factC. %hop1 0.9::factX:-and(factA,factB). 0.9::factY:-and(factA,factB). 0.2::factZ:-or(factB,factC). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.11800000000000002,0.7675535107021404,train,chances are slight,likely,Chances are slight that 'Brian is a rhino' or 'Fred left the apple' or both.,It is likely that 'Brian is a rhino' or 'Fred left the apple' or both.,1,'Brian is a rhino' or 'Fred left the apple' or both. Chances are about even that Sandra dropped the milk. It is highly likely that Bernhard is a rhino. It is unlikely that Greg is white. It is probably not the case that if 'Sandra dropped the milk and Greg is white' then Emily is a sheep. It is probably not the case that if 'Greg is white and Bernhard is a rhino' then John moved to the office. It is unlikely that if 'Greg is white' or 'Sandra dropped the milk' or both then Brian is a swan.,Chances are slight that either 'Bernhard is a rhino' 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.5::factA. 0.9::factB. 0.2::factC. %hop1 0.25::factX:-and(factA,factC). 0.25::factY:-and(factC,factB). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.74,0.0638127625525105,train,we believe,chances are slight,We believe that either 'Bernhard is a rhino' or 'Greg is white' but not both.,Chances are slight that either 'Bernhard is a rhino' or 'Greg is white' but not both.,0,Either 'Bernhard is a rhino' or 'Greg is white' but not both. It is improbable that Mary left the football. There is a very good chance that Julius is yellow. It is highly unlikely that Brian is a lion. It is certain that if 'Julius is yellow' or 'Mary left the football' or both then Greg is a swan. We doubt that if 'Mary left the football' or 'Julius is yellow' or both then Emily is a mouse. It is impossible that if 'Brian is a lion' or 'Julius is yellow' or both then John grabbed the apple.,There is little chance that 'Julius is yellow' or 'John 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.1::factA. 0.8::factB. 0.05::factC. %hop1 1.0::factX:-or(factB,factA). 0.2::factY:-or(factA,factB). 0.0::factZ:-or(factC,factB). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.8,0.17203440688137628,train,very good chance,little chance,There is a very good chance that 'Julius is yellow' or 'John grabbed the apple' or both.,There is little chance that 'Julius is yellow' or 'John grabbed the apple' or both.,0,'Julius is yellow' or 'John grabbed the apple' or both. It is improbable that Mary dropped the milk. It is certain that Greg is yellow. It is certain that Bill moved to the office. It is unlikely that if 'Mary dropped the milk and Bill moved to the office' then Emily is a mouse. We believe that if 'Mary dropped the milk and Bill moved to the office' then John took the football. There is a very good chance that if 'Mary dropped the milk and Bill moved to the office' then Bernhard is white.,It is highly likely that 'Bill moved to the office 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.1::factA. 1.0::factB. 1.0::factC. %hop1 0.2::factX:-and(factA,factC). 0.75::factY:-and(factA,factC). 0.8::factZ:-and(factA,factC). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.08000000000000002,0.6475295059011802,train,improbable,highly likely,It is improbable that 'Bill moved to the office and Bernhard is white'.,It is highly likely that 'Bill moved to the office and Bernhard is white'.,0,'Bill moved to the office and Bernhard is white'. It is improbable that John moved to the office. It is certain that Gertrude is a wolf. It is almost certain that Mary dropped the apple. There is a better than even chance that if 'Gertrude is a wolf' or 'Mary dropped the apple' or both then Bernhard is a swan. It is likely that if 'Mary dropped the apple and Gertrude is a wolf' then Winona is a wolf. It is highly likely that if 'Mary dropped the apple and John moved to the office' then Lily is green.,It is impossible that either 'John moved to the office' 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 0.1::factA. 1.0::factB. 0.95::factC. %hop1 0.6::factX:-or(factB,factC). 0.7::factY:-and(factC,factB). 0.9::factZ:-and(factC,factA). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.9,0.4244848969793959,train,highly likely,impossible,It is highly likely that either 'John moved to the office' or 'Gertrude is a wolf' but not both.,It is impossible that either 'John moved to the office' or 'Gertrude is a wolf' but not both.,0,Either 'John moved to the office' or 'Gertrude is a wolf' but not both. There is a better than even chance that Bernhard is gray. There is little chance that Julius is green. Chances are slight that Greg is a frog. It is unlikely that if either 'Julius is green' or 'Greg is a frog' but not both then Gertrude is a cat. There is little chance that if either 'Greg is a frog' or 'Bernhard is gray' but not both then Sandra dropped the apple. It is highly unlikely that if 'Greg is a frog' or 'Julius is green' or both then Bill left the football.,It is certain that either 'Julius is green' or 'Gertrude 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.6::factA. 0.1::factB. 0.1::factC. %hop1 0.2::factX:-xor(factB,factC). 0.1::factY:-xor(factC,factA). 0.05::factZ:-or(factC,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.10000000000000002,0.47129425885177034,train,little chance,certain,There is little chance that either 'Julius is green' or 'Gertrude is a cat' but not both.,It is certain that either 'Julius is green' or 'Gertrude is a cat' but not both.,0,Either 'Julius is green' or 'Gertrude is a cat' but not both. It is highly unlikely that Jeff moved to the garden. It is unlikely that Jason is tired. Chances are about even that John got the milk. It is improbable that if 'John got the milk' or 'Jeff moved to the garden' or both then Bill went to the kitchen. It is almost certain that if either 'Jason is tired' or 'John got the milk' but not both then Lily is a frog. It is highly likely that if 'John got the milk and Jeff moved to the garden' then Greg is white.,There is almost no chance that 'Lily is a frog' 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 0.05::factA. 0.2::factB. 0.5::factC. %hop1 0.1::factX:-or(factC,factA). 0.95::factY:-xor(factB,factC). 0.9::factZ:-and(factC,factA). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.58,0.7971594318863773,train,better than even,almost no chance,There is a better than even chance that 'Lily is a frog' or 'Jason is tired' or both.,There is almost no chance that 'Lily is a frog' or 'Jason is tired' or both.,0,'Lily is a frog' or 'Jason is tired' or both. It is certain that Mary went to the kitchen. It is probably not the case that Jessica is a cat. It is highly unlikely that Greg is a frog. It is probably the case that if 'Greg is a frog' or 'Jessica is a cat' or both then John took the milk. We believe that if either 'Jessica is a cat' or 'Greg is a frog' but not both then Julius is gray. It is likely that if either 'Mary went to the kitchen' or 'Greg is a frog' but not both then Emily is a mouse.,We doubt that 'Jessica is a cat 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 1.0::factA. 0.25::factB. 0.05::factC. %hop1 0.7::factX:-or(factC,factB). 0.75::factY:-xor(factB,factC). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.16624999999999998,0.4500900180036007,train,we doubt,probable,We doubt that 'Jessica is a cat and Emily is a mouse'.,It is probable that 'Jessica is a cat and Emily is a mouse'.,1,'Jessica is a cat and Emily is a mouse'. It is highly unlikely that Mary got the football. There is a better than even chance that Jeff moved to the garden. It is improbable that Jessica is a cat. It is probable that if either 'Mary got the football' or 'Jeff moved to the garden' but not both then John went to the office. We believe that if either 'Jeff moved to the garden' or 'Jessica is a cat' but not both then Julius is yellow. There is a better than even chance that if 'Mary got the football' or 'Jeff moved to the garden' or both then Bernhard is gray.,Chances are about even that 'Jessica is a cat' 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.05::factA. 0.6::factB. 0.1::factC. %hop1 0.7::factX:-xor(factA,factB). 0.75::factY:-xor(factB,factC). 0.6::factZ:-or(factA,factB). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.505,0.6369273854770954,train,about even,almost no chance,Chances are about even that 'Jessica is a cat' or 'Julius is yellow' or both.,There is almost no chance that 'Jessica is a cat' or 'Julius is yellow' or both.,1,'Jessica is a cat' or 'Julius is yellow' or both. Chances are slight that John took the apple. It is highly unlikely that Emily is a sheep. It is unlikely that Mary dropped the milk. There is almost no chance that if 'Mary dropped the milk' or 'John took the apple' or both then Bill left the football. It is certain that if either 'Mary dropped the milk' or 'John took the apple' but not both then Lily is a frog. It is almost certain that if 'Emily is a sheep' or 'Mary dropped the milk' or both then Bernhard is a swan.,We believe that 'Mary dropped the milk' 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.1::factA. 0.05::factB. 0.2::factC. %hop1 0.02::factX:-or(factC,factA). 1.0::factY:-xor(factC,factA). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.28,0.5061012202440488,train,probably not,we believe,It is probably not the case that 'Mary dropped the milk' or 'Lily is a frog' or both.,We believe that 'Mary dropped the milk' or 'Lily is a frog' or both.,0,'Mary dropped the milk' or 'Lily is a frog' or both. It is improbable that John moved to the office. It is probably the case that Mary left the apple. It is impossible that Jeff went to the bedroom. Chances are slight that if 'John moved to the office' or 'Jeff went to the bedroom' or both then Greg is gray. It is almost certain that if 'Jeff went to the bedroom and John moved to the office' then Bernhard is green. It is likely that if either 'Mary left the apple' or 'John moved to the office' but not both then Winona is a mouse.,There is almost no chance that 'Jeff went to the bedroom' or 'Greg 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.1::factA. 0.7::factB. 0.0::factC. %hop1 0.1::factX:-or(factA,factC). 0.95::factY:-and(factC,factA). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.010000000000000004,0.22604520904180836,train,almost no chance,probably,There is almost no chance that 'Jeff went to the bedroom' or 'Greg is gray' or both.,It is probably the case that 'Jeff went to the bedroom' or 'Greg is gray' or both.,1,'Jeff went to the bedroom' or 'Greg is gray' or both. It is unlikely that Brian is a lion. It is unlikely that Bernhard is a rhino. It is probably the case that Daniel left the football. There is a very good chance that if either 'Bernhard is a rhino' or 'Daniel left the football' but not both then Mary went to the bedroom. We doubt that if 'Bernhard is a rhino' or 'Daniel left the football' or both then Julius is white. It is probably not the case that if 'Brian is a lion and Bernhard is a rhino' then John moved to the office.,It is likely that 'John moved to the office' or 'Daniel 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.2::factA. 0.2::factB. 0.7::factC. %hop1 0.8::factX:-xor(factB,factC). 0.2::factY:-or(factB,factC). 0.25::factZ:-and(factA,factB). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.703,0.2986597319463893,train,likely,almost no chance,It is likely that 'John moved to the office' or 'Daniel left the football' or both.,There is almost no chance that 'John moved to the office' or 'Daniel left the football' or both.,1,'John moved to the office' or 'Daniel left the football' or both. It is almost certain that Jason is bored. It is probable that Gertrude is a sheep. It is probable that Greg is white. It is probably not the case that if 'Jason is bored and Greg is white' then Mary went to the office. It is almost certain that if either 'Gertrude is a sheep' or 'Greg is white' but not both then Lily is a frog. It is almost certain that if 'Gertrude is a sheep' or 'Greg is white' or both then John took the apple.,It is improbable that either 'Lily is a frog' or 'Jason is bored' 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. 0.7::factC. %hop1 0.25::factX:-and(factA,factC). 0.95::factY:-xor(factB,factC). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.5909,0.26485297059411883,train,better than even,improbable,There is a better than even chance that either 'Lily is a frog' or 'Jason is bored' but not both.,It is improbable that either 'Lily is a frog' or 'Jason is bored' but not both.,0,Either 'Lily is a frog' or 'Jason is bored' but not both. There is almost no chance that Lily is a rhino. There is little chance that Bernhard is a lion. It is probable that Mary went to the bedroom. It is probably the case that if either 'Bernhard is a lion' or 'Mary went to the bedroom' but not both then Julius is yellow. It is almost certain that if 'Lily is a rhino and Bernhard is a lion' then Fred is in the cinema. It is probably the case that if 'Lily is a rhino' or 'Bernhard is a lion' or both then Bill left the milk.,There is almost no chance that 'Mary went to the bedroom 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.02::factA. 0.1::factB. 0.7::factC. %hop1 0.7::factX:-xor(factB,factC). 0.95::factY:-and(factA,factB). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.014000000000000007,0.6447289457891578,train,almost no chance,probable,There is almost no chance that 'Mary went to the bedroom and Lily is a rhino'.,It is probable that 'Mary went to the bedroom and Lily is a rhino'.,1,'Mary went to the bedroom and Lily is a rhino'. There is little chance that Sandra left the milk. It is highly likely that Julius is gray. We doubt that John discarded the apple. It is probable that if 'Julius is gray and John discarded the apple' then Jessica is a cat. It is unlikely that if either 'Julius is gray' or 'John discarded the apple' but not both then Brian is a rhino. There is a very good chance that if either 'Julius is gray' or 'John discarded the apple' but not both then Mary grabbed the milk.,It is probably the case that 'Jessica is a cat 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.1::factA. 0.9::factB. 0.2::factC. %hop1 0.7::factX:-and(factB,factC). 0.2::factY:-xor(factB,factC). 0.8::factZ:-xor(factB,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.0126,0.6473294658931786,train,almost no chance,probably,There is almost no chance that 'Jessica is a cat and Sandra left the milk'.,It is probably the case that 'Jessica is a cat and Sandra left the milk'.,0,'Jessica is a cat and Sandra left the milk'. There is a better than even chance that Mary left the milk. There is little chance that Brian is white. Chances are slight that Sandra dropped the apple. It is highly unlikely that if 'Sandra dropped the apple and Mary left the milk' then Greg is a frog. It is almost certain that if 'Sandra dropped the apple' or 'Brian is white' or both then Emily is a wolf. Chances are about even that if 'Mary left the milk and Sandra dropped the apple' then Lily is green.,It is likely that 'Brian is white' 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.6::factA. 0.1::factB. 0.1::factC. %hop1 0.05::factX:-and(factC,factA). 0.95::factY:-or(factC,factB). 0.5::factZ:-and(factA,factC). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.1027,0.6289257851570315,train,improbable,likely,It is improbable that 'Brian is white' or 'Greg is a frog' or both.,It is likely that 'Brian is white' or 'Greg is a frog' or both.,0,'Brian is white' or 'Greg is a frog' or both. It is impossible that Greg is a frog. Chances are about even that Daniel took the apple. It is probable that Bernhard is a swan. It is impossible that if 'Bernhard is a swan and Greg is a frog' then Gertrude is a cat. It is probable that if 'Bernhard is a swan and Daniel took the apple' then Jeff went to the bedroom. Chances are about even that if 'Greg is a frog' or 'Daniel took the apple' or both then Mary moved to the office.,It is probably not the case that either 'Jeff went to the bedroom' 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.0::factA. 0.5::factB. 0.7::factC. %hop1 0.0::factX:-and(factC,factA). 0.7::factY:-and(factC,factB). 0.5::factZ:-or(factA,factB). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.25499999999999995,0.6437287457491498,train,probably not,certain,It is probably not the case that either 'Jeff went to the bedroom' or 'Daniel took the apple' but not both.,It is certain that either 'Jeff went to the bedroom' or 'Daniel took the apple' but not both.,1,Either 'Jeff went to the bedroom' or 'Daniel took the apple' but not both. There is almost no chance that Lily is green. It is almost certain that Sandra left the football. It is almost certain that Daniel took the apple. We doubt that if 'Sandra left the football and Daniel took the apple' then John grabbed the apple. It is certain that if 'Daniel took the apple' or 'Sandra left the football' or both then Greg is white. There is a better than even chance that if 'Lily is green and Daniel took the apple' then Mary went to the hallway.,It is certain that 'Mary went to the hallway' or 'Greg 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.02::factA. 0.95::factB. 0.95::factC. %hop1 0.2::factX:-and(factB,factC). 1.0::factY:-or(factC,factB). 0.6::factZ:-and(factA,factC). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.9975,0.6451290258051611,train,certain,little chance,It is certain that 'Mary went to the hallway' or 'Greg is white' or both.,There is little chance that 'Mary went to the hallway' or 'Greg is white' or both.,1,'Mary went to the hallway' or 'Greg is white' or both. It is unlikely that Bernhard is green. It is probably the case that Sandra left the milk. It is probably not the case that Greg is a frog. It is probably the case that if 'Sandra left the milk' or 'Bernhard is green' or both then Brian is a swan. It is probable that if either 'Sandra left the milk' or 'Bernhard is green' but not both then Winona is a cat. It is certain that if 'Bernhard is green and Greg is a frog' then John moved to the garden.,It is probably not the case that either 'Bernhard is green' or 'Greg 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.7::factB. 0.25::factC. %hop1 0.7::factX:-or(factB,factA). 0.7::factY:-xor(factB,factA). 1.0::factZ:-and(factA,factC). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.35000000000000003,0.7985597119423885,train,probably not,likely,It is probably not the case that either 'Bernhard is green' or 'Greg is a frog' but not both.,It is likely that either 'Bernhard is green' or 'Greg is a frog' but not both.,1,Either 'Bernhard is green' or 'Greg is a frog' but not both. We doubt that Greg is a lion. Chances are about even that Emily is a wolf. It is probably the case that Mary went to the office. It is probably not the case that if 'Greg is a lion and Mary went to the office' then John moved to the office. It is certain that if either 'Greg is a lion' or 'Mary went to the office' but not both then Lily is yellow. There is a very good chance that if 'Emily is a wolf' or 'Greg is a lion' or both then Bernhard is a rhino.,We doubt 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.2::factA. 0.5::factB. 0.7::factC. %hop1 0.25::factX:-and(factA,factC). 1.0::factY:-xor(factA,factC). 0.8::factZ:-or(factB,factA). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.8280000000000001,0.6503300660132026,train,very good chance,we doubt,There is a very good chance that 'Bernhard is a rhino' or 'Lily is yellow' or both.,We doubt that 'Bernhard is a rhino' or 'Lily is yellow' or both.,0,'Bernhard is a rhino' or 'Lily is yellow' or both. It is highly unlikely that Julius is white. There is a better than even chance that John went to the kitchen. It is highly unlikely that Mary dropped the apple. Chances are slight that if either 'Mary dropped the apple' or 'John went to the kitchen' but not both then Emily is a sheep. It is almost certain that if 'Julius is white and Mary dropped the apple' then Greg is a frog. It is almost certain that if either 'Julius is white' or 'John went to the kitchen' but not both then Brian is green.,It is almost certain that either 'John went to the kitchen' 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.05::factA. 0.6::factB. 0.05::factC. %hop1 0.1::factX:-xor(factC,factB). 0.95::factY:-and(factA,factC). 0.95::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.545,0.13202640528105622,train,about even,almost certain,Chances are about even that either 'John went to the kitchen' or 'Emily is a sheep' but not both.,It is almost certain that either 'John went to the kitchen' or 'Emily is a sheep' but not both.,0,Either 'John went to the kitchen' or 'Emily is a sheep' but not both. It is almost certain that Lily is yellow. It is almost certain that Bill moved to the office. There is almost no chance that John went to the garden. It is highly unlikely that if 'John went to the garden and Lily is yellow' then Brian is a frog. Chances are slight that if 'John went to the garden' or 'Lily is yellow' or both then Jeff discarded the milk. It is probable that if either 'Lily is yellow' or 'John went to the garden' but not both then Julius is a rhino.,It is almost certain that 'Brian is a frog' or 'Bill 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.95::factA. 0.95::factB. 0.02::factC. %hop1 0.05::factX:-and(factC,factA). 0.1::factY:-or(factC,factA). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.9500474999999999,0.7995599119823965,train,almost certain,about even,It is almost certain that 'Brian is a frog' or 'Bill moved to the office' or both.,Chances are about even that 'Brian is a frog' or 'Bill moved to the office' or both.,1,'Brian is a frog' or 'Bill moved to the office' or both. It is highly unlikely that Mary went to the garden. We believe that Bernhard is a lion. There is a very good chance that Julius is a rhino. It is probable that if either 'Mary went to the garden' or 'Julius is a rhino' but not both then Daniel put down the milk. It is highly unlikely that if either 'Julius is a rhino' or 'Mary went to the garden' but not both then Jessica is a sheep. Chances are slight that if either 'Julius is a rhino' or 'Bernhard is a lion' but not both then Brian is a swan.,It is probably not the case that either 'Julius is a rhino' or 'Bernhard 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.05::factA. 0.75::factB. 0.8::factC. %hop1 0.7::factX:-xor(factA,factC). 0.05::factY:-xor(factC,factA). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.35000000000000003,0.7345469093818764,train,probably not,almost certain,It is probably not the case that either 'Julius is a rhino' or 'Bernhard is a lion' but not both.,It is almost certain that either 'Julius is a rhino' or 'Bernhard is a lion' but not both.,1,Either 'Julius is a rhino' or 'Bernhard is a lion' but not both. It is highly unlikely that John went to the office. We doubt that Brian is a frog. It is certain that Mary left the apple. It is probable that if either 'John went to the office' or 'Brian is a frog' but not both then Julius is a lion. It is highly likely that if 'Brian is a frog and John went to the office' then Greg is white. There is a very good chance that if 'John went to the office and Brian is a frog' then Bernhard is a swan.,It is improbable that 'Mary left the apple' 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.05::factA. 0.2::factB. 1.0::factC. %hop1 0.7::factX:-xor(factA,factB). 0.9::factY:-and(factB,factA). 0.8::factZ:-and(factA,factB). %hop2 conclusion:-or(factC,factX). query(conclusion). ",1.0,0.4368873774754951,train,certain,improbable,It is certain that 'Mary left the apple' or 'Julius is a lion' or both.,It is improbable that 'Mary left the apple' or 'Julius is a lion' or both.,0,'Mary left the apple' or 'Julius is a lion' or both. Chances are slight that Greg is gray. It is unlikely that Sumit is thirsty. It is highly likely that Lily is a rhino. It is unlikely that if 'Lily is a rhino' or 'Sumit is thirsty' or both then Brian is a swan. It is highly likely that if 'Sumit is thirsty and Greg is gray' then Sandra got the football. There is little chance that if either 'Sumit is thirsty' or 'Greg is gray' but not both then John picked up the apple.,It is probably the case that either 'John picked up the apple' or 'Greg 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.2::factB. 0.9::factC. %hop1 0.2::factX:-or(factC,factB). 0.9::factY:-and(factB,factA). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.11000000000000007,0.31826365273054613,train,chances are slight,probably,Chances are slight that either 'John picked up the apple' or 'Greg is gray' but not both.,It is probably the case that either 'John picked up the apple' or 'Greg is gray' but not both.,0,Either 'John picked up the apple' or 'Greg is gray' but not both. It is probably not the case that Jeff went to the garden. It is probably the case that Gertrude is a cat. There is little chance that Lily is yellow. It is highly unlikely that if either 'Lily is yellow' or 'Gertrude is a cat' but not both then Julius is white. It is highly unlikely that if 'Gertrude is a cat and Lily is yellow' then Fred dropped the milk. It is probably the case that if either 'Lily is yellow' or 'Gertrude is a cat' but not both then Brian is yellow.,It is probably not the case that either 'Julius is white' 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.25::factA. 0.7::factB. 0.1::factC. %hop1 0.05::factX:-xor(factC,factB). 0.05::factY:-and(factB,factC). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.26649999999999996,0.6825365073014603,train,probably not,almost certain,It is probably not the case that either 'Julius is white' or 'Jeff went to the garden' but not both.,It is almost certain that either 'Julius is white' or 'Jeff went to the garden' but not both.,1,Either 'Julius is white' or 'Jeff went to the garden' but not both. There is a very good chance that Brian is a rhino. There is a very good chance that Gertrude is a cat. It is certain that Jason is tired. We believe that if 'Gertrude is a cat and Brian is a rhino' then Bernhard is a swan. It is highly likely that if 'Brian is a rhino' or 'Gertrude is a cat' or both then Mary got the apple. It is likely that if 'Gertrude is a cat' or 'Brian is a rhino' or both then Lily is yellow.,It is certain that 'Gertrude is a cat' 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 0.8::factA. 0.8::factB. 1.0::factC. %hop1 0.75::factX:-and(factB,factA). 0.9::factY:-or(factA,factB). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-or(factB,factC). query(conclusion). ",1.0,0.47309461892378474,train,certain,highly unlikely,It is certain that 'Gertrude is a cat' or 'Jason is tired' or both.,It is highly unlikely that 'Gertrude is a cat' or 'Jason is tired' or both.,1,'Gertrude is a cat' or 'Jason is tired' or both. We believe that Gertrude is a cat. It is almost certain that Greg is a swan. It is probably not the case that Mary took the milk. It is likely that if 'Mary took the milk and Greg is a swan' then Jessica is a sheep. It is likely that if 'Mary took the milk' or 'Gertrude is a cat' or both then Lily is a lion. It is highly likely that if either 'Mary took the milk' or 'Greg is a swan' but not both then Emily is a sheep.,There is a better than even chance that either 'Gertrude is a cat' or 'Mary 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.75::factA. 0.95::factB. 0.25::factC. %hop1 0.7::factX:-and(factC,factB). 0.7::factY:-or(factC,factA). 0.9::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.625,0.380876175235047,train,better than even,highly unlikely,There is a better than even chance that either 'Gertrude is a cat' or 'Mary took the milk' but not both.,It is highly unlikely that either 'Gertrude is a cat' or 'Mary took the milk' but not both.,1,Either 'Gertrude is a cat' or 'Mary took the milk' but not both. It is highly likely that Lily is a frog. We doubt that Mary went to the garden. It is highly unlikely that Bill moved to the office. It is likely that if 'Lily is a frog and Mary went to the garden' then Brian is a swan. It is probable that if 'Lily is a frog' or 'Mary went to the garden' or both then Bernhard is green. Chances are about even that if 'Lily is a frog' or 'Bill moved to the office' or both then Sandra got the football.,It is probably not the case that either 'Lily is a frog' 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.9::factA. 0.2::factB. 0.05::factC. %hop1 0.7::factX:-and(factA,factB). 0.7::factY:-or(factA,factB). 0.5::factZ:-or(factA,factC). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.284,0.626125225045009,train,probably not,very good chance,It is probably not the case that either 'Lily is a frog' or 'Bernhard is green' but not both.,There is a very good chance that either 'Lily is a frog' or 'Bernhard is green' but not both.,1,Either 'Lily is a frog' or 'Bernhard is green' but not both. It is likely that Greg is a rhino. We doubt that Julius is gray. Chances are about even that Bill moved to the office. It is impossible that if either 'Julius is gray' or 'Greg is a rhino' but not both then Lily is green. It is highly likely that if 'Greg is a rhino' or 'Julius is gray' or both then Bernhard is yellow. It is unlikely that if either 'Bill moved to the office' or 'Julius is gray' but not both then Mary went to the bedroom.,It is impossible that either 'Julius is gray' 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.7::factA. 0.2::factB. 0.5::factC. %hop1 0.0::factX:-xor(factB,factA). 0.9::factY:-or(factA,factB). 0.2::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.524,0.3850770154030806,train,about even,impossible,Chances are about even that either 'Julius is gray' or 'Bernhard is yellow' but not both.,It is impossible that either 'Julius is gray' or 'Bernhard is yellow' but not both.,0,Either 'Julius is gray' or 'Bernhard is yellow' but not both. It is almost certain that Emily is a sheep. It is probably the case that Greg is green. It is impossible that Brian is a rhino. It is impossible that if 'Greg is green and Brian is a rhino' then Mary went to the kitchen. It is almost certain that if 'Greg is green' or 'Emily is a sheep' or both then Lily is a frog. It is certain that if 'Emily is a sheep and Brian is a rhino' then Bernhard is gray.,It is impossible that 'Bernhard is gray and Emily 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.95::factA. 0.7::factB. 0.0::factC. %hop1 0.0::factX:-and(factB,factC). 0.95::factY:-or(factB,factA). 1.0::factZ:-and(factA,factC). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.0,0.6721344268853771,train,impossible,probable,It is impossible that 'Bernhard is gray and Emily is a sheep'.,It is probable that 'Bernhard is gray and Emily is a sheep'.,1,'Bernhard is gray and Emily is a sheep'. It is unlikely that Brian is a swan. Chances are about even that Bernhard is white. We believe that Greg is white. Chances are about even that if 'Brian is a swan' or 'Greg is white' or both then Julius is yellow. It is unlikely that if either 'Bernhard is white' or 'Brian is a swan' but not both then Winona is a mouse. It is impossible that if 'Greg is white and Brian is a swan' then Jeff dropped the apple.,It is certain 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.5::factB. 0.75::factC. %hop1 0.5::factX:-or(factA,factC). 0.2::factY:-xor(factB,factA). 0.0::factZ:-and(factC,factA). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.375,0.003800760152030406,train,about even,certain,Chances are about even that 'Greg is white and Bernhard is white'.,It is certain that 'Greg is white and Bernhard is white'.,0,'Greg is white and Bernhard is white'. It is probably the case that Mary went to the hallway. There is almost no chance that Sandra left the milk. It is highly likely that Greg is a lion. It is highly likely that if 'Greg is a lion' or 'Mary went to the hallway' or both then Lily is yellow. There is almost no chance that if 'Greg is a lion and Mary went to the hallway' then Julius is a swan. We doubt that if 'Sandra left the milk and Greg is a lion' then John took the apple.,It is impossible that 'John took the apple 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.02::factB. 0.9::factC. %hop1 0.9::factX:-or(factC,factA). 0.02::factY:-and(factC,factA). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.0025199999999999997,0.26685337067413484,train,impossible,very good chance,It is impossible that 'John took the apple and Mary went to the hallway'.,There is a very good chance that 'John took the apple and Mary went to the hallway'.,1,'John took the apple and Mary went to the hallway'. There is a better than even chance that John got the apple. It is likely that Lily is a frog. There is a very good chance that Mary discarded the milk. There is almost no chance that if 'John got the apple and Lily is a frog' then Greg is a swan. There is a better than even chance that if 'Lily is a frog' or 'Mary discarded the milk' or both then Jeff moved to the office. We doubt that if either 'Lily is a frog' or 'John got the apple' but not both then Brian is gray.,It is almost certain that 'John got the apple and Jeff 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.6::factA. 0.7::factB. 0.8::factC. %hop1 0.02::factX:-and(factA,factB). 0.6::factY:-or(factB,factC). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.3384,0.533506701340268,train,probably not,almost certain,It is probably not the case that 'John got the apple and Jeff moved to the office'.,It is almost certain that 'John got the apple and Jeff moved to the office'.,0,'John got the apple and Jeff moved to the office'. It is probable that Bernhard is a swan. It is probably not the case that Lily is a swan. It is probably not the case that Mary moved to the office. Chances are about even that if 'Lily is a swan and Mary moved to the office' then Greg is yellow. We doubt that if 'Bernhard is a swan' or 'Lily is a swan' or both then Brian is a frog. There is little chance that if 'Mary moved to the office and Bernhard is a swan' then Sandra dropped the apple.,It is probably the case that 'Sandra dropped the apple 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.7::factA. 0.25::factB. 0.25::factC. %hop1 0.5::factX:-and(factB,factC). 0.2::factY:-or(factA,factB). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.01750000000000001,0.6767353470694139,train,almost no chance,probably,There is almost no chance that 'Sandra dropped the apple and Mary moved to the office'.,It is probably the case that 'Sandra dropped the apple and Mary moved to the office'.,0,'Sandra dropped the apple and Mary moved to the office'. Chances are slight that Brian is yellow. It is improbable that Mary moved to the garden. We believe that Fred discarded the apple. It is likely that if 'Mary moved to the garden and Brian is yellow' then Winona is a wolf. There is a very good chance that if 'Brian is yellow' or 'Mary moved to the garden' or both then Julius is a lion. It is probably the case that if either 'Brian is yellow' or 'Fred discarded the apple' but not both then Lily is green.,Chances are about even that either 'Lily is green' 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.1::factA. 0.1::factB. 0.75::factC. %hop1 0.7::factX:-and(factB,factA). 0.8::factY:-or(factA,factB). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.5384,0.029405881176235247,train,about even,impossible,Chances are about even that either 'Lily is green' or 'Julius is a lion' but not both.,It is impossible that either 'Lily is green' or 'Julius is a lion' but not both.,1,Either 'Lily is green' or 'Julius is a lion' but not both. It is unlikely that Julius is a frog. It is probable that Daniel took the apple. It is probable that John moved to the garden. It is likely that if either 'John moved to the garden' or 'Julius is a frog' but not both then Lily is a swan. It is impossible that if 'Daniel took the apple' or 'John moved to the garden' or both then Bernhard is a lion. It is almost certain that if 'Daniel took the apple' or 'John moved to the garden' or both then Mary left the milk.,It is highly likely that 'Julius 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.2::factA. 0.7::factB. 0.7::factC. %hop1 0.7::factX:-xor(factC,factA). 0.0::factY:-or(factB,factC). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.8916,0.42468493698739745,train,highly likely,impossible,It is highly likely that 'Julius is a frog' or 'Mary left the milk' or both.,It is impossible that 'Julius is a frog' or 'Mary left the milk' or both.,1,'Julius is a frog' or 'Mary left the milk' or both. It is highly likely that Jeff moved to the office. Chances are slight that Julius is gray. It is certain that Mary went to the kitchen. It is almost certain that if 'Jeff moved to the office and Mary went to the kitchen' then Daniel left the football. There is little chance that if either 'Julius is gray' or 'Mary went to the kitchen' but not both then Greg is a swan. We doubt that if 'Julius is gray and Jeff moved to the office' then Lily is a lion.,There is almost no chance that 'Lily is a lion and Mary 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.9::factA. 0.1::factB. 1.0::factC. %hop1 0.95::factX:-and(factA,factC). 0.1::factY:-xor(factB,factC). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.018000000000000002,0.02960592118423685,train,almost no chance,certain,There is almost no chance that 'Lily is a lion and Mary went to the kitchen'.,It is certain that 'Lily is a lion and Mary went to the kitchen'.,1,'Lily is a lion and Mary went to the kitchen'. It is highly unlikely that Bernhard is yellow. There is almost no chance that Winona is a sheep. There is little chance that John discarded the apple. It is likely that if 'Bernhard is yellow' or 'Winona is a sheep' or both then Jeff left the football. There is a very good chance that if 'Bernhard is yellow' or 'John discarded the apple' or both then Brian is a frog. There is almost no chance that if 'Bernhard is yellow' or 'Winona is a sheep' or both then Mary got the football.,It is highly unlikely that either 'Winona is a sheep' 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.05::factA. 0.02::factB. 0.1::factC. %hop1 0.7::factX:-or(factA,factB). 0.8::factY:-or(factA,factC). 0.02::factZ:-or(factA,factB). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.068,0.34686937387477496,train,highly unlikely,likely,It is highly unlikely that either 'Winona is a sheep' or 'Bernhard is yellow' but not both.,It is likely that either 'Winona is a sheep' or 'Bernhard is yellow' but not both.,1,Either 'Winona is a sheep' or 'Bernhard is yellow' but not both. It is improbable that Bernhard is green. It is highly likely that Sandra left the football. It is probably not the case that John dropped the apple. It is highly unlikely that if either 'Bernhard is green' or 'John dropped the apple' but not both then Julius is a swan. Chances are about even that if 'Bernhard is green' or 'Sandra left the football' or both then Mary got the milk. It is highly likely that if 'Bernhard is green' or 'Sandra left the football' or both then Lily is white.,It is impossible that either 'John dropped the apple' or 'Sandra 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.1::factA. 0.9::factB. 0.25::factC. %hop1 0.05::factX:-xor(factA,factC). 0.5::factY:-or(factA,factB). 0.9::factZ:-or(factA,factB). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.7000000000000001,0.4432886577315463,train,probable,impossible,It is probable that either 'John dropped the apple' or 'Sandra left the football' but not both.,It is impossible that either 'John dropped the apple' or 'Sandra left the football' but not both.,0,Either 'John dropped the apple' or 'Sandra left the football' but not both. It is almost certain that Bernhard is a lion. It is probably the case that Lily is gray. It is impossible that Julius is a swan. There is little chance that if 'Bernhard is a lion and Julius is a swan' then Greg is white. There is a better than even chance that if 'Lily is gray' or 'Bernhard is a lion' or both then John took the football. It is certain that if 'Lily is gray and Julius is a swan' then Bill went to the office.,There is a very good chance that 'Julius is a swan 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.95::factA. 0.7::factB. 0.0::factC. %hop1 0.1::factX:-and(factA,factC). 0.6::factY:-or(factB,factA). 1.0::factZ:-and(factB,factC). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.0,0.4962992598519704,train,impossible,very good chance,It is impossible that 'Julius is a swan and Greg is white'.,There is a very good chance that 'Julius is a swan and Greg is white'.,0,'Julius is a swan and Greg is white'. We believe that Fred moved to the office. It is impossible that Brian is a swan. It is likely that Sandra is in the kitchen. We doubt that if 'Fred moved to the office' or 'Brian is a swan' or both then Gertrude is a sheep. It is likely that if either 'Fred moved to the office' or 'Brian is a swan' but not both then Bernhard is a rhino. Chances are about even that if 'Sandra is in the kitchen and Fred moved to the office' then Lily is yellow.,There is almost no chance that 'Bernhard is a rhino' 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.75::factA. 0.0::factB. 0.7::factC. %hop1 0.2::factX:-or(factA,factB). 0.7::factY:-xor(factA,factB). 0.5::factZ:-and(factC,factA). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.525,0.4908981796359272,train,about even,almost no chance,Chances are about even that 'Bernhard is a rhino' or 'Brian is a swan' or both.,There is almost no chance that 'Bernhard is a rhino' or 'Brian is a swan' or both.,0,'Bernhard is a rhino' or 'Brian is a swan' or both. There is a better than even chance that Brian is yellow. We believe that Sandra got the milk. It is almost certain that Lily is a frog. We believe that if either 'Sandra got the milk' or 'Brian is yellow' but not both then Jason is tired. It is highly likely that if 'Lily is a frog and Sandra got the milk' then Julius is a swan. It is almost certain that if 'Sandra got the milk' or 'Lily is a frog' or both then Mary went to the garden.,It is probably not the case that 'Lily is a frog 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.75::factB. 0.95::factC. %hop1 0.75::factX:-xor(factB,factA). 0.9::factY:-and(factC,factB). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.320625,0.09881976395279056,train,probably not,certain,It is probably not the case that 'Lily is a frog and Jason is tired'.,It is certain that 'Lily is a frog and Jason is tired'.,1,'Lily is a frog and Jason is tired'. It is almost certain that Julius is a swan. It is highly unlikely that Mary went to the hallway. There is a better than even chance that John picked up the milk. It is likely that if 'Mary went to the hallway and Julius is a swan' then Sandra left the football. We believe that if 'Mary went to the hallway and John picked up the milk' then Brian is white. It is almost certain that if 'Julius is a swan' or 'John picked up the milk' or both then Lily is a rhino.,Chances are about even that 'Mary went to the hallway' or 'Sandra 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.05::factB. 0.6::factC. %hop1 0.7::factX:-and(factB,factA). 0.75::factY:-and(factB,factC). 0.95::factZ:-or(factA,factC). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.05000000000000001,0.11522304460892178,train,highly unlikely,about even,It is highly unlikely that 'Mary went to the hallway' or 'Sandra left the football' or both.,Chances are about even that 'Mary went to the hallway' or 'Sandra left the football' or both.,0,'Mary went to the hallway' or 'Sandra left the football' or both. Chances are slight that Lily is a frog. There is little chance that Bernhard is white. It is unlikely that Emily is a cat. It is unlikely that if 'Emily is a cat' or 'Bernhard is white' or both then Mary got the milk. It is probably not the case that if 'Bernhard is white' or 'Lily is a frog' or both then Julius is yellow. It is highly unlikely that if 'Lily is a frog' or 'Bernhard is white' or both then John went to the bedroom.,It is impossible that 'John went to the bedroom and Mary 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.1::factB. 0.2::factC. %hop1 0.2::factX:-or(factC,factB). 0.25::factY:-or(factB,factA). 0.05::factZ:-or(factA,factB). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.0011800000000000011,0.6319263852770554,train,impossible,better than even,It is impossible that 'John went to the bedroom and Mary got the milk'.,There is a better than even chance that 'John went to the bedroom and Mary got the milk'.,1,'John went to the bedroom and Mary got the milk'. There is almost no chance that Mary went to the office. It is impossible that John moved to the garden. It is probable that Brian is a lion. There is little chance that if 'Brian is a lion and Mary went to the office' then Winona is a sheep. It is highly unlikely that if 'Brian is a lion and Mary went to the office' then Daniel took the milk. There is a better than even chance that if either 'John moved to the garden' or 'Brian is a lion' but not both then Julius is a swan.,It is likely that 'Brian is a lion' 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.02::factA. 0.0::factB. 0.7::factC. %hop1 0.1::factX:-and(factC,factA). 0.05::factY:-and(factC,factA). 0.6::factZ:-xor(factB,factC). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.7,0.1956391278255651,train,likely,probably not,It is likely that 'Brian is a lion' or 'Winona is a sheep' or both.,It is probably not the case that 'Brian is a lion' or 'Winona is a sheep' or both.,1,'Brian is a lion' or 'Winona is a sheep' or both. There is little chance that John picked up the milk. We believe that Mary moved to the garden. Chances are about even that Bernhard is yellow. It is impossible that if 'Mary moved to the garden' or 'John picked up the milk' or both then Gertrude is a sheep. Chances are slight that if 'John picked up the milk' or 'Mary moved to the garden' or both then Julius is a swan. It is almost certain that if either 'John picked up the milk' or 'Bernhard is yellow' but not both then Greg is green.,There is almost no chance that 'Julius is a swan 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.1::factA. 0.75::factB. 0.5::factC. %hop1 0.0::factX:-or(factB,factA). 0.1::factY:-or(factA,factB). 0.95::factZ:-xor(factA,factC). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.010000000000000004,0.2518503700740148,train,almost no chance,certain,There is almost no chance that 'Julius is a swan and John picked up the milk'.,It is certain that 'Julius is a swan and John picked up the milk'.,1,'Julius is a swan and John picked up the milk'. It is impossible that Emily is a mouse. Chances are about even that Bernhard is yellow. We doubt that Brian is a frog. It is probably the case that if either 'Bernhard is yellow' or 'Brian is a frog' but not both then Julius is a rhino. We doubt that if 'Bernhard is yellow' or 'Emily is a mouse' or both then Daniel left the apple. It is unlikely that if 'Emily is a mouse' or 'Bernhard is yellow' or both then Mary went to the kitchen.,There is almost no chance that 'Daniel left the apple and Mary 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.0::factA. 0.5::factB. 0.2::factC. %hop1 0.7::factX:-xor(factB,factC). 0.2::factY:-or(factB,factA). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.02,0.6543308661732347,train,almost no chance,probable,There is almost no chance that 'Daniel left the apple and Mary went to the kitchen'.,It is probable that 'Daniel left the apple and Mary went to the kitchen'.,1,'Daniel left the apple and Mary went to the kitchen'. There is a better than even chance that Jason is tired. It is highly unlikely that John went to the garden. It is almost certain that Lily is gray. It is probably not the case that if 'Lily is gray and Jason is tired' then Daniel dropped the apple. It is almost certain that if 'John went to the garden and Lily is gray' then Greg is a swan. It is probably the case that if 'John went to the garden and Lily is gray' then Bernhard is white.,It is probable that 'Daniel dropped the apple 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.6::factA. 0.05::factB. 0.95::factC. %hop1 0.25::factX:-and(factC,factA). 0.95::factY:-and(factB,factC). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.1425,0.5917183436687338,train,chances are slight,probable,Chances are slight that 'Daniel dropped the apple and Lily is gray'.,It is probable that 'Daniel dropped the apple and Lily is gray'.,0,'Daniel dropped the apple and Lily is gray'. It is almost certain that John put down the milk. It is probably the case that Bernhard is a frog. It is unlikely that Jeff went to the garden. It is probable that if 'John put down the milk' or 'Bernhard is a frog' or both then Brian is yellow. It is probably not the case that if either 'Bernhard is a frog' or 'John put down the milk' but not both then Greg is white. It is probable that if 'John put down the milk' or 'Jeff went to the garden' or both then Julius is a rhino.,It is impossible that 'Brian is yellow 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.95::factA. 0.7::factB. 0.2::factC. %hop1 0.7::factX:-or(factA,factB). 0.25::factY:-xor(factB,factA). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.46892999999999996,0.3594718943788758,train,about even,impossible,Chances are about even that 'Brian is yellow and Julius is a rhino'.,It is impossible that 'Brian is yellow and Julius is a rhino'.,0,'Brian is yellow and Julius is a rhino'. It is highly unlikely that Lily is a swan. It is certain that Brian is yellow. We doubt that Daniel left the apple. There is a better than even chance that if 'Lily is a swan and Brian is yellow' then Mary grabbed the milk. There is a better than even chance that if either 'Lily is a swan' or 'Brian is yellow' but not both then Winona is a mouse. It is likely that if 'Brian is yellow and Daniel left the apple' then John went to the office.,It is highly unlikely that either 'Daniel left the apple' 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.05::factA. 1.0::factB. 0.2::factC. %hop1 0.6::factX:-and(factA,factB). 0.6::factY:-xor(factA,factB). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.06,0.3262652530506101,train,highly unlikely,better than even,It is highly unlikely that either 'Daniel left the apple' or 'John went to the office' but not both.,There is a better than even chance that either 'Daniel left the apple' or 'John went to the office' but not both.,1,Either 'Daniel left the apple' or 'John went to the office' but not both. There is a very good chance that Mary went to the garden. There is a better than even chance that John took the football. It is almost certain that Brian is yellow. It is improbable that if 'Brian is yellow' or 'Mary went to the garden' or both then Greg is white. It is highly likely that if 'Mary went to the garden' or 'Brian is yellow' or both then Winona is a mouse. There is a very good chance that if 'Mary went to the garden and Brian is yellow' then Bernhard is green.,It is improbable that 'Bernhard 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.8::factA. 0.6::factB. 0.95::factC. %hop1 0.1::factX:-or(factC,factA). 0.9::factY:-or(factA,factC). 0.8::factZ:-and(factA,factC). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.9518,0.6491298259651931,train,almost certain,improbable,It is almost certain that 'Bernhard is green' or 'Winona is a mouse' or both.,It is improbable that 'Bernhard is green' or 'Winona is a mouse' or both.,0,'Bernhard is green' or 'Winona is a mouse' or both. It is probably the case that Greg is gray. It is certain that Jason is tired. It is unlikely that Winona is a wolf. There is a very good chance that if either 'Jason is tired' or 'Winona is a wolf' but not both then Julius is a swan. It is likely that if 'Winona is a wolf' or 'Greg is gray' or both then John went to the office. It is almost certain that if either 'Winona is a wolf' or 'Jason is tired' but not both then Lily is a rhino.,Chances are about even that 'Lily is a rhino and Greg 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.7::factA. 1.0::factB. 0.2::factC. %hop1 0.8::factX:-xor(factB,factC). 0.7::factY:-or(factC,factA). 0.95::factZ:-xor(factC,factB). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.5319999999999999,0.32306461292258454,train,about even,highly unlikely,Chances are about even that 'Lily is a rhino and Greg is gray'.,It is highly unlikely that 'Lily is a rhino and Greg is gray'.,1,'Lily is a rhino and Greg is gray'. Chances are about even that Greg is a swan. It is certain that Brian is gray. There is almost no chance that Bernhard is green. It is highly likely that if 'Bernhard is green and Brian is gray' then Jessica is a cat. There is a very good chance that if either 'Brian is gray' or 'Bernhard is green' but not both then Sandra left the milk. Chances are slight that if 'Bernhard is green' or 'Brian is gray' or both then John picked up the apple.,There is almost no chance that either 'Jessica is a cat' 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.5::factA. 1.0::factB. 0.02::factC. %hop1 0.9::factX:-and(factC,factB). 0.8::factY:-xor(factB,factC). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.5,0.20404080816163234,train,about even,almost no chance,Chances are about even that either 'Jessica is a cat' or 'Greg is a swan' but not both.,There is almost no chance that either 'Jessica is a cat' or 'Greg is a swan' but not both.,0,Either 'Jessica is a cat' or 'Greg is a swan' but not both. It is impossible that Gertrude is a sheep. It is unlikely that Bernhard is green. It is likely that Mary went to the hallway. Chances are about even that if 'Mary went to the hallway and Bernhard is green' then Julius is gray. There is almost no chance that if 'Gertrude is a sheep' or 'Mary went to the hallway' or both then Sandra dropped the milk. It is certain that if 'Gertrude is a sheep' or 'Mary went to the hallway' or both then Brian is a swan.,It is likely that 'Gertrude is a sheep' or 'Mary 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.0::factA. 0.2::factB. 0.7::factC. %hop1 0.5::factX:-and(factC,factB). 0.02::factY:-or(factA,factC). 1.0::factZ:-or(factA,factC). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.7,0.13402680536107223,train,likely,we doubt,It is likely that 'Gertrude is a sheep' or 'Mary went to the hallway' or both.,We doubt that 'Gertrude is a sheep' or 'Mary went to the hallway' or both.,1,'Gertrude is a sheep' or 'Mary went to the hallway' or both. It is unlikely that Lily is green. It is certain that Greg is a swan. It is probably not the case that Jessica is a sheep. It is almost certain that if 'Lily is green' or 'Greg is a swan' or both then Emily is a cat. There is little chance that if either 'Jessica is a sheep' or 'Greg is a swan' but not both then Mary went to the kitchen. There is a very good chance that if 'Jessica is a sheep and Lily is green' then John moved to the office.,We doubt that either 'John moved to the office' 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. 1.0::factB. 0.25::factC. %hop1 0.95::factX:-or(factA,factB). 0.1::factY:-xor(factC,factB). 0.8::factZ:-and(factC,factA). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.9600000000000001,0.34206841368273655,train,almost certain,we doubt,It is almost certain that either 'John moved to the office' or 'Greg is a swan' but not both.,We doubt that either 'John moved to the office' or 'Greg is a swan' but not both.,0,Either 'John moved to the office' or 'Greg is a swan' but not both. It is unlikely that Sandra dropped the milk. There is little chance that Julius is a frog. It is impossible that Lily is a rhino. There is almost no chance that if 'Sandra dropped the milk and Julius is a frog' then Brian is green. It is probably not the case that if either 'Sandra dropped the milk' or 'Julius is a frog' but not both then John discarded the apple. It is highly likely that if 'Julius is a frog' or 'Lily is a rhino' or both then Winona is a sheep.,It is improbable that either 'John discarded the apple' 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.2::factA. 0.1::factB. 0.0::factC. %hop1 0.02::factX:-and(factA,factB). 0.25::factY:-xor(factA,factB). 0.9::factZ:-or(factB,factC). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.12500000000000003,0.27565513102620526,train,improbable,better than even,It is improbable that either 'John discarded the apple' or 'Julius is a frog' but not both.,There is a better than even chance that either 'John discarded the apple' or 'Julius is a frog' but not both.,1,Either 'John discarded the apple' or 'Julius is a frog' but not both. It is likely that Bernhard is gray. We doubt that Sandra dropped the milk. It is probably not the case that John discarded the apple. It is probable that if either 'Sandra dropped the milk' or 'Bernhard is gray' but not both then Mary went to the garden. Chances are about even that if either 'John discarded the apple' or 'Sandra dropped the milk' but not both then Greg is a rhino. It is unlikely that if either 'Sandra dropped the milk' or 'Bernhard is gray' but not both then Julius is white.,It is impossible that 'Bernhard is gray and Mary 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.7::factA. 0.2::factB. 0.25::factC. %hop1 0.7::factX:-xor(factB,factA). 0.5::factY:-xor(factC,factB). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.39199999999999996,0.29065813162632526,train,about even,impossible,Chances are about even that 'Bernhard is gray and Mary went to the garden'.,It is impossible that 'Bernhard is gray and Mary went to the garden'.,0,'Bernhard is gray and Mary went to the garden'. Chances are about even that Greg is a rhino. It is almost certain that Daniel took the apple. It is probable that Bernhard is a frog. It is improbable that if either 'Bernhard is a frog' or 'Daniel took the apple' but not both then John moved to the garden. There is little chance that if 'Bernhard is a frog and Daniel took the apple' then Mary went to the office. It is highly unlikely that if either 'Bernhard is a frog' or 'Daniel took the apple' but not both then Fred left the football.,It is probably the case that 'Bernhard is a frog 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.5::factA. 0.95::factB. 0.7::factC. %hop1 0.1::factX:-xor(factC,factB). 0.1::factY:-and(factC,factB). 0.05::factZ:-xor(factC,factB). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.3499999999999999,0.47609521904380875,train,probably not,probably,It is probably not the case that 'Bernhard is a frog and Greg is a rhino'.,It is probably the case that 'Bernhard is a frog and Greg is a rhino'.,0,'Bernhard is a frog and Greg is a rhino'. It is certain that John moved to the garden. It is probable that Mary dropped the milk. There is a better than even chance that Fred left the football. It is probably the case that if either 'Mary dropped the milk' or 'Fred left the football' but not both then Sandra grabbed the apple. There is almost no chance that if 'Mary dropped the milk and Fred left the football' then Jeff went to the hallway. It is probably not the case that if 'Mary dropped the milk' or 'Fred left the football' or both then Jessica is a cat.,It is probably not the case that either 'John moved to the garden' or 'Jeff went to the hallway' 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.6::factC. %hop1 0.7::factX:-xor(factB,factC). 0.02::factY:-and(factB,factC). 0.25::factZ:-or(factB,factC). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.9915999999999999,0.11922384476895379,train,certain,probably not,It is certain that either 'John moved to the garden' or 'Jeff went to the hallway' but not both.,It is probably not the case that either 'John moved to the garden' or 'Jeff went to the hallway' but not both.,0,Either 'John moved to the garden' or 'Jeff went to the hallway' but not both. There is a very good chance that Mary took the football. It is certain that Daniel put down the milk. It is unlikely that John went to the garden. It is certain that if 'Daniel put down the milk and John went to the garden' then Brian is gray. It is probably the case that if 'John went to the garden and Mary took the football' then Greg is green. Chances are about even that if 'John went to the garden' or 'Daniel put down the milk' or both then Lily is a lion.,Chances are slight that 'Lily is a lion 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.8::factA. 1.0::factB. 0.2::factC. %hop1 1.0::factX:-and(factB,factC). 0.7::factY:-and(factC,factA). 0.5::factZ:-or(factC,factB). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.10000000000000002,0.5655131026205241,train,chances are slight,very good chance,Chances are slight that 'Lily is a lion and John went to the garden'.,There is a very good chance that 'Lily is a lion and John went to the garden'.,1,'Lily is a lion and John went to the garden'. It is probable that Bernhard is a swan. It is probably the case that Lily is a frog. It is highly likely that John went to the garden. It is almost certain that if 'John went to the garden and Lily is a frog' then Jeff discarded the milk. It is certain that if 'Bernhard is a swan' or 'Lily is a frog' or both then Brian is white. It is unlikely that if 'John went to the garden' or 'Lily is a frog' or both then Julius is gray.,It is highly unlikely that 'Julius is gray' 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.7::factA. 0.7::factB. 0.9::factC. %hop1 0.95::factX:-and(factC,factB). 1.0::factY:-or(factA,factB). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.754,0.582116423284657,train,we believe,highly unlikely,We believe that 'Julius is gray' or 'Lily is a frog' or both.,It is highly unlikely that 'Julius is gray' or 'Lily is a frog' or both.,0,'Julius is gray' or 'Lily is a frog' or both. Chances are slight that John went to the bedroom. It is probably not the case that Brian is green. It is impossible that Bernhard is a frog. It is probably not the case that if 'John went to the bedroom and Brian is green' then Sandra got the milk. There is a better than even chance that if either 'Bernhard is a frog' or 'John went to the bedroom' but not both then Lily is a rhino. It is almost certain that if 'Brian is green and John went to the bedroom' then Mary dropped the milk.,It is highly likely that either 'Bernhard is a frog' or 'Mary 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.25::factB. 0.0::factC. %hop1 0.25::factX:-and(factA,factB). 0.6::factY:-xor(factC,factA). 0.95::factZ:-and(factB,factA). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.02375000000000001,0.389877975595119,train,almost no chance,highly likely,There is almost no chance that either 'Bernhard is a frog' or 'Mary dropped the milk' but not both.,It is highly likely that either 'Bernhard is a frog' or 'Mary dropped the milk' but not both.,0,Either 'Bernhard is a frog' or 'Mary dropped the milk' but not both. It is unlikely that Bill went to the kitchen. Chances are slight that Julius is gray. It is certain that Gertrude is a sheep. It is likely that if either 'Gertrude is a sheep' or 'Julius is gray' but not both then Greg is gray. It is impossible that if either 'Gertrude is a sheep' or 'Bill went to the kitchen' but not both then Brian is a lion. It is almost certain that if 'Bill went to the kitchen and Gertrude is a sheep' then Mary grabbed the milk.,We believe that either 'Brian is a lion' or 'Bill went to the kitchen' 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. 1.0::factC. %hop1 0.7::factX:-xor(factC,factB). 0.0::factY:-xor(factC,factA). 0.95::factZ:-and(factA,factC). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.2,0.35067013402680536,train,we doubt,we believe,We doubt that either 'Brian is a lion' or 'Bill went to the kitchen' but not both.,We believe that either 'Brian is a lion' or 'Bill went to the kitchen' but not both.,0,Either 'Brian is a lion' or 'Bill went to the kitchen' but not both. There is almost no chance that Sandra dropped the milk. It is highly unlikely that Greg is a rhino. We doubt that John took the apple. We doubt that if either 'John took the apple' or 'Greg is a rhino' but not both then Mary left the football. It is unlikely that if 'John took the apple and Sandra dropped the milk' then Yann is tired. It is improbable that if 'John took the apple and Sandra dropped the milk' then Gertrude is a cat.,It is almost certain that either 'Sandra dropped the milk' 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.02::factA. 0.05::factB. 0.2::factC. %hop1 0.2::factX:-xor(factC,factB). 0.2::factY:-and(factC,factA). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.06416000000000002,0.29465893178635727,train,highly unlikely,almost certain,It is highly unlikely that either 'Sandra dropped the milk' or 'Mary left the football' but not both.,It is almost certain that either 'Sandra dropped the milk' or 'Mary left the football' but not both.,0,Either 'Sandra dropped the milk' or 'Mary left the football' but not both. Chances are slight that Daniel dropped the apple. It is improbable that Mary left the football. We believe that Brian is a swan. There is a better than even chance that if 'Mary left the football and Brian is a swan' then Julius is a lion. It is certain that if either 'Daniel dropped the apple' or 'Brian is a swan' but not both then Bernhard is green. It is likely that if either 'Brian is a swan' or 'Mary left the football' but not both then John got the milk.,There is a very good chance that either 'Brian is a swan' or 'John 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.1::factA. 0.1::factB. 0.75::factC. %hop1 0.6::factX:-and(factB,factC). 1.0::factY:-xor(factA,factC). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.29500000000000004,0.15783156631326264,train,probably not,very good chance,It is probably not the case that either 'Brian is a swan' or 'John got the milk' but not both.,There is a very good chance that either 'Brian is a swan' or 'John got the milk' but not both.,0,Either 'Brian is a swan' or 'John got the milk' but not both. We believe that Sandra dropped the milk. It is highly likely that Brian is a lion. Chances are about even that Bernhard is yellow. It is certain that if 'Brian is a lion' or 'Bernhard is yellow' or both then Greg is a swan. It is impossible that if 'Bernhard is yellow' or 'Sandra dropped the milk' or both then Winona is a sheep. Chances are slight that if 'Brian is a lion' or 'Sandra dropped the milk' or both then Julius is a frog.,It is certain that 'Bernhard is yellow 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.75::factA. 0.9::factB. 0.5::factC. %hop1 1.0::factX:-or(factB,factC). 0.0::factY:-or(factC,factA). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.0,0.7671534306861373,train,impossible,certain,It is impossible that 'Bernhard is yellow and Winona is a sheep'.,It is certain that 'Bernhard is yellow and Winona is a sheep'.,0,'Bernhard is yellow and Winona is a sheep'. It is certain that Bernhard is a rhino. It is probably the case that Julius is yellow. It is probable that John went to the bedroom. It is certain that if 'John went to the bedroom' or 'Julius is yellow' or both then Brian is a frog. It is impossible that if either 'John went to the bedroom' or 'Bernhard is a rhino' but not both then Greg is gray. There is a better than even chance that if either 'Bernhard is a rhino' or 'Julius is yellow' but not both then Mary left the football.,It is unlikely that either 'Brian is a frog' 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 1.0::factA. 0.7::factB. 0.7::factC. %hop1 1.0::factX:-or(factC,factB). 0.0::factY:-xor(factC,factA). 0.6::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.838,0.7495499099819964,train,very good chance,unlikely,There is a very good chance that either 'Brian is a frog' or 'Mary left the football' but not both.,It is unlikely that either 'Brian is a frog' or 'Mary left the football' but not both.,0,Either 'Brian is a frog' or 'Mary left the football' but not both. It is probably the case that Lily is a rhino. It is highly likely that John dropped the apple. There is a very good chance that Brian is green. It is probably not the case that if either 'Brian is green' or 'Lily is a rhino' but not both then Mary went to the bedroom. It is probable that if either 'Brian is green' or 'John dropped the apple' but not both then Bernhard is yellow. It is almost certain that if either 'Brian is green' or 'John dropped the apple' but not both then Sandra left the milk.,It is highly likely that either 'Bernhard is yellow' 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.9::factB. 0.8::factC. %hop1 0.25::factX:-xor(factC,factA). 0.7::factY:-xor(factC,factB). 0.95::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.87,0.28185637127425484,train,highly likely,improbable,It is highly likely that either 'Bernhard is yellow' or 'Brian is green' but not both.,It is improbable that either 'Bernhard is yellow' or 'Brian is green' but not both.,1,Either 'Bernhard is yellow' or 'Brian is green' but not both. There is little chance that John picked up the apple. It is probably not the case that Bernhard is green. Chances are slight that Greg is yellow. It is highly unlikely that if 'John picked up the apple and Greg is yellow' then Mary dropped the milk. We doubt that if either 'John picked up the apple' or 'Bernhard is green' but not both then Lily is a rhino. It is unlikely that if 'Bernhard is green and Greg is yellow' then Julius is a lion.,It is almost certain that 'Greg is yellow 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.1::factA. 0.25::factB. 0.1::factC. %hop1 0.05::factX:-and(factA,factC). 0.2::factY:-xor(factA,factB). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.010000000000000004,0.20384076815363072,train,almost no chance,almost certain,There is almost no chance that 'Greg is yellow and John picked up the apple'.,It is almost certain that 'Greg is yellow and John picked up the apple'.,0,'Greg is yellow and John picked up the apple'. It is certain that Greg is yellow. There is little chance that Jessica is a sheep. There is a very good chance that John took the football. It is improbable that if either 'Jessica is a sheep' or 'John took the football' but not both then Bernhard is a rhino. It is probably not the case that if either 'John took the football' or 'Jessica is a sheep' but not both then Brian is a frog. It is probably the case that if 'John took the football and Greg is yellow' then Julius is a swan.,It is certain that 'Brian is a frog and Jessica 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 1.0::factA. 0.1::factB. 0.8::factC. %hop1 0.1::factX:-xor(factB,factC). 0.25::factY:-xor(factC,factB). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.0049999999999999975,0.03220644128825765,train,impossible,certain,It is impossible that 'Brian is a frog and Jessica is a sheep'.,It is certain that 'Brian is a frog and Jessica is a sheep'.,0,'Brian is a frog and Jessica is a sheep'. It is almost certain that John moved to the garden. There is a better than even chance that Bill went to the office. There is almost no chance that Emily is a wolf. There is almost no chance that if either 'Emily is a wolf' or 'John moved to the garden' but not both then Winona is a mouse. Chances are slight that if 'John moved to the garden and Emily is a wolf' then Greg is yellow. It is probable that if either 'Bill went to the office' or 'John moved to the garden' but not both then Julius is a swan.,It is improbable that either 'Bill went 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.95::factA. 0.6::factB. 0.02::factC. %hop1 0.02::factX:-xor(factC,factA). 0.1::factY:-and(factA,factC). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.845,0.5833166633326665,train,very good chance,improbable,There is a very good chance that either 'Bill went to the office' or 'Julius is a swan' but not both.,It is improbable that either 'Bill went to the office' or 'Julius is a swan' but not both.,0,Either 'Bill went to the office' or 'Julius is a swan' but not both. It is improbable that Brian is yellow. It is highly unlikely that Mary is in the bathroom. There is a very good chance that Winona is a wolf. It is highly unlikely that if 'Winona is a wolf' or 'Brian is yellow' or both then Jessica is a cat. Chances are slight that if 'Winona is a wolf' or 'Brian is yellow' or both then Bernhard is white. There is little chance that if either 'Winona is a wolf' or 'Mary is in the bathroom' but not both then Julius is a lion.,It is probably the case that either 'Mary is in the bathroom' 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.1::factA. 0.05::factB. 0.8::factC. %hop1 0.05::factX:-or(factC,factA). 0.1::factY:-or(factC,factA). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.14000000000000004,0.3416683336667333,train,chances are slight,probably,Chances are slight that either 'Mary is in the bathroom' or 'Brian is yellow' but not both.,It is probably the case that either 'Mary is in the bathroom' or 'Brian is yellow' but not both.,0,Either 'Mary is in the bathroom' or 'Brian is yellow' but not both. There is almost no chance that Sandra left the football. It is probable that Jessica is a cat. It is unlikely that Mary moved to the office. It is likely that if either 'Sandra left the football' or 'Mary moved to the office' but not both then Julius is a rhino. Chances are slight that if 'Jessica is a cat' or 'Mary moved to the office' or both then Brian is white. It is improbable that if either 'Mary moved to the office' or 'Sandra left the football' but not both then John dropped the apple.,It is almost certain that either 'John dropped the apple' or 'Mary 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.02::factA. 0.7::factB. 0.2::factC. %hop1 0.7::factX:-xor(factA,factC). 0.1::factY:-or(factB,factC). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.182,0.21164232846569314,train,we doubt,almost certain,We doubt that either 'John dropped the apple' or 'Mary moved to the office' but not both.,It is almost certain that either 'John dropped the apple' or 'Mary moved to the office' but not both.,0,Either 'John dropped the apple' or 'Mary moved to the office' but not both. There is a better than even chance that Lily is a lion. It is impossible that Brian is a swan. There is a very good chance that Greg is a frog. It is unlikely that if 'Greg is a frog and Brian is a swan' then Bernhard is yellow. It is highly unlikely that if either 'Greg is a frog' or 'Brian is a swan' but not both then Julius is gray. Chances are about even that if 'Greg is a frog' or 'Lily is a lion' or both then Bill went to the kitchen.,Chances are slight that 'Julius is gray' 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.6::factA. 0.0::factB. 0.8::factC. %hop1 0.2::factX:-and(factC,factB). 0.05::factY:-xor(factC,factB). 0.5::factZ:-or(factC,factA). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.616,0.10022004400880176,train,better than even,chances are slight,There is a better than even chance that 'Julius is gray' or 'Lily is a lion' or both.,Chances are slight that 'Julius is gray' or 'Lily is a lion' or both.,0,'Julius is gray' or 'Lily is a lion' or both. It is certain that John went to the garden. Chances are slight that Mary moved to the office. Chances are slight that Julius is a lion. There is a better than even chance that if 'Mary moved to the office and Julius is a lion' then Brian is a swan. It is probably not the case that if 'Mary moved to the office and Julius is a lion' then Lily is yellow. It is unlikely that if 'Mary moved to the office' or 'Julius is a lion' or both then Jeff dropped the apple.,It is certain that 'Jeff dropped the apple 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 1.0::factA. 0.1::factB. 0.1::factC. %hop1 0.6::factX:-and(factB,factC). 0.25::factY:-and(factB,factC). 0.2::factZ:-or(factB,factC). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.02000000000000001,0.08141628325665133,train,almost no chance,certain,There is almost no chance that 'Jeff dropped the apple and Julius is a lion'.,It is certain that 'Jeff dropped the apple and Julius is a lion'.,0,'Jeff dropped the apple and Julius is a lion'. It is certain that Lily is a rhino. There is little chance that Brian is yellow. It is almost certain that Greg is yellow. There is almost no chance that if either 'Lily is a rhino' or 'Greg is yellow' but not both then Bernhard is a swan. We doubt that if either 'Lily is a rhino' or 'Greg is yellow' but not both then Gertrude is a mouse. We doubt that if 'Greg is yellow and Brian is yellow' then Mary got the apple.,It is almost certain that 'Greg is yellow' 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 1.0::factA. 0.1::factB. 0.95::factC. %hop1 0.02::factX:-xor(factA,factC). 0.2::factY:-xor(factA,factC). 0.2::factZ:-and(factC,factB). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.96,0.49529905981196237,train,almost certain,impossible,It is almost certain that 'Greg is yellow' or 'Gertrude is a mouse' or both.,It is impossible that 'Greg is yellow' or 'Gertrude is a mouse' or both.,1,'Greg is yellow' or 'Gertrude is a mouse' or both. It is impossible that John discarded the apple. It is almost certain that Jessica is a mouse. There is a very good chance that Bernhard is white. It is probably the case that if either 'Bernhard is white' or 'John discarded the apple' but not both then Julius is gray. We doubt that if either 'Jessica is a mouse' or 'John discarded the apple' but not both then Sandra dropped the milk. There is almost no chance that if 'Bernhard is white' or 'Jessica is a mouse' or both then Brian is a rhino.,Chances are slight that 'Sandra dropped the milk 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.0::factA. 0.95::factB. 0.8::factC. %hop1 0.7::factX:-xor(factC,factA). 0.2::factY:-xor(factB,factA). 0.02::factZ:-or(factC,factB). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.10639999999999998,0.09581916383276655,train,chances are slight,very good chance,Chances are slight that 'Sandra dropped the milk and Julius is gray'.,There is a very good chance that 'Sandra dropped the milk and Julius is gray'.,1,'Sandra dropped the milk and Julius is gray'. We doubt that Lily is a frog. It is unlikely that Greg is gray. It is probably not the case that Gertrude is a wolf. It is unlikely that if 'Greg is gray and Gertrude is a wolf' then Julius is a rhino. There is a very good chance that if either 'Greg is gray' or 'Gertrude is a wolf' but not both then Brian is green. It is impossible that if 'Lily is a frog and Greg is gray' then John went to the hallway.,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.2::factA. 0.2::factB. 0.25::factC. %hop1 0.2::factX:-and(factB,factC). 0.8::factY:-xor(factB,factC). 0.0::factZ:-and(factA,factB). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.32,0.125625125025005,train,probably not,highly likely,It is probably not the case that either 'Greg is gray' or 'Lily is a frog' but not both.,It is highly likely that either 'Greg is gray' or 'Lily is a frog' but not both.,0,Either 'Greg is gray' or 'Lily is a frog' but not both. There is a very good chance that Bill went to the bedroom. It is impossible that Lily is yellow. It is probably the case that John left the football. There is a very good chance that if 'Bill went to the bedroom' or 'Lily is yellow' or both then Bernhard is green. We doubt that if 'Bill went to the bedroom' or 'Lily is yellow' or both then Winona is a wolf. It is impossible that if 'Bill went to the bedroom and John left the football' then Brian is white.,It is almost certain that 'Bernhard is green and John 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.0::factB. 0.7::factC. %hop1 0.8::factX:-or(factA,factB). 0.2::factY:-or(factA,factB). 0.0::factZ:-and(factA,factC). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.448,0.047809561912382476,train,about even,almost certain,Chances are about even that 'Bernhard is green and John left the football'.,It is almost certain that 'Bernhard is green and John left the football'.,0,'Bernhard is green and John left the football'. Chances are slight that Lily is a lion. It is highly unlikely that John dropped the milk. There is a better than even chance that Sumit is bored. It is unlikely that if either 'John dropped the milk' or 'Sumit is bored' but not both then Brian is green. It is certain that if 'John dropped the milk and Lily is a lion' then Julius is a swan. It is probable that if 'Lily is a lion' or 'John dropped the milk' or both then Mary went to the kitchen.,We believe that 'Brian is green and Sumit 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.1::factA. 0.05::factB. 0.6::factC. %hop1 0.2::factX:-xor(factB,factC). 1.0::factY:-and(factB,factA). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.114,0.7515503100620124,train,little chance,we believe,There is little chance that 'Brian is green and Sumit is bored'.,We believe that 'Brian is green and Sumit is bored'.,0,'Brian is green and Sumit is bored'. Chances are slight that Bernhard is a frog. Chances are slight that Greg is yellow. There is little chance that Mary went to the bedroom. It is improbable that if either 'Mary went to the bedroom' or 'Greg is yellow' but not both then John moved to the office. Chances are slight that if 'Greg is yellow' or 'Bernhard is a frog' or both then Lily is white. It is likely that if 'Bernhard is a frog' or 'Mary went to the bedroom' or both then Sandra dropped the milk.,It is highly unlikely that either 'John moved to the office' or 'Lily 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.1::factB. 0.1::factC. %hop1 0.1::factX:-xor(factC,factB). 0.1::factY:-or(factB,factA). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.035020000000000016,0.4586917383476695,train,highly unlikely,probable,It is highly unlikely that either 'John moved to the office' or 'Lily is white' but not both.,It is probable that either 'John moved to the office' or 'Lily is white' but not both.,1,Either 'John moved to the office' or 'Lily is white' but not both. It is probably the case that Mary dropped the milk. It is certain that Greg is a frog. We believe that Antoine is hungry. It is probably the case that if either 'Greg is a frog' or 'Mary dropped the milk' but not both then Sandra left the apple. It is probable that if either 'Mary dropped the milk' or 'Antoine is hungry' but not both then Lily is a lion. It is highly likely that if 'Antoine is hungry' or 'Greg is a frog' or both then Bernhard is white.,It is likely that 'Sandra left the apple 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.7::factA. 1.0::factB. 0.75::factC. %hop1 0.7::factX:-xor(factB,factA). 0.7::factY:-xor(factA,factC). 0.9::factZ:-or(factC,factB). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.189,0.7737547509501901,train,we doubt,likely,We doubt that 'Sandra left the apple and Bernhard is white'.,It is likely that 'Sandra left the apple and Bernhard is white'.,0,'Sandra left the apple and Bernhard is white'. There is a better than even chance that Lily is a swan. There is a very good chance that Jeff put down the milk. It is probably not the case that Brian is white. There is a better than even chance that if either 'Lily is a swan' or 'Jeff put down the milk' but not both then Mary went to the hallway. There is a very good chance that if 'Lily is a swan and Jeff put down the milk' then Greg is a rhino. It is probable that if 'Jeff put down the milk' or 'Brian is white' or both then John took the apple.,It is unlikely that 'Mary went to the hallway and Jeff 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.6::factA. 0.8::factB. 0.25::factC. %hop1 0.6::factX:-xor(factA,factB). 0.8::factY:-and(factA,factB). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.19200000000000003,0.2480496099219844,train,unlikely,probably,It is unlikely that 'Mary went to the hallway and Jeff put down the milk'.,It is probably the case that 'Mary went to the hallway and Jeff put down the milk'.,1,'Mary went to the hallway and Jeff put down the milk'. There is a very good chance that John got the apple. It is certain that Emily is a mouse. It is likely that Sandra dropped the milk. It is probably the case that if either 'John got the apple' or 'Emily is a mouse' but not both then Greg is a lion. It is certain that if 'John got the apple' or 'Sandra dropped the milk' or both then Mary moved to the garden. It is improbable that if 'John got the apple' or 'Sandra dropped the milk' or both then Brian is yellow.,It is almost certain that 'John got the apple' 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.8::factA. 1.0::factB. 0.7::factC. %hop1 0.7::factX:-xor(factA,factB). 1.0::factY:-or(factA,factC). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.9400000000000001,0.7323464692938588,train,almost certain,improbable,It is almost certain that 'John got the apple' or 'Greg is a lion' or both.,It is improbable that 'John got the apple' or 'Greg is a lion' or both.,1,'John got the apple' or 'Greg is a lion' or both. It is probable that John left the milk. It is improbable that Greg is white. There is almost no chance that Jessica is a sheep. It is unlikely that if 'Greg is white and Jessica is a sheep' then Jason is tired. It is highly likely that if either 'Greg is white' or 'John left the milk' but not both then Brian is a rhino. It is unlikely that if 'Greg is white and Jessica is a sheep' then Mary took the football.,It is improbable that 'Mary took the football' 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.1::factB. 0.02::factC. %hop1 0.2::factX:-and(factB,factC). 0.9::factY:-xor(factB,factA). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.594292,0.21364272854570915,train,better than even,improbable,There is a better than even chance that 'Mary took the football' or 'Brian is a rhino' or both.,It is improbable that 'Mary took the football' or 'Brian is a rhino' or both.,0,'Mary took the football' or 'Brian is a rhino' or both. We doubt that Emily is a sheep. It is highly likely that Sandra grabbed the apple. There is almost no chance that Brian is white. There is a very good chance that if 'Brian is white and Sandra grabbed the apple' then Mary got the football. It is almost certain that if either 'Emily is a sheep' or 'Brian is white' but not both then Greg is white. It is impossible that if either 'Emily is a sheep' or 'Sandra grabbed the apple' but not both then Bill went to the office.,It is unlikely that 'Greg is white' or 'Bill 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.2::factA. 0.9::factB. 0.02::factC. %hop1 0.8::factX:-and(factC,factB). 0.95::factY:-xor(factA,factC). 0.0::factZ:-xor(factA,factB). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.2014,0.5929185837167433,train,unlikely,almost certain,It is unlikely that 'Greg is white' or 'Bill went to the office' or both.,It is almost certain that 'Greg is white' or 'Bill went to the office' or both.,1,'Greg is white' or 'Bill went to the office' or both. It is highly likely that John moved to the office. It is unlikely that Greg is a rhino. It is probable that Daniel dropped the milk. We doubt that if either 'Daniel dropped the milk' or 'Greg is a rhino' but not both then Bernhard is a frog. There is little chance that if 'Daniel dropped the milk and Greg is a rhino' then Julius is gray. There is a better than even chance that if 'Daniel dropped the milk and Greg is a rhino' then Lily is white.,Chances are slight that 'Daniel dropped the milk 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.9::factA. 0.2::factB. 0.7::factC. %hop1 0.2::factX:-xor(factC,factB). 0.1::factY:-and(factC,factB). 0.6::factZ:-and(factC,factB). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.084,0.5651130226045209,train,chances are slight,highly likely,Chances are slight that 'Daniel dropped the milk and Lily is white'.,It is highly likely that 'Daniel dropped the milk and Lily is white'.,1,'Daniel dropped the milk and Lily is white'. There is little chance that Greg is a swan. It is improbable that Mary dropped the milk. It is almost certain that Jessica is a mouse. It is likely that if either 'Jessica is a mouse' or 'Greg is a swan' but not both then Emily is a sheep. We doubt that if either 'Jessica is a mouse' or 'Greg is a swan' but not both then Sandra took the football. It is highly unlikely that if 'Jessica is a mouse' or 'Greg is a swan' or both then Julius is a rhino.,We doubt that either 'Mary dropped 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.1::factA. 0.1::factB. 0.95::factC. %hop1 0.7::factX:-xor(factC,factA). 0.2::factY:-xor(factC,factA). 0.05::factZ:-or(factC,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.18000000000000005,0.5307061412282457,train,we doubt,probably,We doubt that either 'Mary dropped the milk' or 'Greg is a swan' but not both.,It is probably the case that either 'Mary dropped the milk' or 'Greg is a swan' but not both.,1,Either 'Mary dropped the milk' or 'Greg is a swan' but not both. It is unlikely that Sumit is bored. We doubt that Bernhard is white. We believe that Jason is tired. It is probably not the case that if either 'Sumit is bored' or 'Jason is tired' but not both then Brian is yellow. There is little chance that if 'Jason is tired' or 'Sumit is bored' or both then Sandra left the milk. It is highly likely that if 'Bernhard is white' or 'Sumit is bored' or both then John grabbed the apple.,There is a very good chance that either 'John grabbed the apple' or 'Sumit is bored' 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.75::factC. %hop1 0.25::factX:-xor(factA,factC). 0.1::factY:-or(factC,factA). 0.9::factZ:-or(factB,factA). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.164,0.3084616923384677,train,we doubt,very good chance,We doubt that either 'John grabbed the apple' or 'Sumit is bored' but not both.,There is a very good chance that either 'John grabbed the apple' or 'Sumit is bored' but not both.,0,Either 'John grabbed the apple' or 'Sumit is bored' but not both. It is almost certain that Gertrude is a wolf. It is impossible that John went to the bedroom. It is impossible that Emily is a mouse. It is probable that if 'Gertrude is a wolf' or 'John went to the bedroom' or both then Lily is a lion. We believe that if 'Emily is a mouse' or 'Gertrude is a wolf' or both then Daniel took the milk. It is probable that if either 'Gertrude is a wolf' or 'John went to the bedroom' but not both then Greg is gray.,It is almost certain that 'Daniel took the milk' or 'Gertrude 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.95::factA. 0.0::factB. 0.0::factC. %hop1 0.7::factX:-or(factA,factB). 0.75::factY:-or(factC,factA). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.95,0.6521304260852171,train,almost certain,highly unlikely,It is almost certain that 'Daniel took the milk' or 'Gertrude is a wolf' or both.,It is highly unlikely that 'Daniel took the milk' or 'Gertrude is a wolf' or both.,1,'Daniel took the milk' or 'Gertrude is a wolf' or both. Chances are about even that Sandra left the milk. There is little chance that Fred put down the apple. We believe that Bill went to the garden. It is probably not the case that if either 'Fred put down the apple' or 'Bill went to the garden' but not both then Brian is a lion. There is a better than even chance that if 'Sandra left the milk' or 'Fred put down the apple' or both then Mary took the football. It is probably the case that if either 'Sandra left the milk' or 'Bill went to the garden' but not both then Bernhard is a swan.,It is almost certain that 'Sandra left the milk' or 'Mary took 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.5::factA. 0.1::factB. 0.75::factC. %hop1 0.25::factX:-xor(factB,factC). 0.6::factY:-or(factA,factB). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.53,0.4404880976195239,train,about even,almost certain,Chances are about even that 'Sandra left the milk' or 'Mary took the football' or both.,It is almost certain that 'Sandra left the milk' or 'Mary took the football' or both.,0,'Sandra left the milk' or 'Mary took the football' or both. It is improbable that Mary dropped the apple. We doubt that Julius is white. Chances are slight that Greg is gray. It is unlikely that if 'Julius is white and Greg is gray' then Sandra left the football. We believe that if either 'Mary dropped the apple' or 'Greg is gray' but not both then Brian is a lion. There is little chance that if either 'Julius is white' or 'Greg is gray' but not both then Lily is green.,There is a better than even chance that 'Brian is a lion 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.1::factA. 0.2::factB. 0.1::factC. %hop1 0.2::factX:-and(factB,factC). 0.75::factY:-xor(factA,factC). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.027000000000000007,0.3358671734346869,train,almost no chance,better than even,There is almost no chance that 'Brian is a lion and Julius is white'.,There is a better than even chance that 'Brian is a lion and Julius is white'.,0,'Brian is a lion and Julius is white'. It is improbable that Sandra left the football. Chances are slight that John picked up the apple. We believe that Lily is gray. It is highly likely that if 'Lily is gray and Sandra left the football' then Fred moved to the office. There is almost no chance that if 'Lily is gray and John picked up the apple' then Mary took the milk. It is certain that if 'John picked up the apple' or 'Sandra left the football' or both then Bernhard is a frog.,It is probably the case that either 'Bernhard is a frog' 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.1::factB. 0.75::factC. %hop1 0.9::factX:-and(factC,factA). 0.02::factY:-and(factC,factB). 1.0::factZ:-or(factB,factA). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.6549999999999999,0.7635527105421084,train,probably,chances are slight,It is probably the case that either 'Bernhard is a frog' or 'Lily is gray' but not both.,Chances are slight that either 'Bernhard is a frog' or 'Lily is gray' but not both.,1,Either 'Bernhard is a frog' or 'Lily is gray' but not both. Chances are slight that Lily is yellow. It is probably not the case that Greg is white. We believe that Mary went to the kitchen. There is almost no chance that if 'Mary went to the kitchen and Greg is white' then John grabbed the apple. We doubt that if 'Mary went to the kitchen and Greg is white' then Brian is a swan. It is certain that if 'Mary went to the kitchen and Greg is white' then Bernhard is gray.,It is probably not the case that 'Greg is white' 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.1::factA. 0.25::factB. 0.75::factC. %hop1 0.02::factX:-and(factC,factB). 0.2::factY:-and(factC,factB). 1.0::factZ:-and(factC,factB). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.325,0.7205441088217643,train,probably not,probably,It is probably not the case that 'Greg is white' or 'Lily is yellow' or both.,It is probably the case that 'Greg is white' or 'Lily is yellow' or both.,1,'Greg is white' or 'Lily is yellow' or both. Chances are slight that Mary went to the kitchen. It is almost certain that Bernhard is green. Chances are slight that Brian is yellow. It is likely that if 'Mary went to the kitchen' or 'Bernhard is green' or both then Gertrude is a sheep. There is a very good chance that if 'Brian is yellow' or 'Bernhard is green' or both then Lily is a swan. We believe that if 'Brian is yellow and Mary went to the kitchen' then Julius is white.,There is little chance 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.1::factA. 0.95::factB. 0.1::factC. %hop1 0.7::factX:-or(factA,factB). 0.8::factY:-or(factC,factB). 0.75::factZ:-and(factC,factA). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.09250000000000001,0.05501100220044009,train,little chance,probably,There is little chance that either 'Mary went to the kitchen' or 'Julius is white' but not both.,It is probably the case 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. It is probably not the case that Jessica is a cat. There is almost no chance that John went to the office. Chances are slight that Lily is a lion. There is almost no chance that if either 'John went to the office' or 'Lily is a lion' but not both then Julius is white. It is almost certain that if either 'Jessica is a cat' or 'Lily is a lion' but not both then Sandra took the milk. There is almost no chance that if 'Jessica is a cat and Lily is a lion' then Brian is white.,Chances are about even that 'Jessica is a cat 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.25::factA. 0.02::factB. 0.1::factC. %hop1 0.02::factX:-xor(factB,factC). 0.95::factY:-xor(factA,factC). 0.02::factZ:-and(factA,factC). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.0005800000000000002,0.4378875775155031,train,impossible,about even,It is impossible that 'Jessica is a cat and Julius is white'.,Chances are about even that 'Jessica is a cat and Julius is white'.,0,'Jessica is a cat and Julius is white'. It is probably the case that Bernhard is white. It is probable that Sumit is thirsty. It is highly unlikely that Daniel left the milk. We doubt that if 'Bernhard is white and Sumit is thirsty' then Julius is a lion. Chances are slight that if 'Sumit is thirsty' or 'Bernhard is white' or both then Brian is a rhino. Chances are slight that if either 'Sumit is thirsty' or 'Daniel left the milk' but not both then Greg is a frog.,It is highly unlikely that 'Brian is a rhino 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.7::factA. 0.7::factB. 0.05::factC. %hop1 0.2::factX:-and(factA,factB). 0.1::factY:-or(factB,factA). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.07,0.1942388477695539,train,highly unlikely,we believe,It is highly unlikely that 'Brian is a rhino and Bernhard is white'.,We believe that 'Brian is a rhino and Bernhard is white'.,1,'Brian is a rhino and Bernhard is white'. It is highly likely that Sandra got the milk. It is highly unlikely that Yann is hungry. It is probably not the case that Gertrude is a sheep. It is likely that if either 'Sandra got the milk' or 'Gertrude is a sheep' but not both then Bill went to the office. It is highly unlikely that if 'Gertrude is a sheep and Sandra got the milk' then Fred left the football. We doubt that if 'Gertrude is a sheep' or 'Sandra got the milk' or both then Julius is a swan.,It is highly unlikely that either 'Bill went to the office' or 'Fred 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.9::factA. 0.05::factB. 0.25::factC. %hop1 0.7::factX:-xor(factA,factC). 0.05::factY:-and(factC,factA). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.50125,0.060012002400480095,train,about even,highly unlikely,Chances are about even that either 'Bill went to the office' or 'Fred left the football' but not both.,It is highly unlikely that either 'Bill went to the office' or 'Fred left the football' but not both.,0,Either 'Bill went to the office' or 'Fred left the football' but not both. We believe that Sandra left the milk. We doubt that John went to the kitchen. There is little chance that Mary moved to the office. We doubt that if 'Sandra left the milk' or 'Mary moved to the office' or both then Lily is a lion. It is likely that if 'Mary moved to the office' or 'Sandra left the milk' or both then Julius is yellow. It is probable that if 'Sandra left the milk and Mary moved to the office' then Brian is a swan.,It is likely that 'John went to the kitchen 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.75::factA. 0.2::factB. 0.1::factC. %hop1 0.2::factX:-or(factA,factC). 0.7::factY:-or(factC,factA). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.031000000000000007,0.5723144628925785,train,almost no chance,likely,There is almost no chance that 'John went to the kitchen and Lily is a lion'.,It is likely that 'John went to the kitchen and Lily is a lion'.,0,'John went to the kitchen and Lily is a lion'. There is almost no chance that Greg is green. It is improbable that John dropped the apple. It is impossible that Brian is a swan. It is almost certain that if either 'Brian is a swan' or 'John dropped the apple' but not both then Julius is white. It is certain that if 'John dropped the apple and Greg is green' then Mary went to the office. It is almost certain that if either 'Greg is green' or 'John dropped the apple' but not both then Yann is hungry.,We believe that 'Mary went to the office 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.1::factB. 0.0::factC. %hop1 0.95::factX:-xor(factC,factB). 1.0::factY:-and(factB,factA). 0.95::factZ:-xor(factA,factB). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.0019000000000000013,0.5171034206841368,train,impossible,we believe,It is impossible that 'Mary went to the office and Julius is white'.,We believe that 'Mary went to the office and Julius is white'.,0,'Mary went to the office and Julius is white'. It is probable that Daniel left the milk. It is certain that Bernhard is yellow. It is impossible that Brian is a rhino. It is likely that if 'Brian is a rhino' or 'Bernhard is yellow' or both then Emily is a sheep. It is certain that if 'Bernhard is yellow' or 'Brian is a rhino' or both then Greg is green. There is almost no chance that if 'Daniel left the milk and Bernhard is yellow' then Sandra got the football.,It is highly unlikely that 'Emily is a sheep 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.7::factA. 1.0::factB. 0.0::factC. %hop1 0.7::factX:-or(factC,factB). 1.0::factY:-or(factB,factC). 0.02::factZ:-and(factA,factB). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.7,0.2580516103220644,train,probable,highly unlikely,It is probable that 'Emily is a sheep and Greg is green'.,It is highly unlikely that 'Emily is a sheep and Greg is green'.,0,'Emily is a sheep and Greg is green'. We doubt that Bernhard is green. Chances are slight that Winona is a sheep. It is probable that Sandra left the milk. There is almost no chance that if 'Bernhard is green' or 'Winona is a sheep' or both then Lily is a rhino. It is impossible that if 'Bernhard is green and Sandra left the milk' then John went to the kitchen. There is a better than even chance that if 'Bernhard is green' or 'Winona is a sheep' or both then Mary moved to the office.,There is a very good chance that 'Winona is a sheep 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. 0.1::factB. 0.7::factC. %hop1 0.02::factX:-or(factA,factB). 0.0::factY:-and(factA,factC). 0.6::factZ:-or(factA,factB). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.07,0.32706541308261655,train,highly unlikely,very good chance,It is highly unlikely that 'Winona is a sheep and Sandra left the milk'.,There is a very good chance that 'Winona is a sheep and Sandra left the milk'.,0,'Winona is a sheep and Sandra left the milk'. It is probable that Brian is yellow. There is a very good chance that Bernhard is yellow. There is a better than even chance that Greg is a swan. Chances are about even that if 'Bernhard is yellow and Greg is a swan' then Emily is a mouse. There is almost no chance that if either 'Brian is yellow' or 'Greg is a swan' but not both then Mary went to the office. It is probably the case that if 'Brian is yellow' or 'Bernhard is yellow' or both then Julius is a lion.,It is unlikely that either 'Mary went to the office' 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.8::factB. 0.6::factC. %hop1 0.5::factX:-and(factB,factC). 0.02::factY:-xor(factA,factC). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.6553279999999999,0.7621524304860973,train,probably,unlikely,It is probably the case that either 'Mary went to the office' or 'Julius is a lion' but not both.,It is unlikely that either 'Mary went to the office' or 'Julius is a lion' but not both.,0,Either 'Mary went to the office' or 'Julius is a lion' but not both. It is probably the case that Lily is a rhino. Chances are slight that Daniel left the milk. It is certain that Bernhard is a lion. There is a better than even chance that if 'Lily is a rhino and Daniel left the milk' then Mary moved to the office. It is improbable that if 'Daniel left the milk' or 'Bernhard is a lion' or both then Sandra took the apple. There is almost no chance that if 'Daniel left the milk' or 'Lily is a rhino' or both then Brian is a rhino.,It is almost certain that either 'Mary moved to the office' or 'Bernhard 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.1::factB. 1.0::factC. %hop1 0.6::factX:-and(factA,factB). 0.1::factY:-or(factB,factC). 0.02::factZ:-or(factB,factA). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.958,0.1918383676735347,train,almost certain,chances are slight,It is almost certain that either 'Mary moved to the office' or 'Bernhard is a lion' but not both.,Chances are slight that either 'Mary moved to the office' or 'Bernhard is a lion' but not both.,1,Either 'Mary moved to the office' or 'Bernhard is a lion' but not both. Chances are about even that Sandra took the milk. It is probably not the case that Gertrude is a wolf. It is highly likely that Mary went to the bedroom. It is likely that if either 'Mary went to the bedroom' or 'Sandra took the milk' but not both then Julius is gray. It is almost certain that if 'Mary went to the bedroom' or 'Gertrude is a wolf' or both then Brian is a swan. It is highly likely that if 'Mary went to the bedroom and Sandra took the milk' then Greg is a swan.,It is almost certain 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.9::factC. %hop1 0.7::factX:-xor(factC,factA). 0.95::factY:-or(factC,factB). 0.9::factZ:-and(factC,factA). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.5,0.4604920984196839,train,about even,almost certain,Chances are about even that 'Sandra took the milk' or 'Greg is a swan' or both.,It is almost certain that 'Sandra took the milk' or 'Greg is a swan' or both.,0,'Sandra took the milk' or 'Greg is a swan' or both. There is almost no chance that Winona is a sheep. Chances are about even that Julius is a lion. There is a very good chance that Mary went to the hallway. There is almost no chance that if either 'Julius is a lion' or 'Winona is a sheep' but not both then Greg is a frog. It is highly unlikely that if 'Mary went to the hallway and Julius is a lion' then Brian is a swan. It is almost certain that if 'Mary went to the hallway and Winona is a sheep' then John left the apple.,It is highly unlikely that 'Winona is a sheep' 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.02::factA. 0.5::factB. 0.8::factC. %hop1 0.02::factX:-xor(factB,factA). 0.05::factY:-and(factC,factB). 0.95::factZ:-and(factC,factA). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.0396,0.4014802960592118,train,highly unlikely,certain,It is highly unlikely that 'Winona is a sheep' or 'Brian is a swan' or both.,It is certain that 'Winona is a sheep' or 'Brian is a swan' or both.,1,'Winona is a sheep' or 'Brian is a swan' or both. It is highly unlikely that John went to the bedroom. Chances are about even that Julius is yellow. Chances are slight that Lily is green. There is almost no chance that if 'John went to the bedroom and Julius is yellow' then Yann is hungry. It is unlikely that if either 'Julius is yellow' or 'Lily is green' but not both then Mary left the football. It is probably not the case that if 'Lily is green and John went to the bedroom' then Emily is a mouse.,It is impossible that 'Julius is yellow' or 'Yann is hungry' 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.5::factB. 0.1::factC. %hop1 0.02::factX:-and(factA,factB). 0.2::factY:-xor(factB,factC). 0.25::factZ:-and(factC,factA). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.5,0.40368073614722944,train,about even,impossible,Chances are about even that 'Julius is yellow' or 'Yann is hungry' or both.,It is impossible that 'Julius is yellow' or 'Yann is hungry' or both.,0,'Julius is yellow' or 'Yann is hungry' or both. There is almost no chance that Julius is yellow. We doubt that John went to the hallway. It is impossible that Mary got the football. It is highly likely that if 'John went to the hallway and Julius is yellow' then Winona is a sheep. Chances are slight that if either 'John went to the hallway' or 'Julius is yellow' but not both then Lily is gray. It is probably not the case that if either 'Julius is yellow' or 'Mary got the football' but not both then Brian is a lion.,It is impossible that 'Winona is a sheep 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.02::factA. 0.2::factB. 0.0::factC. %hop1 0.9::factX:-and(factB,factA). 0.1::factY:-xor(factB,factA). 0.25::factZ:-xor(factA,factC). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.003600000000000003,0.15363072614522905,train,impossible,probably,It is impossible that 'Winona is a sheep and John went to the hallway'.,It is probably the case that 'Winona is a sheep and John went to the hallway'.,1,'Winona is a sheep and John went to the hallway'. There is little chance that Julius is white. Chances are about even that Emily is a sheep. It is probably the case that John moved to the office. It is certain that if 'Julius is white and Emily is a sheep' then Mary took the football. Chances are about even that if 'Julius is white and Emily is a sheep' then Greg is a lion. We doubt that if 'Emily is a sheep' or 'John moved to the office' or both then Lily is yellow.,It is highly unlikely that 'Mary took the football 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.1::factA. 0.5::factB. 0.7::factC. %hop1 1.0::factX:-and(factA,factB). 0.5::factY:-and(factA,factB). 0.2::factZ:-or(factB,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.05000000000000001,0.4364872974594919,train,highly unlikely,probably,It is highly unlikely that 'Mary took the football and Julius is white'.,It is probably the case that 'Mary took the football and Julius is white'.,1,'Mary took the football and Julius is white'. We doubt that Brian is a rhino. It is highly likely that Bernhard is a frog. Chances are slight that Jeff left the apple. Chances are about even that if either 'Jeff left the apple' or 'Brian is a rhino' but not both then John went to the garden. It is probably not the case that if 'Jeff left the apple and Brian is a rhino' then Mary dropped the milk. It is highly unlikely that if 'Brian is a rhino' or 'Jeff left the apple' or both then Julius is yellow.,It is impossible that 'Mary dropped the milk 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.2::factA. 0.9::factB. 0.1::factC. %hop1 0.5::factX:-xor(factC,factA). 0.25::factY:-and(factC,factA). 0.05::factZ:-or(factA,factC). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.004500000000000003,0.03660732146429286,train,impossible,very good chance,It is impossible that 'Mary dropped the milk and Bernhard is a frog'.,There is a very good chance that 'Mary dropped the milk and Bernhard is a frog'.,1,'Mary dropped the milk and Bernhard is a frog'. It is unlikely that John went to the garden. It is highly likely that Julius is a rhino. It is likely that Brian is a frog. It is likely that if 'Julius is a rhino and John went to the garden' then Sandra took the football. It is certain that if either 'John went to the garden' or 'Julius is a rhino' but not both then Greg is a lion. We believe that if 'John went to the garden' or 'Julius is a rhino' or both then Winona is a wolf.,It is unlikely that 'John went to the garden' or 'Sandra took 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.2::factA. 0.9::factB. 0.7::factC. %hop1 0.7::factX:-and(factB,factA). 1.0::factY:-xor(factA,factB). 0.75::factZ:-or(factA,factB). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.19999999999999998,0.3836767353470694,train,unlikely,almost certain,It is unlikely that 'John went to the garden' or 'Sandra took the football' or both.,It is almost certain that 'John went to the garden' or 'Sandra took the football' or both.,1,'John went to the garden' or 'Sandra took the football' or both. There is almost no chance that Gertrude is a cat. We believe that Greg is a rhino. It is impossible that John went to the office. It is certain that if 'John went to the office and Greg is a rhino' then Bernhard is green. It is improbable that if 'Greg is a rhino' or 'John went to the office' or both then Julius is white. We believe that if 'Gertrude is a cat and Greg is a rhino' then Mary is in the bathroom.,Chances are about even 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.02::factA. 0.75::factB. 0.0::factC. %hop1 1.0::factX:-and(factC,factB). 0.1::factY:-or(factB,factC). 0.75::factZ:-and(factA,factB). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.014999999999999998,0.6697339467893578,train,almost no chance,about even,There is almost no chance that 'Gertrude is a cat and Greg is a rhino'.,Chances are about even that 'Gertrude is a cat and Greg is a rhino'.,0,'Gertrude is a cat and Greg is a rhino'. We doubt that Bernhard is white. It is unlikely that Julius is gray. There is almost no chance that Mary moved to the office. There is almost no chance that if 'Julius is gray and Bernhard is white' then Jessica is a mouse. Chances are slight that if 'Mary moved to the office' or 'Julius is gray' or both then Lily is a rhino. It is likely that if 'Bernhard is white and Mary moved to the office' then John left the milk.,It is probable that 'Julius is gray' 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.2::factA. 0.2::factB. 0.02::factC. %hop1 0.02::factX:-and(factB,factA). 0.1::factY:-or(factC,factB). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.2,0.6209241848369674,train,we doubt,probable,We doubt that 'Julius is gray' or 'Jessica is a mouse' or both.,It is probable that 'Julius is gray' or 'Jessica is a mouse' or both.,0,'Julius is gray' or 'Jessica is a mouse' or both. We doubt that John picked up the apple. Chances are slight that Bernhard is a rhino. It is highly unlikely that Jeff discarded the milk. It is probable that if either 'John picked up the apple' or 'Jeff discarded the milk' but not both then Emily is a sheep. There is little chance that if either 'Bernhard is a rhino' or 'Jeff discarded the milk' but not both then Lily is yellow. There is little chance that if 'Jeff discarded the milk and Bernhard is a rhino' then Winona is a cat.,It is probable that 'Emily is a sheep 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.2::factA. 0.1::factB. 0.05::factC. %hop1 0.7::factX:-xor(factA,factC). 0.1::factY:-xor(factB,factC). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.016100000000000003,0.659131826365273,train,almost no chance,probable,There is almost no chance that 'Emily is a sheep and Bernhard is a rhino'.,It is probable that 'Emily is a sheep and Bernhard is a rhino'.,0,'Emily is a sheep and Bernhard is a rhino'. It is impossible that Brian is white. It is impossible that Winona is a wolf. It is probable that Mary grabbed the milk. It is highly unlikely that if either 'Brian is white' or 'Winona is a wolf' but not both then Greg is green. It is almost certain that if 'Brian is white and Mary grabbed the milk' then Lily is a swan. There is little chance that if 'Winona is a wolf' or 'Brian is white' or both then Julius is a frog.,We believe that either 'Brian is white' or 'Greg 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.0::factA. 0.0::factB. 0.7::factC. %hop1 0.05::factX:-xor(factA,factB). 0.95::factY:-and(factA,factC). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.0,0.09101820364072814,train,impossible,we believe,It is impossible that either 'Brian is white' or 'Greg is green' but not both.,We believe that either 'Brian is white' or 'Greg is green' but not both.,0,Either 'Brian is white' or 'Greg is green' but not both. It is likely that John went to the office. It is unlikely that Yann is tired. It is likely that Greg is gray. It is unlikely that if 'John went to the office' or 'Yann is tired' or both then Mary is in the hallway. It is probably not the case that if 'Greg is gray' or 'John went to the office' or both then Bernhard is a swan. It is unlikely that if 'John went to the office' or 'Greg is gray' or both then Sandra put down the milk.,There is almost no chance that either 'John went to the office' or 'Greg 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.2::factB. 0.7::factC. %hop1 0.2::factX:-or(factA,factB). 0.25::factY:-or(factC,factA). 0.2::factZ:-or(factA,factC). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.42,0.508501700340068,train,about even,almost no chance,Chances are about even that either 'John went to the office' or 'Greg is gray' but not both.,There is almost no chance that either 'John went to the office' or 'Greg is gray' but not both.,0,Either 'John went to the office' or 'Greg is gray' but not both. It is improbable that Julius is green. It is impossible that Sandra grabbed the apple. It is highly unlikely that John went to the hallway. It is probably the case that if 'Sandra grabbed the apple and John went to the hallway' then Mary left the football. It is highly unlikely that if either 'Julius is green' or 'John went to the hallway' but not both then Gertrude is a wolf. It is highly likely that if 'John went to the hallway' or 'Julius is green' or both then Brian is white.,It is probably the case that either 'John went to the hallway' 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 0.1::factA. 0.0::factB. 0.05::factC. %hop1 0.7::factX:-and(factB,factC). 0.05::factY:-xor(factA,factC). 0.9::factZ:-or(factC,factA). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.05250000000000002,0.40188037607521504,train,highly unlikely,probably,It is highly unlikely that either 'John went to the hallway' or 'Gertrude is a wolf' but not both.,It is probably the case that either 'John went to the hallway' or 'Gertrude is a wolf' but not both.,0,Either 'John went to the hallway' or 'Gertrude is a wolf' but not both. It is highly unlikely that Bernhard is green. There is little chance that Julius is yellow. There is little chance that Sandra took the milk. It is unlikely that if 'Sandra took the milk and Julius is yellow' then Jessica is a cat. It is probably not the case that if 'Bernhard is green' or 'Sandra took the milk' or both then Brian is a frog. We believe that if 'Bernhard is green and Julius is yellow' then Mary got the football.,There is a very good chance that either 'Mary got the football' 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.1::factB. 0.1::factC. %hop1 0.2::factX:-and(factC,factB). 0.25::factY:-or(factA,factC). 0.75::factZ:-and(factA,factB). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.046250000000000006,0.5759151830366073,train,highly unlikely,very good chance,It is highly unlikely that either 'Mary got the football' or 'Bernhard is green' but not both.,There is a very good chance that either 'Mary got the football' or 'Bernhard is green' but not both.,0,Either 'Mary got the football' or 'Bernhard is green' but not both. There is little chance that Bernhard is green. It is probable that Greg is a rhino. There is little chance that Brian is yellow. We believe that if either 'Brian is yellow' or 'Bernhard is green' but not both then John moved to the office. There is almost no chance that if 'Greg is a rhino' or 'Brian is yellow' or both then Jeff dropped the apple. It is impossible that if 'Brian is yellow and Bernhard is green' then Sandra left the football.,There is little chance that 'Sandra left the football' 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.1::factC. %hop1 0.75::factX:-xor(factC,factA). 0.02::factY:-or(factB,factC). 0.0::factZ:-and(factC,factA). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.10000000000000002,0.31726345269053813,train,little chance,almost certain,There is little chance that 'Sandra left the football' or 'Brian is yellow' or both.,It is almost certain that 'Sandra left the football' or 'Brian is yellow' or both.,1,'Sandra left the football' or 'Brian is yellow' or both. Chances are about even that Jeff moved to the garden. There is almost no chance that Mary picked up the apple. It is certain that Brian is green. There is little chance that if 'Jeff moved to the garden' or 'Mary picked up the apple' or both then Bernhard is white. There is almost no chance that if 'Jeff moved to the garden' or 'Mary picked up the apple' or both then Julius is a frog. There is almost no chance that if either 'Brian is green' or 'Jeff moved to the garden' but not both then Lily is a rhino.,There is almost no chance that 'Julius is a frog' or 'Jeff 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.5::factA. 0.02::factB. 1.0::factC. %hop1 0.1::factX:-or(factA,factB). 0.02::factY:-or(factA,factB). 0.02::factZ:-xor(factC,factA). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.5002,0.38687737547509504,train,about even,almost no chance,Chances are about even that 'Julius is a frog' or 'Jeff moved to the garden' or both.,There is almost no chance that 'Julius is a frog' or 'Jeff moved to the garden' or both.,0,'Julius is a frog' or 'Jeff moved to the garden' or both. It is certain that Jeff dropped the apple. It is probably the case that Bernhard is yellow. We doubt that Jessica is a mouse. It is certain that if either 'Jessica is a mouse' or 'Bernhard is yellow' but not both then Greg is a swan. There is a very good chance that if either 'Bernhard is yellow' or 'Jeff dropped the apple' but not both then Brian is a frog. There is almost no chance that if 'Jessica is a mouse' or 'Jeff dropped the apple' or both then Julius is a swan.,It is improbable that 'Julius is a swan' 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.7::factB. 0.2::factC. %hop1 1.0::factX:-xor(factC,factB). 0.8::factY:-xor(factB,factA). 0.02::factZ:-or(factC,factA). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.6275999999999999,0.3016603320664133,train,better than even,improbable,There is a better than even chance that 'Julius is a swan' or 'Greg is a swan' or both.,It is improbable that 'Julius is a swan' or 'Greg is a swan' or both.,0,'Julius is a swan' or 'Greg is a swan' or both. There is almost no chance that John moved to the office. It is probably the case that Lily is a frog. There is little chance that Greg is yellow. It is highly likely that if either 'Lily is a frog' or 'Greg is yellow' but not both then Gertrude is a cat. There is almost no chance that if 'Greg is yellow' or 'Lily is a frog' or both then Jeff went to the bedroom. It is impossible that if 'John moved to the office and Lily is a frog' then Emily is a mouse.,It is highly likely that either 'Emily is a mouse' 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.02::factA. 0.7::factB. 0.1::factC. %hop1 0.9::factX:-xor(factB,factC). 0.02::factY:-or(factC,factB). 0.0::factZ:-and(factA,factB). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.10000000000000002,0.5239047809561912,train,chances are slight,highly likely,Chances are slight that either 'Emily is a mouse' or 'Greg is yellow' but not both.,It is highly likely that either 'Emily is a mouse' or 'Greg is yellow' but not both.,0,Either 'Emily is a mouse' or 'Greg is yellow' but not both. There is little chance that Bernhard is yellow. There is almost no chance that Mary moved to the garden. It is improbable that Sandra grabbed the apple. We doubt that if 'Mary moved to the garden' or 'Bernhard is yellow' or both then Lily is gray. It is probably the case that if either 'Bernhard is yellow' or 'Mary moved to the garden' but not both then Greg is white. It is impossible that if 'Mary moved to the garden' or 'Bernhard is yellow' or both then Julius is a lion.,We believe that either 'Bernhard is yellow' 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.1::factA. 0.02::factB. 0.1::factC. %hop1 0.2::factX:-or(factB,factA). 0.7::factY:-xor(factA,factB). 0.0::factZ:-or(factB,factA). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.044000000000000025,0.1394278855771154,train,highly unlikely,we believe,It is highly unlikely that either 'Bernhard is yellow' or 'Greg is white' but not both.,We believe that either 'Bernhard is yellow' or 'Greg is white' but not both.,0,Either 'Bernhard is yellow' or 'Greg is white' but not both. We doubt that Gertrude is a sheep. We doubt that John went to the office. It is certain that Mary grabbed the apple. It is probably the case that if 'Mary grabbed the apple' or 'Gertrude is a sheep' or both then Greg is a swan. It is probably the case that if 'John went to the office and Mary grabbed the apple' then Bernhard is a frog. It is improbable that if either 'John went to the office' or 'Gertrude is a sheep' but not both then Julius is white.,It is highly likely that either 'Mary grabbed 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.2::factA. 0.2::factB. 1.0::factC. %hop1 0.7::factX:-or(factC,factA). 0.7::factY:-and(factB,factC). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.86,0.2514502900580116,train,highly likely,impossible,It is highly likely that either 'Mary grabbed the apple' or 'Bernhard is a frog' but not both.,It is impossible that either 'Mary grabbed the apple' or 'Bernhard is a frog' but not both.,1,Either 'Mary grabbed the apple' or 'Bernhard is a frog' but not both. There is almost no chance that Jessica is a sheep. Chances are slight that Lily is white. It is impossible that Bill went to the kitchen. It is almost certain that if 'Lily is white and Bill went to the kitchen' then Bernhard is gray. It is improbable that if 'Bill went to the kitchen and Lily is white' then Sandra left the football. There is little chance that if 'Bill went to the kitchen' or 'Jessica is a sheep' or both then Brian is a swan.,There is almost no chance that either 'Jessica is a sheep' 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.02::factA. 0.1::factB. 0.0::factC. %hop1 0.95::factX:-and(factB,factC). 0.1::factY:-and(factC,factB). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.02,0.6173234646929386,train,almost no chance,likely,There is almost no chance that either 'Jessica is a sheep' or 'Bernhard is gray' but not both.,It is likely that either 'Jessica is a sheep' or 'Bernhard is gray' but not both.,1,Either 'Jessica is a sheep' or 'Bernhard is gray' but not both. It is impossible that Brian is yellow. It is impossible that John grabbed the apple. It is certain that Greg is a rhino. It is highly likely that if either 'Brian is yellow' or 'John grabbed the apple' but not both then Yann is tired. It is certain that if 'Brian is yellow and John grabbed the apple' then Sandra left the milk. It is probably not the case that if 'John grabbed the apple' or 'Greg is a rhino' or both then Lily is white.,It is certain that either 'Greg is a rhino' or 'Yann 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.0::factA. 0.0::factB. 1.0::factC. %hop1 0.9::factX:-xor(factA,factB). 1.0::factY:-and(factA,factB). 0.25::factZ:-or(factB,factC). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",1.0,0.375875175035007,train,certain,almost no chance,It is certain that either 'Greg is a rhino' or 'Yann is tired' but not both.,There is almost no chance that either 'Greg is a rhino' or 'Yann is tired' but not both.,1,Either 'Greg is a rhino' or 'Yann is tired' but not both. We doubt that Emily is a wolf. We believe that John moved to the garden. There is little chance that Greg is a rhino. It is unlikely that if 'Greg is a rhino and John moved to the garden' then Bernhard is white. It is certain that if 'Greg is a rhino and Emily is a wolf' then Lily is a lion. It is improbable that if 'Emily is a wolf and John moved to the garden' then Sandra took the football.,There is almost no chance that either 'Sandra took the football' 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.75::factB. 0.1::factC. %hop1 0.2::factX:-and(factC,factB). 1.0::factY:-and(factC,factA). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.02940000000000001,0.08641728345669134,train,almost no chance,certain,There is almost no chance that either 'Sandra took the football' or 'Bernhard is white' but not both.,It is certain that either 'Sandra took the football' or 'Bernhard is white' but not both.,1,Either 'Sandra took the football' or 'Bernhard is white' but not both. There is a better than even chance that Fred dropped the milk. It is almost certain that Brian is yellow. It is almost certain that Lily is white. It is improbable that if 'Brian is yellow and Fred dropped the milk' then Winona is a mouse. It is certain that if 'Fred dropped the milk' or 'Lily is white' or both then Greg is a rhino. It is impossible that if either 'Fred dropped the milk' or 'Brian is yellow' but not both then Jeff left the apple.,Chances are slight that 'Fred dropped 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.6::factA. 0.95::factB. 0.95::factC. %hop1 0.1::factX:-and(factB,factA). 1.0::factY:-or(factA,factC). 0.0::factZ:-xor(factA,factB). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.6,0.5835167033406682,train,better than even,chances are slight,There is a better than even chance that 'Fred dropped the milk and Greg is a rhino'.,Chances are slight that 'Fred dropped the milk and Greg is a rhino'.,0,'Fred dropped the milk and Greg is a rhino'. There is a very good chance that Julius is a swan. It is probable that John moved to the garden. It is unlikely that Emily is a sheep. It is impossible that if 'Emily is a sheep' or 'Julius is a swan' or both then Winona is a mouse. Chances are slight that if 'Emily is a sheep and Julius is a swan' then Bernhard is green. It is probable that if 'Emily is a sheep and Julius is a swan' then Brian is yellow.,Chances are about even that either 'John moved to the garden' 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.8::factA. 0.7::factB. 0.2::factC. %hop1 0.0::factX:-or(factC,factA). 0.1::factY:-and(factC,factA). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.38,0.11622324464892979,train,about even,impossible,Chances are about even that either 'John moved to the garden' or 'Julius is a swan' but not both.,It is impossible that either 'John moved to the garden' or 'Julius is a swan' but not both.,1,Either 'John moved to the garden' or 'Julius is a swan' but not both. It is improbable that Jessica is a cat. It is certain that Mary discarded the milk. It is likely that Lily is green. It is probable that if 'Jessica is a cat and Lily is green' then Brian is white. There is almost no chance that if 'Jessica is a cat and Lily is green' then Greg is a swan. It is certain that if 'Lily is green and Mary discarded the milk' then Julius is yellow.,It is unlikely that either 'Greg is a swan' 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.1::factA. 1.0::factB. 0.7::factC. %hop1 0.7::factX:-and(factA,factC). 0.02::factY:-and(factA,factC). 1.0::factZ:-and(factC,factB). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.9986,0.4948989797959592,train,certain,unlikely,It is certain that either 'Greg is a swan' or 'Mary discarded the milk' but not both.,It is unlikely that either 'Greg is a swan' or 'Mary discarded the milk' but not both.,0,Either 'Greg is a swan' or 'Mary discarded the milk' but not both. It is impossible that Brian is a rhino. It is certain that Gertrude is a wolf. There is almost no chance that Julius is a swan. Chances are about even that if 'Gertrude is a wolf and Brian is a rhino' then Bernhard is yellow. It is probably not the case that if 'Brian is a rhino' or 'Gertrude is a wolf' or both then John went to the office. It is unlikely that if 'Brian is a rhino and Julius is a swan' then Sandra got the milk.,It is almost certain that 'Gertrude is a wolf 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.0::factA. 1.0::factB. 0.02::factC. %hop1 0.5::factX:-and(factB,factA). 0.25::factY:-or(factA,factB). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.5535107021404281,train,impossible,almost certain,It is impossible that 'Gertrude is a wolf and Brian is a rhino'.,It is almost certain that 'Gertrude is a wolf and Brian is a rhino'.,0,'Gertrude is a wolf and Brian is a rhino'. We believe that John moved to the garden. There is almost no chance that Julius is a lion. Chances are about even that Lily is white. There is little chance that if 'Lily is white and John moved to the garden' then Greg is yellow. Chances are slight that if 'Julius is a lion' or 'John moved to the garden' or both then Daniel left the apple. It is improbable that if 'Julius is a lion and John moved to the garden' then Mary went to the garden.,There is almost no chance that 'Julius is a lion 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.75::factA. 0.02::factB. 0.5::factC. %hop1 0.1::factX:-and(factC,factA). 0.1::factY:-or(factB,factA). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.010000000000000004,0.5369073814762952,train,almost no chance,probable,There is almost no chance that 'Julius is a lion and Lily is white'.,It is probable that 'Julius is a lion and Lily is white'.,1,'Julius is a lion and Lily is white'. There is a better than even chance that John dropped the apple. There is a better than even chance that Bernhard is a lion. It is probable that Julius is a swan. It is unlikely that if 'Julius is a swan and Bernhard is a lion' then Mary went to the bedroom. It is improbable that if either 'Bernhard is a lion' or 'John dropped the apple' but not both then Brian is a frog. There is a very good chance that if either 'John dropped the apple' or 'Julius is a swan' but not both then Lily is a rhino.,It is certain that either 'Julius is a swan' or 'Bernhard 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.6::factA. 0.6::factB. 0.7::factC. %hop1 0.2::factX:-and(factC,factB). 0.1::factY:-xor(factB,factA). 0.8::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.45999999999999996,0.6153230646129226,train,about even,certain,Chances are about even that either 'Julius is a swan' or 'Bernhard is a lion' but not both.,It is certain that either 'Julius is a swan' or 'Bernhard is a lion' but not both.,0,Either 'Julius is a swan' or 'Bernhard is a lion' but not both. We believe that Bernhard is yellow. It is improbable that Jeff dropped the apple. There is little chance that Brian is a lion. It is almost certain that if 'Jeff dropped the apple' or 'Brian is a lion' or both then Greg is a swan. It is certain that if 'Bernhard is yellow and Jeff dropped the apple' then Lily is a rhino. There is little chance that if 'Bernhard is yellow and Jeff dropped the apple' then Mary went to the garden.,We doubt that 'Lily is a rhino' 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.75::factA. 0.1::factB. 0.1::factC. %hop1 0.95::factX:-or(factB,factC). 1.0::factY:-and(factA,factB). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.18425000000000005,0.021004200840168033,train,we doubt,certain,We doubt that 'Lily is a rhino' or 'Greg is a swan' or both.,It is certain that 'Lily is a rhino' or 'Greg is a swan' or both.,1,'Lily is a rhino' or 'Greg is a swan' or both. It is probably not the case that Lily is a frog. It is certain that Greg is green. It is improbable that Jeff moved to the garden. It is probably the case that if either 'Lily is a frog' or 'Jeff moved to the garden' but not both then Mary got the football. There is a better than even chance that if 'Greg is green' or 'Jeff moved to the garden' or both then Brian is a swan. There is almost no chance that if 'Greg is green and Jeff moved to the garden' then John discarded the apple.,There is little chance that either 'John discarded the apple' 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.25::factA. 1.0::factB. 0.1::factC. %hop1 0.7::factX:-xor(factA,factC). 0.6::factY:-or(factB,factC). 0.02::factZ:-and(factB,factC). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.09800000000000002,0.6569313862772554,train,little chance,almost certain,There is little chance that either 'John discarded the apple' or 'Jeff moved to the garden' but not both.,It is almost certain that either 'John discarded the apple' or 'Jeff moved to the garden' but not both.,1,Either 'John discarded the apple' or 'Jeff moved to the garden' but not both. There is little chance that Sandra got the football. It is probably the case that Julius is a frog. We believe that Brian is yellow. It is impossible that if either 'Julius is a frog' or 'Sandra got the football' but not both then Yann is bored. There is little chance that if 'Brian is yellow' or 'Sandra got the football' or both then Jeff went to the bedroom. It is certain that if 'Sandra got the football' or 'Julius is a frog' or both then Winona is a sheep.,It is impossible that 'Yann is bored 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.1::factA. 0.7::factB. 0.75::factC. %hop1 0.0::factX:-xor(factB,factA). 0.1::factY:-or(factC,factA). 1.0::factZ:-or(factA,factB). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.0,0.3406681336267253,train,impossible,highly likely,It is impossible that 'Yann is bored and Julius is a frog'.,It is highly likely that 'Yann is bored and Julius is a frog'.,1,'Yann is bored and Julius is a frog'. It is improbable that Bernhard is a lion. It is unlikely that Mary went to the garden. There is almost no chance that Brian is white. It is likely that if either 'Mary went to the garden' or 'Bernhard is a lion' but not both then Sandra took the milk. It is probably the case that if either 'Bernhard is a lion' or 'Mary went to the garden' but not both then John put down the apple. It is highly likely that if 'Brian is white' or 'Bernhard is a lion' or both then Jessica is a cat.,It is highly likely that either 'Sandra took the milk' 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.02::factC. %hop1 0.7::factX:-xor(factB,factA). 0.7::factY:-xor(factA,factB). 0.9::factZ:-or(factC,factA). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.19472,0.45229045809161833,train,unlikely,highly likely,It is unlikely that either 'Sandra took the milk' or 'Brian is white' but not both.,It is highly likely that either 'Sandra took the milk' or 'Brian is white' but not both.,0,Either 'Sandra took the milk' or 'Brian is white' but not both. We doubt that Greg is yellow. Chances are about even that Brian is green. It is impossible that Mary went to the hallway. There is little chance that if 'Mary went to the hallway' or 'Greg is yellow' or both then John got the apple. We believe that if 'Mary went to the hallway' or 'Greg is yellow' or both then Bernhard is green. It is highly unlikely that if 'Mary went to the hallway' or 'Brian is green' or both then Julius is a frog.,Chances are slight that either 'Bernhard is green' or 'John 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.5::factB. 0.0::factC. %hop1 0.1::factX:-or(factC,factA). 0.75::factY:-or(factC,factA). 0.05::factZ:-or(factC,factB). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.14,0.6003200640128026,train,chances are slight,probable,Chances are slight that either 'Bernhard is green' or 'John got the apple' but not both.,It is probable that either 'Bernhard is green' or 'John got the apple' but not both.,1,Either 'Bernhard is green' or 'John got the apple' but not both. It is unlikely that Lily is green. It is probably not the case that Greg is a rhino. There is almost no chance that Bernhard is white. It is probably not the case that if 'Greg is a rhino' or 'Bernhard is white' or both then Sandra got the milk. We doubt that if either 'Lily is green' or 'Bernhard is white' but not both then Mary went to the hallway. There is a very good chance that if 'Lily is green and Greg is a rhino' then Yann is bored.,It is likely that 'Lily is green' or 'Mary 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.2::factA. 0.25::factB. 0.02::factC. %hop1 0.25::factX:-or(factB,factC). 0.2::factY:-xor(factA,factC). 0.8::factZ:-and(factA,factB). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.20320000000000002,0.5139027805561113,train,we doubt,likely,We doubt that 'Lily is green' or 'Mary went to the hallway' or both.,It is likely that 'Lily is green' or 'Mary went to the hallway' or both.,0,'Lily is green' or 'Mary went to the hallway' or both. There is a better than even chance that John discarded the apple. Chances are about even that Sumit is thirsty. It is highly likely that Brian is a lion. It is impossible that if either 'Brian is a lion' or 'John discarded the apple' but not both then Winona is a wolf. It is certain that if 'Brian is a lion' or 'Sumit is thirsty' or both then Lily is yellow. It is impossible that if 'Brian is a lion' or 'John discarded the apple' or both then Greg is a rhino.,Chances are slight that 'John discarded the apple' 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.6::factA. 0.5::factB. 0.9::factC. %hop1 0.0::factX:-xor(factC,factA). 1.0::factY:-or(factC,factB). 0.0::factZ:-or(factC,factA). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.6,0.45449089817963595,train,better than even,chances are slight,There is a better than even chance that 'John discarded the apple' or 'Greg is a rhino' or both.,Chances are slight that 'John discarded the apple' or 'Greg is a rhino' or both.,0,'John discarded the apple' or 'Greg is a rhino' or both. It is probable that Sumit is thirsty. It is unlikely that Gertrude is a sheep. There is almost no chance that Sandra dropped the milk. It is almost certain that if either 'Sandra dropped the milk' or 'Sumit is thirsty' but not both then Julius is white. It is likely that if 'Sandra dropped the milk' or 'Sumit is thirsty' or both then Brian is white. We doubt that if 'Sandra dropped the milk and Gertrude is a sheep' then Mary got the football.,It is unlikely that 'Mary got the football' 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 0.7::factA. 0.2::factB. 0.02::factC. %hop1 0.95::factX:-xor(factC,factA). 0.7::factY:-or(factC,factA). 0.2::factZ:-and(factC,factB). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.2,0.7783556711342269,train,unlikely,certain,It is unlikely that 'Mary got the football' or 'Gertrude is a sheep' or both.,It is certain that 'Mary got the football' or 'Gertrude is a sheep' or both.,1,'Mary got the football' or 'Gertrude is a sheep' or both. Chances are about even that Sandra dropped the milk. It is highly unlikely that Bernhard is green. There is little chance that Fred is in the school. We doubt that if either 'Fred is in the school' or 'Sandra dropped the milk' but not both then Lily is white. It is impossible that if either 'Sandra dropped the milk' or 'Fred is in the school' but not both then John went to the garden. There is a very good chance that if 'Sandra dropped the milk' or 'Bernhard is green' or both then Greg is yellow.,It is probable that 'Greg is yellow 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.5::factA. 0.05::factB. 0.1::factC. %hop1 0.2::factX:-xor(factC,factA). 0.0::factY:-xor(factA,factC). 0.8::factZ:-or(factA,factB). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.04000000000000001,0.40008001600320064,train,highly unlikely,probable,It is highly unlikely that 'Greg is yellow and Bernhard is green'.,It is probable that 'Greg is yellow and Bernhard is green'.,0,'Greg is yellow and Bernhard is green'. Chances are slight that Greg is yellow. It is impossible that Bernhard is a frog. It is unlikely that Jeff went to the bedroom. There is a better than even chance that if 'Jeff went to the bedroom and Bernhard is a frog' then Sandra took the football. Chances are about even that if either 'Greg is yellow' or 'Bernhard is a frog' but not both then Mary left the milk. Chances are slight that if 'Bernhard is a frog and Jeff went to the bedroom' then Brian is white.,There is a better than even chance 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.0::factB. 0.2::factC. %hop1 0.6::factX:-and(factC,factB). 0.5::factY:-xor(factA,factB). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.0,0.5181036207241448,train,impossible,better than even,It is impossible that 'Brian is white' or 'Bernhard is a frog' or both.,There is a better than even chance 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 Jessica is a cat. Chances are about even that Gertrude is a wolf. Chances are about even that Fred discarded the apple. There is little chance that if 'Gertrude is a wolf and Jessica is a cat' then Bernhard is green. It is unlikely that if 'Fred discarded the apple and Gertrude is a wolf' then Brian is gray. It is likely that if 'Gertrude is a wolf and Jessica is a cat' then John moved to the office.,We believe that 'Gertrude is a wolf' or 'Fred 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.6::factA. 0.5::factB. 0.5::factC. %hop1 0.1::factX:-and(factB,factA). 0.2::factY:-and(factC,factB). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.75,0.32026405281056214,train,we believe,little chance,We believe that 'Gertrude is a wolf' or 'Fred discarded the apple' or both.,There is little chance that 'Gertrude is a wolf' or 'Fred discarded the apple' or both.,1,'Gertrude is a wolf' or 'Fred discarded the apple' or both. There is a very good chance that Brian is yellow. It is probably not the case that Daniel took the apple. It is unlikely that Greg is a frog. It is highly unlikely that if 'Daniel took the apple' or 'Greg is a frog' or both then Bernhard is a swan. It is certain that if 'Greg is a frog' or 'Daniel took the apple' or both then John went to the kitchen. It is improbable that if 'Brian is yellow and Greg is a frog' then Mary picked up the milk.,Chances are about even that 'Greg is a frog' or 'John 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.8::factA. 0.25::factB. 0.2::factC. %hop1 0.05::factX:-or(factB,factC). 1.0::factY:-or(factC,factB). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.4,0.4034806961392278,train,about even,highly unlikely,Chances are about even that 'Greg is a frog' or 'John went to the kitchen' or both.,It is highly unlikely that 'Greg is a frog' or 'John went to the kitchen' or both.,1,'Greg is a frog' or 'John went to the kitchen' or both. It is probable that Bernhard is a frog. It is highly likely that Brian is a rhino. It is probably not the case that Jason is tired. It is highly likely that if 'Jason is tired' or 'Brian is a rhino' or both then John put down the apple. We doubt that if either 'Bernhard is a frog' or 'Jason is tired' but not both then Lily is a swan. It is almost certain that if 'Jason is tired and Bernhard is a frog' then Mary left the football.,It is likely that either 'Mary left the football' 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.7::factA. 0.9::factB. 0.25::factC. %hop1 0.9::factX:-or(factC,factB). 0.2::factY:-xor(factA,factC). 0.95::factZ:-and(factC,factA). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.6995,0.09221844368873774,train,likely,highly unlikely,It is likely that either 'Mary left the football' or 'John put down the apple' but not both.,It is highly unlikely that either 'Mary left the football' or 'John put down the apple' but not both.,1,Either 'Mary left the football' or 'John put down the apple' but not both. It is probable that Julius is gray. It is certain that Bernhard is green. It is highly likely that Mary took the football. It is unlikely that if either 'Bernhard is green' or 'Mary took the football' but not both then Lily is green. There is a better than even chance that if 'Julius is gray and Bernhard is green' then Winona is a mouse. It is impossible that if either 'Julius is gray' or 'Mary took the football' but not both then John discarded the milk.,There is almost no chance that 'Lily is green' or 'John discarded 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. 1.0::factB. 0.9::factC. %hop1 0.2::factX:-xor(factB,factC). 0.6::factY:-and(factA,factB). 0.0::factZ:-xor(factA,factC). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.019999999999999993,0.23264652930586116,train,almost no chance,probable,There is almost no chance that 'Lily is green' or 'John discarded the milk' or both.,It is probable that 'Lily is green' or 'John discarded the milk' or both.,1,'Lily is green' or 'John discarded the milk' or both. We doubt that Mary left the football. It is likely that Bernhard is a swan. It is likely that Lily is a lion. It is unlikely that if 'Mary left the football and Bernhard is a swan' then Antoine is thirsty. There is a better than even chance that if 'Mary left the football' or 'Lily is a lion' or both then John moved to the garden. There is a very good chance that if 'Mary left the football' or 'Lily is a lion' or both then Brian is yellow.,It is likely that 'Brian is yellow and Antoine 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.2::factA. 0.7::factB. 0.7::factC. %hop1 0.2::factX:-and(factA,factB). 0.6::factY:-or(factA,factC). 0.8::factZ:-or(factA,factC). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.022400000000000003,0.24424884976995398,train,almost no chance,likely,There is almost no chance that 'Brian is yellow and Antoine is thirsty'.,It is likely that 'Brian is yellow and Antoine is thirsty'.,0,'Brian is yellow and Antoine is thirsty'. It is unlikely that Brian is a swan. There is a better than even chance that Daniel left the milk. It is probably the case that John put down the apple. There is a very good chance that if 'Daniel left the milk' or 'John put down the apple' or both then Bernhard is green. There is a very good chance that if 'Brian is a swan and Daniel left the milk' then Mary dropped the milk. Chances are slight that if 'Brian is a swan and John put down the apple' then Lily is yellow.,It is probable that 'Daniel left the milk 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.2::factA. 0.6::factB. 0.7::factC. %hop1 0.8::factX:-or(factB,factC). 0.8::factY:-and(factA,factB). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.008399999999999998,0.21664332866573316,train,impossible,probable,It is impossible that 'Daniel left the milk and Lily is yellow'.,It is probable that 'Daniel left the milk and Lily is yellow'.,0,'Daniel left the milk and Lily is yellow'. Chances are slight that Winona is a mouse. There is almost no chance that Greg is a rhino. There is almost no chance that Mary got the football. It is probably not the case that if 'Winona is a mouse' or 'Mary got the football' or both then Fred is in the office. It is probably the case that if 'Winona is a mouse' or 'Mary got the football' or both then Antoine is hungry. It is improbable that if 'Mary got the football' or 'Winona is a mouse' or both then Lily is a lion.,There is a better than even chance that 'Winona is a mouse' 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.1::factA. 0.02::factB. 0.02::factC. %hop1 0.25::factX:-or(factA,factC). 0.7::factY:-or(factA,factC). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.11800000000000002,0.13742748549709943,train,little chance,better than even,There is little chance that 'Winona is a mouse' or 'Greg is a rhino' or both.,There is a better than even chance that 'Winona is a mouse' or 'Greg is a rhino' or both.,0,'Winona is a mouse' or 'Greg is a rhino' or both. It is almost certain that Brian is white. It is certain that Mary left the football. There is little chance that Sandra dropped the milk. It is probably not the case that if 'Sandra dropped the milk and Mary left the football' then Greg is a lion. It is impossible that if 'Brian is white and Mary left the football' then Bernhard is a frog. It is highly unlikely that if 'Mary left the football' or 'Brian is white' or both then John picked up the apple.,It is likely that 'John picked up the apple 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.95::factA. 1.0::factB. 0.1::factC. %hop1 0.25::factX:-and(factC,factB). 0.0::factY:-and(factA,factB). 0.05::factZ:-or(factB,factA). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.0,0.6357271454290858,train,impossible,likely,It is impossible that 'John picked up the apple and Bernhard is a frog'.,It is likely that 'John picked up the apple and Bernhard is a frog'.,0,'John picked up the apple and Bernhard is a frog'. We believe that Daniel put down the milk. We believe that Yann is tired. It is probable that Mary picked up the apple. It is probably the case that if 'Yann is tired' or 'Daniel put down the milk' or both then Bernhard is green. It is impossible that if 'Mary picked up the apple and Yann is tired' then John took the football. Chances are slight that if 'Daniel put down the milk and Mary picked up the apple' then Julius is a lion.,It is likely that 'Daniel put down 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.75::factA. 0.75::factB. 0.7::factC. %hop1 0.7::factX:-or(factB,factA). 0.0::factY:-and(factC,factB). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.05250000000000002,0.46509301860372076,train,highly unlikely,likely,It is highly unlikely that 'Daniel put down the milk and Julius is a lion'.,It is likely that 'Daniel put down the milk and Julius is a lion'.,0,'Daniel put down the milk and Julius is a lion'. It is probably not the case that Julius is a swan. It is unlikely that Winona is a mouse. It is probably not the case that Fred moved to the office. There is a very good chance that if either 'Fred moved to the office' or 'Julius is a swan' but not both then Brian is yellow. Chances are about even that if 'Winona is a mouse and Fred moved to the office' then Mary took the football. It is impossible that if either 'Fred moved to the office' or 'Julius is a swan' but not both then John dropped the milk.,It is likely that 'Brian is yellow and Winona 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.25::factA. 0.2::factB. 0.25::factC. %hop1 0.8::factX:-xor(factC,factA). 0.5::factY:-and(factB,factC). 0.0::factZ:-xor(factC,factA). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.06,0.052810562112422486,train,highly unlikely,likely,It is highly unlikely that 'Brian is yellow and Winona is a mouse'.,It is likely that 'Brian is yellow and Winona is a mouse'.,0,'Brian is yellow and Winona is a mouse'. It is improbable that Gertrude is a sheep. It is highly likely that Brian is yellow. It is unlikely that Julius is a lion. There is little chance that if 'Gertrude is a sheep' or 'Julius is a lion' or both then Bernhard is a swan. There is little chance that if 'Gertrude is a sheep and Julius is a lion' then Greg is gray. It is unlikely that if 'Gertrude is a sheep' or 'Brian is yellow' or both then John left the milk.,We believe that either 'Julius is a lion' 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.1::factA. 0.9::factB. 0.2::factC. %hop1 0.1::factX:-or(factA,factC). 0.1::factY:-and(factA,factC). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.74,0.46549309861972393,train,we believe,chances are slight,We believe that either 'Julius is a lion' or 'Brian is yellow' but not both.,Chances are slight that either 'Julius is a lion' or 'Brian is yellow' but not both.,1,Either 'Julius is a lion' or 'Brian is yellow' but not both. It is highly unlikely that Greg is a rhino. It is likely that Bill went to the garden. There is a very good chance that Gertrude is a wolf. There is almost no chance that if 'Gertrude is a wolf and Bill went to the garden' then Sumit is hungry. There is a very good chance that if 'Gertrude is a wolf' or 'Bill went to the garden' or both then John discarded the milk. There is a better than even chance that if either 'Greg is a rhino' or 'Gertrude is a wolf' but not both then Julius is a swan.,It is probable that either 'John discarded the milk' 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 0.05::factA. 0.7::factB. 0.8::factC. %hop1 0.02::factX:-and(factC,factB). 0.8::factY:-or(factC,factB). 0.6::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.27199999999999996,0.45809161832366474,train,probably not,probable,It is probably not the case that either 'John discarded the milk' or 'Gertrude is a wolf' but not both.,It is probable that either 'John discarded the milk' or 'Gertrude is a wolf' but not both.,0,Either 'John discarded the milk' or 'Gertrude is a wolf' but not both. There is a better than even chance that Brian is white. Chances are about even that Fred dropped the apple. It is almost certain that Gertrude is a sheep. It is probably not the case that if 'Fred dropped the apple' or 'Gertrude is a sheep' or both then Daniel left the football. It is impossible that if 'Brian is white' or 'Fred dropped the apple' or both then Greg is a frog. There is a very good chance that if 'Fred dropped the apple' or 'Brian is white' or both then Lily is a rhino.,It is probable that 'Daniel left the football 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.6::factA. 0.5::factB. 0.95::factC. %hop1 0.25::factX:-or(factB,factC). 0.0::factY:-or(factA,factB). 0.8::factZ:-or(factB,factA). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.14625,0.4332866573314663,train,chances are slight,probable,Chances are slight that 'Daniel left the football and Brian is white'.,It is probable that 'Daniel left the football and Brian is white'.,0,'Daniel left the football and Brian is white'. It is almost certain that Bill moved to the office. There is little chance that Emily is a mouse. It is certain that John grabbed the apple. It is highly unlikely that if 'Bill moved to the office' or 'Emily is a mouse' or both then Gertrude is a cat. It is highly likely that if 'Bill moved to the office' or 'John grabbed the apple' or both then Lily is green. It is almost certain that if 'Bill moved to the office and John grabbed the apple' then Greg is yellow.,We doubt that 'John grabbed 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.95::factA. 0.1::factB. 1.0::factC. %hop1 0.05::factX:-or(factA,factB). 0.9::factY:-or(factA,factC). 0.95::factZ:-and(factA,factC). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.9025,0.7875575115023005,train,highly likely,we doubt,It is highly likely that 'John grabbed the apple and Greg is yellow'.,We doubt that 'John grabbed the apple and Greg is yellow'.,0,'John grabbed the apple and Greg is yellow'. There is a better than even chance that Winona is a mouse. We doubt that Gertrude is a mouse. There is almost no chance that Jeff discarded the milk. We believe that if 'Winona is a mouse' or 'Gertrude is a mouse' or both then Mary moved to the office. We doubt that if either 'Winona is a mouse' or 'Gertrude is a mouse' but not both then Brian is a lion. It is highly unlikely that if 'Jeff discarded the milk' or 'Winona is a mouse' or both then Julius is green.,It is impossible that 'Gertrude is a mouse 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.2::factB. 0.02::factC. %hop1 0.75::factX:-or(factA,factB). 0.2::factY:-xor(factA,factB). 0.05::factZ:-or(factC,factA). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.004000000000000002,0.05061012202440488,train,impossible,probably,It is impossible that 'Gertrude is a mouse and Jeff discarded the milk'.,It is probably the case that 'Gertrude is a mouse and Jeff discarded the milk'.,1,'Gertrude is a mouse and Jeff discarded the milk'. We doubt that Julius is a rhino. It is probable that Bernhard is green. It is probably not the case that John got the milk. It is probable that if 'Julius is a rhino' or 'Bernhard is green' or both then Bill went to the garden. Chances are about even that if either 'Julius is a rhino' or 'John got the milk' but not both then Greg is a lion. There is little chance that if 'John got the milk and Bernhard is green' then Brian is a frog.,It is highly likely that 'Brian is a frog 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.2::factA. 0.7::factB. 0.25::factC. %hop1 0.7::factX:-or(factA,factB). 0.5::factY:-xor(factA,factC). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.007000000000000003,0.629125825165033,train,impossible,highly likely,It is impossible that 'Brian is a frog and Greg is a lion'.,It is highly likely that 'Brian is a frog and Greg is a lion'.,0,'Brian is a frog and Greg is a lion'. It is likely that Greg is a lion. Chances are slight that Gertrude is a sheep. It is probable that Bill went to the office. We believe that if either 'Greg is a lion' or 'Gertrude is a sheep' but not both then Bernhard is a swan. We believe that if 'Bill went to the office' or 'Greg is a lion' or both then John dropped the apple. It is probable that if 'Greg is a lion' or 'Gertrude is a sheep' or both then Mary left the football.,It is highly unlikely that 'Greg is a lion and John 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.7::factA. 0.1::factB. 0.7::factC. %hop1 0.75::factX:-xor(factA,factB). 0.75::factY:-or(factC,factA). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.525,0.022404480896179236,train,about even,highly unlikely,Chances are about even that 'Greg is a lion and John dropped the apple'.,It is highly unlikely that 'Greg is a lion and John dropped the apple'.,0,'Greg is a lion and John dropped the apple'. It is highly unlikely that Bernhard is gray. It is highly unlikely that Sandra took the milk. We believe that Fred moved to the office. It is highly likely that if 'Fred moved to the office and Sandra took the milk' then Bill went to the bedroom. Chances are about even that if 'Bernhard is gray and Fred moved to the office' then Julius is a swan. There is a better than even chance that if either 'Fred moved to the office' or 'Sandra took the milk' but not both then Mary dropped the milk.,We believe that 'Fred moved to the office' 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.05::factA. 0.05::factB. 0.75::factC. %hop1 0.9::factX:-and(factC,factB). 0.5::factY:-and(factA,factC). 0.6::factZ:-xor(factC,factB). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.7575000000000001,0.4392878575715143,train,we believe,highly unlikely,We believe that 'Fred moved to the office' or 'Mary dropped the milk' or both.,It is highly unlikely that 'Fred moved to the office' or 'Mary dropped the milk' or both.,1,'Fred moved to the office' or 'Mary dropped the milk' or both. It is impossible that Brian is white. It is highly likely that Mary grabbed the milk. We doubt that Lily is a rhino. It is likely that if 'Brian is white and Lily is a rhino' then Sandra dropped the milk. Chances are about even that if 'Lily is a rhino' or 'Brian is white' or both then John discarded the apple. It is probable that if 'Lily is a rhino and Mary grabbed the milk' then Bernhard is a swan.,It is likely 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.0::factA. 0.9::factB. 0.2::factC. %hop1 0.7::factX:-and(factA,factC). 0.5::factY:-or(factC,factA). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.2,0.7051410282056412,train,we doubt,likely,We doubt that either 'Lily is a rhino' or 'Brian is white' but not both.,It is likely 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 highly unlikely that Julius is yellow. It is impossible that Sandra is in the kitchen. There is almost no chance that John left the apple. There is a better than even chance that if either 'Sandra is in the kitchen' or 'John left the apple' but not both then Emily is a sheep. We believe that if either 'Julius is yellow' or 'Sandra is in the kitchen' but not both then Mary moved to the office. It is probably the case that if either 'Julius is yellow' or 'John left the apple' but not both then Lily is a lion.,There is almost no chance that 'Mary moved to the office 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.05::factA. 0.0::factB. 0.02::factC. %hop1 0.6::factX:-xor(factB,factC). 0.75::factY:-xor(factA,factB). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.025725000000000005,0.2544508901780356,train,almost no chance,probable,There is almost no chance that 'Mary moved to the office and Lily is a lion'.,It is probable that 'Mary moved to the office and Lily is a lion'.,1,'Mary moved to the office and Lily is a lion'. It is highly unlikely that Daniel took the milk. There is a better than even chance that Jason is tired. We believe that Brian is a swan. It is unlikely that if 'Brian is a swan' or 'Daniel took the milk' or both then Jessica is a mouse. We believe that if 'Jason is tired and Brian is a swan' then Lily is white. It is impossible that if 'Daniel took the milk and Jason is tired' then John went to the garden.,We doubt that 'Jessica is a mouse' or 'John 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.05::factA. 0.6::factB. 0.75::factC. %hop1 0.2::factX:-or(factC,factA). 0.75::factY:-and(factB,factC). 0.0::factZ:-and(factA,factB). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.1525,0.33186637327465496,train,we doubt,very good chance,We doubt that 'Jessica is a mouse' or 'John went to the garden' or both.,There is a very good chance that 'Jessica is a mouse' or 'John went to the garden' or both.,1,'Jessica is a mouse' or 'John went to the garden' or both. It is probably not the case that John went to the hallway. It is unlikely that Lily is a swan. There is little chance that Bernhard is a lion. We believe that if either 'John went to the hallway' or 'Lily is a swan' but not both then Julius is gray. There is little chance that if 'Bernhard is a lion' or 'John went to the hallway' or both then Brian is a rhino. There is a better than even chance that if 'Bernhard is a lion and Lily is a swan' then Greg is a swan.,Chances are about even that 'Bernhard is a lion 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.25::factA. 0.2::factB. 0.1::factC. %hop1 0.75::factX:-xor(factA,factB). 0.1::factY:-or(factC,factA). 0.6::factZ:-and(factC,factB). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.026250000000000016,0.20904180836167233,train,almost no chance,about even,There is almost no chance that 'Bernhard is a lion and Julius is gray'.,Chances are about even that 'Bernhard is a lion and Julius is gray'.,0,'Bernhard is a lion and Julius is gray'. We believe that Sandra grabbed the apple. We believe that John took the football. Chances are about even that Bernhard is green. It is impossible that if 'Bernhard is green' or 'Sandra grabbed the apple' or both then Brian is yellow. It is probably not the case that if either 'John took the football' or 'Sandra grabbed the apple' but not both then Jessica is a cat. It is highly unlikely that if either 'Bernhard is green' or 'Sandra grabbed the apple' but not both then Mary dropped the milk.,It is certain that 'Jessica is a cat' 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.75::factA. 0.75::factB. 0.5::factC. %hop1 0.0::factX:-or(factC,factA). 0.25::factY:-xor(factB,factA). 0.05::factZ:-xor(factC,factA). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.11640625000000002,0.7767553510702141,train,little chance,certain,There is little chance that 'Jessica is a cat' or 'Mary dropped the milk' or both.,It is certain that 'Jessica is a cat' or 'Mary dropped the milk' or both.,0,'Jessica is a cat' or 'Mary dropped the milk' or both. It is highly likely that Antoine is thirsty. Chances are about even that Bill went to the kitchen. There is almost no chance that Greg is gray. It is unlikely that if either 'Greg is gray' or 'Antoine is thirsty' but not both then Daniel put down the milk. It is almost certain that if either 'Bill went to the kitchen' or 'Greg is gray' but not both then John discarded the apple. There is a very good chance that if either 'Antoine is thirsty' or 'Bill went to the kitchen' but not both then Bernhard is yellow.,It is impossible that 'Antoine is thirsty' or 'Greg 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.5::factB. 0.02::factC. %hop1 0.2::factX:-xor(factC,factA). 0.95::factY:-xor(factB,factC). 0.8::factZ:-xor(factA,factB). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.902,0.4470894178835767,train,highly likely,impossible,It is highly likely that 'Antoine is thirsty' or 'Greg is gray' or both.,It is impossible that 'Antoine is thirsty' or 'Greg is gray' or both.,0,'Antoine is thirsty' or 'Greg is gray' or both. We believe that Greg is a frog. We doubt that Jessica is a cat. It is likely that Bernhard is yellow. It is unlikely that if 'Bernhard is yellow' or 'Greg is a frog' or both then John picked up the apple. It is certain that if 'Bernhard is yellow' or 'Greg is a frog' or both then Lily is a rhino. It is highly unlikely that if either 'Greg is a frog' or 'Jessica is a cat' but not both then Mary went to the office.,It is highly likely that either 'Lily is a rhino' 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.75::factA. 0.2::factB. 0.7::factC. %hop1 0.2::factX:-or(factC,factA). 1.0::factY:-or(factC,factA). 0.05::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.894,0.01820364072814563,train,highly likely,impossible,It is highly likely that either 'Lily is a rhino' or 'Mary went to the office' but not both.,It is impossible that either 'Lily is a rhino' or 'Mary went to the office' but not both.,1,Either 'Lily is a rhino' or 'Mary went to the office' but not both. Chances are about even that John went to the garden. It is unlikely that Lily is a rhino. It is probably the case that Mary left the apple. We doubt that if either 'Mary left the apple' or 'John went to the garden' but not both then Yann is tired. It is almost certain that if 'John went to the garden' or 'Lily is a rhino' or both then Gertrude is a sheep. There is a very good chance that if either 'Mary left the apple' or 'Lily is a rhino' but not both then Brian is gray.,It is almost certain that either 'Brian is gray' or 'John 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.2::factB. 0.7::factC. %hop1 0.2::factX:-xor(factC,factA). 0.95::factY:-or(factA,factB). 0.8::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.5000000000000001,0.35427085417083415,train,about even,almost certain,Chances are about even that either 'Brian is gray' or 'John went to the garden' but not both.,It is almost certain that either 'Brian is gray' or 'John went to the garden' but not both.,0,Either 'Brian is gray' or 'John went to the garden' but not both. It is probably not the case that Sandra left the milk. It is unlikely that Mary moved to the office. It is probably the case that Julius is a frog. We doubt that if 'Julius is a frog' or 'Mary moved to the office' or both then Bernhard is gray. Chances are slight that if 'Sandra left the milk' or 'Mary moved to the office' or both then John went to the hallway. It is likely that if 'Mary moved to the office and Julius is a frog' then Daniel got the apple.,It is probable that either 'Bernhard is gray' or 'John went to the hallway' 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.2::factB. 0.7::factC. %hop1 0.2::factX:-or(factC,factB). 0.1::factY:-or(factA,factB). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.17840000000000006,0.46709341868373677,train,we doubt,probable,We doubt that either 'Bernhard is gray' or 'John went to the hallway' but not both.,It is probable that either 'Bernhard is gray' or 'John went to the hallway' but not both.,0,Either 'Bernhard is gray' or 'John went to the hallway' but not both. It is probably not the case that Bernhard is white. It is highly unlikely that Sandra grabbed the apple. Chances are slight that Julius is white. We doubt that if 'Julius is white' or 'Bernhard is white' or both then Winona is a cat. It is likely that if 'Bernhard is white and Sandra grabbed the apple' then Brian is a rhino. We believe that if 'Julius is white' or 'Bernhard is white' or both then Mary went to the garden.,It is probably not the case that 'Bernhard is white' 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.25::factA. 0.05::factB. 0.1::factC. %hop1 0.2::factX:-or(factC,factA). 0.7::factY:-and(factA,factB). 0.75::factZ:-or(factC,factA). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.3062500000000001,0.20284056811362272,train,probably not,we believe,It is probably not the case that 'Bernhard is white' or 'Mary went to the garden' or both.,We believe that 'Bernhard is white' or 'Mary went to the garden' or both.,1,'Bernhard is white' or 'Mary went to the garden' or both. There is almost no chance that Brian is white. There is a better than even chance that Greg is a swan. It is improbable that Julius is a frog. We doubt that if 'Brian is white and Julius is a frog' then Mary went to the hallway. It is impossible that if 'Julius is a frog' or 'Greg is a swan' or both then Bernhard is yellow. We doubt that if 'Julius is a frog and Brian is white' then John put down the milk.,Chances are slight that 'Julius is a frog' or 'Bernhard 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.6::factB. 0.1::factC. %hop1 0.2::factX:-and(factA,factC). 0.0::factY:-or(factC,factB). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.10000000000000002,0.34566913382676534,train,chances are slight,probable,Chances are slight that 'Julius is a frog' or 'Bernhard is yellow' or both.,It is probable that 'Julius is a frog' or 'Bernhard is yellow' or both.,1,'Julius is a frog' or 'Bernhard is yellow' or both. We believe that John got the apple. It is unlikely that Greg is a swan. It is likely that Brian is a frog. We believe that if either 'John got the apple' or 'Greg is a swan' but not both then Bernhard is yellow. It is impossible that if 'Greg is a swan and John got the apple' then Julius is a lion. It is probably not the case that if 'Brian is a frog and John got the apple' then Mary left the milk.,There is a better than even chance that 'Julius is a lion and Brian 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.2::factB. 0.7::factC. %hop1 0.75::factX:-xor(factA,factB). 0.0::factY:-and(factB,factA). 0.25::factZ:-and(factC,factA). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.0,0.17343468693738748,train,impossible,better than even,It is impossible that 'Julius is a lion and Brian is a frog'.,There is a better than even chance that 'Julius is a lion and Brian is a frog'.,0,'Julius is a lion and Brian is a frog'. It is likely that Brian is a frog. Chances are slight that Sumit is tired. It is probably not the case that Jessica is a wolf. It is likely that if 'Jessica is a wolf' or 'Sumit is tired' or both then Sandra took the football. It is certain that if either 'Brian is a frog' or 'Jessica is a wolf' but not both then Greg is yellow. Chances are about even that if either 'Sumit is tired' or 'Brian is a frog' but not both then Mary went to the garden.,It is likely that 'Mary went to the garden' or 'Brian 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.7::factA. 0.1::factB. 0.25::factC. %hop1 0.7::factX:-or(factC,factB). 1.0::factY:-xor(factA,factC). 0.5::factZ:-xor(factB,factA). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.715,0.34806961392278457,train,likely,improbable,It is likely that 'Mary went to the garden' or 'Brian is a frog' or both.,It is improbable that 'Mary went to the garden' or 'Brian is a frog' or both.,1,'Mary went to the garden' or 'Brian is a frog' or both. It is probably the case that John discarded the apple. It is certain that Emily is a sheep. It is impossible that Lily is a lion. It is almost certain that if 'Lily is a lion' or 'Emily is a sheep' or both then Sandra got the football. Chances are about even that if 'Lily is a lion and Emily is a sheep' then Daniel left the milk. It is impossible that if 'Emily is a sheep' or 'John discarded the apple' or both then Bernhard is yellow.,It is impossible that 'John discarded the apple' or 'Bernhard 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.7::factA. 1.0::factB. 0.0::factC. %hop1 0.95::factX:-or(factC,factB). 0.5::factY:-and(factC,factB). 0.0::factZ:-or(factB,factA). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.7,0.7219443888777756,train,probable,impossible,It is probable that 'John discarded the apple' or 'Bernhard is yellow' or both.,It is impossible that 'John discarded the apple' or 'Bernhard is yellow' or both.,0,'John discarded the apple' or 'Bernhard is yellow' or both. It is improbable that Sandra dropped the milk. It is unlikely that John picked up the apple. It is likely that Greg is gray. It is impossible that if either 'Greg is gray' or 'John picked up the apple' but not both then Julius is a frog. Chances are slight that if either 'Sandra dropped the milk' or 'John picked up the apple' but not both then Antoine is thirsty. It is almost certain that if 'Sandra dropped the milk' or 'Greg is gray' or both then Emily is a sheep.,It is probably not the case that either 'Sandra dropped the milk' 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.1::factA. 0.2::factB. 0.7::factC. %hop1 0.0::factX:-xor(factC,factB). 0.1::factY:-xor(factA,factB). 0.95::factZ:-or(factA,factC). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.26,0.7011402280456092,train,probably not,likely,It is probably not the case that either 'Sandra dropped the milk' or 'John picked up the apple' but not both.,It is likely that either 'Sandra dropped the milk' or 'John picked up the apple' but not both.,1,Either 'Sandra dropped the milk' or 'John picked up the apple' but not both. We doubt that Greg is a frog. It is likely that John discarded the apple. It is highly unlikely that Winona is a mouse. It is unlikely that if 'Winona is a mouse' or 'John discarded the apple' or both then Brian is a swan. It is probably not the case that if 'Winona is a mouse and Greg is a frog' then Julius is a swan. We believe that if 'Greg is a frog' or 'Winona is a mouse' or both then Bernhard is a lion.,There is almost no chance that 'Greg is a frog and Winona 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.05::factC. %hop1 0.2::factX:-or(factC,factB). 0.25::factY:-and(factC,factA). 0.75::factZ:-or(factA,factC). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.010000000000000004,0.10382076415283056,train,almost no chance,we believe,There is almost no chance that 'Greg is a frog and Winona is a mouse'.,We believe that 'Greg is a frog and Winona is a mouse'.,1,'Greg is a frog and Winona is a mouse'. There is little chance that Lily is green. There is a very good chance that Bill went to the kitchen. It is impossible that Greg is a frog. Chances are about even that if 'Lily is green and Bill went to the kitchen' then Bernhard is white. We doubt that if 'Bill went to the kitchen and Lily is green' then Winona is a sheep. We believe that if 'Lily is green' or 'Greg is a frog' or both then John dropped the apple.,There is a better than even chance that either 'John dropped the apple' or 'Lily 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.8::factB. 0.0::factC. %hop1 0.5::factX:-and(factA,factB). 0.2::factY:-and(factB,factA). 0.75::factZ:-or(factA,factC). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.025000000000000012,0.13382676535307061,train,almost no chance,better than even,There is almost no chance that either 'John dropped the apple' or 'Lily is green' but not both.,There is a better than even chance that either 'John dropped the apple' or 'Lily is green' but not both.,0,Either 'John dropped the apple' or 'Lily is green' but not both. It is certain that John put down the apple. We believe that Lily is gray. There is almost no chance that Brian is a swan. It is almost certain that if 'John put down the apple and Lily is gray' then Sandra dropped the milk. It is almost certain that if either 'John put down the apple' or 'Brian is a swan' but not both then Bernhard is a rhino. It is unlikely that if 'Brian is a swan and John put down the apple' then Julius is a lion.,It is probably not the case that either 'Lily is gray' 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 1.0::factA. 0.75::factB. 0.02::factC. %hop1 0.95::factX:-and(factA,factB). 0.95::factY:-xor(factA,factC). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.25,0.5509101820364073,train,probably not,almost certain,It is probably not the case that either 'Lily is gray' or 'John put down the apple' but not both.,It is almost certain that either 'Lily is gray' or 'John put down the apple' but not both.,1,Either 'Lily is gray' or 'John put down the apple' but not both. There is a better than even chance that Brian is a frog. We believe that Bernhard is gray. Chances are about even that Daniel got the milk. There is little chance that if 'Bernhard is gray and Daniel got the milk' then Julius is a lion. It is almost certain that if 'Bernhard is gray' or 'Brian is a frog' or both then Sandra left the apple. Chances are about even that if either 'Brian is a frog' or 'Daniel got the milk' but not both then Mary went to the hallway.,We believe that 'Julius is a lion' 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.6::factA. 0.75::factB. 0.5::factC. %hop1 0.1::factX:-and(factB,factC). 0.95::factY:-or(factB,factA). 0.5::factZ:-xor(factA,factC). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.75,0.4492898579715943,train,we believe,chances are slight,We believe that 'Julius is a lion' or 'Bernhard is gray' or both.,Chances are slight that 'Julius is a lion' or 'Bernhard is gray' or both.,1,'Julius is a lion' or 'Bernhard is gray' or both. We doubt that Jessica is a mouse. It is probable that Greg is a swan. There is little chance that Mary went to the garden. It is certain that if 'Jessica is a mouse and Greg is a swan' then John grabbed the apple. It is likely that if 'Mary went to the garden' or 'Greg is a swan' or both then Sandra got the milk. Chances are about even that if 'Mary went to the garden and Greg is a swan' then Brian is a lion.,We believe that either 'Brian is a lion' 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.2::factA. 0.7::factB. 0.1::factC. %hop1 1.0::factX:-and(factA,factB). 0.7::factY:-or(factC,factB). 0.5::factZ:-and(factC,factB). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.22100000000000003,0.48269653930786155,train,we doubt,we believe,We doubt that either 'Brian is a lion' or 'Jessica is a mouse' but not both.,We believe that either 'Brian is a lion' or 'Jessica is a mouse' but not both.,0,Either 'Brian is a lion' or 'Jessica is a mouse' but not both. It is highly unlikely that Julius is yellow. There is a better than even chance that Emily is a sheep. There is a very good chance that Lily is a rhino. It is highly unlikely that if either 'Emily is a sheep' or 'Julius is yellow' but not both then Greg is a lion. It is improbable that if 'Lily is a rhino and Emily is a sheep' then Jessica is a sheep. It is unlikely that if 'Julius is yellow and Lily is a rhino' then John went to the kitchen.,It is impossible that 'John went to the kitchen 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.05::factA. 0.6::factB. 0.8::factC. %hop1 0.05::factX:-xor(factB,factA). 0.1::factY:-and(factC,factB). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.00016,0.6605321064212842,train,impossible,better than even,It is impossible that 'John went to the kitchen and Greg is a lion'.,There is a better than even chance that 'John went to the kitchen and Greg is a lion'.,1,'John went to the kitchen and Greg is a lion'. We believe that Julius is a rhino. There is a very good chance that Lily is a swan. It is probably not the case that John left the apple. It is highly likely that if 'John left the apple' or 'Lily is a swan' or both then Mary went to the bedroom. It is likely that if either 'Julius is a rhino' or 'Lily is a swan' but not both then Winona is a mouse. It is highly likely that if either 'Julius is a rhino' or 'Lily is a swan' but not both then Sandra took the football.,It is highly likely that 'Lily is a swan' 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.75::factA. 0.8::factB. 0.25::factC. %hop1 0.9::factX:-or(factC,factB). 0.7::factY:-xor(factA,factB). 0.9::factZ:-xor(factA,factB). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.905,0.16523304660932187,train,highly likely,unlikely,It is highly likely that 'Lily is a swan' or 'Winona is a mouse' or both.,It is unlikely that 'Lily is a swan' or 'Winona is a mouse' or both.,1,'Lily is a swan' or 'Winona is a mouse' or both. We believe that Greg is gray. It is almost certain that Julius is white. There is little chance that Mary went to the bedroom. It is highly likely that if 'Greg is gray' or 'Julius is white' or both then Daniel took the apple. It is likely that if either 'Mary went to the bedroom' or 'Greg is gray' but not both then Lily is a swan. It is highly unlikely that if 'Julius is white' or 'Mary went to the bedroom' or both then Bernhard is a rhino.,It is probably the case that either 'Greg is gray' 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.75::factA. 0.95::factB. 0.1::factC. %hop1 0.9::factX:-or(factA,factB). 0.7::factY:-xor(factC,factA). 0.05::factZ:-or(factB,factC). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.7,0.6699339867973595,train,probably,little chance,It is probably the case that either 'Greg is gray' or 'Mary went to the bedroom' but not both.,There is little chance that either 'Greg is gray' or 'Mary went to the bedroom' but not both.,1,Either 'Greg is gray' or 'Mary went to the bedroom' but not both. It is likely that Lily is yellow. It is probably not the case that John went to the garden. Chances are about even that Bernhard is a lion. It is improbable that if 'John went to the garden' or 'Bernhard is a lion' or both then Sandra took the football. There is a better than even chance that if 'Lily is yellow and John went to the garden' then Brian is a rhino. We doubt that if either 'John went to the garden' or 'Lily is yellow' but not both then Daniel dropped the apple.,There is a better than even chance that 'Brian is a rhino' 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 0.7::factA. 0.25::factB. 0.5::factC. %hop1 0.1::factX:-or(factB,factC). 0.6::factY:-and(factA,factB). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.5525,0.5213042608521704,train,better than even,chances are slight,There is a better than even chance that 'Brian is a rhino' or 'Bernhard is a lion' or both.,Chances are slight that 'Brian is a rhino' or 'Bernhard is a lion' or both.,1,'Brian is a rhino' or 'Bernhard is a lion' or both. Chances are about even that Sandra left the football. Chances are about even that Mary dropped the apple. It is probable that Lily is white. It is impossible that if 'Mary dropped the apple' or 'Lily is white' or both then Brian is green. We doubt that if either 'Lily is white' or 'Sandra left the football' but not both then Greg is a rhino. We doubt that if 'Mary dropped the apple and Sandra left the football' then Julius is a swan.,It is improbable that 'Sandra left the football' 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.5::factA. 0.5::factB. 0.7::factC. %hop1 0.0::factX:-or(factB,factC). 0.2::factY:-xor(factC,factA). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.75,0.7679535907181436,train,we believe,improbable,We believe that 'Sandra left the football' or 'Mary dropped the apple' or both.,It is improbable that 'Sandra left the football' or 'Mary dropped the apple' or both.,0,'Sandra left the football' or 'Mary dropped the apple' or both. We believe that Lily is a swan. There is a very good chance that Jeff moved to the garden. There is a very good chance that John went to the hallway. It is probably not the case that if 'John went to the hallway and Jeff moved to the garden' then Gertrude is a cat. It is probable that if 'Lily is a swan' or 'John went to the hallway' or both then Greg is a frog. It is improbable that if 'Lily is a swan' or 'Jeff moved to the garden' or both then Mary is in the hallway.,It is likely that 'Gertrude is a cat 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.8::factC. %hop1 0.25::factX:-and(factC,factB). 0.7::factY:-or(factA,factC). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.11199999999999999,0.1916383276655331,train,little chance,likely,There is little chance that 'Gertrude is a cat and Greg is a frog'.,It is likely that 'Gertrude is a cat and Greg is a frog'.,0,'Gertrude is a cat and Greg is a frog'. We doubt that Julius is a rhino. It is unlikely that Emily is a wolf. It is probably the case that Brian is a lion. It is certain that if 'Julius is a rhino' or 'Emily is a wolf' or both then Jason is tired. There is a better than even chance that if either 'Brian is a lion' or 'Julius is a rhino' but not both then Daniel got the football. It is probable that if 'Emily is a wolf and Brian is a lion' then Bernhard is green.,There is little chance that 'Bernhard is green 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.2::factA. 0.2::factB. 0.7::factC. %hop1 1.0::factX:-or(factA,factB). 0.6::factY:-xor(factC,factA). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.09799999999999998,0.637127425485097,train,little chance,certain,There is little chance that 'Bernhard is green and Brian is a lion'.,It is certain that 'Bernhard is green and Brian is a lion'.,1,'Bernhard is green and Brian is a lion'. Chances are about even that Mary grabbed the milk. It is probably not the case that Julius is white. It is improbable that Brian is green. There is a very good chance that if 'Brian is green' or 'Julius is white' or both then Greg is a swan. There is almost no chance that if 'Mary grabbed the milk and Brian is green' then Lily is a lion. It is improbable that if 'Julius is white' or 'Mary grabbed the milk' or both then John left the apple.,It is almost certain that either 'Greg is a swan' 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.5::factA. 0.25::factB. 0.1::factC. %hop1 0.8::factX:-or(factC,factB). 0.02::factY:-and(factA,factC). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.11000000000000001,0.5889177835567113,train,improbable,almost certain,It is improbable that either 'Greg is a swan' or 'Julius is white' but not both.,It is almost certain that either 'Greg is a swan' or 'Julius is white' but not both.,0,Either 'Greg is a swan' or 'Julius is white' but not both. There is a very good chance that Julius is yellow. We believe that Lily is a lion. It is certain that John took the apple. Chances are about even that if 'Lily is a lion' or 'Julius is yellow' or both then Jeff moved to the garden. We doubt that if either 'John took the apple' or 'Julius is yellow' but not both then Jason is tired. There is almost no chance that if 'Julius is yellow and John took the apple' then Bernhard is a swan.,Chances are about even that either 'John took the apple' 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.8::factA. 0.75::factB. 1.0::factC. %hop1 0.5::factX:-or(factB,factA). 0.2::factY:-xor(factC,factA). 0.02::factZ:-and(factA,factC). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.984,0.3670734146829366,train,certain,about even,It is certain that either 'John took the apple' or 'Bernhard is a swan' but not both.,Chances are about even that either 'John took the apple' or 'Bernhard is a swan' but not both.,0,Either 'John took the apple' or 'Bernhard is a swan' but not both. It is certain that Emily is a sheep. It is probably not the case that Bernhard is a frog. Chances are about even that John left the apple. It is highly likely that if 'John left the apple and Bernhard is a frog' then Julius is a lion. There is a very good chance that if either 'Bernhard is a frog' or 'John left the apple' but not both then Winona is a sheep. It is impossible that if 'Emily is a sheep' or 'John left the apple' or both then Mary went to the garden.,It is certain that 'Julius is a lion' 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 1.0::factA. 0.25::factB. 0.5::factC. %hop1 0.9::factX:-and(factC,factB). 0.8::factY:-xor(factB,factC). 0.0::factZ:-or(factA,factC). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.5125000000000001,0.14462892578515704,train,about even,certain,Chances are about even that 'Julius is a lion' or 'Winona is a sheep' or both.,It is certain that 'Julius is a lion' or 'Winona is a sheep' or both.,0,'Julius is a lion' or 'Winona is a sheep' or both. It is improbable that Lily is a lion. There is almost no chance that Julius is a swan. There is a very good chance that Mary moved to the garden. It is unlikely that if 'Lily is a lion' or 'Mary moved to the garden' or both then Bernhard is gray. It is improbable that if 'Mary moved to the garden' or 'Lily is a lion' or both then Sandra got the football. There is little chance that if either 'Julius is a swan' or 'Lily is a lion' but not both then Greg is a frog.,There is little chance that 'Greg is a frog' 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.1::factA. 0.02::factB. 0.8::factC. %hop1 0.2::factX:-or(factA,factC). 0.1::factY:-or(factC,factA). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.09247600000000003,0.020004000800160033,train,little chance,probable,There is little chance that 'Greg is a frog' or 'Sandra got the football' or both.,It is probable that 'Greg is a frog' or 'Sandra got the football' or both.,1,'Greg is a frog' or 'Sandra got the football' or both. It is certain that Julius is gray. There is a very good chance that Greg is a frog. It is probable that Lily is a lion. It is highly unlikely that if either 'Lily is a lion' or 'Greg is a frog' but not both then John dropped the apple. There is little chance that if either 'Julius is gray' or 'Lily is a lion' but not both then Bill went to the office. There is little chance that if either 'Greg is a frog' or 'Julius is gray' but not both then Bernhard is yellow.,It is highly likely that 'Bill went to the office 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 1.0::factA. 0.8::factB. 0.7::factC. %hop1 0.05::factX:-xor(factC,factB). 0.1::factY:-xor(factA,factC). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.0,0.5379075815163032,train,impossible,highly likely,It is impossible that 'Bill went to the office and Lily is a lion'.,It is highly likely that 'Bill went to the office and Lily is a lion'.,0,'Bill went to the office and Lily is a lion'. There is almost no chance that Mary went to the office. It is likely that Lily is a lion. It is impossible that Sandra left the milk. It is unlikely that if 'Lily is a lion' or 'Mary went to the office' or both then John dropped the milk. It is probably the case that if 'Sandra left the milk and Mary went to the office' then Greg is a rhino. There is almost no chance that if 'Lily is a lion' or 'Mary went to the office' or both then Bernhard is a frog.,Chances are slight that either 'Lily is a lion' 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.02::factA. 0.7::factB. 0.0::factC. %hop1 0.2::factX:-or(factB,factA). 0.7::factY:-and(factC,factA). 0.02::factZ:-or(factB,factA). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.5611999999999999,0.7805561112222444,train,better than even,chances are slight,There is a better than even chance that either 'Lily is a lion' or 'John dropped the milk' but not both.,Chances are slight that either 'Lily is a lion' or 'John dropped the milk' but not both.,0,Either 'Lily is a lion' or 'John dropped the milk' but not both. It is highly likely that Julius is a lion. We doubt that John put down the apple. It is improbable that Jessica is a cat. We doubt that if either 'Julius is a lion' or 'Jessica is a cat' but not both then Lily is white. It is highly unlikely that if 'Jessica is a cat' or 'Julius is a lion' or both then Mary went to the office. It is impossible that if 'Julius is a lion' or 'Jessica is a cat' or both then Bernhard is yellow.,There is little chance that 'Julius is a lion' 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.9::factA. 0.2::factB. 0.1::factC. %hop1 0.2::factX:-xor(factA,factC). 0.05::factY:-or(factC,factA). 0.0::factZ:-or(factA,factC). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.902,0.630126025205041,train,highly likely,little chance,It is highly likely that 'Julius is a lion' or 'Lily is white' or both.,There is little chance that 'Julius is a lion' or 'Lily is white' or both.,0,'Julius is a lion' or 'Lily is white' or both. We doubt that Julius is a swan. It is highly unlikely that Greg is yellow. It is probably not the case that Bernhard is a lion. It is unlikely that if either 'Julius is a swan' or 'Bernhard is a lion' but not both then John went to the hallway. It is highly unlikely that if 'Julius is a swan and Bernhard is a lion' then Mary moved to the office. It is probable that if 'Bernhard is a lion' or 'Greg is yellow' or both then Jessica is a cat.,It is probably not the case that 'Bernhard is a lion' 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 0.2::factA. 0.05::factB. 0.25::factC. %hop1 0.2::factX:-xor(factA,factC). 0.05::factY:-and(factA,factC). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.27625,0.1816363272654531,train,probably not,almost certain,It is probably not the case that 'Bernhard is a lion' or 'Jessica is a cat' or both.,It is almost certain that 'Bernhard is a lion' or 'Jessica is a cat' or both.,1,'Bernhard is a lion' or 'Jessica is a cat' or both. It is probably the case that Bernhard is a frog. We doubt that Bill moved to the office. It is certain that Brian is a rhino. It is probable that if either 'Bill moved to the office' or 'Bernhard is a frog' but not both then Mary discarded the apple. There is a very good chance that if either 'Brian is a rhino' or 'Bernhard is a frog' but not both then Emily is a cat. It is highly unlikely that if 'Bill moved to the office and Brian is a rhino' then Lily is yellow.,It is certain that either 'Brian is a rhino' 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.7::factA. 0.2::factB. 1.0::factC. %hop1 0.7::factX:-xor(factB,factA). 0.8::factY:-xor(factC,factA). 0.05::factZ:-and(factB,factC). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.99,0.6427285457091418,train,certain,probably not,It is certain that either 'Brian is a rhino' or 'Lily is yellow' but not both.,It is probably not the case that either 'Brian is a rhino' or 'Lily is yellow' but not both.,1,Either 'Brian is a rhino' or 'Lily is yellow' but not both. Chances are about even that Bernhard is green. It is impossible that John got the apple. It is probably not the case that Mary grabbed the milk. We doubt that if either 'Bernhard is green' or 'John got the apple' but not both then Greg is a lion. It is highly likely that if 'Bernhard is green' or 'Mary grabbed the milk' or both then Lily is a rhino. It is probably not the case that if either 'Mary grabbed the milk' or 'John got the apple' but not both then Brian is white.,There is little chance that 'Bernhard is green 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.5::factA. 0.0::factB. 0.25::factC. %hop1 0.2::factX:-xor(factA,factB). 0.9::factY:-or(factA,factC). 0.25::factZ:-xor(factC,factB). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.12500000000000003,0.040008001600320066,train,little chance,we believe,There is little chance that 'Bernhard is green and Mary grabbed the milk'.,We believe that 'Bernhard is green and Mary grabbed the milk'.,1,'Bernhard is green and Mary grabbed the milk'. There is almost no chance that Brian is gray. It is likely that Mary went to the office. It is probably the case that Winona is a cat. We believe that if 'Winona is a cat' or 'Mary went to the office' or both then John put down the apple. It is impossible that if 'Brian is gray and Mary went to the office' then Lily is a frog. It is probable that if 'Brian is gray' or 'Mary went to the office' or both then Sandra left the milk.,It is likely that either 'Winona is a cat' 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.7::factB. 0.7::factC. %hop1 0.75::factX:-or(factC,factB). 0.0::factY:-and(factA,factB). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.7,0.5581116223244649,train,likely,probably not,It is likely that either 'Winona is a cat' or 'Lily is a frog' but not both.,It is probably not the case that either 'Winona is a cat' or 'Lily is a frog' but not both.,1,Either 'Winona is a cat' or 'Lily is a frog' but not both. Chances are about even that Mary dropped the apple. It is improbable that Winona is a wolf. It is highly unlikely that Brian is yellow. It is almost certain that if 'Brian is yellow' or 'Mary dropped the apple' or both then Julius is a swan. It is probably the case that if either 'Winona is a wolf' or 'Mary dropped the apple' but not both then John left the football. It is likely that if 'Winona is a wolf and Mary dropped the apple' then Sandra took the milk.,It is highly unlikely that 'Sandra took the milk 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.5::factA. 0.1::factB. 0.05::factC. %hop1 0.95::factX:-or(factC,factA). 0.7::factY:-xor(factB,factA). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.035,0.6403280656131226,train,highly unlikely,probably,It is highly unlikely that 'Sandra took the milk and Winona is a wolf'.,It is probably the case that 'Sandra took the milk and Winona is a wolf'.,1,'Sandra took the milk and Winona is a wolf'. It is unlikely that Bernhard is gray. We doubt that Greg is a frog. It is probable that Daniel grabbed the milk. It is probable that if either 'Greg is a frog' or 'Bernhard is gray' but not both then Brian is a swan. Chances are slight that if either 'Greg is a frog' or 'Daniel grabbed the milk' but not both then John discarded the apple. It is almost certain that if 'Greg is a frog' or 'Bernhard is gray' or both then Mary dropped the milk.,It is probably not the case that 'Bernhard is gray' 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.2::factA. 0.2::factB. 0.7::factC. %hop1 0.7::factX:-xor(factB,factA). 0.1::factY:-xor(factB,factC). 0.95::factZ:-or(factB,factA). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.24960000000000004,0.16443288657731547,train,probably not,likely,It is probably not the case that 'Bernhard is gray' or 'John discarded the apple' or both.,It is likely that 'Bernhard is gray' or 'John discarded the apple' or both.,1,'Bernhard is gray' or 'John discarded the apple' or both. It is improbable that Lily is a lion. It is unlikely that John moved to the office. There is a very good chance that Julius is gray. It is likely that if 'John moved to the office and Lily is a lion' then Gertrude is a sheep. It is highly unlikely that if 'John moved to the office' or 'Lily is a lion' or both then Bernhard is a frog. It is probably not the case that if 'John moved to the office and Julius is gray' then Mary left the apple.,It is certain that 'John moved to the office' 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 0.1::factA. 0.2::factB. 0.8::factC. %hop1 0.7::factX:-and(factB,factA). 0.05::factY:-or(factB,factA). 0.25::factZ:-and(factB,factC). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.2,0.05601120224044809,train,we doubt,certain,We doubt that 'John moved to the office' or 'Gertrude is a sheep' or both.,It is certain that 'John moved to the office' or 'Gertrude is a sheep' or both.,0,'John moved to the office' or 'Gertrude is a sheep' or both. There is a very good chance that Daniel left the apple. It is likely that Sandra took the football. There is little chance that John went to the kitchen. It is almost certain that if 'Daniel left the apple' or 'Sandra took the football' or both then Julius is gray. There is almost no chance that if 'Daniel left the apple' or 'John went to the kitchen' or both then Brian is white. It is unlikely that if 'Sandra took the football and John went to the kitchen' then Lily is a lion.,There is almost no chance that 'Julius is gray and Daniel 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.8::factA. 0.7::factB. 0.1::factC. %hop1 0.95::factX:-or(factA,factB). 0.02::factY:-or(factA,factC). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.76,0.21384276855371073,train,we believe,almost no chance,We believe that 'Julius is gray and Daniel left the apple'.,There is almost no chance that 'Julius is gray and Daniel left the apple'.,0,'Julius is gray and Daniel left the apple'. It is likely that Bernhard is gray. It is highly unlikely that Mary discarded the apple. It is almost certain that Greg is a frog. It is highly unlikely that if either 'Mary discarded the apple' or 'Bernhard is gray' but not both then Fred is in the office. It is unlikely that if either 'Greg is a frog' or 'Bernhard is gray' but not both then Julius is white. It is almost certain that if 'Greg is a frog' or 'Mary discarded the apple' or both then John dropped the milk.,We doubt that 'Greg is a frog 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.7::factA. 0.05::factB. 0.95::factC. %hop1 0.05::factX:-xor(factB,factA). 0.2::factY:-xor(factC,factA). 0.95::factZ:-or(factC,factB). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.6649999999999999,0.20244048809761953,train,likely,we doubt,It is likely that 'Greg is a frog and Bernhard is gray'.,We doubt that 'Greg is a frog and Bernhard is gray'.,0,'Greg is a frog and Bernhard is gray'. It is probable that Sandra dropped the apple. It is likely that Bill moved to the office. It is almost certain that Brian is yellow. Chances are about even that if either 'Brian is yellow' or 'Sandra dropped the apple' but not both then Mary left the football. It is improbable that if 'Bill moved to the office and Brian is yellow' then John went to the hallway. It is unlikely that if either 'Sandra dropped the apple' or 'Brian is yellow' but not both then Bernhard is a swan.,It is almost certain that 'Mary left the football' 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.7::factA. 0.7::factB. 0.95::factC. %hop1 0.5::factX:-xor(factC,factA). 0.1::factY:-and(factB,factC). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.9675,0.3950790158031606,train,almost certain,about even,It is almost certain that 'Mary left the football' or 'Brian is yellow' or both.,Chances are about even that 'Mary left the football' or 'Brian is yellow' or both.,1,'Mary left the football' or 'Brian is yellow' or both. There is a better than even chance that Julius is a swan. It is probably the case that Greg is green. It is impossible that John picked up the apple. It is unlikely that if 'John picked up the apple and Greg is green' then Lily is a rhino. It is probably the case that if either 'Greg is green' or 'John picked up the apple' but not both then Mary dropped the milk. It is probably not the case that if 'Greg is green' or 'John picked up the apple' or both then Jeff went to the bedroom.,We believe that 'Lily is a rhino' or 'John picked up 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.6::factA. 0.7::factB. 0.0::factC. %hop1 0.2::factX:-and(factC,factB). 0.7::factY:-xor(factB,factC). 0.25::factZ:-or(factB,factC). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.0,0.09901980396079216,train,impossible,we believe,It is impossible that 'Lily is a rhino' or 'John picked up the apple' or both.,We believe that 'Lily is a rhino' or 'John picked up the apple' or both.,0,'Lily is a rhino' or 'John picked up the apple' or both. Chances are about even that Gertrude is a cat. It is certain that Sandra put down the milk. It is certain that Julius is green. It is improbable that if either 'Sandra put down the milk' or 'Julius is green' but not both then Bill moved to the office. It is highly likely that if 'Julius is green' or 'Gertrude is a cat' or both then John went to the bedroom. We believe that if either 'Sandra put down the milk' or 'Julius is green' but not both then Bernhard is a frog.,It is certain that 'Bernhard 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.5::factA. 1.0::factB. 1.0::factC. %hop1 0.1::factX:-xor(factB,factC). 0.9::factY:-or(factC,factA). 0.75::factZ:-xor(factB,factC). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",1.0,0.7319463892778556,train,certain,little chance,It is certain that 'Bernhard is a frog' or 'Julius is green' or both.,There is little chance that 'Bernhard is a frog' or 'Julius is green' or both.,1,'Bernhard is a frog' or 'Julius is green' or both. It is almost certain that Julius is white. We believe that Greg is a rhino. It is likely that Lily is green. It is likely that if 'Lily is green' or 'Greg is a rhino' or both then Bernhard is a swan. It is impossible that if 'Julius is white and Greg is a rhino' then Daniel took the apple. It is almost certain that if 'Greg is a rhino and Julius is white' then Brian is a frog.,It is highly likely that 'Bernhard is a swan' 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.95::factA. 0.75::factB. 0.7::factC. %hop1 0.7::factX:-or(factC,factB). 0.0::factY:-and(factA,factB). 0.95::factZ:-and(factB,factA). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.8724999999999999,0.5641128225645129,train,highly likely,highly unlikely,It is highly likely that 'Bernhard is a swan' or 'Greg is a rhino' or both.,It is highly unlikely that 'Bernhard is a swan' or 'Greg is a rhino' or both.,1,'Bernhard is a swan' or 'Greg is a rhino' or both. It is impossible that Bernhard is green. It is probably the case that Mary went to the hallway. It is highly unlikely that Julius is white. It is highly unlikely that if 'Julius is white' or 'Bernhard is green' or both then Greg is a lion. It is probably the case that if 'Julius is white and Bernhard is green' then Winona is a mouse. Chances are about even that if either 'Bernhard is green' or 'Julius is white' but not both then John is in the garden.,It is highly unlikely that 'Julius is white' 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.0::factA. 0.7::factB. 0.05::factC. %hop1 0.05::factX:-or(factC,factA). 0.7::factY:-and(factC,factA). 0.5::factZ:-xor(factA,factC). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.05000000000000001,0.7943588717743548,train,highly unlikely,highly likely,It is highly unlikely that 'Julius is white' or 'Greg is a lion' or both.,It is highly likely that 'Julius is white' or 'Greg is a lion' or both.,1,'Julius is white' or 'Greg is a lion' or both. There is little chance that John went to the kitchen. There is little chance that Brian is gray. It is likely that Bernhard is yellow. Chances are slight that if 'Brian is gray and John went to the kitchen' then Julius is a frog. It is probably the case that if 'Bernhard is yellow' or 'John went to the kitchen' or both then Yann is tired. It is impossible that if either 'Brian is gray' or 'Bernhard is yellow' but not both then Greg is a lion.,There is little chance that either 'Julius is a frog' or 'Brian 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.1::factB. 0.7::factC. %hop1 0.1::factX:-and(factB,factA). 0.7::factY:-or(factC,factA). 0.0::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.099,0.5327065413082617,train,little chance,very good chance,There is little chance that either 'Julius is a frog' or 'Brian is gray' but not both.,There is a very good chance that either 'Julius is a frog' or 'Brian is gray' but not both.,1,Either 'Julius is a frog' or 'Brian is gray' but not both. It is highly unlikely that Mary got the football. It is probably not the case that Bernhard is yellow. Chances are slight that John grabbed the apple. It is certain that if 'Mary got the football' or 'Bernhard is yellow' or both then Brian is gray. It is highly likely that if either 'John grabbed the apple' or 'Bernhard is yellow' but not both then Julius is a lion. Chances are slight that if 'Bernhard is yellow and John grabbed the apple' then Greg is a frog.,It is almost certain 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.05::factA. 0.25::factB. 0.1::factC. %hop1 1.0::factX:-or(factA,factB). 0.9::factY:-xor(factC,factB). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.11500000000000005,0.07101420284056811,train,little chance,almost certain,There is little chance that either 'Bernhard is yellow' or 'Julius is a lion' but not both.,It is almost certain 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. We believe that Greg is a swan. It is almost certain that Daniel dropped the milk. It is highly likely that Winona is a cat. It is almost certain that if 'Winona is a cat' or 'Daniel dropped the milk' or both then Mary moved to the office. It is likely that if 'Winona is a cat and Greg is a swan' then John grabbed the apple. There is almost no chance that if 'Greg is a swan and Daniel dropped the milk' then Julius is gray.,Chances are about even that 'Winona is a cat and John 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.75::factA. 0.95::factB. 0.9::factC. %hop1 0.95::factX:-or(factC,factB). 0.7::factY:-and(factC,factA). 0.02::factZ:-and(factA,factB). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.47250000000000003,0.4842968593718744,train,about even,almost certain,Chances are about even that 'Winona is a cat and John grabbed the apple'.,It is almost certain that 'Winona is a cat and John grabbed the apple'.,1,'Winona is a cat and John grabbed the apple'. There is little chance that Jeff discarded the milk. It is likely that Mary went to the garden. It is impossible that Lily is a frog. It is probable that if 'Mary went to the garden' or 'Jeff discarded the milk' or both then Winona is a mouse. There is almost no chance that if 'Lily is a frog' or 'Mary went to the garden' or both then Daniel took the football. There is a better than even chance that if 'Mary went to the garden' or 'Lily is a frog' or both then Antoine is hungry.,Chances are slight that 'Winona is a mouse' or 'Antoine is hungry' 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.7::factX:-or(factB,factA). 0.02::factY:-or(factC,factB). 0.6::factZ:-or(factB,factC). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.6369999999999999,0.5505101020204041,train,better than even,chances are slight,There is a better than even chance that 'Winona is a mouse' or 'Antoine is hungry' or both.,Chances are slight that 'Winona is a mouse' or 'Antoine is hungry' or both.,0,'Winona is a mouse' or 'Antoine is hungry' or both. It is highly unlikely that John went to the kitchen. It is impossible that Lily is a frog. It is likely that Bernhard is gray. It is highly unlikely that if either 'John went to the kitchen' or 'Lily is a frog' but not both then Mary dropped the apple. It is probably not the case that if either 'Bernhard is gray' or 'John went to the kitchen' but not both then Greg is a swan. There is a very good chance that if 'Bernhard is gray' or 'John went to the kitchen' or both then Gertrude is a cat.,It is impossible that 'John went to the kitchen' 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.05::factA. 0.0::factB. 0.7::factC. %hop1 0.05::factX:-xor(factA,factB). 0.25::factY:-xor(factC,factA). 0.8::factZ:-or(factC,factA). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.582,0.44008801760352073,train,better than even,impossible,There is a better than even chance that 'John went to the kitchen' or 'Gertrude is a cat' or both.,It is impossible that 'John went to the kitchen' or 'Gertrude is a cat' or both.,0,'John went to the kitchen' or 'Gertrude is a cat' or both. Chances are about even that Brian is green. It is certain that Bernhard is a swan. It is probably the case that Lily is yellow. It is probable that if either 'Brian is green' or 'Lily is yellow' but not both then Greg is a swan. We believe that if 'Brian is green and Lily is yellow' then Mary moved to the garden. It is improbable that if either 'Bernhard is a swan' or 'Lily is yellow' but not both then John left the football.,There is almost no chance that 'Lily 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.5::factA. 1.0::factB. 0.7::factC. %hop1 0.7::factX:-xor(factA,factC). 0.75::factY:-and(factA,factC). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.6921384276855371,train,certain,almost no chance,It is certain that 'Lily is yellow' or 'Bernhard is a swan' or both.,There is almost no chance that 'Lily is yellow' or 'Bernhard is a swan' or both.,0,'Lily is yellow' or 'Bernhard is a swan' or both. It is likely that Brian is a frog. Chances are slight that Jessica is a cat. It is unlikely that John left the football. We believe that if 'Brian is a frog and John left the football' then Julius is white. Chances are about even that if either 'Jessica is a cat' or 'Brian is a frog' but not both then Greg is a rhino. Chances are about even that if either 'John left the football' or 'Brian is a frog' but not both then Gertrude is a mouse.,It is almost certain that either 'Julius is white' 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.7::factA. 0.1::factB. 0.2::factC. %hop1 0.75::factX:-and(factA,factC). 0.5::factY:-xor(factB,factA). 0.5::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.415,0.7175435087017403,train,about even,almost certain,Chances are about even that either 'Julius is white' or 'Gertrude is a mouse' but not both.,It is almost certain that either 'Julius is white' or 'Gertrude is a mouse' but not both.,0,Either 'Julius is white' or 'Gertrude is a mouse' but not both. There is little chance that John went to the office. It is certain that Julius is a frog. It is probably the case that Bernhard is a rhino. There is a better than even chance that if either 'Julius is a frog' or 'Bernhard is a rhino' but not both then Mary got the football. It is almost certain that if either 'Bernhard is a rhino' or 'Julius is a frog' but not both then Jeff left the apple. It is unlikely that if 'John went to the office and Bernhard is a rhino' then Gertrude is a cat.,It is certain that 'Julius is a frog' 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.1::factA. 1.0::factB. 0.7::factC. %hop1 0.6::factX:-xor(factB,factC). 0.95::factY:-xor(factC,factB). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.5863172634526905,train,certain,little chance,It is certain that 'Julius is a frog' or 'John went to the office' or both.,There is little chance that 'Julius is a frog' or 'John went to the office' or both.,1,'Julius is a frog' or 'John went to the office' or both. It is highly likely that Lily is a swan. There is little chance that Sandra dropped the apple. It is highly likely that John went to the office. It is unlikely that if 'John went to the office and Lily is a swan' then Brian is white. It is almost certain that if 'Lily is a swan' or 'Sandra dropped the apple' or both then Jeff put down the milk. There is little chance that if either 'Sandra dropped the apple' or 'Lily is a swan' but not both then Bernhard is green.,It is likely that 'Lily is a swan and Sandra 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.9::factA. 0.1::factB. 0.9::factC. %hop1 0.2::factX:-and(factC,factA). 0.95::factY:-or(factA,factB). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.09000000000000001,0.28385677135427084,train,improbable,likely,It is improbable that 'Lily is a swan and Sandra dropped the apple'.,It is likely that 'Lily is a swan and Sandra dropped the apple'.,0,'Lily is a swan and Sandra dropped the apple'. There is a better than even chance that Brian is a rhino. It is certain that Greg is green. It is likely that Lily is yellow. It is likely that if 'Lily is yellow' or 'Brian is a rhino' or both then Sandra grabbed the apple. It is highly likely that if either 'Brian is a rhino' or 'Greg is green' but not both then Mary went to the kitchen. It is almost certain that if either 'Brian is a rhino' or 'Lily is yellow' but not both then Julius is white.,It is highly unlikely that 'Julius is white 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.6::factA. 1.0::factB. 0.7::factC. %hop1 0.7::factX:-or(factC,factA). 0.9::factY:-xor(factA,factB). 0.95::factZ:-xor(factA,factC). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.43699999999999994,0.34966993398679735,train,about even,highly unlikely,Chances are about even that 'Julius is white and Greg is green'.,It is highly unlikely that 'Julius is white and Greg is green'.,0,'Julius is white and Greg is green'. Chances are slight that Mary moved to the office. It is almost certain that Bernhard is yellow. We doubt that John went to the garden. It is highly likely that if either 'Bernhard is yellow' or 'Mary moved to the office' but not both then Greg is a frog. It is highly unlikely that if 'Mary moved to the office and Bernhard is yellow' then Brian is gray. It is unlikely that if 'John went to the garden' or 'Mary moved to the office' or both then Daniel got the football.,It is almost certain that either 'Bernhard is yellow' or 'Brian 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.95::factB. 0.2::factC. %hop1 0.9::factX:-xor(factB,factA). 0.05::factY:-and(factA,factB). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.9452499999999999,0.1852370474094819,train,almost certain,almost no chance,It is almost certain that either 'Bernhard is yellow' or 'Brian is gray' but not both.,There is almost no chance that either 'Bernhard is yellow' or 'Brian is gray' but not both.,1,Either 'Bernhard is yellow' or 'Brian is gray' but not both. We believe that John got the apple. It is certain that Yann is thirsty. It is highly likely that Julius is a frog. There is a very good chance that if 'Julius is a frog and Yann is thirsty' then Mary dropped the milk. It is probably not the case that if either 'John got the apple' or 'Yann is thirsty' but not both then Greg is a swan. It is unlikely that if 'Yann is thirsty and Julius is a frog' then Lily is green.,There is a very good chance that 'Greg is a swan' or 'John 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.75::factA. 1.0::factB. 0.9::factC. %hop1 0.8::factX:-and(factC,factB). 0.25::factY:-xor(factA,factB). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.8125000000000001,0.3912782556511302,train,very good chance,highly unlikely,There is a very good chance that 'Greg is a swan' or 'John got the apple' or both.,It is highly unlikely that 'Greg is a swan' or 'John got the apple' or both.,1,'Greg is a swan' or 'John got the apple' or both. It is certain that Lily is a swan. It is probably not the case that Julius is a lion. It is highly unlikely that Brian is white. It is unlikely that if either 'Lily is a swan' or 'Julius is a lion' but not both then Jessica is a mouse. There is a very good chance that if either 'Brian is white' or 'Julius is a lion' but not both then Greg is a rhino. It is highly unlikely that if 'Brian is white and Lily is a swan' then John left the apple.,It is almost certain that 'Brian is white' 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 1.0::factA. 0.25::factB. 0.05::factC. %hop1 0.2::factX:-xor(factA,factB). 0.8::factY:-xor(factC,factB). 0.05::factZ:-and(factC,factA). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.19250000000000006,0.3704740948189638,train,we doubt,almost certain,We doubt that 'Brian is white' or 'Jessica is a mouse' or both.,It is almost certain that 'Brian is white' or 'Jessica is a mouse' or both.,0,'Brian is white' or 'Jessica is a mouse' or both. There is a better than even chance that Yann is tired. It is likely that John left the milk. There is little chance that Julius is white. It is probably not the case that if 'Julius is white' or 'Yann is tired' or both then Brian is a rhino. We believe that if 'Yann is tired and Julius is white' then Lily is gray. It is almost certain that if 'John left the milk' or 'Julius is white' or both then Fred went to the office.,It is highly unlikely that 'Lily is gray 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.6::factA. 0.7::factB. 0.1::factC. %hop1 0.25::factX:-or(factC,factA). 0.75::factY:-and(factA,factC). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.045000000000000005,0.1224244848969794,train,highly unlikely,very good chance,It is highly unlikely that 'Lily is gray and Julius is white'.,There is a very good chance that 'Lily is gray and Julius is white'.,1,'Lily is gray and Julius is white'. It is probably the case that John moved to the garden. It is unlikely that Greg is green. It is improbable that Bernhard is a swan. There is a better than even chance that if either 'Greg is green' or 'Bernhard is a swan' but not both then Mary took the football. It is probably the case that if 'Bernhard is a swan' or 'Greg is green' or both then Sandra dropped the milk. It is improbable that if 'John moved to the garden and Bernhard is a swan' then Winona is a sheep.,It is impossible that 'Winona is a sheep 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.7::factA. 0.2::factB. 0.1::factC. %hop1 0.6::factX:-xor(factB,factC). 0.7::factY:-or(factC,factB). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.004900000000000002,0.34426885377075417,train,impossible,about even,It is impossible that 'Winona is a sheep and Sandra dropped the milk'.,Chances are about even that 'Winona is a sheep and Sandra dropped the milk'.,1,'Winona is a sheep and Sandra dropped the milk'. Chances are slight that John went to the garden. It is certain that Gertrude is a mouse. There is a very good chance that Bernhard is a swan. It is probably not the case that if 'Bernhard is a swan and John went to the garden' then Sandra dropped the milk. There is a very good chance that if either 'John went to the garden' or 'Gertrude is a mouse' but not both then Brian is a rhino. Chances are about even that if 'Gertrude is a mouse and John went to the garden' then Greg is a lion.,It is highly likely that 'Brian is a rhino 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. 1.0::factB. 0.8::factC. %hop1 0.25::factX:-and(factC,factA). 0.8::factY:-xor(factA,factB). 0.5::factZ:-and(factB,factA). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.0,0.14162832566513303,train,impossible,highly likely,It is impossible that 'Brian is a rhino and John went to the garden'.,It is highly likely that 'Brian is a rhino and John went to the garden'.,0,'Brian is a rhino and John went to the garden'. It is improbable that Bernhard is yellow. We doubt that Brian is green. Chances are about even that Julius is a lion. It is likely that if 'Brian is green' or 'Julius is a lion' or both then Sandra took the apple. It is almost certain that if either 'Bernhard is yellow' or 'Julius is a lion' but not both then Greg is a rhino. It is probably not the case that if either 'Julius is a lion' or 'Brian is green' but not both then Jeff discarded the milk.,It is probably not the case that either 'Bernhard is yellow' 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.1::factA. 0.2::factB. 0.5::factC. %hop1 0.7::factX:-or(factB,factC). 0.95::factY:-xor(factA,factC). 0.25::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.26,0.15963192638527707,train,probably not,highly likely,It is probably not the case that either 'Bernhard is yellow' or 'Brian is green' but not both.,It is highly likely that either 'Bernhard is yellow' or 'Brian is green' but not both.,1,Either 'Bernhard is yellow' or 'Brian is green' but not both. It is probable that Brian is a lion. It is highly likely that Gertrude is a wolf. There is almost no chance that Bernhard is a frog. There is a very good chance that if 'Brian is a lion and Bernhard is a frog' then Lily is green. It is probable that if 'Gertrude is a wolf' or 'Brian is a lion' or both then Mary left the football. It is probably the case that if 'Bernhard is a frog' or 'Brian is a lion' or both then Greg is a swan.,It is impossible that either 'Bernhard 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 0.7::factA. 0.9::factB. 0.02::factC. %hop1 0.8::factX:-and(factA,factC). 0.7::factY:-or(factB,factA). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.884,0.13982796559311864,train,highly likely,impossible,It is highly likely that either 'Bernhard is a frog' or 'Gertrude is a wolf' but not both.,It is impossible that either 'Bernhard is a frog' or 'Gertrude is a wolf' but not both.,0,Either 'Bernhard is a frog' or 'Gertrude is a wolf' but not both. There is a better than even chance that Greg is a swan. It is probably the case that John dropped the milk. It is highly likely that Bill went to the kitchen. There is a very good chance that if 'Greg is a swan and John dropped the milk' then Gertrude is a cat. It is almost certain that if either 'John dropped the milk' or 'Bill went to the kitchen' but not both then Brian is a rhino. It is likely that if either 'Greg is a swan' or 'John dropped the milk' but not both then Bernhard is white.,It is almost certain that 'Bill went to the kitchen and Greg 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. 0.7::factB. 0.9::factC. %hop1 0.8::factX:-and(factA,factB). 0.95::factY:-xor(factB,factC). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.5399999999999999,0.46589317863572716,train,about even,almost certain,Chances are about even that 'Bill went to the kitchen and Greg is a swan'.,It is almost certain that 'Bill went to the kitchen and Greg is a swan'.,0,'Bill went to the kitchen and Greg is a swan'. It is likely that Bernhard is a frog. It is impossible that Yann is tired. It is impossible that Mary went to the kitchen. Chances are about even that if 'Bernhard is a frog' or 'Yann is tired' or both then Gertrude is a cat. Chances are slight that if 'Mary went to the kitchen and Bernhard is a frog' then Daniel took the apple. Chances are about even that if either 'Yann is tired' or 'Bernhard is a frog' but not both then Jason is bored.,It is likely that either 'Yann is tired' or 'Gertrude 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.7::factA. 0.0::factB. 0.0::factC. %hop1 0.5::factX:-or(factA,factB). 0.1::factY:-and(factC,factA). 0.5::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.3499999999999999,0.4252850570114023,train,probably not,likely,It is probably not the case that either 'Yann is tired' or 'Gertrude is a cat' but not both.,It is likely that either 'Yann is tired' or 'Gertrude is a cat' but not both.,0,Either 'Yann is tired' or 'Gertrude is a cat' but not both. There is almost no chance that Bernhard is gray. We believe that Julius is green. We doubt that Daniel got the apple. It is highly likely that if 'Daniel got the apple' or 'Julius is green' or both then Lily is a swan. There is little chance that if 'Julius is green' or 'Daniel got the apple' or both then Mary took the milk. There is little chance that if either 'Daniel got the apple' or 'Julius is green' but not both then Greg is yellow.,It is almost certain 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.02::factA. 0.75::factB. 0.2::factC. %hop1 0.9::factX:-or(factC,factB). 0.1::factY:-or(factB,factC). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.006500000000000004,0.29245849169833965,train,impossible,almost certain,It is impossible that 'Greg is yellow and Mary took the milk'.,It is almost certain that 'Greg is yellow and Mary took the milk'.,0,'Greg is yellow and Mary took the milk'. There is almost no chance that Lily is a frog. We doubt that Mary picked up the milk. It is improbable that John took the football. It is almost certain that if 'Mary picked up the milk' or 'Lily is a frog' or both then Jeff went to the bedroom. It is probably the case that if 'John took the football' or 'Mary picked up the milk' or both then Brian is gray. It is impossible that if 'Mary picked up the milk' or 'Lily is a frog' or both then Greg is a swan.,It is certain that 'Brian is gray and Jeff 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.02::factA. 0.2::factB. 0.1::factC. %hop1 0.95::factX:-or(factB,factA). 0.7::factY:-or(factC,factB). 0.0::factZ:-or(factB,factA). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.13406399999999996,0.04420884176835367,train,little chance,certain,There is little chance that 'Brian is gray and Jeff went to the bedroom'.,It is certain that 'Brian is gray and Jeff went to the bedroom'.,0,'Brian is gray and Jeff went to the bedroom'. It is almost certain that Emily is a mouse. We believe that Julius is a rhino. It is unlikely that Lily is a lion. It is unlikely that if either 'Julius is a rhino' or 'Lily is a lion' but not both then Brian is a frog. It is highly unlikely that if 'Emily is a mouse and Lily is a lion' then Bernhard is a swan. It is probably not the case that if 'Lily is a lion and Julius is a rhino' then John dropped the apple.,It is highly unlikely that 'John dropped the apple' 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.95::factA. 0.75::factB. 0.2::factC. %hop1 0.2::factX:-xor(factB,factC). 0.05::factY:-and(factA,factC). 0.25::factZ:-and(factC,factB). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.04521875000000001,0.5389077815563112,train,highly unlikely,we believe,It is highly unlikely that 'John dropped the apple' or 'Bernhard is a swan' or both.,We believe that 'John dropped the apple' or 'Bernhard is a swan' or both.,1,'John dropped the apple' or 'Bernhard is a swan' or both. It is probably not the case that Sumit is tired. It is likely that Brian is white. It is highly unlikely that Daniel dropped the apple. Chances are about even that if 'Sumit is tired' or 'Brian is white' or both then Emily is a cat. It is improbable that if either 'Brian is white' or 'Sumit is tired' but not both then Lily is yellow. Chances are about even that if 'Sumit is tired' or 'Brian is white' or both then John went to the bedroom.,There is a very good chance that 'Brian is white' 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.25::factA. 0.7::factB. 0.05::factC. %hop1 0.5::factX:-or(factA,factB). 0.1::factY:-xor(factB,factA). 0.5::factZ:-or(factA,factB). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.775,0.21844368873774755,train,very good chance,little chance,There is a very good chance that 'Brian is white' or 'Sumit is tired' or both.,There is little chance that 'Brian is white' or 'Sumit is tired' or both.,1,'Brian is white' or 'Sumit is tired' or both. We doubt that Winona is a sheep. There is a better than even chance that Greg is gray. It is certain that Sandra left the football. It is likely that if 'Winona is a sheep and Sandra left the football' then Gertrude is a cat. It is certain that if either 'Winona is a sheep' or 'Sandra left the football' but not both then Julius is white. It is highly unlikely that if 'Winona is a sheep' or 'Greg is gray' or both then Bernhard is a frog.,We believe that 'Gertrude is a cat 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.2::factA. 0.6::factB. 1.0::factC. %hop1 0.7::factX:-and(factA,factC). 1.0::factY:-xor(factA,factC). 0.05::factZ:-or(factA,factB). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.007000000000000003,0.03200640128025605,train,impossible,we believe,It is impossible that 'Gertrude is a cat and Bernhard is a frog'.,We believe that 'Gertrude is a cat and Bernhard is a frog'.,0,'Gertrude is a cat and Bernhard is a frog'. There is little chance that Julius is a swan. Chances are slight that Brian is white. It is probably not the case that Greg is a swan. It is highly likely that if 'Greg is a swan and Brian is white' then John went to the garden. It is likely that if 'Greg is a swan and Brian is white' then Sumit is hungry. There is little chance that if 'Brian is white' or 'Julius is a swan' or both then Fred left the apple.,It is probable that 'Fred left the apple and Sumit 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.1::factA. 0.1::factB. 0.25::factC. %hop1 0.9::factX:-and(factC,factB). 0.7::factY:-and(factC,factB). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.0017500000000000005,0.15803160632126426,train,impossible,probable,It is impossible that 'Fred left the apple and Sumit is hungry'.,It is probable that 'Fred left the apple and Sumit is hungry'.,0,'Fred left the apple and Sumit is hungry'. There is little chance that John put down the apple. We doubt that Winona is a wolf. It is improbable that Greg is a rhino. It is probably not the case that if either 'John put down the apple' or 'Winona is a wolf' but not both then Lily is white. There is almost no chance that if either 'Winona is a wolf' or 'Greg is a rhino' but not both then Mary went to the garden. We believe that if 'John put down the apple' or 'Greg is a rhino' or both then Brian is yellow.,It is probably not the case that 'Greg is a rhino' 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.1::factA. 0.2::factB. 0.1::factC. %hop1 0.25::factX:-xor(factA,factB). 0.02::factY:-xor(factB,factC). 0.75::factZ:-or(factA,factC). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.28,0.1278255651130226,train,probably not,almost certain,It is probably not the case that 'Greg is a rhino' or 'Winona is a wolf' or both.,It is almost certain that 'Greg is a rhino' or 'Winona is a wolf' or both.,1,'Greg is a rhino' or 'Winona is a wolf' or both. It is highly unlikely that Brian is yellow. It is highly unlikely that John went to the office. It is probable that Lily is green. It is unlikely that if either 'Lily is green' or 'John went to the office' but not both then Sandra left the apple. There is almost no chance that if 'John went to the office' or 'Brian is yellow' or both then Mary moved to the garden. It is almost certain that if 'Brian is yellow' or 'John went to the office' or both then Julius is a lion.,It is highly unlikely that 'Brian is yellow 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.05::factA. 0.05::factB. 0.7::factC. %hop1 0.2::factX:-xor(factC,factB). 0.02::factY:-or(factB,factA). 0.95::factZ:-or(factA,factB). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.035,0.2448489697939588,train,highly unlikely,we believe,It is highly unlikely that 'Brian is yellow and Lily is green'.,We believe that 'Brian is yellow and Lily is green'.,1,'Brian is yellow and Lily is green'. It is highly likely that Bernhard is a frog. It is likely that Lily is green. It is highly unlikely that Antoine is bored. It is likely that if either 'Bernhard is a frog' or 'Lily is green' but not both then Jessica is a sheep. It is probable that if 'Lily is green and Antoine is bored' then Brian is white. There is a better than even chance that if either 'Bernhard is a frog' or 'Lily is green' but not both then Sandra got the milk.,There is a better than even chance that 'Bernhard is a frog 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.9::factA. 0.7::factB. 0.05::factC. %hop1 0.7::factX:-xor(factA,factB). 0.7::factY:-and(factB,factC). 0.6::factZ:-xor(factA,factB). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.63,0.6017203440688138,train,better than even,almost no chance,There is a better than even chance that 'Bernhard is a frog and Lily is green'.,There is almost no chance that 'Bernhard is a frog and Lily is green'.,1,'Bernhard is a frog and Lily is green'. We doubt that Lily is a rhino. It is impossible that Fred dropped the milk. It is certain that John moved to the office. It is impossible that if 'Lily is a rhino and John moved to the office' then Bernhard is yellow. There is almost no chance that if either 'Lily is a rhino' or 'Fred dropped the milk' but not both then Bill went to the kitchen. There is a better than even chance that if 'Lily is a rhino' or 'Fred dropped the milk' or both then Sandra left the apple.,It is certain that 'Lily is a rhino 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.2::factA. 0.0::factB. 1.0::factC. %hop1 0.0::factX:-and(factA,factC). 0.02::factY:-xor(factA,factB). 0.6::factZ:-or(factA,factB). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.2,0.2600520104020804,train,we doubt,certain,We doubt that 'Lily is a rhino and John moved to the office'.,It is certain that 'Lily is a rhino and John moved to the office'.,0,'Lily is a rhino and John moved to the office'. There is a better than even chance that Julius is yellow. There is little chance that Mary is in the school. There is a very good chance that Greg is a lion. It is improbable that if 'Julius is yellow' or 'Mary is in the school' or both then Antoine is thirsty. There is little chance that if 'Mary is in the school and Julius is yellow' then John went to the office. It is probable that if 'Mary is in the school and Julius is yellow' then Daniel grabbed the milk.,Chances are slight that 'Antoine is thirsty' or 'Daniel grabbed 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.6::factA. 0.1::factB. 0.8::factC. %hop1 0.1::factX:-or(factA,factB). 0.1::factY:-and(factB,factA). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.10179999999999999,0.39167833566713345,train,chances are slight,likely,Chances are slight that 'Antoine is thirsty' or 'Daniel grabbed the milk' or both.,It is likely that 'Antoine is thirsty' or 'Daniel grabbed the milk' or both.,1,'Antoine is thirsty' or 'Daniel grabbed the milk' or both. It is improbable that John went to the kitchen. We believe that Greg is a lion. It is impossible that Mary left the football. It is improbable that if 'Mary left the football and John went to the kitchen' then Julius is green. It is likely that if 'John went to the kitchen' or 'Mary left the football' or both then Brian is yellow. It is unlikely that if 'Mary left the football and John went to the kitchen' then Bernhard is a frog.,There is almost no chance that 'Greg is a lion' 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.75::factB. 0.0::factC. %hop1 0.1::factX:-and(factC,factA). 0.7::factY:-or(factA,factC). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.75,0.372874574914983,train,we believe,almost no chance,We believe that 'Greg is a lion' or 'Bernhard is a frog' or both.,There is almost no chance that 'Greg is a lion' or 'Bernhard is a frog' or both.,0,'Greg is a lion' or 'Bernhard is a frog' or both. It is probably the case that Lily is a rhino. It is highly likely that Brian is yellow. There is a better than even chance that Mary went to the garden. Chances are about even that if 'Mary went to the garden and Brian is yellow' then Fred moved to the office. There is almost no chance that if 'Brian is yellow and Mary went to the garden' then Greg is a lion. It is improbable that if 'Mary went to the garden' or 'Lily is a rhino' or both then Julius is white.,It is highly likely that 'Lily is a rhino' 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.7::factA. 0.9::factB. 0.6::factC. %hop1 0.5::factX:-and(factC,factB). 0.02::factY:-and(factB,factC). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.88,0.2498499699939988,train,highly likely,chances are slight,It is highly likely that 'Lily is a rhino' or 'Mary went to the garden' or both.,Chances are slight that 'Lily is a rhino' or 'Mary went to the garden' or both.,1,'Lily is a rhino' or 'Mary went to the garden' or both. It is probably not the case that Winona is a wolf. It is improbable that Gertrude is a mouse. It is probably the case that Bernhard is green. There is little chance that if 'Winona is a wolf and Gertrude is a mouse' then Emily is a sheep. There is a very good chance that if either 'Winona is a wolf' or 'Gertrude is a mouse' but not both then Fred put down the apple. It is certain that if either 'Gertrude is a mouse' or 'Winona is a wolf' but not both then John went to the garden.,It is improbable that either 'Winona is a wolf' or 'Fred 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.1::factB. 0.7::factC. %hop1 0.1::factX:-and(factA,factB). 0.8::factY:-xor(factA,factB). 1.0::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.13,0.47729545909181836,train,improbable,likely,It is improbable that either 'Winona is a wolf' or 'Fred put down the apple' but not both.,It is likely that either 'Winona is a wolf' or 'Fred put down the apple' but not both.,1,Either 'Winona is a wolf' or 'Fred put down the apple' but not both. It is unlikely that Mary went to the bedroom. It is probable that Bernhard is yellow. It is probably the case that Brian is a lion. Chances are slight that if either 'Brian is a lion' or 'Mary went to the bedroom' but not both then Greg is white. It is probably the case that if either 'Brian is a lion' or 'Bernhard is yellow' but not both then John moved to the garden. It is probably the case that if 'Mary went to the bedroom' or 'Bernhard is yellow' or both then Sandra dropped the apple.,We believe that 'Mary went to the bedroom' or 'Bernhard 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.7::factB. 0.7::factC. %hop1 0.1::factX:-xor(factC,factA). 0.7::factY:-xor(factC,factB). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.76,0.7677535507101421,train,we believe,improbable,We believe that 'Mary went to the bedroom' or 'Bernhard is yellow' or both.,It is improbable that 'Mary went to the bedroom' or 'Bernhard is yellow' or both.,1,'Mary went to the bedroom' or 'Bernhard is yellow' or both. It is certain that Mary left the football. It is probably not the case that Lily is a frog. There is little chance that Brian is green. It is unlikely that if either 'Lily is a frog' or 'Brian is green' but not both then Julius is gray. There is little chance that if either 'Mary left the football' or 'Brian is green' but not both then Gertrude is a mouse. Chances are slight that if 'Lily is a frog and Brian is green' then Greg is a lion.,There is a very good chance that 'Greg is a lion and Gertrude 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 1.0::factA. 0.25::factB. 0.1::factC. %hop1 0.2::factX:-xor(factB,factC). 0.1::factY:-xor(factA,factC). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.0,0.07541508301660332,train,impossible,very good chance,It is impossible that 'Greg is a lion and Gertrude is a mouse'.,There is a very good chance that 'Greg is a lion and Gertrude is a mouse'.,0,'Greg is a lion and Gertrude is a mouse'. There is little chance that Lily is green. It is probably not the case that John picked up the apple. It is probably not the case that Julius is a lion. There is a better than even chance that if 'Julius is a lion and John picked up the apple' then Mary dropped the milk. It is highly likely that if 'John picked up the apple and Julius is a lion' then Greg is gray. It is unlikely that if 'John picked up the apple' or 'Lily is green' or both then Brian is a frog.,It is highly unlikely that 'John picked up the apple and Greg 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.1::factA. 0.25::factB. 0.25::factC. %hop1 0.6::factX:-and(factC,factB). 0.9::factY:-and(factB,factC). 0.2::factZ:-or(factB,factA). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.05625,0.7019403880776155,train,highly unlikely,about even,It is highly unlikely that 'John picked up the apple and Greg is gray'.,Chances are about even that 'John picked up the apple and Greg is gray'.,1,'John picked up the apple and Greg is gray'. There is a better than even chance that Gertrude is a mouse. There is a better than even chance that Jessica is a sheep. It is certain that Fred left the football. It is likely that if 'Jessica is a sheep and Gertrude is a mouse' then Julius is a swan. It is probably the case that if 'Jessica is a sheep' or 'Gertrude is a mouse' or both then Lily is yellow. There is a better than even chance that if either 'Gertrude is a mouse' or 'Jessica is a sheep' but not both then Bernhard is a frog.,It is highly unlikely that 'Lily is yellow and Fred 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.6::factA. 0.6::factB. 1.0::factC. %hop1 0.7::factX:-and(factB,factA). 0.7::factY:-or(factB,factA). 0.6::factZ:-xor(factA,factB). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.588,0.41368273654730947,train,better than even,highly unlikely,There is a better than even chance that 'Lily is yellow and Fred left the football'.,It is highly unlikely that 'Lily is yellow and Fred left the football'.,0,'Lily is yellow and Fred left the football'. It is impossible that Jessica is a cat. There is almost no chance that John left the football. There is a very good chance that Mary put down the apple. It is impossible that if 'Jessica is a cat and John left the football' then Brian is yellow. It is unlikely that if 'Mary put down the apple and John left the football' then Lily is green. It is certain that if either 'John left the football' or 'Mary put down the apple' but not both then Sumit is tired.,It is likely that 'John left the football 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.0::factA. 0.02::factB. 0.8::factC. %hop1 0.0::factX:-and(factA,factB). 0.2::factY:-and(factC,factB). 1.0::factZ:-xor(factB,factC). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.0,0.3242648529705941,train,impossible,likely,It is impossible that 'John left the football and Jessica is a cat'.,It is likely that 'John left the football and Jessica is a cat'.,0,'John left the football and Jessica is a cat'. We believe that Julius is a frog. It is certain that Mary got the apple. It is almost certain that John moved to the office. It is likely that if 'John moved to the office' or 'Julius is a frog' or both then Fred dropped the milk. There is a very good chance that if 'John moved to the office' or 'Julius is a frog' or both then Brian is white. There is little chance that if 'Julius is a frog' or 'Mary got the apple' or both then Winona is a wolf.,It is highly likely that either 'John moved to the office' 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.75::factA. 1.0::factB. 0.95::factC. %hop1 0.7::factX:-or(factC,factA). 0.8::factY:-or(factC,factA). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.22,0.6025205041008201,train,we doubt,highly likely,We doubt that either 'John moved to the office' or 'Brian is white' but not both.,It is highly likely that either 'John moved to the office' or 'Brian is white' but not both.,0,Either 'John moved to the office' or 'Brian is white' but not both. It is highly likely that Bernhard is a lion. We believe that Greg is white. We believe that Yann is thirsty. It is improbable that if 'Yann is thirsty and Bernhard is a lion' then Emily is a wolf. It is unlikely that if 'Greg is white and Bernhard is a lion' then Lily is a rhino. It is improbable that if 'Greg is white' or 'Bernhard is a lion' or both then Winona is a mouse.,It is unlikely that 'Lily is a rhino' 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.9::factA. 0.75::factB. 0.75::factC. %hop1 0.1::factX:-and(factC,factA). 0.2::factY:-and(factB,factA). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.19237500000000002,0.22024404880976195,train,unlikely,almost certain,It is unlikely that 'Lily is a rhino' or 'Emily is a wolf' or both.,It is almost certain that 'Lily is a rhino' or 'Emily is a wolf' or both.,1,'Lily is a rhino' or 'Emily is a wolf' or both. There is a better than even chance that Lily is a frog. It is improbable that John got the apple. There is almost no chance that Brian is white. It is impossible that if either 'Lily is a frog' or 'Brian is white' but not both then Emily is a wolf. It is highly unlikely that if 'Brian is white and Lily is a frog' then Sandra dropped the milk. We believe that if 'Lily is a frog and John got the apple' then Mary went to the hallway.,We believe that either 'Sandra dropped the milk' or 'Mary went to the hallway' 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.1::factB. 0.02::factC. %hop1 0.0::factX:-xor(factA,factC). 0.05::factY:-and(factC,factA). 0.75::factZ:-and(factA,factB). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.04550999999999999,0.7757551510302061,train,highly unlikely,we believe,It is highly unlikely that either 'Sandra dropped the milk' or 'Mary went to the hallway' but not both.,We believe that either 'Sandra dropped the milk' or 'Mary went to the hallway' but not both.,0,Either 'Sandra dropped the milk' or 'Mary went to the hallway' but not both. It is probably the case that Brian is a rhino. There is a very good chance that John took the apple. Chances are slight that Mary dropped the milk. It is probable that if either 'Brian is a rhino' or 'John took the apple' but not both then Julius is gray. Chances are slight that if either 'Mary dropped the milk' or 'Brian is a rhino' but not both then Greg is a swan. There is little chance that if 'Mary dropped the milk and John took the apple' then Lily is a lion.,It is highly unlikely that 'Mary dropped the milk' 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.8::factB. 0.1::factC. %hop1 0.7::factX:-xor(factA,factB). 0.1::factY:-xor(factC,factA). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.73,0.7741548309661932,train,we believe,highly unlikely,We believe that 'Mary dropped the milk' or 'Brian is a rhino' or both.,It is highly unlikely that 'Mary dropped the milk' or 'Brian is a rhino' or both.,0,'Mary dropped the milk' or 'Brian is a rhino' or both. It is highly unlikely that Sandra dropped the milk. It is certain that Brian is gray. It is highly unlikely that Julius is a frog. It is unlikely that if 'Sandra dropped the milk and Brian is gray' then Lily is a swan. It is probably not the case that if 'Brian is gray and Sandra dropped the milk' then Winona is a wolf. It is unlikely that if 'Sandra dropped the milk and Julius is a frog' then Fred went to the garden.,We believe that 'Lily is a swan 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.05::factA. 1.0::factB. 0.05::factC. %hop1 0.2::factX:-and(factA,factB). 0.25::factY:-and(factB,factA). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.010000000000000004,0.5913182636527305,train,almost no chance,we believe,There is almost no chance that 'Lily is a swan and Brian is gray'.,We believe that 'Lily is a swan and Brian is gray'.,0,'Lily is a swan and Brian is gray'. There is little chance that Greg is a lion. It is almost certain that John grabbed the apple. It is almost certain that Lily is white. It is impossible that if 'Lily is white and John grabbed the apple' then Fred moved to the office. It is probable that if 'Lily is white' or 'John grabbed the apple' or both then Mary went to the hallway. It is certain that if either 'Lily is white' or 'Greg is a lion' but not both then Bernhard is gray.,It is almost certain that either 'John grabbed the apple' 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 0.1::factA. 0.95::factB. 0.95::factC. %hop1 0.0::factX:-and(factC,factB). 0.7::factY:-or(factC,factB). 1.0::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.95,0.5483096619323865,train,almost certain,almost no chance,It is almost certain that either 'John grabbed the apple' or 'Fred moved to the office' but not both.,There is almost no chance that either 'John grabbed the apple' or 'Fred moved to the office' but not both.,1,Either 'John grabbed the apple' or 'Fred moved to the office' but not both. It is almost certain that Lily is green. There is little chance that John moved to the office. We believe that Winona is a wolf. Chances are about even that if 'Lily is green and John moved to the office' then Brian is green. There is a very good chance that if either 'Lily is green' or 'John moved to the office' but not both then Sandra left the football. It is highly unlikely that if 'Lily is green and John moved to the office' then Mary went to the kitchen.,We believe that 'Brian is green' or 'Sandra 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.1::factB. 0.75::factC. %hop1 0.5::factX:-and(factA,factB). 0.8::factY:-xor(factA,factB). 0.05::factZ:-and(factA,factB). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.7355,0.3472694538907782,train,we believe,probably not,We believe that 'Brian is green' or 'Sandra left the football' or both.,It is probably not the case that 'Brian is green' or 'Sandra left the football' or both.,1,'Brian is green' or 'Sandra left the football' or both. There is little chance that Bill went to the garden. It is impossible that Gertrude is a mouse. It is impossible that Brian is yellow. There is a better than even chance that if 'Gertrude is a mouse and Brian is yellow' then Lily is a rhino. It is improbable that if 'Bill went to the garden and Brian is yellow' then Mary left the football. It is impossible that if either 'Bill went to the garden' or 'Brian is yellow' but not both then Julius is a lion.,It is probably the case that either 'Lily is a rhino' 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.1::factA. 0.0::factB. 0.0::factC. %hop1 0.6::factX:-and(factB,factC). 0.1::factY:-and(factA,factC). 0.0::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.0,0.2920584116823365,train,impossible,probably,It is impossible that either 'Lily is a rhino' or 'Julius is a lion' but not both.,It is probably the case that either 'Lily is a rhino' or 'Julius is a lion' but not both.,0,Either 'Lily is a rhino' or 'Julius is a lion' but not both. It is certain that John got the apple. There is almost no chance that Greg is a rhino. There is little chance that Mary left the football. Chances are slight that if 'Greg is a rhino' or 'John got the apple' or both then Bernhard is yellow. There is little chance that if 'Mary left the football' or 'John got the apple' or both then Sumit is bored. It is certain that if either 'John got the apple' or 'Mary left the football' but not both then Bill went to the kitchen.,It is highly likely that 'Sumit is bored and Bill 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 1.0::factA. 0.02::factB. 0.1::factC. %hop1 0.1::factX:-or(factB,factA). 0.1::factY:-or(factC,factA). 1.0::factZ:-xor(factA,factC). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.09000000000000001,0.795759151830366,train,improbable,highly likely,It is improbable that 'Sumit is bored and Bill went to the kitchen'.,It is highly likely that 'Sumit is bored and Bill went to the kitchen'.,0,'Sumit is bored and Bill went to the kitchen'. There is a better than even chance that Julius is a swan. It is highly likely that Brian is a rhino. There is a better than even chance that John went to the kitchen. There is almost no chance that if either 'Julius is a swan' or 'John went to the kitchen' but not both then Mary dropped the milk. Chances are about even that if either 'John went to the kitchen' or 'Julius is a swan' but not both then Gertrude is a sheep. It is probable that if either 'Brian is a rhino' or 'Julius is a swan' but not both then Sandra grabbed the apple.,We believe that 'Gertrude is a sheep' 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.6::factA. 0.9::factB. 0.6::factC. %hop1 0.02::factX:-xor(factA,factC). 0.5::factY:-xor(factC,factA). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.24480000000000005,0.4662932586517303,train,probably not,we believe,It is probably not the case that 'Gertrude is a sheep' or 'Mary dropped the milk' or both.,We believe that 'Gertrude is a sheep' or 'Mary dropped the milk' or both.,0,'Gertrude is a sheep' or 'Mary dropped the milk' or both. It is probably the case that Bernhard is yellow. We doubt that Mary got the football. There is a better than even chance that Jeff left the apple. It is impossible that if 'Bernhard is yellow and Jeff left the apple' then Fred dropped the milk. There is almost no chance that if either 'Mary got the football' or 'Jeff left the apple' but not both then Lily is a swan. It is almost certain that if either 'Mary got the football' or 'Jeff left the apple' but not both then Brian is gray.,It is highly unlikely that 'Fred dropped the milk' 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.7::factA. 0.2::factB. 0.6::factC. %hop1 0.0::factX:-and(factA,factC). 0.02::factY:-xor(factB,factC). 0.95::factZ:-xor(factB,factC). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.5319999999999999,0.03760752150430086,train,about even,highly unlikely,Chances are about even that 'Fred dropped the milk' or 'Brian is gray' or both.,It is highly unlikely that 'Fred dropped the milk' or 'Brian is gray' or both.,0,'Fred dropped the milk' or 'Brian is gray' or both. Chances are slight that Brian is a rhino. Chances are about even that Lily is gray. We doubt that Jessica is a cat. There is a better than even chance that if 'Lily is gray' or 'Jessica is a cat' or both then Daniel grabbed the apple. There is a better than even chance that if 'Lily is gray and Jessica is a cat' then Mary dropped the milk. It is unlikely that if 'Jessica is a cat' or 'Lily is gray' or both then John went to the kitchen.,It is probable that 'Daniel grabbed the apple 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.5::factB. 0.2::factC. %hop1 0.6::factX:-or(factB,factC). 0.6::factY:-and(factB,factC). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.036000000000000004,0.0592118423684737,train,highly unlikely,probable,It is highly unlikely that 'Daniel grabbed the apple and Brian is a rhino'.,It is probable that 'Daniel grabbed the apple and Brian is a rhino'.,0,'Daniel grabbed the apple and Brian is a rhino'. It is certain that Brian is a swan. There is little chance that Greg is a rhino. It is certain that Julius is a frog. There is almost no chance that if either 'Brian is a swan' or 'Julius is a frog' but not both then Jessica is a cat. It is almost certain that if either 'Brian is a swan' or 'Julius is a frog' but not both then Sandra got the milk. There is almost no chance that if 'Brian is a swan' or 'Julius is a frog' or both then Mary went to the office.,It is certain that either 'Brian is a swan' or 'Sandra 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 1.0::factA. 0.1::factB. 1.0::factC. %hop1 0.02::factX:-xor(factA,factC). 0.95::factY:-xor(factA,factC). 0.02::factZ:-or(factA,factC). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",1.0,0.5837167433486697,train,certain,chances are slight,It is certain that either 'Brian is a swan' or 'Sandra got the milk' but not both.,Chances are slight that either 'Brian is a swan' or 'Sandra got the milk' but not both.,1,Either 'Brian is a swan' or 'Sandra got the milk' but not both. It is highly likely that John put down the apple. We believe that Fred left the football. There is a very good chance that Brian is yellow. It is unlikely that if 'Fred left the football and Brian is yellow' then Sandra got the milk. It is impossible that if 'John put down the apple and Brian is yellow' then Greg is a rhino. It is unlikely that if either 'Brian is yellow' or 'Fred left the football' but not both then Julius is white.,It is highly unlikely that 'Greg is a rhino' 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.9::factA. 0.75::factB. 0.8::factC. %hop1 0.2::factX:-and(factB,factC). 0.0::factY:-and(factA,factC). 0.2::factZ:-xor(factC,factB). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.07,0.0018003600720144029,train,highly unlikely,almost certain,It is highly unlikely that 'Greg is a rhino' or 'Julius is white' or both.,It is almost certain that 'Greg is a rhino' or 'Julius is white' or both.,1,'Greg is a rhino' or 'Julius is white' or both. It is probably the case that Lily is a lion. There is almost no chance that Fred put down the apple. It is improbable that Mary left the milk. It is probably not the case that if either 'Mary left the milk' or 'Lily is a lion' but not both then John went to the kitchen. It is certain that if 'Fred put down the apple' or 'Mary left the milk' or both then Brian is green. It is highly likely that if 'Fred put down the apple' or 'Mary left the milk' or both then Winona is a sheep.,It is likely that 'John went to the kitchen' 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.7::factA. 0.02::factB. 0.1::factC. %hop1 0.25::factX:-xor(factC,factA). 1.0::factY:-or(factB,factC). 0.9::factZ:-or(factB,factC). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.7075,0.5169033806761353,train,likely,chances are slight,It is likely that 'John went to the kitchen' or 'Lily is a lion' or both.,Chances are slight that 'John went to the kitchen' or 'Lily is a lion' or both.,1,'John went to the kitchen' or 'Lily is a lion' or both. It is certain that Bernhard is a frog. Chances are about even that Jessica is a sheep. It is highly unlikely that John picked up the apple. It is impossible that if 'Jessica is a sheep and Bernhard is a frog' then Mary left the football. It is probable that if either 'Bernhard is a frog' or 'Jessica is a sheep' but not both then Fred is in the office. We believe that if 'John picked up the apple' or 'Jessica is a sheep' or both then Brian is a lion.,It is highly unlikely that 'John picked up the apple' 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 1.0::factA. 0.5::factB. 0.05::factC. %hop1 0.0::factX:-and(factB,factA). 0.7::factY:-xor(factA,factB). 0.75::factZ:-or(factC,factB). %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.2594518903780756,train,certain,highly unlikely,It is certain that 'John picked up the apple' or 'Bernhard is a frog' or both.,It is highly unlikely that 'John picked up the apple' or 'Bernhard is a frog' or both.,0,'John picked up the apple' or 'Bernhard is a frog' or both. There is almost no chance that Lily is a rhino. It is improbable that Bernhard is white. We doubt that John dropped the apple. It is probably not the case that if 'Lily is a rhino' or 'Bernhard is white' or both then Yann is hungry. It is probable that if 'Lily is a rhino' or 'John dropped the apple' or both then Gertrude is a cat. Chances are about even that if 'Lily is a rhino and Bernhard is white' then Brian is yellow.,Chances are slight that 'Gertrude is a cat and John 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.02::factA. 0.1::factB. 0.2::factC. %hop1 0.25::factX:-or(factA,factB). 0.7::factY:-or(factA,factC). 0.5::factZ:-and(factA,factB). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.14,0.7771554310862172,train,chances are slight,probably,Chances are slight that 'Gertrude is a cat and John dropped the apple'.,It is probably the case that 'Gertrude is a cat and John dropped the apple'.,1,'Gertrude is a cat and John dropped the apple'. There is a better than even chance that Yann is tired. It is likely that John picked up the milk. We doubt that Fred is in the school. There is almost no chance that if 'Yann is tired and John picked up the milk' then Bernhard is a lion. Chances are slight that if 'Yann is tired' or 'Fred is in the school' or both then Lily is a frog. Chances are slight that if either 'Fred is in the school' or 'Yann is tired' but not both then Brian is white.,It is probably the case that either 'Brian is white' 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.6::factA. 0.7::factB. 0.2::factC. %hop1 0.02::factX:-and(factA,factB). 0.1::factY:-or(factA,factC). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.6775999999999999,0.5007001400280056,train,probably,little chance,It is probably the case that either 'Brian is white' or 'John picked up the milk' but not both.,There is little chance that either 'Brian is white' or 'John picked up the milk' but not both.,1,Either 'Brian is white' or 'John picked up the milk' but not both. It is improbable that Julius is green. There is a better than even chance that Sandra got the football. It is highly unlikely that Mary dropped the apple. There is a very good chance that if 'Mary dropped the apple and Sandra got the football' then Lily is a swan. It is improbable that if either 'Mary dropped the apple' or 'Sandra got the football' but not both then John moved to the garden. It is unlikely that if 'Sandra got the football' or 'Mary dropped the apple' or both then Greg is a rhino.,We doubt that 'Julius is green' 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.1::factA. 0.6::factB. 0.05::factC. %hop1 0.8::factX:-and(factC,factB). 0.1::factY:-xor(factC,factB). 0.2::factZ:-or(factB,factC). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.15310000000000004,0.1360272054410882,train,we doubt,certain,We doubt that 'Julius is green' or 'John moved to the garden' or both.,It is certain that 'Julius is green' or 'John moved to the garden' or both.,1,'Julius is green' or 'John moved to the garden' or both. It is highly likely that Jeff put down the milk. It is likely that Lily is green. It is probably the case that Antoine is hungry. It is highly likely that if 'Antoine is hungry' or 'Jeff put down the milk' or both then Bernhard is a swan. Chances are slight that if either 'Antoine is hungry' or 'Lily is green' but not both then Brian is yellow. There is a very good chance that if 'Antoine is hungry' or 'Lily is green' or both then Mary went to the hallway.,There is almost no chance that 'Brian is yellow 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.9::factA. 0.7::factB. 0.7::factC. %hop1 0.9::factX:-or(factC,factA). 0.1::factY:-xor(factC,factB). 0.8::factZ:-or(factC,factB). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.03360000000000001,0.5143028605721144,train,almost no chance,better than even,There is almost no chance that 'Brian is yellow and Mary went to the hallway'.,There is a better than even chance that 'Brian is yellow and Mary went to the hallway'.,1,'Brian is yellow and Mary went to the hallway'. It is probably the case that Bernhard is green. It is highly likely that Greg is a rhino. It is highly likely that Brian is gray. It is probable that if 'Bernhard is green' or 'Greg is a rhino' or both then Julius is yellow. We doubt that if 'Brian is gray' or 'Greg is a rhino' or both then Jessica is a cat. It is improbable that if 'Bernhard is green' or 'Greg is a rhino' or both then John moved to the office.,There is almost no chance that 'Jessica is a cat' 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.7::factA. 0.9::factB. 0.9::factC. %hop1 0.7::factX:-or(factA,factB). 0.2::factY:-or(factC,factB). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.918,0.20504100820164034,train,highly likely,almost no chance,It is highly likely that 'Jessica is a cat' or 'Brian is gray' or both.,There is almost no chance that 'Jessica is a cat' or 'Brian is gray' or both.,0,'Jessica is a cat' or 'Brian is gray' or both. It is certain that Lily is yellow. It is likely that Greg is a swan. Chances are slight that John went to the garden. It is probably the case that if 'John went to the garden and Lily is yellow' then Brian is white. There is a very good chance that if 'Greg is a swan' or 'Lily is yellow' or both then Bernhard is a rhino. It is unlikely that if either 'Greg is a swan' or 'Lily is yellow' but not both then Mary discarded the milk.,It is certain that 'Mary discarded the milk' 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.7::factB. 0.1::factC. %hop1 0.7::factX:-and(factC,factA). 0.8::factY:-or(factB,factA). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",1.0,0.7203440688137628,train,certain,unlikely,It is certain that 'Mary discarded the milk' or 'Lily is yellow' or both.,It is unlikely that 'Mary discarded the milk' or 'Lily is yellow' or both.,1,'Mary discarded the milk' or 'Lily is yellow' or both. It is almost certain that Julius is gray. It is highly likely that Lily is a rhino. There is a better than even chance that Mary dropped the apple. It is certain that if 'Mary dropped the apple' or 'Julius is gray' or both then Jeff went to the bedroom. It is certain that if 'Julius is gray' or 'Mary dropped the apple' or both then Greg is a lion. There is little chance that if either 'Lily is a rhino' or 'Julius is gray' but not both then Emily is a mouse.,It is improbable that either 'Greg is a lion' or 'Lily 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.95::factA. 0.9::factB. 0.6::factC. %hop1 1.0::factX:-or(factC,factA). 1.0::factY:-or(factA,factC). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.116,0.08041608321664333,train,improbable,almost certain,It is improbable that either 'Greg is a lion' or 'Lily is a rhino' but not both.,It is almost certain that either 'Greg is a lion' or 'Lily is a rhino' but not both.,1,Either 'Greg is a lion' or 'Lily is a rhino' but not both. It is almost certain that Brian is a swan. It is probably the case that Lily is green. We believe that Greg is yellow. It is unlikely that if either 'Greg is yellow' or 'Lily is green' but not both then Yann is hungry. Chances are slight that if 'Greg is yellow and Lily is green' then Mary got the football. There is little chance that if either 'Brian is a swan' or 'Greg is yellow' but not both then John went to the hallway.,It is highly unlikely that 'Greg is yellow 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.95::factA. 0.7::factB. 0.75::factC. %hop1 0.2::factX:-xor(factC,factB). 0.1::factY:-and(factC,factB). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.045000000000000005,0.3178635727145429,train,highly unlikely,very good chance,It is highly unlikely that 'Greg is yellow and Yann is hungry'.,There is a very good chance that 'Greg is yellow and Yann is hungry'.,1,'Greg is yellow and Yann is hungry'. It is highly likely that Brian is a rhino. It is probable that Mary took the football. We doubt that Bernhard is yellow. It is probable that if either 'Bernhard is yellow' or 'Brian is a rhino' but not both then Greg is a lion. It is highly unlikely that if 'Bernhard is yellow' or 'Brian is a rhino' or both then Gertrude is a sheep. There is little chance that if 'Mary took the football' or 'Brian is a rhino' or both then John went to the bedroom.,It is probably not the case that 'Bernhard is yellow' 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.9::factA. 0.7::factB. 0.2::factC. %hop1 0.7::factX:-xor(factC,factA). 0.05::factY:-or(factC,factA). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.92,0.26885377075415084,train,highly likely,probably not,It is highly likely that 'Bernhard is yellow' or 'Brian is a rhino' or both.,It is probably not the case that 'Bernhard is yellow' or 'Brian is a rhino' or both.,0,'Bernhard is yellow' or 'Brian is a rhino' or both. It is improbable that Lily is a rhino. It is probably the case that Sandra got the milk. We doubt that John moved to the garden. It is probably not the case that if 'Lily is a rhino and John moved to the garden' then Emily is a wolf. It is probably the case that if either 'Sandra got the milk' or 'John moved to the garden' but not both then Brian is a frog. It is impossible that if 'John moved to the garden' or 'Sandra got the milk' or both then Mary went to the kitchen.,We doubt that 'Emily is a wolf' 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.1::factA. 0.7::factB. 0.2::factC. %hop1 0.25::factX:-and(factA,factC). 0.7::factY:-xor(factB,factC). 0.0::factZ:-or(factC,factB). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.2,0.4970994198839768,train,we doubt,we believe,We doubt that 'Emily is a wolf' or 'John moved to the garden' or both.,We believe that 'Emily is a wolf' or 'John moved to the garden' or both.,1,'Emily is a wolf' or 'John moved to the garden' or both. It is probable that Brian is a swan. It is improbable that Lily is a frog. It is impossible that John moved to the office. It is highly likely that if 'Lily is a frog' or 'Brian is a swan' or both then Emily is a wolf. It is unlikely that if 'Brian is a swan and Lily is a frog' then Julius is yellow. It is probable that if either 'Brian is a swan' or 'John moved to the office' but not both then Mary dropped the milk.,It is almost certain that either 'Emily is a wolf' or 'Mary 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. 0.1::factB. 0.0::factC. %hop1 0.9::factX:-or(factB,factA). 0.2::factY:-and(factA,factB). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.265,0.33146629325865173,train,probably not,almost certain,It is probably not the case that either 'Emily is a wolf' or 'Mary dropped the milk' but not both.,It is almost certain that either 'Emily is a wolf' or 'Mary dropped the milk' but not both.,0,Either 'Emily is a wolf' or 'Mary dropped the milk' but not both. It is improbable that Jessica is a mouse. There is little chance that Julius is green. Chances are slight that Lily is a rhino. It is likely that if 'Lily is a rhino' or 'Julius is green' or both then Mary grabbed the milk. There is a better than even chance that if 'Lily is a rhino and Jessica is a mouse' then Emily is a sheep. It is probably not the case that if 'Julius is green' or 'Jessica is a mouse' or both then Winona is a wolf.,It is certain that 'Winona is a wolf' 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.1::factA. 0.1::factB. 0.1::factC. %hop1 0.7::factX:-or(factC,factB). 0.6::factY:-and(factC,factA). 0.25::factZ:-or(factB,factA). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.14275000000000004,0.587117423484697,train,chances are slight,certain,Chances are slight that 'Winona is a wolf' or 'Lily is a rhino' or both.,It is certain that 'Winona is a wolf' or 'Lily is a rhino' or both.,0,'Winona is a wolf' or 'Lily is a rhino' or both. It is almost certain that Brian is a rhino. It is unlikely that Fred discarded the apple. It is unlikely that Bernhard is a swan. It is highly unlikely that if 'Brian is a rhino and Fred discarded the apple' then Jessica is a mouse. It is probable that if 'Brian is a rhino and Bernhard is a swan' then Sandra dropped the milk. There is a better than even chance that if 'Fred discarded the apple' or 'Bernhard is a swan' or both then John went to the bedroom.,It is probably not the case that either 'Fred discarded the apple' 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.95::factA. 0.2::factB. 0.2::factC. %hop1 0.05::factX:-and(factA,factB). 0.7::factY:-and(factA,factC). 0.6::factZ:-or(factB,factC). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.32,0.2568513702740548,train,probably not,probable,It is probably not the case that either 'Fred discarded the apple' or 'Bernhard is a swan' but not both.,It is probable that either 'Fred discarded the apple' or 'Bernhard is a swan' but not both.,1,Either 'Fred discarded the apple' or 'Bernhard is a swan' but not both. It is unlikely that Mary went to the bedroom. It is highly unlikely that John dropped the apple. There is almost no chance that Brian is white. It is improbable that if either 'Mary went to the bedroom' or 'Brian is white' but not both then Julius is a swan. It is probably the case that if either 'John dropped the apple' or 'Mary went to the bedroom' but not both then Lily is a lion. It is highly likely that if either 'Mary went to the bedroom' or 'John dropped the apple' but not both then Bernhard is gray.,There is almost no chance that 'John dropped the apple 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.2::factA. 0.05::factB. 0.02::factC. %hop1 0.1::factX:-xor(factA,factC). 0.7::factY:-xor(factB,factA). 0.9::factZ:-xor(factA,factB). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.010000000000000004,0.7471494298859772,train,almost no chance,about even,There is almost no chance that 'John dropped the apple and Mary went to the bedroom'.,Chances are about even that 'John dropped the apple and Mary went to the bedroom'.,1,'John dropped the apple and Mary went to the bedroom'. It is probable that Jeff put down the milk. There is a better than even chance that Lily is green. It is probable that Bernhard is gray. It is highly likely that if 'Jeff put down the milk and Lily is green' then Mary moved to the garden. We doubt that if 'Jeff put down the milk' or 'Bernhard is gray' or both then Julius is a swan. We doubt that if 'Jeff put down the milk' or 'Bernhard is gray' or both then Greg is yellow.,It is almost certain that 'Julius is a swan and Jeff 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.7::factA. 0.6::factB. 0.7::factC. %hop1 0.9::factX:-and(factA,factB). 0.2::factY:-or(factA,factC). 0.2::factZ:-or(factA,factC). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.14,0.6527305461092219,train,improbable,almost certain,It is improbable that 'Julius is a swan and Jeff put down the milk'.,It is almost certain that 'Julius is a swan and Jeff put down the milk'.,0,'Julius is a swan and Jeff put down the milk'. Chances are about even that Greg is a lion. We doubt that Brian is white. Chances are slight that Bill got the milk there. It is impossible that if either 'Bill got the milk there' or 'Greg is a lion' but not both then Julius is a rhino. We doubt that if 'Brian is white' or 'Greg is a lion' or both then Lily is green. It is almost certain that if either 'Greg is a lion' or 'Brian is white' but not both then Fred went to the office.,Chances are slight that 'Lily is green and Fred 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.5::factA. 0.2::factB. 0.1::factC. %hop1 0.0::factX:-xor(factC,factA). 0.2::factY:-or(factB,factA). 0.95::factZ:-xor(factA,factB). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.09500000000000001,0.35467093418683737,train,chances are slight,highly likely,Chances are slight that 'Lily is green and Fred went to the office'.,It is highly likely that 'Lily is green and Fred went to the office'.,1,'Lily is green and Fred went to the office'. It is probable that Mary went to the bedroom. We doubt that Lily is white. It is unlikely that John left the football. Chances are slight that if 'Lily is white' or 'John left the football' or both then Winona is a wolf. There is little chance that if either 'Lily is white' or 'Mary went to the bedroom' but not both then Yann is tired. We doubt that if 'John left the football and Lily is white' then Greg is a rhino.,It is highly unlikely that 'Mary went to the bedroom' or 'Yann 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.7::factA. 0.2::factB. 0.2::factC. %hop1 0.1::factX:-or(factB,factC). 0.1::factY:-xor(factB,factA). 0.2::factZ:-and(factC,factB). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.706,0.3194638927785557,train,probably,highly unlikely,It is probably the case that 'Mary went to the bedroom' or 'Yann is tired' or both.,It is highly unlikely that 'Mary went to the bedroom' or 'Yann is tired' or both.,0,'Mary went to the bedroom' or 'Yann is tired' or both. We believe that Jessica is a mouse. It is highly likely that Sandra got the football. It is likely that Bill went to the kitchen. It is certain that if either 'Bill went to the kitchen' or 'Sandra got the football' but not both then Julius is gray. We believe that if 'Sandra got the football and Jessica is a mouse' then Lily is a rhino. Chances are slight that if either 'Bill went to the kitchen' or 'Sandra got the football' but not both then John dropped the apple.,It is almost certain that 'Bill went to the kitchen' 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.75::factA. 0.9::factB. 0.7::factC. %hop1 1.0::factX:-xor(factC,factB). 0.75::factY:-and(factB,factA). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.97,0.5157031406281256,train,almost certain,impossible,It is almost certain that 'Bill went to the kitchen' or 'Sandra got the football' or both.,It is impossible that 'Bill went to the kitchen' or 'Sandra got the football' or both.,1,'Bill went to the kitchen' or 'Sandra got the football' or both. There is little chance that Jason is tired. There is a better than even chance that Sandra took the football. We doubt that Jessica is a cat. There is little chance that if either 'Sandra took the football' or 'Jason is tired' but not both then Mary went to the garden. It is probably not the case that if 'Jason is tired and Sandra took the football' then Bernhard is a swan. It is unlikely that if 'Jason is tired and Sandra took the football' then Julius is a lion.,It is unlikely that 'Jessica is a cat' or 'Sandra took 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.6::factB. 0.2::factC. %hop1 0.1::factX:-xor(factB,factA). 0.25::factY:-and(factA,factB). 0.2::factZ:-and(factA,factB). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.68,0.49749949989998,train,probable,unlikely,It is probable that 'Jessica is a cat' or 'Sandra took the football' or both.,It is unlikely that 'Jessica is a cat' or 'Sandra took the football' or both.,0,'Jessica is a cat' or 'Sandra took the football' or both. It is unlikely that Julius is yellow. It is likely that Greg is gray. It is impossible that Lily is white. It is unlikely that if either 'Julius is yellow' or 'Greg is gray' but not both then Bill went to the kitchen. There is a very good chance that if 'Julius is yellow and Greg is gray' then Brian is a swan. There is little chance that if 'Lily is white and Julius is yellow' then John discarded the apple.,There is a better than even chance that either 'Greg is gray' 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.2::factA. 0.7::factB. 0.0::factC. %hop1 0.2::factX:-xor(factA,factB). 0.8::factY:-and(factA,factB). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.62,0.714742948589718,train,better than even,chances are slight,There is a better than even chance that either 'Greg is gray' or 'Julius is yellow' but not both.,Chances are slight that either 'Greg is gray' or 'Julius is yellow' but not both.,1,Either 'Greg is gray' or 'Julius is yellow' but not both. We believe that Mary went to the bedroom. It is likely that Greg is a swan. It is probably not the case that John left the milk. Chances are slight that if 'Greg is a swan and Mary went to the bedroom' then Gertrude is a mouse. Chances are slight that if either 'Greg is a swan' or 'Mary went to the bedroom' but not both then Julius is a lion. We doubt that if 'John left the milk and Greg is a swan' then Bernhard is yellow.,It is probably the case that 'Gertrude is a mouse 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.75::factA. 0.7::factB. 0.25::factC. %hop1 0.1::factX:-and(factB,factA). 0.1::factY:-xor(factB,factA). 0.2::factZ:-and(factC,factB). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.0,0.1988397679535907,train,impossible,probably,It is impossible that 'Gertrude is a mouse and Julius is a lion'.,It is probably the case that 'Gertrude is a mouse and Julius is a lion'.,0,'Gertrude is a mouse and Julius is a lion'. It is highly unlikely that Emily is a wolf. There is a better than even chance that Julius is a lion. It is probable that John discarded the milk. It is certain that if 'Emily is a wolf' or 'John discarded the milk' or both then Sumit is thirsty. We doubt that if 'John discarded the milk' or 'Emily is a wolf' or both then Winona is a mouse. There is almost no chance that if either 'Emily is a wolf' or 'Julius is a lion' but not both then Brian is green.,It is impossible that 'Brian is green and John 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.05::factA. 0.6::factB. 0.7::factC. %hop1 1.0::factX:-or(factA,factC). 0.2::factY:-or(factC,factA). 0.02::factZ:-xor(factA,factB). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.008260000000000002,0.6595319063812762,train,impossible,we believe,It is impossible that 'Brian is green and John discarded the milk'.,We believe that 'Brian is green and John discarded the milk'.,1,'Brian is green and John discarded the milk'. It is highly likely that Winona is a wolf. It is probably the case that Gertrude is a cat. It is certain that Mary went to the garden. It is highly likely that if 'Winona is a wolf' or 'Mary went to the garden' or both then Brian is green. Chances are slight that if 'Gertrude is a cat' or 'Winona is a wolf' or both then John got the apple. It is impossible that if either 'Winona is a wolf' or 'Gertrude is a cat' but not both then Greg is gray.,There is almost no chance that 'Gertrude is a cat' 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.9::factA. 0.7::factB. 1.0::factC. %hop1 0.9::factX:-or(factA,factC). 0.1::factY:-or(factB,factA). 0.0::factZ:-xor(factA,factB). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.97,0.1936387277455491,train,almost certain,almost no chance,It is almost certain that 'Gertrude is a cat' or 'Brian is green' or both.,There is almost no chance that 'Gertrude is a cat' or 'Brian is green' or both.,0,'Gertrude is a cat' or 'Brian is green' or both. We doubt that Sandra dropped the milk. Chances are slight that Brian is gray. It is probably the case that Yann is tired. There is almost no chance that if 'Brian is gray and Yann is tired' then Lily is a frog. It is probably not the case that if either 'Yann is tired' or 'Brian is gray' but not both then Julius is green. It is highly likely that if 'Sandra dropped the milk' or 'Brian is gray' or both then John moved to the office.,It is likely that 'Julius is green' 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.2::factA. 0.1::factB. 0.7::factC. %hop1 0.02::factX:-and(factB,factC). 0.25::factY:-xor(factC,factB). 0.9::factZ:-or(factA,factB). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.2575,0.08521704340868173,train,probably not,likely,It is probably not the case that 'Julius is green' or 'Brian is gray' or both.,It is likely that 'Julius is green' or 'Brian is gray' or both.,0,'Julius is green' or 'Brian is gray' or both. We believe that Yann is bored. We believe that Julius is yellow. There is little chance that Mary went to the bedroom. It is improbable that if 'Mary went to the bedroom and Julius is yellow' then Sandra left the milk. It is almost certain that if 'Julius is yellow' or 'Yann is bored' or both then John moved to the office. Chances are slight that if either 'Yann is bored' or 'Julius is yellow' but not both then Bernhard is green.,There is a very good chance that 'John moved to the office 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.75::factA. 0.75::factB. 0.1::factC. %hop1 0.1::factX:-and(factC,factB). 0.95::factY:-or(factB,factA). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.08906250000000002,0.052210442088417686,train,improbable,very good chance,It is improbable that 'John moved to the office and Mary went to the bedroom'.,There is a very good chance that 'John moved to the office and Mary went to the bedroom'.,0,'John moved to the office and Mary went to the bedroom'. There is a better than even chance that Julius is gray. There is a better than even chance that John took the apple. It is highly unlikely that Greg is a rhino. It is likely that if 'Greg is a rhino' or 'Julius is gray' or both then Jessica is a cat. It is improbable that if either 'Greg is a rhino' or 'Julius is gray' but not both then Sandra dropped the milk. It is highly unlikely that if either 'Greg is a rhino' or 'Julius is gray' but not both then Bernhard is a swan.,It is probably not the case that 'John took the apple 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.6::factA. 0.6::factB. 0.05::factC. %hop1 0.7::factX:-or(factC,factA). 0.1::factY:-xor(factC,factA). 0.05::factZ:-xor(factC,factA). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.36,0.2596519303860772,train,probably not,highly likely,It is probably not the case that 'John took the apple and Julius is gray'.,It is highly likely that 'John took the apple and Julius is gray'.,1,'John took the apple and Julius is gray'. It is highly unlikely that Yann is tired. It is likely that Mary moved to the office. There is a better than even chance that Julius is yellow. Chances are about even that if 'Yann is tired and Mary moved to the office' then Fred put down the apple. It is unlikely that if 'Julius is yellow' or 'Yann is tired' or both then Greg is a swan. We doubt that if 'Yann is tired and Julius is yellow' then Bernhard is green.,It is probable that 'Fred put down the apple' 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.05::factA. 0.7::factB. 0.6::factC. %hop1 0.5::factX:-and(factA,factB). 0.2::factY:-or(factC,factA). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.7,0.7343468693738747,train,probable,unlikely,It is probable that 'Fred put down the apple' or 'Mary moved to the office' or both.,It is unlikely that 'Fred put down the apple' or 'Mary moved to the office' or both.,1,'Fred put down the apple' or 'Mary moved to the office' or both. Chances are slight that Sumit is tired. We doubt that Yann is bored. It is likely that Bernhard is green. Chances are slight that if 'Sumit is tired and Yann is bored' then Lily is green. We believe that if 'Sumit is tired and Bernhard is green' then Julius is a frog. There is little chance that if 'Sumit is tired and Yann is bored' then Brian is white.,It is impossible that either 'Lily 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.7::factC. %hop1 0.1::factX:-and(factA,factB). 0.75::factY:-and(factA,factC). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.003600000000000003,0.5687137427485497,train,impossible,probable,It is impossible that either 'Lily is green' or 'Brian is white' but not both.,It is probable that either 'Lily is green' or 'Brian is white' but not both.,1,Either 'Lily is green' or 'Brian is white' but not both. Chances are slight that Brian is a lion. It is improbable that Greg is gray. There is a very good chance that Julius is a frog. It is likely that if 'Julius is a frog and Brian is a lion' then Daniel dropped the milk. There is a better than even chance that if either 'Greg is gray' or 'Julius is a frog' but not both then John moved to the office. It is unlikely that if 'Greg is gray and Brian is a lion' then Lily is a swan.,Chances are about even that either 'Julius is a frog' or 'John 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.1::factA. 0.1::factB. 0.8::factC. %hop1 0.7::factX:-and(factC,factA). 0.6::factY:-xor(factB,factC). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.38000000000000006,0.4482896579315863,train,about even,certain,Chances are about even that either 'Julius is a frog' or 'John moved to the office' but not both.,It is certain that either 'Julius is a frog' or 'John moved to the office' but not both.,1,Either 'Julius is a frog' or 'John moved to the office' but not both. It is impossible that Julius is a frog. It is likely that Brian is a swan. It is unlikely that Daniel left the apple. We believe that if 'Julius is a frog' or 'Daniel left the apple' or both then Lily is a rhino. It is almost certain that if 'Julius is a frog' or 'Daniel left the apple' or both then Gertrude is a cat. Chances are about even that if 'Julius is a frog and Brian is a swan' then Winona is a sheep.,There is little chance that 'Brian is a swan and Daniel 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.0::factA. 0.7::factB. 0.2::factC. %hop1 0.75::factX:-or(factA,factC). 0.95::factY:-or(factA,factC). 0.5::factZ:-and(factA,factB). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.14,0.5431086217243448,train,little chance,likely,There is little chance that 'Brian is a swan and Daniel left the apple'.,It is likely that 'Brian is a swan and Daniel left the apple'.,1,'Brian is a swan and Daniel left the apple'. We doubt that Greg is a rhino. It is probable that Julius is white. There is a better than even chance that Mary discarded the milk. It is almost certain that if 'Julius is white and Mary discarded the milk' then Sandra left the football. Chances are about even that if 'Julius is white and Mary discarded the milk' then Brian is white. There is a better than even chance that if either 'Mary discarded the milk' or 'Julius is white' but not both then John dropped the milk.,We believe that 'Sandra left the football 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.7::factB. 0.6::factC. %hop1 0.95::factX:-and(factB,factC). 0.5::factY:-and(factB,factC). 0.6::factZ:-xor(factC,factB). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.0798,0.6583316663332667,train,little chance,we believe,There is little chance that 'Sandra left the football and Greg is a rhino'.,We believe that 'Sandra left the football and Greg is a rhino'.,0,'Sandra left the football and Greg is a rhino'. It is certain that Jeff went to the garden. We doubt that Greg is a lion. It is probably not the case that Mary grabbed the milk. It is likely that if either 'Mary grabbed the milk' or 'Greg is a lion' but not both then Emily is a wolf. Chances are about even that if either 'Greg is a lion' or 'Mary grabbed the milk' but not both then John moved to the office. It is probably not the case that if 'Mary grabbed the milk' or 'Jeff went to the garden' or both then Lily is gray.,Chances are about even that either 'Mary grabbed the milk' 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 1.0::factA. 0.2::factB. 0.25::factC. %hop1 0.7::factX:-xor(factC,factB). 0.5::factY:-xor(factB,factC). 0.25::factZ:-or(factC,factA). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.375,0.6625325065013002,train,about even,almost no chance,Chances are about even that either 'Mary grabbed the milk' or 'Lily is gray' but not both.,There is almost no chance that either 'Mary grabbed the milk' or 'Lily is gray' but not both.,1,Either 'Mary grabbed the milk' or 'Lily is gray' but not both. We believe that Bernhard is yellow. Chances are slight that Lily is a swan. It is impossible that Sandra got the football. There is a better than even chance that if 'Bernhard is yellow and Lily is a swan' then Gertrude is a mouse. It is almost certain that if either 'Bernhard is yellow' or 'Lily is a swan' but not both then Julius is a lion. It is likely that if either 'Lily is a swan' or 'Sandra got the football' but not both then Mary put down the milk.,We believe that 'Julius is a lion' 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.75::factA. 0.1::factB. 0.0::factC. %hop1 0.6::factX:-and(factA,factB). 0.95::factY:-xor(factA,factB). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.74125,0.12922584516903382,train,we believe,almost no chance,We believe that 'Julius is a lion' or 'Lily is a swan' or both.,There is almost no chance that 'Julius is a lion' or 'Lily is a swan' or both.,1,'Julius is a lion' or 'Lily is a swan' or both. Chances are about even that Lily is green. It is unlikely that Gertrude is a cat. It is certain that Mary went to the garden. It is certain that if 'Mary went to the garden and Lily is green' then Sandra dropped the milk. It is probably the case that if 'Gertrude is a cat and Lily is green' then Greg is gray. We doubt that if 'Gertrude is a cat and Lily is green' then Julius is yellow.,There is a better than even chance that 'Julius is yellow and Greg 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. 0.2::factB. 1.0::factC. %hop1 1.0::factX:-and(factC,factA). 0.7::factY:-and(factB,factA). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.014000000000000007,0.3396679335867173,train,almost no chance,better than even,There is almost no chance that 'Julius is yellow and Greg is gray'.,There is a better than even chance that 'Julius is yellow and Greg is gray'.,0,'Julius is yellow and Greg is gray'. It is almost certain that Sandra left the apple. Chances are about even that Fred is in the office. It is improbable that Greg is a lion. Chances are slight that if either 'Greg is a lion' or 'Fred is in the office' but not both then Bernhard is a swan. It is likely that if 'Greg is a lion and Sandra left the apple' then Brian is white. It is likely that if either 'Fred is in the office' or 'Greg is a lion' but not both then Julius is a frog.,Chances are about even that 'Fred is in the office 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.95::factA. 0.5::factB. 0.1::factC. %hop1 0.1::factX:-xor(factC,factB). 0.7::factY:-and(factC,factA). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.475,0.252250450090018,train,about even,impossible,Chances are about even that 'Fred is in the office and Sandra left the apple'.,It is impossible that 'Fred is in the office and Sandra left the apple'.,1,'Fred is in the office and Sandra left the apple'. There is little chance that Lily is white. There is little chance that John discarded the milk. It is highly unlikely that Julius is a swan. It is impossible that if either 'John discarded the milk' or 'Julius is a swan' but not both then Greg is a frog. It is impossible that if 'Julius is a swan' or 'John discarded the milk' or both then Mary went to the bedroom. Chances are about even that if either 'John discarded the milk' or 'Julius is a swan' but not both then Bernhard is gray.,It is certain that 'Mary went to the bedroom 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.1::factA. 0.1::factB. 0.05::factC. %hop1 0.0::factX:-xor(factB,factC). 0.0::factY:-or(factC,factB). 0.5::factZ:-xor(factB,factC). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.0,0.18483696739347868,train,impossible,certain,It is impossible that 'Mary went to the bedroom and Greg is a frog'.,It is certain that 'Mary went to the bedroom and Greg is a frog'.,0,'Mary went to the bedroom and Greg is a frog'. We doubt that John picked up the apple. It is almost certain that Mary dropped the milk. We believe that Bernhard is white. There is little chance that if either 'Mary dropped the milk' or 'Bernhard is white' but not both then Lily is a rhino. It is highly likely that if 'John picked up the apple and Bernhard is white' then Brian is a swan. There is a better than even chance that if either 'Mary dropped the milk' or 'Bernhard is white' but not both then Julius is gray.,There is almost no chance that either 'John picked up the apple' 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.95::factB. 0.75::factC. %hop1 0.1::factX:-xor(factB,factC). 0.9::factY:-and(factA,factC). 0.6::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.65,0.7215443088617723,train,likely,almost no chance,It is likely that either 'John picked up the apple' or 'Bernhard is white' but not both.,There is almost no chance that either 'John picked up the apple' or 'Bernhard is white' but not both.,0,Either 'John picked up the apple' or 'Bernhard is white' but not both. It is probably not the case that Winona is a mouse. We believe that Fred left the football. Chances are slight that Mary went to the bedroom. It is improbable that if either 'Fred left the football' or 'Winona is a mouse' but not both then Greg is a lion. It is likely that if 'Mary went to the bedroom and Fred left the football' then Julius is a frog. It is probable that if either 'Mary went to the bedroom' or 'Fred left the football' but not both then Lily is green.,It is impossible that either 'Winona is a mouse' or 'Lily 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.75::factB. 0.1::factC. %hop1 0.1::factX:-xor(factB,factA). 0.7::factY:-and(factC,factB). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.495,0.15683136627325464,train,about even,impossible,Chances are about even that either 'Winona is a mouse' or 'Lily is green' but not both.,It is impossible that either 'Winona is a mouse' or 'Lily is green' but not both.,0,Either 'Winona is a mouse' or 'Lily is green' but not both. It is impossible that Julius is yellow. It is almost certain that John went to the kitchen. It is probable that Gertrude is a mouse. It is probably not the case that if 'Gertrude is a mouse and Julius is yellow' then Bernhard is a swan. It is probably not the case that if 'Julius is yellow and John went to the kitchen' then Jessica is a cat. Chances are about even that if 'John went to the kitchen' or 'Julius is yellow' or both then Yann is hungry.,It is likely that either 'Gertrude is a mouse' 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.0::factA. 0.95::factB. 0.7::factC. %hop1 0.25::factX:-and(factC,factA). 0.25::factY:-and(factA,factB). 0.5::factZ:-or(factB,factA). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.7,0.33806761352270454,train,likely,probably not,It is likely that either 'Gertrude is a mouse' or 'Bernhard is a swan' but not both.,It is probably not the case that either 'Gertrude is a mouse' or 'Bernhard is a swan' but not both.,1,Either 'Gertrude is a mouse' or 'Bernhard is a swan' but not both. Chances are slight that Brian is gray. Chances are slight that Daniel got the apple. It is improbable that Sumit is bored. It is highly likely that if 'Brian is gray' or 'Sumit is bored' or both then Greg is a swan. It is unlikely that if either 'Daniel got the apple' or 'Sumit is bored' but not both then Mary picked up the milk. It is likely that if either 'Sumit is bored' or 'Brian is gray' but not both then Bernhard is a lion.,We doubt that either 'Brian is gray' or 'Sumit is bored' 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.1::factC. %hop1 0.9::factX:-or(factA,factC). 0.2::factY:-xor(factB,factC). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.18000000000000005,0.7279455891178236,train,we doubt,highly likely,We doubt that either 'Brian is gray' or 'Sumit is bored' but not both.,It is highly likely that either 'Brian is gray' or 'Sumit is bored' but not both.,1,Either 'Brian is gray' or 'Sumit is bored' but not both. It is unlikely that Greg is gray. It is probably not the case that Winona is a sheep. It is impossible that Lily is a swan. It is highly unlikely that if either 'Greg is gray' or 'Lily is a swan' but not both then Fred dropped the milk. It is probable that if either 'Greg is gray' or 'Winona is a sheep' but not both then Julius is white. Chances are about even that if 'Greg is gray and Lily is a swan' then Brian is a lion.,It is impossible that 'Brian is a lion 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.0::factC. %hop1 0.05::factX:-xor(factA,factC). 0.7::factY:-xor(factA,factB). 0.5::factZ:-and(factA,factC). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.0,0.3716743348669734,train,impossible,better than even,It is impossible that 'Brian is a lion and Lily is a swan'.,There is a better than even chance that 'Brian is a lion and Lily is a swan'.,1,'Brian is a lion and Lily is a swan'. It is almost certain that Brian is a rhino. There is a better than even chance that Julius is yellow. There is a very good chance that Emily is a wolf. It is highly unlikely that if 'Brian is a rhino' or 'Julius is yellow' or both then Mary dropped the milk. There is little chance that if 'Brian is a rhino and Emily is a wolf' then John took the football. It is highly unlikely that if either 'Emily is a wolf' or 'Julius is yellow' but not both then Lily is a frog.,It is impossible that 'Lily is a frog 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.6::factB. 0.8::factC. %hop1 0.05::factX:-or(factA,factB). 0.1::factY:-and(factA,factC). 0.05::factZ:-xor(factC,factB). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.005999999999999998,0.45049009801960394,train,impossible,very good chance,It is impossible that 'Lily is a frog and Julius is yellow'.,There is a very good chance that 'Lily is a frog and Julius is yellow'.,1,'Lily is a frog and Julius is yellow'. It is probably not the case that Brian is white. There is a better than even chance that Julius is a swan. There is almost no chance that Bernhard is a rhino. There is almost no chance that if 'Julius is a swan' or 'Bernhard is a rhino' or both then Mary left the football. It is improbable that if 'Julius is a swan' or 'Bernhard is a rhino' or both then John went to the office. There is almost no chance that if 'Julius is a swan' or 'Bernhard is a rhino' or both then Greg is a frog.,It is impossible that 'Mary left the football 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.25::factA. 0.6::factB. 0.02::factC. %hop1 0.02::factX:-or(factB,factC). 0.1::factY:-or(factB,factC). 0.02::factZ:-or(factB,factC). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.0004000000000000001,0.39747949589917986,train,impossible,better than even,It is impossible that 'Mary left the football and Bernhard is a rhino'.,There is a better than even chance that 'Mary left the football and Bernhard is a rhino'.,1,'Mary left the football and Bernhard is a rhino'. There is little chance that Brian is a rhino. There is almost no chance that Lily is green. Chances are slight that Yann is tired. There is a very good chance that if either 'Yann is tired' or 'Brian is a rhino' but not both then Mary took the football. It is impossible that if either 'Yann is tired' or 'Brian is a rhino' but not both then Julius is a frog. It is likely that if 'Brian is a rhino' or 'Lily is green' or both then John dropped the apple.,It is highly likely that 'Lily is green' or 'John 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.02::factB. 0.1::factC. %hop1 0.8::factX:-xor(factC,factA). 0.0::factY:-xor(factC,factA). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.08860000000000001,0.003200640128025605,train,chances are slight,highly likely,Chances are slight that 'Lily is green' or 'John dropped the apple' or both.,It is highly likely that 'Lily is green' or 'John dropped the apple' or both.,0,'Lily is green' or 'John dropped the apple' or both. It is highly likely that Mary took the football. We doubt that Julius is a frog. There is a very good chance that Bernhard is yellow. There is a better than even chance that if 'Mary took the football' or 'Julius is a frog' or both then Brian is a swan. There is almost no chance that if 'Julius is a frog and Mary took the football' then Sandra got the milk. It is probably not the case that if either 'Mary took the football' or 'Bernhard is yellow' but not both then John moved to the office.,We believe that either 'Julius is a frog' 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.9::factA. 0.2::factB. 0.8::factC. %hop1 0.6::factX:-or(factA,factB). 0.02::factY:-and(factB,factA). 0.25::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.74,0.14762952590518102,train,we believe,improbable,We believe that either 'Julius is a frog' or 'Mary took the football' but not both.,It is improbable that either 'Julius is a frog' or 'Mary took the football' but not both.,1,Either 'Julius is a frog' or 'Mary took the football' but not both. We believe that Mary went to the hallway. It is probably the case that Brian is white. It is probable that Sandra left the milk. It is probable that if 'Brian is white and Mary went to the hallway' then Emily is a mouse. It is impossible that if 'Brian is white' or 'Mary went to the hallway' or both then Julius is a swan. It is certain that if 'Brian is white and Mary went to the hallway' then John moved to the garden.,Chances are about even that either 'Brian is white' or 'Mary went to the hallway' 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 0.7::factX:-and(factB,factA). 0.0::factY:-or(factB,factA). 1.0::factZ:-and(factB,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.4,0.41708341668333665,train,about even,certain,Chances are about even that either 'Brian is white' or 'Mary went to the hallway' but not both.,It is certain that either 'Brian is white' or 'Mary went to the hallway' but not both.,1,Either 'Brian is white' or 'Mary went to the hallway' but not both. Chances are about even that Bernhard is a rhino. It is probably not the case that Lily is a rhino. There is little chance that Greg is white. There is little chance that if 'Lily is a rhino and Greg is white' then Brian is a frog. We doubt that if 'Lily is a rhino' or 'Bernhard is a rhino' or both then John grabbed the apple. It is probably the case that if either 'Lily is a rhino' or 'Greg is white' but not both then Mary went to the bedroom.,It is probably not the case that 'Lily is a rhino' or 'Brian 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.5::factA. 0.25::factB. 0.1::factC. %hop1 0.1::factX:-and(factB,factC). 0.2::factY:-or(factB,factA). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.25,0.4940988197639528,train,probably not,very good chance,It is probably not the case that 'Lily is a rhino' or 'Brian is a frog' or both.,There is a very good chance that 'Lily is a rhino' or 'Brian is a frog' or both.,1,'Lily is a rhino' or 'Brian is a frog' or both. It is probably the case that Mary went to the office. Chances are about even that Antoine is thirsty. We believe that Greg is yellow. We doubt that if 'Antoine is thirsty and Greg is yellow' then Gertrude is a sheep. It is highly likely that if either 'Mary went to the office' or 'Greg is yellow' but not both then Brian is yellow. Chances are slight that if either 'Greg is yellow' or 'Antoine is thirsty' but not both then Bernhard is a swan.,It is highly likely that 'Gertrude is a sheep' 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.5::factB. 0.75::factC. %hop1 0.2::factX:-and(factB,factC). 0.9::factY:-xor(factA,factC). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.12500000000000003,0.4786957391478296,train,chances are slight,highly likely,Chances are slight that 'Gertrude is a sheep' or 'Bernhard is a swan' or both.,It is highly likely that 'Gertrude is a sheep' or 'Bernhard is a swan' or both.,0,'Gertrude is a sheep' or 'Bernhard is a swan' or both. It is almost certain that Sandra dropped the milk. Chances are slight that Greg is a lion. It is impossible that Brian is yellow. There is a better than even chance that if 'Sandra dropped the milk and Brian is yellow' then Bernhard is a rhino. It is unlikely that if either 'Brian is yellow' or 'Greg is a lion' but not both then Julius is a swan. It is certain that if 'Sandra dropped the milk' or 'Brian is yellow' or both then Mary moved to the office.,It is impossible that either 'Mary moved to the office' 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.95::factA. 0.1::factB. 0.0::factC. %hop1 0.6::factX:-and(factA,factC). 0.2::factY:-xor(factC,factB). 1.0::factZ:-or(factA,factC). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.86,0.05641128225645129,train,highly likely,impossible,It is highly likely that either 'Mary moved to the office' or 'Greg is a lion' but not both.,It is impossible that either 'Mary moved to the office' or 'Greg is a lion' but not both.,0,Either 'Mary moved to the office' or 'Greg is a lion' but not both. There is almost no chance that Lily is white. It is certain that Antoine is thirsty. There is almost no chance that Brian is a rhino. It is highly unlikely that if 'Brian is a rhino' or 'Lily is white' or both then Mary went to the bedroom. It is probably the case that if either 'Antoine is thirsty' or 'Lily is white' but not both then Julius is a frog. Chances are slight that if 'Lily is white and Antoine is thirsty' then John took the football.,It is highly unlikely that either 'Mary went to the bedroom' 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.02::factA. 1.0::factB. 0.02::factC. %hop1 0.05::factX:-or(factC,factA). 0.7::factY:-xor(factB,factA). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.686608,0.5511102220444088,train,probably,highly unlikely,It is probably the case that either 'Mary went to the bedroom' or 'Julius is a frog' but not both.,It is highly unlikely that either 'Mary went to the bedroom' or 'Julius is a frog' but not both.,0,Either 'Mary went to the bedroom' or 'Julius is a frog' but not both. There is a very good chance that Sandra grabbed the apple. It is highly likely that Gertrude is a cat. Chances are about even that Jessica is a mouse. It is unlikely that if 'Gertrude is a cat and Jessica is a mouse' then Lily is a rhino. It is highly likely that if 'Sandra grabbed the apple' or 'Gertrude is a cat' or both then Emily is a wolf. There is almost no chance that if 'Sandra grabbed the apple' or 'Jessica is a mouse' or both then Mary went to the garden.,There is almost no chance that 'Mary went to the garden 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.8::factA. 0.9::factB. 0.5::factC. %hop1 0.2::factX:-and(factB,factC). 0.9::factY:-or(factA,factB). 0.02::factZ:-or(factA,factC). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.010000000000000004,0.21924384876975395,train,almost no chance,almost certain,There is almost no chance that 'Mary went to the garden and Jessica is a mouse'.,It is almost certain that 'Mary went to the garden and Jessica is a mouse'.,1,'Mary went to the garden and Jessica is a mouse'. There is little chance that Julius is a rhino. Chances are about even that Bernhard is gray. We doubt that Mary dropped the milk. It is unlikely that if either 'Julius is a rhino' or 'Mary dropped the milk' but not both then Antoine is hungry. It is certain that if either 'Julius is a rhino' or 'Mary dropped the milk' but not both then Jason is tired. It is unlikely that if 'Bernhard is gray' or 'Julius is a rhino' or both then John discarded the apple.,We believe that either 'Antoine is hungry' 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.1::factA. 0.5::factB. 0.2::factC. %hop1 0.2::factX:-xor(factA,factC). 1.0::factY:-xor(factA,factC). 0.2::factZ:-or(factB,factA). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.20800000000000002,0.4318863772754551,train,we doubt,we believe,We doubt that either 'Antoine is hungry' or 'Jason is tired' but not both.,We believe that either 'Antoine is hungry' or 'Jason is tired' but not both.,0,Either 'Antoine is hungry' or 'Jason is tired' but not both. Chances are about even that Brian is a rhino. It is certain that John moved to the office. There is almost no chance that Greg is white. It is highly unlikely that if either 'John moved to the office' or 'Greg is white' but not both then Winona is a cat. We doubt that if 'Greg is white' or 'John moved to the office' or both then Mary left the football. It is likely that if 'Greg is white and John moved to the office' then Fred discarded the apple.,It is probably the case that 'Fred discarded the apple 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.5::factA. 1.0::factB. 0.02::factC. %hop1 0.05::factX:-xor(factB,factC). 0.2::factY:-or(factC,factB). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.007000000000000003,0.004000800160032006,train,impossible,probably,It is impossible that 'Fred discarded the apple and Brian is a rhino'.,It is probably the case that 'Fred discarded the apple and Brian is a rhino'.,0,'Fred discarded the apple and Brian is a rhino'. It is unlikely that Julius is a swan. There is little chance that Lily is a lion. It is probably not the case that Bernhard is a frog. It is highly unlikely that if 'Bernhard is a frog' or 'Lily is a lion' or both then John moved to the garden. Chances are about even that if 'Bernhard is a frog and Lily is a lion' then Greg is yellow. There is little chance that if 'Lily is a lion' or 'Julius is a swan' or both then Mary went to the garden.,We believe that either 'Mary went to the garden' 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.2::factA. 0.1::factB. 0.25::factC. %hop1 0.05::factX:-or(factC,factB). 0.5::factY:-and(factC,factB). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.188,0.5259051810362072,train,we doubt,we believe,We doubt that either 'Mary went to the garden' or 'Julius is a swan' but not both.,We believe that either 'Mary went to the garden' or 'Julius is a swan' but not both.,0,Either 'Mary went to the garden' or 'Julius is a swan' but not both. Chances are about even that Greg is white. It is highly likely that Bernhard is white. There is little chance that Brian is a lion. It is probably not the case that if 'Brian is a lion' or 'Bernhard is white' or both then Emily is a mouse. It is highly likely that if 'Greg is white and Brian is a lion' then John discarded the milk. Chances are slight that if either 'Bernhard is white' or 'Brian is a lion' but not both then Lily is a rhino.,It is impossible that 'Bernhard is white' or 'Emily 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.9::factB. 0.1::factC. %hop1 0.25::factX:-or(factC,factB). 0.9::factY:-and(factA,factC). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.9025000000000001,0.5743148629725945,train,highly likely,impossible,It is highly likely that 'Bernhard is white' or 'Emily is a mouse' or both.,It is impossible that 'Bernhard is white' or 'Emily is a mouse' or both.,0,'Bernhard is white' or 'Emily is a mouse' or both. It is unlikely that Daniel dropped the apple. There is a better than even chance that Lily is a rhino. It is probably the case that Winona is a cat. It is unlikely that if 'Lily is a rhino' or 'Daniel dropped the apple' or both then Julius is yellow. We believe that if 'Daniel dropped the apple and Lily is a rhino' then Greg is yellow. It is improbable that if 'Winona is a cat and Daniel dropped the apple' then John moved to the office.,It is impossible that 'John moved to the office 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.2::factA. 0.6::factB. 0.7::factC. %hop1 0.2::factX:-or(factB,factA). 0.75::factY:-and(factA,factB). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.002800000000000001,0.5829165833166633,train,impossible,certain,It is impossible that 'John moved to the office and Julius is yellow'.,It is certain that 'John moved to the office and Julius is yellow'.,1,'John moved to the office and Julius is yellow'. There is almost no chance that John went to the garden. It is unlikely that Sandra grabbed the apple. It is almost certain that Greg is green. It is impossible that if either 'Sandra grabbed the apple' or 'John went to the garden' but not both then Daniel got the milk. It is impossible that if 'John went to the garden' or 'Greg is green' or both then Yann is hungry. It is unlikely that if either 'John went to the garden' or 'Greg is green' but not both then Lily is a lion.,There is almost no chance that either 'Daniel got the milk' or 'John 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.02::factA. 0.2::factB. 0.95::factC. %hop1 0.0::factX:-xor(factB,factA). 0.0::factY:-or(factA,factC). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.02,0.3732746549309862,train,almost no chance,likely,There is almost no chance that either 'Daniel got the milk' or 'John went to the garden' but not both.,It is likely that either 'Daniel got the milk' or 'John went to the garden' but not both.,1,Either 'Daniel got the milk' or 'John went to the garden' but not both. It is improbable that Sandra left the football. It is likely that John dropped the milk. It is impossible that Jeff went to the hallway. Chances are about even that if 'Sandra left the football and John dropped the milk' then Brian is a swan. It is probably not the case that if 'Sandra left the football' or 'Jeff went to the hallway' or both then Jessica is a mouse. Chances are slight that if 'John dropped the milk' or 'Jeff went to the hallway' or both then Bernhard is a swan.,It is likely that 'Jeff went to the hallway' 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.1::factA. 0.7::factB. 0.0::factC. %hop1 0.5::factX:-and(factA,factB). 0.25::factY:-or(factA,factC). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.07,0.35727145429085816,train,highly unlikely,likely,It is highly unlikely that 'Jeff went to the hallway' or 'Bernhard is a swan' or both.,It is likely that 'Jeff went to the hallway' or 'Bernhard is a swan' or both.,0,'Jeff went to the hallway' or 'Bernhard is a swan' or both. Chances are slight that Bernhard is green. It is highly unlikely that Winona is a sheep. It is likely that John put down the apple. We doubt that if 'Winona is a sheep' or 'John put down the apple' or both then Lily is yellow. We doubt that if either 'John put down the apple' or 'Bernhard is green' but not both then Sandra dropped the milk. There is almost no chance that if 'John put down the apple and Bernhard is green' then Julius is a swan.,It is probably the case that 'Julius 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.1::factA. 0.05::factB. 0.7::factC. %hop1 0.2::factX:-or(factB,factC). 0.2::factY:-xor(factC,factA). 0.02::factZ:-and(factC,factA). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.14412,0.35127025405081014,train,chances are slight,probably,Chances are slight that 'Julius is a swan' or 'Lily is yellow' or both.,It is probably the case that 'Julius is a swan' or 'Lily is yellow' or both.,0,'Julius is a swan' or 'Lily is yellow' or both. There is a very good chance that Greg is gray. There is almost no chance that Jessica is a sheep. There is a very good chance that Sandra left the football. There is little chance that if 'Sandra left the football and Jessica is a sheep' then Lily is yellow. There is a very good chance that if 'Jessica is a sheep' or 'Greg is gray' or both then Bill went to the garden. It is certain that if 'Sandra left the football and Greg is gray' then John discarded the milk.,There is little chance that either 'Lily is yellow' 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.8::factA. 0.02::factB. 0.8::factC. %hop1 0.1::factX:-and(factC,factB). 0.8::factY:-or(factB,factA). 1.0::factZ:-and(factC,factA). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.64224,0.3666733346669334,train,better than even,little chance,There is a better than even chance that either 'Lily is yellow' or 'Bill went to the garden' but not both.,There is little chance that either 'Lily is yellow' or 'Bill went to the garden' but not both.,0,Either 'Lily is yellow' or 'Bill went to the garden' but not both. It is improbable that Winona is a wolf. It is highly likely that Greg is a lion. There is a better than even chance that Gertrude is a mouse. It is probably the case that if either 'Greg is a lion' or 'Gertrude is a mouse' but not both then Lily is white. It is probably not the case that if 'Greg is a lion and Gertrude is a mouse' then Brian is a frog. It is probably not the case that if 'Greg is a lion and Winona is a wolf' then John moved to the office.,It is impossible that 'Greg is a lion' 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.9::factB. 0.6::factC. %hop1 0.7::factX:-xor(factB,factC). 0.25::factY:-and(factB,factC). 0.25::factZ:-and(factB,factA). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.96,0.16603320664132826,train,almost certain,impossible,It is almost certain that 'Greg is a lion' or 'Gertrude is a mouse' or both.,It is impossible that 'Greg is a lion' or 'Gertrude is a mouse' or both.,0,'Greg is a lion' or 'Gertrude is a mouse' or both. It is probable that Lily is a rhino. It is highly likely that Gertrude is a mouse. It is almost certain that John took the football. It is unlikely that if either 'John took the football' or 'Gertrude is a mouse' but not both then Greg is white. It is probably not the case that if 'John took the football and Lily is a rhino' then Mary went to the kitchen. It is probably not the case that if 'John took the football' or 'Lily is a rhino' or both then Bernhard is a lion.,Chances are about even that either 'Mary went to the kitchen' or 'Lily 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.7::factA. 0.9::factB. 0.95::factC. %hop1 0.2::factX:-xor(factC,factB). 0.25::factY:-and(factC,factA). 0.25::factZ:-or(factC,factA). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.53375,0.3148629725945189,train,about even,almost no chance,Chances are about even that either 'Mary went to the kitchen' or 'Lily is a rhino' but not both.,There is almost no chance that either 'Mary went to the kitchen' or 'Lily is a rhino' but not both.,1,Either 'Mary went to the kitchen' or 'Lily is a rhino' but not both. It is probable that Brian is white. It is probably not the case that Greg is a rhino. It is certain that Mary left the football. We doubt that if 'Mary left the football' or 'Brian is white' or both then Bernhard is gray. There is almost no chance that if 'Greg is a rhino' or 'Mary left the football' or both then Sandra got the milk. There is little chance that if either 'Mary left the football' or 'Brian is white' but not both then John went to the hallway.,We believe that 'John went to the hallway 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.7::factA. 0.25::factB. 1.0::factC. %hop1 0.2::factX:-or(factC,factA). 0.02::factY:-or(factB,factC). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.03000000000000001,0.6765353070614123,train,almost no chance,we believe,There is almost no chance that 'John went to the hallway and Mary left the football'.,We believe that 'John went to the hallway and Mary left the football'.,0,'John went to the hallway and Mary left the football'. It is unlikely that Lily is a lion. There is a very good chance that Mary got the football. There is a better than even chance that John went to the garden. It is probably not the case that if 'Lily is a lion' or 'Mary got the football' or both then Julius is a swan. There is little chance that if 'Mary got the football and Lily is a lion' then Jessica is a mouse. It is improbable that if 'Lily is a lion and John went to the garden' then Winona is a mouse.,There is a better than even chance that either 'Jessica is a mouse' or 'John 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.8::factB. 0.6::factC. %hop1 0.25::factX:-or(factA,factB). 0.1::factY:-and(factB,factA). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.5968000000000001,0.11142228445689138,train,better than even,chances are slight,There is a better than even chance that either 'Jessica is a mouse' or 'John went to the garden' but not both.,Chances are slight that either 'Jessica is a mouse' or 'John went to the garden' but not both.,1,Either 'Jessica is a mouse' or 'John went to the garden' but not both. There is almost no chance that Lily is white. It is probably not the case that Jeff moved to the garden. It is certain that Sandra left the football. It is highly likely that if either 'Sandra left the football' or 'Jeff moved to the garden' but not both then John discarded the apple. Chances are slight that if 'Sandra left the football and Jeff moved to the garden' then Greg is a lion. Chances are slight that if 'Sandra left the football and Jeff moved to the garden' then Brian is green.,There is almost no chance that 'Greg is a lion and Jeff 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.02::factA. 0.25::factB. 1.0::factC. %hop1 0.9::factX:-xor(factC,factB). 0.1::factY:-and(factC,factB). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.025000000000000012,0.6079215843168634,train,almost no chance,certain,There is almost no chance that 'Greg is a lion and Jeff moved to the garden'.,It is certain that 'Greg is a lion and Jeff moved to the garden'.,1,'Greg is a lion and Jeff moved to the garden'. There is a better than even chance that Jessica is a sheep. It is certain that Lily is a frog. It is probably not the case that Julius is a rhino. It is highly unlikely that if 'Lily is a frog and Julius is a rhino' then John went to the bedroom. It is highly unlikely that if 'Jessica is a sheep and Julius is a rhino' then Bernhard is green. We believe that if either 'Lily is a frog' or 'Jessica is a sheep' but not both then Brian is white.,It is probably the case that either 'John went to the bedroom' 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. 1.0::factB. 0.25::factC. %hop1 0.05::factX:-and(factB,factC). 0.05::factY:-and(factA,factC). 0.75::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.305,0.08781756351270253,train,probably not,probably,It is probably not the case that either 'John went to the bedroom' or 'Brian is white' but not both.,It is probably the case that either 'John went to the bedroom' or 'Brian is white' but not both.,0,Either 'John went to the bedroom' or 'Brian is white' but not both. We doubt that Sandra dropped the milk. It is probable that Jason is tired. There is a very good chance that Julius is gray. We doubt that if either 'Julius is gray' or 'Jason is tired' but not both then Bernhard is a frog. There is little chance that if 'Jason is tired' or 'Julius is gray' or both then John went to the kitchen. It is improbable that if 'Jason is tired and Julius is gray' then Brian is a rhino.,There is almost no chance that 'Bernhard is a frog 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.2::factA. 0.7::factB. 0.8::factC. %hop1 0.2::factX:-xor(factC,factB). 0.1::factY:-or(factB,factC). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.015200000000000002,0.19823964792958593,train,almost no chance,highly likely,There is almost no chance that 'Bernhard is a frog and Sandra dropped the milk'.,It is highly likely that 'Bernhard is a frog and Sandra dropped the milk'.,1,'Bernhard is a frog and Sandra dropped the milk'. It is highly likely that Mary discarded the milk. We believe that Greg is a rhino. It is certain that Winona is a mouse. There is a very good chance that if 'Winona is a mouse' or 'Mary discarded the milk' or both then John moved to the office. It is probably not the case that if 'Mary discarded the milk' or 'Greg is a rhino' or both then Julius is a frog. There is little chance that if either 'Greg is a rhino' or 'Winona is a mouse' but not both then Brian is yellow.,It is impossible that 'Brian is yellow 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.9::factA. 0.75::factB. 1.0::factC. %hop1 0.8::factX:-or(factC,factA). 0.25::factY:-or(factA,factB). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.005624999999999999,0.5249049809961992,train,impossible,very good chance,It is impossible that 'Brian is yellow and Julius is a frog'.,There is a very good chance that 'Brian is yellow and Julius is a frog'.,1,'Brian is yellow and Julius is a frog'. It is probably the case that Greg is green. We believe that Emily is a sheep. It is probably the case that Mary went to the garden. It is certain that if either 'Emily is a sheep' or 'Greg is green' but not both then Julius is yellow. We doubt that if 'Emily is a sheep and Mary went to the garden' then Lily is a frog. It is probable that if 'Greg is green and Mary went to the garden' then Bernhard is gray.,It is improbable that either 'Julius is yellow' or 'Greg 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.75::factB. 0.7::factC. %hop1 1.0::factX:-xor(factB,factA). 0.2::factY:-and(factB,factC). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.7500000000000001,0.3424684936987398,train,we believe,improbable,We believe that either 'Julius is yellow' or 'Greg is green' but not both.,It is improbable that either 'Julius is yellow' or 'Greg is green' but not both.,0,Either 'Julius is yellow' or 'Greg is green' but not both. It is probably the case that Lily is yellow. It is probably the case that John dropped the apple. We doubt that Bernhard is green. It is probably not the case that if 'Bernhard is green' or 'Lily is yellow' or both then Greg is a lion. We believe that if 'Bernhard is green and John dropped the apple' then Jason is tired. It is likely that if 'John dropped the apple' or 'Bernhard is green' or both then Jeff moved to the garden.,It is probably not the case that 'Bernhard is green' 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.7::factA. 0.7::factB. 0.2::factC. %hop1 0.25::factX:-or(factC,factA). 0.75::factY:-and(factC,factB). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.3400000000000001,0.21264252850570114,train,probably not,we believe,It is probably not the case that 'Bernhard is green' or 'Greg is a lion' or both.,We believe that 'Bernhard is green' or 'Greg is a lion' or both.,1,'Bernhard is green' or 'Greg is a lion' or both. It is improbable that Bill moved to the office. It is unlikely that Greg is a rhino. It is likely that Daniel took the milk. There is a better than even chance that if 'Greg is a rhino and Bill moved to the office' then Sandra left the milk. It is almost certain that if 'Daniel took the milk and Bill moved to the office' then Brian is a frog. Chances are slight that if 'Daniel took the milk and Bill moved to the office' then Bernhard is a swan.,We believe that 'Brian is a frog and Daniel 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.1::factA. 0.2::factB. 0.7::factC. %hop1 0.6::factX:-and(factB,factA). 0.95::factY:-and(factC,factA). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.0665,0.06461292258451691,train,highly unlikely,we believe,It is highly unlikely that 'Brian is a frog and Daniel took the milk'.,We believe that 'Brian is a frog and Daniel took the milk'.,0,'Brian is a frog and Daniel took the milk'. It is impossible that Mary left the apple. We doubt that Julius is a frog. Chances are slight that Bernhard is yellow. There is little chance that if 'Julius is a frog' or 'Mary left the apple' or both then Lily is a lion. It is probably the case that if 'Bernhard is yellow and Julius is a frog' then John got the milk. It is highly unlikely that if 'Julius is a frog' or 'Mary left the apple' or both then Brian is a rhino.,It is impossible that 'John got the milk 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.2::factB. 0.1::factC. %hop1 0.1::factX:-or(factB,factA). 0.7::factY:-and(factC,factB). 0.05::factZ:-or(factB,factA). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.0014000000000000015,0.0058011602320464095,train,impossible,likely,It is impossible that 'John got the milk and Lily is a lion'.,It is likely that 'John got the milk and Lily is a lion'.,1,'John got the milk and Lily is a lion'. Chances are about even that Mary is in the bathroom. It is almost certain that Sumit is tired. It is highly unlikely that Brian is green. It is probably not the case that if 'Mary is in the bathroom and Sumit is tired' then Jessica is a sheep. It is probably not the case that if either 'Sumit is tired' or 'Mary is in the bathroom' but not both then Sandra got the football. It is probable that if either 'Brian is green' or 'Mary is in the bathroom' but not both then Bernhard is yellow.,It is probably not the case that 'Brian 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.5::factA. 0.95::factB. 0.05::factC. %hop1 0.25::factX:-and(factA,factB). 0.25::factY:-xor(factB,factA). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9524999999999999,0.5411082216443288,train,almost certain,probably not,It is almost certain that 'Brian is green' or 'Sumit is tired' or both.,It is probably not the case that 'Brian is green' or 'Sumit is tired' or both.,0,'Brian is green' or 'Sumit is tired' or both. It is probably not the case that John went to the bedroom. It is certain that Sandra took the milk. We believe that Lily is a lion. Chances are about even that if 'John went to the bedroom' or 'Lily is a lion' or both then Jessica is a cat. It is improbable that if 'Sandra took the milk and Lily is a lion' then Winona is a sheep. Chances are about even that if 'Sandra took the milk' or 'Lily is a lion' or both then Mary dropped the apple.,Chances are about even that either 'Winona is a sheep' 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.25::factA. 1.0::factB. 0.75::factC. %hop1 0.5::factX:-or(factA,factC). 0.1::factY:-and(factB,factC). 0.5::factZ:-or(factB,factC). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.40625,0.3520704140828166,train,about even,highly unlikely,Chances are about even that either 'Winona is a sheep' or 'Jessica is a cat' but not both.,It is highly unlikely that either 'Winona is a sheep' or 'Jessica is a cat' but not both.,1,Either 'Winona is a sheep' or 'Jessica is a cat' but not both. There is almost no chance that Fred is in the office. There is almost no chance that John went to the garden. We believe that Lily is a rhino. We believe that if either 'John went to the garden' or 'Fred is in the office' but not both then Greg is white. We believe that if 'John went to the garden' or 'Fred is in the office' or both then Sandra dropped the milk. There is a better than even chance that if either 'Fred is in the office' or 'John went to the garden' but not both then Mary got the football.,There is a very good chance that 'Fred is in the office' 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.02::factB. 0.75::factC. %hop1 0.75::factX:-xor(factB,factA). 0.75::factY:-or(factB,factA). 0.6::factZ:-xor(factA,factB). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.0347,0.07181436287257452,train,almost no chance,very good chance,There is almost no chance that 'Fred is in the office' or 'Sandra dropped the milk' or both.,There is a very good chance that 'Fred is in the office' or 'Sandra dropped the milk' or both.,0,'Fred is in the office' or 'Sandra dropped the milk' or both. It is probable that John took the football. Chances are about even that Greg is white. It is probable that Jeff moved to the garden. It is improbable that if 'Greg is white and John took the football' then Mary is in the bathroom. It is probably the case that if either 'Greg is white' or 'Jeff moved to the garden' but not both then Julius is a frog. Chances are about even that if either 'Greg is white' or 'Jeff moved to the garden' but not both then Bernhard is a lion.,It is almost certain that 'Mary is in the bathroom' 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.7::factA. 0.5::factB. 0.7::factC. %hop1 0.1::factX:-and(factB,factA). 0.7::factY:-xor(factB,factC). 0.5::factZ:-xor(factB,factC). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.37764999999999993,0.5331066213242649,train,about even,almost certain,Chances are about even that 'Mary is in the bathroom' or 'Julius is a frog' or both.,It is almost certain that 'Mary is in the bathroom' or 'Julius is a frog' or both.,0,'Mary is in the bathroom' or 'Julius is a frog' or both. There is a very good chance that Jessica is a wolf. There is almost no chance that Brian is a lion. It is certain that Bernhard is a swan. Chances are slight that if 'Bernhard is a swan' or 'Brian is a lion' or both then Julius is a rhino. It is highly likely that if either 'Brian is a lion' or 'Bernhard is a swan' but not both then Mary dropped the milk. It is certain that if 'Brian is a lion and Jessica is a wolf' then Fred is in the office.,There is a very good chance that 'Mary dropped the milk 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.02::factB. 1.0::factC. %hop1 0.1::factX:-or(factC,factB). 0.9::factY:-xor(factB,factC). 1.0::factZ:-and(factB,factA). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.0,0.4990998199639928,train,impossible,very good chance,It is impossible that 'Mary dropped the milk and Brian is a lion'.,There is a very good chance that 'Mary dropped the milk and Brian is a lion'.,0,'Mary dropped the milk and Brian is a lion'. There is almost no chance that Winona is a sheep. It is probably the case that Jason is tired. We doubt that Bernhard is a rhino. It is probably the case that if 'Bernhard is a rhino and Winona is a sheep' then John took the apple. It is highly unlikely that if 'Jason is tired and Winona is a sheep' then Mary left the football. It is impossible that if 'Jason is tired' or 'Bernhard is a rhino' or both then Brian is gray.,It is likely that 'John took the apple' 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.02::factA. 0.7::factB. 0.2::factC. %hop1 0.7::factX:-and(factC,factA). 0.05::factY:-and(factB,factA). 0.0::factZ:-or(factB,factC). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.002800000000000001,0.123624724944989,train,impossible,likely,It is impossible that 'John took the apple' or 'Brian is gray' or both.,It is likely that 'John took the apple' or 'Brian is gray' or both.,0,'John took the apple' or 'Brian is gray' or both. It is likely that Daniel got the football. It is improbable that Bernhard is yellow. Chances are about even that Lily is a frog. Chances are about even that if either 'Lily is a frog' or 'Bernhard is yellow' but not both then Mary went to the office. It is certain that if 'Daniel got the football' or 'Lily is a frog' or both then John left the football. We believe that if 'Daniel got the football and Bernhard is yellow' then Greg is white.,We believe that 'Daniel got the football' or 'Mary 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.7::factA. 0.1::factB. 0.5::factC. %hop1 0.5::factX:-xor(factC,factB). 1.0::factY:-or(factA,factC). 0.75::factZ:-and(factA,factB). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.7749999999999999,0.5127025405081016,train,we believe,improbable,We believe that 'Daniel got the football' or 'Mary went to the office' or both.,It is improbable that 'Daniel got the football' or 'Mary went to the office' or both.,1,'Daniel got the football' or 'Mary went to the office' or both. It is highly likely that Julius is a frog. There is little chance that Mary went to the kitchen. We believe that Winona is a sheep. It is probably the case that if 'Julius is a frog and Winona is a sheep' then Jessica is a cat. It is highly unlikely that if 'Mary went to the kitchen' or 'Winona is a sheep' or both then Brian is white. It is highly unlikely that if 'Mary went to the kitchen and Julius is a frog' then John left the football.,Chances are about even that either 'Jessica is a cat' 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.9::factA. 0.1::factB. 0.75::factC. %hop1 0.7::factX:-and(factA,factC). 0.05::factY:-or(factB,factC). 0.05::factZ:-and(factB,factA). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.464,0.7683536707341468,train,about even,almost no chance,Chances are about even that either 'Jessica is a cat' or 'Brian is white' but not both.,There is almost no chance that either 'Jessica is a cat' or 'Brian is white' but not both.,1,Either 'Jessica is a cat' or 'Brian is white' but not both. There is a better than even chance that Greg is gray. It is improbable that Mary got the football. It is improbable that Fred dropped the milk. It is probable that if either 'Fred dropped the milk' or 'Mary got the football' but not both then Brian is green. There is almost no chance that if either 'Fred dropped the milk' or 'Greg is gray' but not both then Julius is a lion. It is probable that if either 'Mary got the football' or 'Fred dropped the milk' but not both then John went to the kitchen.,It is almost certain that either 'Brian is green' 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.6::factA. 0.1::factB. 0.1::factC. %hop1 0.7::factX:-xor(factC,factB). 0.02::factY:-xor(factC,factA). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.10000000000000002,0.05821164232846569,train,little chance,almost certain,There is little chance that either 'Brian is green' or 'Fred dropped the milk' but not both.,It is almost certain that either 'Brian is green' or 'Fred dropped the milk' but not both.,0,Either 'Brian is green' or 'Fred dropped the milk' but not both. It is highly unlikely that Greg is a swan. There is a better than even chance that Lily is a lion. It is almost certain that Julius is a rhino. It is probably not the case that if either 'Julius is a rhino' or 'Greg is a swan' but not both then Antoine is thirsty. It is almost certain that if 'Lily is a lion and Greg is a swan' then Mary went to the bedroom. It is unlikely that if 'Lily is a lion and Julius is a rhino' then John moved to the office.,It is almost certain that either 'Mary went to the bedroom' or 'John 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.05::factA. 0.6::factB. 0.95::factC. %hop1 0.25::factX:-xor(factC,factA). 0.95::factY:-and(factB,factA). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.13167,0.1898379675935187,train,improbable,almost certain,It is improbable that either 'Mary went to the bedroom' or 'John moved to the office' but not both.,It is almost certain that either 'Mary went to the bedroom' or 'John moved to the office' but not both.,0,Either 'Mary went to the bedroom' or 'John moved to the office' but not both. Chances are about even that Gertrude is a cat. There is a very good chance that Julius is white. It is almost certain that Lily is a rhino. It is likely that if 'Lily is a rhino' or 'Julius is white' or both then Bernhard is gray. It is improbable that if 'Lily is a rhino' or 'Julius is white' or both then Brian is white. There is a better than even chance that if 'Julius is white and Gertrude is a cat' then John dropped the milk.,We believe that 'Julius is white 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.5::factA. 0.8::factB. 0.95::factC. %hop1 0.7::factX:-or(factC,factB). 0.1::factY:-or(factC,factB). 0.6::factZ:-and(factB,factA). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.76,0.660132026405281,train,we believe,we doubt,We believe that 'Julius is white and Lily is a rhino'.,We doubt that 'Julius is white and Lily is a rhino'.,1,'Julius is white and Lily is a rhino'. It is probably not the case that Greg is a rhino. We believe that Lily is green. There is a very good chance that Sandra took the apple. We doubt that if either 'Greg is a rhino' or 'Sandra took the apple' but not both then Bill got the milk there. We believe that if 'Greg is a rhino' or 'Sandra took the apple' or both then Julius is a swan. There is a very good chance that if 'Lily is green' or 'Greg is a rhino' or both then Mary left the football.,It is unlikely that 'Greg is a rhino and Sandra took 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.75::factB. 0.8::factC. %hop1 0.2::factX:-xor(factA,factC). 0.75::factY:-or(factA,factC). 0.8::factZ:-or(factB,factA). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.2,0.7309461892378476,train,unlikely,certain,It is unlikely that 'Greg is a rhino and Sandra took the apple'.,It is certain that 'Greg is a rhino and Sandra took the apple'.,1,'Greg is a rhino and Sandra took the apple'. Chances are about even that Gertrude is a sheep. It is probably the case that Daniel dropped the apple. There is little chance that Bernhard is white. It is impossible that if 'Daniel dropped the apple and Gertrude is a sheep' then Jessica is a wolf. It is probable that if either 'Daniel dropped the apple' or 'Gertrude is a sheep' but not both then Mary went to the bedroom. It is impossible that if 'Daniel dropped the apple and Bernhard is white' then Lily is a rhino.,It is almost certain that 'Mary went to the bedroom and Jessica 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.7::factB. 0.1::factC. %hop1 0.0::factX:-and(factB,factA). 0.7::factY:-xor(factB,factA). 0.0::factZ:-and(factB,factC). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.0,0.3072614522904581,train,impossible,almost certain,It is impossible that 'Mary went to the bedroom and Jessica is a wolf'.,It is almost certain that 'Mary went to the bedroom and Jessica is a wolf'.,0,'Mary went to the bedroom and Jessica is a wolf'. It is impossible that Sandra left the football. It is highly unlikely that Jeff went to the bedroom. There is a very good chance that Greg is a frog. It is highly unlikely that if 'Greg is a frog and Jeff went to the bedroom' then Bernhard is gray. There is little chance that if 'Greg is a frog and Jeff went to the bedroom' then Julius is gray. There is a better than even chance that if either 'Sandra left the football' or 'Greg is a frog' but not both then Brian is a swan.,It is impossible that 'Brian is a swan' or 'Jeff 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.0::factA. 0.05::factB. 0.8::factC. %hop1 0.05::factX:-and(factC,factB). 0.1::factY:-and(factC,factB). 0.6::factZ:-xor(factA,factC). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.506,0.6735347069413883,train,about even,impossible,Chances are about even that 'Brian is a swan' or 'Jeff went to the bedroom' or both.,It is impossible that 'Brian is a swan' or 'Jeff went to the bedroom' or both.,0,'Brian is a swan' or 'Jeff went to the bedroom' or both. It is probably the case that Mary went to the bedroom. We believe that Greg is white. There is little chance that Gertrude is a wolf. Chances are slight that if either 'Gertrude is a wolf' or 'Greg is white' but not both then Bernhard is green. It is improbable that if 'Gertrude is a wolf' or 'Mary went to the bedroom' or both then John dropped the apple. There is almost no chance that if 'Greg is white and Mary went to the bedroom' then Lily is a lion.,There is a very good chance that 'Gertrude is a wolf 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.75::factB. 0.1::factC. %hop1 0.1::factX:-xor(factC,factB). 0.1::factY:-or(factC,factA). 0.02::factZ:-and(factB,factA). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.002500000000000003,0.08421684336867373,train,impossible,very good chance,It is impossible that 'Gertrude is a wolf and Bernhard is green'.,There is a very good chance that 'Gertrude is a wolf and Bernhard is green'.,0,'Gertrude is a wolf and Bernhard is green'. It is highly likely that Greg is yellow. It is highly likely that Sandra got the milk. It is highly unlikely that Julius is a rhino. We believe that if 'Sandra got the milk and Julius is a rhino' then Bernhard is a swan. There is a very good chance that if 'Sandra got the milk and Julius is a rhino' then John went to the garden. It is almost certain that if 'Sandra got the milk and Julius is a rhino' then Brian is green.,There is almost no chance that 'Greg is yellow 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.9::factA. 0.9::factB. 0.05::factC. %hop1 0.75::factX:-and(factB,factC). 0.8::factY:-and(factB,factC). 0.95::factZ:-and(factB,factC). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.032400000000000005,0.1860372074414883,train,almost no chance,almost certain,There is almost no chance that 'Greg is yellow and John went to the garden'.,It is almost certain that 'Greg is yellow and John went to the garden'.,1,'Greg is yellow and John went to the garden'. We doubt that Bernhard is a frog. It is highly unlikely that Mary left the football. It is almost certain that John put down the milk. It is likely that if 'John put down the milk' or 'Mary left the football' or both then Yann is hungry. We believe that if either 'John put down the milk' or 'Mary left the football' but not both then Sandra is in the kitchen. It is certain that if 'Bernhard is a frog and Mary left the football' then Brian is yellow.,It is almost certain that 'John put down the milk' 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.2::factA. 0.05::factB. 0.95::factC. %hop1 0.7::factX:-or(factC,factB). 0.75::factY:-xor(factC,factB). 1.0::factZ:-and(factA,factB). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.96,0.4274854970994199,train,almost certain,highly unlikely,It is almost certain that 'John put down the milk' or 'Bernhard is a frog' or both.,It is highly unlikely that 'John put down the milk' or 'Bernhard is a frog' or both.,1,'John put down the milk' or 'Bernhard is a frog' or both. There is little chance that Mary grabbed the milk. We doubt that Antoine is thirsty. It is almost certain that John went to the kitchen. We doubt that if either 'Antoine is thirsty' or 'John went to the kitchen' but not both then Jeff moved to the office. It is improbable that if 'John went to the kitchen' or 'Mary grabbed the milk' or both then Brian is gray. It is improbable that if either 'John went to the kitchen' or 'Mary grabbed the milk' but not both then Daniel left the apple.,It is impossible that 'John went to the kitchen' 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.1::factA. 0.2::factB. 0.95::factC. %hop1 0.2::factX:-xor(factB,factC). 0.1::factY:-or(factC,factA). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.9505,0.6517303460692139,train,almost certain,impossible,It is almost certain that 'John went to the kitchen' or 'Daniel left the apple' or both.,It is impossible that 'John went to the kitchen' or 'Daniel left the apple' or both.,0,'John went to the kitchen' or 'Daniel left the apple' or both. It is unlikely that John went to the bedroom. Chances are about even that Mary left the milk. It is certain that Greg is yellow. It is probably not the case that if 'John went to the bedroom and Mary left the milk' then Julius is a swan. It is improbable that if either 'Greg is yellow' or 'John went to the bedroom' but not both then Sumit is tired. There is little chance that if either 'Greg is yellow' or 'Mary left the milk' but not both then Lily is a rhino.,There is almost no chance that 'Mary left the milk' 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.2::factA. 0.5::factB. 1.0::factC. %hop1 0.25::factX:-and(factA,factB). 0.1::factY:-xor(factC,factA). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.6000000000000001,0.1802360472094419,train,better than even,almost no chance,There is a better than even chance that 'Mary left the milk' or 'John went to the bedroom' or both.,There is almost no chance that 'Mary left the milk' or 'John went to the bedroom' or both.,0,'Mary left the milk' or 'John went to the bedroom' or both. It is likely that Lily is a frog. It is impossible that Jason is tired. It is unlikely that Brian is a swan. There is a very good chance that if either 'Jason is tired' or 'Brian is a swan' but not both then Greg is a lion. It is probably the case that if either 'Lily is a frog' or 'Jason is tired' but not both then Bernhard is a lion. It is probably the case that if either 'Lily is a frog' or 'Brian is a swan' but not both then Mary put down the apple.,We doubt that either 'Jason is tired' 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.0::factB. 0.2::factC. %hop1 0.8::factX:-xor(factB,factC). 0.7::factY:-xor(factA,factB). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.16000000000000003,0.07581516303260652,train,we doubt,likely,We doubt that either 'Jason is tired' or 'Greg is a lion' but not both.,It is likely that either 'Jason is tired' or 'Greg is a lion' but not both.,1,Either 'Jason is tired' or 'Greg is a lion' but not both. It is certain that Julius is gray. It is probable that Sandra left the football. We believe that Bernhard is a frog. There is little chance that if 'Bernhard is a frog and Julius is gray' then Brian is green. It is highly likely that if 'Julius is gray and Bernhard is a frog' then Jessica is a cat. There is almost no chance that if 'Sandra left the football' or 'Bernhard is a frog' or both then Fred went to the office.,It is highly unlikely that 'Sandra left the football' 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 1.0::factA. 0.7::factB. 0.75::factC. %hop1 0.1::factX:-and(factC,factA). 0.9::factY:-and(factA,factC). 0.02::factZ:-or(factB,factC). %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.3734746949389878,train,certain,highly unlikely,It is certain that 'Sandra left the football' or 'Julius is gray' or both.,It is highly unlikely that 'Sandra left the football' or 'Julius is gray' or both.,0,'Sandra left the football' or 'Julius is gray' or both. It is probable that Mary left the football. It is highly likely that Jessica is a sheep. Chances are about even that John moved to the office. It is improbable that if either 'Jessica is a sheep' or 'John moved to the office' but not both then Brian is a frog. There is little chance that if either 'Mary left the football' or 'Jessica is a sheep' but not both then Jeff went to the bedroom. Chances are about even that if 'Jessica is a sheep' or 'Mary left the football' or both then Bernhard is green.,Chances are about even that either 'Bernhard is green' or 'Jessica 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.9::factB. 0.5::factC. %hop1 0.1::factX:-xor(factB,factC). 0.1::factY:-xor(factA,factB). 0.5::factZ:-or(factB,factA). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.48500000000000004,0.04040808161632326,train,about even,highly unlikely,Chances are about even that either 'Bernhard is green' or 'Jessica is a sheep' but not both.,It is highly unlikely that either 'Bernhard is green' or 'Jessica is a sheep' but not both.,1,Either 'Bernhard is green' or 'Jessica is a sheep' but not both. It is certain that Mary went to the bedroom. It is likely that John took the apple. It is unlikely that Lily is green. There is a better than even chance that if 'Mary went to the bedroom' or 'John took the apple' or both then Jessica is a mouse. It is impossible that if 'John took the apple and Lily is green' then Greg is gray. Chances are about even that if 'Mary went to the bedroom' or 'Lily is green' or both then Bernhard is a swan.,It is highly unlikely that either 'Lily is green' 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 1.0::factA. 0.7::factB. 0.2::factC. %hop1 0.6::factX:-or(factA,factB). 0.0::factY:-and(factB,factC). 0.5::factZ:-or(factA,factC). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.62,0.7843568713742749,train,better than even,highly unlikely,There is a better than even chance that either 'Lily is green' or 'John took the apple' but not both.,It is highly unlikely that either 'Lily is green' or 'John took the apple' but not both.,0,Either 'Lily is green' or 'John took the apple' but not both. There is almost no chance that Brian is a rhino. There is a very good chance that Sandra took the milk. It is improbable that Bernhard is a swan. It is almost certain that if 'Bernhard is a swan' or 'Brian is a rhino' or both then Julius is a frog. We doubt that if 'Sandra took the milk and Brian is a rhino' then Mary went to the garden. Chances are about even that if 'Brian is a rhino' or 'Bernhard is a swan' or both then John grabbed the apple.,There is a very good chance that either 'Mary went to the garden' 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.02::factA. 0.8::factB. 0.1::factC. %hop1 0.95::factX:-or(factC,factA). 0.2::factY:-and(factB,factA). 0.5::factZ:-or(factA,factC). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.7968000000000001,0.4490898179635927,train,very good chance,highly unlikely,There is a very good chance that either 'Mary went to the garden' or 'Sandra took the milk' but not both.,It is highly unlikely that either 'Mary went to the garden' or 'Sandra took the milk' but not both.,1,Either 'Mary went to the garden' or 'Sandra took the milk' but not both. There is little chance that Lily is a swan. It is likely that Julius is green. It is impossible that Gertrude is a sheep. Chances are about even that if 'Lily is a swan and Julius is green' then Mary went to the office. It is certain that if 'Gertrude is a sheep and Julius is green' then Brian is gray. There is almost no chance that if either 'Lily is a swan' or 'Gertrude is a sheep' but not both then Sandra dropped the milk.,There is a very good chance that 'Lily is a swan' 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.1::factA. 0.7::factB. 0.0::factC. %hop1 0.5::factX:-and(factA,factB). 1.0::factY:-and(factC,factB). 0.02::factZ:-xor(factA,factC). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.10000000000000002,0.5419083816763353,train,improbable,very good chance,It is improbable that 'Lily is a swan' or 'Sandra dropped the milk' or both.,There is a very good chance that 'Lily is a swan' or 'Sandra dropped the milk' or both.,0,'Lily is a swan' or 'Sandra dropped the milk' or both. It is highly unlikely that Lily is a frog. There is a very good chance that Greg is a frog. It is highly unlikely that Mary went to the garden. It is almost certain that if 'Greg is a frog' or 'Mary went to the garden' or both then Brian is a lion. Chances are slight that if 'Greg is a frog and Lily is a frog' then Yann is tired. It is improbable that if 'Mary went to the garden' or 'Greg is a frog' or both then Julius is a swan.,There is a very good chance that 'Greg is a frog' 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.8::factB. 0.05::factC. %hop1 0.95::factX:-or(factB,factC). 0.1::factY:-and(factB,factA). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.801,0.0692138427685537,train,very good chance,little chance,There is a very good chance that 'Greg is a frog' or 'Julius is a swan' or both.,There is little chance that 'Greg is a frog' or 'Julius is a swan' or both.,1,'Greg is a frog' or 'Julius is a swan' or both. It is unlikely that Winona is a mouse. Chances are slight that Lily is a rhino. There is a very good chance that Bernhard is white. It is improbable that if either 'Lily is a rhino' or 'Winona is a mouse' but not both then Julius is white. It is improbable that if 'Lily is a rhino' or 'Bernhard is white' or both then John went to the kitchen. Chances are slight that if 'Lily is a rhino' or 'Winona is a mouse' or both then Greg is green.,There is a very good chance that 'Bernhard is white' or 'John 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.2::factA. 0.1::factB. 0.8::factC. %hop1 0.1::factX:-xor(factB,factA). 0.1::factY:-or(factB,factC). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.802,0.1262252450490098,train,very good chance,unlikely,There is a very good chance that 'Bernhard is white' or 'John went to the kitchen' or both.,It is unlikely that 'Bernhard is white' or 'John went to the kitchen' or both.,1,'Bernhard is white' or 'John went to the kitchen' or both. It is probable that Jeff went to the garden. It is likely that Sandra took the football. We believe that Mary left the milk. We doubt that if either 'Jeff went to the garden' or 'Sandra took the football' but not both then Julius is white. There is little chance that if 'Jeff went to the garden' or 'Mary left the milk' or both then Brian is a swan. It is unlikely that if either 'Sandra took the football' or 'Mary left the milk' but not both then Lily is a frog.,It is highly unlikely that 'Sandra took the football 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.75::factC. %hop1 0.2::factX:-xor(factA,factB). 0.1::factY:-or(factA,factC). 0.2::factZ:-xor(factB,factC). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.041999999999999996,0.08341668333666734,train,highly unlikely,probable,It is highly unlikely that 'Sandra took the football and Julius is white'.,It is probable that 'Sandra took the football and Julius is white'.,1,'Sandra took the football and Julius is white'. It is probably not the case that Jessica is a cat. There is a very good chance that Julius is gray. Chances are slight that Bernhard is a swan. It is almost certain that if either 'Jessica is a cat' or 'Bernhard is a swan' but not both then Daniel took the apple. There is a better than even chance that if 'Julius is gray and Bernhard is a swan' then Lily is a lion. There is a very good chance that if either 'Julius is gray' or 'Jessica is a cat' but not both then John went to the hallway.,There is almost no chance that 'Bernhard is a swan 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.25::factA. 0.8::factB. 0.1::factC. %hop1 0.95::factX:-xor(factA,factC). 0.6::factY:-and(factB,factC). 0.8::factZ:-xor(factB,factA). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.025000000000000012,0.00620124024804961,train,almost no chance,probable,There is almost no chance that 'Bernhard is a swan and Jessica is a cat'.,It is probable that 'Bernhard is a swan and Jessica is a cat'.,1,'Bernhard is a swan and Jessica is a cat'. We believe that Mary went to the kitchen. It is probable that Sandra put down the milk. It is highly unlikely that Bernhard is gray. It is probably not the case that if either 'Mary went to the kitchen' or 'Bernhard is gray' but not both then Julius is yellow. It is probably the case that if 'Bernhard is gray and Mary went to the kitchen' then Brian is a lion. Chances are slight that if either 'Sandra put down the milk' or 'Mary went to the kitchen' but not both then Greg is a frog.,It is highly unlikely that 'Julius is yellow' 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.75::factA. 0.7::factB. 0.05::factC. %hop1 0.25::factX:-xor(factA,factC). 0.7::factY:-and(factC,factA). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.753125,0.016003200640128026,train,we believe,highly unlikely,We believe that 'Julius is yellow' or 'Mary went to the kitchen' or both.,It is highly unlikely that 'Julius is yellow' or 'Mary went to the kitchen' or both.,0,'Julius is yellow' or 'Mary went to the kitchen' or both. It is probable that Mary went to the garden. There is almost no chance that Lily is a rhino. It is impossible that Greg is a frog. It is certain that if 'Lily is a rhino' or 'Mary went to the garden' or both then Winona is a sheep. It is certain that if 'Mary went to the garden' or 'Greg is a frog' or both then Julius is green. It is impossible that if either 'Greg is a frog' or 'Mary went to the garden' but not both then John got the apple.,It is probably the case that 'Julius is green' 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.7::factA. 0.02::factB. 0.0::factC. %hop1 1.0::factX:-or(factB,factA). 1.0::factY:-or(factA,factC). 0.0::factZ:-xor(factC,factA). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.7,0.40828165633126623,train,probably,unlikely,It is probably the case that 'Julius is green' or 'Mary went to the garden' or both.,It is unlikely that 'Julius is green' or 'Mary went to the garden' or both.,1,'Julius is green' or 'Mary went to the garden' or both. It is impossible that Mary went to the bedroom. It is impossible that John left the football. We doubt that Greg is a rhino. There is almost no chance that if either 'John left the football' or 'Greg is a rhino' but not both then Bernhard is gray. Chances are slight that if 'John left the football' or 'Greg is a rhino' or both then Emily is a wolf. It is unlikely that if either 'Mary went to the bedroom' or 'Greg is a rhino' but not both then Lily is yellow.,It is almost certain that 'Mary went to the bedroom and John 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.0::factA. 0.0::factB. 0.2::factC. %hop1 0.02::factX:-xor(factB,factC). 0.1::factY:-or(factB,factC). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.0,0.14322864572914584,train,impossible,almost certain,It is impossible that 'Mary went to the bedroom and John left the football'.,It is almost certain that 'Mary went to the bedroom and John left the football'.,0,'Mary went to the bedroom and John left the football'. It is likely that Sandra dropped the milk. It is probably the case that Greg is a swan. It is highly likely that Brian is yellow. We doubt that if either 'Greg is a swan' or 'Brian is yellow' but not both then Jessica is a mouse. It is probably the case that if 'Greg is a swan and Brian is yellow' then Daniel left the milk. We believe that if either 'Greg is a swan' or 'Brian is yellow' but not both then Lily is a rhino.,It is impossible that 'Brian 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.7::factA. 0.7::factB. 0.9::factC. %hop1 0.2::factX:-xor(factB,factC). 0.7::factY:-and(factB,factC). 0.75::factZ:-xor(factB,factC). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.914,0.7981596319263853,train,highly likely,impossible,It is highly likely that 'Brian is yellow' or 'Jessica is a mouse' or both.,It is impossible that 'Brian is yellow' or 'Jessica is a mouse' or both.,0,'Brian is yellow' or 'Jessica is a mouse' or both. It is probable that Lily is white. It is highly likely that Sumit is thirsty. There is a better than even chance that Mary went to the hallway. We believe that if 'Mary went to the hallway' or 'Lily is white' or both then Yann is tired. It is probable that if either 'Mary went to the hallway' or 'Sumit is thirsty' but not both then Bernhard is gray. It is probable that if either 'Lily is white' or 'Mary went to the hallway' but not both then John got the milk.,It is improbable that 'Sumit is thirsty' 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.7::factA. 0.9::factB. 0.6::factC. %hop1 0.75::factX:-or(factC,factA). 0.7::factY:-xor(factC,factB). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.97,0.6645329065813163,train,almost certain,improbable,It is almost certain that 'Sumit is thirsty' or 'Lily is white' or both.,It is improbable that 'Sumit is thirsty' or 'Lily is white' or both.,0,'Sumit is thirsty' or 'Lily is white' or both. It is likely that Greg is gray. There is a very good chance that Lily is a rhino. It is impossible that John got the milk. It is unlikely that if 'John got the milk and Lily is a rhino' then Mary is in the hallway. We doubt that if 'Lily is a rhino and Greg is gray' then Bernhard is a swan. It is probably not the case that if 'Greg is gray and Lily is a rhino' then Jessica is a sheep.,It is highly unlikely that 'Greg is gray' 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.8::factB. 0.0::factC. %hop1 0.2::factX:-and(factC,factB). 0.2::factY:-and(factB,factA). 0.25::factZ:-and(factA,factB). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.94,0.6633326665333067,train,almost certain,highly unlikely,It is almost certain that 'Greg is gray' or 'Lily is a rhino' or both.,It is highly unlikely that 'Greg is gray' or 'Lily is a rhino' or both.,0,'Greg is gray' or 'Lily is a rhino' or both. Chances are about even that Mary left the football. It is probable that Gertrude is a wolf. Chances are about even that Antoine is thirsty. It is improbable that if 'Mary left the football and Gertrude is a wolf' then Jessica is a cat. There is a very good chance that if 'Antoine is thirsty and Gertrude is a wolf' then Lily is a rhino. It is probably not the case that if 'Antoine is thirsty' or 'Mary left the football' or both then Brian is a frog.,Chances are about even that 'Lily is a rhino' or 'Antoine 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.5::factA. 0.7::factB. 0.5::factC. %hop1 0.1::factX:-and(factA,factB). 0.8::factY:-and(factC,factB). 0.25::factZ:-or(factC,factA). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.49999999999999994,0.6377275455091018,train,about even,certain,Chances are about even that 'Lily is a rhino' or 'Antoine is thirsty' or both.,It is certain that 'Lily is a rhino' or 'Antoine is thirsty' or both.,1,'Lily is a rhino' or 'Antoine is thirsty' or both. There is a better than even chance that Fred left the football. We doubt that Bernhard is a swan. We doubt that Jeff moved to the office. It is probably not the case that if 'Bernhard is a swan and Fred left the football' then Greg is a rhino. Chances are about even that if 'Fred left the football and Jeff moved to the office' then Brian is green. There is almost no chance that if 'Fred left the football and Jeff moved to the office' then Sandra dropped the apple.,There is a very good chance that either 'Bernhard is a swan' 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.6::factA. 0.2::factB. 0.2::factC. %hop1 0.25::factX:-and(factB,factA). 0.5::factY:-and(factA,factC). 0.02::factZ:-and(factA,factC). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.17,0.5393078615723145,train,unlikely,very good chance,It is unlikely that either 'Bernhard is a swan' or 'Greg is a rhino' but not both.,There is a very good chance that either 'Bernhard is a swan' or 'Greg is a rhino' but not both.,0,Either 'Bernhard is a swan' or 'Greg is a rhino' but not both. It is probable that Bernhard is green. It is improbable that Emily is a mouse. It is probable that Julius is white. It is certain that if 'Emily is a mouse' or 'Julius is white' or both then Lily is a swan. It is certain that if 'Julius is white' or 'Emily is a mouse' or both then Mary went to the office. It is highly unlikely that if 'Bernhard is green' or 'Julius is white' or both then Brian is a swan.,Chances are slight that 'Brian is a swan' or 'Emily 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.7::factA. 0.1::factB. 0.7::factC. %hop1 1.0::factX:-or(factB,factC). 1.0::factY:-or(factC,factB). 0.05::factZ:-or(factA,factC). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.14095000000000005,0.032406481296259254,train,chances are slight,we believe,Chances are slight that 'Brian is a swan' or 'Emily is a mouse' or both.,We believe that 'Brian is a swan' or 'Emily is a mouse' or both.,1,'Brian is a swan' or 'Emily is a mouse' or both. It is highly likely that Jeff discarded the milk. It is impossible that Julius is a frog. It is probable that Lily is white. There is a better than even chance that if either 'Lily is white' or 'Julius is a frog' but not both then Jason is tired. It is certain that if 'Jeff discarded the milk and Lily is white' then Sandra took the football. It is improbable that if 'Lily is white' or 'Jeff discarded the milk' or both then John dropped the apple.,We believe that 'John dropped the apple' 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.9::factA. 0.0::factB. 0.7::factC. %hop1 0.6::factX:-xor(factC,factB). 1.0::factY:-and(factA,factC). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.727,0.03980796159231846,train,we believe,impossible,We believe that 'John dropped the apple' or 'Lily is white' or both.,It is impossible that 'John dropped the apple' or 'Lily is white' or both.,1,'John dropped the apple' or 'Lily is white' or both. It is certain that Bernhard is a rhino. It is certain that Gertrude is a mouse. It is highly likely that Yann is hungry. It is likely that if 'Gertrude is a mouse and Yann is hungry' then Julius is yellow. There is little chance that if 'Yann is hungry' or 'Bernhard is a rhino' or both then Mary got the apple. It is probably the case that if 'Yann is hungry' or 'Gertrude is a mouse' or both then John went to the bedroom.,It is unlikely that 'Bernhard is a rhino' or 'Yann is hungry' 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. 1.0::factB. 0.9::factC. %hop1 0.7::factX:-and(factB,factC). 0.1::factY:-or(factC,factA). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.022804560912182435,train,certain,unlikely,It is certain that 'Bernhard is a rhino' or 'Yann is hungry' or both.,It is unlikely that 'Bernhard is a rhino' or 'Yann is hungry' or both.,0,'Bernhard is a rhino' or 'Yann is hungry' or both. It is highly likely that Jessica is a mouse. It is improbable that Mary went to the bedroom. It is highly unlikely that Lily is yellow. It is impossible that if either 'Lily is yellow' or 'Mary went to the bedroom' but not both then Daniel took the apple. It is likely that if 'Jessica is a mouse and Lily is yellow' then Julius is white. There is little chance that if 'Lily is yellow and Mary went to the bedroom' then Emily is a cat.,There is almost no chance that either 'Julius is white' 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.9::factA. 0.1::factB. 0.05::factC. %hop1 0.0::factX:-xor(factC,factB). 0.7::factY:-and(factA,factC). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.018500000000000003,0.34546909381876373,train,almost no chance,better than even,There is almost no chance that either 'Julius is white' or 'Lily is yellow' but not both.,There is a better than even chance that either 'Julius is white' or 'Lily is yellow' but not both.,1,Either 'Julius is white' or 'Lily is yellow' but not both. It is almost certain that John got the milk. Chances are slight that Gertrude is a mouse. Chances are about even that Lily is a frog. We doubt that if 'John got the milk and Gertrude is a mouse' then Mary moved to the office. There is almost no chance that if either 'John got the milk' or 'Lily is a frog' but not both then Julius is yellow. There is almost no chance that if 'John got the milk' or 'Gertrude is a mouse' or both then Greg is green.,It is almost certain that either 'John got the milk' or 'Greg 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.95::factA. 0.1::factB. 0.5::factC. %hop1 0.2::factX:-and(factA,factB). 0.02::factY:-xor(factA,factC). 0.02::factZ:-or(factA,factB). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.9310999999999999,0.6615323064612922,train,almost certain,little chance,It is almost certain that either 'John got the milk' or 'Greg is green' but not both.,There is little chance that either 'John got the milk' or 'Greg is green' but not both.,1,Either 'John got the milk' or 'Greg is green' but not both. There is little chance that Bernhard is a frog. It is probable that Antoine is thirsty. It is probable that Brian is a lion. It is impossible that if either 'Brian is a lion' or 'Bernhard is a frog' but not both then Greg is yellow. It is certain that if 'Antoine is thirsty' or 'Brian is a lion' or both then Emily is a mouse. There is almost no chance that if 'Bernhard is a frog and Brian is a lion' then John moved to the garden.,It is impossible that 'Greg is yellow 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.1::factA. 0.7::factB. 0.7::factC. %hop1 0.0::factX:-xor(factC,factA). 1.0::factY:-or(factB,factC). 0.02::factZ:-and(factA,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.0,0.04760952190438088,train,impossible,almost certain,It is impossible that 'Greg is yellow and Bernhard is a frog'.,It is almost certain that 'Greg is yellow and Bernhard is a frog'.,1,'Greg is yellow and Bernhard is a frog'. There is a very good chance that Greg is a lion. There is little chance that Bernhard is a swan. It is probably not the case that Brian is yellow. It is highly unlikely that if 'Brian is yellow and Bernhard is a swan' then Sandra left the football. We doubt that if either 'Greg is a lion' or 'Brian is yellow' but not both then John went to the garden. We believe that if 'Brian is yellow and Bernhard is a swan' then Julius is a rhino.,It is likely that 'Sandra left the football 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.8::factA. 0.1::factB. 0.25::factC. %hop1 0.05::factX:-and(factC,factB). 0.2::factY:-xor(factA,factC). 0.75::factZ:-and(factC,factB). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.0010000000000000002,0.3604720944188838,train,impossible,likely,It is impossible that 'Sandra left the football and Greg is a lion'.,It is likely that 'Sandra left the football and Greg is a lion'.,0,'Sandra left the football and Greg is a lion'. It is certain that John went to the hallway. It is improbable that Mary grabbed the milk. Chances are slight that Greg is a rhino. It is probable that if 'Mary grabbed the milk and John went to the hallway' then Bernhard is green. It is unlikely that if either 'Mary grabbed the milk' or 'John went to the hallway' but not both then Julius is a frog. Chances are slight that if 'Mary grabbed the milk' or 'John went to the hallway' or both then Lily is yellow.,It is improbable that 'Bernhard is green' or 'Mary grabbed 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.1::factB. 0.1::factC. %hop1 0.7::factX:-and(factB,factA). 0.2::factY:-xor(factB,factA). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.10000000000000002,0.16983396679335866,train,improbable,certain,It is improbable that 'Bernhard is green' or 'Mary grabbed the milk' or both.,It is certain that 'Bernhard is green' or 'Mary grabbed the milk' or both.,1,'Bernhard is green' or 'Mary grabbed the milk' or both. It is improbable that John discarded the apple. It is highly likely that Mary dropped the apple. It is likely that Greg is a frog. We doubt that if 'Greg is a frog' or 'John discarded the apple' or both then Julius is yellow. It is improbable that if either 'Mary dropped the apple' or 'Greg is a frog' but not both then Gertrude is a cat. We believe that if 'Greg is a frog' or 'Mary dropped the apple' or both then Bernhard is white.,There is little chance that 'Gertrude is a cat' 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.1::factA. 0.9::factB. 0.7::factC. %hop1 0.2::factX:-or(factC,factA). 0.1::factY:-xor(factB,factC). 0.75::factZ:-or(factC,factB). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.736,0.4282856571314263,train,we believe,little chance,We believe that 'Gertrude is a cat' or 'Bernhard is white' or both.,There is little chance that 'Gertrude is a cat' or 'Bernhard is white' or both.,0,'Gertrude is a cat' or 'Bernhard is white' or both. It is certain that Daniel put down the milk. There is a very good chance that Julius is a frog. It is improbable that Emily is a sheep. Chances are slight that if either 'Daniel put down the milk' or 'Emily is a sheep' but not both then Bernhard is green. We doubt that if either 'Emily is a sheep' or 'Julius is a frog' but not both then Brian is a rhino. It is probable that if 'Julius is a frog and Emily is a sheep' then Jason is tired.,It is certain that either 'Brian 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 1.0::factA. 0.8::factB. 0.1::factC. %hop1 0.1::factX:-xor(factA,factC). 0.2::factY:-xor(factC,factB). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.20920000000000002,0.3444688937787557,train,we doubt,certain,We doubt that either 'Brian is a rhino' or 'Bernhard is green' but not both.,It is certain that either 'Brian is a rhino' or 'Bernhard is green' but not both.,0,Either 'Brian is a rhino' or 'Bernhard is green' but not both. It is likely that Bernhard is a rhino. It is improbable that Mary grabbed the apple. There is a very good chance that Jeff went to the bedroom. Chances are slight that if 'Bernhard is a rhino' or 'Jeff went to the bedroom' or both then Yann is hungry. It is highly likely that if either 'Mary grabbed the apple' or 'Bernhard is a rhino' but not both then Lily is a lion. It is likely that if 'Jeff went to the bedroom' or 'Mary grabbed the apple' or both then Brian is white.,There is a better than even chance that 'Yann is hungry' 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.7::factA. 0.1::factB. 0.8::factC. %hop1 0.1::factX:-or(factA,factC). 0.9::factY:-xor(factB,factA). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.6291399999999999,0.5995199039807961,train,better than even,impossible,There is a better than even chance that 'Yann is hungry' or 'Lily is a lion' or both.,It is impossible that 'Yann is hungry' or 'Lily is a lion' or both.,1,'Yann is hungry' or 'Lily is a lion' or both. It is highly likely that Mary moved to the garden. It is highly likely that John grabbed the apple. It is almost certain that Bernhard is a rhino. We believe that if either 'Bernhard is a rhino' or 'John grabbed the apple' but not both then Greg is a lion. There is a very good chance that if 'John grabbed the apple' or 'Mary moved to the garden' or both then Jeff left the football. Chances are about even that if 'Mary moved to the garden' or 'Bernhard is a rhino' or both then Brian is a frog.,It is highly likely that either 'Bernhard is a rhino' 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.9::factA. 0.9::factB. 0.95::factC. %hop1 0.75::factX:-xor(factC,factB). 0.8::factY:-or(factB,factA). 0.5::factZ:-or(factA,factC). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.9125000000000001,0.26985397079415885,train,highly likely,chances are slight,It is highly likely that either 'Bernhard is a rhino' or 'Greg is a lion' but not both.,Chances are slight that either 'Bernhard is a rhino' or 'Greg is a lion' but not both.,1,Either 'Bernhard is a rhino' or 'Greg is a lion' but not both. It is likely that John went to the garden. It is highly likely that Mary got the football. It is likely that Brian is yellow. It is certain that if 'Brian is yellow' or 'John went to the garden' or both then Bernhard is green. It is likely that if 'Mary got the football and Brian is yellow' then Sandra dropped the apple. It is almost certain that if 'John went to the garden' or 'Brian is yellow' or both then Greg is a rhino.,There is little chance that 'Greg is a rhino 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.7::factA. 0.9::factB. 0.7::factC. %hop1 1.0::factX:-or(factC,factA). 0.7::factY:-and(factB,factC). 0.95::factZ:-or(factA,factC). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.6649999999999999,0.6781356271254251,train,likely,little chance,It is likely that 'Greg is a rhino and John went to the garden'.,There is little chance that 'Greg is a rhino and John went to the garden'.,0,'Greg is a rhino and John went to the garden'. It is highly likely that Lily is green. Chances are about even that Jeff went to the bedroom. It is probable that Fred put down the apple. We doubt that if 'Fred put down the apple and Lily is green' then Sandra dropped the milk. We doubt that if either 'Jeff went to the bedroom' or 'Fred put down the apple' but not both then Bernhard is gray. It is improbable that if 'Lily is green' or 'Jeff went to the bedroom' or both then Gertrude is a mouse.,There is a very good chance that 'Fred put down the apple' or 'Jeff 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.9::factA. 0.5::factB. 0.7::factC. %hop1 0.2::factX:-and(factC,factA). 0.2::factY:-xor(factB,factC). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.85,0.26425285057011405,train,very good chance,we doubt,There is a very good chance that 'Fred put down the apple' or 'Jeff went to the bedroom' or both.,We doubt that 'Fred put down the apple' or 'Jeff went to the bedroom' or both.,1,'Fred put down the apple' or 'Jeff went to the bedroom' or both. It is improbable that Jessica is a mouse. It is impossible that Lily is a rhino. It is certain that Sandra got the milk. There is a better than even chance that if 'Lily is a rhino' or 'Sandra got the milk' or both then Antoine is hungry. We doubt that if 'Sandra got the milk and Jessica is a mouse' then Julius is gray. It is highly likely that if 'Lily is a rhino' or 'Jessica is a mouse' or both then Greg is a swan.,There is a very good chance that 'Lily is a rhino 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 0.1::factA. 0.0::factB. 1.0::factC. %hop1 0.6::factX:-or(factB,factC). 0.2::factY:-and(factC,factA). 0.9::factZ:-or(factB,factA). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.4912982596519304,train,impossible,very good chance,It is impossible that 'Lily is a rhino and Sandra got the milk'.,There is a very good chance that 'Lily is a rhino and Sandra got the milk'.,0,'Lily is a rhino and Sandra got the milk'. Chances are slight that John picked up the milk. There is a very good chance that Gertrude is a cat. There is a very good chance that Brian is white. It is highly unlikely that if either 'Brian is white' or 'John picked up the milk' but not both then Mary moved to the garden. It is probably the case that if 'Gertrude is a cat' or 'Brian is white' or both then Daniel dropped the apple. It is unlikely that if 'John picked up the milk' or 'Gertrude is a cat' or both then Lily is green.,There is a very good chance that 'Brian is white' 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.1::factA. 0.8::factB. 0.8::factC. %hop1 0.05::factX:-xor(factC,factA). 0.7::factY:-or(factB,factC). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.8200000000000001,0.7133426685337068,train,very good chance,we doubt,There is a very good chance that 'Brian is white' or 'John picked up the milk' or both.,We doubt that 'Brian is white' or 'John picked up the milk' or both.,1,'Brian is white' or 'John picked up the milk' or both. We believe that Daniel took the football. Chances are slight that Brian is gray. It is improbable that Julius is green. It is impossible that if 'Brian is gray and Daniel took the football' then Jessica is a sheep. We doubt that if 'Brian is gray' or 'Daniel took the football' or both then Lily is a swan. There is a very good chance that if either 'Julius is green' or 'Brian is gray' but not both then John moved to the garden.,It is unlikely that 'John moved to the garden' 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.75::factA. 0.1::factB. 0.1::factC. %hop1 0.0::factX:-and(factB,factA). 0.2::factY:-or(factB,factA). 0.8::factZ:-xor(factC,factB). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.17200000000000001,0.2892578515703141,train,unlikely,very good chance,It is unlikely that 'John moved to the garden' or 'Julius is green' or both.,There is a very good chance that 'John moved to the garden' or 'Julius is green' or both.,1,'John moved to the garden' or 'Julius is green' or both. It is highly unlikely that Sandra got the football. It is probably the case that Lily is green. There is a very good chance that Brian is a swan. There is a very good chance that if 'Lily is green and Sandra got the football' then John dropped the apple. Chances are slight that if 'Brian is a swan' or 'Lily is green' or both then Mary went to the hallway. There is little chance that if either 'Brian is a swan' or 'Sandra got the football' but not both then Bernhard is yellow.,It is certain that either 'Bernhard is yellow' or 'Mary went to the hallway' 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.7::factB. 0.8::factC. %hop1 0.8::factX:-and(factB,factA). 0.1::factY:-or(factC,factB). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.15566000000000002,0.3940788157631526,train,unlikely,certain,It is unlikely that either 'Bernhard is yellow' or 'Mary went to the hallway' but not both.,It is certain that either 'Bernhard is yellow' or 'Mary went to the hallway' but not both.,0,Either 'Bernhard is yellow' or 'Mary went to the hallway' but not both. It is highly likely that Mary left the football. It is probably the case that Julius is a swan. It is highly unlikely that Winona is a sheep. Chances are slight that if 'Mary left the football and Winona is a sheep' then Bernhard is yellow. It is probably the case that if 'Mary left the football' or 'Julius is a swan' or both then Lily is a lion. There is almost no chance that if 'Julius is a swan' or 'Winona is a sheep' or both then John went to the office.,It is probably the case that 'Winona is a sheep 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.9::factA. 0.7::factB. 0.05::factC. %hop1 0.1::factX:-and(factA,factC). 0.7::factY:-or(factA,factB). 0.02::factZ:-or(factB,factC). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.0010000000000000002,0.09381876375275056,train,impossible,probably,It is impossible that 'Winona is a sheep and John went to the office'.,It is probably the case that 'Winona is a sheep and John went to the office'.,0,'Winona is a sheep and John went to the office'. It is almost certain that Bernhard is gray. There is a very good chance that Greg is yellow. It is probably the case that Lily is a lion. It is probable that if either 'Bernhard is gray' or 'Lily is a lion' but not both then Emily is a sheep. It is highly unlikely that if either 'Bernhard is gray' or 'Lily is a lion' but not both then Julius is a swan. There is a better than even chance that if 'Lily is a lion' or 'Bernhard is gray' or both then Mary got the apple.,There is a very good chance that 'Greg is yellow' 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.95::factA. 0.8::factB. 0.7::factC. %hop1 0.7::factX:-xor(factA,factC). 0.05::factY:-xor(factA,factC). 0.6::factZ:-or(factC,factA). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.8032,0.7873574714942989,train,very good chance,little chance,There is a very good chance that 'Greg is yellow' or 'Julius is a swan' or both.,There is little chance that 'Greg is yellow' or 'Julius is a swan' or both.,1,'Greg is yellow' or 'Julius is a swan' or both. It is highly likely that John took the milk. It is impossible that Lily is white. There is a very good chance that Brian is gray. We doubt that if 'Lily is white and John took the milk' then Gertrude is a sheep. It is unlikely that if 'Lily is white' or 'Brian is gray' or both then Sandra left the milk. Chances are about even that if 'Brian is gray' or 'John took the milk' or both then Bernhard is white.,It is highly likely that either 'John took 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.9::factA. 0.0::factB. 0.8::factC. %hop1 0.2::factX:-and(factB,factA). 0.2::factY:-or(factB,factC). 0.5::factZ:-or(factC,factA). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.9,0.10502100420084017,train,highly likely,improbable,It is highly likely that either 'John took the milk' or 'Gertrude is a sheep' but not both.,It is improbable that either 'John took the milk' or 'Gertrude is a sheep' but not both.,1,Either 'John took the milk' or 'Gertrude is a sheep' but not both. We believe that Mary dropped the apple. It is improbable that Lily is a lion. It is almost certain that Daniel left the milk. There is a very good chance that if 'Lily is a lion' or 'Mary dropped the apple' or both then Bernhard is green. It is highly likely that if 'Daniel left the milk and Lily is a lion' then Sandra got the football. It is probably the case that if 'Daniel left the milk and Lily is a lion' then Antoine is hungry.,There is a better than even chance that 'Bernhard is green' 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.75::factA. 0.1::factB. 0.95::factC. %hop1 0.8::factX:-or(factB,factA). 0.9::factY:-and(factC,factB). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.6371000000000001,0.6383276655331066,train,better than even,highly unlikely,There is a better than even chance that 'Bernhard is green' or 'Sandra got the football' or both.,It is highly unlikely that 'Bernhard is green' or 'Sandra got the football' or both.,1,'Bernhard is green' or 'Sandra got the football' or both. It is highly likely that Sandra grabbed the milk. There is almost no chance that Brian is yellow. It is improbable that John moved to the garden. There is a very good chance that if 'Brian is yellow and Sandra grabbed the milk' then Julius is gray. It is impossible that if 'Sandra grabbed the milk and John moved to the garden' then Bernhard is green. There is a better than even chance that if either 'John moved to the garden' or 'Sandra grabbed the milk' but not both then Greg is a rhino.,It is impossible that either 'Greg is a rhino' or 'Sandra 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.9::factA. 0.02::factB. 0.1::factC. %hop1 0.8::factX:-and(factB,factA). 0.0::factY:-and(factA,factC). 0.6::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.42,0.7831566313262652,train,about even,impossible,Chances are about even that either 'Greg is a rhino' or 'Sandra grabbed the milk' but not both.,It is impossible that either 'Greg is a rhino' or 'Sandra grabbed the milk' but not both.,0,Either 'Greg is a rhino' or 'Sandra grabbed the milk' but not both. It is probably not the case that Emily is a sheep. It is probably the case that Julius is gray. It is unlikely that John dropped the milk. It is highly likely that if 'Julius is gray' or 'John dropped the milk' or both then Antoine is hungry. It is impossible that if either 'Emily is a sheep' or 'John dropped the milk' but not both then Bernhard is green. There is a very good chance that if either 'John dropped the milk' or 'Emily is a sheep' but not both then Greg is a frog.,We doubt that 'Emily is a sheep 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.25::factA. 0.7::factB. 0.2::factC. %hop1 0.9::factX:-or(factB,factC). 0.0::factY:-xor(factA,factC). 0.8::factZ:-xor(factC,factA). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.171,0.4184836967393479,train,we doubt,certain,We doubt that 'Emily is a sheep and Antoine is hungry'.,It is certain that 'Emily is a sheep and Antoine is hungry'.,1,'Emily is a sheep and Antoine is hungry'. It is certain that Julius is a swan. We doubt that Mary moved to the garden. There is little chance that John went to the bedroom. It is probably the case that if 'Julius is a swan' or 'John went to the bedroom' or both then Greg is a swan. It is likely that if 'Mary moved to the garden and Julius is a swan' then Fred is in the school. It is impossible that if either 'Mary moved to the garden' or 'John went to the bedroom' but not both then Daniel took the football.,It is probably not the case that either 'Julius is a swan' 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 1.0::factA. 0.2::factB. 0.1::factC. %hop1 0.7::factX:-or(factA,factC). 0.7::factY:-and(factB,factA). 0.0::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.30000000000000004,0.3434686937387478,train,probably not,probably,It is probably not the case that either 'Julius is a swan' or 'Greg is a swan' but not both.,It is probably the case that either 'Julius is a swan' or 'Greg is a swan' but not both.,1,Either 'Julius is a swan' or 'Greg is a swan' but not both. It is probably not the case that Lily is a rhino. It is probable that Antoine is hungry. There is a very good chance that Bernhard is a lion. We believe that if 'Antoine is hungry' or 'Lily is a rhino' or both then John went to the hallway. It is probably not the case that if 'Bernhard is a lion' or 'Lily is a rhino' or both then Mary grabbed the milk. It is improbable that if 'Lily is a rhino and Bernhard is a lion' then Greg is yellow.,It is probably the case that either 'Mary grabbed the milk' 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.25::factA. 0.7::factB. 0.8::factC. %hop1 0.75::factX:-or(factB,factA). 0.25::factY:-or(factC,factA). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.22250000000000006,0.2388477695539108,train,unlikely,probably,It is unlikely that either 'Mary grabbed the milk' or 'Greg is yellow' but not both.,It is probably the case that either 'Mary grabbed the milk' or 'Greg is yellow' but not both.,0,Either 'Mary grabbed the milk' or 'Greg is yellow' but not both. It is probably not the case that Jeff moved to the office. We doubt that Brian is white. There is almost no chance that John discarded the apple. It is certain that if either 'Brian is white' or 'John discarded the apple' but not both then Bernhard is white. There is a better than even chance that if 'Jeff moved to the office and Brian is white' then Mary dropped the milk. It is probable that if either 'John discarded the apple' or 'Brian is white' but not both then Julius is yellow.,It is likely that 'Julius is yellow 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.25::factA. 0.2::factB. 0.02::factC. %hop1 1.0::factX:-xor(factB,factC). 0.6::factY:-and(factA,factB). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.1484,0.33426685337067413,train,chances are slight,likely,Chances are slight that 'Julius is yellow and Bernhard is white'.,It is likely that 'Julius is yellow and Bernhard is white'.,0,'Julius is yellow and Bernhard is white'. It is unlikely that Lily is a lion. It is almost certain that Daniel put down the milk. Chances are slight that Mary picked up the apple. It is unlikely that if either 'Mary picked up the apple' or 'Daniel put down the milk' but not both then Fred is in the office. It is probable that if 'Daniel put down the milk' or 'Lily is a lion' or both then Bernhard is gray. It is impossible that if either 'Mary picked up the apple' or 'Lily is a lion' but not both then Emily is a wolf.,It is highly unlikely that either 'Bernhard is gray' 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.2::factA. 0.95::factB. 0.1::factC. %hop1 0.2::factX:-xor(factC,factB). 0.7::factY:-or(factB,factA). 0.0::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.592,0.49249849969994,train,better than even,highly unlikely,There is a better than even chance that either 'Bernhard is gray' or 'Lily is a lion' but not both.,It is highly unlikely that either 'Bernhard is gray' or 'Lily is a lion' but not both.,0,Either 'Bernhard is gray' or 'Lily is a lion' but not both. It is unlikely that Bernhard is a swan. It is probably not the case that John went to the garden. It is highly likely that Brian is a rhino. Chances are about even that if 'Bernhard is a swan' or 'Brian is a rhino' or both then Julius is green. We doubt that if 'Bernhard is a swan' or 'Brian is a rhino' or both then Mary got the apple. There is little chance that if either 'John went to the garden' or 'Brian is a rhino' but not both then Greg is a lion.,It is probably not the case that either 'Bernhard is a swan' 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.2::factA. 0.25::factB. 0.9::factC. %hop1 0.5::factX:-or(factA,factC). 0.2::factY:-or(factA,factC). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.30400000000000005,0.5895179035807161,train,probably not,probable,It is probably not the case that either 'Bernhard is a swan' or 'Mary got the apple' but not both.,It is probable that either 'Bernhard is a swan' or 'Mary got the apple' but not both.,1,Either 'Bernhard is a swan' or 'Mary got the apple' but not both. It is probably the case that Sandra put down the milk. We doubt that Julius is yellow. It is highly unlikely that Brian is gray. Chances are slight that if 'Julius is yellow' or 'Sandra put down the milk' or both then Bill went to the garden. It is probable that if 'Julius is yellow' or 'Sandra put down the milk' or both then Mary left the football. Chances are about even that if 'Sandra put down the milk' or 'Julius is yellow' or both then Lily is a swan.,It is probable that either 'Julius is yellow' or 'Brian 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.2::factB. 0.05::factC. %hop1 0.1::factX:-or(factB,factA). 0.7::factY:-or(factB,factA). 0.5::factZ:-or(factA,factB). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.23,0.1712342468493699,train,probably not,probable,It is probably not the case that either 'Julius is yellow' or 'Brian is gray' but not both.,It is probable that either 'Julius is yellow' or 'Brian is gray' but not both.,0,Either 'Julius is yellow' or 'Brian is gray' but not both. It is likely that Greg is a lion. It is likely that Sandra left the apple. It is impossible that Mary picked up the milk. It is highly likely that if either 'Mary picked up the milk' or 'Greg is a lion' but not both then Jessica is a cat. It is improbable that if 'Sandra left the apple and Mary picked up the milk' then Bernhard is a rhino. It is impossible that if either 'Greg is a lion' or 'Mary picked up the milk' but not both then Bill went to the garden.,We believe that 'Bill went to the garden 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.7::factA. 0.7::factB. 0.0::factC. %hop1 0.9::factX:-xor(factC,factA). 0.1::factY:-and(factB,factC). 0.0::factZ:-xor(factA,factC). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.0,0.6977395479095819,train,impossible,we believe,It is impossible that 'Bill went to the garden and Sandra left the apple'.,We believe that 'Bill went to the garden and Sandra left the apple'.,0,'Bill went to the garden and Sandra left the apple'. Chances are slight that Jessica is a sheep. There is a better than even chance that Mary went to the office. It is almost certain that John got the apple. It is highly unlikely that if 'John got the apple and Mary went to the office' then Greg is a lion. It is highly likely that if 'Mary went to the office' or 'Jessica is a sheep' or both then Brian is a rhino. There is little chance that if either 'John got the apple' or 'Jessica is a sheep' but not both then Bernhard is yellow.,It is almost certain that 'John got the apple and Jessica 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.1::factA. 0.6::factB. 0.95::factC. %hop1 0.05::factX:-and(factC,factB). 0.9::factY:-or(factB,factA). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.09500000000000001,0.7441488297659532,train,little chance,almost certain,There is little chance that 'John got the apple and Jessica is a sheep'.,It is almost certain that 'John got the apple and Jessica is a sheep'.,0,'John got the apple and Jessica is a sheep'. It is probable that Brian is gray. There is almost no chance that Emily is a sheep. It is impossible that Mary dropped the milk. We believe that if either 'Brian is gray' or 'Mary dropped the milk' but not both then Julius is a swan. Chances are slight that if either 'Mary dropped the milk' or 'Emily is a sheep' but not both then Greg is white. There is almost no chance that if 'Emily is a sheep' or 'Mary dropped the milk' or both then John discarded the apple.,Chances are about even that either 'John discarded 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.0::factC. %hop1 0.75::factX:-xor(factA,factC). 0.1::factY:-xor(factC,factB). 0.02::factZ:-or(factB,factC). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.52498,0.5631126225245049,train,about even,highly unlikely,Chances are about even that either 'John discarded the apple' or 'Julius is a swan' but not both.,It is highly unlikely that either 'John discarded the apple' or 'Julius is a swan' but not both.,1,Either 'John discarded the apple' or 'Julius is a swan' but not both. It is unlikely that Brian is yellow. It is probable that Yann is bored. There is a better than even chance that Greg is a frog. It is improbable that if either 'Yann is bored' or 'Greg is a frog' but not both then Mary dropped the milk. There is a better than even chance that if 'Greg is a frog and Yann is bored' then Julius is gray. It is unlikely that if 'Brian is yellow' or 'Yann is bored' or both then John moved to the garden.,It is unlikely that either 'Yann is bored' or 'Mary 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.2::factA. 0.7::factB. 0.6::factC. %hop1 0.1::factX:-xor(factB,factC). 0.6::factY:-and(factC,factB). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.69,0.5151030206041208,train,likely,unlikely,It is likely that either 'Yann is bored' or 'Mary dropped the milk' but not both.,It is unlikely that either 'Yann is bored' or 'Mary dropped the milk' but not both.,0,Either 'Yann is bored' or 'Mary dropped the milk' but not both. It is almost certain that Lily is a rhino. There is a better than even chance that Winona is a mouse. We believe that Mary moved to the garden. It is almost certain that if 'Lily is a rhino and Winona is a mouse' then John took the milk. It is certain that if 'Mary moved to the garden' or 'Winona is a mouse' or both then Sandra left the football. Chances are slight that if 'Lily is a rhino and Winona is a mouse' then Julius is white.,Chances are about even that 'John took the milk and Winona 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.6::factB. 0.75::factC. %hop1 0.95::factX:-and(factA,factB). 1.0::factY:-or(factC,factB). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.5414999999999999,0.27425485097019403,train,about even,highly unlikely,Chances are about even that 'John took the milk and Winona is a mouse'.,It is highly unlikely that 'John took the milk and Winona is a mouse'.,1,'John took the milk and Winona is a mouse'. Chances are about even that Mary moved to the office. It is probably the case that Julius is a lion. It is probably not the case that Lily is a rhino. It is probable that if either 'Mary moved to the office' or 'Julius is a lion' but not both then Daniel grabbed the apple. It is probably not the case that if either 'Julius is a lion' or 'Lily is a rhino' but not both then Greg is yellow. Chances are slight that if 'Julius is a lion and Mary moved to the office' then Brian is green.,Chances are about even that 'Daniel grabbed the apple' 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.5::factA. 0.7::factB. 0.25::factC. %hop1 0.7::factX:-xor(factA,factB). 0.25::factY:-xor(factB,factC). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.5125,0.14522904580916182,train,about even,almost certain,Chances are about even that 'Daniel grabbed the apple' or 'Lily is a rhino' or both.,It is almost certain that 'Daniel grabbed the apple' or 'Lily is a rhino' or both.,1,'Daniel grabbed the apple' or 'Lily is a rhino' or both. It is almost certain that Mary moved to the garden. It is certain that Greg is gray. It is unlikely that Brian is white. Chances are about even that if either 'Brian is white' or 'Greg is gray' but not both then Bernhard is a frog. It is highly unlikely that if 'Mary moved to the garden and Brian is white' then John put down the milk. It is impossible that if either 'Mary moved to the garden' or 'Brian is white' but not both then Lily is a lion.,It is impossible that 'Brian is white 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.95::factA. 1.0::factB. 0.2::factC. %hop1 0.5::factX:-xor(factC,factB). 0.05::factY:-and(factA,factC). 0.0::factZ:-xor(factA,factC). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.0095,0.360872174434887,train,impossible,very good chance,It is impossible that 'Brian is white and John put down the milk'.,There is a very good chance that 'Brian is white and John put down the milk'.,1,'Brian is white and John put down the milk'. It is impossible that Mary discarded the milk. It is unlikely that Julius is a lion. It is highly likely that Greg is white. It is improbable that if 'Julius is a lion' or 'Mary discarded the milk' or both then Lily is green. There is a better than even chance that if either 'Mary discarded the milk' or 'Greg is white' but not both then John went to the kitchen. It is impossible that if 'Julius is a lion and Mary discarded the milk' then Bernhard is a swan.,It is impossible that 'Greg is white and Mary 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.0::factA. 0.2::factB. 0.9::factC. %hop1 0.1::factX:-or(factB,factA). 0.6::factY:-xor(factA,factC). 0.0::factZ:-and(factB,factA). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.2606521304260852,train,impossible,probable,It is impossible that 'Greg is white and Mary discarded the milk'.,It is probable that 'Greg is white and Mary discarded the milk'.,1,'Greg is white and Mary discarded the milk'. It is probable that John picked up the apple. We believe that Emily is a wolf. There is little chance that Greg is yellow. It is highly unlikely that if either 'John picked up the apple' or 'Emily is a wolf' but not both then Fred is in the office. There is little chance that if either 'Greg is yellow' or 'Emily is a wolf' but not both then Bernhard is white. Chances are slight that if 'John picked up the apple' or 'Emily is a wolf' or both then Julius is gray.,It is impossible that 'Julius is gray' or 'John picked up 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.75::factB. 0.1::factC. %hop1 0.05::factX:-xor(factA,factB). 0.1::factY:-xor(factC,factB). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.7225,0.10722144428885777,train,likely,impossible,It is likely that 'Julius is gray' or 'John picked up the apple' or both.,It is impossible that 'Julius is gray' or 'John picked up the apple' or both.,0,'Julius is gray' or 'John picked up the apple' or both. There is little chance that Brian is a frog. Chances are about even that Bernhard is a swan. It is impossible that Julius is white. It is improbable that if 'Julius is white' or 'Bernhard is a swan' or both then Greg is green. It is likely that if either 'Brian is a frog' or 'Julius is white' but not both then John dropped the apple. We doubt that if either 'Brian is a frog' or 'Bernhard is a swan' but not both then Sandra got the football.,It is probable that either 'Sandra got the football' or 'Greg 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.5::factB. 0.0::factC. %hop1 0.1::factX:-or(factC,factB). 0.7::factY:-xor(factA,factC). 0.2::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.132,0.7227445489097819,train,chances are slight,probable,Chances are slight that either 'Sandra got the football' or 'Greg is green' but not both.,It is probable that either 'Sandra got the football' or 'Greg is green' but not both.,0,Either 'Sandra got the football' or 'Greg is green' but not both. It is unlikely that Mary went to the hallway. It is highly unlikely that Brian is a rhino. There is almost no chance that Daniel put down the milk. It is certain that if 'Mary went to the hallway and Daniel put down the milk' then Lily is a frog. It is probably the case that if 'Daniel put down the milk and Mary went to the hallway' then Julius is gray. There is little chance that if 'Daniel put down the milk and Brian is a rhino' then Jessica is a mouse.,It is likely that either 'Brian is a rhino' 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.2::factA. 0.05::factB. 0.02::factC. %hop1 1.0::factX:-and(factA,factC). 0.7::factY:-and(factC,factA). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.04990000000000001,0.5507101420284057,train,highly unlikely,likely,It is highly unlikely that either 'Brian is a rhino' or 'Jessica is a mouse' but not both.,It is likely that either 'Brian is a rhino' or 'Jessica is a mouse' but not both.,0,Either 'Brian is a rhino' or 'Jessica is a mouse' but not both. It is highly unlikely that Lily is yellow. It is impossible that John went to the garden. It is probably not the case that Julius is a lion. Chances are slight that if 'Lily is yellow and Julius is a lion' then Jessica is a cat. Chances are slight that if either 'John went to the garden' or 'Julius is a lion' but not both then Brian is a frog. There is a very good chance that if either 'Lily is yellow' or 'Julius is a lion' but not both then Mary left the football.,It is almost certain that either 'Julius is a lion' 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.05::factA. 0.0::factB. 0.25::factC. %hop1 0.1::factX:-and(factA,factC). 0.1::factY:-xor(factB,factC). 0.8::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.09000000000000001,0.5573114622924585,train,improbable,almost certain,It is improbable that either 'Julius is a lion' or 'Mary left the football' but not both.,It is almost certain that either 'Julius is a lion' or 'Mary left the football' but not both.,0,Either 'Julius is a lion' or 'Mary left the football' but not both. It is probably the case that Julius is gray. It is likely that John went to the hallway. Chances are slight that Bernhard is a rhino. It is improbable that if either 'John went to the hallway' or 'Julius is gray' but not both then Greg is green. It is highly likely that if either 'John went to the hallway' or 'Bernhard is a rhino' but not both then Daniel got the football. It is likely that if 'Julius is gray' or 'Bernhard is a rhino' or both then Lily is a frog.,It is impossible that 'Julius is gray' 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.7::factA. 0.7::factB. 0.1::factC. %hop1 0.1::factX:-xor(factB,factA). 0.9::factY:-xor(factB,factC). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.721,0.7103420684136827,train,probably,impossible,It is probably the case that 'Julius is gray' or 'Lily is a frog' or both.,It is impossible that 'Julius is gray' or 'Lily is a frog' or both.,0,'Julius is gray' or 'Lily is a frog' or both. It is probably not the case that Julius is a rhino. There is a better than even chance that Mary dropped the milk. Chances are slight that Daniel took the apple. There is little chance that if 'Julius is a rhino and Mary dropped the milk' then Fred went to the garden. There is a better than even chance that if 'Mary dropped the milk' or 'Julius is a rhino' or both then Lily is a lion. It is highly unlikely that if 'Mary dropped the milk' or 'Julius is a rhino' or both then Bernhard is green.,There is almost no chance that 'Lily is a lion' or 'Fred 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.25::factA. 0.6::factB. 0.1::factC. %hop1 0.1::factX:-and(factA,factB). 0.6::factY:-or(factB,factA). 0.05::factZ:-or(factB,factA). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.426,0.6263252650530106,train,about even,almost no chance,Chances are about even that 'Lily is a lion' or 'Fred went to the garden' or both.,There is almost no chance that 'Lily is a lion' or 'Fred went to the garden' or both.,0,'Lily is a lion' or 'Fred went to the garden' or both. There is little chance that Lily is yellow. Chances are about even that Gertrude is a sheep. There is almost no chance that Brian is white. There is almost no chance that if 'Gertrude is a sheep' or 'Lily is yellow' or both then Bill left the milk. Chances are slight that if either 'Brian is white' or 'Gertrude is a sheep' but not both then Bernhard is yellow. Chances are about even that if 'Gertrude is a sheep and Brian is white' then Greg is a rhino.,It is highly unlikely that 'Bill left the milk' 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 0.1::factA. 0.5::factB. 0.02::factC. %hop1 0.02::factX:-or(factB,factA). 0.1::factY:-xor(factC,factB). 0.5::factZ:-and(factB,factC). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.501,0.39887977595519103,train,about even,highly unlikely,Chances are about even that 'Bill left the milk' or 'Gertrude is a sheep' or both.,It is highly unlikely that 'Bill left the milk' or 'Gertrude is a sheep' or both.,0,'Bill left the milk' or 'Gertrude is a sheep' or both. Chances are slight that John went to the garden. Chances are slight that Bernhard is a rhino. It is probably the case that Julius is yellow. It is almost certain that if 'Julius is yellow and John went to the garden' then Winona is a mouse. It is highly likely that if 'John went to the garden' or 'Julius is yellow' or both then Daniel took the apple. It is unlikely that if 'Bernhard is a rhino' or 'Julius is yellow' or both then Mary is in the school.,It is impossible that 'Winona is a mouse 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.1::factB. 0.7::factC. %hop1 0.95::factX:-and(factC,factA). 0.9::factY:-or(factA,factC). 0.2::factZ:-or(factB,factC). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.006650000000000005,0.32106421284256853,train,impossible,probably,It is impossible that 'Winona is a mouse and Bernhard is a rhino'.,It is probably the case that 'Winona is a mouse and Bernhard is a rhino'.,1,'Winona is a mouse and Bernhard is a rhino'. It is likely that John took the apple. There is a very good chance that Greg is a swan. It is probable that Winona is a mouse. There is little chance that if 'Greg is a swan' or 'John took the apple' or both then Jason is tired. There is little chance that if 'Greg is a swan and Winona is a mouse' then Antoine is hungry. Chances are about even that if either 'John took the apple' or 'Greg is a swan' but not both then Bernhard is green.,It is likely that either 'Jason is tired' 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.8::factB. 0.7::factC. %hop1 0.1::factX:-or(factB,factA). 0.1::factY:-and(factB,factC). 0.5::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.6624,0.0622124424884977,train,likely,almost no chance,It is likely that either 'Jason is tired' or 'Winona is a mouse' but not both.,There is almost no chance that either 'Jason is tired' or 'Winona is a mouse' but not both.,1,Either 'Jason is tired' or 'Winona is a mouse' but not both. It is unlikely that Bernhard is a frog. Chances are about even that Gertrude is a sheep. It is probably not the case that Mary dropped the apple. It is probably not the case that if 'Gertrude is a sheep' or 'Bernhard is a frog' or both then Jeff went to the hallway. It is probably not the case that if 'Gertrude is a sheep' or 'Bernhard is a frog' or both then John moved to the garden. Chances are slight that if 'Bernhard is a frog' or 'Gertrude is a sheep' or both then Jessica is a cat.,It is highly unlikely that either 'Jessica is a cat' 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.2::factA. 0.5::factB. 0.25::factC. %hop1 0.25::factX:-or(factB,factA). 0.25::factY:-or(factB,factA). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.45999999999999996,0.32986597319463895,train,about even,highly unlikely,Chances are about even that either 'Jessica is a cat' or 'Gertrude is a sheep' but not both.,It is highly unlikely that either 'Jessica is a cat' or 'Gertrude is a sheep' but not both.,0,Either 'Jessica is a cat' or 'Gertrude is a sheep' but not both. It is probably the case that John left the apple. There is little chance that Brian is a frog. It is probably not the case that Bernhard is a rhino. There is almost no chance that if 'John left the apple and Bernhard is a rhino' then Gertrude is a cat. It is impossible that if either 'Bernhard is a rhino' or 'John left the apple' but not both then Sumit is thirsty. It is improbable that if 'Bernhard is a rhino' or 'John left the apple' or both then Mary went to the office.,It is impossible that 'Brian is a frog 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.7::factA. 0.1::factB. 0.25::factC. %hop1 0.02::factX:-and(factA,factC). 0.0::factY:-xor(factC,factA). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.007750000000000001,0.6155231046209242,train,impossible,better than even,It is impossible that 'Brian is a frog and Mary went to the office'.,There is a better than even chance that 'Brian is a frog and Mary went to the office'.,1,'Brian is a frog and Mary went to the office'. There is a very good chance that Fred moved to the office. We doubt that Greg is white. It is improbable that Bernhard is a swan. It is improbable that if 'Greg is white' or 'Bernhard is a swan' or both then Lily is a rhino. It is unlikely that if 'Bernhard is a swan and Fred moved to the office' then Daniel dropped the apple. It is impossible that if 'Bernhard is a swan' or 'Fred moved to the office' or both then Mary picked up the milk.,It is impossible that either 'Fred moved to the office' 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.2::factB. 0.1::factC. %hop1 0.1::factX:-or(factB,factC). 0.2::factY:-and(factC,factA). 0.0::factZ:-or(factC,factA). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.68,0.3232646529305861,train,likely,impossible,It is likely that either 'Fred moved to the office' or 'Greg is white' but not both.,It is impossible that either 'Fred moved to the office' or 'Greg is white' but not both.,0,Either 'Fred moved to the office' or 'Greg is white' but not both. There is almost no chance that Daniel took the apple. There is almost no chance that Brian is white. It is highly likely that John went to the office. It is probably the case that if 'Daniel took the apple and Brian is white' then Bernhard is a rhino. It is improbable that if 'John went to the office' or 'Brian is white' or both then Greg is gray. There is a very good chance that if 'Brian is white' or 'Daniel took the apple' or both then Lily is yellow.,There is almost no chance that 'Lily is yellow 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.02::factA. 0.02::factB. 0.9::factC. %hop1 0.7::factX:-and(factA,factB). 0.1::factY:-or(factC,factB). 0.8::factZ:-or(factB,factA). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.028512000000000003,0.29725945189037806,train,almost no chance,probably,There is almost no chance that 'Lily is yellow and John went to the office'.,It is probably the case that 'Lily is yellow and John went to the office'.,1,'Lily is yellow and John went to the office'. There is little chance that Jessica is a mouse. We doubt that Bernhard is white. Chances are slight that Brian is gray. It is highly likely that if 'Bernhard is white and Brian is gray' then Gertrude is a cat. It is probably the case that if 'Bernhard is white and Jessica is a mouse' then Mary went to the office. It is likely that if either 'Jessica is a mouse' or 'Bernhard is white' but not both then Daniel grabbed the apple.,There is a very good chance that either 'Daniel grabbed the apple' or 'Brian 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.2::factB. 0.1::factC. %hop1 0.9::factX:-and(factB,factC). 0.7::factY:-and(factB,factA). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.24559999999999998,0.4812962592518504,train,probably not,very good chance,It is probably not the case that either 'Daniel grabbed the apple' or 'Brian is gray' but not both.,There is a very good chance that either 'Daniel grabbed the apple' or 'Brian is gray' but not both.,0,Either 'Daniel grabbed the apple' or 'Brian is gray' but not both. It is probable that Bernhard is a rhino. We doubt that Jason is tired. There is a better than even chance that Brian is white. Chances are slight that if 'Bernhard is a rhino and Jason is tired' then Greg is a swan. It is impossible that if either 'Jason is tired' or 'Bernhard is a rhino' but not both then Mary went to the bedroom. It is unlikely that if 'Bernhard is a rhino' or 'Brian is white' or both then John moved to the garden.,It is highly unlikely that either 'Brian is white' 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.7::factA. 0.2::factB. 0.6::factC. %hop1 0.1::factX:-and(factA,factB). 0.0::factY:-xor(factB,factA). 0.2::factZ:-or(factA,factC). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.5972000000000001,0.10882176435287058,train,better than even,highly unlikely,There is a better than even chance that either 'Brian is white' or 'Greg is a swan' but not both.,It is highly unlikely that either 'Brian is white' or 'Greg is a swan' but not both.,0,Either 'Brian is white' or 'Greg is a swan' but not both. It is highly likely that Lily is white. It is probably the case that Mary moved to the garden. It is likely that John went to the hallway. There is almost no chance that if 'Lily is white' or 'John went to the hallway' or both then Greg is a rhino. There is little chance that if 'Lily is white' or 'John went to the hallway' or both then Brian is green. There is a very good chance that if 'Lily is white and Mary moved to the garden' then Julius is a swan.,It is unlikely that either 'Mary moved to the garden' 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.9::factA. 0.7::factB. 0.7::factC. %hop1 0.02::factX:-or(factA,factC). 0.1::factY:-or(factA,factC). 0.8::factZ:-and(factA,factB). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.19599999999999995,0.44868973794758954,train,unlikely,probably,It is unlikely that either 'Mary moved to the garden' or 'Julius is a swan' but not both.,It is probably the case that either 'Mary moved to the garden' or 'Julius is a swan' but not both.,1,Either 'Mary moved to the garden' or 'Julius is a swan' but not both. It is highly unlikely that Brian is a rhino. Chances are about even that Jessica is a sheep. It is certain that Lily is a frog. We believe that if either 'Brian is a rhino' or 'Lily is a frog' but not both then Jeff moved to the garden. Chances are slight that if either 'Jessica is a sheep' or 'Brian is a rhino' but not both then Greg is yellow. We doubt that if 'Jessica is a sheep and Brian is a rhino' then Julius is gray.,There is almost no chance that 'Jeff moved to the garden' 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.05::factA. 0.5::factB. 1.0::factC. %hop1 0.75::factX:-xor(factA,factC). 0.1::factY:-xor(factB,factA). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.726875,0.3762752550510102,train,we believe,almost no chance,We believe that 'Jeff moved to the garden' or 'Greg is yellow' or both.,There is almost no chance that 'Jeff moved to the garden' or 'Greg is yellow' or both.,0,'Jeff moved to the garden' or 'Greg is yellow' or both. It is impossible that Fred put down the apple. It is probably not the case that Greg is a swan. It is highly likely that John went to the bedroom. There is a very good chance that if either 'Greg is a swan' or 'John went to the bedroom' but not both then Julius is a swan. It is likely that if 'Fred put down the apple and Greg is a swan' then Winona is a sheep. There is a very good chance that if either 'John went to the bedroom' or 'Fred put down the apple' but not both then Brian is yellow.,We believe that 'Fred put down the apple and Julius 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.0::factA. 0.25::factB. 0.9::factC. %hop1 0.8::factX:-xor(factB,factC). 0.7::factY:-and(factA,factB). 0.8::factZ:-xor(factC,factA). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.0,0.6639327865573115,train,impossible,we believe,It is impossible that 'Fred put down the apple and Julius is a swan'.,We believe that 'Fred put down the apple and Julius is a swan'.,0,'Fred put down the apple and Julius is a swan'. It is impossible that Greg is a swan. There is almost no chance that Lily is yellow. There is a better than even chance that Bernhard is white. Chances are slight that if either 'Lily is yellow' or 'Bernhard is white' but not both then Julius is a frog. It is impossible that if 'Bernhard is white' or 'Greg is a swan' or both then Mary got the football. There is little chance that if either 'Lily is yellow' or 'Greg is a swan' but not both then John discarded the milk.,Chances are slight that either 'Julius is a frog' 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.0::factA. 0.02::factB. 0.6::factC. %hop1 0.1::factX:-xor(factB,factC). 0.0::factY:-or(factC,factA). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.07800000000000001,0.4176835367073415,train,chances are slight,better than even,Chances are slight that either 'Julius is a frog' or 'Lily is yellow' but not both.,There is a better than even chance that either 'Julius is a frog' or 'Lily is yellow' but not both.,1,Either 'Julius is a frog' or 'Lily is yellow' but not both. Chances are about even that Mary left the football. There is a better than even chance that Lily is a lion. We doubt that John went to the hallway. It is highly unlikely that if 'Lily is a lion and John went to the hallway' then Jessica is a cat. It is improbable that if 'John went to the hallway' or 'Lily is a lion' or both then Daniel took the football. It is improbable that if 'Mary left the football and Lily is a lion' then Greg is a rhino.,It is probably the case that 'Greg is a rhino' or 'Daniel took 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.5::factA. 0.6::factB. 0.2::factC. %hop1 0.05::factX:-and(factB,factC). 0.1::factY:-or(factC,factB). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.09500000000000001,0.21884376875375075,train,improbable,probably,It is improbable that 'Greg is a rhino' or 'Daniel took the football' or both.,It is probably the case that 'Greg is a rhino' or 'Daniel took the football' or both.,0,'Greg is a rhino' or 'Daniel took the football' or both. It is probably not the case that John left the football. It is highly unlikely that Sandra dropped the milk. It is certain that Greg is a rhino. It is almost certain that if either 'Sandra dropped the milk' or 'John left the football' but not both then Lily is a rhino. Chances are slight that if 'Sandra dropped the milk' or 'Greg is a rhino' or both then Brian is yellow. We doubt that if 'John left the football and Greg is a rhino' then Mary went to the kitchen.,It is probably not the case that 'Brian is yellow' 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.25::factA. 0.05::factB. 1.0::factC. %hop1 0.95::factX:-xor(factB,factA). 0.1::factY:-or(factB,factC). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-or(factY,factC). query(conclusion). ",1.0,0.05761152230446089,train,certain,probably not,It is certain that 'Brian is yellow' or 'Greg is a rhino' or both.,It is probably not the case that 'Brian is yellow' or 'Greg is a rhino' or both.,0,'Brian is yellow' or 'Greg is a rhino' or both. There is a very good chance that Mary dropped the milk. There is a very good chance that Daniel got the milk. We doubt that Greg is a swan. It is likely that if 'Greg is a swan and Mary dropped the milk' then Lily is green. It is unlikely that if 'Daniel got the milk and Mary dropped the milk' then Brian is a lion. It is almost certain that if 'Daniel got the milk' or 'Greg is a swan' or both then Julius is green.,It is probably the case that either 'Julius is green' or 'Brian 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.8::factA. 0.8::factB. 0.2::factC. %hop1 0.7::factX:-and(factC,factA). 0.2::factY:-and(factB,factA). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.6828000000000001,0.5519103820764153,train,probably,almost no chance,It is probably the case that either 'Julius is green' or 'Brian is a lion' but not both.,There is almost no chance that either 'Julius is green' or 'Brian is a lion' but not both.,1,Either 'Julius is green' or 'Brian is a lion' but not both. It is improbable that Bernhard is green. It is improbable that Greg is gray. We doubt that Daniel left the milk. It is impossible that if 'Greg is gray' or 'Daniel left the milk' or both then Julius is white. It is almost certain that if 'Daniel left the milk and Greg is gray' then Brian is a frog. It is probable that if either 'Greg is gray' or 'Daniel left the milk' but not both then John went to the office.,There is almost no chance that 'Brian is a frog and Daniel 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.1::factA. 0.1::factB. 0.2::factC. %hop1 0.0::factX:-or(factB,factC). 0.95::factY:-and(factC,factB). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.01900000000000001,0.6177235447089418,train,almost no chance,probable,There is almost no chance that 'Brian is a frog and Daniel left the milk'.,It is probable that 'Brian is a frog and Daniel left the milk'.,1,'Brian is a frog and Daniel left the milk'. It is probably the case that Julius is white. It is certain that Fred dropped the milk. It is highly unlikely that Bernhard is gray. There is a better than even chance that if 'Fred dropped the milk and Julius is white' then Mary went to the garden. There is little chance that if either 'Bernhard is gray' or 'Fred dropped the milk' but not both then Lily is a rhino. There is little chance that if either 'Fred dropped the milk' or 'Bernhard is gray' but not both then Brian is a lion.,There is almost no chance that 'Julius is white' or 'Fred 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. 1.0::factB. 0.05::factC. %hop1 0.6::factX:-and(factB,factA). 0.1::factY:-xor(factC,factB). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.28305661132226445,train,certain,almost no chance,It is certain that 'Julius is white' or 'Fred dropped the milk' or both.,There is almost no chance that 'Julius is white' or 'Fred dropped the milk' or both.,0,'Julius is white' or 'Fred dropped the milk' or both. There is a better than even chance that Mary left the football. It is improbable that Daniel dropped the apple. It is probable that Jason is tired. It is likely that if 'Daniel dropped the apple' or 'Jason is tired' or both then Julius is yellow. It is almost certain that if 'Jason is tired and Mary left the football' then Lily is green. It is certain that if either 'Jason is tired' or 'Daniel dropped the apple' but not both then John picked up the milk.,Chances are about even that 'Lily is green' 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.6::factA. 0.1::factB. 0.7::factC. %hop1 0.7::factX:-or(factB,factC). 0.95::factY:-and(factC,factA). 1.0::factZ:-xor(factC,factB). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.45909999999999995,0.3566713342668534,train,about even,impossible,Chances are about even that 'Lily is green' or 'Daniel dropped the apple' or both.,It is impossible that 'Lily is green' or 'Daniel dropped the apple' or both.,1,'Lily is green' or 'Daniel dropped the apple' or both. There is a better than even chance that Julius is a swan. We believe that Gertrude is a wolf. We doubt that Emily is a mouse. It is likely that if 'Gertrude is a wolf' or 'Julius is a swan' or both then John grabbed the apple. It is unlikely that if 'Emily is a mouse' or 'Gertrude is a wolf' or both then Greg is gray. Chances are slight that if 'Emily is a mouse' or 'Julius is a swan' or both then Bernhard is yellow.,Chances are about even that 'Gertrude is a wolf and John 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.6::factA. 0.75::factB. 0.2::factC. %hop1 0.7::factX:-or(factB,factA). 0.2::factY:-or(factC,factB). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.525,0.41888377675535104,train,about even,almost certain,Chances are about even that 'Gertrude is a wolf and John grabbed the apple'.,It is almost certain that 'Gertrude is a wolf and John grabbed the apple'.,1,'Gertrude is a wolf and John grabbed the apple'. It is likely that Bernhard is white. Chances are about even that John went to the bedroom. There is little chance that Julius is yellow. There is a better than even chance that if 'John went to the bedroom' or 'Julius is yellow' or both then Sandra left the football. It is probably the case that if 'John went to the bedroom' or 'Bernhard is white' or both then Mary moved to the garden. It is almost certain that if either 'Julius is yellow' or 'Bernhard is white' but not both then Greg is green.,It is impossible that either 'Mary moved to the garden' 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.7::factA. 0.5::factB. 0.1::factC. %hop1 0.6::factX:-or(factB,factC). 0.7::factY:-or(factB,factA). 0.95::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.576,0.5281056211242249,train,better than even,impossible,There is a better than even chance that either 'Mary moved to the garden' or 'Julius is yellow' but not both.,It is impossible that either 'Mary moved to the garden' or 'Julius is yellow' but not both.,0,Either 'Mary moved to the garden' or 'Julius is yellow' but not both. It is impossible that Gertrude is a sheep. It is probable that Mary got the milk. It is highly likely that Brian is a rhino. Chances are slight that if either 'Gertrude is a sheep' or 'Mary got the milk' but not both then Bernhard is green. It is almost certain that if either 'Mary got the milk' or 'Brian is a rhino' but not both then Julius is gray. It is certain that if 'Mary got the milk and Brian is a rhino' then John went to the bedroom.,It is improbable that 'Mary 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.0::factA. 0.7::factB. 0.9::factC. %hop1 0.1::factX:-xor(factA,factB). 0.95::factY:-xor(factB,factC). 1.0::factZ:-and(factB,factC). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.63,0.03260652130426085,train,better than even,improbable,There is a better than even chance that 'Mary got the milk and Brian is a rhino'.,It is improbable that 'Mary got the milk and Brian is a rhino'.,0,'Mary got the milk and Brian is a rhino'. It is probably the case that Jason is tired. It is almost certain that John went to the kitchen. We doubt that Brian is a lion. There is a better than even chance that if 'Jason is tired' or 'John went to the kitchen' or both then Julius is a rhino. Chances are about even that if 'Brian is a lion and Jason is tired' then Lily is a frog. It is certain that if either 'Jason is tired' or 'Brian is a lion' but not both then Mary got the apple.,There is a better than even chance that either 'Julius is a rhino' or 'Brian 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.95::factB. 0.2::factC. %hop1 0.6::factX:-or(factA,factB). 0.5::factY:-and(factC,factA). 1.0::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.5546,0.22744548909781956,train,better than even,impossible,There is a better than even chance that either 'Julius is a rhino' or 'Brian is a lion' but not both.,It is impossible that either 'Julius is a rhino' or 'Brian is a lion' but not both.,1,Either 'Julius is a rhino' or 'Brian is a lion' but not both. It is impossible that Julius is green. It is probably not the case that Greg is a lion. It is improbable that Brian is white. There is a better than even chance that if 'Brian is white and Greg is a lion' then Fred went to the garden. Chances are slight that if either 'Julius is green' or 'Greg is a lion' but not both then Mary left the football. It is impossible that if either 'Julius is green' or 'Greg is a lion' but not both then Jessica is a mouse.,It is probably not the case that 'Greg is a lion' 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.0::factA. 0.25::factB. 0.1::factC. %hop1 0.6::factX:-and(factC,factB). 0.1::factY:-xor(factA,factB). 0.0::factZ:-xor(factA,factB). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.25,0.663132626525305,train,probably not,we believe,It is probably not the case that 'Greg is a lion' or 'Julius is green' or both.,We believe that 'Greg is a lion' or 'Julius is green' or both.,1,'Greg is a lion' or 'Julius is green' or both. It is impossible that John took the apple. Chances are about even that Fred moved to the office. There is a very good chance that Lily is green. It is probable that if 'John took the apple and Fred moved to the office' then Sandra dropped the milk. It is likely that if 'Fred moved to the office' or 'Lily is green' or both then Brian is a rhino. It is almost certain that if 'Fred moved to the office and Lily is green' then Julius is a frog.,There is almost no chance that either 'Lily is green' 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.5::factB. 0.8::factC. %hop1 0.7::factX:-and(factA,factB). 0.7::factY:-or(factB,factC). 0.95::factZ:-and(factB,factC). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.8,0.3956791358271654,train,very good chance,almost no chance,There is a very good chance that either 'Lily is green' or 'John took the apple' but not both.,There is almost no chance that either 'Lily is green' or 'John took the apple' but not both.,0,Either 'Lily is green' or 'John took the apple' but not both. We doubt that Mary got the apple. It is likely that Greg is yellow. It is likely that John left the milk. There is a better than even chance that if 'John left the milk and Mary got the apple' then Jessica is a mouse. We doubt that if 'Mary got the apple and John left the milk' then Julius is white. It is unlikely that if 'Greg is yellow' or 'John left the milk' or both then Brian is green.,It is unlikely that 'Jessica is a mouse' 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.2::factA. 0.7::factB. 0.7::factC. %hop1 0.6::factX:-and(factC,factA). 0.2::factY:-and(factA,factC). 0.2::factZ:-or(factB,factC). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.7252,0.41248249649929986,train,we believe,unlikely,We believe that 'Jessica is a mouse' or 'Greg is yellow' or both.,It is unlikely that 'Jessica is a mouse' or 'Greg is yellow' or both.,0,'Jessica is a mouse' or 'Greg is yellow' or both. It is impossible that Julius is yellow. It is impossible that Greg is gray. There is almost no chance that Jeff dropped the apple. It is probably not the case that if 'Julius is yellow' or 'Jeff dropped the apple' or both then Daniel took the milk. It is improbable that if 'Greg is gray and Julius is yellow' then Gertrude is a cat. We doubt that if either 'Jeff dropped the apple' or 'Julius is yellow' but not both then Mary went to the bedroom.,It is highly likely that 'Daniel took the milk' or 'Greg 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.0::factA. 0.0::factB. 0.02::factC. %hop1 0.25::factX:-or(factA,factC). 0.1::factY:-and(factB,factA). 0.2::factZ:-xor(factC,factA). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.005000000000000002,0.34606921384276856,train,impossible,highly likely,It is impossible that 'Daniel took the milk' or 'Greg is gray' or both.,It is highly likely that 'Daniel took the milk' or 'Greg is gray' or both.,0,'Daniel took the milk' or 'Greg is gray' or both. It is highly likely that Daniel got the milk. There is a very good chance that Bill went to the garden. It is impossible that Brian is gray. It is probably not the case that if either 'Bill went to the garden' or 'Daniel got the milk' but not both then Julius is a swan. It is highly likely that if either 'Daniel got the milk' or 'Brian is gray' but not both then Lily is yellow. We believe that if 'Brian is gray' or 'Bill went to the garden' or both then Greg is green.,There is a very good chance that either 'Lily 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.9::factA. 0.8::factB. 0.0::factC. %hop1 0.25::factX:-xor(factB,factA). 0.9::factY:-xor(factA,factC). 0.75::factZ:-or(factC,factB). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.7940000000000002,0.5541108221644329,train,very good chance,improbable,There is a very good chance that either 'Lily is yellow' or 'Julius is a swan' but not both.,It is improbable that either 'Lily is yellow' or 'Julius is a swan' but not both.,1,Either 'Lily is yellow' or 'Julius is a swan' but not both. We doubt that Jessica is a cat. Chances are about even that John dropped the milk. It is probable that Jeff went to the bedroom. It is highly likely that if 'Jessica is a cat and Jeff went to the bedroom' then Daniel got the football. It is improbable that if 'John dropped the milk' or 'Jessica is a cat' or both then Greg is a rhino. Chances are slight that if either 'John dropped the milk' or 'Jeff went to the bedroom' but not both then Bernhard is a swan.,Chances are about even that 'Bernhard is a swan 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.5::factB. 0.7::factC. %hop1 0.9::factX:-and(factA,factC). 0.1::factY:-or(factB,factA). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.0022000000000000006,0.6343268653730746,train,impossible,about even,It is impossible that 'Bernhard is a swan and Greg is a rhino'.,Chances are about even that 'Bernhard is a swan and Greg is a rhino'.,0,'Bernhard is a swan and Greg is a rhino'. It is highly unlikely that Fred moved to the office. It is impossible that Sandra dropped the apple. Chances are about even that Bernhard is green. It is highly likely that if either 'Bernhard is green' or 'Sandra dropped the apple' but not both then Lily is a lion. It is highly unlikely that if either 'Sandra dropped the apple' or 'Bernhard is green' but not both then Mary went to the garden. It is probably the case that if 'Fred moved to the office and Bernhard is green' then John left the football.,It is highly unlikely that 'John left the football' 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.05::factA. 0.0::factB. 0.5::factC. %hop1 0.9::factX:-xor(factC,factB). 0.05::factY:-xor(factB,factC). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.05000000000000001,0.4968993798759752,train,highly unlikely,probably,It is highly unlikely that 'John left the football' or 'Fred moved to the office' or both.,It is probably the case that 'John left the football' or 'Fred moved to the office' or both.,1,'John left the football' or 'Fred moved to the office' or both. Chances are about even that Jason is thirsty. It is highly unlikely that Mary moved to the garden. It is probably the case that Daniel left the apple. It is highly likely that if either 'Mary moved to the garden' or 'Jason is thirsty' but not both then Lily is yellow. It is probable that if either 'Jason is thirsty' or 'Daniel left the apple' but not both then Bernhard is gray. It is highly likely that if 'Jason is thirsty and Mary moved to the garden' then Emily is a mouse.,There is a very good chance that 'Bernhard is gray' 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.5::factA. 0.05::factB. 0.7::factC. %hop1 0.9::factX:-xor(factB,factA). 0.7::factY:-xor(factA,factC). 0.9::factZ:-and(factA,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.8049999999999999,0.5129025805161033,train,very good chance,improbable,There is a very good chance that 'Bernhard is gray' or 'Daniel left the apple' or both.,It is improbable that 'Bernhard is gray' or 'Daniel left the apple' or both.,1,'Bernhard is gray' or 'Daniel left the apple' or both. There is little chance that Lily is a lion. It is probably not the case that Brian is white. It is probable that Julius is a frog. It is improbable that if either 'Brian is white' or 'Lily is a lion' but not both then Mary went to the hallway. It is certain that if 'Brian is white' or 'Lily is a lion' or both then Sandra grabbed the milk. It is highly likely that if either 'Julius is a frog' or 'Brian is white' but not both then John left the football.,It is certain that either 'Lily is a lion' or 'Sandra 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.25::factB. 0.7::factC. %hop1 0.1::factX:-xor(factB,factA). 1.0::factY:-or(factB,factA). 0.9::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.225,0.5461092218443688,train,we doubt,certain,We doubt that either 'Lily is a lion' or 'Sandra grabbed the milk' but not both.,It is certain that either 'Lily is a lion' or 'Sandra grabbed the milk' but not both.,0,Either 'Lily is a lion' or 'Sandra grabbed the milk' but not both. It is improbable that Lily is green. It is certain that Brian is a rhino. It is certain that Julius is yellow. It is impossible that if 'Julius is yellow' or 'Lily is green' or both then Mary went to the hallway. There is almost no chance that if either 'Julius is yellow' or 'Lily is green' but not both then Bernhard is a frog. It is probably the case that if 'Lily is green and Julius is yellow' then Greg is a swan.,It is impossible that 'Bernhard is a frog and Greg 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. 1.0::factB. 1.0::factC. %hop1 0.0::factX:-or(factC,factA). 0.02::factY:-xor(factC,factA). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.0,0.27925585117023405,train,impossible,highly likely,It is impossible that 'Bernhard is a frog and Greg is a swan'.,It is highly likely that 'Bernhard is a frog and Greg is a swan'.,1,'Bernhard is a frog and Greg is a swan'. There is almost no chance that Julius is a frog. It is almost certain that Jeff moved to the garden. It is certain that Winona is a sheep. There is a better than even chance that if 'Winona is a sheep and Jeff moved to the garden' then Lily is white. It is probable that if 'Winona is a sheep and Jeff moved to the garden' then Antoine is hungry. It is likely that if either 'Jeff moved to the garden' or 'Julius is a frog' but not both then Fred dropped the milk.,Chances are about even that 'Lily is white and Fred 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.02::factA. 0.95::factB. 1.0::factC. %hop1 0.6::factX:-and(factC,factB). 0.7::factY:-and(factC,factB). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.3910199999999999,0.47809561912382476,train,about even,highly unlikely,Chances are about even that 'Lily is white and Fred dropped the milk'.,It is highly unlikely that 'Lily is white and Fred dropped the milk'.,1,'Lily is white and Fred dropped the milk'. Chances are slight that Emily is a wolf. It is impossible that Winona is a mouse. It is unlikely that Lily is a frog. Chances are about even that if either 'Winona is a mouse' or 'Lily is a frog' but not both then Bernhard is gray. It is probably not the case that if 'Lily is a frog' or 'Winona is a mouse' or both then Daniel got the football. It is probably not the case that if 'Winona is a mouse' or 'Lily is a frog' or both then John picked up the milk.,It is probably not the case that either 'Emily is a wolf' 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.1::factA. 0.0::factB. 0.2::factC. %hop1 0.5::factX:-xor(factB,factC). 0.25::factY:-or(factC,factB). 0.25::factZ:-or(factB,factC). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.26,0.3760752150430086,train,probably not,probably,It is probably not the case that either 'Emily is a wolf' or 'Lily is a frog' but not both.,It is probably the case that either 'Emily is a wolf' or 'Lily is a frog' but not both.,1,Either 'Emily is a wolf' or 'Lily is a frog' but not both. We believe that Mary went to the office. There is a better than even chance that Brian is a rhino. There is little chance that Julius is yellow. It is highly unlikely that if 'Julius is yellow' or 'Mary went to the office' or both then Lily is a lion. We believe that if either 'Brian is a rhino' or 'Julius is yellow' but not both then John grabbed the apple. It is highly unlikely that if either 'Brian is a rhino' or 'Julius is yellow' but not both then Bernhard is green.,There is a better than even chance that either 'Bernhard is green' 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.6::factB. 0.1::factC. %hop1 0.05::factX:-or(factC,factA). 0.75::factY:-xor(factB,factC). 0.05::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.575,0.6813362672534506,train,better than even,improbable,There is a better than even chance that either 'Bernhard is green' or 'Brian is a rhino' but not both.,It is improbable that either 'Bernhard is green' or 'Brian is a rhino' but not both.,1,Either 'Bernhard is green' or 'Brian is a rhino' but not both. It is likely that Lily is a swan. There is a very good chance that Bernhard is a frog. It is highly likely that Fred is in the cinema. It is highly unlikely that if either 'Lily is a swan' or 'Fred is in the cinema' but not both then Brian is white. We doubt that if 'Bernhard is a frog' or 'Fred is in the cinema' or both then Julius is a lion. It is improbable that if 'Lily is a swan' or 'Fred is in the cinema' or both then John moved to the garden.,It is almost certain that 'Lily is a swan' or 'Fred is in the cinema' 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.8::factB. 0.9::factC. %hop1 0.05::factX:-xor(factA,factC). 0.2::factY:-or(factB,factC). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.97,0.70374074814963,train,almost certain,about even,It is almost certain that 'Lily is a swan' or 'Fred is in the cinema' or both.,Chances are about even that 'Lily is a swan' or 'Fred is in the cinema' or both.,1,'Lily is a swan' or 'Fred is in the cinema' or both. We believe that Greg is a swan. It is impossible that Emily is a mouse. It is probably the case that Mary dropped the milk. It is likely that if either 'Mary dropped the milk' or 'Greg is a swan' but not both then Fred left the football. Chances are about even that if 'Mary dropped the milk and Greg is a swan' then Bernhard is a swan. There is little chance that if 'Mary dropped the milk' or 'Emily is a mouse' or both then John moved to the garden.,It is highly unlikely that 'John moved to the garden and Mary 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.75::factA. 0.0::factB. 0.7::factC. %hop1 0.7::factX:-xor(factC,factA). 0.5::factY:-and(factC,factA). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.07,0.4766953390678136,train,highly unlikely,we believe,It is highly unlikely that 'John moved to the garden and Mary dropped the milk'.,We believe that 'John moved to the garden and Mary dropped the milk'.,1,'John moved to the garden and Mary dropped the milk'. There is little chance that Daniel left the apple. Chances are slight that John grabbed the milk. It is improbable that Bernhard is a swan. It is certain that if either 'John grabbed the milk' or 'Daniel left the apple' but not both then Brian is a lion. It is unlikely that if either 'Bernhard is a swan' or 'John grabbed the milk' but not both then Julius is a rhino. There is a very good chance that if 'John grabbed the milk and Bernhard is a swan' then Lily is a frog.,It is highly likely that 'Lily is a frog' 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.1::factA. 0.1::factB. 0.1::factC. %hop1 1.0::factX:-xor(factB,factA). 0.2::factY:-xor(factC,factB). 0.8::factZ:-and(factB,factC). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.10000000000000002,0.21584316863372674,train,little chance,highly likely,There is little chance that 'Lily is a frog' or 'Bernhard is a swan' or both.,It is highly likely that 'Lily is a frog' or 'Bernhard is a swan' or both.,0,'Lily is a frog' or 'Bernhard is a swan' or both. It is highly unlikely that Bernhard is yellow. There is a better than even chance that Jeff moved to the garden. It is probably the case that Greg is white. There is a better than even chance that if 'Jeff moved to the garden' or 'Greg is white' or both then Sandra left the milk. Chances are slight that if 'Bernhard is yellow and Jeff moved to the garden' then Gertrude is a sheep. There is a very good chance that if either 'Greg is white' or 'Jeff moved to the garden' but not both then Mary went to the hallway.,It is likely that 'Sandra left the milk and Jeff 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.6::factB. 0.7::factC. %hop1 0.6::factX:-or(factB,factC). 0.1::factY:-and(factA,factB). 0.8::factZ:-xor(factC,factB). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.36,0.374874974994999,train,probably not,likely,It is probably not the case that 'Sandra left the milk and Jeff moved to the garden'.,It is likely that 'Sandra left the milk and Jeff moved to the garden'.,0,'Sandra left the milk and Jeff moved to the garden'. It is probably not the case that Lily is green. It is likely that Bernhard is gray. It is highly unlikely that Julius is a rhino. There is a better than even chance that if either 'Julius is a rhino' or 'Lily is green' but not both then Mary put down the apple. It is unlikely that if 'Bernhard is gray' or 'Julius is a rhino' or both then Emily is a sheep. It is highly likely that if 'Lily is green and Bernhard is gray' then John discarded the milk.,It is unlikely that 'Lily is green and John 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.25::factA. 0.7::factB. 0.05::factC. %hop1 0.6::factX:-xor(factC,factA). 0.2::factY:-or(factB,factC). 0.9::factZ:-and(factA,factB). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.1575,0.370874174834967,train,unlikely,probable,It is unlikely that 'Lily is green and John discarded the milk'.,It is probable that 'Lily is green and John discarded the milk'.,1,'Lily is green and John discarded the milk'. Chances are about even that Julius is green. It is unlikely that Sandra left the football. There is little chance that Emily is a cat. It is probable that if 'Emily is a cat' or 'Julius is green' or both then Greg is a lion. There is a better than even chance that if either 'Julius is green' or 'Sandra left the football' but not both then Bernhard is a swan. It is impossible that if 'Sandra left the football' or 'Julius is green' or both then Mary went to the garden.,It is probably not the case that 'Emily is a cat' or 'Sandra 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.5::factA. 0.2::factB. 0.1::factC. %hop1 0.7::factX:-or(factC,factA). 0.6::factY:-xor(factA,factB). 0.0::factZ:-or(factB,factA). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.28,0.2546509301860372,train,probably not,probable,It is probably not the case that 'Emily is a cat' or 'Sandra left the football' or both.,It is probable that 'Emily is a cat' or 'Sandra left the football' or both.,1,'Emily is a cat' or 'Sandra left the football' or both. It is likely that Emily is a mouse. It is improbable that Sandra got the milk. There is a better than even chance that John went to the hallway. We believe that if 'John went to the hallway' or 'Sandra got the milk' or both then Mary moved to the garden. There is a better than even chance that if either 'Emily is a mouse' or 'Sandra got the milk' but not both then Brian is yellow. It is unlikely that if 'John went to the hallway and Emily is a mouse' then Julius is a swan.,There is almost no chance that 'John went to the hallway' 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.7::factA. 0.1::factB. 0.6::factC. %hop1 0.75::factX:-or(factC,factB). 0.6::factY:-xor(factA,factB). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.7584,0.47709541908381675,train,we believe,almost no chance,We believe that 'John went to the hallway' or 'Brian is yellow' or both.,There is almost no chance that 'John went to the hallway' or 'Brian is yellow' or both.,0,'John went to the hallway' or 'Brian is yellow' or both. It is highly likely that Lily is green. It is certain that Brian is yellow. It is probably not the case that Emily is a sheep. We doubt that if either 'Brian is yellow' or 'Emily is a sheep' but not both then Jeff moved to the garden. We believe that if 'Emily is a sheep and Brian is yellow' then Jessica is a sheep. It is unlikely that if 'Lily is green and Brian is yellow' then Julius is a swan.,There is little chance that either 'Brian 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.9::factA. 1.0::factB. 0.25::factC. %hop1 0.2::factX:-xor(factB,factC). 0.75::factY:-and(factC,factB). 0.2::factZ:-and(factA,factB). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.82,0.6541308261652331,train,very good chance,little chance,There is a very good chance that either 'Brian is yellow' or 'Julius is a swan' but not both.,There is little chance that either 'Brian is yellow' or 'Julius is a swan' but not both.,0,Either 'Brian is yellow' or 'Julius is a swan' but not both. We doubt that Jessica is a cat. It is unlikely that Bill went to the bedroom. It is likely that Mary dropped the apple. There is little chance that if 'Jessica is a cat and Bill went to the bedroom' then Antoine is bored. There is little chance that if 'Mary dropped the apple' or 'Bill went to the bedroom' or both then John picked up the apple. It is probably the case that if 'Bill went to the bedroom and Jessica is a cat' then Bernhard is yellow.,It is likely that either 'Jessica is a cat' or 'Antoine is bored' 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(factA,factB). 0.1::factY:-or(factC,factB). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.19600000000000006,0.1866373274654931,train,unlikely,likely,It is unlikely that either 'Jessica is a cat' or 'Antoine is bored' but not both.,It is likely that either 'Jessica is a cat' or 'Antoine is bored' but not both.,0,Either 'Jessica is a cat' or 'Antoine is bored' but not both. It is highly likely that Greg is a swan. It is improbable that Gertrude is a mouse. It is highly likely that Brian is a rhino. There is almost no chance that if 'Greg is a swan and Gertrude is a mouse' then Lily is yellow. Chances are slight that if 'Greg is a swan and Gertrude is a mouse' then Bernhard is gray. Chances are slight that if either 'Greg is a swan' or 'Gertrude is a mouse' but not both then Mary dropped the milk.,We doubt that either 'Brian is a rhino' 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.1::factB. 0.9::factC. %hop1 0.02::factX:-and(factA,factB). 0.1::factY:-and(factA,factB). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.17999999999999997,0.0010002000400080016,train,we doubt,we believe,We doubt that either 'Brian is a rhino' or 'Greg is a swan' but not both.,We believe that either 'Brian is a rhino' or 'Greg is a swan' but not both.,1,Either 'Brian is a rhino' or 'Greg is a swan' but not both. It is probably the case that Mary got the football. Chances are slight that Greg is a swan. Chances are slight that Antoine is hungry. There is little chance that if either 'Antoine is hungry' or 'Mary got the football' but not both then Bernhard is a frog. Chances are slight that if either 'Antoine is hungry' or 'Mary got the football' but not both then Winona is a wolf. There is a better than even chance that if 'Mary got the football and Antoine is hungry' then John went to the kitchen.,It is almost certain that 'Winona is a wolf' or 'John 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.7::factA. 0.1::factB. 0.1::factC. %hop1 0.1::factX:-xor(factC,factA). 0.1::factY:-xor(factC,factA). 0.6::factZ:-and(factA,factC). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.108,0.4264852970594119,train,chances are slight,almost certain,Chances are slight that 'Winona is a wolf' or 'John went to the kitchen' or both.,It is almost certain that 'Winona is a wolf' or 'John went to the kitchen' or both.,0,'Winona is a wolf' or 'John went to the kitchen' or both. It is probably the case that Jeff moved to the office. There is little chance that John left the milk. It is impossible that Bernhard is green. It is certain that if 'Bernhard is green and Jeff moved to the office' then Julius is a lion. We doubt that if 'Bernhard is green' or 'John left the milk' or both then Lily is green. We doubt that if 'Bernhard is green and Jeff moved to the office' then Sumit is hungry.,We believe that 'John left the milk' 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.1::factB. 0.0::factC. %hop1 1.0::factX:-and(factC,factA). 0.2::factY:-or(factC,factB). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.73,0.11462292458491698,train,we believe,almost no chance,We believe that 'John left the milk' or 'Jeff moved to the office' or both.,There is almost no chance that 'John left the milk' or 'Jeff moved to the office' or both.,1,'John left the milk' or 'Jeff moved to the office' or both. It is highly likely that Brian is white. Chances are slight that Greg is a lion. There is a better than even chance that Bernhard is a swan. It is highly unlikely that if either 'Greg is a lion' or 'Bernhard is a swan' but not both then Sandra took the apple. It is unlikely that if 'Bernhard is a swan and Greg is a lion' then John went to the office. There is a very good chance that if 'Greg is a lion and Brian is white' then Lily is a frog.,It is probably the case that 'John went to the office 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.9::factA. 0.1::factB. 0.6::factC. %hop1 0.05::factX:-xor(factB,factC). 0.2::factY:-and(factC,factB). 0.8::factZ:-and(factB,factA). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.011999999999999999,0.15903180636127226,train,almost no chance,probably,There is almost no chance that 'John went to the office and Bernhard is a swan'.,It is probably the case that 'John went to the office and Bernhard is a swan'.,0,'John went to the office and Bernhard is a swan'. It is almost certain that Bernhard is green. It is highly unlikely that Mary dropped the milk. It is unlikely that John went to the hallway. It is almost certain that if 'Bernhard is green' or 'Mary dropped the milk' or both then Julius is a rhino. There is a very good chance that if 'Bernhard is green' or 'Mary dropped the milk' or both then Greg is a frog. We doubt that if either 'Bernhard is green' or 'John went to the hallway' but not both then Lily is yellow.,There is little chance that 'Greg is a frog' 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.95::factA. 0.05::factB. 0.2::factC. %hop1 0.95::factX:-or(factA,factB). 0.8::factY:-or(factA,factB). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.9429749999999999,0.6449289857971594,train,almost certain,little chance,It is almost certain that 'Greg is a frog' or 'Julius is a rhino' or both.,There is little chance that 'Greg is a frog' or 'Julius is a rhino' or both.,0,'Greg is a frog' or 'Julius is a rhino' or both. It is highly likely that Bernhard is gray. It is highly likely that Sandra dropped the milk. We doubt that Julius is white. There is little chance that if 'Sandra dropped the milk' or 'Julius is white' or both then Bill moved to the office. There is little chance that if 'Julius is white' or 'Bernhard is gray' or both then Brian is a lion. There is a better than even chance that if 'Bernhard is gray and Julius is white' then Mary went to the garden.,There is little chance that 'Sandra dropped the milk 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.9::factA. 0.9::factB. 0.2::factC. %hop1 0.1::factX:-or(factB,factC). 0.1::factY:-or(factC,factA). 0.6::factZ:-and(factA,factC). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.08280000000000003,0.25545109021804363,train,little chance,better than even,There is little chance that 'Sandra dropped the milk and Brian is a lion'.,There is a better than even chance that 'Sandra dropped the milk and Brian is a lion'.,1,'Sandra dropped the milk and Brian is a lion'. It is probably not the case that Mary discarded the milk. Chances are about even that Gertrude is a cat. It is certain that Julius is a lion. It is impossible that if either 'Mary discarded the milk' or 'Julius is a lion' but not both then Lily is a rhino. It is improbable that if 'Gertrude is a cat' or 'Mary discarded the milk' or both then Bernhard is white. Chances are slight that if 'Julius is a lion' or 'Mary discarded the milk' or both then John moved to the office.,It is certain that either 'Bernhard is white' 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.25::factA. 0.5::factB. 1.0::factC. %hop1 0.0::factX:-xor(factA,factC). 0.1::factY:-or(factB,factA). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.2625,0.6459291858371674,train,probably not,certain,It is probably not the case that either 'Bernhard is white' or 'Mary discarded the milk' but not both.,It is certain that either 'Bernhard is white' or 'Mary discarded the milk' but not both.,0,Either 'Bernhard is white' or 'Mary discarded the milk' but not both. It is highly unlikely that Sandra put down the milk. It is probably the case that Bernhard is a frog. Chances are about even that Brian is yellow. It is probable that if either 'Bernhard is a frog' or 'Brian is yellow' but not both then Lily is white. It is probably not the case that if either 'Sandra put down the milk' or 'Bernhard is a frog' but not both then Greg is a rhino. It is improbable that if 'Brian is yellow and Sandra put down the milk' then Mary went to the office.,It is almost certain that 'Brian is yellow 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.05::factA. 0.7::factB. 0.5::factC. %hop1 0.7::factX:-xor(factB,factC). 0.25::factY:-xor(factA,factB). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.085,0.7923584716943388,train,little chance,almost certain,There is little chance that 'Brian is yellow and Greg is a rhino'.,It is almost certain that 'Brian is yellow and Greg is a rhino'.,0,'Brian is yellow and Greg is a rhino'. Chances are slight that Sandra left the milk. It is highly likely that Julius is gray. It is highly unlikely that John picked up the apple. It is likely that if 'John picked up the apple and Julius is gray' then Brian is yellow. It is impossible that if either 'Julius is gray' or 'Sandra left the milk' but not both then Mary went to the hallway. There is little chance that if 'Julius is gray' or 'Sandra left the milk' or both then Bernhard is a swan.,There is almost no chance that either 'John picked up the apple' 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.1::factA. 0.9::factB. 0.05::factC. %hop1 0.7::factX:-and(factC,factB). 0.0::factY:-xor(factB,factA). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.018500000000000003,0.5601120224044809,train,almost no chance,almost certain,There is almost no chance that either 'John picked up the apple' or 'Brian is yellow' but not both.,It is almost certain that either 'John picked up the apple' or 'Brian is yellow' but not both.,1,Either 'John picked up the apple' or 'Brian is yellow' but not both. There is a better than even chance that Brian is a rhino. It is highly likely that Julius is a swan. It is probably not the case that John discarded the apple. It is unlikely that if either 'Julius is a swan' or 'Brian is a rhino' but not both then Greg is yellow. It is impossible that if 'John discarded the apple and Brian is a rhino' then Jeff went to the bedroom. We believe that if 'Julius is a swan' or 'Brian is a rhino' or both then Bernhard is a frog.,It is 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.6::factA. 0.9::factB. 0.25::factC. %hop1 0.2::factX:-xor(factB,factA). 0.0::factY:-and(factC,factA). 0.75::factZ:-or(factB,factA). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.011999999999999999,0.05541108221644329,train,almost no chance,certain,There is almost no chance that 'Brian is a rhino and Greg is yellow'.,It is certain that 'Brian is a rhino and Greg is yellow'.,0,'Brian is a rhino and Greg is yellow'. It is unlikely that Julius is a frog. Chances are slight that Brian is gray. Chances are slight that John got the milk. There is little chance that if either 'Brian is gray' or 'Julius is a frog' but not both then Lily is a lion. It is likely that if 'Brian is gray and Julius is a frog' then Jeff moved to the office. It is probable that if 'Brian is gray' or 'Julius is a frog' or both then Greg is a swan.,There is a better than even chance that 'Brian is gray' 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.2::factA. 0.1::factB. 0.1::factC. %hop1 0.1::factX:-xor(factB,factA). 0.7::factY:-and(factB,factA). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.10000000000000002,0.6489297859571914,train,little chance,better than even,There is little chance that 'Brian is gray' or 'Jeff moved to the office' or both.,There is a better than even chance that 'Brian is gray' or 'Jeff moved to the office' or both.,0,'Brian is gray' or 'Jeff moved to the office' or both. It is improbable that Daniel grabbed the milk. There is a better than even chance that Greg is a frog. It is certain that Mary went to the hallway. It is probably not the case that if 'Daniel grabbed the milk and Mary went to the hallway' then Julius is a rhino. It is improbable that if either 'Greg is a frog' or 'Mary went to the hallway' but not both then Lily is a swan. It is highly unlikely that if 'Daniel grabbed the milk and Greg is a frog' then John moved to the garden.,It is improbable that 'Daniel grabbed the milk' 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.6::factB. 1.0::factC. %hop1 0.25::factX:-and(factA,factC). 0.1::factY:-xor(factB,factC). 0.05::factZ:-and(factA,factB). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.136,0.5637127425485097,train,improbable,likely,It is improbable that 'Daniel grabbed the milk' or 'Lily is a swan' or both.,It is likely that 'Daniel grabbed the milk' or 'Lily is a swan' or both.,1,'Daniel grabbed the milk' or 'Lily is a swan' or both. It is certain that Mary went to the bedroom. It is probably the case that Jessica is a sheep. It is highly unlikely that Bernhard is a rhino. It is likely that if either 'Bernhard is a rhino' or 'Mary went to the bedroom' but not both then Brian is a frog. It is probably not the case that if 'Bernhard is a rhino and Mary went to the bedroom' then Julius is a swan. Chances are slight that if 'Jessica is a sheep' or 'Bernhard is a rhino' or both then John took the apple.,It is likely that either 'Brian 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 1.0::factA. 0.7::factB. 0.05::factC. %hop1 0.7::factX:-xor(factC,factA). 0.25::factY:-and(factC,factA). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.6775,0.47429485897179435,train,likely,little chance,It is likely that either 'Brian is a frog' or 'Julius is a swan' but not both.,There is little chance that either 'Brian is a frog' or 'Julius is a swan' but not both.,1,Either 'Brian is a frog' or 'Julius is a swan' but not both. It is probably the case that Gertrude is a sheep. There is a very good chance that Greg is a swan. It is certain that John went to the office. Chances are about even that if 'Greg is a swan' or 'Gertrude is a sheep' or both then Bernhard is a swan. There is a better than even chance that if 'Greg is a swan' or 'Gertrude is a sheep' or both then Mary is in the bathroom. It is likely that if either 'Greg is a swan' or 'John went to the office' but not both then Sumit is tired.,Chances are about even that either 'Bernhard is a swan' or 'Mary is in the bathroom' 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. 1.0::factC. %hop1 0.5::factX:-or(factB,factA). 0.6::factY:-or(factB,factA). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.4700000000000001,0.5329065813162632,train,about even,almost no chance,Chances are about even that either 'Bernhard is a swan' or 'Mary is in the bathroom' but not both.,There is almost no chance that either 'Bernhard is a swan' or 'Mary is in the bathroom' but not both.,1,Either 'Bernhard is a swan' or 'Mary is in the bathroom' but not both. Chances are slight that Brian is a swan. It is almost certain that Emily is a wolf. It is probably the case that John moved to the garden. It is almost certain that if either 'John moved to the garden' or 'Brian is a swan' but not both then Greg is green. It is improbable that if either 'Brian is a swan' or 'John moved to the garden' but not both then Mary left the football. There is a better than even chance that if 'Emily is a wolf and John moved to the garden' then Sandra got the football.,It is highly likely that either 'Emily is a wolf' 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.1::factA. 0.95::factB. 0.7::factC. %hop1 0.95::factX:-xor(factC,factA). 0.1::factY:-xor(factA,factC). 0.6::factZ:-and(factB,factC). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.8906,0.07301460292058412,train,highly likely,probably not,It is highly likely that either 'Emily is a wolf' or 'Mary left the football' but not both.,It is probably not the case that either 'Emily is a wolf' or 'Mary left the football' but not both.,1,Either 'Emily is a wolf' or 'Mary left the football' but not both. It is impossible that Lily is white. It is highly likely that Julius is a rhino. It is probably not the case that John picked up the apple. There is almost no chance that if either 'John picked up the apple' or 'Julius is a rhino' but not both then Fred left the football. It is unlikely that if either 'Julius is a rhino' or 'John picked up the apple' but not both then Gertrude is a sheep. It is probably not the case that if 'Julius is a rhino and John picked up the apple' then Mary went to the bedroom.,It is almost certain that either 'John picked up the apple' 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.0::factA. 0.9::factB. 0.25::factC. %hop1 0.02::factX:-xor(factC,factB). 0.2::factY:-xor(factB,factC). 0.25::factZ:-and(factB,factC). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.37999999999999995,0.22804560912182437,train,about even,almost certain,Chances are about even that either 'John picked up the apple' or 'Gertrude is a sheep' but not both.,It is almost certain that either 'John picked up the apple' or 'Gertrude is a sheep' but not both.,0,Either 'John picked up the apple' or 'Gertrude is a sheep' but not both. We believe that Lily is a lion. There is a better than even chance that Julius is gray. There is little chance that Sandra took the apple. It is probably the case that if either 'Sandra took the apple' or 'Julius is gray' but not both then Winona is a wolf. It is highly unlikely that if 'Lily is a lion and Julius is gray' then Emily is a sheep. It is improbable that if either 'Sandra took the apple' or 'Lily is a lion' but not both then Bernhard is gray.,We believe that 'Bernhard is gray' 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.75::factA. 0.6::factB. 0.1::factC. %hop1 0.7::factX:-xor(factC,factB). 0.05::factY:-and(factA,factB). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.7525000000000001,0.2872574514902981,train,we believe,chances are slight,We believe that 'Bernhard is gray' or 'Lily is a lion' or both.,Chances are slight that 'Bernhard is gray' or 'Lily is a lion' or both.,1,'Bernhard is gray' or 'Lily is a lion' or both. It is probably not the case that Mary went to the hallway. It is highly likely that Brian is yellow. It is unlikely that Julius is a swan. There is a very good chance that if 'Brian is yellow and Mary went to the hallway' then Greg is a lion. It is unlikely that if 'Julius is a swan and Mary went to the hallway' then Daniel left the milk. It is highly unlikely that if either 'Julius is a swan' or 'Mary went to the hallway' but not both then Bernhard is gray.,It is probably the case that 'Julius is a swan and Daniel 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.25::factA. 0.9::factB. 0.2::factC. %hop1 0.8::factX:-and(factB,factA). 0.2::factY:-and(factC,factA). 0.05::factZ:-xor(factC,factA). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.010000000000000004,0.7259451890378076,train,almost no chance,probably,There is almost no chance that 'Julius is a swan and Daniel left the milk'.,It is probably the case that 'Julius is a swan and Daniel left the milk'.,0,'Julius is a swan and Daniel left the milk'. There is almost no chance that Jessica is a mouse. It is likely that Julius is a rhino. There is a better than even chance that Jeff went to the bedroom. It is highly likely that if 'Julius is a rhino' or 'Jessica is a mouse' or both then Daniel left the apple. It is probably not the case that if either 'Jeff went to the bedroom' or 'Jessica is a mouse' but not both then Winona is a sheep. There is a very good chance that if either 'Jessica is a mouse' or 'Julius is a rhino' but not both then Greg is a frog.,There is almost no chance that either 'Jessica is a mouse' or 'Daniel 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.02::factA. 0.7::factB. 0.6::factC. %hop1 0.9::factX:-or(factB,factA). 0.25::factY:-xor(factC,factA). 0.8::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.6194,0.3660732146429286,train,better than even,almost no chance,There is a better than even chance that either 'Jessica is a mouse' or 'Daniel left the apple' but not both.,There is almost no chance that either 'Jessica is a mouse' or 'Daniel left the apple' but not both.,0,Either 'Jessica is a mouse' or 'Daniel left the apple' but not both. We believe that Julius is a swan. It is probably not the case that John went to the garden. We believe that Greg is a rhino. We doubt that if either 'John went to the garden' or 'Julius is a swan' but not both then Winona is a wolf. It is almost certain that if either 'John went to the garden' or 'Greg is a rhino' but not both then Mary left the milk. It is highly unlikely that if 'John went to the garden' or 'Greg is a rhino' or both then Gertrude is a sheep.,It is certain that 'Gertrude is a sheep and Mary 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.75::factA. 0.25::factB. 0.75::factC. %hop1 0.2::factX:-xor(factB,factA). 0.95::factY:-xor(factB,factC). 0.05::factZ:-or(factB,factC). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.0296875,0.3596719343868774,train,almost no chance,certain,There is almost no chance that 'Gertrude is a sheep and Mary left the milk'.,It is certain that 'Gertrude is a sheep and Mary left the milk'.,0,'Gertrude is a sheep and Mary left the milk'. There is a better than even chance that Emily is a wolf. We believe that John took the milk. Chances are slight that Greg is green. It is highly unlikely that if either 'Emily is a wolf' or 'Greg is green' but not both then Julius is white. It is highly unlikely that if 'John took the milk and Emily is a wolf' then Sandra left the milk. It is certain that if either 'Greg is green' or 'Emily is a wolf' but not both then Mary got the apple.,There is almost no chance that 'Mary got the apple and John 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.6::factA. 0.75::factB. 0.1::factC. %hop1 0.05::factX:-xor(factA,factC). 0.05::factY:-and(factB,factA). 1.0::factZ:-xor(factC,factA). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.43499999999999994,0.39047809561912383,train,about even,almost no chance,Chances are about even that 'Mary got the apple and John took the milk'.,There is almost no chance that 'Mary got the apple and John took the milk'.,0,'Mary got the apple and John took the milk'. It is probably the case that John left the football. There is little chance that Brian is yellow. It is highly likely that Mary went to the kitchen. There is a better than even chance that if 'Brian is yellow and John left the football' then Antoine is thirsty. It is probably not the case that if 'Mary went to the kitchen' or 'Brian is yellow' or both then Greg is a lion. It is probable that if 'Mary went to the kitchen' or 'John left the football' or both then Daniel dropped the apple.,It is highly likely that 'Mary went to the kitchen' 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.7::factA. 0.1::factB. 0.9::factC. %hop1 0.6::factX:-and(factB,factA). 0.25::factY:-or(factC,factB). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.91,0.08181636327265453,train,highly likely,highly unlikely,It is highly likely that 'Mary went to the kitchen' or 'Brian is yellow' or both.,It is highly unlikely that 'Mary went to the kitchen' or 'Brian is yellow' or both.,1,'Mary went to the kitchen' or 'Brian is yellow' or both. Chances are about even that John discarded the apple. Chances are about even that Mary got the football. It is probably the case that Fred went to the garden. It is likely that if either 'John discarded the apple' or 'Mary got the football' but not both then Jason is tired. It is highly unlikely that if either 'Fred went to the garden' or 'Mary got the football' but not both then Bernhard is gray. It is improbable that if either 'Mary got the football' or 'Fred went to the garden' but not both then Brian is white.,It is probably the case that either 'Jason is tired' 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.5::factA. 0.5::factB. 0.7::factC. %hop1 0.7::factX:-xor(factA,factB). 0.05::factY:-xor(factC,factB). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.365,0.5297059411882377,train,probably not,probably,It is probably not the case that either 'Jason is tired' or 'Brian is white' but not both.,It is probably the case that either 'Jason is tired' or 'Brian is white' but not both.,0,Either 'Jason is tired' or 'Brian is white' but not both. It is probably not the case that Lily is a frog. It is probably not the case that Fred dropped the milk. There is little chance that Bernhard is white. It is almost certain that if 'Lily is a frog' or 'Bernhard is white' or both then Greg is a frog. It is unlikely that if either 'Bernhard is white' or 'Lily is a frog' but not both then Mary is in the school. Chances are slight that if either 'Bernhard is white' or 'Fred dropped the milk' but not both then Jeff moved to the garden.,Chances are about even that 'Lily is a frog' or 'Fred 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.25::factB. 0.1::factC. %hop1 0.95::factX:-or(factA,factC). 0.2::factY:-xor(factC,factA). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.4375,0.7071414282856572,train,about even,almost certain,Chances are about even that 'Lily is a frog' or 'Fred dropped the milk' or both.,It is almost certain that 'Lily is a frog' or 'Fred dropped the milk' or both.,1,'Lily is a frog' or 'Fred dropped the milk' or both. It is almost certain that Julius is a swan. It is highly unlikely that Jason is tired. It is impossible that Sandra dropped the milk. It is probably not the case that if either 'Julius is a swan' or 'Sandra dropped the milk' but not both then Winona is a sheep. Chances are slight that if 'Julius is a swan' or 'Sandra dropped the milk' or both then Jeff left the football. It is probably not the case that if 'Julius is a swan and Sandra dropped the milk' then Bill went to the kitchen.,Chances are slight that 'Jeff left the football' 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.95::factA. 0.05::factB. 0.0::factC. %hop1 0.25::factX:-xor(factA,factC). 0.1::factY:-or(factA,factC). 0.25::factZ:-and(factA,factC). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.09500000000000001,0.6877375475095019,train,chances are slight,very good chance,Chances are slight that 'Jeff left the football' or 'Sandra dropped the milk' or both.,There is a very good chance that 'Jeff left the football' or 'Sandra dropped the milk' or both.,1,'Jeff left the football' or 'Sandra dropped the milk' or both. There is a better than even chance that Winona is a sheep. There is a very good chance that Julius is a lion. It is likely that Mary went to the bedroom. It is unlikely that if 'Winona is a sheep' or 'Mary went to the bedroom' or both then Jessica is a mouse. We believe that if 'Winona is a sheep and Mary went to the bedroom' then Greg is gray. Chances are slight that if 'Mary went to the bedroom and Winona is a sheep' then John put down the apple.,It is probably not the case that 'Mary went to the bedroom' 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.6::factA. 0.8::factB. 0.7::factC. %hop1 0.2::factX:-or(factA,factC). 0.75::factY:-and(factA,factC). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.736,0.4928985797159432,train,we believe,probably not,We believe that 'Mary went to the bedroom' or 'Jessica is a mouse' or both.,It is probably not the case that 'Mary went to the bedroom' or 'Jessica is a mouse' or both.,0,'Mary went to the bedroom' or 'Jessica is a mouse' or both. It is likely that Brian is white. It is highly likely that John dropped the apple. It is probably not the case that Julius is a lion. It is probably not the case that if either 'Brian is white' or 'Julius is a lion' but not both then Gertrude is a sheep. There is little chance that if 'Julius is a lion' or 'Brian is white' or both then Mary left the football. There is a better than even chance that if 'Brian is white' or 'Julius is a lion' or both then Emily is a wolf.,It is probably the case that either 'Mary left the football' 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.9::factB. 0.25::factC. %hop1 0.25::factX:-xor(factA,factC). 0.1::factY:-or(factC,factA). 0.6::factZ:-or(factA,factC). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.1975,0.1850370074014803,train,unlikely,probably,It is unlikely that either 'Mary left the football' or 'Gertrude is a sheep' but not both.,It is probably the case that either 'Mary left the football' or 'Gertrude is a sheep' but not both.,0,Either 'Mary left the football' or 'Gertrude is a sheep' but not both. It is probably the case that Lily is a rhino. We believe that Gertrude is a mouse. It is highly unlikely that John dropped the milk. We doubt that if either 'Gertrude is a mouse' or 'John dropped the milk' but not both then Bill left the football. It is unlikely that if 'Gertrude is a mouse' or 'Lily is a rhino' or both then Bernhard is green. There is almost no chance that if 'Gertrude is a mouse' or 'John dropped the milk' or both then Mary went to the bedroom.,It is impossible that 'Bill left the football 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.75::factB. 0.05::factC. %hop1 0.2::factX:-xor(factB,factC). 0.2::factY:-or(factB,factA). 0.02::factZ:-or(factB,factC). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.0029000000000000015,0.35087017403480697,train,impossible,likely,It is impossible that 'Bill left the football and Mary went to the bedroom'.,It is likely that 'Bill left the football and Mary went to the bedroom'.,1,'Bill left the football and Mary went to the bedroom'. There is a very good chance that Gertrude is a mouse. There is a better than even chance that Greg is gray. It is probably the case that Jeff left the apple. It is likely that if 'Jeff left the apple and Gertrude is a mouse' then Julius is a swan. It is likely that if 'Greg is gray' or 'Jeff left the apple' or both then John discarded the milk. There is little chance that if 'Greg is gray' or 'Gertrude is a mouse' or both then Bernhard is a rhino.,It is certain that 'Greg is gray and Gertrude 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.8::factA. 0.6::factB. 0.7::factC. %hop1 0.7::factX:-and(factC,factA). 0.7::factY:-or(factB,factC). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.48,0.6815363072614523,train,about even,certain,Chances are about even that 'Greg is gray and Gertrude is a mouse'.,It is certain that 'Greg is gray and Gertrude is a mouse'.,0,'Greg is gray and Gertrude is a mouse'. We doubt that Greg is a rhino. It is unlikely that Mary dropped the apple. There is a better than even chance that Brian is a frog. There is a very good chance that if either 'Brian is a frog' or 'Greg is a rhino' but not both then Lily is a swan. Chances are slight that if either 'Mary dropped the apple' or 'Brian is a frog' but not both then Jason is tired. It is impossible that if either 'Brian is a frog' or 'Mary dropped the apple' but not both then John went to the hallway.,There is a better than even chance that 'Jason is tired' or 'Brian 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.2::factA. 0.2::factB. 0.6::factC. %hop1 0.8::factX:-xor(factC,factA). 0.1::factY:-xor(factB,factC). 0.0::factZ:-xor(factC,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.608,0.35607121424284854,train,better than even,impossible,There is a better than even chance that 'Jason is tired' or 'Brian is a frog' or both.,It is impossible that 'Jason is tired' or 'Brian is a frog' or both.,1,'Jason is tired' or 'Brian is a frog' or both. We believe that Fred went to the garden. It is certain that Mary got the milk. There is a better than even chance that Lily is yellow. Chances are about even that if either 'Mary got the milk' or 'Fred went to the garden' but not both then Bernhard is gray. We believe that if 'Lily is yellow and Mary got the milk' then John dropped the apple. It is unlikely that if 'Lily is yellow and Mary got the milk' then Sandra took the football.,It is probably not the case that 'Bernhard is gray' or 'Sandra took 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.75::factA. 1.0::factB. 0.6::factC. %hop1 0.5::factX:-xor(factB,factA). 0.75::factY:-and(factC,factB). 0.2::factZ:-and(factC,factB). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.23,0.721744348869774,train,probably not,probable,It is probably not the case that 'Bernhard is gray' or 'Sandra took the football' or both.,It is probable that 'Bernhard is gray' or 'Sandra took the football' or both.,1,'Bernhard is gray' or 'Sandra took the football' or both. There is a very good chance that Greg is a rhino. Chances are about even that Sumit is thirsty. Chances are slight that Mary went to the garden. There is little chance that if 'Greg is a rhino and Sumit is thirsty' then Daniel got the football. We doubt that if either 'Sumit is thirsty' or 'Mary went to the garden' but not both then John dropped the apple. It is highly unlikely that if either 'Sumit is thirsty' or 'Greg is a rhino' but not both then Lily is green.,We believe that either 'John dropped the apple' or 'Lily 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.8::factA. 0.5::factB. 0.1::factC. %hop1 0.1::factX:-and(factA,factB). 0.2::factY:-xor(factB,factC). 0.05::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.12240000000000001,0.760752150430086,train,chances are slight,we believe,Chances are slight that either 'John dropped the apple' or 'Lily is green' but not both.,We believe that either 'John dropped the apple' or 'Lily is green' but not both.,0,Either 'John dropped the apple' or 'Lily is green' but not both. It is certain that Winona is a mouse. It is highly unlikely that Gertrude is a mouse. There is a very good chance that Greg is a swan. It is unlikely that if 'Greg is a swan and Winona is a mouse' then Julius is gray. Chances are about even that if 'Winona is a mouse and Gertrude is a mouse' then Brian is white. We doubt that if 'Greg is a swan and Gertrude is a mouse' then Daniel got the milk.,We doubt that either 'Winona 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 1.0::factA. 0.05::factB. 0.8::factC. %hop1 0.2::factX:-and(factC,factA). 0.5::factY:-and(factA,factB). 0.2::factZ:-and(factC,factB). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.84,0.545509101820364,train,very good chance,we doubt,There is a very good chance that either 'Winona is a mouse' or 'Julius is gray' but not both.,We doubt that either 'Winona is a mouse' or 'Julius is gray' but not both.,0,Either 'Winona is a mouse' or 'Julius is gray' but not both. It is highly likely that Daniel dropped the milk. It is highly likely that Julius is white. Chances are about even that John left the football. It is unlikely that if 'Daniel dropped the milk and John left the football' then Greg is yellow. It is probably not the case that if either 'Daniel dropped the milk' or 'Julius is white' but not both then Brian is a swan. It is probably not the case that if either 'Daniel dropped the milk' or 'Julius is white' but not both then Jeff discarded the milk.,It is almost certain that 'Daniel dropped the milk' or 'John 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.9::factA. 0.9::factB. 0.5::factC. %hop1 0.2::factX:-and(factA,factC). 0.25::factY:-xor(factA,factB). 0.25::factZ:-xor(factA,factB). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.95,0.5323064612922584,train,almost certain,unlikely,It is almost certain that 'Daniel dropped the milk' or 'John left the football' or both.,It is unlikely that 'Daniel dropped the milk' or 'John left the football' or both.,1,'Daniel dropped the milk' or 'John left the football' or both. It is unlikely that Lily is a frog. We doubt that Brian is green. We doubt that Mary grabbed the milk. It is highly likely that if either 'Brian is green' or 'Mary grabbed the milk' but not both then Gertrude is a cat. It is impossible that if either 'Lily is a frog' or 'Mary grabbed the milk' but not both then John moved to the garden. There is a very good chance that if 'Mary grabbed the milk and Lily is a frog' then Julius is a lion.,It is certain that 'Brian is green' 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.2::factB. 0.2::factC. %hop1 0.9::factX:-xor(factB,factC). 0.0::factY:-xor(factA,factC). 0.8::factZ:-and(factC,factA). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.22560000000000008,0.7953590718143628,train,probably not,certain,It is probably not the case that 'Brian is green' or 'Julius is a lion' or both.,It is certain that 'Brian is green' or 'Julius is a lion' or both.,0,'Brian is green' or 'Julius is a lion' or both. It is impossible that Greg is yellow. It is unlikely that Julius is green. It is unlikely that Bernhard is a swan. It is highly unlikely that if either 'Bernhard is a swan' or 'Julius is green' but not both then Sandra left the apple. There is almost no chance that if 'Bernhard is a swan and Julius is green' then Daniel got the milk. It is certain that if 'Julius is green' or 'Greg is yellow' or both then John went to the garden.,It is likely that 'Daniel got the milk' or 'John 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.0::factA. 0.2::factB. 0.2::factC. %hop1 0.05::factX:-xor(factC,factB). 0.02::factY:-and(factC,factB). 1.0::factZ:-or(factB,factA). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.2,0.33706741348269653,train,we doubt,likely,We doubt that 'Daniel got the milk' or 'John went to the garden' or both.,It is likely that 'Daniel got the milk' or 'John went to the garden' or both.,0,'Daniel got the milk' or 'John went to the garden' or both. There is almost no chance that Lily is a frog. There is a better than even chance that Greg is white. Chances are about even that Winona is a mouse. It is likely that if 'Winona is a mouse' or 'Greg is white' or both then Sandra left the football. Chances are about even that if 'Lily is a frog' or 'Greg is white' or both then Fred went to the garden. It is likely that if 'Greg is white and Lily is a frog' then Brian is yellow.,Chances are about even that either 'Winona is a mouse' 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.6::factB. 0.5::factC. %hop1 0.7::factX:-or(factC,factB). 0.5::factY:-or(factA,factB). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5,0.7809561912382477,train,about even,highly unlikely,Chances are about even that either 'Winona is a mouse' or 'Lily is a frog' but not both.,It is highly unlikely that either 'Winona is a mouse' or 'Lily is a frog' but not both.,1,Either 'Winona is a mouse' or 'Lily is a frog' but not both. We believe that Julius is a swan. It is highly unlikely that John picked up the apple. We doubt that Daniel left the milk. It is highly likely that if 'Julius is a swan and Daniel left the milk' then Lily is a frog. It is probably the case that if either 'Daniel left the milk' or 'Julius is a swan' but not both then Greg is a lion. There is almost no chance that if 'Julius is a swan and Daniel left the milk' then Mary went to the bedroom.,It is impossible that 'Julius is a swan 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.75::factA. 0.05::factB. 0.2::factC. %hop1 0.9::factX:-and(factA,factC). 0.7::factY:-xor(factC,factA). 0.02::factZ:-and(factA,factC). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.42,0.3712742548509702,train,about even,impossible,Chances are about even that 'Julius is a swan and Greg is a lion'.,It is impossible that 'Julius is a swan and Greg is a lion'.,0,'Julius is a swan and Greg is a lion'. Chances are about even that Greg is a frog. It is certain that Lily is a lion. It is probably not the case that Mary went to the office. It is highly unlikely that if either 'Lily is a lion' or 'Mary went to the office' but not both then Fred left the apple. We believe that if 'Mary went to the office and Greg is a frog' then Julius is white. It is improbable that if 'Greg is a frog and Mary went to the office' then Bernhard is a swan.,There is almost no chance that 'Bernhard 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.5::factA. 1.0::factB. 0.25::factC. %hop1 0.05::factX:-xor(factB,factC). 0.75::factY:-and(factC,factA). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.012500000000000006,0.17383476695339067,train,almost no chance,about even,There is almost no chance that 'Bernhard is a swan and Lily is a lion'.,Chances are about even that 'Bernhard is a swan and Lily is a lion'.,1,'Bernhard is a swan and Lily is a lion'. Chances are slight that Greg is a lion. It is probably the case that John got the apple. We believe that Brian is white. We believe that if 'John got the apple and Brian is white' then Jason is tired. There is a better than even chance that if 'John got the apple' or 'Greg is a lion' or both then Gertrude is a sheep. We believe that if 'John got the apple' or 'Greg is a lion' or both then Julius is white.,There is a very good chance that either 'Jason is tired' 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.1::factA. 0.7::factB. 0.75::factC. %hop1 0.75::factX:-and(factB,factC). 0.6::factY:-or(factB,factA). 0.75::factZ:-or(factB,factA). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.3506250000000001,0.30006001200240046,train,probably not,very good chance,It is probably not the case that either 'Jason is tired' or 'Julius is white' but not both.,There is a very good chance that either 'Jason is tired' or 'Julius is white' but not both.,0,Either 'Jason is tired' or 'Julius is white' but not both. There is almost no chance that Julius is a frog. There is almost no chance that Bernhard is white. It is probably not the case that Lily is a lion. It is unlikely that if either 'Lily is a lion' or 'Julius is a frog' but not both then Yann is bored. It is impossible that if 'Lily is a lion' or 'Julius is a frog' or both then Jason is thirsty. It is unlikely that if either 'Bernhard is white' or 'Julius is a frog' but not both then John picked up the apple.,It is probably the case that 'Julius is a frog' or 'Yann 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.02::factA. 0.02::factB. 0.25::factC. %hop1 0.2::factX:-xor(factC,factA). 0.0::factY:-or(factC,factA). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.069,0.29145829165833165,train,highly unlikely,probably,It is highly unlikely that 'Julius is a frog' or 'Yann is bored' or both.,It is probably the case that 'Julius is a frog' or 'Yann is bored' or both.,0,'Julius is a frog' or 'Yann is bored' or both. It is improbable that Lily is green. It is highly likely that Mary put down the milk. Chances are about even that Brian is gray. It is probably the case that if either 'Brian is gray' or 'Mary put down the milk' but not both then Bernhard is a swan. It is certain that if either 'Brian is gray' or 'Lily is green' but not both then Antoine is thirsty. It is probable that if 'Mary put down the milk' or 'Lily is green' or both then John discarded the apple.,It is almost certain that 'Lily 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.1::factA. 0.9::factB. 0.5::factC. %hop1 0.7::factX:-xor(factC,factB). 1.0::factY:-xor(factC,factA). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.05000000000000001,0.41328265653130625,train,highly unlikely,almost certain,It is highly unlikely that 'Lily is green and Brian is gray'.,It is almost certain that 'Lily is green and Brian is gray'.,0,'Lily is green and Brian is gray'. It is unlikely that Lily is a swan. There is little chance that John discarded the apple. It is highly unlikely that Brian is a lion. There is almost no chance that if 'Brian is a lion and John discarded the apple' then Bernhard is green. It is probably the case that if 'Lily is a swan and Brian is a lion' then Sandra dropped the milk. It is highly likely that if 'Brian is a lion and John discarded the apple' then Mary left the football.,It is highly likely that 'Bernhard is green 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.1::factB. 0.05::factC. %hop1 0.02::factX:-and(factC,factB). 0.7::factY:-and(factA,factC). 0.9::factZ:-and(factC,factB). %hop2 conclusion:-and(factX,factA). query(conclusion). ",1.9999999999999998e-05,0.6833366673334667,train,impossible,highly likely,It is impossible that 'Bernhard is green and Lily is a swan'.,It is highly likely that 'Bernhard is green and Lily is a swan'.,0,'Bernhard is green and Lily is a swan'. We believe that Julius is gray. It is likely that Jason is thirsty. It is probable that Greg is a swan. We doubt that if 'Greg is a swan and Jason is thirsty' then Mary went to the bedroom. Chances are about even that if 'Jason is thirsty' or 'Julius is gray' or both then Bernhard is green. Chances are slight that if 'Greg is a swan and Jason is thirsty' then John discarded the milk.,Chances are about even that either 'Julius is gray' 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.75::factA. 0.7::factB. 0.7::factC. %hop1 0.2::factX:-and(factC,factB). 0.5::factY:-or(factB,factA). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.46249999999999997,0.20564112822564512,train,about even,highly unlikely,Chances are about even that either 'Julius is gray' or 'Bernhard is green' but not both.,It is highly unlikely that either 'Julius is gray' or 'Bernhard is green' but not both.,1,Either 'Julius is gray' or 'Bernhard is green' but not both. We believe that Mary discarded the apple. It is probably not the case that Brian is white. We believe that Greg is a frog. There is a better than even chance that if either 'Brian is white' or 'Mary discarded the apple' but not both then John went to the hallway. It is likely that if 'Brian is white and Greg is a frog' then Lily is a lion. Chances are slight that if either 'Mary discarded the apple' or 'Brian is white' but not both then Julius is yellow.,Chances are slight that 'Lily is a lion 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.25::factB. 0.75::factC. %hop1 0.6::factX:-xor(factB,factA). 0.7::factY:-and(factB,factC). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.13124999999999998,0.7275455091018204,train,chances are slight,likely,Chances are slight that 'Lily is a lion and Greg is a frog'.,It is likely that 'Lily is a lion and Greg is a frog'.,1,'Lily is a lion and Greg is a frog'. There is little chance that Greg is yellow. It is almost certain that Lily is a swan. We doubt that Sandra dropped the milk. We doubt that if 'Sandra dropped the milk' or 'Greg is yellow' or both then Gertrude is a mouse. There is a very good chance that if 'Lily is a swan' or 'Greg is yellow' or both then Mary went to the bedroom. Chances are slight that if either 'Lily is a swan' or 'Greg is yellow' but not both then Brian is a frog.,It is probably not the case that either 'Sandra dropped the milk' 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.95::factB. 0.2::factC. %hop1 0.2::factX:-or(factC,factA). 0.8::factY:-or(factB,factA). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.77,0.23024604920984196,train,we believe,probably not,We believe that either 'Sandra dropped the milk' or 'Lily is a swan' but not both.,It is probably not the case that either 'Sandra dropped the milk' or 'Lily is a swan' but not both.,0,Either 'Sandra dropped the milk' or 'Lily is a swan' but not both. It is improbable that Mary went to the kitchen. There is little chance that Winona is a wolf. We believe that Greg is gray. It is probable that if 'Mary went to the kitchen' or 'Winona is a wolf' or both then Yann is thirsty. There is almost no chance that if either 'Mary went to the kitchen' or 'Winona is a wolf' but not both then Fred left the football. We believe that if 'Greg is gray and Winona is a wolf' then Lily is a frog.,Chances are slight that 'Yann is thirsty and Greg 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.1::factA. 0.1::factB. 0.75::factC. %hop1 0.7::factX:-or(factA,factB). 0.02::factY:-xor(factA,factB). 0.75::factZ:-and(factC,factB). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.09975000000000003,0.011602320464092819,train,chances are slight,probably,Chances are slight that 'Yann is thirsty and Greg is gray'.,It is probably the case that 'Yann is thirsty and Greg is gray'.,1,'Yann is thirsty and Greg is gray'. Chances are about even that Bill got the milk there. It is certain that Greg is a lion. There is almost no chance that Bernhard is green. There is almost no chance that if either 'Bill got the milk there' or 'Greg is a lion' but not both then Fred left the apple. There is a better than even chance that if either 'Greg is a lion' or 'Bernhard is green' but not both then Jeff went to the garden. There is a better than even chance that if 'Bernhard is green' or 'Bill got the milk there' or both then Julius is white.,It is impossible that 'Julius is white' 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.5::factA. 1.0::factB. 0.02::factC. %hop1 0.02::factX:-xor(factA,factB). 0.6::factY:-xor(factB,factC). 0.6::factZ:-or(factC,factA). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.7176000000000001,0.0642128425685137,train,likely,impossible,It is likely that 'Julius is white' or 'Jeff went to the garden' or both.,It is impossible that 'Julius is white' or 'Jeff went to the garden' or both.,0,'Julius is white' or 'Jeff went to the garden' or both. It is highly likely that Julius is gray. There is a better than even chance that Greg is a rhino. It is almost certain that Brian is a frog. It is probably not the case that if 'Julius is gray' or 'Greg is a rhino' or both then Fred put down the apple. It is unlikely that if 'Greg is a rhino and Brian is a frog' then Lily is yellow. There is a very good chance that if either 'Julius is gray' or 'Greg is a rhino' but not both then Mary picked up the milk.,It is highly likely that 'Fred put down the apple' 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.6::factB. 0.95::factC. %hop1 0.25::factX:-or(factA,factB). 0.2::factY:-and(factB,factC). 0.8::factZ:-xor(factA,factB). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.915,0.22484496899379877,train,highly likely,unlikely,It is highly likely that 'Fred put down the apple' or 'Julius is gray' or both.,It is unlikely that 'Fred put down the apple' or 'Julius is gray' or both.,1,'Fred put down the apple' or 'Julius is gray' or both. It is improbable that Lily is white. We doubt that Mary moved to the office. We believe that Greg is gray. It is certain that if 'Greg is gray' or 'Lily is white' or both then Jason is thirsty. Chances are slight that if 'Greg is gray' or 'Lily is white' or both then Brian is a rhino. There is a very good chance that if 'Lily is white' or 'Mary moved to the office' or both then John dropped the apple.,It is highly likely that 'John dropped the apple' 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.1::factA. 0.2::factB. 0.75::factC. %hop1 1.0::factX:-or(factC,factA). 0.1::factY:-or(factC,factA). 0.8::factZ:-or(factA,factB). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.24400000000000002,0.1260252050410082,train,probably not,highly likely,It is probably not the case that 'John dropped the apple' or 'Lily is white' or both.,It is highly likely that 'John dropped the apple' or 'Lily is white' or both.,0,'John dropped the apple' or 'Lily is white' or both. There is almost no chance that Bernhard is a swan. It is unlikely that Lily is a lion. It is probably not the case that Julius is yellow. There is little chance that if either 'Lily is a lion' or 'Julius is yellow' but not both then Brian is gray. It is highly likely that if 'Bernhard is a swan' or 'Lily is a lion' or both then John dropped the apple. There is a better than even chance that if 'Julius is yellow' or 'Bernhard is a swan' or both then Jeff put down the milk.,It is almost certain that 'Jeff put down 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.02::factA. 0.2::factB. 0.25::factC. %hop1 0.1::factX:-xor(factB,factC). 0.9::factY:-or(factA,factB). 0.6::factZ:-or(factC,factA). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.259,0.6439287857571514,train,probably not,almost certain,It is probably not the case that 'Jeff put down the milk' or 'Julius is yellow' or both.,It is almost certain that 'Jeff put down the milk' or 'Julius is yellow' or both.,0,'Jeff put down the milk' or 'Julius is yellow' or both. It is impossible that Mary went to the bedroom. It is improbable that Sandra left the milk. Chances are slight that Brian is a swan. It is almost certain that if either 'Brian is a swan' or 'Sandra left the milk' but not both then John picked up the apple. It is highly unlikely that if 'Sandra left the milk' or 'Mary went to the bedroom' or both then Daniel put down the milk. It is improbable that if 'Mary went to the bedroom and Sandra left the milk' then Julius is gray.,It is likely that either 'Brian is a swan' or 'Sandra 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.1::factB. 0.1::factC. %hop1 0.95::factX:-xor(factC,factB). 0.05::factY:-or(factB,factA). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.18000000000000005,0.17303460692138428,train,unlikely,likely,It is unlikely that either 'Brian is a swan' or 'Sandra left the milk' but not both.,It is likely that either 'Brian is a swan' or 'Sandra left the milk' but not both.,0,Either 'Brian is a swan' or 'Sandra left the milk' but not both. It is certain that Bernhard is gray. It is probable that Mary moved to the garden. Chances are about even that Julius is a rhino. It is likely that if 'Julius is a rhino and Bernhard is gray' then Jeff went to the bedroom. There is a better than even chance that if 'Julius is a rhino and Bernhard is gray' then John got the milk. It is highly likely that if either 'Bernhard is gray' or 'Julius is a rhino' but not both then Greg is yellow.,It is impossible that 'Greg is yellow 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 1.0::factA. 0.7::factB. 0.5::factC. %hop1 0.7::factX:-and(factC,factA). 0.6::factY:-and(factC,factA). 0.9::factZ:-xor(factA,factC). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.45000000000000007,0.6049209841968394,train,about even,impossible,Chances are about even that 'Greg is yellow and Bernhard is gray'.,It is impossible that 'Greg is yellow and Bernhard is gray'.,0,'Greg is yellow and Bernhard is gray'. It is probably the case that Brian is a rhino. It is probably not the case that Bill went to the garden. There is little chance that Julius is white. We doubt that if 'Julius is white and Bill went to the garden' then Bernhard is a frog. There is little chance that if either 'Bill went to the garden' or 'Brian is a rhino' but not both then John dropped the milk. Chances are slight that if 'Bill went to the garden' or 'Brian is a rhino' or both then Mary left the football.,There is a very good chance that 'Bill went to the garden' 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.25::factB. 0.1::factC. %hop1 0.2::factX:-and(factC,factB). 0.1::factY:-xor(factB,factA). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.775,0.1322264452890578,train,very good chance,probably not,There is a very good chance that 'Bill went to the garden' or 'Brian is a rhino' or both.,It is probably not the case that 'Bill went to the garden' or 'Brian is a rhino' or both.,1,'Bill went to the garden' or 'Brian is a rhino' or both. There is almost no chance that Greg is a rhino. We doubt that Mary got the football. It is probably the case that Fred dropped the apple. It is impossible that if either 'Mary got the football' or 'Fred dropped the apple' but not both then Lily is yellow. There is little chance that if either 'Mary got the football' or 'Fred dropped the apple' but not both then John went to the hallway. We believe that if either 'Fred dropped the apple' or 'Mary got the football' but not both then Winona is a mouse.,It is highly unlikely that 'John went to the hallway 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.02::factA. 0.2::factB. 0.7::factC. %hop1 0.0::factX:-xor(factB,factC). 0.1::factY:-xor(factB,factC). 0.75::factZ:-xor(factC,factB). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.05600000000000001,0.22104420884176834,train,highly unlikely,highly likely,It is highly unlikely that 'John went to the hallway and Fred dropped the apple'.,It is highly likely that 'John went to the hallway and Fred dropped the apple'.,1,'John went to the hallway and Fred dropped the apple'. It is highly likely that Mary moved to the garden. There is almost no chance that Brian is a lion. It is improbable that Emily is a mouse. It is highly unlikely that if either 'Brian is a lion' or 'Mary moved to the garden' but not both then Julius is white. It is almost certain that if 'Emily is a mouse' or 'Mary moved to the garden' or both then Lily is a swan. It is impossible that if either 'Brian is a lion' or 'Emily is a mouse' but not both then John dropped the milk.,It is improbable that either 'Lily is a swan' 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.9::factA. 0.02::factB. 0.1::factC. %hop1 0.05::factX:-xor(factB,factA). 0.95::factY:-or(factC,factA). 0.0::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.8644999999999999,0.4900980196039208,train,highly likely,improbable,It is highly likely that either 'Lily is a swan' or 'John dropped the milk' but not both.,It is improbable that either 'Lily is a swan' or 'John dropped the milk' but not both.,0,Either 'Lily is a swan' or 'John dropped the milk' but not both. It is unlikely that Lily is a swan. There is a very good chance that Sumit is bored. Chances are slight that Brian is yellow. It is unlikely that if 'Lily is a swan and Sumit is bored' then Daniel dropped the apple. It is almost certain that if 'Sumit is bored and Brian is yellow' then John went to the bedroom. It is probable that if either 'Lily is a swan' or 'Brian is yellow' but not both then Bernhard is a lion.,There is almost no chance that either 'Brian is yellow' 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.2::factA. 0.8::factB. 0.1::factC. %hop1 0.2::factX:-and(factA,factB). 0.95::factY:-and(factB,factC). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.024000000000000007,0.4906981396279256,train,almost no chance,likely,There is almost no chance that either 'Brian is yellow' or 'John went to the bedroom' but not both.,It is likely that either 'Brian is yellow' or 'John went to the bedroom' but not both.,1,Either 'Brian is yellow' or 'John went to the bedroom' but not both. It is highly unlikely that Emily is a wolf. There is a very good chance that Julius is a rhino. There is almost no chance that Jeff moved to the garden. It is unlikely that if 'Julius is a rhino' or 'Jeff moved to the garden' or both then Yann is tired. Chances are about even that if 'Emily is a wolf and Jeff moved to the garden' then John took the football. It is impossible that if 'Emily is a wolf and Jeff moved to the garden' then Mary dropped the milk.,It is probably not the case that 'Julius is a rhino' or 'Yann 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.05::factA. 0.8::factB. 0.02::factC. %hop1 0.2::factX:-or(factB,factC). 0.5::factY:-and(factA,factC). 0.0::factZ:-and(factA,factC). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.8008000000000001,0.27005401080216046,train,very good chance,probably not,There is a very good chance that 'Julius is a rhino' or 'Yann is tired' or both.,It is probably not the case that 'Julius is a rhino' or 'Yann is tired' or both.,0,'Julius is a rhino' or 'Yann is tired' or both. It is certain that Lily is a rhino. It is likely that Jeff left the apple. It is improbable that Greg is gray. There is a better than even chance that if either 'Greg is gray' or 'Jeff left the apple' but not both then Jessica is a cat. It is likely that if 'Greg is gray' or 'Jeff left the apple' or both then Bill went to the office. We doubt that if 'Greg is gray and Lily is a rhino' then Bernhard is a swan.,Chances are about even that either 'Greg is gray' 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 1.0::factA. 0.7::factB. 0.1::factC. %hop1 0.6::factX:-xor(factC,factB). 0.7::factY:-or(factC,factB). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.4599999999999999,0.5407081416283257,train,about even,certain,Chances are about even that either 'Greg is gray' or 'Jessica is a cat' but not both.,It is certain that either 'Greg is gray' or 'Jessica is a cat' but not both.,1,Either 'Greg is gray' or 'Jessica is a cat' but not both. There is a better than even chance that Gertrude is a cat. There is almost no chance that Emily is a mouse. It is unlikely that Mary went to the garden. There is little chance that if 'Gertrude is a cat' or 'Mary went to the garden' or both then John dropped the apple. It is almost certain that if 'Gertrude is a cat and Mary went to the garden' then Lily is yellow. It is impossible that if either 'Emily is a mouse' or 'Gertrude is a cat' but not both then Bernhard is a frog.,It is certain that 'Bernhard is a frog 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.6::factA. 0.02::factB. 0.2::factC. %hop1 0.1::factX:-or(factA,factC). 0.95::factY:-and(factA,factC). 0.0::factZ:-xor(factB,factA). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.0,0.7931586317263453,train,impossible,certain,It is impossible that 'Bernhard is a frog and Gertrude is a cat'.,It is certain that 'Bernhard is a frog and Gertrude is a cat'.,0,'Bernhard is a frog and Gertrude is a cat'. There is little chance that Antoine is bored. We believe that Jason is tired. There is little chance that Bill went to the garden. It is highly unlikely that if either 'Jason is tired' or 'Antoine is bored' but not both then Lily is a frog. It is highly likely that if 'Antoine is bored and Bill went to the garden' then Fred dropped the milk. There is a better than even chance that if 'Antoine is bored' or 'Bill went to the garden' or both then Julius is a swan.,We doubt that 'Jason is tired' 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.75::factB. 0.1::factC. %hop1 0.05::factX:-xor(factB,factA). 0.9::factY:-and(factA,factC). 0.6::factZ:-or(factA,factC). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.7785,0.623124624924985,train,very good chance,we doubt,There is a very good chance that 'Jason is tired' or 'Julius is a swan' or both.,We doubt that 'Jason is tired' or 'Julius is a swan' or both.,0,'Jason is tired' or 'Julius is a swan' or both. We believe that Emily is a sheep. It is highly likely that Sandra took the football. There is a very good chance that John dropped the apple. It is highly unlikely that if 'Sandra took the football' or 'Emily is a sheep' or both then Lily is a swan. We believe that if 'John dropped the apple' or 'Sandra took the football' or both then Mary went to the bedroom. Chances are slight that if 'Sandra took the football and John dropped the apple' then Bernhard is white.,It is unlikely that 'Sandra took the football' 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.75::factA. 0.9::factB. 0.8::factC. %hop1 0.05::factX:-or(factB,factA). 0.75::factY:-or(factC,factB). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.90375,0.19243848769753952,train,highly likely,unlikely,It is highly likely that 'Sandra took the football' or 'Lily is a swan' or both.,It is unlikely that 'Sandra took the football' or 'Lily is a swan' or both.,0,'Sandra took the football' or 'Lily is a swan' or both. It is probably the case that Mary went to the garden. There is little chance that Bernhard is a lion. It is improbable that Lily is a frog. There is little chance that if 'Bernhard is a lion and Mary went to the garden' then Winona is a mouse. It is probably not the case that if 'Mary went to the garden and Lily is a frog' then Daniel grabbed the apple. It is probably the case that if 'Lily is a frog' or 'Mary went to the garden' or both then Julius is yellow.,There is a better than even chance that 'Winona is a mouse' 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 0.7::factA. 0.1::factB. 0.1::factC. %hop1 0.1::factX:-and(factB,factA). 0.25::factY:-and(factA,factC). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.10000000000000002,0.353870774154831,train,little chance,better than even,There is little chance that 'Winona is a mouse' or 'Bernhard is a lion' or both.,There is a better than even chance that 'Winona is a mouse' or 'Bernhard is a lion' or both.,0,'Winona is a mouse' or 'Bernhard is a lion' or both. It is highly unlikely that Lily is white. We believe that Sumit is thirsty. We doubt that Sandra left the football. It is highly unlikely that if 'Lily is white and Sandra left the football' then Julius is a frog. It is probable that if 'Lily is white' or 'Sandra left the football' or both then Brian is a rhino. It is highly likely that if 'Sandra left the football and Sumit is thirsty' then Mary went to the garden.,There is a better than even chance that 'Sandra left 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 0.05::factA. 0.75::factB. 0.2::factC. %hop1 0.05::factX:-and(factA,factC). 0.7::factY:-or(factA,factC). 0.9::factZ:-and(factC,factB). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.14,0.17443488697739548,train,improbable,better than even,It is improbable that 'Sandra left the football and Brian is a rhino'.,There is a better than even chance that 'Sandra left the football and Brian is a rhino'.,0,'Sandra left the football and Brian is a rhino'. There is almost no chance that Lily is green. It is likely that Jeff left the apple. Chances are about even that Greg is a lion. It is probably not the case that if 'Jeff left the apple and Greg is a lion' then Yann is bored. It is almost certain that if 'Greg is a lion and Jeff left the apple' then Brian is a rhino. There is a better than even chance that if 'Greg is a lion' or 'Jeff left the apple' or both then Sandra grabbed the milk.,It is probably not the case that 'Jeff left the apple 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.02::factA. 0.7::factB. 0.5::factC. %hop1 0.25::factX:-and(factB,factC). 0.95::factY:-and(factC,factB). 0.6::factZ:-or(factC,factB). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.3499999999999999,0.5905181036207241,train,probably not,probably,It is probably not the case that 'Jeff left the apple and Greg is a lion'.,It is probably the case that 'Jeff left the apple and Greg is a lion'.,1,'Jeff left the apple and Greg is a lion'. There is a better than even chance that Julius is white. It is unlikely that Mary moved to the garden. It is certain that Greg is a swan. It is highly unlikely that if 'Julius is white and Mary moved to the garden' then Jessica is a sheep. It is probable that if 'Mary moved to the garden and Greg is a swan' then Fred dropped the milk. It is unlikely that if 'Greg is a swan and Julius is white' then Sandra left the milk.,Chances are slight that 'Jessica is a sheep' 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.6::factA. 0.2::factB. 1.0::factC. %hop1 0.05::factX:-and(factA,factB). 0.7::factY:-and(factB,factC). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.12480000000000004,0.4214842968593719,train,chances are slight,almost certain,Chances are slight that 'Jessica is a sheep' or 'Sandra left the milk' or both.,It is almost certain that 'Jessica is a sheep' or 'Sandra left the milk' or both.,1,'Jessica is a sheep' or 'Sandra left the milk' or both. It is impossible that Julius is green. Chances are about even that Lily is a rhino. There is a better than even chance that Bernhard is gray. We doubt that if either 'Lily is a rhino' or 'Bernhard is gray' but not both then Daniel dropped the apple. There is a very good chance that if either 'Bernhard is gray' or 'Lily is a rhino' but not both then Mary went to the office. There is a better than even chance that if 'Julius is green and Lily is a rhino' then Brian is a frog.,There is a better than even chance that either 'Daniel dropped the apple' 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.0::factA. 0.5::factB. 0.6::factC. %hop1 0.2::factX:-xor(factB,factC). 0.8::factY:-xor(factC,factB). 0.6::factZ:-and(factA,factB). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.58,0.33246649329865974,train,better than even,improbable,There is a better than even chance that either 'Daniel dropped the apple' or 'Bernhard is gray' but not both.,It is improbable that either 'Daniel dropped the apple' or 'Bernhard is gray' but not both.,1,Either 'Daniel dropped the apple' or 'Bernhard is gray' but not both. We believe that Greg is a swan. There is almost no chance that Mary got the football. We believe that Sumit is thirsty. It is impossible that if either 'Mary got the football' or 'Sumit is thirsty' but not both then Brian is green. Chances are about even that if 'Sumit is thirsty and Greg is a swan' then Julius is gray. It is highly unlikely that if 'Sumit is thirsty and Mary got the football' then John went to the hallway.,We believe that 'Sumit is thirsty 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.75::factA. 0.02::factB. 0.75::factC. %hop1 0.0::factX:-xor(factB,factC). 0.5::factY:-and(factC,factA). 0.05::factZ:-and(factC,factB). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.0,0.7645529105821164,train,impossible,we believe,It is impossible that 'Sumit is thirsty and Brian is green'.,We believe that 'Sumit is thirsty and Brian is green'.,0,'Sumit is thirsty and Brian is green'. It is highly likely that Bernhard is a lion. It is likely that Julius is gray. There is little chance that John went to the kitchen. It is almost certain that if either 'Bernhard is a lion' or 'John went to the kitchen' but not both then Winona is a wolf. It is highly unlikely that if 'Bernhard is a lion' or 'John went to the kitchen' or both then Brian is yellow. There is a very good chance that if 'Bernhard is a lion and John went to the kitchen' then Mary got the apple.,We believe that 'John went to the kitchen 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.7::factB. 0.1::factC. %hop1 0.95::factX:-xor(factA,factC). 0.05::factY:-or(factA,factC). 0.8::factZ:-and(factA,factC). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.005000000000000002,0.5227045409081816,train,impossible,we believe,It is impossible that 'John went to the kitchen and Brian is yellow'.,We believe that 'John went to the kitchen and Brian is yellow'.,0,'John went to the kitchen and Brian is yellow'. It is likely that Mary is in the school. It is almost certain that Fred moved to the office. It is probable that Greg is yellow. It is probably the case that if either 'Fred moved to the office' or 'Greg is yellow' but not both then Winona is a wolf. There is a very good chance that if either 'Mary is in the school' or 'Greg is yellow' but not both then Julius is a rhino. Chances are about even that if either 'Mary is in the school' or 'Fred moved to the office' but not both then Sandra left the milk.,It is impossible that either 'Julius is a rhino' 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 0.7::factA. 0.95::factB. 0.7::factC. %hop1 0.7::factX:-xor(factB,factC). 0.8::factY:-xor(factA,factC). 0.5::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.6476,0.03680736147229446,train,better than even,impossible,There is a better than even chance that either 'Julius is a rhino' or 'Fred moved to the office' but not both.,It is impossible that either 'Julius is a rhino' or 'Fred moved to the office' but not both.,0,Either 'Julius is a rhino' or 'Fred moved to the office' but not both. It is improbable that Bernhard is yellow. We doubt that Brian is white. We believe that John picked up the apple. We doubt that if either 'Brian is white' or 'John picked up the apple' but not both then Gertrude is a cat. It is probably not the case that if 'John picked up the apple and Brian is white' then Winona is a sheep. Chances are about even that if 'John picked up the apple and Brian is white' then Greg is a swan.,It is likely that 'John picked up the apple 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.1::factA. 0.2::factB. 0.75::factC. %hop1 0.2::factX:-xor(factB,factC). 0.25::factY:-and(factC,factB). 0.5::factZ:-and(factC,factB). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.07500000000000002,0.000600120024004801,train,improbable,likely,It is improbable that 'John picked up the apple and Bernhard is yellow'.,It is likely that 'John picked up the apple and Bernhard is yellow'.,0,'John picked up the apple and Bernhard is yellow'. There is a better than even chance that Brian is a swan. It is highly unlikely that Bill moved to the office. We doubt that Bernhard is white. It is probably not the case that if 'Bill moved to the office' or 'Brian is a swan' or both then Winona is a mouse. It is likely that if 'Bill moved to the office and Brian is a swan' then Lily is yellow. It is almost certain that if either 'Bernhard is white' or 'Brian is a swan' but not both then John picked up the apple.,It is probably not the case that either 'Bill moved to the office' 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.6::factA. 0.05::factB. 0.2::factC. %hop1 0.25::factX:-or(factB,factA). 0.7::factY:-and(factB,factA). 0.95::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.23,0.6233246649329865,train,probably not,almost certain,It is probably not the case that either 'Bill moved to the office' or 'Bernhard is white' but not both.,It is almost certain that either 'Bill moved to the office' or 'Bernhard is white' but not both.,1,Either 'Bill moved to the office' or 'Bernhard is white' but not both. There is a better than even chance that Jessica is a sheep. There is almost no chance that Mary moved to the garden. Chances are slight that Lily is a frog. It is probably not the case that if 'Mary moved to the garden' or 'Lily is a frog' or both then Greg is a lion. There is a very good chance that if either 'Jessica is a sheep' or 'Lily is a frog' but not both then John got the apple. We doubt that if 'Mary moved to the garden' or 'Lily is a frog' or both then Brian is a rhino.,There is almost no chance that 'Lily is a frog 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.6::factA. 0.02::factB. 0.1::factC. %hop1 0.25::factX:-or(factB,factC). 0.8::factY:-xor(factA,factC). 0.2::factZ:-or(factB,factC). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.02000000000000001,0.17423484696939387,train,almost no chance,likely,There is almost no chance that 'Lily is a frog and Brian is a rhino'.,It is likely that 'Lily is a frog and Brian is a rhino'.,1,'Lily is a frog and Brian is a rhino'. It is improbable that Emily is a cat. It is almost certain that Mary left the milk. It is improbable that Julius is yellow. Chances are slight that if 'Julius is yellow' or 'Mary left the milk' or both then Bernhard is white. It is probably the case that if either 'Julius is yellow' or 'Emily is a cat' but not both then Daniel got the apple. There is a very good chance that if 'Julius is yellow' or 'Emily is a cat' or both then John went to the bedroom.,There is a very good chance that 'Bernhard is white and Daniel 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.1::factA. 0.95::factB. 0.1::factC. %hop1 0.1::factX:-or(factC,factB). 0.7::factY:-xor(factC,factA). 0.8::factZ:-or(factC,factA). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.012285000000000004,0.0604120824164833,train,almost no chance,very good chance,There is almost no chance that 'Bernhard is white and Daniel got the apple'.,There is a very good chance that 'Bernhard is white and Daniel got the apple'.,0,'Bernhard is white and Daniel got the apple'. It is probable that Bill went to the garden. There is little chance that John left the football. It is probably not the case that Lily is green. It is probably the case that if 'John left the football' or 'Bill went to the garden' or both then Gertrude is a sheep. We believe that if 'Lily is green' or 'Bill went to the garden' or both then Brian is a rhino. It is highly likely that if 'Lily is green and Bill went to the garden' then Winona is a mouse.,It is probably not the case that 'Winona is a mouse' 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.7::factA. 0.1::factB. 0.25::factC. %hop1 0.7::factX:-or(factB,factA). 0.75::factY:-or(factC,factA). 0.9::factZ:-and(factC,factA). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.24999999999999994,0.6355271054210843,train,probably not,probable,It is probably not the case that 'Winona is a mouse' or 'Lily is green' or both.,It is probable that 'Winona is a mouse' or 'Lily is green' or both.,1,'Winona is a mouse' or 'Lily is green' or both. It is probably the case that Mary went to the office. Chances are about even that Greg is a rhino. It is unlikely that Brian is a frog. It is highly unlikely that if either 'Brian is a frog' or 'Greg is a rhino' but not both then Emily is a wolf. It is certain that if 'Greg is a rhino and Brian is a frog' then Jessica is a mouse. There is almost no chance that if either 'Mary went to the office' or 'Greg is a rhino' but not both then Julius is a swan.,We doubt that 'Mary went to the office' or 'Brian 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.7::factA. 0.5::factB. 0.2::factC. %hop1 0.05::factX:-xor(factC,factB). 1.0::factY:-and(factB,factC). 0.02::factZ:-xor(factA,factB). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.7599999999999999,0.1342268453690738,train,we believe,we doubt,We believe that 'Mary went to the office' or 'Brian is a frog' or both.,We doubt that 'Mary went to the office' or 'Brian is a frog' or both.,0,'Mary went to the office' or 'Brian is a frog' or both. There is little chance that Lily is a rhino. It is unlikely that Greg is white. It is highly unlikely that Jason is thirsty. We doubt that if either 'Greg is white' or 'Jason is thirsty' but not both then John got the apple. It is improbable that if either 'Jason is thirsty' or 'Lily is a rhino' but not both then Winona is a wolf. It is highly likely that if either 'Lily is a rhino' or 'Jason is thirsty' but not both then Mary took the milk.,It is likely that either 'Winona is a wolf' 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.1::factA. 0.2::factB. 0.05::factC. %hop1 0.2::factX:-xor(factB,factC). 0.1::factY:-xor(factC,factA). 0.9::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.20840000000000003,0.6687337467493498,train,unlikely,likely,It is unlikely that either 'Winona is a wolf' or 'Greg is white' but not both.,It is likely that either 'Winona is a wolf' or 'Greg is white' but not both.,0,Either 'Winona is a wolf' or 'Greg is white' but not both. It is certain that Jessica is a cat. There is almost no chance that Greg is a swan. It is impossible that Sandra left the milk. There is a better than even chance that if either 'Sandra left the milk' or 'Greg is a swan' but not both then Brian is white. There is a better than even chance that if either 'Jessica is a cat' or 'Greg is a swan' but not both then Julius is a rhino. We believe that if 'Jessica is a cat' or 'Greg is a swan' or both then John took the apple.,It is certain that 'John took the apple' 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.02::factB. 0.0::factC. %hop1 0.6::factX:-xor(factC,factB). 0.6::factY:-xor(factA,factB). 0.75::factZ:-or(factA,factB). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",1.0,0.1876375275055011,train,certain,almost no chance,It is certain that 'John took the apple' or 'Jessica is a cat' or both.,There is almost no chance that 'John took the apple' or 'Jessica is a cat' or both.,1,'John took the apple' or 'Jessica is a cat' or both. It is probably the case that Sumit is hungry. It is improbable that Bernhard is a rhino. It is improbable that Sandra took the apple. It is likely that if either 'Sandra took the apple' or 'Sumit is hungry' but not both then John moved to the office. It is unlikely that if either 'Sumit is hungry' or 'Sandra took the apple' but not both then Lily is a swan. It is likely that if 'Sumit is hungry' or 'Sandra took the apple' or both then Julius is white.,It is probably not the case that 'Sumit is hungry' 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.7::factA. 0.1::factB. 0.1::factC. %hop1 0.7::factX:-xor(factC,factA). 0.2::factY:-xor(factA,factC). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.706,0.1812362472494499,train,likely,probably not,It is likely that 'Sumit is hungry' or 'Lily is a swan' or both.,It is probably not the case that 'Sumit is hungry' or 'Lily is a swan' or both.,0,'Sumit is hungry' or 'Lily is a swan' or both. It is probably not the case that Winona is a wolf. It is improbable that Gertrude is a mouse. Chances are slight that Lily is a rhino. There is almost no chance that if either 'Winona is a wolf' or 'Gertrude is a mouse' but not both then John discarded the milk. It is likely that if 'Winona is a wolf' or 'Lily is a rhino' or both then Julius is white. It is almost certain that if 'Gertrude is a mouse and Lily is a rhino' then Mary went to the garden.,There is a very good chance that 'John discarded the milk' 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.25::factA. 0.1::factB. 0.1::factC. %hop1 0.02::factX:-xor(factA,factB). 0.7::factY:-or(factA,factC). 0.95::factZ:-and(factB,factC). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.10450000000000001,0.6053210642128426,train,little chance,very good chance,There is little chance that 'John discarded the milk' or 'Gertrude is a mouse' or both.,There is a very good chance that 'John discarded the milk' or 'Gertrude is a mouse' or both.,0,'John discarded the milk' or 'Gertrude is a mouse' or both. We doubt that Sandra dropped the milk. Chances are slight that Julius is white. There is a better than even chance that Lily is a frog. Chances are slight that if 'Sandra dropped the milk' or 'Lily is a frog' or both then Antoine is thirsty. It is almost certain that if either 'Sandra dropped the milk' or 'Julius is white' but not both then John went to the office. It is impossible that if 'Lily is a frog and Sandra dropped the milk' then Bernhard is yellow.,There is a very good chance that either 'Sandra dropped the milk' 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.2::factA. 0.1::factB. 0.6::factC. %hop1 0.1::factX:-or(factA,factC). 0.95::factY:-xor(factA,factB). 0.0::factZ:-and(factC,factA). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.26,0.779755951190238,train,probably not,very good chance,It is probably not the case that either 'Sandra dropped the milk' or 'Julius is white' but not both.,There is a very good chance that either 'Sandra dropped the milk' or 'Julius is white' but not both.,0,Either 'Sandra dropped the milk' or 'Julius is white' but not both. It is certain that Julius is a swan. It is likely that Daniel put down the milk. It is certain that Lily is a rhino. It is likely that if 'Daniel put down the milk' or 'Lily is a rhino' or both then Winona is a sheep. We believe that if either 'Julius is a swan' or 'Lily is a rhino' but not both then Jeff left the apple. There is a very good chance that if 'Lily is a rhino' or 'Daniel put down the milk' or both then Bernhard is a frog.,It is unlikely that 'Julius is a swan' 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 1.0::factA. 0.7::factB. 1.0::factC. %hop1 0.7::factX:-or(factB,factC). 0.75::factY:-xor(factA,factC). 0.8::factZ:-or(factC,factB). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",1.0,0.7699539907981596,train,certain,unlikely,It is certain that 'Julius is a swan' or 'Bernhard is a frog' or both.,It is unlikely that 'Julius is a swan' or 'Bernhard is a frog' or both.,0,'Julius is a swan' or 'Bernhard is a frog' or both. It is improbable that Julius is a swan. It is improbable that Bernhard is a frog. It is likely that Mary picked up the apple. Chances are about even that if either 'Julius is a swan' or 'Mary picked up the apple' but not both then Winona is a mouse. It is highly unlikely that if 'Mary picked up the apple' or 'Bernhard is a frog' or both then Greg is a swan. It is unlikely that if 'Julius is a swan' or 'Mary picked up the apple' or both then Brian is a lion.,It is highly unlikely that 'Mary picked up the apple 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.1::factA. 0.1::factB. 0.7::factC. %hop1 0.5::factX:-xor(factA,factC). 0.05::factY:-or(factC,factB). 0.2::factZ:-or(factA,factC). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.07,0.5565113022604521,train,highly unlikely,better than even,It is highly unlikely that 'Mary picked up the apple and Bernhard is a frog'.,There is a better than even chance that 'Mary picked up the apple and Bernhard is a frog'.,1,'Mary picked up the apple and Bernhard is a frog'. We believe that John put down the milk. It is probably the case that Jeff dropped the apple. It is probably not the case that Lily is a swan. It is improbable that if either 'Lily is a swan' or 'John put down the milk' but not both then Bernhard is a frog. There is almost no chance that if 'Lily is a swan and John put down the milk' then Sandra left the football. We believe that if either 'Lily is a swan' or 'John put down the milk' but not both then Mary went to the hallway.,It is certain that either 'Jeff dropped the apple' or 'Mary went to the hallway' 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.25::factC. %hop1 0.1::factX:-xor(factC,factA). 0.02::factY:-and(factC,factA). 0.75::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.5125000000000001,0.4072814562912582,train,about even,certain,Chances are about even that either 'Jeff dropped the apple' or 'Mary went to the hallway' but not both.,It is certain that either 'Jeff dropped the apple' or 'Mary went to the hallway' but not both.,0,Either 'Jeff dropped the apple' or 'Mary went to the hallway' but not both. Chances are about even that Lily is green. It is almost certain that John went to the garden. We believe that Julius is white. It is impossible that if 'John went to the garden and Lily is green' then Bill left the milk. Chances are about even that if 'Julius is white and John went to the garden' then Gertrude is a mouse. It is unlikely that if 'John went to the garden' or 'Lily is green' or both then Emily is a wolf.,It is highly unlikely that either 'Emily is a wolf' or 'John 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.95::factB. 0.75::factC. %hop1 0.0::factX:-and(factB,factA). 0.5::factY:-and(factC,factB). 0.2::factZ:-or(factB,factA). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.765,0.14422884576915382,train,we believe,highly unlikely,We believe that either 'Emily is a wolf' or 'John went to the garden' but not both.,It is highly unlikely that either 'Emily is a wolf' or 'John went to the garden' but not both.,0,Either 'Emily is a wolf' or 'John went to the garden' but not both. It is improbable that John moved to the office. It is certain that Bill went to the garden. It is probable that Sandra took the milk. It is impossible that if either 'John moved to the office' or 'Sandra took the milk' but not both then Julius is gray. It is likely that if either 'Bill went to the garden' or 'John moved to the office' but not both then Bernhard is yellow. Chances are about even that if 'Sandra took the milk and John moved to the office' then Brian is a frog.,There is a better than even chance that either 'Julius is gray' 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. 1.0::factB. 0.7::factC. %hop1 0.0::factX:-xor(factA,factC). 0.7::factY:-xor(factB,factA). 0.5::factZ:-and(factC,factA). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.6299999999999999,0.5919183836767353,train,better than even,little chance,There is a better than even chance that either 'Julius is gray' or 'Bernhard is yellow' but not both.,There is little chance that either 'Julius is gray' or 'Bernhard is yellow' but not both.,1,Either 'Julius is gray' or 'Bernhard is yellow' but not both. It is almost certain that Bernhard is green. There is little chance that Julius is yellow. It is highly unlikely that Greg is yellow. There is a better than even chance that if 'Bernhard is green and Julius is yellow' then Lily is gray. It is highly unlikely that if either 'Julius is yellow' or 'Greg is yellow' but not both then Brian is a swan. It is unlikely that if 'Bernhard is green and Greg is yellow' then John went to the bedroom.,It is certain that either 'Brian is a swan' 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.95::factA. 0.1::factB. 0.05::factC. %hop1 0.6::factX:-and(factA,factB). 0.05::factY:-xor(factB,factC). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.05858499999999999,0.5819163832766553,train,highly unlikely,certain,It is highly unlikely that either 'Brian is a swan' or 'Lily is gray' but not both.,It is certain that either 'Brian is a swan' or 'Lily is gray' but not both.,0,Either 'Brian is a swan' or 'Lily is gray' but not both. It is almost certain that Jeff went to the hallway. There is a very good chance that Sandra dropped the milk. Chances are slight that Bernhard is a swan. We doubt that if either 'Sandra dropped the milk' or 'Jeff went to the hallway' but not both then John left the football. Chances are slight that if 'Sandra dropped the milk' or 'Bernhard is a swan' or both then Lily is a lion. It is impossible that if 'Jeff went to the hallway and Sandra dropped the milk' then Mary grabbed the milk.,It is probably the case that 'Mary grabbed the milk 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.95::factA. 0.8::factB. 0.1::factC. %hop1 0.2::factX:-xor(factB,factA). 0.1::factY:-or(factB,factC). 0.0::factZ:-and(factA,factB). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.0,0.7949589917983597,train,impossible,probably,It is impossible that 'Mary grabbed the milk and Sandra dropped the milk'.,It is probably the case that 'Mary grabbed the milk and Sandra dropped the milk'.,0,'Mary grabbed the milk and Sandra dropped the milk'. It is impossible that Bernhard is a swan. There is almost no chance that Brian is a frog. It is likely that Jeff left the football. There is a better than even chance that if either 'Bernhard is a swan' or 'Brian is a frog' but not both then Julius is a rhino. There is a very good chance that if 'Jeff left the football' or 'Brian is a frog' or both then Greg is a swan. There is almost no chance that if either 'Bernhard is a swan' or 'Jeff left the football' but not both then John went to the garden.,It is impossible that either 'Julius is a rhino' 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.0::factA. 0.02::factB. 0.7::factC. %hop1 0.6::factX:-xor(factA,factB). 0.8::factY:-or(factC,factB). 0.02::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.008000000000000004,0.34046809361872377,train,impossible,highly likely,It is impossible that either 'Julius is a rhino' or 'Brian is a frog' but not both.,It is highly likely that either 'Julius is a rhino' or 'Brian is a frog' but not both.,1,Either 'Julius is a rhino' or 'Brian is a frog' but not both. We believe that Jason is tired. It is unlikely that Mary put down the apple. It is highly unlikely that Brian is yellow. Chances are slight that if 'Brian is yellow' or 'Mary put down the apple' or both then Sandra got the football. It is improbable that if 'Mary put down the apple' or 'Brian is yellow' or both then John left the milk. It is highly likely that if either 'Jason is tired' or 'Mary put down the apple' but not both then Bernhard is green.,We believe that 'Sandra got the football and John 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.75::factA. 0.2::factB. 0.05::factC. %hop1 0.1::factX:-or(factC,factB). 0.1::factY:-or(factB,factC). 0.9::factZ:-xor(factA,factB). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.0024000000000000015,0.6353270654130826,train,impossible,we believe,It is impossible that 'Sandra got the football and John left the milk'.,We believe that 'Sandra got the football and John left the milk'.,0,'Sandra got the football and John left the milk'. There is a better than even chance that Bernhard is green. It is probably not the case that Mary got the apple. It is highly unlikely that Lily is a swan. We believe that if 'Mary got the apple and Bernhard is green' then Greg is a rhino. We believe that if 'Mary got the apple and Lily is a swan' then Jessica is a wolf. It is certain that if either 'Lily is a swan' or 'Mary got the apple' but not both then John left the milk.,It is highly unlikely that either 'John left the milk' 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.6::factA. 0.25::factB. 0.05::factC. %hop1 0.75::factX:-and(factB,factA). 0.75::factY:-and(factB,factC). 1.0::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.05000000000000001,0.22824564912982598,train,highly unlikely,probable,It is highly unlikely that either 'John left the milk' or 'Mary got the apple' but not both.,It is probable that either 'John left the milk' or 'Mary got the apple' but not both.,1,Either 'John left the milk' or 'Mary got the apple' but not both. It is certain that Sandra got the football. It is improbable that Jeff put down the milk. It is highly unlikely that Bernhard is a rhino. Chances are slight that if 'Sandra got the football' or 'Jeff put down the milk' or both then Greg is a lion. Chances are about even that if either 'Bernhard is a rhino' or 'Sandra got the football' but not both then Mary left the football. It is impossible that if 'Bernhard is a rhino' or 'Jeff put down the milk' or both then John went to the office.,It is likely that either 'Jeff put down the milk' 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 1.0::factA. 0.1::factB. 0.05::factC. %hop1 0.1::factX:-or(factA,factB). 0.5::factY:-xor(factC,factA). 0.0::factZ:-or(factC,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.18000000000000005,0.33626725345069014,train,unlikely,likely,It is unlikely that either 'Jeff put down the milk' or 'Greg is a lion' but not both.,It is likely that either 'Jeff put down the milk' or 'Greg is a lion' but not both.,0,Either 'Jeff put down the milk' or 'Greg is a lion' but not both. There is almost no chance that Bill went to the bedroom. We doubt that Mary dropped the milk. It is certain that Sandra left the milk. It is impossible that if 'Bill went to the bedroom' or 'Sandra left the milk' or both then Lily is green. It is probable that if 'Sandra left the milk' or 'Mary dropped the milk' or both then Bernhard is a rhino. We believe that if 'Bill went to the bedroom' or 'Sandra left the milk' or both then Brian is green.,We doubt that either 'Lily is green' or 'Sandra 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.02::factA. 0.2::factB. 1.0::factC. %hop1 0.0::factX:-or(factA,factC). 0.7::factY:-or(factC,factB). 0.75::factZ:-or(factA,factC). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",1.0,0.635127025405081,train,certain,we doubt,It is certain that either 'Lily is green' or 'Sandra left the milk' but not both.,We doubt that either 'Lily is green' or 'Sandra left the milk' but not both.,0,Either 'Lily is green' or 'Sandra left the milk' but not both. It is highly unlikely that Brian is green. It is probably not the case that Julius is a rhino. We believe that Winona is a cat. It is unlikely that if 'Julius is a rhino' or 'Brian is green' or both then Antoine is hungry. It is impossible that if 'Winona is a cat and Julius is a rhino' then John took the apple. Chances are slight that if 'Julius is a rhino' or 'Winona is a cat' or both then Bernhard is white.,There is a better than even chance that 'Julius is a rhino 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.05::factA. 0.25::factB. 0.75::factC. %hop1 0.2::factX:-or(factB,factA). 0.0::factY:-and(factC,factB). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.05000000000000001,0.2486497299459892,train,highly unlikely,better than even,It is highly unlikely that 'Julius is a rhino and Antoine is hungry'.,There is a better than even chance that 'Julius is a rhino and Antoine is hungry'.,0,'Julius is a rhino and Antoine is hungry'. Chances are about even that Julius is a swan. There is almost no chance that Bernhard is white. There is little chance that Sandra got the milk. It is almost certain that if 'Julius is a swan and Sandra got the milk' then John put down the apple. We believe that if either 'Bernhard is white' or 'Sandra got the milk' but not both then Greg is yellow. It is highly likely that if 'Bernhard is white' or 'Julius is a swan' or both then Gertrude is a sheep.,It is certain that either 'John put down the apple' or 'Sandra 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.5::factA. 0.02::factB. 0.1::factC. %hop1 0.95::factX:-and(factA,factC). 0.75::factY:-xor(factB,factC). 0.9::factZ:-or(factB,factA). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.05250000000000002,0.6967393478695739,train,highly unlikely,certain,It is highly unlikely that either 'John put down the apple' or 'Sandra got the milk' but not both.,It is certain that either 'John put down the apple' or 'Sandra got the milk' but not both.,0,Either 'John put down the apple' or 'Sandra got the milk' but not both. It is probably not the case that Jeff moved to the garden. We believe that Greg is white. It is probably the case that Winona is a sheep. It is improbable that if 'Greg is white' or 'Winona is a sheep' or both then Julius is a lion. Chances are about even that if 'Jeff moved to the garden' or 'Winona is a sheep' or both then Lily is yellow. It is highly unlikely that if 'Winona is a sheep and Greg is white' then John discarded the milk.,It is almost certain that 'Lily is yellow 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.25::factA. 0.75::factB. 0.7::factC. %hop1 0.1::factX:-or(factB,factC). 0.5::factY:-or(factA,factC). 0.05::factZ:-and(factC,factB). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.3499999999999999,0.5773154630926185,train,probably not,almost certain,It is probably not the case that 'Lily is yellow and Winona is a sheep'.,It is almost certain that 'Lily is yellow and Winona is a sheep'.,0,'Lily is yellow and Winona is a sheep'. We doubt that Greg is gray. It is likely that Mary went to the garden. It is certain that John moved to the office. It is probably the case that if 'Greg is gray and Mary went to the garden' then Emily is a cat. It is almost certain that if either 'John moved to the office' or 'Mary went to the garden' but not both then Brian is a frog. There is almost no chance that if 'Greg is gray' or 'Mary went to the garden' or both then Bernhard is yellow.,Chances are slight that 'Mary went to the garden' or 'Emily 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.2::factA. 0.7::factB. 1.0::factC. %hop1 0.7::factX:-and(factA,factB). 0.95::factY:-xor(factC,factB). 0.02::factZ:-or(factA,factB). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.7,0.23364672934586916,train,probable,chances are slight,It is probable that 'Mary went to the garden' or 'Emily is a cat' or both.,Chances are slight that 'Mary went to the garden' or 'Emily is a cat' or both.,0,'Mary went to the garden' or 'Emily is a cat' or both. There is a very good chance that Bernhard is a swan. It is unlikely that Mary left the milk. It is highly unlikely that Jessica is a cat. There is little chance that if either 'Jessica is a cat' or 'Mary left the milk' but not both then Lily is gray. There is a better than even chance that if 'Mary left the milk and Bernhard is a swan' then John took the apple. It is probably the case that if 'Mary left the milk and Bernhard is a swan' then Yann is tired.,It is highly likely that 'Mary left the milk' 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.8::factA. 0.2::factB. 0.05::factC. %hop1 0.1::factX:-xor(factC,factB). 0.6::factY:-and(factB,factA). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.20400000000000004,0.4440888177635527,train,we doubt,highly likely,We doubt that 'Mary left the milk' or 'Lily is gray' or both.,It is highly likely that 'Mary left the milk' or 'Lily is gray' or both.,0,'Mary left the milk' or 'Lily is gray' or both. It is likely that Sandra left the football. It is unlikely that Julius is a frog. It is almost certain that Antoine is bored. It is certain that if either 'Julius is a frog' or 'Sandra left the football' but not both then Sumit is tired. It is likely that if 'Antoine is bored and Julius is a frog' then Greg is white. There is a better than even chance that if 'Sandra left the football' or 'Antoine is bored' or both then Mary moved to the office.,It is probable that 'Sumit is tired 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.7::factA. 0.2::factB. 0.95::factC. %hop1 1.0::factX:-xor(factB,factA). 0.7::factY:-and(factC,factB). 0.6::factZ:-or(factA,factC). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.03990000000000001,0.2616523304660932,train,highly unlikely,probable,It is highly unlikely that 'Sumit is tired and Greg is white'.,It is probable that 'Sumit is tired and Greg is white'.,0,'Sumit is tired and Greg is white'. There is a very good chance that Sumit is thirsty. It is probably the case that Lily is a swan. We believe that Mary discarded the apple. It is highly likely that if either 'Lily is a swan' or 'Sumit is thirsty' but not both then Emily is a wolf. There is a better than even chance that if either 'Lily is a swan' or 'Mary discarded the apple' but not both then Julius is green. It is improbable that if 'Lily is a swan and Sumit is thirsty' then Bill went to the garden.,There is a very good chance that 'Sumit is thirsty' 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.8::factA. 0.7::factB. 0.75::factC. %hop1 0.9::factX:-xor(factB,factA). 0.6::factY:-xor(factB,factC). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.8,0.39247849569913984,train,very good chance,probably not,There is a very good chance that 'Sumit is thirsty' or 'Bill went to the garden' or both.,It is probably not the case that 'Sumit is thirsty' or 'Bill went to the garden' or both.,1,'Sumit is thirsty' or 'Bill went to the garden' or both. It is probably not the case that John went to the kitchen. It is unlikely that Bernhard is green. It is highly unlikely that Brian is a rhino. It is highly unlikely that if 'Brian is a rhino' or 'Bernhard is green' or both then Mary moved to the office. It is certain that if either 'Bernhard is green' or 'Brian is a rhino' but not both then Lily is a swan. There is little chance that if 'John went to the kitchen' or 'Bernhard is green' or both then Fred left the football.,There is almost no chance that 'Lily is a swan and Fred 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.25::factA. 0.2::factB. 0.05::factC. %hop1 0.05::factX:-or(factC,factB). 1.0::factY:-xor(factB,factC). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.02,0.4606921384276855,train,almost no chance,we believe,There is almost no chance that 'Lily is a swan and Fred left the football'.,We believe that 'Lily is a swan and Fred left the football'.,1,'Lily is a swan and Fred left the football'. There is almost no chance that Mary grabbed the apple. There is a better than even chance that Julius is yellow. It is highly unlikely that Lily is a rhino. There is almost no chance that if 'Lily is a rhino and Mary grabbed the apple' then Brian is a lion. It is improbable that if either 'Mary grabbed the apple' or 'Julius is yellow' but not both then Greg is green. There is almost no chance that if 'Mary grabbed the apple and Julius is yellow' then Bernhard is gray.,Chances are about even that 'Julius is yellow 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.02::factA. 0.6::factB. 0.05::factC. %hop1 0.02::factX:-and(factC,factA). 0.1::factY:-xor(factA,factB). 0.02::factZ:-and(factA,factB). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.0588,0.1818363672734547,train,highly unlikely,about even,It is highly unlikely that 'Julius is yellow and Greg is green'.,Chances are about even that 'Julius is yellow and Greg is green'.,0,'Julius is yellow and Greg is green'. It is impossible that Emily is a mouse. It is probable that Greg is a rhino. There is little chance that Sandra got the milk. It is probable that if 'Emily is a mouse' or 'Greg is a rhino' or both then Julius is a lion. It is probably not the case that if either 'Emily is a mouse' or 'Greg is a rhino' but not both then Mary went to the hallway. Chances are slight that if 'Greg is a rhino' or 'Sandra got the milk' or both then Bernhard is a swan.,It is probably the case that either 'Sandra got 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.0::factA. 0.7::factB. 0.1::factC. %hop1 0.7::factX:-or(factA,factB). 0.25::factY:-xor(factA,factB). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6599999999999999,0.16663332666533306,train,probably,chances are slight,It is probably the case that either 'Sandra got the milk' or 'Greg is a rhino' but not both.,Chances are slight that either 'Sandra got the milk' or 'Greg is a rhino' but not both.,1,Either 'Sandra got the milk' or 'Greg is a rhino' but not both. Chances are about even that Mary took the football. We believe that Julius is white. It is probably not the case that Fred discarded the apple. We doubt that if either 'Julius is white' or 'Mary took the football' but not both then Daniel put down the milk. It is certain that if 'Fred discarded the apple and Mary took the football' then Brian is green. Chances are about even that if 'Julius is white and Fred discarded the apple' then Gertrude is a cat.,There is little chance that either 'Daniel put down the milk' 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.5::factA. 0.75::factB. 0.25::factC. %hop1 0.2::factX:-xor(factB,factA). 1.0::factY:-and(factC,factA). 0.5::factZ:-and(factB,factC). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.55,0.05461092218443689,train,better than even,little chance,There is a better than even chance that either 'Daniel put down the milk' or 'Mary took the football' but not both.,There is little chance that either 'Daniel put down the milk' or 'Mary took the football' but not both.,0,Either 'Daniel put down the milk' or 'Mary took the football' but not both. Chances are slight that Winona is a mouse. It is highly likely that Jeff moved to the office. There is little chance that Mary left the football. It is probably not the case that if 'Mary left the football' or 'Winona is a mouse' or both then Julius is green. It is highly unlikely that if 'Mary left the football' or 'Winona is a mouse' or both then Bernhard is a frog. Chances are about even that if 'Mary left the football' or 'Jeff moved to the office' or both then Emily is a wolf.,There is almost no chance that 'Winona is a mouse 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 0.1::factA. 0.9::factB. 0.1::factC. %hop1 0.25::factX:-or(factC,factA). 0.05::factY:-or(factC,factA). 0.5::factZ:-or(factC,factB). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.025000000000000012,0.6775355071014203,train,almost no chance,we believe,There is almost no chance that 'Winona is a mouse and Julius is green'.,We believe that 'Winona is a mouse and Julius is green'.,1,'Winona is a mouse and Julius is green'. It is highly unlikely that Lily is green. It is unlikely that Julius is a frog. It is unlikely that John took the apple. There is a very good chance that if 'Lily is green' or 'John took the apple' or both then Greg is white. It is almost certain that if 'Julius is a frog' or 'John took the apple' or both then Mary picked up the milk. It is unlikely that if 'John took the apple and Julius is a frog' then Bernhard is a rhino.,Chances are about even that 'Lily is green 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.05::factA. 0.2::factB. 0.2::factC. %hop1 0.8::factX:-or(factA,factC). 0.95::factY:-or(factB,factC). 0.2::factZ:-and(factC,factB). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.04000000000000001,0.2434486897379476,train,highly unlikely,about even,It is highly unlikely that 'Lily is green and Greg is white'.,Chances are about even that 'Lily is green and Greg is white'.,0,'Lily is green and Greg is white'. It is almost certain that Bernhard is white. Chances are about even that Sumit is bored. There is a very good chance that Greg is a rhino. We doubt that if either 'Sumit is bored' or 'Bernhard is white' but not both then Brian is a lion. It is probable that if 'Greg is a rhino' or 'Sumit is bored' or both then John went to the hallway. It is impossible that if 'Greg is a rhino' or 'Bernhard is white' or both then Sandra left the apple.,It is impossible that 'John went to the hallway' 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.5::factB. 0.8::factC. %hop1 0.2::factX:-xor(factB,factA). 0.7::factY:-or(factC,factB). 0.0::factZ:-or(factC,factA). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.6733,0.5617123424684937,train,probable,impossible,It is probable that 'John went to the hallway' or 'Brian is a lion' or both.,It is impossible that 'John went to the hallway' or 'Brian is a lion' or both.,0,'John went to the hallway' or 'Brian is a lion' or both. There is little chance that Bill moved to the office. It is highly unlikely that Daniel got the football. It is highly likely that Brian is a swan. It is unlikely that if 'Brian is a swan and Bill moved to the office' then Emily is a sheep. There is little chance that if 'Bill moved to the office' or 'Daniel got the football' or both then Gertrude is a cat. There is almost no chance that if 'Bill moved to the office and Brian is a swan' then John took the apple.,It is impossible that 'Emily is a sheep and Daniel 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.9::factC. %hop1 0.2::factX:-and(factC,factA). 0.1::factY:-or(factA,factB). 0.02::factZ:-and(factA,factC). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.0009000000000000006,0.7329465893178636,train,impossible,very good chance,It is impossible that 'Emily is a sheep and Daniel got the football'.,There is a very good chance that 'Emily is a sheep and Daniel got the football'.,1,'Emily is a sheep and Daniel got the football'. There is almost no chance that Lily is a lion. It is probably not the case that John moved to the office. It is almost certain that Julius is green. It is improbable that if 'Julius is green' or 'John moved to the office' or both then Gertrude is a sheep. It is almost certain that if either 'Julius is green' or 'Lily is a lion' but not both then Mary dropped the apple. It is impossible that if either 'Lily is a lion' or 'Julius is green' but not both then Winona is a mouse.,We doubt that 'John moved to the office and Mary 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.02::factA. 0.25::factB. 0.95::factC. %hop1 0.1::factX:-or(factC,factB). 0.95::factY:-xor(factC,factA). 0.0::factZ:-xor(factA,factC). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.22135,0.6817363472694539,train,we doubt,almost certain,We doubt that 'John moved to the office and Mary dropped the apple'.,It is almost certain that 'John moved to the office and Mary dropped the apple'.,1,'John moved to the office and Mary dropped the apple'. Chances are about even that John discarded the milk. We doubt that Greg is a swan. It is impossible that Brian is white. There is almost no chance that if 'John discarded the milk and Brian is white' then Lily is a rhino. Chances are slight that if 'Brian is white and Greg is a swan' then Mary moved to the garden. There is almost no chance that if 'Greg is a swan' or 'John discarded the milk' or both then Bernhard is green.,It is impossible that 'Mary moved to the garden 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.5::factA. 0.2::factB. 0.0::factC. %hop1 0.02::factX:-and(factA,factC). 0.1::factY:-and(factC,factB). 0.02::factZ:-or(factB,factA). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.0,0.10102020404080816,train,impossible,better than even,It is impossible that 'Mary moved to the garden and Brian is white'.,There is a better than even chance that 'Mary moved to the garden and Brian is white'.,1,'Mary moved to the garden and Brian is white'. It is impossible that Bernhard is white. It is unlikely that John went to the kitchen. It is highly unlikely that Brian is yellow. There is almost no chance that if 'John went to the kitchen and Bernhard is white' then Jeff dropped the apple. It is likely that if either 'Bernhard is white' or 'Brian is yellow' but not both then Lily is a frog. It is unlikely that if 'Brian is yellow' or 'John went to the kitchen' or both then Julius is a lion.,It is likely that 'Julius is a lion' 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.0::factA. 0.2::factB. 0.05::factC. %hop1 0.02::factX:-and(factB,factA). 0.7::factY:-xor(factA,factC). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.048,0.040808161632326465,train,highly unlikely,likely,It is highly unlikely that 'Julius is a lion' or 'Bernhard is white' or both.,It is likely that 'Julius is a lion' or 'Bernhard is white' or both.,0,'Julius is a lion' or 'Bernhard is white' or both. Chances are slight that Bernhard is a frog. It is almost certain that Jason is tired. It is probable that John went to the bedroom. There is a better than even chance that if 'Jason is tired and John went to the bedroom' then Mary left the apple. We believe that if 'John went to the bedroom and Bernhard is a frog' then Brian is white. It is certain that if 'Jason is tired' or 'Bernhard is a frog' or both then Lily is a swan.,Chances are slight that 'Bernhard 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.95::factB. 0.7::factC. %hop1 0.6::factX:-and(factB,factC). 0.75::factY:-and(factC,factA). 1.0::factZ:-or(factB,factA). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.955,0.4738947789557912,train,almost certain,chances are slight,It is almost certain that 'Bernhard is a frog' or 'Lily is a swan' or both.,Chances are slight that 'Bernhard is a frog' or 'Lily is a swan' or both.,0,'Bernhard is a frog' or 'Lily is a swan' or both. It is probably not the case that Greg is green. It is improbable that Lily is yellow. It is probably not the case that Julius is a swan. It is likely that if either 'Lily is yellow' or 'Julius is a swan' but not both then Brian is a rhino. It is probably the case that if 'Greg is green and Julius is a swan' then John went to the garden. It is improbable that if 'Lily is yellow and Julius is a swan' then Fred put down the apple.,It is probably not the case that either 'Julius is a swan' or 'Fred 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.1::factB. 0.25::factC. %hop1 0.7::factX:-xor(factB,factC). 0.7::factY:-and(factA,factC). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.24750000000000003,0.36007201440288056,train,probably not,almost certain,It is probably not the case that either 'Julius is a swan' or 'Fred put down the apple' but not both.,It is almost certain that either 'Julius is a swan' or 'Fred put down the apple' but not both.,1,Either 'Julius is a swan' or 'Fred put down the apple' but not both. We doubt that Sandra dropped the milk. It is impossible that Bill went to the kitchen. It is almost certain that Brian is a lion. It is certain that if 'Brian is a lion and Sandra dropped the milk' then Julius is white. It is probably the case that if 'Brian is a lion and Bill went to the kitchen' then Bernhard is a frog. We doubt that if either 'Bill went to the kitchen' or 'Sandra dropped the milk' but not both then Greg is a swan.,It is impossible that 'Bill went to the kitchen' 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.2::factA. 0.0::factB. 0.95::factC. %hop1 1.0::factX:-and(factC,factA). 0.7::factY:-and(factC,factB). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.0,0.6683336667333467,train,impossible,better than even,It is impossible that 'Bill went to the kitchen' or 'Bernhard is a frog' or both.,There is a better than even chance that 'Bill went to the kitchen' or 'Bernhard is a frog' or both.,1,'Bill went to the kitchen' or 'Bernhard is a frog' or both. It is unlikely that Bill went to the garden. There is almost no chance that Brian is white. There is almost no chance that Jessica is a mouse. We believe that if 'Jessica is a mouse and Bill went to the garden' then Lily is a frog. There is a better than even chance that if 'Brian is white' or 'Bill went to the garden' or both then Winona is a mouse. It is probable that if 'Bill went to the garden' or 'Jessica is a mouse' or both then Sandra got the milk.,It is unlikely that 'Lily 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.2::factA. 0.02::factB. 0.02::factC. %hop1 0.75::factX:-and(factC,factA). 0.6::factY:-or(factB,factA). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.15209999999999999,0.17103420684136827,train,unlikely,very good chance,It is unlikely that 'Lily is a frog' or 'Sandra got the milk' or both.,There is a very good chance that 'Lily is a frog' or 'Sandra got the milk' or both.,1,'Lily is a frog' or 'Sandra got the milk' or both. It is improbable that Winona is a wolf. It is probably the case that Jeff went to the bedroom. It is impossible that Mary got the football. There is little chance that if 'Jeff went to the bedroom' or 'Winona is a wolf' or both then Julius is a lion. It is impossible that if 'Mary got the football and Jeff went to the bedroom' then John moved to the garden. It is probable that if 'Jeff went to the bedroom' or 'Mary got the football' or both then Lily is green.,It is probable that 'Jeff went to the bedroom' 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.7::factB. 0.0::factC. %hop1 0.1::factX:-or(factB,factA). 0.0::factY:-and(factC,factB). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.7,0.4966993398679736,train,probable,improbable,It is probable that 'Jeff went to the bedroom' or 'Mary got the football' or both.,It is improbable that 'Jeff went to the bedroom' or 'Mary got the football' or both.,1,'Jeff went to the bedroom' or 'Mary got the football' or both. It is almost certain that Sandra took the football. It is certain that Brian is yellow. It is impossible that Mary left the football. It is probably not the case that if 'Mary left the football' or 'Brian is yellow' or both then Jason is tired. It is likely that if either 'Brian is yellow' or 'Mary left the football' but not both then Lily is green. Chances are slight that if 'Mary left the football' or 'Sandra took the football' or both then Bernhard is a frog.,It is probably not the case that either 'Lily is green' 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.95::factA. 1.0::factB. 0.0::factC. %hop1 0.25::factX:-or(factC,factB). 0.7::factY:-xor(factB,factC). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.30000000000000004,0.14902980596119225,train,probably not,probable,It is probably not the case that either 'Lily is green' or 'Brian is yellow' but not both.,It is probable that either 'Lily is green' or 'Brian is yellow' but not both.,1,Either 'Lily is green' or 'Brian is yellow' but not both. There is a better than even chance that John went to the bedroom. It is highly unlikely that Mary took the football. It is likely that Brian is a lion. It is probable that if either 'Brian is a lion' or 'John went to the bedroom' but not both then Bernhard is a rhino. It is likely that if 'Mary took the football' or 'John went to the bedroom' or both then Julius is yellow. It is improbable that if 'Mary took the football' or 'John went to the bedroom' or both then Winona is a wolf.,Chances are about even that 'Mary took the football and John 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.6::factA. 0.05::factB. 0.7::factC. %hop1 0.7::factX:-xor(factC,factA). 0.7::factY:-or(factB,factA). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.029999999999999995,0.5739147829565914,train,almost no chance,about even,There is almost no chance that 'Mary took the football and John went to the bedroom'.,Chances are about even that 'Mary took the football and John went to the bedroom'.,0,'Mary took the football and John went to the bedroom'. We believe that Mary left the football. It is probably not the case that John put down the apple. It is unlikely that Bernhard is green. We doubt that if either 'Mary left the football' or 'Bernhard is green' but not both then Julius is white. It is probably not the case that if either 'Bernhard is green' or 'John put down the apple' but not both then Gertrude is a mouse. Chances are slight that if 'Mary left the football' or 'John put down the apple' or both then Brian is green.,There is a better than even chance that 'Brian 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.75::factA. 0.25::factB. 0.2::factC. %hop1 0.2::factX:-xor(factA,factC). 0.25::factY:-xor(factC,factB). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.07500000000000002,0.6509301860372074,train,chances are slight,better than even,Chances are slight that 'Brian is green and Mary left the football'.,There is a better than even chance that 'Brian is green and Mary left the football'.,0,'Brian is green and Mary left the football'. It is improbable that Greg is a lion. It is probable that Mary moved to the garden. It is probably the case that John left the milk. It is unlikely that if 'John left the milk and Greg is a lion' then Sumit is bored. It is certain that if either 'John left the milk' or 'Mary moved to the garden' but not both then Brian is a swan. It is probable that if 'John left the milk' or 'Mary moved to the garden' or both then Bernhard is a rhino.,We doubt that either 'Sumit is bored' or 'Mary 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.1::factA. 0.7::factB. 0.7::factC. %hop1 0.2::factX:-and(factC,factA). 1.0::factY:-xor(factC,factB). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.6943999999999999,0.5879175835167033,train,probably,we doubt,It is probably the case that either 'Sumit is bored' or 'Mary moved to the garden' but not both.,We doubt that either 'Sumit is bored' or 'Mary moved to the garden' but not both.,0,Either 'Sumit is bored' or 'Mary moved to the garden' but not both. It is almost certain that Brian is a frog. It is probable that Lily is yellow. There is a better than even chance that Sandra took the milk. There is a better than even chance that if 'Brian is a frog' or 'Lily is yellow' or both then John grabbed the apple. We believe that if 'Lily is yellow and Brian is a frog' then Mary dropped the apple. It is improbable that if 'Brian is a frog' or 'Lily is yellow' or both then Bernhard is white.,It is impossible that either 'Brian is a frog' 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.95::factA. 0.7::factB. 0.6::factC. %hop1 0.6::factX:-or(factA,factB). 0.75::factY:-and(factB,factA). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.41000000000000003,0.4268853770754151,train,about even,impossible,Chances are about even that either 'Brian is a frog' or 'Sandra took the milk' but not both.,It is impossible that either 'Brian is a frog' or 'Sandra took the milk' but not both.,0,Either 'Brian is a frog' or 'Sandra took the milk' but not both. We doubt that Sandra dropped the milk. There is a very good chance that Lily is a swan. Chances are slight that Brian is yellow. There is little chance that if either 'Sandra dropped the milk' or 'Brian is yellow' but not both then Yann is tired. We doubt that if either 'Sandra dropped the milk' or 'Lily is a swan' but not both then John took the apple. It is probable that if 'Lily is a swan and Brian is yellow' then Mary moved to the garden.,There is little chance that either 'Brian is yellow' or 'Yann 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.2::factA. 0.8::factB. 0.1::factC. %hop1 0.1::factX:-xor(factA,factC). 0.2::factY:-xor(factA,factB). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.11000000000000007,0.07381476295259051,train,little chance,almost certain,There is little chance that either 'Brian is yellow' or 'Yann is tired' but not both.,It is almost certain that either 'Brian is yellow' or 'Yann is tired' but not both.,1,Either 'Brian is yellow' or 'Yann is tired' but not both. It is improbable that Mary left the milk. It is impossible that Jessica is a cat. We doubt that Brian is gray. It is certain that if 'Jessica is a cat' or 'Brian is gray' or both then John went to the garden. It is certain that if 'Jessica is a cat' or 'Brian is gray' or both then Julius is white. We doubt that if 'Jessica is a cat' or 'Mary left the milk' or both then Lily is green.,Chances are about even that 'Lily is green 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.1::factA. 0.0::factB. 0.2::factC. %hop1 1.0::factX:-or(factB,factC). 1.0::factY:-or(factB,factC). 0.2::factZ:-or(factB,factA). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.0,0.42308461692338467,train,impossible,about even,It is impossible that 'Lily is green and Jessica is a cat'.,Chances are about even that 'Lily is green and Jessica is a cat'.,0,'Lily is green and Jessica is a cat'. It is likely that Daniel put down the milk. It is highly likely that Brian is green. There is a better than even chance that Bernhard is yellow. It is certain that if either 'Daniel put down the milk' or 'Brian is green' but not both then Greg is a rhino. It is likely that if 'Daniel put down the milk and Bernhard is yellow' then Lily is a lion. It is probably the case that if 'Daniel put down the milk' or 'Bernhard is yellow' or both then John went to the kitchen.,It is almost certain that 'Greg is a rhino 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.7::factA. 0.9::factB. 0.6::factC. %hop1 1.0::factX:-xor(factA,factB). 0.7::factY:-and(factA,factC). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.06999999999999998,0.25265053010602123,train,highly unlikely,almost certain,It is highly unlikely that 'Greg is a rhino and Daniel put down the milk'.,It is almost certain that 'Greg is a rhino and Daniel put down the milk'.,0,'Greg is a rhino and Daniel put down the milk'. It is unlikely that Brian is a rhino. We doubt that Mary discarded the milk. There is little chance that Sandra left the milk. There is a very good chance that if 'Brian is a rhino and Mary discarded the milk' then John picked up the apple. It is certain that if 'Brian is a rhino' or 'Sandra left the milk' or both then Lily is a swan. It is improbable that if 'Mary discarded the milk and Brian is a rhino' then Bernhard is a frog.,We doubt that either 'John picked up the apple' 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.2::factA. 0.2::factB. 0.1::factC. %hop1 0.8::factX:-and(factA,factB). 1.0::factY:-or(factA,factC). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.168,0.6751350270054011,train,we doubt,probably,We doubt that either 'John picked up the apple' or 'Brian is a rhino' but not both.,It is probably the case that either 'John picked up the apple' or 'Brian is a rhino' but not both.,1,Either 'John picked up the apple' or 'Brian is a rhino' but not both. It is unlikely that Brian is a frog. It is highly likely that Jason is tired. It is highly unlikely that Greg is green. It is highly unlikely that if 'Brian is a frog' or 'Greg is green' or both then Fred moved to the office. Chances are slight that if either 'Brian is a frog' or 'Greg is green' but not both then Lily is yellow. It is impossible that if 'Brian is a frog' or 'Jason is tired' or both then Mary dropped the apple.,It is almost certain that 'Lily is yellow and Mary 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.9::factB. 0.05::factC. %hop1 0.05::factX:-or(factA,factC). 0.1::factY:-xor(factA,factC). 0.0::factZ:-or(factA,factB). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.0,0.5283056611322264,train,impossible,almost certain,It is impossible that 'Lily is yellow and Mary dropped the apple'.,It is almost certain that 'Lily is yellow and Mary dropped the apple'.,0,'Lily is yellow and Mary dropped the apple'. It is likely that Greg is a frog. It is impossible that Bernhard is yellow. It is unlikely that John left the apple. Chances are slight that if 'Bernhard is yellow' or 'Greg is a frog' or both then Fred moved to the office. It is probable that if 'Greg is a frog' or 'John left the apple' or both then Mary went to the kitchen. There is little chance that if 'John left the apple and Bernhard is yellow' then Julius is gray.,It is impossible that 'Julius is gray' or 'Bernhard 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.7::factA. 0.0::factB. 0.2::factC. %hop1 0.1::factX:-or(factB,factA). 0.7::factY:-or(factA,factC). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.0,0.5663132626525305,train,impossible,very good chance,It is impossible that 'Julius is gray' or 'Bernhard is yellow' or both.,There is a very good chance that 'Julius is gray' or 'Bernhard is yellow' or both.,1,'Julius is gray' or 'Bernhard is yellow' or both. It is probable that Brian is gray. It is probable that Greg is a frog. It is highly likely that Winona is a sheep. There is little chance that if 'Greg is a frog' or 'Brian is gray' or both then Jeff went to the garden. We doubt that if 'Brian is gray' or 'Winona is a sheep' or both then Julius is a swan. It is certain that if either 'Winona is a sheep' or 'Greg is a frog' but not both then Mary left the football.,It is almost certain that 'Julius is a swan 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.7::factA. 0.7::factB. 0.9::factC. %hop1 0.1::factX:-or(factB,factA). 0.2::factY:-or(factA,factC). 1.0::factZ:-xor(factC,factB). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.0638,0.7171434286857371,train,highly unlikely,almost certain,It is highly unlikely that 'Julius is a swan and Mary left the football'.,It is almost certain that 'Julius is a swan and Mary left the football'.,0,'Julius is a swan and Mary left the football'. It is highly unlikely that Gertrude is a wolf. Chances are slight that Jessica is a mouse. It is certain that Bernhard is white. It is highly unlikely that if 'Jessica is a mouse' or 'Bernhard is white' or both then Julius is green. We believe that if either 'Jessica is a mouse' or 'Bernhard is white' but not both then Lily is a lion. It is probably not the case that if either 'Jessica is a mouse' or 'Bernhard is white' but not both then Brian is a frog.,It is probably not the case that 'Lily is a lion 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.05::factA. 0.1::factB. 1.0::factC. %hop1 0.05::factX:-or(factB,factC). 0.75::factY:-xor(factB,factC). 0.25::factZ:-xor(factB,factC). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.675,0.3880776155231046,train,likely,probably not,It is likely that 'Lily is a lion and Bernhard is white'.,It is probably not the case that 'Lily is a lion and Bernhard is white'.,0,'Lily is a lion and Bernhard is white'. It is highly unlikely that Bernhard is a frog. It is highly unlikely that Julius is gray. It is certain that Greg is a swan. It is highly likely that if either 'Greg is a swan' or 'Bernhard is a frog' but not both then Bill went to the kitchen. Chances are slight that if 'Greg is a swan' or 'Julius is gray' or both then Mary took the football. Chances are about even that if 'Greg is a swan' or 'Julius is gray' or both then Sandra left the milk.,It is improbable that 'Greg is a swan and Bill 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.05::factA. 0.05::factB. 1.0::factC. %hop1 0.9::factX:-xor(factC,factA). 0.1::factY:-or(factC,factB). 0.5::factZ:-or(factC,factB). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.855,0.2022404480896179,train,highly likely,improbable,It is highly likely that 'Greg is a swan and Bill went to the kitchen'.,It is improbable that 'Greg is a swan and Bill went to the kitchen'.,0,'Greg is a swan and Bill went to the kitchen'. It is unlikely that Bernhard is white. There is little chance that Julius is a lion. It is improbable that John picked up the apple. We doubt that if either 'Julius is a lion' or 'John picked up the apple' but not both then Jeff moved to the garden. It is probable that if either 'John picked up the apple' or 'Julius is a lion' but not both then Lily is a frog. It is impossible that if 'Julius is a lion and John picked up the apple' then Mary left the football.,There is almost no chance that 'Bernhard 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.2::factA. 0.1::factB. 0.1::factC. %hop1 0.2::factX:-xor(factB,factC). 0.7::factY:-xor(factC,factB). 0.0::factZ:-and(factB,factC). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.025200000000000004,0.09321864372874575,train,almost no chance,better than even,There is almost no chance that 'Bernhard is white and Lily is a frog'.,There is a better than even chance that 'Bernhard is white and Lily is a frog'.,1,'Bernhard is white and Lily is a frog'. It is probably the case that Fred dropped the apple. There is a better than even chance that Emily is a mouse. Chances are slight that Julius is a frog. It is highly unlikely that if either 'Emily is a mouse' or 'Fred dropped the apple' but not both then Jeff went to the bedroom. It is likely that if either 'Emily is a mouse' or 'Fred dropped the apple' but not both then Daniel took the milk. It is unlikely that if 'Julius is a frog' or 'Fred dropped the apple' or both then Bernhard is white.,It is certain that 'Bernhard is white' or 'Daniel 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.7::factA. 0.6::factB. 0.1::factC. %hop1 0.05::factX:-xor(factB,factA). 0.7::factY:-xor(factB,factA). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.42628,0.07401480296059212,train,about even,certain,Chances are about even that 'Bernhard is white' or 'Daniel took the milk' or both.,It is certain that 'Bernhard is white' or 'Daniel took the milk' or both.,0,'Bernhard is white' or 'Daniel took the milk' or both. It is likely that Jessica is a cat. Chances are slight that Jason is bored. It is impossible that Bernhard is a frog. There is a very good chance that if either 'Bernhard is a frog' or 'Jason is bored' but not both then Gertrude is a sheep. It is improbable that if either 'Jessica is a cat' or 'Bernhard is a frog' but not both then Jeff put down the milk. We doubt that if either 'Jason is bored' or 'Bernhard is a frog' but not both then Mary left the football.,It is highly likely that either 'Jason is bored' 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.1::factB. 0.0::factC. %hop1 0.8::factX:-xor(factC,factB). 0.1::factY:-xor(factA,factC). 0.2::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.08000000000000002,0.7311462292458492,train,chances are slight,highly likely,Chances are slight that either 'Jason is bored' or 'Mary left the football' but not both.,It is highly likely that either 'Jason is bored' or 'Mary left the football' but not both.,0,Either 'Jason is bored' or 'Mary left the football' but not both. It is impossible that Winona is a mouse. It is likely that Brian is gray. It is improbable that John left the apple. It is unlikely that if 'Winona is a mouse' or 'John left the apple' or both then Julius is white. It is improbable that if either 'Brian is gray' or 'John left the apple' but not both then Mary went to the office. There is almost no chance that if 'John left the apple and Brian is gray' then Bernhard is gray.,We believe that 'Brian is gray' or 'John 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.1::factC. %hop1 0.2::factX:-or(factA,factC). 0.1::factY:-xor(factB,factC). 0.02::factZ:-and(factC,factB). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.73,0.009001800360072015,train,we believe,unlikely,We believe that 'Brian is gray' or 'John left the apple' or both.,It is unlikely that 'Brian is gray' or 'John left the apple' or both.,1,'Brian is gray' or 'John left the apple' or both. It is almost certain that John moved to the office. There is little chance that Greg is yellow. There is little chance that Mary went to the kitchen. Chances are slight that if 'Greg is yellow and John moved to the office' then Sandra got the milk. It is probably not the case that if 'Greg is yellow' or 'John moved to the office' or both then Julius is a frog. We doubt that if 'Mary went to the kitchen' or 'John moved to the office' or both then Bernhard is a frog.,We doubt that either 'Bernhard is a frog' or 'John 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.95::factA. 0.1::factB. 0.1::factC. %hop1 0.1::factX:-and(factB,factA). 0.25::factY:-or(factB,factA). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.7609999999999999,0.22944588917783557,train,we believe,we doubt,We believe that either 'Bernhard is a frog' or 'John moved to the office' but not both.,We doubt that either 'Bernhard is a frog' or 'John moved to the office' but not both.,0,Either 'Bernhard is a frog' or 'John moved to the office' but not both. It is certain that Bill left the football. Chances are slight that Greg is a lion. It is almost certain that Mary went to the office. We doubt that if either 'Bill left the football' or 'Greg is a lion' but not both then Brian is a rhino. There is almost no chance that if either 'Bill left the football' or 'Mary went to the office' but not both then Lily is a swan. There is almost no chance that if 'Greg is a lion and Bill left the football' then Bernhard is yellow.,It is highly likely that either 'Greg 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 1.0::factA. 0.1::factB. 0.95::factC. %hop1 0.2::factX:-xor(factA,factB). 0.02::factY:-xor(factA,factC). 0.02::factZ:-and(factB,factA). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.10080000000000003,0.7169433886777355,train,little chance,highly likely,There is little chance that either 'Greg is a lion' or 'Lily is a swan' but not both.,It is highly likely that either 'Greg is a lion' or 'Lily is a swan' but not both.,0,Either 'Greg is a lion' or 'Lily is a swan' but not both. Chances are slight that John went to the office. It is highly unlikely that Bill left the football. Chances are slight that Sandra grabbed the apple. It is certain that if 'Bill left the football' or 'Sandra grabbed the apple' or both then Bernhard is a rhino. There is little chance that if either 'Sandra grabbed the apple' or 'John went to the office' but not both then Lily is yellow. There is little chance that if either 'Bill left the football' or 'John went to the office' but not both then Winona is a wolf.,It is impossible that 'Lily 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.1::factA. 0.05::factB. 0.1::factC. %hop1 1.0::factX:-or(factB,factC). 0.1::factY:-xor(factC,factA). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.00945000000000001,0.07681536307261452,train,impossible,highly likely,It is impossible that 'Lily is yellow and Bernhard is a rhino'.,It is highly likely that 'Lily is yellow and Bernhard is a rhino'.,1,'Lily is yellow and Bernhard is a rhino'. There is a better than even chance that Bernhard is yellow. Chances are about even that Greg is white. There is almost no chance that Mary got the milk. It is probably the case that if 'Mary got the milk' or 'Bernhard is yellow' or both then Lily is a swan. It is probably the case that if 'Bernhard is yellow and Mary got the milk' then Sandra left the milk. Chances are about even that if 'Greg is white' or 'Bernhard is yellow' or both then Bill moved to the office.,There is almost no chance that either 'Mary got the milk' 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.6::factA. 0.5::factB. 0.02::factC. %hop1 0.7::factX:-or(factC,factA). 0.7::factY:-and(factA,factC). 0.5::factZ:-or(factB,factA). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.5,0.23804760952190437,train,about even,almost no chance,Chances are about even that either 'Mary got the milk' or 'Greg is white' but not both.,There is almost no chance that either 'Mary got the milk' or 'Greg is white' but not both.,0,Either 'Mary got the milk' or 'Greg is white' but not both. It is highly likely that Gertrude is a cat. It is improbable that Bernhard is a swan. There is almost no chance that Brian is a lion. Chances are slight that if either 'Bernhard is a swan' or 'Gertrude is a cat' but not both then Winona is a sheep. Chances are slight that if 'Brian is a lion and Bernhard is a swan' then Greg is white. It is probably the case that if either 'Brian is a lion' or 'Gertrude is a cat' but not both then Mary moved to the garden.,It is highly unlikely that 'Winona is a sheep 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.1::factB. 0.02::factC. %hop1 0.1::factX:-xor(factB,factA). 0.1::factY:-and(factC,factB). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.05558,0.6931386277255451,train,highly unlikely,better than even,It is highly unlikely that 'Winona is a sheep and Mary moved to the garden'.,There is a better than even chance that 'Winona is a sheep and Mary moved to the garden'.,1,'Winona is a sheep and Mary moved to the garden'. It is unlikely that Julius is a lion. We doubt that Bernhard is white. There is a better than even chance that Brian is yellow. It is probable that if 'Bernhard is white' or 'Brian is yellow' or both then Greg is a lion. There is a better than even chance that if 'Brian is yellow' or 'Bernhard is white' or both then Lily is white. We believe that if 'Bernhard is white and Julius is a lion' then Mary left the apple.,Chances are about even that 'Mary left the apple' 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.2::factA. 0.2::factB. 0.6::factC. %hop1 0.7::factX:-or(factB,factC). 0.6::factY:-or(factC,factB). 0.75::factZ:-and(factB,factA). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.48500000000000004,0.392878575715143,train,about even,highly unlikely,Chances are about even that 'Mary left the apple' or 'Greg is a lion' or both.,It is highly unlikely that 'Mary left the apple' or 'Greg is a lion' or both.,1,'Mary left the apple' or 'Greg is a lion' or both. We doubt that Brian is white. It is improbable that Lily is a rhino. It is probably the case that Mary went to the bedroom. It is probably the case that if 'Lily is a rhino' or 'Brian is white' or both then Daniel dropped the apple. There is a very good chance that if 'Lily is a rhino and Brian is white' then John moved to the garden. There is a better than even chance that if either 'Lily is a rhino' or 'Mary went to the bedroom' but not both then Bernhard is yellow.,It is highly likely that either 'Brian is white' or 'Lily 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.7::factC. %hop1 0.7::factX:-or(factB,factA). 0.8::factY:-and(factB,factA). 0.6::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.26,0.15563112622524505,train,probably not,highly likely,It is probably not the case that either 'Brian is white' or 'Lily is a rhino' but not both.,It is highly likely that either 'Brian is white' or 'Lily is a rhino' but not both.,0,Either 'Brian is white' or 'Lily is a rhino' but not both. It is probable that Lily is white. It is unlikely that Brian is a rhino. It is almost certain that Mary went to the hallway. It is highly likely that if either 'Brian is a rhino' or 'Lily is white' but not both then Daniel got the football. It is likely that if 'Mary went to the hallway and Brian is a rhino' then Bernhard is yellow. It is highly likely that if either 'Brian is a rhino' or 'Lily is white' but not both then Sandra left the apple.,It is certain that 'Mary went to the hallway' 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.7::factA. 0.2::factB. 0.95::factC. %hop1 0.9::factX:-xor(factB,factA). 0.7::factY:-and(factC,factB). 0.9::factZ:-xor(factB,factA). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.9779,0.742748549709942,train,certain,impossible,It is certain that 'Mary went to the hallway' or 'Sandra left the apple' or both.,It is impossible that 'Mary went to the hallway' or 'Sandra left the apple' or both.,1,'Mary went to the hallway' or 'Sandra left the apple' or both. It is unlikely that Julius is gray. It is probable that Greg is a swan. Chances are slight that Mary moved to the garden. It is likely that if either 'Julius is gray' or 'Mary moved to the garden' but not both then Gertrude is a mouse. There is almost no chance that if 'Mary moved to the garden and Greg is a swan' then John took the football. It is improbable that if 'Mary moved to the garden and Julius is gray' then Brian is yellow.,It is unlikely that either 'Gertrude is a mouse' or 'John 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.7::factB. 0.1::factC. %hop1 0.7::factX:-xor(factA,factC). 0.02::factY:-and(factC,factB). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.18183200000000005,0.6805361072214443,train,unlikely,very good chance,It is unlikely that either 'Gertrude is a mouse' or 'John took the football' but not both.,There is a very good chance that either 'Gertrude is a mouse' or 'John took the football' but not both.,1,Either 'Gertrude is a mouse' or 'John took the football' but not both. Chances are slight that Greg is a swan. It is probably the case that Mary got the milk. It is probably the case that Bernhard is white. It is likely that if 'Bernhard is white and Greg is a swan' then Brian is a rhino. It is highly likely that if 'Greg is a swan' or 'Mary got the milk' or both then Jeff went to the garden. It is certain that if 'Mary got the milk and Bernhard is white' then Bill moved to the office.,Chances are about even that either 'Bill moved to the office' 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.1::factA. 0.7::factB. 0.7::factC. %hop1 0.7::factX:-and(factC,factA). 0.9::factY:-or(factA,factB). 1.0::factZ:-and(factB,factC). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.4704,0.6175235047009402,train,about even,certain,Chances are about even that either 'Bill moved to the office' or 'Brian is a rhino' but not both.,It is certain that either 'Bill moved to the office' or 'Brian is a rhino' but not both.,1,Either 'Bill moved to the office' or 'Brian is a rhino' but not both. It is highly unlikely that Julius is gray. There is almost no chance that Greg is a frog. It is highly likely that Mary left the football. We believe that if either 'Julius is gray' or 'Greg is a frog' but not both then Sandra dropped the milk. There is a very good chance that if 'Julius is gray' or 'Greg is a frog' or both then Bernhard is a frog. It is highly unlikely that if 'Greg is a frog and Julius is gray' then Gertrude is a cat.,It is highly unlikely that 'Gertrude is a cat' 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.05::factA. 0.02::factB. 0.9::factC. %hop1 0.75::factX:-xor(factA,factB). 0.8::factY:-or(factA,factB). 0.05::factZ:-and(factB,factA). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.055210000000000016,0.024204840968193638,train,highly unlikely,about even,It is highly unlikely that 'Gertrude is a cat' or 'Bernhard is a frog' or both.,Chances are about even that 'Gertrude is a cat' or 'Bernhard is a frog' or both.,1,'Gertrude is a cat' or 'Bernhard is a frog' or both. It is almost certain that Brian is green. It is probably the case that Jessica is a cat. There is a very good chance that Julius is white. It is certain that if 'Brian is green' or 'Julius is white' or both then Mary left the football. It is improbable that if either 'Julius is white' or 'Jessica is a cat' but not both then John went to the hallway. It is unlikely that if 'Jessica is a cat and Julius is white' then Bernhard is a frog.,We doubt that 'Mary left the football 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.95::factA. 0.7::factB. 0.8::factC. %hop1 1.0::factX:-or(factA,factC). 0.1::factY:-xor(factC,factB). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.693,0.6979395879175835,train,likely,we doubt,It is likely that 'Mary left the football and Jessica is a cat'.,We doubt that 'Mary left the football and Jessica is a cat'.,0,'Mary left the football and Jessica is a cat'. There is almost no chance that Lily is a swan. Chances are about even that Emily is a cat. Chances are slight that Mary dropped the apple. It is probably the case that if either 'Lily is a swan' or 'Emily is a cat' but not both then Gertrude is a wolf. There is a very good chance that if either 'Emily is a cat' or 'Mary dropped the apple' but not both then John went to the garden. Chances are slight that if 'Mary dropped the apple' or 'Lily is a swan' or both then Julius is yellow.,It is probably not the case that either 'Gertrude is a wolf' 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.02::factA. 0.5::factB. 0.1::factC. %hop1 0.7::factX:-xor(factA,factB). 0.8::factY:-xor(factB,factC). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.35354,0.5883176635327065,train,probably not,almost certain,It is probably not the case that either 'Gertrude is a wolf' or 'Julius is yellow' but not both.,It is almost certain that either 'Gertrude is a wolf' or 'Julius is yellow' but not both.,1,Either 'Gertrude is a wolf' or 'Julius is yellow' but not both. It is likely that Greg is yellow. It is highly unlikely that Yann is tired. Chances are slight that Sandra took the milk. We doubt that if either 'Sandra took the milk' or 'Yann is tired' but not both then John moved to the office. Chances are slight that if either 'Greg is yellow' or 'Yann is tired' but not both then Daniel got the football. It is certain that if 'Greg is yellow' or 'Yann is tired' or both then Julius is a frog.,It is probable that 'Daniel got the football' 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.7::factA. 0.05::factB. 0.1::factC. %hop1 0.2::factX:-xor(factC,factB). 0.1::factY:-xor(factA,factB). 1.0::factZ:-or(factA,factB). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.7015,0.6479295859171834,train,probable,little chance,It is probable that 'Daniel got the football' or 'Greg is yellow' or both.,There is little chance that 'Daniel got the football' or 'Greg is yellow' or both.,1,'Daniel got the football' or 'Greg is yellow' or both. Chances are about even that Greg is white. It is certain that Bernhard is a rhino. There is a very good chance that Mary left the apple. There is a better than even chance that if either 'Mary left the apple' or 'Greg is white' but not both then John moved to the garden. There is a better than even chance that if 'Mary left the apple and Bernhard is a rhino' then Lily is a swan. It is highly unlikely that if 'Mary left the apple and Bernhard is a rhino' then Julius is gray.,Chances are about even that either 'Greg is white' or 'Mary 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.5::factA. 1.0::factB. 0.8::factC. %hop1 0.6::factX:-xor(factC,factA). 0.6::factY:-and(factC,factB). 0.05::factZ:-and(factC,factB). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5,0.4292858571714343,train,about even,highly unlikely,Chances are about even that either 'Greg is white' or 'Mary left the apple' but not both.,It is highly unlikely that either 'Greg is white' or 'Mary left the apple' but not both.,1,Either 'Greg is white' or 'Mary left the apple' but not both. There is little chance that Bernhard is a lion. It is probable that John went to the garden. We believe that Lily is a rhino. It is likely that if 'Lily is a rhino' or 'Bernhard is a lion' or both then Jeff discarded the milk. It is likely that if either 'John went to the garden' or 'Bernhard is a lion' but not both then Fred dropped the apple. It is highly unlikely that if either 'Bernhard is a lion' or 'John went to the garden' but not both then Julius is a frog.,It is almost certain that either 'Bernhard is a lion' 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.1::factA. 0.7::factB. 0.75::factC. %hop1 0.7::factX:-or(factC,factA). 0.7::factY:-xor(factB,factA). 0.05::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.13,0.3050610122024405,train,chances are slight,almost certain,Chances are slight that either 'Bernhard is a lion' or 'Julius is a frog' but not both.,It is almost certain that either 'Bernhard is a lion' or 'Julius is a frog' but not both.,0,Either 'Bernhard is a lion' or 'Julius is a frog' but not both. We believe that Brian is yellow. It is highly unlikely that Julius is a frog. There is little chance that Daniel took the milk. Chances are slight that if 'Daniel took the milk' or 'Brian is yellow' or both then Bernhard is green. There is little chance that if 'Daniel took the milk' or 'Brian is yellow' or both then Fred is in the school. It is likely that if 'Brian is yellow' or 'Julius is a frog' or both then John went to the kitchen.,It is certain that 'Brian is yellow 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.75::factA. 0.05::factB. 0.1::factC. %hop1 0.1::factX:-or(factC,factA). 0.1::factY:-or(factC,factA). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.03750000000000001,0.6909381876375275,train,highly unlikely,certain,It is highly unlikely that 'Brian is yellow and Julius is a frog'.,It is certain that 'Brian is yellow and Julius is a frog'.,0,'Brian is yellow and Julius is a frog'. We doubt that Bernhard is a frog. There is a better than even chance that Daniel dropped the apple. We believe that Mary went to the hallway. There is almost no chance that if 'Bernhard is a frog and Mary went to the hallway' then Gertrude is a sheep. It is almost certain that if either 'Bernhard is a frog' or 'Daniel dropped the apple' but not both then Julius is a swan. It is almost certain that if 'Bernhard is a frog and Mary went to the hallway' then Brian is gray.,It is improbable 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.2::factA. 0.6::factB. 0.75::factC. %hop1 0.02::factX:-and(factA,factC). 0.95::factY:-xor(factA,factB). 0.95::factZ:-and(factA,factC). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5599999999999999,0.6279255851170235,train,better than even,improbable,There is a better than even chance that either 'Daniel dropped the apple' or 'Bernhard is a frog' but not both.,It is improbable 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. There is a better than even chance that Mary picked up the milk. It is probable that Jessica is a mouse. Chances are slight that Greg is a lion. We believe that if 'Mary picked up the milk' or 'Jessica is a mouse' or both then Brian is green. It is almost certain that if 'Greg is a lion' or 'Jessica is a mouse' or both then Winona is a wolf. It is certain that if 'Greg is a lion and Mary picked up the milk' then Lily is white.,It is impossible that 'Jessica is a mouse' 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.6::factA. 0.7::factB. 0.1::factC. %hop1 0.75::factX:-or(factA,factB). 0.95::factY:-or(factC,factB). 1.0::factZ:-and(factC,factA). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.718,0.40788157631526306,train,likely,impossible,It is likely that 'Jessica is a mouse' or 'Lily is white' or both.,It is impossible that 'Jessica is a mouse' or 'Lily is white' or both.,0,'Jessica is a mouse' or 'Lily is white' or both. Chances are about even that Lily is green. It is improbable that Daniel got the milk. There is little chance that Bernhard is yellow. It is impossible that if 'Lily is green and Daniel got the milk' then John grabbed the apple. It is probably the case that if 'Daniel got the milk and Lily is green' then Mary went to the office. It is probable that if 'Bernhard is yellow and Daniel got the milk' then Julius is gray.,It is probably the case that 'Mary went to the office' 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.5::factA. 0.1::factB. 0.1::factC. %hop1 0.0::factX:-and(factA,factB). 0.7::factY:-and(factB,factA). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.039550000000000016,0.6567313462692539,train,highly unlikely,probably,It is highly unlikely that 'Mary went to the office' or 'Julius is gray' or both.,It is probably the case that 'Mary went to the office' or 'Julius is gray' or both.,0,'Mary went to the office' or 'Julius is gray' or both. It is probable that Julius is white. It is probably not the case that Daniel left the apple. Chances are slight that John went to the office. Chances are slight that if 'John went to the office and Daniel left the apple' then Brian is yellow. It is impossible that if either 'Julius is white' or 'Daniel left the apple' but not both then Greg is white. It is likely that if 'Julius is white and John went to the office' then Bernhard is a swan.,It is improbable that 'Bernhard is a swan' 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.7::factA. 0.25::factB. 0.1::factC. %hop1 0.1::factX:-and(factC,factB). 0.0::factY:-xor(factA,factB). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.10000000000000002,0.11082216443288657,train,improbable,likely,It is improbable that 'Bernhard is a swan' or 'John went to the office' or both.,It is likely that 'Bernhard is a swan' or 'John went to the office' or both.,1,'Bernhard is a swan' or 'John went to the office' or both. There is almost no chance that Lily is gray. It is unlikely that Sandra dropped the milk. We doubt that Mary got the football. There is almost no chance that if 'Lily is gray and Sandra dropped the milk' then Julius is a swan. It is almost certain that if 'Lily is gray and Mary got the football' then Jeff left the apple. It is unlikely that if either 'Sandra dropped the milk' or 'Lily is gray' but not both then Bill went to the office.,It is certain that either 'Sandra dropped the milk' 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.02::factA. 0.2::factB. 0.2::factC. %hop1 0.02::factX:-and(factA,factB). 0.95::factY:-and(factA,factC). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.21200000000000002,0.5627125425085017,train,unlikely,certain,It is unlikely that either 'Sandra dropped the milk' or 'Lily is gray' but not both.,It is certain that either 'Sandra dropped the milk' or 'Lily is gray' but not both.,0,Either 'Sandra dropped the milk' or 'Lily is gray' but not both. There is little chance that Bernhard is green. We doubt that Jeff left the apple. It is likely that Lily is a rhino. There is a very good chance that if 'Bernhard is green' or 'Lily is a rhino' or both then Emily is a wolf. There is a better than even chance that if 'Lily is a rhino and Bernhard is green' then Mary got the apple. It is highly likely that if 'Jeff left the apple' or 'Lily is a rhino' or both then Greg is a swan.,Chances are about even that 'Jeff left the apple 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.1::factA. 0.2::factB. 0.7::factC. %hop1 0.8::factX:-or(factA,factC). 0.6::factY:-and(factC,factA). 0.9::factZ:-or(factB,factC). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.008400000000000005,0.4916983396679336,train,impossible,about even,It is impossible that 'Jeff left the apple and Mary got the apple'.,Chances are about even that 'Jeff left the apple and Mary got the apple'.,0,'Jeff left the apple and Mary got the apple'. It is probable that Brian is a frog. It is almost certain that Julius is white. It is almost certain that Greg is a lion. We doubt that if 'Julius is white' or 'Greg is a lion' or both then Gertrude is a mouse. It is probably not the case that if 'Greg is a lion' or 'Brian is a frog' or both then Jeff moved to the office. There is a better than even chance that if 'Brian is a frog' or 'Julius is white' or both then Lily is yellow.,Chances are slight that 'Brian is a frog' 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.95::factB. 0.95::factC. %hop1 0.2::factX:-or(factB,factC). 0.25::factY:-or(factC,factA). 0.6::factZ:-or(factA,factB). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.77125,0.511502300460092,train,we believe,chances are slight,We believe that 'Brian is a frog' or 'Jeff moved to the office' or both.,Chances are slight that 'Brian is a frog' or 'Jeff moved to the office' or both.,0,'Brian is a frog' or 'Jeff moved to the office' or both. It is improbable that John dropped the apple. We believe that Greg is a rhino. There is a better than even chance that Jeff left the football. It is probably the case that if 'John dropped the apple' or 'Greg is a rhino' or both then Emily is a cat. Chances are about even that if either 'Jeff left the football' or 'Greg is a rhino' but not both then Julius is white. It is highly likely that if either 'Greg is a rhino' or 'Jeff left the football' but not both then Mary got the football.,Chances are slight that either 'Julius is white' or 'Jeff 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.1::factA. 0.75::factB. 0.6::factC. %hop1 0.7::factX:-or(factA,factB). 0.5::factY:-xor(factC,factB). 0.9::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.675,0.5593118623724745,train,probably,chances are slight,It is probably the case that either 'Julius is white' or 'Jeff left the football' but not both.,Chances are slight that either 'Julius is white' or 'Jeff left the football' but not both.,0,Either 'Julius is white' or 'Jeff left the football' but not both. It is highly unlikely that Julius is a frog. It is improbable that Gertrude is a mouse. It is unlikely that Emily is a wolf. We believe that if either 'Julius is a frog' or 'Gertrude is a mouse' but not both then Mary moved to the garden. It is probably not the case that if 'Gertrude is a mouse and Emily is a wolf' then John left the apple. It is almost certain that if 'Julius is a frog and Emily is a wolf' then Brian is white.,It is probable that 'Gertrude is a mouse' or 'John 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.05::factA. 0.1::factB. 0.2::factC. %hop1 0.75::factX:-xor(factA,factB). 0.25::factY:-and(factB,factC). 0.95::factZ:-and(factA,factC). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.10000000000000002,0.501500300060012,train,improbable,probable,It is improbable that 'Gertrude is a mouse' or 'John left the apple' or both.,It is probable that 'Gertrude is a mouse' or 'John left the apple' or both.,0,'Gertrude is a mouse' or 'John left the apple' or both. It is highly likely that Mary got the football. We believe that Yann is thirsty. There is a very good chance that Bernhard is white. There is almost no chance that if 'Yann is thirsty' or 'Bernhard is white' or both then Brian is a rhino. It is highly unlikely that if 'Bernhard is white' or 'Mary got the football' or both then Julius is green. We believe that if either 'Mary got the football' or 'Yann is thirsty' but not both then Greg is a lion.,There is almost no chance that 'Bernhard is white' 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.9::factA. 0.75::factB. 0.8::factC. %hop1 0.02::factX:-or(factB,factC). 0.05::factY:-or(factC,factA). 0.75::factZ:-xor(factA,factB). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.803,0.484496899379876,train,very good chance,almost no chance,There is a very good chance that 'Bernhard is white' or 'Brian is a rhino' or both.,There is almost no chance that 'Bernhard is white' or 'Brian is a rhino' or both.,0,'Bernhard is white' or 'Brian is a rhino' or both. We doubt that Bernhard is a lion. It is certain that Gertrude is a cat. It is almost certain that John moved to the office. We doubt that if 'John moved to the office' or 'Gertrude is a cat' or both then Brian is white. It is probably not the case that if either 'Bernhard is a lion' or 'Gertrude is a cat' but not both then Sandra took the apple. There is a better than even chance that if 'Bernhard is a lion and Gertrude is a cat' then Greg is yellow.,We believe that 'Greg is yellow' 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 0.2::factA. 1.0::factB. 0.95::factC. %hop1 0.2::factX:-or(factC,factB). 0.25::factY:-xor(factA,factB). 0.6::factZ:-and(factA,factB). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.2,0.7991598319663933,train,we doubt,we believe,We doubt that 'Greg is yellow' or 'Bernhard is a lion' or both.,We believe that 'Greg is yellow' or 'Bernhard is a lion' or both.,0,'Greg is yellow' or 'Bernhard is a lion' or both. It is impossible that Lily is a rhino. It is probably the case that Bernhard is a frog. It is impossible that Daniel took the milk. There is little chance that if 'Daniel took the milk and Lily is a rhino' then Mary left the apple. It is highly unlikely that if either 'Lily is a rhino' or 'Bernhard is a frog' but not both then Greg is yellow. There is a better than even chance that if 'Daniel took the milk' or 'Bernhard is a frog' or both then John moved to the office.,It is almost certain that 'Greg 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.0::factA. 0.7::factB. 0.0::factC. %hop1 0.1::factX:-and(factC,factA). 0.05::factY:-xor(factA,factB). 0.6::factZ:-or(factC,factB). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.035,0.2928585717143429,train,highly unlikely,almost certain,It is highly unlikely that 'Greg is yellow' or 'Lily is a rhino' or both.,It is almost certain that 'Greg is yellow' or 'Lily is a rhino' or both.,0,'Greg is yellow' or 'Lily is a rhino' or both. It is impossible that John discarded the milk. Chances are about even that Julius is a frog. There is a very good chance that Jeff left the apple. There is little chance that if 'Jeff left the apple and Julius is a frog' then Bernhard is a frog. It is certain that if 'Julius is a frog and John discarded the milk' then Greg is white. It is highly unlikely that if 'Julius is a frog' or 'Jeff left the apple' or both then Lily is a swan.,There is little chance that either 'Lily is a swan' 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.0::factA. 0.5::factB. 0.8::factC. %hop1 0.1::factX:-and(factC,factB). 1.0::factY:-and(factB,factA). 0.05::factZ:-or(factB,factC). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.08100000000000002,0.28845769153830764,train,little chance,probably,There is little chance that either 'Lily is a swan' or 'Bernhard is a frog' but not both.,It is probably the case that either 'Lily is a swan' or 'Bernhard is a frog' but not both.,1,Either 'Lily is a swan' or 'Bernhard is a frog' but not both. There is a very good chance that John went to the garden. There is a very good chance that Brian is a frog. We believe that Julius is a swan. We doubt that if either 'John went to the garden' or 'Julius is a swan' but not both then Bernhard is a lion. It is highly unlikely that if 'John went to the garden' or 'Julius is a swan' or both then Jason is tired. It is probable that if either 'John went to the garden' or 'Julius is a swan' but not both then Sandra dropped the milk.,There is almost no chance that either 'John went to the garden' 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.8::factA. 0.8::factB. 0.75::factC. %hop1 0.2::factX:-xor(factA,factC). 0.05::factY:-or(factA,factC). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.7675000000000001,0.023004600920184037,train,we believe,almost no chance,We believe that either 'John went to the garden' or 'Jason is tired' but not both.,There is almost no chance that either 'John went to the garden' or 'Jason is tired' but not both.,0,Either 'John went to the garden' or 'Jason is tired' but not both. It is highly likely that Greg is yellow. It is unlikely that Jeff went to the garden. It is probably the case that John took the football. It is improbable that if either 'Greg is yellow' or 'Jeff went to the garden' but not both then Bernhard is green. It is highly unlikely that if either 'John took the football' or 'Jeff went to the garden' but not both then Daniel left the milk. It is almost certain that if either 'Jeff went to the garden' or 'Greg is yellow' but not both then Lily is a lion.,There is little chance that 'Greg is yellow' or 'John took 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.9::factA. 0.2::factB. 0.7::factC. %hop1 0.1::factX:-xor(factA,factB). 0.05::factY:-xor(factC,factB). 0.95::factZ:-xor(factB,factA). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.97,0.3124624924984997,train,almost certain,little chance,It is almost certain that 'Greg is yellow' or 'John took the football' or both.,There is little chance that 'Greg is yellow' or 'John took the football' or both.,0,'Greg is yellow' or 'John took the football' or both. It is probably not the case that Lily is a swan. It is highly unlikely that Bernhard is yellow. There is a very good chance that John went to the garden. It is highly unlikely that if 'Lily is a swan and Bernhard is yellow' then Jason is bored. There is a very good chance that if either 'Bernhard is yellow' or 'Lily is a swan' but not both then Brian is a frog. Chances are slight that if 'Bernhard is yellow and John went to the garden' then Julius is a lion.,There is a very good chance that 'John went to the garden' or 'Bernhard 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.05::factB. 0.8::factC. %hop1 0.05::factX:-and(factA,factB). 0.8::factY:-xor(factB,factA). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.81,0.16723344668933787,train,very good chance,we doubt,There is a very good chance that 'John went to the garden' or 'Bernhard is yellow' or both.,We doubt that 'John went to the garden' or 'Bernhard is yellow' or both.,1,'John went to the garden' or 'Bernhard is yellow' or both. There is a better than even chance that Lily is a rhino. It is highly unlikely that Sandra dropped the milk. It is improbable that Bernhard is gray. Chances are slight that if 'Lily is a rhino and Sandra dropped the milk' then Julius is yellow. It is probably the case that if 'Lily is a rhino and Bernhard is gray' then John moved to the garden. It is improbable that if either 'Bernhard is gray' or 'Lily is a rhino' but not both then Brian is a swan.,It is highly likely that either 'Brian is a swan' 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.6::factA. 0.05::factB. 0.1::factC. %hop1 0.1::factX:-and(factA,factB). 0.7::factY:-and(factA,factC). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.10220000000000001,0.5633126625325064,train,chances are slight,highly likely,Chances are slight that either 'Brian is a swan' or 'Sandra dropped the milk' but not both.,It is highly likely that either 'Brian is a swan' or 'Sandra dropped the milk' but not both.,0,Either 'Brian is a swan' or 'Sandra dropped the milk' but not both. Chances are slight that Brian is white. It is highly unlikely that Lily is a lion. There is a better than even chance that Bernhard is a swan. It is highly likely that if either 'Brian is white' or 'Lily is a lion' but not both then Julius is gray. It is highly unlikely that if either 'Brian is white' or 'Bernhard is a swan' but not both then John dropped the milk. There is a very good chance that if either 'Bernhard is a swan' or 'Lily is a lion' but not both then Jason is tired.,There is little chance that 'Julius is gray' 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.1::factA. 0.05::factB. 0.6::factC. %hop1 0.9::factX:-xor(factA,factB). 0.05::factY:-xor(factA,factC). 0.8::factZ:-xor(factC,factB). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.14050000000000004,0.7139427885577115,train,little chance,certain,There is little chance that 'Julius is gray' or 'Brian is white' or both.,It is certain that 'Julius is gray' or 'Brian is white' or both.,1,'Julius is gray' or 'Brian is white' or both. It is likely that Greg is a rhino. It is unlikely that Emily is a sheep. We doubt that John went to the hallway. It is impossible that if 'Greg is a rhino and John went to the hallway' then Mary got the milk. It is highly unlikely that if 'Emily is a sheep and Greg is a rhino' then Lily is a swan. It is likely that if 'Emily is a sheep and Greg is a rhino' then Brian is a frog.,It is probable that either 'Mary got 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.7::factA. 0.2::factB. 0.2::factC. %hop1 0.0::factX:-and(factA,factC). 0.05::factY:-and(factB,factA). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.7,0.6729345869173835,train,probable,chances are slight,It is probable that either 'Mary got the milk' or 'Greg is a rhino' but not both.,Chances are slight that either 'Mary got the milk' or 'Greg is a rhino' but not both.,1,Either 'Mary got the milk' or 'Greg is a rhino' but not both. It is highly unlikely that Gertrude is a mouse. It is impossible that John picked up the apple. It is improbable that Lily is a swan. It is impossible that if 'Gertrude is a mouse and Lily is a swan' then Jessica is a cat. There is almost no chance that if either 'Gertrude is a mouse' or 'Lily is a swan' but not both then Bernhard is gray. It is certain that if 'John picked up the apple and Lily is a swan' then Daniel got the football.,It is probably the case that 'Jessica is a cat and Daniel 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.05::factA. 0.0::factB. 0.1::factC. %hop1 0.0::factX:-and(factA,factC). 0.02::factY:-xor(factA,factC). 1.0::factZ:-and(factB,factC). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.0,0.5053010602120425,train,impossible,probably,It is impossible that 'Jessica is a cat and Daniel got the football'.,It is probably the case that 'Jessica is a cat and Daniel got the football'.,0,'Jessica is a cat and Daniel got the football'. It is probably the case that Gertrude is a mouse. There is little chance that Julius is a frog. It is highly unlikely that Jeff dropped the apple. It is probably the case that if either 'Julius is a frog' or 'Jeff dropped the apple' but not both then Emily is a wolf. There is little chance that if 'Jeff dropped the apple' or 'Gertrude is a mouse' or both then Bernhard is a swan. There is a very good chance that if 'Jeff dropped the apple' or 'Gertrude is a mouse' or both then Sandra left the milk.,It is highly unlikely that either 'Jeff dropped the apple' 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.7::factA. 0.1::factB. 0.05::factC. %hop1 0.7::factX:-xor(factB,factC). 0.1::factY:-or(factC,factA). 0.8::factZ:-or(factC,factA). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6799999999999999,0.21144228845769153,train,probably,highly unlikely,It is probably the case that either 'Jeff dropped the apple' or 'Gertrude is a mouse' but not both.,It is highly unlikely that either 'Jeff dropped the apple' or 'Gertrude is a mouse' but not both.,0,Either 'Jeff dropped the apple' or 'Gertrude is a mouse' but not both. It is probably the case that Lily is yellow. It is highly likely that Julius is white. We doubt that John discarded the apple. We believe that if 'John discarded the apple and Lily is yellow' then Bernhard is yellow. It is almost certain that if 'Lily is yellow and John discarded the apple' then Greg is a frog. It is unlikely that if 'John discarded the apple' or 'Lily is yellow' or both then Mary left the milk.,Chances are slight that 'Greg is a frog 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.7::factA. 0.9::factB. 0.2::factC. %hop1 0.75::factX:-and(factC,factA). 0.95::factY:-and(factA,factC). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.13300000000000003,0.5987197439487898,train,chances are slight,likely,Chances are slight that 'Greg is a frog and John discarded the apple'.,It is likely that 'Greg is a frog and John discarded the apple'.,1,'Greg is a frog and John discarded the apple'. There is almost no chance that John went to the office. There is almost no chance that Greg is a lion. There is little chance that Brian is white. Chances are about even that if 'John went to the office and Brian is white' then Bernhard is a rhino. It is improbable that if 'John went to the office and Brian is white' then Winona is a mouse. It is highly likely that if either 'John went to the office' or 'Brian is white' but not both then Julius is a frog.,There is little chance that either 'Julius is a frog' or 'Bernhard 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.02::factA. 0.02::factB. 0.1::factC. %hop1 0.5::factX:-and(factA,factC). 0.1::factY:-and(factA,factC). 0.9::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.10540000000000002,0.29425885177035405,train,little chance,better than even,There is little chance that either 'Julius is a frog' or 'Bernhard is a rhino' but not both.,There is a better than even chance that either 'Julius is a frog' or 'Bernhard is a rhino' but not both.,1,Either 'Julius is a frog' or 'Bernhard is a rhino' but not both. It is probably the case that John moved to the office. It is highly unlikely that Brian is a frog. There is little chance that Mary went to the garden. It is unlikely that if 'Brian is a frog' or 'John moved to the office' or both then Gertrude is a cat. Chances are about even that if 'Mary went to the garden' or 'John moved to the office' or both then Daniel left the football. It is impossible that if either 'Mary went to the garden' or 'Brian is a frog' but not both then Greg is yellow.,It is probably the case that either 'John moved to the office' 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.05::factB. 0.1::factC. %hop1 0.2::factX:-or(factB,factA). 0.5::factY:-or(factC,factA). 0.0::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.6799999999999999,0.5051010202040408,train,probably,almost no chance,It is probably the case that either 'John moved to the office' or 'Brian is a frog' but not both.,There is almost no chance that either 'John moved to the office' or 'Brian is a frog' but not both.,1,Either 'John moved to the office' or 'Brian is a frog' but not both. We doubt that Julius is a lion. There is a better than even chance that John went to the hallway. It is highly likely that Lily is a frog. It is highly likely that if 'Julius is a lion' or 'John went to the hallway' or both then Brian is gray. It is unlikely that if either 'Lily is a frog' or 'John went to the hallway' but not both then Winona is a wolf. Chances are about even that if 'John went to the hallway and Lily is a frog' then Sandra got the milk.,It is probably the case that 'Winona is a wolf 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 0.2::factA. 0.6::factB. 0.9::factC. %hop1 0.9::factX:-or(factA,factB). 0.2::factY:-xor(factC,factB). 0.5::factZ:-and(factB,factC). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.0,0.588117623524705,train,impossible,probably,It is impossible that 'Winona is a wolf and Sandra got the milk'.,It is probably the case that 'Winona is a wolf and Sandra got the milk'.,0,'Winona is a wolf and Sandra got the milk'. It is improbable that John got the apple. We doubt that Antoine is thirsty. It is highly likely that Mary moved to the garden. We believe that if 'John got the apple and Mary moved to the garden' then Bernhard is a frog. There is almost no chance that if either 'Mary moved to the garden' or 'Antoine is thirsty' but not both then Greg is gray. It is impossible that if 'Antoine is thirsty' or 'Mary moved to the garden' or both then Brian is yellow.,It is improbable that 'Mary moved to the garden' or 'John 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.2::factB. 0.9::factC. %hop1 0.75::factX:-and(factA,factC). 0.02::factY:-xor(factC,factB). 0.0::factZ:-or(factB,factC). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.91,0.5211042208441689,train,highly likely,improbable,It is highly likely that 'Mary moved to the garden' or 'John got the apple' or both.,It is improbable that 'Mary moved to the garden' or 'John got the apple' or both.,0,'Mary moved to the garden' or 'John got the apple' or both. There is almost no chance that Brian is gray. It is probably not the case that Emily is a mouse. There is little chance that Lily is green. It is likely that if either 'Brian is gray' or 'Lily is green' but not both then Bernhard is a rhino. It is highly unlikely that if 'Brian is gray and Emily is a mouse' then Julius is a frog. It is probable that if 'Emily is a mouse and Lily is green' then Greg is a lion.,There is almost no chance that either 'Greg is a lion' 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.02::factA. 0.25::factB. 0.1::factC. %hop1 0.7::factX:-xor(factA,factC). 0.05::factY:-and(factA,factB). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.017714999999999998,0.1298259651930386,train,almost no chance,probable,There is almost no chance that either 'Greg is a lion' or 'Julius is a frog' but not both.,It is probable that either 'Greg is a lion' or 'Julius is a frog' but not both.,1,Either 'Greg is a lion' or 'Julius is a frog' but not both. There is a very good chance that Julius is a lion. Chances are slight that Mary went to the bedroom. It is unlikely that Bill moved to the office. Chances are about even that if 'Julius is a lion and Mary went to the bedroom' then John discarded the apple. It is almost certain that if either 'Mary went to the bedroom' or 'Bill moved to the office' but not both then Bernhard is yellow. It is highly likely that if 'Mary went to the bedroom' or 'Julius is a lion' or both then Greg is a frog.,It is probable that either 'Greg is a frog' 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.1::factB. 0.2::factC. %hop1 0.5::factX:-and(factA,factB). 0.95::factY:-xor(factB,factC). 0.9::factZ:-or(factB,factA). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.658,0.2988597719543909,train,probable,chances are slight,It is probable that either 'Greg is a frog' or 'Mary went to the bedroom' but not both.,Chances are slight that either 'Greg is a frog' or 'Mary went to the bedroom' but not both.,1,Either 'Greg is a frog' or 'Mary went to the bedroom' but not both. It is highly likely that Lily is a rhino. Chances are about even that Brian is a swan. Chances are slight that Greg is gray. It is highly likely that if 'Greg is gray' or 'Lily is a rhino' or both then Jason is tired. Chances are about even that if 'Lily is a rhino and Greg is gray' then Mary took the football. It is unlikely that if 'Greg is gray' or 'Brian is a swan' or both then John moved to the office.,Chances are slight that 'John moved to the office' 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.9::factA. 0.5::factB. 0.1::factC. %hop1 0.9::factX:-or(factC,factA). 0.5::factY:-and(factA,factC). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.911,0.45909181836367274,train,highly likely,chances are slight,It is highly likely that 'John moved to the office' or 'Lily is a rhino' or both.,Chances are slight that 'John moved to the office' or 'Lily is a rhino' or both.,0,'John moved to the office' or 'Lily is a rhino' or both. Chances are slight that Sandra got the football. Chances are about even that Julius is a frog. It is highly likely that Emily is a cat. It is almost certain that if either 'Sandra got the football' or 'Julius is a frog' but not both then Gertrude is a sheep. It is probably the case that if 'Sandra got the football and Julius is a frog' then Greg is green. It is improbable that if either 'Emily is a cat' or 'Julius is a frog' but not both then Lily is a lion.,There is almost no chance that 'Gertrude is a sheep 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.1::factA. 0.5::factB. 0.9::factC. %hop1 0.95::factX:-xor(factA,factB). 0.7::factY:-and(factA,factB). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.4275,0.5681136227245449,train,about even,almost no chance,Chances are about even that 'Gertrude is a sheep and Emily is a cat'.,There is almost no chance that 'Gertrude is a sheep and Emily is a cat'.,0,'Gertrude is a sheep and Emily is a cat'. It is highly likely that Mary grabbed the milk. It is almost certain that Sandra left the football. There is a very good chance that Julius is white. It is probably not the case that if 'Julius is white and Mary grabbed the milk' then Gertrude is a mouse. It is unlikely that if 'Julius is white and Sandra left the football' then John moved to the garden. We believe that if 'Mary grabbed the milk and Sandra left the football' then Lily is green.,There is a very good chance that either 'Mary grabbed the milk' 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.95::factB. 0.8::factC. %hop1 0.25::factX:-and(factC,factA). 0.2::factY:-and(factC,factB). 0.75::factZ:-and(factA,factB). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.7784,0.2340468093618724,train,very good chance,we doubt,There is a very good chance that either 'Mary grabbed the milk' or 'John moved to the garden' but not both.,We doubt that either 'Mary grabbed the milk' or 'John moved to the garden' but not both.,1,Either 'Mary grabbed the milk' or 'John moved to the garden' but not both. There is a very good chance that Yann is bored. Chances are slight that Bernhard is a swan. It is highly likely that Sandra dropped the milk. It is probably the case that if 'Sandra dropped the milk' or 'Bernhard is a swan' or both then Julius is a lion. It is improbable that if either 'Bernhard is a swan' or 'Sandra dropped the milk' but not both then Lily is a frog. There is a very good chance that if 'Sandra dropped the milk and Bernhard is a swan' then Mary went to the garden.,It is impossible that 'Bernhard is a swan 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.8::factA. 0.1::factB. 0.9::factC. %hop1 0.7::factX:-or(factC,factB). 0.1::factY:-xor(factB,factC). 0.8::factZ:-and(factC,factB). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.0010000000000000002,0.5121024204840968,train,impossible,very good chance,It is impossible that 'Bernhard is a swan and Lily is a frog'.,There is a very good chance that 'Bernhard is a swan and Lily is a frog'.,1,'Bernhard is a swan and Lily is a frog'. Chances are about even that Julius is yellow. It is almost certain that John put down the apple. There is a very good chance that Brian is a rhino. It is almost certain that if either 'Brian is a rhino' or 'Julius is yellow' but not both then Mary moved to the garden. It is highly likely that if 'Julius is yellow' or 'John put down the apple' or both then Fred dropped the milk. It is highly unlikely that if 'John put down the apple' or 'Julius is yellow' or both then Antoine is thirsty.,Chances are about even that either 'Julius is yellow' 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.5::factA. 0.95::factB. 0.8::factC. %hop1 0.95::factX:-xor(factC,factA). 0.9::factY:-or(factA,factB). 0.05::factZ:-or(factB,factA). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5,0.7101420284056812,train,about even,highly unlikely,Chances are about even that either 'Julius is yellow' or 'John put down the apple' but not both.,It is highly unlikely that either 'Julius is yellow' or 'John put down the apple' but not both.,1,Either 'Julius is yellow' or 'John put down the apple' but not both. It is improbable that John got the milk. We believe that Julius is white. Chances are about even that Emily is a wolf. There is a better than even chance that if either 'Emily is a wolf' or 'Julius is white' but not both then Jessica is a mouse. We believe that if 'Emily is a wolf' or 'Julius is white' or both then Bernhard is gray. It is probably not the case that if either 'John got the milk' or 'Emily is a wolf' but not both then Fred is in the school.,There is almost no chance that 'John got the milk 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.1::factA. 0.75::factB. 0.5::factC. %hop1 0.6::factX:-xor(factC,factB). 0.75::factY:-or(factC,factB). 0.25::factZ:-xor(factA,factC). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.012500000000000006,0.6739347869573915,train,almost no chance,probably,There is almost no chance that 'John got the milk and Fred is in the school'.,It is probably the case that 'John got the milk and Fred is in the school'.,1,'John got the milk and Fred is in the school'. It is highly unlikely that Winona is a wolf. It is improbable that Greg is yellow. It is unlikely that Lily is gray. There is almost no chance that if 'Winona is a wolf' or 'Lily is gray' or both then Gertrude is a sheep. It is highly likely that if 'Lily is gray and Winona is a wolf' then Sandra left the milk. It is probably the case that if 'Winona is a wolf' or 'Greg is yellow' or both then Brian is a frog.,There is little 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.05::factA. 0.1::factB. 0.2::factC. %hop1 0.02::factX:-or(factA,factC). 0.9::factY:-and(factC,factA). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.14000000000000004,0.11662332466493298,train,little chance,almost certain,There is little chance that either 'Greg is yellow' or 'Winona is a wolf' but not both.,It is almost certain 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. It is certain that Mary went to the office. There is little chance that Bernhard is yellow. It is probably not the case that Daniel got the football. It is probably not the case that if either 'Daniel got the football' or 'Bernhard is yellow' but not both then Gertrude is a wolf. There is a better than even chance that if either 'Daniel got the football' or 'Mary went to the office' but not both then Brian is a frog. It is highly unlikely that if 'Bernhard is yellow and Daniel got the football' then Lily is a rhino.,It is probably not the case that 'Gertrude is a wolf' or 'Daniel 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 1.0::factA. 0.1::factB. 0.25::factC. %hop1 0.25::factX:-xor(factC,factB). 0.6::factY:-xor(factC,factA). 0.05::factZ:-and(factB,factC). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.26875,0.6065213042608522,train,probably not,likely,It is probably not the case that 'Gertrude is a wolf' or 'Daniel got the football' or both.,It is likely that 'Gertrude is a wolf' or 'Daniel got the football' or both.,1,'Gertrude is a wolf' or 'Daniel got the football' or both. There is almost no chance that Greg is a rhino. Chances are slight that Emily is a wolf. It is highly likely that Mary dropped the apple. It is probably the case that if 'Emily is a wolf' or 'Mary dropped the apple' or both then Lily is green. There is a better than even chance that if 'Emily is a wolf and Mary dropped the apple' then Winona is a wolf. It is improbable that if either 'Mary dropped the apple' or 'Greg is a rhino' but not both then John went to the kitchen.,There is a very good chance that 'John went to the kitchen 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.02::factA. 0.1::factB. 0.9::factC. %hop1 0.7::factX:-or(factB,factC). 0.6::factY:-and(factB,factC). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.008840000000000004,0.498499699939988,train,impossible,very good chance,It is impossible that 'John went to the kitchen and Emily is a wolf'.,There is a very good chance that 'John went to the kitchen and Emily is a wolf'.,0,'John went to the kitchen and Emily is a wolf'. It is probably not the case that John put down the apple. It is probably not the case that Lily is a frog. It is certain that Brian is a lion. It is probably the case that if either 'John put down the apple' or 'Lily is a frog' but not both then Gertrude is a mouse. It is impossible that if 'Brian is a lion' or 'Lily is a frog' or both then Bernhard is a swan. There is a very good chance that if 'John put down the apple' or 'Brian is a lion' or both then Sandra dropped the milk.,There is a very good chance that 'Brian 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.25::factA. 0.25::factB. 1.0::factC. %hop1 0.7::factX:-xor(factA,factB). 0.0::factY:-or(factC,factB). 0.8::factZ:-or(factA,factC). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.0,0.22524504900980197,train,impossible,very good chance,It is impossible that 'Brian is a lion and Bernhard is a swan'.,There is a very good chance that 'Brian is a lion and Bernhard is a swan'.,0,'Brian is a lion and Bernhard is a swan'. It is certain that Sandra took the football. Chances are slight that Gertrude is a cat. It is unlikely that Daniel got the milk. It is almost certain that if 'Daniel got the milk and Gertrude is a cat' then Winona is a wolf. It is highly unlikely that if 'Daniel got the milk and Gertrude is a cat' then Jessica is a mouse. Chances are slight that if 'Gertrude is a cat' or 'Daniel got the milk' or both then Julius is gray.,It is certain that 'Sandra took the football' 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 1.0::factA. 0.1::factB. 0.2::factC. %hop1 0.95::factX:-and(factC,factB). 0.05::factY:-and(factC,factB). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-or(factA,factB). query(conclusion). ",1.0,0.40328065613122627,train,certain,highly unlikely,It is certain that 'Sandra took the football' or 'Gertrude is a cat' or both.,It is highly unlikely that 'Sandra took the football' or 'Gertrude is a cat' or both.,1,'Sandra took the football' or 'Gertrude is a cat' or both. There is little chance that Winona is a cat. It is impossible that Mary took the football. It is highly unlikely that Greg is green. There is almost no chance that if 'Mary took the football' or 'Greg is green' or both then Lily is a rhino. It is probable that if either 'Winona is a cat' or 'Greg is green' but not both then Bernhard is a frog. It is certain that if 'Mary took the football and Winona is a cat' then Julius is white.,It is impossible that 'Julius is white and Mary took 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.0::factB. 0.05::factC. %hop1 0.02::factX:-or(factB,factC). 0.7::factY:-xor(factA,factC). 1.0::factZ:-and(factB,factA). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.0,0.6235247049409882,train,impossible,about even,It is impossible that 'Julius is white and Mary took the football'.,Chances are about even that 'Julius is white and Mary took the football'.,1,'Julius is white and Mary took the football'. There is little chance that Bernhard is a rhino. It is probably the case that Brian is green. There is a very good chance that Greg is yellow. We believe that if 'Greg is yellow' or 'Bernhard is a rhino' or both then Julius is gray. It is improbable that if 'Bernhard is a rhino' or 'Brian is green' or both then Lily is a swan. There is a very good chance that if 'Brian is green and Bernhard is a rhino' then Mary put down the apple.,It is certain that either 'Julius is gray' 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.1::factA. 0.7::factB. 0.8::factC. %hop1 0.75::factX:-or(factC,factA). 0.1::factY:-or(factA,factB). 0.8::factZ:-and(factB,factA). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.21500000000000002,0.02520504100820164,train,unlikely,certain,It is unlikely that either 'Julius is gray' or 'Greg is yellow' but not both.,It is certain that either 'Julius is gray' or 'Greg is yellow' but not both.,0,Either 'Julius is gray' or 'Greg is yellow' but not both. There is a very good chance that Sandra dropped the apple. It is probably not the case that Mary moved to the garden. It is highly likely that Greg is green. It is probable that if either 'Greg is green' or 'Sandra dropped the apple' but not both then Julius is a rhino. It is highly unlikely that if 'Sandra dropped the apple and Greg is green' then John put down the milk. It is probably the case that if either 'Mary moved to the garden' or 'Greg is green' but not both then Brian is a frog.,We believe that 'John put down 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.8::factA. 0.25::factB. 0.9::factC. %hop1 0.7::factX:-xor(factC,factA). 0.05::factY:-and(factA,factC). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.0,0.42768553710742147,train,impossible,we believe,It is impossible that 'John put down the milk and Julius is a rhino'.,We believe that 'John put down the milk and Julius is a rhino'.,0,'John put down the milk and Julius is a rhino'. Chances are slight that Greg is white. There is a very good chance that Fred went to the garden. It is unlikely that Brian is a frog. Chances are about even that if 'Greg is white' or 'Fred went to the garden' or both then Bernhard is a lion. There is a better than even chance that if either 'Greg is white' or 'Fred went to the garden' but not both then Gertrude is a cat. There is almost no chance that if 'Fred went to the garden' or 'Brian is a frog' or both then Mary left the milk.,There is little chance that 'Bernhard is a lion and Brian 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.1::factA. 0.8::factB. 0.2::factC. %hop1 0.5::factX:-or(factA,factB). 0.6::factY:-xor(factA,factB). 0.02::factZ:-or(factB,factC). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.08200000000000005,0.4316863372674535,train,little chance,better than even,There is little chance that 'Bernhard is a lion and Brian is a frog'.,There is a better than even chance that 'Bernhard is a lion and Brian is a frog'.,1,'Bernhard is a lion and Brian is a frog'. Chances are slight that Brian is a rhino. There is almost no chance that John moved to the garden. There is a very good chance that Bernhard is green. There is a very good chance that if 'Bernhard is green and John moved to the garden' then Lily is yellow. It is probably not the case that if either 'Brian is a rhino' or 'Bernhard is green' but not both then Mary left the football. It is highly likely that if 'Bernhard is green' or 'John moved to the garden' or both then Julius is a frog.,We believe that 'Mary left the football' 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.1::factA. 0.02::factB. 0.8::factC. %hop1 0.8::factX:-and(factC,factB). 0.25::factY:-xor(factA,factC). 0.9::factZ:-or(factC,factB). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.20130000000000003,0.7393478695739147,train,unlikely,we believe,It is unlikely that 'Mary left the football' or 'John moved to the garden' or both.,We believe that 'Mary left the football' or 'John moved to the garden' or both.,0,'Mary left the football' or 'John moved to the garden' or both. It is probably not the case that Winona is a wolf. There is a better than even chance that Jessica is a mouse. It is probably the case that Lily is a swan. It is likely that if 'Lily is a swan and Jessica is a mouse' then Julius is a lion. We believe that if 'Winona is a wolf' or 'Jessica is a mouse' or both then Daniel got the football. It is probably the case that if either 'Jessica is a mouse' or 'Lily is a swan' but not both then John dropped the apple.,There is a very good chance that 'Lily is a swan' 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.25::factA. 0.6::factB. 0.7::factC. %hop1 0.7::factX:-and(factC,factB). 0.75::factY:-or(factA,factB). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.775,0.33606721344268853,train,very good chance,impossible,There is a very good chance that 'Lily is a swan' or 'Winona is a wolf' or both.,It is impossible that 'Lily is a swan' or 'Winona is a wolf' or both.,1,'Lily is a swan' or 'Winona is a wolf' or both. There is a very good chance that Greg is a lion. We doubt that John picked up the apple. It is likely that Brian is a swan. Chances are about even that if 'John picked up the apple and Brian is a swan' then Yann is hungry. There is little chance that if 'Brian is a swan' or 'Greg is a lion' or both then Mary went to the office. It is improbable that if 'Brian is a swan' or 'Greg is a lion' or both then Sandra took the milk.,Chances are about even that 'Yann is hungry 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.8::factA. 0.2::factB. 0.7::factC. %hop1 0.5::factX:-and(factB,factC). 0.1::factY:-or(factC,factA). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.05600000000000001,0.38587717543508704,train,highly unlikely,about even,It is highly unlikely that 'Yann is hungry and Greg is a lion'.,Chances are about even that 'Yann is hungry and Greg is a lion'.,0,'Yann is hungry and Greg is a lion'. It is certain that Julius is gray. It is certain that Mary left the football. There is a very good chance that Brian is yellow. It is almost certain that if 'Brian is yellow' or 'Julius is gray' or both then Lily is a rhino. It is almost certain that if either 'Julius is gray' or 'Mary left the football' but not both then Jeff went to the bedroom. There is almost no chance that if either 'Julius is gray' or 'Brian is yellow' but not both then John picked up the milk.,It is certain that either 'Julius is gray' 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 1.0::factA. 1.0::factB. 0.8::factC. %hop1 0.95::factX:-or(factC,factA). 0.95::factY:-xor(factA,factB). 0.02::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.996,0.3188637727545509,train,certain,probably not,It is certain that either 'Julius is gray' or 'John picked up the milk' but not both.,It is probably not the case that either 'Julius is gray' or 'John picked up the milk' but not both.,1,Either 'Julius is gray' or 'John picked up the milk' but not both. It is impossible that Jeff moved to the garden. There is little chance that Lily is a swan. There is a very good chance that Fred is in the office. It is probably not the case that if either 'Lily is a swan' or 'Fred is in the office' but not both then Sandra dropped the apple. There is a very good chance that if either 'Jeff moved to the garden' or 'Fred is in the office' but not both then Mary went to the bedroom. We doubt that if 'Lily is a swan and Fred is in the office' then Bernhard is a frog.,It is highly likely that 'Jeff moved to the garden and Fred is in 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.0::factA. 0.1::factB. 0.8::factC. %hop1 0.25::factX:-xor(factB,factC). 0.8::factY:-xor(factA,factC). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.0,0.6663332666533307,train,impossible,highly likely,It is impossible that 'Jeff moved to the garden and Fred is in the office'.,It is highly likely that 'Jeff moved to the garden and Fred is in the office'.,0,'Jeff moved to the garden and Fred is in the office'. It is unlikely that Bernhard is a lion. It is improbable that Julius is a frog. There is almost no chance that Brian is a swan. It is improbable that if 'Julius is a frog' or 'Bernhard is a lion' or both then Mary left the milk. There is little chance that if 'Bernhard is a lion and Julius is a frog' then Fred went to the garden. There is a very good chance that if 'Brian is a swan and Bernhard is a lion' then John put down the apple.,It is certain that 'Fred went to the garden' 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.2::factA. 0.1::factB. 0.02::factC. %hop1 0.1::factX:-or(factB,factA). 0.1::factY:-and(factA,factB). 0.8::factZ:-and(factC,factA). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.005167999999999999,0.4234846969393879,train,impossible,certain,It is impossible that 'Fred went to the garden' or 'John put down the apple' or both.,It is certain that 'Fred went to the garden' or 'John put down the apple' or both.,0,'Fred went to the garden' or 'John put down the apple' or both. It is unlikely that Emily is a wolf. It is likely that Bernhard is green. Chances are about even that Julius is yellow. Chances are slight that if 'Bernhard is green and Julius is yellow' then Lily is a frog. We believe that if 'Emily is a wolf and Julius is yellow' then Gertrude is a sheep. It is highly likely that if 'Julius is yellow' or 'Bernhard is green' or both then John left the football.,It is unlikely that 'John left the football 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.2::factA. 0.7::factB. 0.5::factC. %hop1 0.1::factX:-and(factB,factC). 0.75::factY:-and(factA,factC). 0.9::factZ:-or(factC,factB). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.153,0.3626725345069014,train,unlikely,highly likely,It is unlikely that 'John left the football and Emily is a wolf'.,It is highly likely that 'John left the football and Emily is a wolf'.,1,'John left the football and Emily is a wolf'. Chances are slight that Daniel grabbed the milk. It is almost certain that Julius is gray. There is little chance that Lily is yellow. It is impossible that if 'Daniel grabbed the milk' or 'Lily is yellow' or both then Jessica is a mouse. We doubt that if 'Daniel grabbed the milk and Julius is gray' then Mary went to the kitchen. It is likely that if 'Lily is yellow' or 'Julius is gray' or both then Bernhard is white.,It is unlikely that 'Bernhard is white' 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.1::factA. 0.95::factB. 0.1::factC. %hop1 0.0::factX:-or(factA,factC). 0.2::factY:-and(factA,factB). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.6684999999999999,0.14582916583316663,train,probably,unlikely,It is probably the case that 'Bernhard is white' or 'Jessica is a mouse' or both.,It is unlikely that 'Bernhard is white' or 'Jessica is a mouse' or both.,0,'Bernhard is white' or 'Jessica is a mouse' or both. There is a better than even chance that Brian is gray. It is probably not the case that John got the milk. Chances are slight that Jessica is a mouse. There is almost no chance that if either 'John got the milk' or 'Jessica is a mouse' but not both then Lily is a rhino. There is little chance that if either 'Jessica is a mouse' or 'John got the milk' but not both then Julius is green. It is probably not the case that if 'Brian is gray' or 'Jessica is a mouse' or both then Bernhard is a frog.,It is almost certain that 'John got the milk 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.6::factA. 0.25::factB. 0.1::factC. %hop1 0.02::factX:-xor(factB,factC). 0.1::factY:-xor(factC,factB). 0.25::factZ:-or(factA,factC). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.04000000000000001,0.7145429085817163,train,highly unlikely,almost certain,It is highly unlikely that 'John got the milk and Bernhard is a frog'.,It is almost certain that 'John got the milk and Bernhard is a frog'.,0,'John got the milk and Bernhard is a frog'. Chances are slight that Emily is a wolf. Chances are slight that Sumit is hungry. Chances are about even that Bernhard is a lion. It is improbable that if either 'Bernhard is a lion' or 'Sumit is hungry' but not both then Sandra dropped the milk. It is likely that if 'Bernhard is a lion' or 'Sumit is hungry' or both then John discarded the milk. There is a better than even chance that if 'Bernhard is a lion and Emily is a wolf' then Greg is a frog.,It is highly likely that either 'John discarded the milk' or 'Greg 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.1::factA. 0.1::factB. 0.5::factC. %hop1 0.1::factX:-xor(factC,factB). 0.7::factY:-or(factC,factB). 0.6::factZ:-and(factC,factA). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.373,0.5273054610922184,train,probably not,highly likely,It is probably not the case that either 'John discarded the milk' or 'Greg is a frog' but not both.,It is highly likely that either 'John discarded the milk' or 'Greg is a frog' but not both.,0,Either 'John discarded the milk' or 'Greg is a frog' but not both. We believe that Greg is a swan. It is impossible that Julius is white. It is probably the case that Mary got the football. It is likely that if 'Greg is a swan' or 'Julius is white' or both then Lily is a lion. It is highly unlikely that if either 'Mary got the football' or 'Greg is a swan' but not both then Jeff moved to the garden. There is almost no chance that if 'Julius is white and Greg is a swan' then Gertrude is a cat.,There is almost no chance that 'Jeff moved to the garden and Greg 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.75::factA. 0.0::factB. 0.7::factC. %hop1 0.7::factX:-or(factA,factB). 0.05::factY:-xor(factC,factA). 0.02::factZ:-and(factB,factA). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.01125000000000001,0.5607121424284857,train,almost no chance,probable,There is almost no chance that 'Jeff moved to the garden and Greg is a swan'.,It is probable that 'Jeff moved to the garden and Greg is a swan'.,1,'Jeff moved to the garden and Greg is a swan'. There is almost no chance that Bernhard is a rhino. It is highly unlikely that Greg is a lion. Chances are slight that Mary got the milk. It is likely that if 'Bernhard is a rhino and Mary got the milk' then Julius is a swan. It is likely that if either 'Greg is a lion' or 'Mary got the milk' but not both then Lily is a swan. It is almost certain that if 'Greg is a lion' or 'Bernhard is a rhino' or both then John went to the kitchen.,It is probable that 'Julius is a swan' or 'Bernhard 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.05::factB. 0.1::factC. %hop1 0.7::factX:-and(factA,factC). 0.7::factY:-xor(factB,factC). 0.95::factZ:-or(factB,factA). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.02,0.5497099419883977,train,almost no chance,probable,There is almost no chance that 'Julius is a swan' or 'Bernhard is a rhino' or both.,It is probable that 'Julius is a swan' or 'Bernhard is a rhino' or both.,0,'Julius is a swan' or 'Bernhard is a rhino' or both. It is unlikely that Greg is gray. It is likely that Yann is hungry. There is a very good chance that Antoine is bored. We doubt that if either 'Greg is gray' or 'Yann is hungry' but not both then John went to the garden. It is almost certain that if either 'Greg is gray' or 'Antoine is bored' but not both then Bernhard is a lion. We believe that if either 'Greg is gray' or 'Yann is hungry' but not both then Mary got the football.,Chances are about even that 'Mary got the football' or 'John 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.7::factB. 0.8::factC. %hop1 0.2::factX:-xor(factA,factB). 0.95::factY:-xor(factA,factC). 0.75::factZ:-xor(factA,factB). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.496,0.7531506301260252,train,about even,almost certain,Chances are about even that 'Mary got the football' or 'John went to the garden' or both.,It is almost certain that 'Mary got the football' or 'John went to the garden' or both.,1,'Mary got the football' or 'John went to the garden' or both. We doubt that Brian is white. Chances are about even that Daniel got the football. It is probably not the case that Bernhard is a rhino. It is improbable that if 'Bernhard is a rhino and Brian is white' then Greg is a frog. It is impossible that if 'Brian is white' or 'Daniel got the football' or both then Jessica is a sheep. There is almost no chance that if 'Daniel got the football and Bernhard is a rhino' then Gertrude is a mouse.,It is certain that either 'Daniel got the football' 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.5::factB. 0.25::factC. %hop1 0.1::factX:-and(factC,factA). 0.0::factY:-or(factA,factB). 0.02::factZ:-and(factB,factC). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5,0.7663532706541308,train,about even,certain,Chances are about even that either 'Daniel got the football' or 'Brian is white' but not both.,It is certain that either 'Daniel got the football' or 'Brian is white' but not both.,0,Either 'Daniel got the football' or 'Brian is white' but not both. There is little chance that Daniel took the apple. It is probable that Bill left the football. It is probable that Brian is a lion. It is highly unlikely that if 'Brian is a lion and Daniel took the apple' then Lily is green. It is almost certain that if 'Brian is a lion and Daniel took the apple' then Julius is white. It is certain that if either 'Daniel took the apple' or 'Bill left the football' but not both then Mary went to the garden.,It is likely that 'Daniel took the apple' 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.1::factA. 0.7::factB. 0.7::factC. %hop1 0.05::factX:-and(factC,factA). 0.95::factY:-and(factC,factA). 1.0::factZ:-xor(factA,factB). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.10000000000000002,0.3774754950990198,train,little chance,likely,There is little chance that 'Daniel took the apple' or 'Lily is green' or both.,It is likely that 'Daniel took the apple' or 'Lily is green' or both.,0,'Daniel took the apple' or 'Lily is green' or both. We doubt that Mary went to the hallway. It is highly likely that Bernhard is a frog. It is likely that Sandra grabbed the apple. We believe that if 'Mary went to the hallway' or 'Sandra grabbed the apple' or both then John put down the milk. It is probably the case that if 'Mary went to the hallway' or 'Sandra grabbed the apple' or both then Greg is a rhino. We doubt that if 'Sandra grabbed the apple' or 'Bernhard is a frog' or both then Jason is tired.,It is unlikely that either 'Sandra grabbed the apple' 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.2::factA. 0.9::factB. 0.7::factC. %hop1 0.75::factX:-or(factA,factC). 0.7::factY:-or(factA,factC). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.22,0.20684136827365474,train,unlikely,likely,It is unlikely that either 'Sandra grabbed the apple' or 'John put down the milk' but not both.,It is likely that either 'Sandra grabbed the apple' or 'John put down the milk' but not both.,1,Either 'Sandra grabbed the apple' or 'John put down the milk' but not both. There is a better than even chance that Bernhard is green. It is highly likely that Lily is a rhino. There is a better than even chance that Brian is a lion. It is highly likely that if 'Brian is a lion and Bernhard is green' then Mary went to the bedroom. It is probably the case that if 'Bernhard is green and Brian is a lion' then Daniel got the milk. It is likely that if either 'Bernhard is green' or 'Brian is a lion' but not both then Sumit is hungry.,It is highly unlikely that 'Mary went to the bedroom' 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.6::factA. 0.9::factB. 0.6::factC. %hop1 0.9::factX:-and(factC,factA). 0.7::factY:-and(factA,factC). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.6000000000000001,0.2666533306661332,train,better than even,highly unlikely,There is a better than even chance that 'Mary went to the bedroom' or 'Bernhard is green' or both.,It is highly unlikely that 'Mary went to the bedroom' or 'Bernhard is green' or both.,0,'Mary went to the bedroom' or 'Bernhard is green' or both. It is likely that Bernhard is white. Chances are about even that Jason is thirsty. We doubt that Greg is a lion. It is probable that if 'Greg is a lion' or 'Bernhard is white' or both then Mary went to the kitchen. It is impossible that if either 'Greg is a lion' or 'Jason is thirsty' but not both then John dropped the milk. Chances are about even that if 'Jason is thirsty and Bernhard is white' then Daniel left the milk.,We believe that 'Bernhard is white' 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.7::factA. 0.5::factB. 0.2::factC. %hop1 0.7::factX:-or(factC,factA). 0.0::factY:-xor(factC,factB). 0.5::factZ:-and(factB,factA). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.742,0.45929185837167436,train,we believe,we doubt,We believe that 'Bernhard is white' or 'Mary went to the kitchen' or both.,We doubt that 'Bernhard is white' or 'Mary went to the kitchen' or both.,1,'Bernhard is white' or 'Mary went to the kitchen' or both. It is probably not the case that Julius is a frog. We doubt that Lily is green. It is unlikely that Sandra dropped the milk. It is probably the case that if 'Julius is a frog' or 'Sandra dropped the milk' or both then Emily is a sheep. We doubt that if 'Julius is a frog and Sandra dropped the milk' then Sumit is bored. There is almost no chance that if 'Julius is a frog and Lily is green' then John went to the hallway.,It is probably not the case that either 'Julius 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.25::factA. 0.2::factB. 0.2::factC. %hop1 0.7::factX:-or(factA,factC). 0.2::factY:-and(factA,factC). 0.02::factZ:-and(factA,factB). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.35000000000000003,0.057411482296459294,train,probably not,probable,It is probably not the case that either 'Julius is a frog' or 'Sandra dropped the milk' but not both.,It is probable that either 'Julius is a frog' or 'Sandra dropped the milk' but not both.,1,Either 'Julius is a frog' or 'Sandra dropped the milk' but not both. Chances are slight that John discarded the apple. Chances are about even that Lily is a frog. Chances are about even that Julius is gray. It is improbable that if either 'John discarded the apple' or 'Julius is gray' but not both then Emily is a sheep. It is probable that if either 'John discarded the apple' or 'Lily is a frog' but not both then Sandra left the milk. It is likely that if 'Lily is a frog' or 'John discarded the apple' or both then Jessica is a cat.,It is impossible that 'Lily is a frog' 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 0.1::factA. 0.5::factB. 0.5::factC. %hop1 0.1::factX:-xor(factA,factC). 0.7::factY:-xor(factA,factB). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.535,0.33326665333066613,train,about even,impossible,Chances are about even that 'Lily is a frog' or 'Jessica is a cat' or both.,It is impossible that 'Lily is a frog' or 'Jessica is a cat' or both.,0,'Lily is a frog' or 'Jessica is a cat' or both. It is probably the case that Emily is a mouse. There is a very good chance that Bill left the football. Chances are slight that Brian is gray. It is unlikely that if 'Brian is gray and Bill left the football' then Bernhard is a rhino. It is highly unlikely that if 'Brian is gray and Emily is a mouse' then Greg is a lion. There is a very good chance that if 'Bill left the football' or 'Brian is gray' or both then John took the apple.,It is probable that 'Brian is gray' or 'Bernhard 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.8::factB. 0.1::factC. %hop1 0.2::factX:-and(factC,factB). 0.05::factY:-and(factC,factA). 0.8::factZ:-or(factB,factC). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.10000000000000002,0.4024804960992198,train,chances are slight,probable,Chances are slight that 'Brian is gray' or 'Bernhard is a rhino' or both.,It is probable that 'Brian is gray' or 'Bernhard is a rhino' or both.,0,'Brian is gray' or 'Bernhard is a rhino' or both. It is likely that Greg is gray. It is impossible that Mary went to the hallway. We believe that John left the apple. It is almost certain that if 'Greg is gray and John left the apple' then Sandra took the milk. We doubt that if 'Mary went to the hallway' or 'Greg is gray' or both then Jessica is a sheep. Chances are about even that if either 'Greg is gray' or 'Mary went to the hallway' but not both then Bernhard is white.,There is a better than even chance that 'Sandra took the milk' 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.7::factA. 0.0::factB. 0.75::factC. %hop1 0.95::factX:-and(factA,factC). 0.2::factY:-or(factB,factA). 0.5::factZ:-xor(factA,factB). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.599375,0.7163432686537308,train,better than even,almost no chance,There is a better than even chance that 'Sandra took the milk' or 'Bernhard is white' or both.,There is almost no chance that 'Sandra took the milk' or 'Bernhard is white' or both.,1,'Sandra took the milk' or 'Bernhard is white' or both. It is almost certain that Mary went to the hallway. There is a very good chance that Julius is yellow. There is a very good chance that Emily is a wolf. It is almost certain that if 'Mary went to the hallway and Julius is yellow' then Winona is a sheep. There is almost no chance that if either 'Emily is a wolf' or 'Mary went to the hallway' but not both then Bernhard is a frog. It is probable that if 'Julius is yellow' or 'Mary went to the hallway' or both then Sandra put down the milk.,It is probably not the case that either 'Sandra put down the milk' 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.95::factA. 0.8::factB. 0.8::factC. %hop1 0.95::factX:-and(factA,factB). 0.02::factY:-xor(factC,factA). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.373,0.7305461092218444,train,probably not,almost certain,It is probably not the case that either 'Sandra put down the milk' or 'Julius is yellow' but not both.,It is almost certain that either 'Sandra put down the milk' or 'Julius is yellow' but not both.,1,Either 'Sandra put down the milk' or 'Julius is yellow' but not both. It is likely that Lily is white. There is a better than even chance that John took the football. There is a better than even chance that Mary went to the office. Chances are slight that if either 'Lily is white' or 'Mary went to the office' but not both then Sandra dropped the milk. Chances are about even that if 'John took the football' or 'Lily is white' or both then Bernhard is a swan. It is unlikely that if either 'John took the football' or 'Lily is white' but not both then Yann is hungry.,It is likely that 'Lily is white' 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.7::factA. 0.6::factB. 0.6::factC. %hop1 0.1::factX:-xor(factA,factC). 0.5::factY:-or(factB,factA). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.718,0.5001000200040008,train,likely,almost no chance,It is likely that 'Lily is white' or 'Sandra dropped the milk' or both.,There is almost no chance that 'Lily is white' or 'Sandra dropped the milk' or both.,1,'Lily is white' or 'Sandra dropped the milk' or both. There is a very good chance that Mary went to the bedroom. It is almost certain that Brian is a lion. There is a very good chance that Greg is green. We doubt that if 'Mary went to the bedroom' or 'Brian is a lion' or both then Lily is a rhino. It is impossible that if 'Brian is a lion and Greg is green' then John left the football. It is probable that if either 'Greg is green' or 'Brian is a lion' but not both then Sandra took the football.,It is unlikely that either 'Lily is a rhino' or 'Greg 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.8::factA. 0.95::factB. 0.8::factC. %hop1 0.2::factX:-or(factA,factB). 0.0::factY:-and(factB,factC). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.6812,0.10922184436887378,train,probable,unlikely,It is probable that either 'Lily is a rhino' or 'Greg is green' but not both.,It is unlikely that either 'Lily is a rhino' or 'Greg is green' but not both.,0,Either 'Lily is a rhino' or 'Greg is green' but not both. It is impossible that Jessica is a cat. We believe that John put down the apple. Chances are about even that Sandra dropped the milk. It is probably not the case that if either 'Sandra dropped the milk' or 'John put down the apple' but not both then Mary got the milk. There is almost no chance that if 'Jessica is a cat and Sandra dropped the milk' then Julius is yellow. It is unlikely that if 'Sandra dropped the milk' or 'Jessica is a cat' or both then Lily is a frog.,It is certain that 'Jessica is a cat 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.0::factA. 0.75::factB. 0.5::factC. %hop1 0.25::factX:-xor(factC,factB). 0.02::factY:-and(factA,factC). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.0,0.23204640928185638,train,impossible,certain,It is impossible that 'Jessica is a cat and Lily is a frog'.,It is certain that 'Jessica is a cat and Lily is a frog'.,0,'Jessica is a cat and Lily is a frog'. Chances are about even that Jeff went to the hallway. There is a very good chance that Sandra left the milk. It is probable that Bernhard is a swan. It is probable that if either 'Jeff went to the hallway' or 'Bernhard is a swan' but not both then Greg is a frog. There is almost no chance that if 'Jeff went to the hallway' or 'Bernhard is a swan' or both then Julius is a lion. It is highly likely that if either 'Jeff went to the hallway' or 'Sandra left the milk' but not both then John dropped the milk.,Chances are about even that either 'John dropped the milk' or 'Sandra 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.5::factA. 0.8::factB. 0.7::factC. %hop1 0.7::factX:-xor(factA,factC). 0.02::factY:-or(factA,factC). 0.9::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.53,0.790758151630326,train,about even,highly unlikely,Chances are about even that either 'John dropped the milk' or 'Sandra left the milk' but not both.,It is highly unlikely that either 'John dropped the milk' or 'Sandra left the milk' but not both.,1,Either 'John dropped the milk' or 'Sandra left the milk' but not both. There is almost no chance that Winona is a wolf. We believe that Gertrude is a cat. There is a better than even chance that Lily is green. It is certain that if 'Gertrude is a cat' or 'Lily is green' or both then Julius is a swan. It is certain that if 'Gertrude is a cat' or 'Lily is green' or both then John grabbed the apple. It is likely that if 'Lily is green and Gertrude is a cat' then Mary went to the hallway.,It is impossible that 'John grabbed the apple' 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.75::factB. 0.6::factC. %hop1 1.0::factX:-or(factB,factC). 1.0::factY:-or(factB,factC). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.902,0.3292658531706341,train,highly likely,impossible,It is highly likely that 'John grabbed the apple' or 'Winona is a wolf' or both.,It is impossible that 'John grabbed the apple' or 'Winona is a wolf' or both.,0,'John grabbed the apple' or 'Winona is a wolf' or both. There is little chance that Gertrude is a mouse. We believe that Brian is a frog. Chances are about even that Julius is a lion. It is highly likely that if either 'Gertrude is a mouse' or 'Julius is a lion' but not both then Mary left the football. It is certain that if 'Gertrude is a mouse and Brian is a frog' then John went to the kitchen. It is likely that if either 'Julius is a lion' or 'Brian is a frog' but not both then Lily is yellow.,Chances are about even that 'John went to the kitchen' 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.1::factA. 0.75::factB. 0.5::factC. %hop1 0.9::factX:-xor(factA,factC). 1.0::factY:-and(factA,factB). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.5375000000000001,0.15423084616923385,train,about even,certain,Chances are about even that 'John went to the kitchen' or 'Julius is a lion' or both.,It is certain that 'John went to the kitchen' or 'Julius is a lion' or both.,1,'John went to the kitchen' or 'Julius is a lion' or both. It is almost certain that Jessica is a cat. It is probably the case that Julius is gray. It is almost certain that Fred went to the garden. There is a better than even chance that if either 'Fred went to the garden' or 'Jessica is a cat' but not both then John grabbed the apple. It is highly likely that if 'Fred went to the garden and Jessica is a cat' then Brian is a swan. It is unlikely that if either 'Jessica is a cat' or 'Fred went to the garden' but not both then Bernhard is white.,It is almost certain that either 'Fred went to the garden' or 'John grabbed 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. 0.95::factC. %hop1 0.6::factX:-xor(factC,factA). 0.9::factY:-and(factC,factA). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.95,0.2730546109221844,train,almost certain,unlikely,It is almost certain that either 'Fred went to the garden' or 'John grabbed the apple' but not both.,It is unlikely that either 'Fred went to the garden' or 'John grabbed the apple' but not both.,1,Either 'Fred went to the garden' or 'John grabbed the apple' but not both. It is almost certain that Bernhard is gray. It is highly unlikely that John dropped the apple. Chances are about even that Sandra left the apple. It is highly likely that if 'Sandra left the apple and Bernhard is gray' then Greg is a frog. It is highly likely that if either 'Bernhard is gray' or 'John dropped the apple' but not both then Brian is a swan. It is almost certain that if 'Bernhard is gray and John dropped the apple' then Lily is white.,It is almost certain that either 'John dropped the apple' 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.95::factA. 0.05::factB. 0.5::factC. %hop1 0.9::factX:-and(factC,factA). 0.9::factY:-xor(factA,factB). 0.95::factZ:-and(factA,factB). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5,0.71874374874975,train,about even,almost certain,Chances are about even that either 'John dropped the apple' or 'Sandra left the apple' but not both.,It is almost certain that either 'John dropped the apple' or 'Sandra left the apple' but not both.,0,Either 'John dropped the apple' or 'Sandra left the apple' but not both. It is probable that Sumit is thirsty. We doubt that John discarded the apple. Chances are slight that Greg is a lion. Chances are slight that if either 'Sumit is thirsty' or 'Greg is a lion' but not both then Mary left the football. It is certain that if 'Sumit is thirsty and Greg is a lion' then Bernhard is a swan. It is probable that if either 'Greg is a lion' or 'Sumit is thirsty' but not both then Fred went to the office.,Chances are slight that 'Sumit is thirsty 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.7::factA. 0.2::factB. 0.1::factC. %hop1 0.1::factX:-xor(factA,factC). 1.0::factY:-and(factA,factC). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.14,0.6863372674534907,train,chances are slight,almost certain,Chances are slight that 'Sumit is thirsty and John discarded the apple'.,It is almost certain that 'Sumit is thirsty and John discarded the apple'.,1,'Sumit is thirsty and John discarded the apple'. There is almost no chance that Bernhard is gray. It is highly likely that Greg is yellow. We doubt that John put down the apple. It is highly likely that if 'Bernhard is gray and John put down the apple' then Daniel got the football. It is likely that if 'John put down the apple' or 'Greg is yellow' or both then Brian is a frog. There is a better than even chance that if 'Bernhard is gray' or 'Greg is yellow' or both then Lily is green.,It is improbable that 'Lily is green and John put down 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.9::factB. 0.2::factC. %hop1 0.9::factX:-and(factA,factC). 0.7::factY:-or(factC,factB). 0.6::factZ:-or(factA,factB). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.10824000000000002,0.22084416883376676,train,improbable,highly likely,It is improbable that 'Lily is green and John put down the apple'.,It is highly likely that 'Lily is green and John put down the apple'.,1,'Lily is green and John put down the apple'. We believe that Jason is tired. It is impossible that Sandra grabbed the milk. Chances are about even that Julius is a swan. It is probable that if 'Jason is tired' or 'Sandra grabbed the milk' or both then Bernhard is a lion. It is almost certain that if 'Julius is a swan' or 'Jason is tired' or both then John took the apple. There is a better than even chance that if either 'Sandra grabbed the milk' or 'Julius is a swan' but not both then Greg is yellow.,It is impossible that 'Sandra grabbed the milk and John took 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.0::factB. 0.5::factC. %hop1 0.7::factX:-or(factA,factB). 0.95::factY:-or(factC,factA). 0.6::factZ:-xor(factB,factC). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.0,0.23524704940988198,train,impossible,better than even,It is impossible that 'Sandra grabbed the milk and John took the apple'.,There is a better than even chance that 'Sandra grabbed the milk and John took the apple'.,1,'Sandra grabbed the milk and John took the apple'. It is probably not the case that Emily is a sheep. It is highly likely that Daniel left the milk. There is a better than even chance that Mary dropped the milk. Chances are about even that if 'Mary dropped the milk and Daniel left the milk' then Greg is a rhino. There is a very good chance that if 'Mary dropped the milk and Daniel left the milk' then Winona is a wolf. It is improbable that if 'Daniel left the milk' or 'Emily is a sheep' or both then John put down the apple.,It is certain that 'Greg is a rhino' or 'Emily 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.25::factA. 0.9::factB. 0.6::factC. %hop1 0.5::factX:-and(factC,factB). 0.8::factY:-and(factC,factB). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.45250000000000007,0.28145629125825167,train,about even,certain,Chances are about even that 'Greg is a rhino' or 'Emily is a sheep' or both.,It is certain that 'Greg is a rhino' or 'Emily is a sheep' or both.,0,'Greg is a rhino' or 'Emily is a sheep' or both. There is almost no chance that Emily is a mouse. It is probably not the case that Mary left the football. It is probably the case that John put down the apple. There is a better than even chance that if 'Mary left the football' or 'Emily is a mouse' or both then Julius is a swan. It is probable that if either 'Mary left the football' or 'John put down the apple' but not both then Greg is a lion. It is improbable that if either 'Mary left the football' or 'John put down the apple' but not both then Lily is a rhino.,It is probably not the case that 'John put down the apple 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.02::factA. 0.25::factB. 0.7::factC. %hop1 0.6::factX:-or(factB,factA). 0.7::factY:-xor(factB,factC). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.3675,0.5165033006601321,train,probably not,almost certain,It is probably not the case that 'John put down the apple and Greg is a lion'.,It is almost certain that 'John put down the apple and Greg is a lion'.,1,'John put down the apple and Greg is a lion'. It is unlikely that Sandra left the apple. It is certain that Mary dropped the milk. It is almost certain that John put down the milk. It is almost certain that if 'Sandra left the apple and John put down the milk' then Greg is gray. It is highly unlikely that if either 'John put down the milk' or 'Sandra left the apple' but not both then Bernhard is yellow. There is almost no chance that if 'Sandra left the apple and John put down the milk' then Julius is a lion.,It is probable that 'Julius is a lion and Mary 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.2::factA. 1.0::factB. 0.95::factC. %hop1 0.95::factX:-and(factA,factC). 0.05::factY:-xor(factC,factA). 0.02::factZ:-and(factA,factC). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.0037999999999999996,0.7073414682936587,train,impossible,probable,It is impossible that 'Julius is a lion and Mary dropped the milk'.,It is probable that 'Julius is a lion and Mary dropped the milk'.,0,'Julius is a lion and Mary dropped the milk'. It is almost certain that Gertrude is a cat. It is certain that Bernhard is gray. It is probably not the case that John grabbed the apple. Chances are about even that if either 'John grabbed the apple' or 'Bernhard is gray' but not both then Sandra dropped the milk. We believe that if 'Bernhard is gray' or 'Gertrude is a cat' or both then Julius is a swan. It is improbable that if 'Bernhard is gray and John grabbed the apple' then Lily is a frog.,There is almost no chance that 'Lily is a frog 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.95::factA. 1.0::factB. 0.25::factC. %hop1 0.5::factX:-xor(factC,factB). 0.75::factY:-or(factB,factA). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.025000000000000012,0.6505301060212042,train,almost no chance,probably,There is almost no chance that 'Lily is a frog and Bernhard is gray'.,It is probably the case that 'Lily is a frog and Bernhard is gray'.,1,'Lily is a frog and Bernhard is gray'. We believe that Lily is yellow. It is almost certain that Bernhard is gray. It is highly likely that Brian is a frog. Chances are slight that if 'Lily is yellow' or 'Brian is a frog' or both then Julius is a rhino. Chances are slight that if 'Brian is a frog' or 'Bernhard is gray' or both then Winona is a sheep. There is little chance that if 'Bernhard is gray' or 'Lily is yellow' or both then John moved to the garden.,It is almost certain that 'Bernhard is gray' 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.75::factA. 0.95::factB. 0.9::factC. %hop1 0.1::factX:-or(factA,factC). 0.1::factY:-or(factC,factB). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.954875,0.7503500700140028,train,almost certain,unlikely,It is almost certain that 'Bernhard is gray' or 'Julius is a rhino' or both.,It is unlikely that 'Bernhard is gray' or 'Julius is a rhino' or both.,1,'Bernhard is gray' or 'Julius is a rhino' or both. We doubt that Mary went to the hallway. It is probably not the case that Sandra got the milk. It is impossible that Bernhard is a swan. It is likely that if 'Mary went to the hallway' or 'Bernhard is a swan' or both then Jessica is a sheep. It is certain that if either 'Bernhard is a swan' or 'Mary went to the hallway' but not both then Lily is a frog. We believe that if 'Bernhard is a swan and Mary went to the hallway' then Brian is a lion.,It is highly likely that either 'Bernhard is a swan' 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.2::factA. 0.25::factB. 0.0::factC. %hop1 0.7::factX:-or(factA,factC). 1.0::factY:-xor(factC,factA). 0.75::factZ:-and(factC,factA). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.2,0.3770754150830166,train,we doubt,highly likely,We doubt that either 'Bernhard is a swan' or 'Lily is a frog' but not both.,It is highly likely that either 'Bernhard is a swan' or 'Lily is a frog' but not both.,0,Either 'Bernhard is a swan' or 'Lily is a frog' but not both. There is almost no chance that Brian is green. It is unlikely that Greg is a frog. It is probable that Julius is a rhino. It is probable that if 'Julius is a rhino and Brian is green' then Jessica is a mouse. It is probably not the case that if 'Brian is green and Julius is a rhino' then Sandra dropped the apple. It is probably the case that if 'Brian is green' or 'Greg is a frog' or both then Mary moved to the office.,There is almost no chance that 'Brian is green 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.02::factA. 0.2::factB. 0.7::factC. %hop1 0.7::factX:-and(factC,factA). 0.25::factY:-and(factA,factC). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.014000000000000007,0.5087017403480696,train,almost no chance,almost certain,There is almost no chance that 'Brian is green and Mary moved to the office'.,It is almost certain that 'Brian is green and Mary moved to the office'.,1,'Brian is green and Mary moved to the office'. It is likely that Brian is a swan. There is a better than even chance that Jessica is a cat. We doubt that Bernhard is yellow. It is impossible that if either 'Bernhard is yellow' or 'Jessica is a cat' but not both then Lily is a frog. There is little chance that if 'Jessica is a cat and Brian is a swan' then Mary went to the kitchen. Chances are about even that if 'Jessica is a cat and Brian is a swan' then John moved to the garden.,It is probable that either 'Mary went to the kitchen' 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.6::factB. 0.2::factC. %hop1 0.0::factX:-xor(factC,factB). 0.1::factY:-and(factB,factA). 0.5::factZ:-and(factB,factA). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.6579999999999999,0.7365473094618924,train,probable,impossible,It is probable that either 'Mary went to the kitchen' or 'Brian is a swan' but not both.,It is impossible that either 'Mary went to the kitchen' or 'Brian is a swan' but not both.,1,Either 'Mary went to the kitchen' or 'Brian is a swan' but not both. We doubt that Lily is a rhino. Chances are slight that Mary is in the hallway. It is improbable that Brian is a frog. Chances are about even that if 'Brian is a frog and Lily is a rhino' then John went to the kitchen. We believe that if 'Mary is in the hallway' or 'Brian is a frog' or both then Julius is yellow. Chances are about even that if either 'Mary is in the hallway' or 'Lily is a rhino' but not both then Winona is a cat.,It is probably the case that 'Lily is a rhino' 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.2::factA. 0.1::factB. 0.1::factC. %hop1 0.5::factX:-and(factC,factA). 0.75::factY:-or(factB,factC). 0.5::factZ:-xor(factB,factA). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.24000000000000005,0.7195439087817563,train,probably not,probably,It is probably not the case that 'Lily is a rhino' or 'Winona is a cat' or both.,It is probably the case that 'Lily is a rhino' or 'Winona is a cat' or both.,0,'Lily is a rhino' or 'Winona is a cat' or both. It is probable that Winona is a mouse. There is a better than even chance that Lily is a frog. It is probable that Sandra grabbed the apple. It is impossible that if either 'Sandra grabbed the apple' or 'Lily is a frog' but not both then John moved to the garden. We doubt that if 'Winona is a mouse' or 'Sandra grabbed the apple' or both then Mary went to the bedroom. There is a better than even chance that if 'Winona is a mouse' or 'Sandra grabbed the apple' or both then Brian is a rhino.,Chances are about even that 'Lily is a frog and Winona 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.7::factA. 0.6::factB. 0.7::factC. %hop1 0.0::factX:-xor(factC,factB). 0.2::factY:-or(factA,factC). 0.6::factZ:-or(factA,factC). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.41999999999999993,0.08541708341668333,train,about even,almost certain,Chances are about even that 'Lily is a frog and Winona is a mouse'.,It is almost certain that 'Lily is a frog and Winona is a mouse'.,1,'Lily is a frog and Winona is a mouse'. It is improbable that Lily is green. It is impossible that John went to the hallway. There is a better than even chance that Julius is gray. There is a very good chance that if 'Lily is green and Julius is gray' then Bill left the milk. It is certain that if 'Julius is gray and John went to the hallway' then Sandra got the football. It is probably not the case that if 'John went to the hallway and Lily is green' then Greg is a rhino.,It is almost certain that 'Sandra got the football 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.1::factA. 0.0::factB. 0.6::factC. %hop1 0.8::factX:-and(factA,factC). 1.0::factY:-and(factC,factB). 0.25::factZ:-and(factB,factA). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.0,0.4806961392278456,train,impossible,almost certain,It is impossible that 'Sandra got the football and Greg is a rhino'.,It is almost certain that 'Sandra got the football and Greg is a rhino'.,0,'Sandra got the football and Greg is a rhino'. There is little chance that Lily is a swan. It is probably the case that Bernhard is a lion. There is a better than even chance that Julius is a rhino. It is improbable that if either 'Julius is a rhino' or 'Lily is a swan' but not both then Jason is tired. We believe that if 'Bernhard is a lion' or 'Lily is a swan' or both then Daniel took the apple. Chances are about even that if 'Bernhard is a lion and Lily is a swan' then Brian is yellow.,Chances are about even that 'Julius is a rhino 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.1::factA. 0.7::factB. 0.6::factC. %hop1 0.1::factX:-xor(factC,factA). 0.75::factY:-or(factB,factA). 0.5::factZ:-and(factB,factA). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.41999999999999993,0.3816763352670534,train,about even,certain,Chances are about even that 'Julius is a rhino and Bernhard is a lion'.,It is certain that 'Julius is a rhino and Bernhard is a lion'.,1,'Julius is a rhino and Bernhard is a lion'. It is impossible that Julius is a frog. It is certain that Fred went to the garden. There is a very good chance that Lily is gray. There is a better than even chance that if 'Fred went to the garden' or 'Lily is gray' or both then Brian is yellow. There is a very good chance that if either 'Fred went to the garden' or 'Julius is a frog' but not both then Greg is a swan. There is a better than even chance that if 'Fred went to the garden' or 'Julius is a frog' or both then Mary put down the apple.,It is improbable that either 'Fred went to the garden' 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.0::factA. 1.0::factB. 0.8::factC. %hop1 0.6::factX:-or(factB,factC). 0.8::factY:-xor(factB,factA). 0.6::factZ:-or(factB,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",1.0,0.1308261652330466,train,certain,improbable,It is certain that either 'Fred went to the garden' or 'Julius is a frog' but not both.,It is improbable that either 'Fred went to the garden' or 'Julius is a frog' but not both.,0,Either 'Fred went to the garden' or 'Julius is a frog' but not both. It is improbable that Lily is a swan. It is probably not the case that Winona is a sheep. There is a better than even chance that Jeff left the apple. It is likely that if either 'Lily is a swan' or 'Jeff left the apple' but not both then Julius is white. It is probably the case that if 'Jeff left the apple and Winona is a sheep' then Mary went to the bedroom. It is impossible that if 'Lily is a swan' or 'Winona is a sheep' or both then Brian is yellow.,It is probably not the case that 'Lily is a swan' 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.25::factB. 0.6::factC. %hop1 0.7::factX:-xor(factA,factC). 0.7::factY:-and(factC,factB). 0.0::factZ:-or(factA,factB). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.325,0.3094618923784757,train,probably not,highly likely,It is probably not the case that 'Lily is a swan' or 'Winona is a sheep' or both.,It is highly likely that 'Lily is a swan' or 'Winona is a sheep' or both.,1,'Lily is a swan' or 'Winona is a sheep' or both. It is probably not the case that Brian is yellow. Chances are slight that Julius is a swan. Chances are slight that Winona is a sheep. It is probably not the case that if either 'Winona is a sheep' or 'Julius is a swan' but not both then Lily is a rhino. It is almost certain that if either 'Julius is a swan' or 'Brian is yellow' but not both then Sandra dropped the milk. We believe that if either 'Julius is a swan' or 'Winona is a sheep' but not both then Mary went to the kitchen.,We believe that 'Lily is a rhino' 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.25::factA. 0.1::factB. 0.1::factC. %hop1 0.25::factX:-xor(factC,factB). 0.95::factY:-xor(factB,factA). 0.75::factZ:-xor(factB,factC). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.28375,0.41508301660332064,train,probably not,we believe,It is probably not the case that 'Lily is a rhino' or 'Brian is yellow' or both.,We believe that 'Lily is a rhino' or 'Brian is yellow' or both.,0,'Lily is a rhino' or 'Brian is yellow' or both. It is highly unlikely that John put down the apple. It is probably the case that Lily is a frog. It is probably the case that Brian is a lion. It is highly unlikely that if 'Brian is a lion' or 'John put down the apple' or both then Greg is yellow. Chances are about even that if 'Lily is a frog and John put down the apple' then Jessica is a mouse. We believe that if either 'John put down the apple' or 'Lily is a frog' but not both then Mary went to the office.,It is probable 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.05::factA. 0.7::factB. 0.7::factC. %hop1 0.05::factX:-or(factC,factA). 0.5::factY:-and(factB,factA). 0.75::factZ:-xor(factA,factB). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.71125,0.3018603720744149,train,probable,improbable,It is probable that 'Mary went to the office' or 'Lily is a frog' or both.,It is improbable 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. There is little chance that Julius is a swan. It is impossible that Antoine is thirsty. It is probable that Lily is a swan. There is a very good chance that if 'Antoine is thirsty' or 'Lily is a swan' or both then Brian is a rhino. There is little chance that if either 'Lily is a swan' or 'Julius is a swan' but not both then Bernhard is a frog. It is probable that if 'Lily is a swan' or 'Julius is a swan' or both then Mary got the football.,Chances are about even that either 'Mary got the football' 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.1::factA. 0.0::factB. 0.7::factC. %hop1 0.8::factX:-or(factB,factC). 0.1::factY:-xor(factC,factA). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.4846,0.3740748149629926,train,about even,impossible,Chances are about even that either 'Mary got the football' or 'Bernhard is a frog' but not both.,It is impossible that either 'Mary got the football' or 'Bernhard is a frog' but not both.,1,Either 'Mary got the football' or 'Bernhard is a frog' but not both. There is a better than even chance that Gertrude is a cat. It is highly likely that Emily is a wolf. It is improbable that Jeff discarded the milk. It is impossible that if 'Jeff discarded the milk' or 'Gertrude is a cat' or both then Greg is gray. We believe that if either 'Emily is a wolf' or 'Jeff discarded the milk' but not both then Brian is white. It is almost certain that if 'Jeff discarded the milk and Gertrude is a cat' then Mary got the apple.,It is highly unlikely that either 'Mary got the apple' or 'Greg 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.9::factB. 0.1::factC. %hop1 0.0::factX:-or(factC,factA). 0.75::factY:-xor(factB,factC). 0.95::factZ:-and(factC,factA). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.056999999999999995,0.20104020804160833,train,highly unlikely,certain,It is highly unlikely that either 'Mary got the apple' or 'Greg is gray' but not both.,It is certain that either 'Mary got the apple' or 'Greg is gray' but not both.,1,Either 'Mary got the apple' or 'Greg is gray' but not both. It is certain that Mary took the milk. There is a very good chance that Greg is a rhino. It is almost certain that Brian is white. It is probable that if either 'Brian is white' or 'Mary took the milk' but not both then Lily is yellow. It is impossible that if 'Mary took the milk and Brian is white' then Bernhard is yellow. It is unlikely that if 'Mary took the milk' or 'Greg is a rhino' or both then Jason is tired.,It is highly unlikely that 'Mary took the milk 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 1.0::factA. 0.8::factB. 0.95::factC. %hop1 0.7::factX:-xor(factC,factA). 0.0::factY:-and(factA,factC). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.03500000000000003,0.1832366473294659,train,highly unlikely,we believe,It is highly unlikely that 'Mary took the milk and Lily is yellow'.,We believe that 'Mary took the milk and Lily is yellow'.,1,'Mary took the milk and Lily is yellow'. It is probably the case that Lily is yellow. It is unlikely that Mary went to the office. It is improbable that Bernhard is green. It is likely that if either 'Lily is yellow' or 'Bernhard is green' but not both then Julius is gray. It is probable that if either 'Bernhard is green' or 'Lily is yellow' but not both then Emily is a mouse. We believe that if 'Bernhard is green' or 'Lily is yellow' or both then John dropped the apple.,It is highly likely that either 'Julius is gray' 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.7::factA. 0.2::factB. 0.1::factC. %hop1 0.7::factX:-xor(factA,factC). 0.7::factY:-xor(factC,factA). 0.75::factZ:-or(factC,factA). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.28,0.3776755351070214,train,probably not,highly likely,It is probably not the case that either 'Julius is gray' or 'Lily is yellow' but not both.,It is highly likely that either 'Julius is gray' or 'Lily is yellow' but not both.,0,Either 'Julius is gray' or 'Lily is yellow' but not both. It is highly likely that Brian is a swan. There is a very good chance that Lily is a lion. It is almost certain that John moved to the garden. Chances are about even that if 'John moved to the garden' or 'Brian is a swan' or both then Daniel took the apple. There is a better than even chance that if either 'Brian is a swan' or 'John moved to the garden' but not both then Emily is a mouse. It is likely that if 'John moved to the garden' or 'Brian is a swan' or both then Yann is bored.,It is improbable that 'Brian 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.9::factA. 0.8::factB. 0.95::factC. %hop1 0.5::factX:-or(factC,factA). 0.6::factY:-xor(factA,factC). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.855,0.6365273054610923,train,highly likely,improbable,It is highly likely that 'Brian is a swan and John moved to the garden'.,It is improbable that 'Brian is a swan and John moved to the garden'.,0,'Brian is a swan and John moved to the garden'. There is a better than even chance that Greg is a frog. We believe that Emily is a sheep. It is probably the case that Brian is a lion. It is likely that if either 'Greg is a frog' or 'Emily is a sheep' but not both then Bernhard is green. We doubt that if 'Emily is a sheep' or 'Greg is a frog' or both then Fred is in the school. There is a very good chance that if 'Brian is a lion and Greg is a frog' then Winona is a mouse.,It is almost certain that either 'Emily is a sheep' or 'Greg 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.6::factA. 0.75::factB. 0.7::factC. %hop1 0.7::factX:-xor(factA,factB). 0.2::factY:-or(factB,factA). 0.8::factZ:-and(factC,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.45000000000000007,0.005201040208041609,train,about even,almost certain,Chances are about even that either 'Emily is a sheep' or 'Greg is a frog' but not both.,It is almost certain that either 'Emily is a sheep' or 'Greg is a frog' but not both.,0,Either 'Emily is a sheep' or 'Greg is a frog' but not both. There is little chance that Fred left the football. It is highly unlikely that Julius is white. It is highly likely that Daniel grabbed the milk. It is improbable that if 'Julius is white' or 'Fred left the football' or both then Emily is a cat. It is probably the case that if either 'Fred left the football' or 'Julius is white' but not both then Lily is a lion. Chances are about even that if 'Julius is white and Fred left the football' then Brian is yellow.,Chances are slight that 'Emily is a cat' or 'Fred 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.1::factA. 0.05::factB. 0.9::factC. %hop1 0.1::factX:-or(factB,factA). 0.7::factY:-xor(factA,factB). 0.5::factZ:-and(factB,factA). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.10450000000000001,0.584116823364673,train,chances are slight,we believe,Chances are slight that 'Emily is a cat' or 'Fred left the football' or both.,We believe that 'Emily is a cat' or 'Fred left the football' or both.,1,'Emily is a cat' or 'Fred left the football' or both. It is improbable that Gertrude is a wolf. There is almost no chance that Mary went to the garden. It is probably not the case that Brian is green. It is highly unlikely that if 'Mary went to the garden and Gertrude is a wolf' then Winona is a cat. It is probably the case that if 'Gertrude is a wolf' or 'Mary went to the garden' or both then Julius is a swan. There is a better than even chance that if 'Mary went to the garden' or 'Gertrude is a wolf' or both then Jeff dropped the apple.,It is certain that 'Mary went to the garden' or 'Gertrude 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.1::factA. 0.02::factB. 0.25::factC. %hop1 0.05::factX:-and(factB,factA). 0.7::factY:-or(factA,factB). 0.6::factZ:-or(factB,factA). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.11800000000000002,0.18863772754550912,train,little chance,certain,There is little chance that 'Mary went to the garden' or 'Gertrude is a wolf' or both.,It is certain that 'Mary went to the garden' or 'Gertrude is a wolf' or both.,0,'Mary went to the garden' or 'Gertrude is a wolf' or both. We believe that Lily is green. It is probably not the case that Brian is a frog. It is improbable that John left the milk. It is highly likely that if 'Lily is green and John left the milk' then Daniel took the football. It is certain that if 'Brian is a frog and John left the milk' then Mary moved to the office. It is probably the case that if either 'Brian is a frog' or 'Lily is green' but not both then Julius is a swan.,It is probably the case that 'Daniel took the football 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.75::factA. 0.25::factB. 0.1::factC. %hop1 0.9::factX:-and(factA,factC). 1.0::factY:-and(factB,factC). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.016875,0.24104820964192838,train,almost no chance,probably,There is almost no chance that 'Daniel took the football and Mary moved to the office'.,It is probably the case that 'Daniel took the football and Mary moved to the office'.,0,'Daniel took the football and Mary moved to the office'. It is probably the case that Gertrude is a mouse. We doubt that Lily is white. We doubt that John put down the milk. Chances are about even that if 'John put down the milk' or 'Lily is white' or both then Julius is a lion. It is probably not the case that if 'Gertrude is a mouse and John put down the milk' then Jason is thirsty. There is a very good chance that if either 'Gertrude is a mouse' or 'Lily is white' but not both then Mary went to the kitchen.,There is a better than even chance that 'John put down the milk' 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.7::factA. 0.2::factB. 0.2::factC. %hop1 0.5::factX:-or(factC,factB). 0.25::factY:-and(factA,factC). 0.8::factZ:-xor(factA,factB). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.5968000000000001,0.20464092818563712,train,better than even,impossible,There is a better than even chance that 'John put down the milk' or 'Mary went to the kitchen' or both.,It is impossible that 'John put down the milk' or 'Mary went to the kitchen' or both.,1,'John put down the milk' or 'Mary went to the kitchen' or both. We doubt that Gertrude is a mouse. There is a better than even chance that Julius is green. Chances are about even that Sandra dropped the milk. It is impossible that if 'Gertrude is a mouse and Julius is green' then Brian is a swan. Chances are about even that if either 'Sandra dropped the milk' or 'Gertrude is a mouse' but not both then Lily is a rhino. There is a very good chance that if either 'Gertrude is a mouse' or 'Sandra dropped the milk' but not both then Fred put down the apple.,There is a better than even chance that either 'Gertrude is a mouse' 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.2::factA. 0.6::factB. 0.5::factC. %hop1 0.0::factX:-and(factA,factB). 0.5::factY:-xor(factC,factA). 0.8::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.5599999999999999,0.6499299859971994,train,better than even,little chance,There is a better than even chance that either 'Gertrude is a mouse' or 'Julius is green' but not both.,There is little chance that either 'Gertrude is a mouse' or 'Julius is green' but not both.,1,Either 'Gertrude is a mouse' or 'Julius is green' but not both. It is probably the case that John got the milk. It is improbable that Greg is white. It is highly unlikely that Lily is a lion. It is certain that if either 'John got the milk' or 'Lily is a lion' but not both then Mary took the football. It is improbable that if 'Greg is white and John got the milk' then Brian is green. There is a better than even chance that if either 'Lily is a lion' or 'John got the milk' but not both then Bernhard is a rhino.,It is certain that 'Mary took the football 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.1::factB. 0.05::factC. %hop1 1.0::factX:-xor(factA,factC). 0.1::factY:-and(factB,factA). 0.6::factZ:-xor(factC,factA). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.006650000000000005,0.22204440888177635,train,impossible,certain,It is impossible that 'Mary took the football and Brian is green'.,It is certain that 'Mary took the football and Brian is green'.,0,'Mary took the football and Brian is green'. Chances are slight that Winona is a mouse. Chances are about even that Bernhard is white. There is almost no chance that John got the apple. There is a better than even chance that if 'Winona is a mouse and John got the apple' then Jessica is a cat. It is likely that if either 'Bernhard is white' or 'John got the apple' but not both then Lily is a frog. There is a very good chance that if 'Winona is a mouse and Bernhard is white' then Brian is a rhino.,It is impossible that 'Jessica is a cat and Winona 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.1::factA. 0.5::factB. 0.02::factC. %hop1 0.6::factX:-and(factA,factC). 0.7::factY:-xor(factB,factC). 0.8::factZ:-and(factA,factB). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.0012000000000000005,0.6919383876775355,train,impossible,better than even,It is impossible that 'Jessica is a cat and Winona is a mouse'.,There is a better than even chance that 'Jessica is a cat and Winona is a mouse'.,1,'Jessica is a cat and Winona is a mouse'. It is almost certain that Lily is gray. It is probably the case that Jessica is a mouse. It is probably the case that Bernhard is white. There is a better than even chance that if 'Jessica is a mouse and Lily is gray' then Sandra dropped the milk. Chances are slight that if 'Jessica is a mouse' or 'Lily is gray' or both then John moved to the garden. It is impossible that if 'Bernhard is white and Lily is gray' then Mary got the football.,We doubt that either 'Bernhard is white' 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 0.95::factA. 0.7::factB. 0.7::factC. %hop1 0.6::factX:-and(factB,factA). 0.1::factY:-or(factB,factA). 0.0::factZ:-and(factC,factA). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.7,0.5855171034206842,train,likely,we doubt,It is likely that either 'Bernhard is white' or 'Mary got the football' but not both.,We doubt that either 'Bernhard is white' or 'Mary got the football' but not both.,0,Either 'Bernhard is white' or 'Mary got the football' but not both. It is probably not the case that Jason is tired. We believe that Bernhard is a swan. There is a better than even chance that John picked up the apple. There is a very good chance that if either 'Bernhard is a swan' or 'Jason is tired' but not both then Yann is bored. There is little chance that if 'Jason is tired and John picked up the apple' then Mary moved to the garden. It is unlikely that if either 'John picked up the apple' or 'Bernhard is a swan' but not both then Winona is a wolf.,Chances are about even that 'Yann is bored' or 'Mary 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.25::factA. 0.75::factB. 0.6::factC. %hop1 0.8::factX:-xor(factB,factA). 0.1::factY:-and(factA,factC). 0.2::factZ:-xor(factC,factB). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.5120000000000001,0.35367073414682937,train,about even,highly unlikely,Chances are about even that 'Yann is bored' or 'Mary moved to the garden' or both.,It is highly unlikely that 'Yann is bored' or 'Mary moved to the garden' or both.,1,'Yann is bored' or 'Mary moved to the garden' or both. It is highly unlikely that Greg is a rhino. It is likely that Jason is tired. There is almost no chance that Lily is a frog. There is almost no chance that if 'Jason is tired and Greg is a rhino' then Julius is white. It is almost certain that if either 'Lily is a frog' or 'Greg is a rhino' but not both then John got the milk. It is improbable that if 'Greg is a rhino and Lily is a frog' then Bernhard is a swan.,It is almost certain that 'Bernhard is a swan' 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.05::factA. 0.7::factB. 0.02::factC. %hop1 0.02::factX:-and(factB,factA). 0.95::factY:-xor(factC,factA). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.02,0.0644128825765153,train,almost no chance,almost certain,There is almost no chance that 'Bernhard is a swan' or 'Lily is a frog' or both.,It is almost certain that 'Bernhard is a swan' or 'Lily is a frog' or both.,0,'Bernhard is a swan' or 'Lily is a frog' or both. It is highly unlikely that Jason is tired. We doubt that Julius is a frog. We believe that John left the milk. It is almost certain that if either 'Jason is tired' or 'Julius is a frog' but not both then Greg is gray. It is impossible that if either 'Julius is a frog' or 'Jason is tired' but not both then Lily is a swan. It is impossible that if 'Jason is tired' or 'Julius is a frog' or both then Mary went to the bedroom.,It is probable that 'Lily is a swan' 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 0.05::factA. 0.2::factB. 0.75::factC. %hop1 0.95::factX:-xor(factA,factB). 0.0::factY:-xor(factB,factA). 0.0::factZ:-or(factA,factB). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.05000000000000001,0.36307261452290457,train,highly unlikely,probable,It is highly unlikely that 'Lily is a swan' or 'Jason is tired' or both.,It is probable that 'Lily is a swan' or 'Jason is tired' or both.,0,'Lily is a swan' or 'Jason is tired' or both. It is almost certain that Jessica is a cat. It is almost certain that Greg is a lion. Chances are slight that Bernhard is a swan. There is little chance that if 'Jessica is a cat' or 'Greg is a lion' or both then Gertrude is a mouse. It is likely that if 'Greg is a lion and Jessica is a cat' then Jason is tired. It is unlikely that if 'Greg is a lion and Bernhard is a swan' then Lily is a frog.,There is a better than even chance 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.95::factA. 0.95::factB. 0.1::factC. %hop1 0.1::factX:-or(factA,factB). 0.7::factY:-and(factB,factA). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.6317499999999999,0.5907181436287258,train,better than even,little chance,There is a better than even chance that 'Greg is a lion and Jason is tired'.,There is little chance that 'Greg is a lion and Jason is tired'.,1,'Greg is a lion and Jason is tired'. There is a very good chance that Mary got the football. It is probable that Jeff moved to the office. Chances are slight that Greg is a rhino. It is highly unlikely that if 'Greg is a rhino and Mary got the football' then Bernhard is yellow. We doubt that if 'Mary got the football' or 'Jeff moved to the office' or both then Lily is white. There is a better than even chance that if either 'Jeff moved to the office' or 'Mary got the football' but not both then John put down the apple.,It is unlikely that 'Jeff moved to the office' 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.8::factA. 0.7::factB. 0.1::factC. %hop1 0.05::factX:-and(factC,factA). 0.2::factY:-or(factA,factB). 0.6::factZ:-xor(factB,factA). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.94,0.41228245649129824,train,almost certain,unlikely,It is almost certain that 'Jeff moved to the office' or 'Mary got the football' or both.,It is unlikely that 'Jeff moved to the office' or 'Mary got the football' or both.,0,'Jeff moved to the office' or 'Mary got the football' or both. It is likely that Jessica is a cat. It is certain that Brian is a rhino. There is little chance that Greg is a lion. Chances are slight that if 'Jessica is a cat' or 'Greg is a lion' or both then Gertrude is a sheep. We doubt that if either 'Jessica is a cat' or 'Brian is a rhino' but not both then Lily is green. Chances are about even that if either 'Brian is a rhino' or 'Greg is a lion' but not both then Daniel left the apple.,There is little chance that either 'Brian is a rhino' or 'Daniel 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. 1.0::factB. 0.1::factC. %hop1 0.1::factX:-or(factA,factC). 0.2::factY:-xor(factA,factB). 0.5::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.55,0.28425685137027407,train,better than even,little chance,There is a better than even chance that either 'Brian is a rhino' or 'Daniel left the apple' but not both.,There is little chance that either 'Brian is a rhino' or 'Daniel left the apple' but not both.,0,Either 'Brian is a rhino' or 'Daniel left the apple' but not both. It is unlikely that Lily is a frog. Chances are about even that John went to the garden. It is highly likely that Greg is a lion. We believe that if either 'Lily is a frog' or 'John went to the garden' but not both then Fred dropped the milk. Chances are about even that if either 'Lily is a frog' or 'John went to the garden' but not both then Brian is green. It is unlikely that if either 'John went to the garden' or 'Greg is a lion' but not both then Julius is a frog.,It is improbable that 'John went to the garden' or 'Fred 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.2::factA. 0.5::factB. 0.9::factC. %hop1 0.75::factX:-xor(factA,factB). 0.5::factY:-xor(factA,factB). 0.2::factZ:-xor(factB,factC). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.5750000000000001,0.3046609321864373,train,better than even,improbable,There is a better than even chance that 'John went to the garden' or 'Fred dropped the milk' or both.,It is improbable that 'John went to the garden' or 'Fred dropped the milk' or both.,0,'John went to the garden' or 'Fred dropped the milk' or both. It is impossible that Fred went to the garden. There is little chance that Winona is a wolf. It is probably not the case that Bernhard is a rhino. It is probable that if either 'Fred went to the garden' or 'Bernhard is a rhino' but not both then Emily is a mouse. It is highly unlikely that if 'Winona is a wolf' or 'Bernhard is a rhino' or both then Lily is gray. It is probable that if 'Bernhard is a rhino and Fred went to the garden' then Greg is green.,It is certain that either 'Fred went to the garden' or 'Bernhard 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.25::factC. %hop1 0.7::factX:-xor(factA,factC). 0.05::factY:-or(factB,factC). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.25,0.45629125825165034,train,probably not,certain,It is probably not the case that either 'Fred went to the garden' or 'Bernhard is a rhino' but not both.,It is certain that either 'Fred went to the garden' or 'Bernhard is a rhino' but not both.,0,Either 'Fred went to the garden' or 'Bernhard is a rhino' but not both. There is almost no chance that Lily is yellow. There is almost no chance that Bernhard is white. We doubt that Brian is yellow. It is probably not the case that if 'Lily is yellow and Brian is yellow' then Bill got the milk there. Chances are about even that if 'Lily is yellow' or 'Bernhard is white' or both then Greg is green. It is unlikely that if 'Lily is yellow and Brian is yellow' then Mary left the football.,There is almost no chance that 'Greg is green' 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.02::factA. 0.02::factB. 0.2::factC. %hop1 0.25::factX:-and(factA,factC). 0.5::factY:-or(factA,factB). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.0202,0.46609321864372877,train,almost no chance,better than even,There is almost no chance that 'Greg is green' or 'Mary left the football' or both.,There is a better than even chance that 'Greg is green' or 'Mary left the football' or both.,1,'Greg is green' or 'Mary left the football' or both. It is probable that Lily is a lion. It is highly unlikely that Emily is a mouse. It is highly likely that Bernhard is green. It is likely that if either 'Lily is a lion' or 'Emily is a mouse' but not both then Julius is a swan. It is highly likely that if 'Lily is a lion' or 'Emily is a mouse' or both then John discarded the milk. There is almost no chance that if either 'Emily is a mouse' or 'Lily is a lion' but not both then Mary took the football.,There is a very good chance that 'Emily is a mouse' or 'Mary took 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.7::factA. 0.05::factB. 0.9::factC. %hop1 0.7::factX:-xor(factA,factB). 0.9::factY:-or(factA,factB). 0.02::factZ:-xor(factB,factA). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.06330000000000001,0.17583516703340668,train,highly unlikely,very good chance,It is highly unlikely that 'Emily is a mouse' or 'Mary took the football' or both.,There is a very good chance that 'Emily is a mouse' or 'Mary took the football' or both.,0,'Emily is a mouse' or 'Mary took the football' or both. It is probably not the case that John discarded the apple. It is almost certain that Mary got the football. Chances are slight that Julius is a frog. Chances are slight that if 'John discarded the apple' or 'Julius is a frog' or both then Bernhard is green. Chances are slight that if either 'Mary got the football' or 'Julius is a frog' but not both then Brian is a rhino. There is a very good chance that if either 'John discarded the apple' or 'Mary got the football' but not both then Greg is a lion.,It is highly likely that either 'Bernhard is green' 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 0.25::factA. 0.95::factB. 0.1::factC. %hop1 0.1::factX:-or(factA,factC). 0.1::factY:-xor(factB,factC). 0.8::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.92075,0.0618123624724945,train,highly likely,unlikely,It is highly likely that either 'Bernhard is green' or 'Mary got the football' but not both.,It is unlikely that either 'Bernhard is green' or 'Mary got the football' but not both.,1,Either 'Bernhard is green' or 'Mary got the football' but not both. It is unlikely that Bill went to the bedroom. Chances are about even that Brian is gray. It is likely that John got the milk. It is probable that if either 'John got the milk' or 'Brian is gray' but not both then Greg is a frog. Chances are slight that if either 'Bill went to the bedroom' or 'John got the milk' but not both then Bernhard is green. It is highly likely that if 'Bill went to the bedroom and Brian is gray' then Mary is in the hallway.,Chances are about even that 'Bernhard is green 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.2::factA. 0.5::factB. 0.7::factC. %hop1 0.7::factX:-xor(factC,factB). 0.1::factY:-xor(factA,factC). 0.9::factZ:-and(factA,factB). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.021700000000000004,0.21444288857771554,train,almost no chance,about even,There is almost no chance that 'Bernhard is green and Greg is a frog'.,Chances are about even that 'Bernhard is green and Greg is a frog'.,0,'Bernhard is green and Greg is a frog'. It is unlikely that Bernhard is a rhino. There is a better than even chance that Greg is a swan. It is likely that Mary dropped the milk. There is a very good chance that if 'Bernhard is a rhino' or 'Greg is a swan' or both then Sumit is thirsty. Chances are slight that if 'Bernhard is a rhino' or 'Mary dropped the milk' or both then Fred went to the garden. There is almost no chance that if 'Greg is a swan' or 'Bernhard is a rhino' or both then Emily is a cat.,It is probable that either 'Sumit is thirsty' 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.6::factB. 0.7::factC. %hop1 0.8::factX:-or(factA,factB). 0.1::factY:-or(factA,factC). 0.02::factZ:-or(factB,factA). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.184,0.4120824164832967,train,we doubt,probable,We doubt that either 'Sumit is thirsty' or 'Greg is a swan' but not both.,It is probable that either 'Sumit is thirsty' or 'Greg is a swan' but not both.,0,Either 'Sumit is thirsty' or 'Greg is a swan' but not both. It is highly unlikely that Emily is a wolf. It is probably not the case that Winona is a sheep. There is almost no chance that Julius is gray. We believe that if either 'Emily is a wolf' or 'Julius is gray' but not both then Jeff went to the bedroom. Chances are about even that if 'Emily is a wolf and Julius is gray' then Brian is white. It is probably not the case that if 'Emily is a wolf' or 'Julius is gray' or both then Jason is tired.,It is almost certain that either 'Emily is a wolf' 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.05::factA. 0.25::factB. 0.02::factC. %hop1 0.75::factX:-xor(factA,factC). 0.5::factY:-and(factA,factC). 0.25::factZ:-or(factA,factC). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.27499999999999997,0.41448289657931586,train,probably not,almost certain,It is probably not the case that either 'Emily is a wolf' or 'Winona is a sheep' but not both.,It is almost certain that either 'Emily is a wolf' or 'Winona is a sheep' but not both.,0,Either 'Emily is a wolf' or 'Winona is a sheep' but not both. It is probably the case that Brian is yellow. It is probably not the case that Lily is a lion. It is highly unlikely that Jessica is a cat. It is probable that if 'Jessica is a cat' or 'Brian is yellow' or both then Bill left the milk. It is almost certain that if 'Brian is yellow' or 'Lily is a lion' or both then Mary dropped the apple. It is almost certain that if 'Lily is a lion' or 'Jessica is a cat' or both then John moved to the garden.,It is almost certain that 'John moved to the garden and Bill 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.05::factC. %hop1 0.7::factX:-or(factC,factA). 0.95::factY:-or(factA,factB). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.14380625,0.5757151430286057,train,chances are slight,almost certain,Chances are slight that 'John moved to the garden and Bill left the milk'.,It is almost certain that 'John moved to the garden and Bill left the milk'.,0,'John moved to the garden and Bill left the milk'. There is a very good chance that Mary discarded the milk. There is almost no chance that Fred is in the office. There is little chance that Jeff moved to the garden. Chances are slight that if either 'Jeff moved to the garden' or 'Mary discarded the milk' but not both then Greg is a rhino. There is a better than even chance that if 'Jeff moved to the garden and Mary discarded the milk' then John dropped the apple. We believe that if 'Fred is in the office' or 'Jeff moved to the garden' or both then Bill went to the kitchen.,It is highly unlikely that 'John dropped the apple and Mary 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.8::factA. 0.02::factB. 0.1::factC. %hop1 0.1::factX:-xor(factC,factA). 0.6::factY:-and(factC,factA). 0.75::factZ:-or(factB,factC). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.048,0.46129225845169036,train,highly unlikely,better than even,It is highly unlikely that 'John dropped the apple and Mary discarded the milk'.,There is a better than even chance that 'John dropped the apple and Mary discarded the milk'.,1,'John dropped the apple and Mary discarded the milk'. Chances are slight that Mary went to the bedroom. It is probably not the case that Brian is green. There is little chance that Winona is a mouse. It is likely that if either 'Winona is a mouse' or 'Brian is green' but not both then Fred discarded the apple. We believe that if 'Mary went to the bedroom and Winona is a mouse' then Greg is white. It is probably not the case that if 'Winona is a mouse' or 'Brian is green' or both then John took the football.,There is a very good chance that either 'Brian is green' or 'John 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.1::factA. 0.25::factB. 0.1::factC. %hop1 0.7::factX:-xor(factC,factB). 0.75::factY:-and(factA,factC). 0.25::factZ:-or(factC,factB). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.20625000000000002,0.07921584316863373,train,we doubt,very good chance,We doubt that either 'Brian is green' or 'John took the football' but not both.,There is a very good chance that either 'Brian is green' or 'John took the football' but not both.,0,Either 'Brian is green' or 'John took the football' but not both. It is certain that Bernhard is green. It is highly unlikely that John picked up the apple. It is certain that Mary dropped the milk. It is almost certain that if either 'John picked up the apple' or 'Bernhard is green' but not both then Jessica is a cat. It is improbable that if either 'Bernhard is green' or 'John picked up the apple' but not both then Winona is a sheep. There is little chance that if either 'Bernhard is green' or 'Mary dropped the milk' but not both then Lily is a lion.,It is probable that either 'Lily is a lion' 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 1.0::factA. 0.05::factB. 1.0::factC. %hop1 0.95::factX:-xor(factB,factA). 0.1::factY:-xor(factA,factB). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.09500000000000001,0.0,train,improbable,probable,It is improbable that either 'Lily is a lion' or 'Winona is a sheep' but not both.,It is probable that either 'Lily is a lion' or 'Winona is a sheep' but not both.,0,Either 'Lily is a lion' or 'Winona is a sheep' but not both. There is a better than even chance that Sumit is thirsty. Chances are about even that Julius is a lion. It is probably the case that Bernhard is a frog. It is unlikely that if 'Julius is a lion and Sumit is thirsty' then John moved to the garden. It is improbable that if either 'Bernhard is a frog' or 'Sumit is thirsty' but not both then Mary dropped the milk. There is little chance that if either 'Julius is a lion' or 'Sumit is thirsty' but not both then Greg is a swan.,It is probably the case that 'Bernhard is a frog' 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.6::factA. 0.5::factB. 0.7::factC. %hop1 0.2::factX:-and(factB,factA). 0.1::factY:-xor(factC,factA). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.718,0.3176635327065413,train,probably,chances are slight,It is probably the case that 'Bernhard is a frog' or 'Mary dropped the milk' or both.,Chances are slight that 'Bernhard is a frog' or 'Mary dropped the milk' or both.,1,'Bernhard is a frog' or 'Mary dropped the milk' or both. It is unlikely that John picked up the milk. There is a very good chance that Lily is a rhino. There is little chance that Brian is white. There is little chance that if either 'John picked up the milk' or 'Lily is a rhino' but not both then Bernhard is a frog. We believe that if either 'John picked up the milk' or 'Lily is a rhino' but not both then Fred is in the office. It is probably not the case that if 'John picked up the milk' or 'Brian is white' or both then Mary dropped the apple.,We doubt that either 'John picked up the milk' 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.2::factA. 0.8::factB. 0.1::factC. %hop1 0.1::factX:-xor(factA,factB). 0.75::factY:-xor(factA,factB). 0.25::factZ:-or(factA,factC). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.17,0.1792358471694339,train,we doubt,probably,We doubt that either 'John picked up the milk' or 'Mary dropped the apple' but not both.,It is probably the case that either 'John picked up the milk' or 'Mary dropped the apple' but not both.,1,Either 'John picked up the milk' or 'Mary dropped the apple' but not both. Chances are about even that Brian is green. It is highly unlikely that Bill got the milk there. We doubt that Emily is a sheep. It is probable that if 'Brian is green' or 'Emily is a sheep' or both then Sandra dropped the milk. It is highly unlikely that if either 'Emily is a sheep' or 'Brian is green' but not both then Bernhard is yellow. Chances are about even that if 'Brian is green' or 'Emily is a sheep' or both then John grabbed the apple.,It is impossible that 'Bernhard is yellow and Emily 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.5::factA. 0.05::factB. 0.2::factC. %hop1 0.7::factX:-or(factA,factC). 0.05::factY:-xor(factC,factA). 0.5::factZ:-or(factA,factC). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.005000000000000002,0.6617323464692939,train,impossible,better than even,It is impossible that 'Bernhard is yellow and Emily is a sheep'.,There is a better than even chance that 'Bernhard is yellow and Emily is a sheep'.,1,'Bernhard is yellow and Emily is a sheep'. There is a very good chance that Sandra got the football. It is unlikely that Jessica is a cat. It is likely that John went to the hallway. It is probably not the case that if 'Sandra got the football and John went to the hallway' then Brian is a rhino. There is almost no chance that if 'Jessica is a cat' or 'Sandra got the football' or both then Julius is yellow. It is probably not the case that if either 'Sandra got the football' or 'Jessica is a cat' but not both then Greg is a swan.,There is a very good chance that 'Sandra got the football' 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.8::factA. 0.2::factB. 0.7::factC. %hop1 0.25::factX:-and(factA,factC). 0.02::factY:-or(factB,factA). 0.25::factZ:-xor(factA,factB). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.8,0.0022004400880176033,train,very good chance,chances are slight,There is a very good chance that 'Sandra got the football' or 'Brian is a rhino' or both.,Chances are slight that 'Sandra got the football' or 'Brian is a rhino' or both.,1,'Sandra got the football' or 'Brian is a rhino' or both. It is almost certain that Bill went to the kitchen. It is improbable that Bernhard is green. There is a better than even chance that Greg is white. There is almost no chance that if either 'Greg is white' or 'Bernhard is green' but not both then John grabbed the apple. We doubt that if either 'Greg is white' or 'Bill went to the kitchen' but not both then Lily is a frog. It is impossible that if 'Bernhard is green' or 'Greg is white' or both then Sandra left the milk.,Chances are slight that 'Bill went to the kitchen 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.95::factA. 0.1::factB. 0.6::factC. %hop1 0.02::factX:-xor(factC,factB). 0.2::factY:-xor(factC,factA). 0.0::factZ:-or(factB,factC). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.09500000000000001,0.11062212442488498,train,chances are slight,probable,Chances are slight that 'Bill went to the kitchen and Bernhard is green'.,It is probable that 'Bill went to the kitchen and Bernhard is green'.,1,'Bill went to the kitchen and Bernhard is green'. There is little chance that Winona is a sheep. There is almost no chance that Brian is a frog. We believe that Fred went to the garden. It is highly likely that if 'Brian is a frog' or 'Fred went to the garden' or both then Mary dropped the apple. It is unlikely that if 'Brian is a frog' or 'Fred went to the garden' or both then Gertrude is a wolf. It is probably not the case that if either 'Brian is a frog' or 'Fred went to the garden' but not both then Greg is a lion.,There is a very good chance that 'Brian is a frog and Mary 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.02::factB. 0.75::factC. %hop1 0.9::factX:-or(factB,factC). 0.2::factY:-or(factB,factC). 0.25::factZ:-xor(factB,factC). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.018000000000000002,0.06721344268853771,train,almost no chance,very good chance,There is almost no chance that 'Brian is a frog and Mary dropped the apple'.,There is a very good chance that 'Brian is a frog and Mary dropped the apple'.,0,'Brian is a frog and Mary dropped the apple'. There is little chance that Jason is bored. It is almost certain that Winona is a wolf. It is impossible that John moved to the garden. It is highly likely that if 'John moved to the garden and Jason is bored' then Fred put down the apple. It is highly likely that if either 'Jason is bored' or 'Winona is a wolf' but not both then Lily is a lion. It is unlikely that if 'Winona is a wolf' or 'Jason is bored' or both then Greg is white.,It is impossible that 'John 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.95::factB. 0.0::factC. %hop1 0.9::factX:-and(factC,factA). 0.9::factY:-xor(factA,factB). 0.2::factZ:-or(factB,factA). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.0,0.10342068413682737,train,impossible,better than even,It is impossible that 'John moved to the garden and Greg is white'.,There is a better than even chance that 'John moved to the garden and Greg is white'.,1,'John moved to the garden and Greg is white'. There is a better than even chance that Bernhard is gray. It is likely that John moved to the garden. We believe that Brian is a frog. It is highly likely that if 'Brian is a frog and John moved to the garden' then Jeff left the apple. It is probable that if either 'Brian is a frog' or 'John moved to the garden' but not both then Mary grabbed the milk. It is certain that if either 'Bernhard is gray' or 'John moved to the garden' but not both then Lily is a rhino.,Chances are about even that either 'Lily is a rhino' or 'Mary 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.6::factA. 0.7::factB. 0.75::factC. %hop1 0.9::factX:-and(factC,factB). 0.7::factY:-xor(factC,factB). 1.0::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.4529999999999999,0.5031006201240248,train,about even,certain,Chances are about even that either 'Lily is a rhino' or 'Mary grabbed the milk' but not both.,It is certain that either 'Lily is a rhino' or 'Mary grabbed the milk' but not both.,1,Either 'Lily is a rhino' or 'Mary grabbed the milk' but not both. It is probable that Julius is a rhino. We doubt that Bernhard is yellow. It is probably the case that Mary moved to the garden. There is almost no chance that if 'Mary moved to the garden and Bernhard is yellow' then Lily is green. We doubt that if 'Bernhard is yellow' or 'Julius is a rhino' or both then Brian is a swan. It is impossible that if 'Mary moved to the garden and Julius is a rhino' then John went to the hallway.,It is impossible that 'Lily is green 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.7::factA. 0.2::factB. 0.7::factC. %hop1 0.02::factX:-and(factC,factB). 0.2::factY:-or(factB,factA). 0.0::factZ:-and(factC,factA). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.002800000000000001,0.4566913382676535,train,impossible,highly likely,It is impossible that 'Lily is green and Mary moved to the garden'.,It is highly likely that 'Lily is green and Mary moved to the garden'.,1,'Lily is green and Mary moved to the garden'. It is highly likely that Winona is a wolf. It is likely that Julius is a frog. We doubt that John moved to the garden. There is almost no chance that if 'Winona is a wolf' or 'Julius is a frog' or both then Lily is a swan. It is probably not the case that if 'Winona is a wolf and John moved to the garden' then Bernhard is a lion. It is highly unlikely that if 'Winona is a wolf' or 'John moved to the garden' or both then Greg is a swan.,It is impossible that 'Bernhard is a lion 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.9::factA. 0.7::factB. 0.2::factC. %hop1 0.02::factX:-or(factA,factB). 0.25::factY:-and(factA,factC). 0.05::factZ:-or(factA,factC). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.0009000000000000006,0.6627325465093019,train,impossible,about even,It is impossible that 'Bernhard is a lion and Lily is a swan'.,Chances are about even that 'Bernhard is a lion and Lily is a swan'.,1,'Bernhard is a lion and Lily is a swan'. There is a very good chance that John dropped the apple. We believe that Brian is a swan. It is certain that Emily is a wolf. It is highly likely that if 'John dropped the apple and Brian is a swan' then Lily is gray. It is highly likely that if either 'Brian is a swan' or 'John dropped the apple' but not both then Mary went to the bedroom. Chances are about even that if either 'Brian is a swan' or 'Emily is a wolf' but not both then Julius is green.,We doubt that 'Emily is a wolf' 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.8::factA. 0.75::factB. 1.0::factC. %hop1 0.9::factX:-and(factA,factB). 0.9::factY:-xor(factB,factA). 0.5::factZ:-xor(factB,factC). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",1.0,0.7731546309261852,train,certain,we doubt,It is certain that 'Emily is a wolf' or 'Julius is green' or both.,We doubt that 'Emily is a wolf' or 'Julius is green' or both.,0,'Emily is a wolf' or 'Julius is green' or both. It is probably the case that Bill went to the office. It is probably not the case that Lily is a rhino. It is certain that Julius is a frog. It is probably the case that if either 'Lily is a rhino' or 'Bill went to the office' but not both then John moved to the garden. It is probable that if 'Julius is a frog and Lily is a rhino' then Mary dropped the apple. It is probably not the case that if 'Bill went to the office and Julius is a frog' then Brian is gray.,It is probably not the case that either 'Mary dropped the apple' or 'Brian 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.25::factB. 1.0::factC. %hop1 0.7::factX:-xor(factB,factA). 0.7::factY:-and(factC,factB). 0.25::factZ:-and(factA,factC). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.28874999999999995,0.7079415883176635,train,probably not,highly likely,It is probably not the case that either 'Mary dropped the apple' or 'Brian is gray' but not both.,It is highly likely that either 'Mary dropped the apple' or 'Brian is gray' but not both.,1,Either 'Mary dropped the apple' or 'Brian is gray' but not both. Chances are slight that Mary went to the hallway. It is likely that Jason is tired. Chances are slight that Lily is yellow. Chances are slight that if 'Mary went to the hallway' or 'Lily is yellow' or both then Bernhard is gray. It is almost certain that if either 'Lily is yellow' or 'Jason is tired' but not both then John left the milk. It is certain that if 'Mary went to the hallway and Lily is yellow' then Winona is a mouse.,It is unlikely that either 'Lily is yellow' or 'Mary went to the hallway' 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.7::factB. 0.1::factC. %hop1 0.1::factX:-or(factA,factC). 0.95::factY:-xor(factC,factB). 1.0::factZ:-and(factA,factC). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.18000000000000005,0.35527105421084215,train,unlikely,probable,It is unlikely that either 'Lily is yellow' or 'Mary went to the hallway' but not both.,It is probable that either 'Lily is yellow' or 'Mary went to the hallway' but not both.,1,Either 'Lily is yellow' or 'Mary went to the hallway' but not both. It is impossible that John left the milk. It is likely that Daniel got the football. It is probable that Winona is a cat. It is highly likely that if 'Winona is a cat and Daniel got the football' then Bernhard is gray. There is a very good chance that if 'Winona is a cat' or 'John left the milk' or both then Lily is a frog. It is probable that if either 'Winona is a cat' or 'Daniel got the football' but not both then Mary went to the bedroom.,Chances are slight that either 'Daniel got the football' 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.0::factA. 0.7::factB. 0.7::factC. %hop1 0.9::factX:-and(factC,factB). 0.8::factY:-or(factC,factA). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.7,0.7555511102220445,train,probable,chances are slight,It is probable that either 'Daniel got the football' or 'Mary went to the bedroom' but not both.,Chances are slight that either 'Daniel got the football' or 'Mary went to the bedroom' but not both.,0,Either 'Daniel got the football' or 'Mary went to the bedroom' but not both. It is probable that Brian is green. We doubt that Gertrude is a mouse. It is improbable that John discarded the apple. It is highly unlikely that if 'John discarded the apple' or 'Brian is green' or both then Julius is a swan. It is likely that if either 'John discarded the apple' or 'Gertrude is a mouse' but not both then Sandra dropped the milk. It is impossible that if either 'John discarded the apple' or 'Brian is green' but not both then Mary moved to the garden.,It is improbable that either 'John discarded the apple' 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.2::factB. 0.1::factC. %hop1 0.05::factX:-or(factC,factA). 0.7::factY:-xor(factC,factB). 0.0::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.6599999999999999,0.716743348669734,train,probably,improbable,It is probably the case that either 'John discarded the apple' or 'Brian is green' but not both.,It is improbable that either 'John discarded the apple' or 'Brian is green' but not both.,0,Either 'John discarded the apple' or 'Brian is green' but not both. It is unlikely that Julius is a lion. It is unlikely that Mary went to the hallway. There is a very good chance that Bernhard is a rhino. It is probably the case that if 'Bernhard is a rhino' or 'Julius is a lion' or both then Greg is green. It is highly likely that if 'Mary went to the hallway' or 'Julius is a lion' or both then John took the football. Chances are slight that if either 'Bernhard is a rhino' or 'Mary went to the hallway' but not both then Brian is a swan.,It is probably not the case that 'Mary went to the hallway' 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.2::factB. 0.8::factC. %hop1 0.7::factX:-or(factC,factA). 0.9::factY:-or(factB,factA). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.36000000000000004,0.3294658931786357,train,probably not,likely,It is probably not the case that 'Mary went to the hallway' or 'Julius is a lion' or both.,It is likely that 'Mary went to the hallway' or 'Julius is a lion' or both.,1,'Mary went to the hallway' or 'Julius is a lion' or both. It is unlikely that John picked up the apple. There is a better than even chance that Mary went to the garden. It is improbable that Julius is white. It is highly likely that if either 'Mary went to the garden' or 'John picked up the apple' but not both then Brian is a frog. It is almost certain that if either 'Julius is white' or 'John picked up the apple' but not both then Sandra got the milk. Chances are about even that if either 'Julius is white' or 'Mary went to the garden' but not both then Lily is green.,It is probably the case that 'Brian is a frog 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.2::factA. 0.6::factB. 0.1::factC. %hop1 0.9::factX:-xor(factB,factA). 0.95::factY:-xor(factC,factA). 0.5::factZ:-xor(factC,factB). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.05040000000000001,0.7799559911982397,train,highly unlikely,probably,It is highly unlikely that 'Brian is a frog and Julius is white'.,It is probably the case that 'Brian is a frog and Julius is white'.,0,'Brian is a frog and Julius is white'. We doubt that Daniel left the football. It is unlikely that Lily is a swan. It is probable that John went to the kitchen. We believe that if either 'John went to the kitchen' or 'Daniel left the football' but not both then Brian is a rhino. It is highly unlikely that if either 'Lily is a swan' or 'John went to the kitchen' but not both then Julius is gray. There is almost no chance that if either 'Daniel left the football' or 'Lily is a swan' but not both then Sandra got the milk.,It is probable that either 'Brian is a rhino' or 'John went to the kitchen' 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.75::factX:-xor(factC,factA). 0.05::factY:-xor(factB,factC). 0.02::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.32499999999999996,0.22064412882576515,train,probably not,probable,It is probably not the case that either 'Brian is a rhino' or 'John went to the kitchen' but not both.,It is probable that either 'Brian is a rhino' or 'John went to the kitchen' but not both.,0,Either 'Brian is a rhino' or 'John went to the kitchen' but not both. It is impossible that Lily is yellow. It is almost certain that Jason is tired. There is almost no chance that Mary went to the office. It is likely that if 'Mary went to the office' or 'Lily is yellow' or both then Greg is green. Chances are about even that if 'Jason is tired' or 'Mary went to the office' or both then John left the milk. It is certain that if either 'Lily is yellow' or 'Jason is tired' but not both then Julius is white.,Chances are about even that either 'Julius is white' 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.0::factA. 0.95::factB. 0.02::factC. %hop1 0.7::factX:-or(factC,factA). 0.5::factY:-or(factB,factC). 1.0::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.4755,0.35647129425885177,train,about even,almost no chance,Chances are about even that either 'Julius is white' or 'John left the milk' but not both.,There is almost no chance that either 'Julius is white' or 'John left the milk' but not both.,1,Either 'Julius is white' or 'John left the milk' but not both. There is almost no chance that Yann is hungry. Chances are about even that Jeff dropped the apple. We doubt that Greg is a swan. It is unlikely that if 'Jeff dropped the apple' or 'Greg is a swan' or both then Julius is a swan. It is likely that if either 'Greg is a swan' or 'Jeff dropped the apple' but not both then Mary went to the garden. It is impossible that if 'Greg is a swan and Yann is hungry' then Lily is green.,It is impossible that 'Greg is a swan 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.02::factA. 0.5::factB. 0.2::factC. %hop1 0.2::factX:-or(factB,factC). 0.7::factY:-xor(factC,factB). 0.0::factZ:-and(factC,factA). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.004000000000000002,0.25925185037007403,train,impossible,about even,It is impossible that 'Greg is a swan and Yann is hungry'.,Chances are about even that 'Greg is a swan and Yann is hungry'.,1,'Greg is a swan and Yann is hungry'. It is likely that Julius is a rhino. It is improbable that Bill went to the bedroom. It is improbable that Bernhard is white. It is impossible that if either 'Bernhard is white' or 'Bill went to the bedroom' but not both then Lily is a swan. There is almost no chance that if either 'Bernhard is white' or 'Julius is a rhino' but not both then Greg is a frog. It is almost certain that if 'Bill went to the bedroom and Julius is a rhino' then John got the apple.,There is little chance that either 'Lily is a swan' or 'Bill 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.7::factA. 0.1::factB. 0.1::factC. %hop1 0.0::factX:-xor(factC,factB). 0.02::factY:-xor(factC,factA). 0.95::factZ:-and(factB,factA). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.10000000000000002,0.05341068213642729,train,little chance,highly likely,There is little chance that either 'Lily is a swan' or 'Bill went to the bedroom' but not both.,It is highly likely that either 'Lily is a swan' or 'Bill went to the bedroom' but not both.,1,Either 'Lily is a swan' or 'Bill went to the bedroom' but not both. Chances are about even that Brian is a swan. Chances are about even that Bernhard is a frog. We believe that Julius is white. There is almost no chance that if 'Julius is white and Brian is a swan' then Mary took the milk. We doubt that if 'Julius is white and Bernhard is a frog' then Lily is a lion. Chances are about even that if either 'Bernhard is a frog' or 'Brian is a swan' but not both then John went to the bedroom.,There is a better than even chance that either 'John went to the bedroom' 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.5::factA. 0.5::factB. 0.75::factC. %hop1 0.02::factX:-and(factC,factA). 0.2::factY:-and(factC,factB). 0.5::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.625,0.5675135027005401,train,better than even,improbable,There is a better than even chance that either 'John went to the bedroom' or 'Julius is white' but not both.,It is improbable that either 'John went to the bedroom' or 'Julius is white' but not both.,1,Either 'John went to the bedroom' or 'Julius is white' but not both. It is likely that John went to the office. It is probably the case that Sandra dropped the milk. It is likely that Julius is a rhino. It is improbable that if 'Sandra dropped the milk' or 'John went to the office' or both then Winona is a mouse. It is almost certain that if either 'John went to the office' or 'Julius is a rhino' but not both then Jessica is a sheep. It is impossible that if 'Sandra dropped the milk' or 'Julius is a rhino' or both then Daniel got the apple.,It is impossible that 'Daniel got the apple and Jessica 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.7::factA. 0.7::factB. 0.7::factC. %hop1 0.1::factX:-or(factB,factA). 0.95::factY:-xor(factA,factC). 0.0::factZ:-or(factB,factC). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.0,0.24084816963392677,train,impossible,probable,It is impossible that 'Daniel got the apple and Jessica is a sheep'.,It is probable that 'Daniel got the apple and Jessica is a sheep'.,1,'Daniel got the apple and Jessica is a sheep'. It is unlikely that Greg is a lion. Chances are about even that Fred is in the cinema. Chances are slight that Mary dropped the milk. It is certain that if either 'Mary dropped the milk' or 'Fred is in the cinema' but not both then Brian is yellow. It is improbable that if 'Mary dropped the milk' or 'Fred is in the cinema' or both then John got the football. There is little chance that if either 'Mary dropped the milk' or 'Greg is a lion' but not both then Julius is gray.,It is improbable that 'Mary dropped the milk' 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.2::factA. 0.5::factB. 0.1::factC. %hop1 1.0::factX:-xor(factC,factB). 0.1::factY:-or(factC,factB). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.55,0.4830966193238648,train,better than even,improbable,There is a better than even chance that 'Mary dropped the milk' or 'Brian is yellow' or both.,It is improbable that 'Mary dropped the milk' or 'Brian is yellow' or both.,0,'Mary dropped the milk' or 'Brian is yellow' or both. We doubt that Greg is white. It is almost certain that Gertrude is a sheep. There is almost no chance that John went to the hallway. It is unlikely that if 'Greg is white' or 'John went to the hallway' or both then Lily is a rhino. It is probably not the case that if 'Greg is white' or 'John went to the hallway' or both then Julius is white. It is probable that if either 'Gertrude is a sheep' or 'John went to the hallway' but not both then Sandra dropped the milk.,We believe that 'Lily is a rhino 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.2::factA. 0.95::factB. 0.02::factC. %hop1 0.2::factX:-or(factA,factC). 0.25::factY:-or(factA,factC). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.04104,0.20444088817763553,train,highly unlikely,we believe,It is highly unlikely that 'Lily is a rhino and Gertrude is a sheep'.,We believe that 'Lily is a rhino and Gertrude is a sheep'.,0,'Lily is a rhino and Gertrude is a sheep'. We believe that Bernhard is a swan. We doubt that John put down the milk. It is highly unlikely that Sandra left the football. It is certain that if 'Sandra left the football and Bernhard is a swan' then Winona is a wolf. Chances are about even that if 'Sandra left the football' or 'John put down the milk' or both then Greg is yellow. It is improbable that if either 'John put down the milk' or 'Sandra left the football' but not both then Julius is gray.,There is little chance that either 'Greg is yellow' 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.75::factA. 0.2::factB. 0.05::factC. %hop1 1.0::factX:-and(factC,factA). 0.5::factY:-or(factC,factB). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.12000000000000001,0.5945189037807561,train,little chance,probably,There is little chance that either 'Greg is yellow' or 'John put down the milk' but not both.,It is probably the case that either 'Greg is yellow' or 'John put down the milk' but not both.,1,Either 'Greg is yellow' or 'John put down the milk' but not both. Chances are slight that Sumit is hungry. We believe that Mary went to the hallway. There is a better than even chance that John put down the milk. There is a better than even chance that if 'Mary went to the hallway and Sumit is hungry' then Daniel got the football. Chances are slight that if 'John put down the milk' or 'Mary went to the hallway' or both then Bernhard is green. There is a better than even chance that if 'John put down the milk and Sumit is hungry' then Julius is yellow.,It is highly unlikely that 'Sumit is hungry 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.1::factA. 0.75::factB. 0.6::factC. %hop1 0.6::factX:-and(factB,factA). 0.1::factY:-or(factC,factB). 0.6::factZ:-and(factC,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.036000000000000004,0.640128025605121,train,highly unlikely,probably,It is highly unlikely that 'Sumit is hungry and Julius is yellow'.,It is probably the case that 'Sumit is hungry and Julius is yellow'.,1,'Sumit is hungry and Julius is yellow'. It is probably the case that Bernhard is a rhino. It is highly likely that Julius is gray. It is probable that John went to the garden. It is highly likely that if 'Bernhard is a rhino and Julius is gray' then Brian is a lion. We believe that if 'Bernhard is a rhino' or 'Julius is gray' or both then Emily is a wolf. It is highly likely that if 'John went to the garden' or 'Julius is gray' or both then Jessica is a cat.,It is almost certain that 'Julius is gray' or 'John 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.7::factA. 0.9::factB. 0.7::factC. %hop1 0.9::factX:-and(factA,factB). 0.75::factY:-or(factA,factB). 0.9::factZ:-or(factC,factB). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.97,0.26865373074614923,train,almost certain,little chance,It is almost certain that 'Julius is gray' or 'John went to the garden' or both.,There is little chance that 'Julius is gray' or 'John went to the garden' or both.,1,'Julius is gray' or 'John went to the garden' or both. There is a better than even chance that Sandra left the apple. We doubt that Greg is a rhino. Chances are about even that Lily is green. There is a better than even chance that if either 'Lily is green' or 'Sandra left the apple' but not both then John moved to the office. Chances are slight that if either 'Greg is a rhino' or 'Sandra left the apple' but not both then Mary went to the garden. It is highly unlikely that if 'Sandra left the apple and Greg is a rhino' then Bernhard is a frog.,It is impossible that 'Mary went 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.6::factA. 0.2::factB. 0.5::factC. %hop1 0.6::factX:-xor(factC,factA). 0.1::factY:-xor(factB,factA). 0.05::factZ:-and(factA,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.5279999999999999,0.19483896779355872,train,about even,impossible,Chances are about even that 'Mary went to the garden' or 'Lily is green' or both.,It is impossible that 'Mary went to the garden' or 'Lily is green' or both.,0,'Mary went to the garden' or 'Lily is green' or both. We believe that John went to the office. There is little chance that Sandra left the football. It is likely that Lily is a lion. It is highly unlikely that if 'Lily is a lion and Sandra left the football' then Gertrude is a mouse. It is unlikely that if either 'Sandra left the football' or 'Lily is a lion' but not both then Brian is green. We believe that if 'Lily is a lion' or 'Sandra left the football' or both then Julius is a rhino.,There is a better than even chance that 'Julius is a rhino 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.75::factA. 0.1::factB. 0.7::factC. %hop1 0.05::factX:-and(factC,factB). 0.2::factY:-xor(factB,factC). 0.75::factZ:-or(factC,factB). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.099,0.6897379475895179,train,chances are slight,better than even,Chances are slight that 'Julius is a rhino and Brian is green'.,There is a better than even chance that 'Julius is a rhino and Brian is green'.,0,'Julius is a rhino and Brian is green'. There is a better than even chance that Greg is a frog. Chances are about even that Brian is a swan. It is probably not the case that Sandra left the football. It is probable that if 'Brian is a swan' or 'Greg is a frog' or both then Julius is white. There is a very good chance that if 'Greg is a frog' or 'Brian is a swan' or both then Mary went to the bedroom. It is highly unlikely that if either 'Greg is a frog' or 'Sandra left the football' but not both then John picked up the apple.,It is impossible that 'Greg is a frog' or 'Sandra 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.6::factA. 0.5::factB. 0.25::factC. %hop1 0.7::factX:-or(factB,factA). 0.8::factY:-or(factA,factB). 0.05::factZ:-xor(factA,factC). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.7,0.0616123224644929,train,probable,impossible,It is probable that 'Greg is a frog' or 'Sandra left the football' or both.,It is impossible that 'Greg is a frog' or 'Sandra left the football' or both.,0,'Greg is a frog' or 'Sandra left the football' or both. Chances are slight that Sandra took the milk. Chances are slight that Jason is tired. Chances are about even that Greg is a lion. There is almost no chance that if either 'Sandra took the milk' or 'Jason is tired' but not both then Julius is yellow. It is likely that if 'Sandra took the milk' or 'Greg is a lion' or both then Gertrude is a wolf. We doubt that if 'Sandra took the milk and Greg is a lion' then Bernhard is gray.,We believe that 'Sandra took 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.1::factA. 0.1::factB. 0.5::factC. %hop1 0.02::factX:-xor(factA,factB). 0.7::factY:-or(factA,factC). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.010000000000000004,0.15343068613722743,train,almost no chance,we believe,There is almost no chance that 'Sandra took the milk and Jason is tired'.,We believe that 'Sandra took the milk and Jason is tired'.,0,'Sandra took the milk and Jason is tired'. It is unlikely that Winona is a sheep. It is likely that Mary left the football. There is almost no chance that John picked up the milk. It is almost certain that if either 'Winona is a sheep' or 'John picked up the milk' but not both then Greg is gray. It is impossible that if either 'Mary left the football' or 'Winona is a sheep' but not both then Brian is yellow. It is certain that if 'John picked up the milk' or 'Mary left the football' or both then Julius is a frog.,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.2::factA. 0.7::factB. 0.02::factC. %hop1 0.95::factX:-xor(factA,factC). 0.0::factY:-xor(factB,factA). 1.0::factZ:-or(factC,factB). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.0,0.5597119423884777,train,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'. We doubt that Mary put down the apple. It is probably not the case that Emily is a mouse. There is a better than even chance that John went to the office. It is likely that if either 'Emily is a mouse' or 'John went to the office' but not both then Sandra is in the kitchen. There is little chance that if either 'John went to the office' or 'Mary put down the apple' but not both then Bernhard is yellow. Chances are about even that if 'John went to the office and Emily is a mouse' then Julius is a lion.,There is almost no chance that 'Mary put down the apple 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.2::factA. 0.25::factB. 0.6::factC. %hop1 0.7::factX:-xor(factB,factC). 0.1::factY:-xor(factC,factA). 0.5::factZ:-and(factC,factB). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.01500000000000001,0.7155431086217243,train,almost no chance,almost certain,There is almost no chance that 'Mary put down the apple and Julius is a lion'.,It is almost certain that 'Mary put down the apple and Julius is a lion'.,1,'Mary put down the apple and Julius is a lion'. Chances are about even that Bernhard is a lion. Chances are slight that Brian is gray. We doubt that Jessica is a cat. It is highly unlikely that if 'Bernhard is a lion and Brian is gray' then Lily is a swan. We doubt that if 'Bernhard is a lion' or 'Jessica is a cat' or both then Greg is white. It is certain that if 'Jessica is a cat' or 'Bernhard is a lion' or both then Daniel left the milk.,There is almost no chance that 'Jessica is a cat 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.5::factA. 0.1::factB. 0.2::factC. %hop1 0.05::factX:-and(factA,factB). 0.2::factY:-or(factA,factC). 1.0::factZ:-or(factC,factA). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.02000000000000001,0.5353070614122825,train,almost no chance,likely,There is almost no chance that 'Jessica is a cat and Brian is gray'.,It is likely that 'Jessica is a cat and Brian is gray'.,1,'Jessica is a cat and Brian is gray'. It is improbable that Emily is a mouse. It is certain that Daniel got the milk. We believe that Greg is white. It is probably the case that if 'Greg is white' or 'Daniel got the milk' or both then Bernhard is green. It is improbable that if 'Greg is white and Daniel got the milk' then Julius is a swan. It is probably the case that if 'Greg is white' or 'Emily is a mouse' or both then Brian is green.,It is highly unlikely that 'Bernhard is green and Julius 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. 1.0::factB. 0.75::factC. %hop1 0.7::factX:-or(factC,factB). 0.1::factY:-and(factC,factB). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.05250000000000002,0.40488097619523905,train,highly unlikely,probably,It is highly unlikely that 'Bernhard is green and Julius is a swan'.,It is probably the case that 'Bernhard is green and Julius is a swan'.,1,'Bernhard is green and Julius is a swan'. It is probably the case that Brian is a frog. There is almost no chance that Lily is green. It is probably not the case that Yann is tired. It is certain that if 'Yann is tired' or 'Lily is green' or both then Julius is white. It is improbable that if either 'Brian is a frog' or 'Yann is tired' but not both then John got the apple. It is almost certain that if 'Yann is tired and Lily is green' then Mary went to the kitchen.,It is likely that either 'Brian is a frog' or 'Lily 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.02::factB. 0.25::factC. %hop1 1.0::factX:-or(factC,factB). 0.1::factY:-xor(factA,factC). 0.95::factZ:-and(factC,factB). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.692,0.3736747349469894,train,likely,almost no chance,It is likely that either 'Brian is a frog' or 'Lily is green' but not both.,There is almost no chance that either 'Brian is a frog' or 'Lily is green' but not both.,1,Either 'Brian is a frog' or 'Lily is green' but not both. Chances are about even that Lily is a rhino. We believe that Winona is a mouse. It is highly unlikely that John went to the hallway. It is likely that if 'Lily is a rhino' or 'Winona is a mouse' or both then Jeff moved to the office. Chances are about even that if 'John went to the hallway' or 'Winona is a mouse' or both then Greg is green. It is highly unlikely that if 'Winona is a mouse and John went to the hallway' then Julius is a swan.,There is little chance that 'Jeff moved to the office' 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.5::factA. 0.75::factB. 0.05::factC. %hop1 0.7::factX:-or(factA,factB). 0.5::factY:-or(factC,factB). 0.05::factZ:-and(factB,factC). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.6130625,0.10002000400080016,train,better than even,little chance,There is a better than even chance that 'Jeff moved to the office' or 'Julius is a swan' or both.,There is little chance that 'Jeff moved to the office' or 'Julius is a swan' or both.,0,'Jeff moved to the office' or 'Julius is a swan' or both. We believe that Bernhard is a rhino. It is likely that Greg is a swan. It is unlikely that Mary went to the office. It is probable that if 'Greg is a swan and Bernhard is a rhino' then Antoine is hungry. It is improbable that if 'Mary went to the office and Bernhard is a rhino' then John left the milk. It is highly unlikely that if 'Greg is a swan' or 'Bernhard is a rhino' or both then Lily is yellow.,There is a very good chance that 'Mary went to the office and John 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.75::factA. 0.7::factB. 0.2::factC. %hop1 0.7::factX:-and(factB,factA). 0.1::factY:-and(factC,factA). 0.05::factZ:-or(factB,factA). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.01500000000000001,0.5725145029005801,train,almost no chance,very good chance,There is almost no chance that 'Mary went to the office and John left the milk'.,There is a very good chance that 'Mary went to the office and John left the milk'.,0,'Mary went to the office and John left the milk'. There is almost no chance that Lily is a frog. It is likely that Emily is a sheep. We doubt that Sandra got the football. It is impossible that if 'Emily is a sheep and Lily is a frog' then Brian is a lion. Chances are about even that if either 'Sandra got the football' or 'Emily is a sheep' but not both then Julius is yellow. It is probable that if either 'Emily is a sheep' or 'Lily is a frog' but not both then Mary went to the office.,It is certain that 'Sandra got the football 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.02::factA. 0.7::factB. 0.2::factC. %hop1 0.0::factX:-and(factB,factA). 0.5::factY:-xor(factC,factB). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.004000000000000002,0.33566713342668536,train,impossible,certain,It is impossible that 'Sandra got the football and Lily is a frog'.,It is certain that 'Sandra got the football and Lily is a frog'.,0,'Sandra got the football and Lily is a frog'. There is little chance that Brian is a swan. It is highly likely that Lily is yellow. Chances are slight that Greg is a frog. It is unlikely that if either 'Greg is a frog' or 'Lily is yellow' but not both then Mary went to the kitchen. We doubt that if 'Lily is yellow and Greg is a frog' then Sandra got the milk. Chances are slight that if 'Brian is a swan and Lily is yellow' then John put down the apple.,We believe that either 'Mary went to the kitchen' 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.1::factA. 0.9::factB. 0.1::factC. %hop1 0.2::factX:-xor(factC,factB). 0.2::factY:-and(factB,factC). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.74,0.5199039807961592,train,we believe,little chance,We believe that either 'Mary went to the kitchen' or 'Lily is yellow' but not both.,There is little chance that either 'Mary went to the kitchen' or 'Lily is yellow' but not both.,1,Either 'Mary went to the kitchen' or 'Lily is yellow' but not both. It is probable that Jason is tired. We doubt that Jessica is a cat. It is almost certain that Sandra dropped the milk. It is highly unlikely that if 'Jessica is a cat' or 'Jason is tired' or both then Julius is white. It is improbable that if 'Sandra dropped the milk' or 'Jason is tired' or both then Emily is a wolf. There is almost no chance that if either 'Jessica is a cat' or 'Jason is tired' but not both then Bernhard is a swan.,It is improbable that 'Jason is tired' 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 0.7::factA. 0.2::factB. 0.95::factC. %hop1 0.05::factX:-or(factB,factA). 0.1::factY:-or(factC,factA). 0.02::factZ:-xor(factB,factA). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.7599999999999999,0.38007601520304063,train,we believe,improbable,We believe that 'Jason is tired' or 'Jessica is a cat' or both.,It is improbable that 'Jason is tired' or 'Jessica is a cat' or both.,0,'Jason is tired' or 'Jessica is a cat' or both. It is certain that Julius is gray. It is probably not the case that Bernhard is green. There is almost no chance that Brian is yellow. There is a very good chance that if 'Bernhard is green' or 'Julius is gray' or both then Sumit is thirsty. Chances are about even that if 'Bernhard is green and Julius is gray' then Greg is gray. It is highly unlikely that if either 'Julius is gray' or 'Brian is yellow' but not both then John left the milk.,It is improbable that 'Sumit is thirsty' 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 1.0::factA. 0.25::factB. 0.02::factC. %hop1 0.8::factX:-or(factB,factA). 0.5::factY:-and(factB,factA). 0.05::factZ:-xor(factA,factC). %hop2 conclusion:-or(factX,factA). query(conclusion). ",1.0,0.08621724344868974,train,certain,improbable,It is certain that 'Sumit is thirsty' or 'Julius is gray' or both.,It is improbable that 'Sumit is thirsty' or 'Julius is gray' or both.,0,'Sumit is thirsty' or 'Julius is gray' or both. It is probably not the case that Brian is yellow. It is probably not the case that Bernhard is a rhino. Chances are slight that John got the milk. It is likely that if either 'Brian is yellow' or 'John got the milk' but not both then Winona is a wolf. It is highly unlikely that if 'Bernhard is a rhino' or 'Brian is yellow' or both then Lily is a frog. There is a very good chance that if either 'John got the milk' or 'Brian is yellow' but not both then Greg is yellow.,It is unlikely that 'Brian is yellow 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.25::factA. 0.25::factB. 0.1::factC. %hop1 0.7::factX:-xor(factA,factC). 0.05::factY:-or(factB,factA). 0.8::factZ:-xor(factC,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.18000000000000002,0.14222844568913784,train,unlikely,probably,It is unlikely that 'Brian is yellow and Greg is yellow'.,It is probably the case that 'Brian is yellow and Greg is yellow'.,1,'Brian is yellow and Greg is yellow'. It is unlikely that Bernhard is a frog. There is a very good chance that Julius is a lion. There is a very good chance that Lily is a rhino. It is highly likely that if either 'Bernhard is a frog' or 'Lily is a rhino' but not both then Brian is a swan. There is a very good chance that if 'Lily is a rhino and Julius is a lion' then Jessica is a cat. It is highly unlikely that if 'Bernhard is a frog' or 'Lily is a rhino' or both then John went to the kitchen.,Chances are about even that either 'Julius is a lion' 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.2::factA. 0.8::factB. 0.8::factC. %hop1 0.9::factX:-xor(factA,factC). 0.8::factY:-and(factC,factB). 0.05::factZ:-or(factA,factC). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.4328,0.5069013802760552,train,about even,almost certain,Chances are about even that either 'Julius is a lion' or 'Brian is a swan' but not both.,It is almost certain that either 'Julius is a lion' or 'Brian is a swan' but not both.,1,Either 'Julius is a lion' or 'Brian is a swan' but not both. It is impossible that Brian is white. We believe that John went to the bedroom. There is little chance that Julius is gray. There is a better than even chance that if 'John went to the bedroom' or 'Brian is white' or both then Greg is a rhino. There is little chance that if 'Julius is gray and Brian is white' then Bill moved to the office. It is almost certain that if 'Brian is white' or 'John went to the bedroom' or both then Lily is a swan.,Chances are about even that 'Julius is gray' 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. 0.75::factB. 0.1::factC. %hop1 0.6::factX:-or(factB,factA). 0.1::factY:-and(factC,factA). 0.95::factZ:-or(factA,factB). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.505,0.6901380276055211,train,about even,almost certain,Chances are about even that 'Julius is gray' or 'Greg is a rhino' or both.,It is almost certain that 'Julius is gray' or 'Greg is a rhino' or both.,1,'Julius is gray' or 'Greg is a rhino' or both. It is likely that John went to the hallway. It is probable that Greg is a rhino. We believe that Mary put down the apple. It is probably not the case that if either 'Mary put down the apple' or 'Greg is a rhino' but not both then Bernhard is white. There is little chance that if either 'John went to the hallway' or 'Greg is a rhino' but not both then Brian is a lion. It is unlikely that if 'Greg is a rhino and John went to the hallway' then Lily is a frog.,It is improbable that 'John went to the hallway' 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.75::factC. %hop1 0.25::factX:-xor(factC,factB). 0.1::factY:-xor(factA,factB). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9099999999999999,0.7969593918783757,train,highly likely,improbable,It is highly likely that 'John went to the hallway' or 'Greg is a rhino' or both.,It is improbable that 'John went to the hallway' or 'Greg is a rhino' or both.,0,'John went to the hallway' or 'Greg is a rhino' or both. There is little chance that Julius is a rhino. It is unlikely that Lily is a swan. It is unlikely that Greg is a frog. It is probably not the case that if 'Julius is a rhino and Greg is a frog' then Brian is green. It is probably not the case that if 'Greg is a frog and Julius is a rhino' then John picked up the milk. It is likely that if 'Lily is a swan' or 'Greg is a frog' or both then Daniel left the milk.,It is probably not the case that 'John picked up the milk' 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.1::factA. 0.2::factB. 0.2::factC. %hop1 0.25::factX:-and(factA,factC). 0.25::factY:-and(factC,factA). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.2535,0.40288057611522304,train,probably not,certain,It is probably not the case that 'John picked up the milk' or 'Daniel left the milk' or both.,It is certain that 'John picked up the milk' or 'Daniel left the milk' or both.,1,'John picked up the milk' or 'Daniel left the milk' or both. It is unlikely that Greg is a swan. There is little chance that Julius is white. Chances are about even that Brian is yellow. It is probable that if 'Julius is white' or 'Greg is a swan' or both then Winona is a mouse. It is impossible that if 'Julius is white and Greg is a swan' then Jason is tired. There is a very good chance that if either 'Greg is a swan' or 'Julius is white' but not both then John dropped the apple.,Chances are about even that either 'Greg is a swan' 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.2::factA. 0.1::factB. 0.5::factC. %hop1 0.7::factX:-or(factB,factA). 0.0::factY:-and(factB,factA). 0.8::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5,0.622124424884977,train,about even,almost no chance,Chances are about even that either 'Greg is a swan' or 'Brian is yellow' but not both.,There is almost no chance that either 'Greg is a swan' or 'Brian is yellow' but not both.,1,Either 'Greg is a swan' or 'Brian is yellow' but not both. It is probable that Bernhard is a lion. It is probably the case that Yann is hungry. It is probably not the case that Mary got the apple. There is a very good chance that if 'Bernhard is a lion and Mary got the apple' then Bill went to the garden. Chances are slight that if either 'Bernhard is a lion' or 'Mary got the apple' but not both then Emily is a wolf. There is a very good chance that if 'Yann is hungry and Bernhard is a lion' then John picked up the milk.,It is certain that 'Yann is hungry and Bill 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.7::factA. 0.7::factB. 0.25::factC. %hop1 0.8::factX:-and(factA,factC). 0.1::factY:-xor(factA,factC). 0.8::factZ:-and(factB,factA). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.09799999999999998,0.5899179835967193,train,improbable,certain,It is improbable that 'Yann is hungry and Bill went to the garden'.,It is certain that 'Yann is hungry and Bill went to the garden'.,0,'Yann is hungry and Bill went to the garden'. It is certain that Jeff dropped the apple. It is highly likely that Julius is gray. It is unlikely that Daniel left the milk. There is almost no chance that if either 'Daniel left the milk' or 'Julius is gray' but not both then Fred is in the cinema. There is almost no chance that if 'Daniel left the milk and Jeff dropped the apple' then Brian is a frog. There is almost no chance that if 'Jeff dropped the apple' or 'Julius is gray' or both then Mary went to the bedroom.,It is probably not the case 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 1.0::factA. 0.9::factB. 0.2::factC. %hop1 0.02::factX:-xor(factC,factB). 0.02::factY:-and(factC,factA). 0.02::factZ:-or(factA,factB). %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.5471094218843768,train,certain,probably not,It is certain that 'Julius is gray' or 'Jeff dropped the apple' or both.,It is probably not the case that 'Julius is gray' or 'Jeff dropped the apple' or both.,0,'Julius is gray' or 'Jeff dropped the apple' or both. It is almost certain that Jeff went to the garden. It is unlikely that Gertrude is a mouse. It is likely that Greg is a rhino. It is probable that if 'Greg is a rhino' or 'Gertrude is a mouse' or both then Bernhard is green. There is a very good chance that if 'Gertrude is a mouse' or 'Greg is a rhino' or both then Lily is a swan. It is certain that if 'Greg is a rhino' or 'Gertrude is a mouse' or both then Winona is a sheep.,Chances are slight that 'Bernhard is green' 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.95::factA. 0.2::factB. 0.7::factC. %hop1 0.7::factX:-or(factC,factB). 0.8::factY:-or(factB,factC). 1.0::factZ:-or(factC,factB). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.742,0.32786557311462294,train,we believe,chances are slight,We believe that 'Bernhard is green' or 'Greg is a rhino' or both.,Chances are slight that 'Bernhard is green' or 'Greg is a rhino' or both.,0,'Bernhard is green' or 'Greg is a rhino' or both. It is probable that Sandra got the milk. It is unlikely that Julius is white. It is probably the case that John dropped the apple. It is probably not the case that if either 'Sandra got the milk' or 'Julius is white' but not both then Brian is yellow. It is probably the case that if either 'Sandra got the milk' or 'John dropped the apple' but not both then Greg is a swan. It is probably not the case that if 'Sandra got the milk' or 'Julius is white' or both then Bernhard is green.,Chances are slight that 'Bernhard is green' 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.2::factB. 0.7::factC. %hop1 0.25::factX:-xor(factA,factB). 0.7::factY:-xor(factA,factC). 0.25::factZ:-or(factA,factB). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.715,0.31546309261852373,train,probably,chances are slight,It is probably the case that 'Bernhard is green' or 'Sandra got the milk' or both.,Chances are slight that 'Bernhard is green' or 'Sandra got the milk' or both.,0,'Bernhard is green' or 'Sandra got the milk' or both. It is likely that Mary got the apple. It is probable that John is in the garden. There is almost no chance that Winona is a wolf. It is certain that if 'John is in the garden' or 'Winona is a wolf' or both then Bernhard is gray. It is probably the case that if either 'Mary got the apple' or 'John is in the garden' but not both then Julius is white. We believe that if 'Winona is a wolf and Mary got the apple' then Sandra left the football.,It is likely that 'Bernhard is gray and John is in 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.7::factA. 0.7::factB. 0.02::factC. %hop1 1.0::factX:-or(factB,factC). 0.7::factY:-xor(factA,factB). 0.75::factZ:-and(factC,factA). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.7,0.6213242648529705,train,likely,chances are slight,It is likely that 'Bernhard is gray and John is in the garden'.,Chances are slight that 'Bernhard is gray and John is in the garden'.,1,'Bernhard is gray and John is in the garden'. Chances are slight that Mary went to the hallway. Chances are about even that John took the apple. It is probably the case that Greg is green. Chances are slight that if 'Greg is green' or 'John took the apple' or both then Brian is a swan. It is improbable that if 'Mary went to the hallway and Greg is green' then Sandra left the football. There is a better than even chance that if 'Mary went to the hallway and Greg is green' then Lily is a frog.,We believe that 'Brian is a swan and John took 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.7::factC. %hop1 0.1::factX:-or(factC,factB). 0.1::factY:-and(factA,factC). 0.6::factZ:-and(factA,factC). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.05000000000000001,0.053610722144428885,train,highly unlikely,we believe,It is highly unlikely that 'Brian is a swan and John took the apple'.,We believe that 'Brian is a swan and John took the apple'.,0,'Brian is a swan and John took the apple'. It is likely that Daniel left the milk. It is almost certain that Brian is yellow. It is highly unlikely that Greg is white. It is unlikely that if either 'Greg is white' or 'Daniel left the milk' but not both then Bernhard is a frog. Chances are slight that if 'Brian is yellow' or 'Greg is white' or both then Mary picked up the apple. There is a better than even chance that if either 'Brian is yellow' or 'Daniel left the milk' but not both then John went to the bedroom.,It is probable that 'Mary picked up the apple' 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.7::factA. 0.95::factB. 0.05::factC. %hop1 0.2::factX:-xor(factC,factA). 0.1::factY:-or(factB,factC). 0.6::factZ:-xor(factB,factA). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.21831499999999998,0.7115423084616923,train,we doubt,probable,We doubt that 'Mary picked up the apple' or 'Bernhard is a frog' or both.,It is probable that 'Mary picked up the apple' or 'Bernhard is a frog' or both.,0,'Mary picked up the apple' or 'Bernhard is a frog' or both. There is a better than even chance that Jeff moved to the office. It is highly likely that Sandra got the milk. It is almost certain that Julius is a lion. There is a better than even chance that if 'Jeff moved to the office and Sandra got the milk' then Lily is white. It is impossible that if 'Jeff moved to the office and Sandra got the milk' then Brian is a swan. It is highly likely that if either 'Sandra got the milk' or 'Julius is a lion' but not both then John went to the bedroom.,It is almost certain that 'Lily is white' 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.6::factA. 0.9::factB. 0.95::factC. %hop1 0.6::factX:-and(factA,factB). 0.0::factY:-and(factA,factB). 0.9::factZ:-xor(factB,factC). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.9662000000000001,0.7895579115823165,train,almost certain,chances are slight,It is almost certain that 'Lily is white' or 'Julius is a lion' or both.,Chances are slight that 'Lily is white' or 'Julius is a lion' or both.,1,'Lily is white' or 'Julius is a lion' or both. There is little chance that Winona is a wolf. It is unlikely that Mary got the football. It is probably not the case that Bernhard is a frog. There is a better than even chance that if 'Bernhard is a frog and Mary got the football' then Sandra dropped the milk. It is highly unlikely that if 'Mary got the football and Winona is a wolf' then Julius is yellow. Chances are slight that if either 'Winona is a wolf' or 'Bernhard is a frog' but not both then Greg is gray.,It is likely that either 'Greg is gray' 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.2::factB. 0.25::factC. %hop1 0.6::factX:-and(factC,factB). 0.05::factY:-and(factB,factA). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.11500000000000005,0.35027005401080213,train,improbable,likely,It is improbable that either 'Greg is gray' or 'Winona is a wolf' but not both.,It is likely that either 'Greg is gray' or 'Winona is a wolf' but not both.,0,Either 'Greg is gray' or 'Winona is a wolf' but not both. Chances are slight that Emily is a sheep. We believe that Bernhard is a rhino. It is impossible that Greg is a frog. It is probable that if 'Greg is a frog and Emily is a sheep' then John moved to the garden. Chances are slight that if 'Greg is a frog and Emily is a sheep' then Brian is white. There is almost no chance that if 'Bernhard is a rhino' or 'Greg is a frog' or both then Mary went to the bedroom.,It is certain that 'John moved to the garden' 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.1::factA. 0.75::factB. 0.0::factC. %hop1 0.7::factX:-and(factC,factA). 0.1::factY:-and(factC,factA). 0.02::factZ:-or(factB,factC). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.0,0.6297259451890378,train,impossible,certain,It is impossible that 'John moved to the garden' or 'Brian is white' or both.,It is certain that 'John moved to the garden' or 'Brian is white' or both.,0,'John moved to the garden' or 'Brian is white' or both. It is impossible that Julius is yellow. It is almost certain that Daniel got the milk. It is improbable that Jessica is a sheep. There is a better than even chance that if 'Daniel got the milk and Jessica is a sheep' then Fred went to the garden. We doubt that if 'Julius is yellow and Jessica is a sheep' then Brian is a rhino. It is highly unlikely that if 'Daniel got the milk and Jessica is a sheep' then Bernhard is a frog.,It is highly likely that 'Jessica 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.95::factB. 0.1::factC. %hop1 0.6::factX:-and(factB,factC). 0.2::factY:-and(factA,factC). 0.05::factZ:-and(factB,factC). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.27725545109021804,train,impossible,highly likely,It is impossible that 'Jessica is a sheep and Julius is yellow'.,It is highly likely that 'Jessica is a sheep and Julius is yellow'.,0,'Jessica is a sheep and Julius is yellow'. Chances are slight that Brian is a swan. We doubt that Emily is a sheep. We believe that Greg is a rhino. It is probable that if either 'Emily is a sheep' or 'Greg is a rhino' but not both then Julius is gray. 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 garden. It is almost certain that if either 'Brian is a swan' or 'Emily is a sheep' but not both then Lily is white.,It is highly unlikely that either 'Emily is a sheep' 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.1::factA. 0.2::factB. 0.75::factC. %hop1 0.7::factX:-xor(factB,factC). 0.6::factY:-or(factA,factC). 0.95::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.65,0.46089217843568714,train,likely,highly unlikely,It is likely that either 'Emily is a sheep' or 'Greg is a rhino' but not both.,It is highly unlikely that either 'Emily is a sheep' or 'Greg is a rhino' but not both.,0,Either 'Emily is a sheep' or 'Greg is a rhino' but not both. There is little chance that Mary discarded the milk. It is likely that Fred moved to the office. It is almost certain that Lily is a swan. It is impossible that if 'Fred moved to the office' or 'Lily is a swan' or both then Brian is a frog. There is a better than even chance that if 'Mary discarded the milk' or 'Lily is a swan' or both then Greg is a rhino. There is almost no chance that if 'Mary discarded the milk' or 'Lily is a swan' or both then Julius is white.,It is highly likely that 'Greg is a rhino' 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.7::factB. 0.95::factC. %hop1 0.0::factX:-or(factB,factC). 0.6::factY:-or(factA,factC). 0.02::factZ:-or(factA,factC). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.8719,0.12022404480896179,train,highly likely,we doubt,It is highly likely that 'Greg is a rhino' or 'Fred moved to the office' or both.,We doubt that 'Greg is a rhino' or 'Fred moved to the office' or both.,1,'Greg is a rhino' or 'Fred moved to the office' or both. There is a very good chance that Bernhard is a frog. It is impossible that Brian is a lion. We doubt that Gertrude is a mouse. Chances are about even that if 'Brian is a lion and Bernhard is a frog' then Lily is yellow. It is unlikely that if 'Gertrude is a mouse and Bernhard is a frog' then John left the football. We doubt that if either 'Brian is a lion' or 'Bernhard is a frog' but not both then Greg is a swan.,It is unlikely that 'Greg is a swan' or 'John 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.8::factA. 0.0::factB. 0.2::factC. %hop1 0.5::factX:-and(factB,factA). 0.2::factY:-and(factC,factA). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.18560000000000004,0.664132826565313,train,unlikely,likely,It is unlikely that 'Greg is a swan' or 'John left the football' or both.,It is likely that 'Greg is a swan' or 'John left the football' or both.,1,'Greg is a swan' or 'John left the football' or both. It is certain that Jessica is a mouse. We believe that Julius is a rhino. Chances are slight that Emily is a wolf. We believe that if 'Jessica is a mouse' or 'Julius is a rhino' or both then Fred went to the office. It is highly unlikely that if 'Jessica is a mouse and Emily is a wolf' then Daniel grabbed the milk. It is certain that if 'Jessica is a mouse' or 'Emily is a wolf' or both then Lily is a swan.,It is impossible that 'Lily is a swan 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 1.0::factA. 0.75::factB. 0.1::factC. %hop1 0.75::factX:-or(factA,factB). 0.05::factY:-and(factA,factC). 1.0::factZ:-or(factA,factC). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",1.0,0.2624524904980996,train,certain,impossible,It is certain that 'Lily is a swan and Jessica is a mouse'.,It is impossible that 'Lily is a swan and Jessica is a mouse'.,0,'Lily is a swan and Jessica is a mouse'. Chances are about even that John got the apple. It is probably the case that Bernhard is yellow. It is unlikely that Lily is a lion. There is little chance that if either 'Lily is a lion' or 'John got the apple' but not both then Greg is gray. It is certain that if either 'John got the apple' or 'Bernhard is yellow' but not both then Mary left the football. It is probable that if 'John got the apple and Lily is a lion' then Brian is a swan.,It is probable that either 'Brian is a swan' 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.5::factA. 0.7::factB. 0.2::factC. %hop1 0.1::factX:-xor(factC,factA). 1.0::factY:-xor(factA,factB). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.6719999999999999,0.16703340668133626,train,probable,almost no chance,It is probable that either 'Brian is a swan' or 'Bernhard is yellow' but not both.,There is almost no chance that either 'Brian is a swan' or 'Bernhard is yellow' but not both.,1,Either 'Brian is a swan' or 'Bernhard is yellow' but not both. There is a very good chance that Jeff moved to the office. It is improbable that John went to the kitchen. There is little chance that Bernhard is white. It is impossible that if 'Jeff moved to the office' or 'Bernhard is white' or both then Lily is green. Chances are about even that if 'John went to the kitchen and Jeff moved to the office' then Brian is a frog. Chances are slight that if either 'Bernhard is white' or 'Jeff moved to the office' but not both then Daniel took the milk.,It is probable that 'Daniel took the milk' 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.8::factA. 0.1::factB. 0.1::factC. %hop1 0.0::factX:-or(factA,factC). 0.5::factY:-and(factB,factA). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.17200000000000001,0.10442088417683537,train,we doubt,probable,We doubt that 'Daniel took the milk' or 'Bernhard is white' or both.,It is probable that 'Daniel took the milk' or 'Bernhard is white' or both.,0,'Daniel took the milk' or 'Bernhard is white' or both. It is almost certain that Brian is a frog. Chances are about even that Bill left the milk. It is impossible that Greg is yellow. It is likely that if 'Greg is yellow' or 'Brian is a frog' or both then Gertrude is a mouse. There is little chance that if 'Bill left the milk' or 'Greg is yellow' or both then Mary got the football. It is probably the case that if either 'Greg is yellow' or 'Bill left the milk' but not both then Bernhard is a swan.,It is almost certain that 'Bill left the milk' 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.95::factA. 0.5::factB. 0.0::factC. %hop1 0.7::factX:-or(factC,factA). 0.1::factY:-or(factB,factC). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.5,0.12142428485697139,train,about even,almost certain,Chances are about even that 'Bill left the milk' or 'Bernhard is a swan' or both.,It is almost certain that 'Bill left the milk' or 'Bernhard is a swan' or both.,0,'Bill left the milk' or 'Bernhard is a swan' or both. It is highly unlikely that John went to the bedroom. It is impossible that Sandra left the milk. It is probably not the case that Gertrude is a wolf. There is a very good chance that if 'Gertrude is a wolf' or 'John went to the bedroom' or both then Jason is thirsty. It is impossible that if 'Gertrude is a wolf' or 'John went to the bedroom' or both then Jessica is a cat. There is little chance that if 'Sandra left the milk and Gertrude is a wolf' then Greg is a swan.,It is almost certain that 'Greg is a swan' or 'Jason 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.0::factB. 0.25::factC. %hop1 0.8::factX:-or(factC,factA). 0.0::factY:-or(factC,factA). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.23,0.2496499299859972,train,probably not,almost certain,It is probably not the case that 'Greg is a swan' or 'Jason is thirsty' or both.,It is almost certain that 'Greg is a swan' or 'Jason is thirsty' or both.,0,'Greg is a swan' or 'Jason is thirsty' or both. It is likely that John took the apple. It is probably the case that Winona is a mouse. There is almost no chance that Lily is green. There is little chance that if 'Lily is green' or 'John took the apple' or both then Bernhard is white. It is probable that if 'Winona is a mouse' or 'Lily is green' or both then Emily is a sheep. It is highly likely that if 'Winona is a mouse and John took the apple' then Sandra left the milk.,Chances are about even that either 'Sandra left the milk' 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.7::factA. 0.7::factB. 0.02::factC. %hop1 0.1::factX:-or(factC,factA). 0.7::factY:-or(factB,factC). 0.9::factZ:-and(factB,factA). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.42339999999999994,0.4918983796759352,train,about even,impossible,Chances are about even that either 'Sandra left the milk' or 'Bernhard is white' but not both.,It is impossible that either 'Sandra left the milk' or 'Bernhard is white' but not both.,1,Either 'Sandra left the milk' or 'Bernhard is white' but not both. It is highly likely that Julius is yellow. There is almost no chance that Daniel got the apple. It is highly unlikely that Sandra left the milk. Chances are about even that if 'Daniel got the apple' or 'Sandra left the milk' or both then Brian is a frog. It is probable that if either 'Julius is yellow' or 'Daniel got the apple' but not both then Mary grabbed the milk. It is unlikely that if either 'Sandra left the milk' or 'Daniel got the apple' but not both then Greg is a rhino.,It is impossible that 'Mary grabbed the milk' 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.9::factA. 0.02::factB. 0.05::factC. %hop1 0.5::factX:-or(factB,factC). 0.7::factY:-xor(factA,factB). 0.2::factZ:-xor(factC,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.63786,0.22004400880176037,train,better than even,impossible,There is a better than even chance that 'Mary grabbed the milk' or 'Sandra left the milk' or both.,It is impossible that 'Mary grabbed the milk' or 'Sandra left the milk' or both.,0,'Mary grabbed the milk' or 'Sandra left the milk' or both. It is probably not the case that Greg is green. There is little chance that Winona is a cat. It is highly likely that Brian is a rhino. There is a very good chance that if 'Winona is a cat and Greg is green' then Mary went to the garden. It is highly likely that if 'Winona is a cat and Brian is a rhino' then Julius is a swan. It is almost certain that if 'Greg is green and Brian is a rhino' then John moved to the office.,It is likely that either 'Julius is a swan' or 'Winona 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.25::factA. 0.1::factB. 0.9::factC. %hop1 0.8::factX:-and(factB,factA). 0.9::factY:-and(factB,factC). 0.95::factZ:-and(factA,factC). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.018999999999999993,0.09081816363272655,train,almost no chance,likely,There is almost no chance that either 'Julius is a swan' or 'Winona is a cat' but not both.,It is likely that either 'Julius is a swan' or 'Winona is a cat' but not both.,0,Either 'Julius is a swan' or 'Winona is a cat' but not both. It is highly likely that Bernhard is yellow. It is certain that Lily is a lion. We believe that Mary is in the hallway. It is highly unlikely that if 'Bernhard is yellow' or 'Mary is in the hallway' or both then Winona is a wolf. It is almost certain that if either 'Lily is a lion' or 'Mary is in the hallway' but not both then Daniel put down the milk. It is improbable that if 'Mary is in the hallway' or 'Lily is a lion' or both then Julius is a frog.,It is unlikely that 'Daniel put down 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. 1.0::factB. 0.75::factC. %hop1 0.05::factX:-or(factA,factC). 0.95::factY:-xor(factB,factC). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-or(factY,factB). query(conclusion). ",1.0,0.15543108621724344,train,certain,unlikely,It is certain that 'Daniel put down the milk' or 'Lily is a lion' or both.,It is unlikely that 'Daniel put down the milk' or 'Lily is a lion' or both.,0,'Daniel put down the milk' or 'Lily is a lion' or both. There is little chance that Julius is white. It is probable that Sandra left the milk. It is almost certain that Jessica is a cat. We believe that if 'Jessica is a cat and Sandra left the milk' then Greg is a lion. It is highly likely that if either 'Sandra left the milk' or 'Julius is white' but not both then Mary went to the kitchen. Chances are about even that if 'Jessica is a cat' or 'Sandra left the milk' or both then Lily is yellow.,There is almost no chance that 'Greg is a lion 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.1::factA. 0.7::factB. 0.95::factC. %hop1 0.75::factX:-and(factC,factB). 0.9::factY:-xor(factB,factA). 0.5::factZ:-or(factC,factB). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.49874999999999997,0.022604520904180837,train,about even,almost no chance,Chances are about even that 'Greg is a lion and Sandra left the milk'.,There is almost no chance that 'Greg is a lion and Sandra left the milk'.,0,'Greg is a lion and Sandra left the milk'. Chances are slight that John picked up the apple. It is certain that Jessica is a sheep. It is certain that Brian is white. We doubt that if 'Brian is white' or 'John picked up the apple' or both then Winona is a cat. It is likely that if 'Jessica is a sheep' or 'Brian is white' or both then Bernhard is a swan. It is improbable that if 'John picked up the apple' or 'Jessica is a sheep' or both then Julius is a rhino.,It is almost certain that 'Bernhard is a swan 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.1::factA. 1.0::factB. 1.0::factC. %hop1 0.2::factX:-or(factC,factA). 0.7::factY:-or(factB,factC). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.07,0.21064212842568514,train,highly unlikely,almost certain,It is highly unlikely that 'Bernhard is a swan and John picked up the apple'.,It is almost certain that 'Bernhard is a swan and John picked up the apple'.,0,'Bernhard is a swan and John picked up the apple'. There is almost no chance that Greg is a rhino. We doubt that Jeff left the apple. It is likely that Bernhard is a swan. It is impossible that if 'Greg is a rhino and Bernhard is a swan' then Bill went to the kitchen. It is almost certain that if 'Bernhard is a swan and Jeff left the apple' then Sandra took the football. It is improbable that if 'Bernhard is a swan and Jeff left the apple' then Mary moved to the garden.,It is impossible that 'Bill went to the kitchen 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.2::factB. 0.7::factC. %hop1 0.0::factX:-and(factA,factC). 0.95::factY:-and(factC,factB). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.0,0.5775155031006202,train,impossible,better than even,It is impossible that 'Bill went to the kitchen and Greg is a rhino'.,There is a better than even chance that 'Bill went to the kitchen and Greg is a rhino'.,1,'Bill went to the kitchen and Greg is a rhino'. It is certain that Lily is yellow. It is impossible that Emily is a sheep. It is unlikely that Sandra left the football. It is unlikely that if either 'Lily is yellow' or 'Emily is a sheep' but not both then Brian is white. It is almost certain that if either 'Lily is yellow' or 'Emily is a sheep' but not both then Jeff went to the garden. It is probable that if 'Emily is a sheep and Lily is yellow' then Bill got the milk there.,It is probable that 'Sandra left the football and Emily 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 1.0::factA. 0.0::factB. 0.2::factC. %hop1 0.2::factX:-xor(factA,factB). 0.95::factY:-xor(factA,factB). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.20704140828165632,train,impossible,probable,It is impossible that 'Sandra left the football and Emily is a sheep'.,It is probable that 'Sandra left the football and Emily is a sheep'.,0,'Sandra left the football and Emily is a sheep'. It is improbable that Winona is a mouse. It is almost certain that Lily is a swan. It is improbable that Daniel took the football. It is almost certain that if 'Daniel took the football' or 'Winona is a mouse' or both then John went to the bedroom. It is impossible that if either 'Lily is a swan' or 'Winona is a mouse' but not both then Greg is white. There is almost no chance that if 'Winona is a mouse' or 'Daniel took the football' or both then Mary moved to the office.,It is almost certain that 'Daniel took the football' 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.1::factA. 0.95::factB. 0.1::factC. %hop1 0.95::factX:-or(factC,factA). 0.0::factY:-xor(factB,factA). 0.02::factZ:-or(factA,factC). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.18550000000000003,0.1864372874574915,train,unlikely,almost certain,It is unlikely that 'Daniel took the football' or 'John went to the bedroom' or both.,It is almost certain that 'Daniel took the football' or 'John went to the bedroom' or both.,0,'Daniel took the football' or 'John went to the bedroom' or both. There is little chance that Bernhard is white. It is probably the case that Julius is a lion. It is probable that Mary moved to the garden. It is likely that if 'Julius is a lion and Mary moved to the garden' then Brian is green. There is almost no chance that if 'Bernhard is white' or 'Julius is a lion' or both then John went to the hallway. We doubt that if 'Julius is a lion and Mary moved to the garden' then Antoine is hungry.,There is almost no chance that 'Julius is a lion 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.1::factA. 0.7::factB. 0.7::factC. %hop1 0.7::factX:-and(factB,factC). 0.02::factY:-or(factA,factB). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.014000000000000007,0.6127225445089017,train,almost no chance,probable,There is almost no chance that 'Julius is a lion and John went to the hallway'.,It is probable that 'Julius is a lion and John went to the hallway'.,1,'Julius is a lion and John went to the hallway'. It is probably the case that Daniel dropped the apple. There is almost no chance that Lily is green. There is almost no chance that Jessica is a cat. It is unlikely that if either 'Lily is green' or 'Jessica is a cat' but not both then Bernhard is gray. Chances are slight that if 'Daniel dropped the apple and Lily is green' then Julius is a rhino. It is improbable that if either 'Lily is green' or 'Jessica is a cat' but not both then John went to the kitchen.,We believe that 'John went to the kitchen' 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.02::factB. 0.02::factC. %hop1 0.2::factX:-xor(factB,factC). 0.1::factY:-and(factA,factB). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.005182800000000001,0.5713142628525705,train,impossible,we believe,It is impossible that 'John went to the kitchen' or 'Julius is a rhino' or both.,We believe that 'John went to the kitchen' or 'Julius is a rhino' or both.,0,'John went to the kitchen' or 'Julius is a rhino' or both. Chances are about even that Sandra dropped the milk. It is probable that John went to the kitchen. It is almost certain that Jessica is a mouse. It is probably not the case that if 'John went to the kitchen and Jessica is a mouse' then Mary moved to the garden. There is little chance that if 'Jessica is a mouse' or 'John went to the kitchen' or both then Greg is a rhino. It is probably not the case that if 'Jessica is a mouse and John went to the kitchen' then Julius is a swan.,It is probably the case that either 'John went to the kitchen' 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.5::factA. 0.7::factB. 0.95::factC. %hop1 0.25::factX:-and(factB,factC). 0.1::factY:-or(factC,factB). 0.25::factZ:-and(factC,factB). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.32000000000000006,0.2548509701940388,train,probably not,probably,It is probably not the case that either 'John went to the kitchen' or 'Jessica is a mouse' but not both.,It is probably the case that either 'John went to the kitchen' or 'Jessica is a mouse' but not both.,0,Either 'John went to the kitchen' or 'Jessica is a mouse' but not both. Chances are about even that John discarded the apple. There is a very good chance that Mary went to the office. Chances are slight that Sandra dropped the milk. It is improbable that if 'Sandra dropped the milk and John discarded the apple' then Yann is thirsty. We believe that if 'Sandra dropped the milk and Mary went to the office' then Brian is gray. We believe that if 'John discarded the apple and Mary went to the office' then Julius is a lion.,It is impossible that either 'Mary went to the office' 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.5::factA. 0.8::factB. 0.1::factC. %hop1 0.1::factX:-and(factC,factA). 0.75::factY:-and(factC,factB). 0.75::factZ:-and(factA,factB). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5,0.7277455491098219,train,about even,impossible,Chances are about even that either 'Mary went to the office' or 'John discarded the apple' but not both.,It is impossible that either 'Mary went to the office' or 'John discarded the apple' but not both.,0,Either 'Mary went to the office' or 'John discarded the apple' but not both. It is probably the case that Winona is a wolf. It is impossible that Mary went to the hallway. There is a very good chance that Greg is gray. Chances are about even that if 'Greg is gray and Winona is a wolf' then John got the apple. It is probably the case that if either 'Winona is a wolf' or 'Greg is gray' but not both then Sandra left the football. It is probable that if 'Greg is gray' or 'Mary went to the hallway' or both then Gertrude is a sheep.,It is likely that either 'Winona is a wolf' or 'Mary went to the hallway' 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.8::factC. %hop1 0.5::factX:-and(factC,factA). 0.7::factY:-xor(factA,factC). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.7,0.14062812562512503,train,likely,highly unlikely,It is likely that either 'Winona is a wolf' or 'Mary went to the hallway' but not both.,It is highly unlikely that either 'Winona is a wolf' or 'Mary went to the hallway' but not both.,1,Either 'Winona is a wolf' or 'Mary went to the hallway' but not both. It is almost certain that Yann is bored. It is improbable that Greg is a rhino. It is highly unlikely that Brian is white. It is probably not the case that if 'Yann is bored' or 'Brian is white' or both then Daniel put down the milk. Chances are slight that if 'Yann is bored and Brian is white' then Julius is a frog. There is little chance that if 'Yann is bored and Greg is a rhino' then John went to the bedroom.,There is a very good chance that 'Greg is a rhino 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.1::factB. 0.05::factC. %hop1 0.25::factX:-or(factA,factC). 0.1::factY:-and(factA,factC). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.005000000000000002,0.7445489097819564,train,impossible,very good chance,It is impossible that 'Greg is a rhino and Brian is white'.,There is a very good chance that 'Greg is a rhino and Brian is white'.,0,'Greg is a rhino and Brian is white'. We believe that John dropped the apple. It is almost certain that Bernhard is a rhino. It is almost certain that Lily is a frog. It is highly likely that if either 'Lily is a frog' or 'Bernhard is a rhino' but not both then Sumit is thirsty. It is highly likely that if 'John dropped the apple and Lily is a frog' then Julius is yellow. There is a better than even chance that if either 'Lily is a frog' or 'John dropped the apple' but not both then Mary went to the bedroom.,There is almost no chance that 'Mary went to the bedroom 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.75::factA. 0.95::factB. 0.95::factC. %hop1 0.9::factX:-xor(factC,factB). 0.9::factY:-and(factA,factC). 0.6::factZ:-xor(factC,factA). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.025650000000000027,0.3792758551710342,train,almost no chance,we believe,There is almost no chance that 'Mary went to the bedroom and Sumit is thirsty'.,We believe that 'Mary went to the bedroom and Sumit is thirsty'.,1,'Mary went to the bedroom and Sumit is thirsty'. There is almost no chance that Winona is a sheep. It is probably the case that Mary picked up the milk. It is likely that John went to the office. There is almost no chance that if 'Mary picked up the milk and John went to the office' then Brian is a frog. We doubt that if 'Mary picked up the milk' or 'Winona is a sheep' or both then Sandra got the football. There is little chance that if 'Winona is a sheep' or 'John went to the office' or both then Greg is a swan.,There is almost no chance that 'Mary picked up the milk' 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.02::factA. 0.7::factB. 0.7::factC. %hop1 0.02::factX:-and(factB,factC). 0.2::factY:-or(factB,factA). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.706,0.7505501100220044,train,probably,almost no chance,It is probably the case that 'Mary picked up the milk' or 'Winona is a sheep' or both.,There is almost no chance that 'Mary picked up the milk' or 'Winona is a sheep' or both.,0,'Mary picked up the milk' or 'Winona is a sheep' or both. It is probably the case that Brian is a swan. There is little chance that Lily is white. It is unlikely that Julius is a lion. It is probable that if 'Brian is a swan' or 'Lily is white' or both then Mary went to the bedroom. There is little chance that if 'Julius is a lion' or 'Brian is a swan' or both then John left the milk. It is certain that if 'Julius is a lion and Lily is white' then Sandra got the football.,It is unlikely that either 'Lily is white' 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.1::factB. 0.2::factC. %hop1 0.7::factX:-or(factA,factB). 0.1::factY:-or(factC,factA). 1.0::factZ:-and(factC,factB). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.16080000000000005,0.09861972394478896,train,unlikely,certain,It is unlikely that either 'Lily is white' or 'John left the milk' but not both.,It is certain that either 'Lily is white' or 'John left the milk' but not both.,1,Either 'Lily is white' or 'John left the milk' but not both. It is probably the case that Bernhard is white. It is probably not the case that Lily is a rhino. It is unlikely that Mary went to the garden. It is highly unlikely that if 'Lily is a rhino and Mary went to the garden' then Brian is a lion. It is improbable that if 'Bernhard is white' or 'Mary went to the garden' or both then Julius is yellow. It is probable that if 'Lily is a rhino' or 'Bernhard is white' or both then Sumit is tired.,There is little chance that either 'Julius is yellow' or 'Brian 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.25::factB. 0.2::factC. %hop1 0.05::factX:-and(factB,factC). 0.1::factY:-or(factA,factC). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.07800000000000001,0.04320864172834567,train,little chance,probable,There is little chance that either 'Julius is yellow' or 'Brian is a lion' but not both.,It is probable that either 'Julius is yellow' or 'Brian is a lion' but not both.,1,Either 'Julius is yellow' or 'Brian is a lion' but not both. It is improbable that Lily is yellow. It is highly unlikely that Jeff went to the garden. It is probable that Julius is a lion. Chances are about even that if 'Jeff went to the garden and Julius is a lion' then Gertrude is a wolf. There is a very good chance that if either 'Jeff went to the garden' or 'Julius is a lion' but not both then Greg is a swan. There is almost no chance that if 'Julius is a lion' or 'Lily is yellow' or both then Mary picked up the apple.,There is a better than even chance that either 'Greg 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.1::factA. 0.05::factB. 0.7::factC. %hop1 0.5::factX:-and(factB,factC). 0.8::factY:-xor(factB,factC). 0.02::factZ:-or(factC,factA). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.57,0.5293058611722344,train,better than even,highly unlikely,There is a better than even chance that either 'Greg is a swan' or 'Jeff went to the garden' but not both.,It is highly unlikely that either 'Greg is a swan' or 'Jeff went to the garden' but not both.,1,Either 'Greg is a swan' or 'Jeff went to the garden' but not both. It is likely that Antoine is bored. It is probably not the case that Greg is a swan. It is probably not the case that Emily is a wolf. It is impossible that if either 'Antoine is bored' or 'Greg is a swan' but not both then Jessica is a sheep. It is likely that if either 'Antoine is bored' or 'Greg is a swan' but not both then Sandra left the milk. It is improbable that if 'Antoine is bored' or 'Emily is a wolf' or both then Bernhard is green.,It is highly likely that 'Antoine is bored and Jessica 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.7::factA. 0.25::factB. 0.25::factC. %hop1 0.0::factX:-xor(factA,factB). 0.7::factY:-xor(factA,factB). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.0,0.7777555511102221,train,impossible,highly likely,It is impossible that 'Antoine is bored and Jessica is a sheep'.,It is highly likely that 'Antoine is bored and Jessica is a sheep'.,0,'Antoine is bored and Jessica is a sheep'. It is probable that Brian is a frog. There is a better than even chance that Lily is white. It is highly likely that Julius is a swan. There is a better than even chance that if 'Brian is a frog' or 'Julius is a swan' or both then Jeff moved to the garden. We doubt that if 'Julius is a swan and Lily is white' then Gertrude is a sheep. There is a better than even chance that if 'Julius is a swan and Lily is white' then Winona is a wolf.,Chances are about even that either 'Winona is a wolf' 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.6::factB. 0.9::factC. %hop1 0.6::factX:-or(factA,factC). 0.2::factY:-and(factC,factB). 0.6::factZ:-and(factC,factB). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.5172,0.7689537907581516,train,about even,impossible,Chances are about even that either 'Winona is a wolf' or 'Jeff moved to the garden' but not both.,It is impossible that either 'Winona is a wolf' or 'Jeff moved to the garden' but not both.,1,Either 'Winona is a wolf' or 'Jeff moved to the garden' but not both. There is almost no chance that Jessica is a cat. There is almost no chance that Jason is tired. Chances are about even that Lily is green. There is a better than even chance that if 'Lily is green' or 'Jessica is a cat' or both then Mary grabbed the milk. It is likely that if 'Lily is green and Jessica is a cat' then Julius is a frog. It is probably not the case that if either 'Lily is green' or 'Jessica is a cat' but not both then John went to the garden.,It is almost certain that 'John went to the garden 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.02::factA. 0.02::factB. 0.5::factC. %hop1 0.6::factX:-or(factC,factA). 0.7::factY:-and(factC,factA). 0.25::factZ:-xor(factC,factA). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.12250000000000001,0.6015203040608121,train,little chance,almost certain,There is little chance that 'John went to the garden and Lily is green'.,It is almost certain that 'John went to the garden and Lily is green'.,0,'John went to the garden and Lily is green'. There is a very good chance that Brian is green. It is probably not the case that Bernhard is yellow. It is improbable that Greg is gray. It is almost certain that if 'Bernhard is yellow and Greg is gray' then Julius is white. There is a better than even chance that if 'Greg is gray and Brian is green' then Mary moved to the office. It is probable that if 'Greg is gray and Bernhard is yellow' then John discarded the apple.,There is a very good chance that 'Brian 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.8::factA. 0.25::factB. 0.1::factC. %hop1 0.95::factX:-and(factB,factC). 0.6::factY:-and(factC,factA). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.8,0.3556711342268454,train,very good chance,impossible,There is a very good chance that 'Brian is green' or 'Mary moved to the office' or both.,It is impossible that 'Brian is green' or 'Mary moved to the office' or both.,1,'Brian is green' or 'Mary moved to the office' or both. It is improbable that Mary went to the bedroom. Chances are about even that John dropped the milk. It is improbable that Greg is a swan. It is improbable that if 'Mary went to the bedroom' or 'John dropped the milk' or both then Brian is white. There is a better than even chance that if either 'Mary went to the bedroom' or 'John dropped the milk' but not both then Bernhard is green. It is impossible that if either 'John dropped the milk' or 'Mary went to the bedroom' but not both then Daniel took the football.,It is certain that 'Bernhard is green 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.1::factA. 0.5::factB. 0.1::factC. %hop1 0.1::factX:-or(factA,factB). 0.6::factY:-xor(factA,factB). 0.0::factZ:-xor(factB,factA). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.029999999999999995,0.29165833166633326,train,almost no chance,certain,There is almost no chance that 'Bernhard is green and Brian is white'.,It is certain that 'Bernhard is green and Brian is white'.,0,'Bernhard is green and Brian is white'. It is unlikely that Lily is yellow. It is likely that Greg is white. We doubt that John went to the garden. It is almost certain that if either 'John went to the garden' or 'Greg is white' but not both then Winona is a cat. Chances are slight that if 'Greg is white and John went to the garden' then Julius is a rhino. It is almost certain that if either 'John went to the garden' or 'Greg is white' but not both then Brian is a swan.,It is likely that either 'Winona is a cat' 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.2::factA. 0.7::factB. 0.2::factC. %hop1 0.95::factX:-xor(factC,factB). 0.1::factY:-and(factB,factC). 0.95::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.05890000000000007,0.6059211842368474,train,highly unlikely,likely,It is highly unlikely that either 'Winona is a cat' or 'Brian is a swan' but not both.,It is likely that either 'Winona is a cat' or 'Brian is a swan' but not both.,0,Either 'Winona is a cat' or 'Brian is a swan' but not both. There is a better than even chance that Brian is green. It is probably not the case that Jeff went to the garden. It is almost certain that Greg is gray. It is almost certain that if either 'Greg is gray' or 'Brian is green' but not both then Mary left the football. It is certain that if 'Jeff went to the garden and Brian is green' then Julius is yellow. We believe that if 'Brian is green and Greg is gray' then John got the milk.,It is highly likely that either 'Brian is green' or 'John 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.6::factA. 0.25::factB. 0.95::factC. %hop1 0.95::factX:-xor(factC,factA). 1.0::factY:-and(factB,factA). 0.75::factZ:-and(factA,factC). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.17250000000000001,0.38387677535507103,train,we doubt,highly likely,We doubt that either 'Brian is green' or 'John got the milk' but not both.,It is highly likely that either 'Brian is green' or 'John got the milk' but not both.,0,Either 'Brian is green' or 'John got the milk' but not both. It is improbable that Julius is a rhino. It is highly unlikely that Sandra grabbed the apple. It is probably the case that Greg is a lion. It is improbable that if 'Julius is a rhino' or 'Sandra grabbed the apple' or both then John got the milk. It is certain that if 'Greg is a lion and Julius is a rhino' then Lily is white. It is probable that if either 'Greg is a lion' or 'Julius is a rhino' but not both then Mary went to the garden.,There is almost no chance that either 'Greg is a lion' or 'Sandra grabbed 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.05::factB. 0.7::factC. %hop1 0.1::factX:-or(factA,factB). 1.0::factY:-and(factC,factA). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6799999999999999,0.42208441688337667,train,probable,almost no chance,It is probable that either 'Greg is a lion' or 'Sandra grabbed the apple' but not both.,There is almost no chance that either 'Greg is a lion' or 'Sandra grabbed the apple' but not both.,0,Either 'Greg is a lion' or 'Sandra grabbed the apple' but not both. There is a better than even chance that Greg is a frog. It is unlikely that John took the football. There is almost no chance that Gertrude is a sheep. It is certain that if 'John took the football and Greg is a frog' then Brian is white. There is a very good chance that if either 'Greg is a frog' or 'Gertrude is a sheep' but not both then Mary picked up the milk. There is almost no chance that if either 'Greg is a frog' or 'Gertrude is a sheep' but not both then Lily is a swan.,It is probably the case that either 'Greg 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.6::factA. 0.2::factB. 0.02::factC. %hop1 1.0::factX:-and(factB,factA). 0.8::factY:-xor(factA,factC). 0.02::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.13599999999999998,0.6873374674934987,train,little chance,probably,There is little chance that either 'Greg is a frog' or 'Mary picked up the milk' but not both.,It is probably the case that either 'Greg is a frog' or 'Mary picked up the milk' but not both.,0,Either 'Greg is a frog' or 'Mary picked up the milk' but not both. Chances are about even that Daniel took the apple. There is little chance that Lily is green. It is improbable that Julius is a frog. It is likely that if 'Lily is green' or 'Daniel took the apple' or both then Brian is a rhino. There is almost no chance that if 'Julius is a frog and Daniel took the apple' then Jason is tired. Chances are slight that if 'Daniel took the apple' or 'Julius is a frog' or both then Mary went to the office.,It is highly unlikely that 'Mary went to the office and Daniel took 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.5::factA. 0.1::factB. 0.1::factC. %hop1 0.7::factX:-or(factB,factA). 0.02::factY:-and(factC,factA). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.05000000000000001,0.28805761152230447,train,highly unlikely,probable,It is highly unlikely that 'Mary went to the office and Daniel took the apple'.,It is probable that 'Mary went to the office and Daniel took the apple'.,1,'Mary went to the office and Daniel took the apple'. It is probably not the case that Sandra dropped the milk. It is highly likely that Mary picked up the apple. We doubt that John left the football. There is almost no chance that if either 'John left the football' or 'Sandra dropped the milk' but not both then Brian is a frog. Chances are slight that if 'John left the football and Mary picked up the apple' then Bernhard is a lion. It is unlikely that if either 'Mary picked up the apple' or 'Sandra dropped the milk' but not both then Julius is gray.,It is highly likely that either 'Mary picked up the apple' 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.25::factA. 0.9::factB. 0.2::factC. %hop1 0.02::factX:-xor(factC,factA). 0.1::factY:-and(factC,factB). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.8944,0.019403880776155232,train,highly likely,highly unlikely,It is highly likely that either 'Mary picked up the apple' or 'Brian is a frog' but not both.,It is highly unlikely that either 'Mary picked up the apple' or 'Brian is a frog' but not both.,1,Either 'Mary picked up the apple' or 'Brian is a frog' but not both. It is certain that Sandra left the milk. There is a very good chance that Bernhard is a frog. It is probable that Gertrude is a sheep. It is unlikely that if 'Gertrude is a sheep' or 'Bernhard is a frog' or both then Brian is yellow. It is likely that if 'Bernhard is a frog' or 'Sandra left the milk' or both then Lily is a rhino. It is probable that if either 'Gertrude is a sheep' or 'Bernhard is a frog' but not both then Greg is a frog.,We doubt that 'Sandra left the milk 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 1.0::factA. 0.8::factB. 0.7::factC. %hop1 0.2::factX:-or(factC,factB). 0.7::factY:-or(factB,factA). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.188,0.11102220444088817,train,we doubt,very good chance,We doubt that 'Sandra left the milk and Brian is yellow'.,There is a very good chance that 'Sandra left the milk and Brian is yellow'.,1,'Sandra left the milk and Brian is yellow'. It is almost certain that Gertrude is a sheep. It is probably not the case that Brian is a lion. It is highly likely that Mary got the football. It is highly likely that if 'Gertrude is a sheep' or 'Brian is a lion' or both then Greg is gray. It is probably not the case that if 'Gertrude is a sheep and Mary got the football' then Bernhard is a rhino. There is a very good chance that if 'Brian is a lion and Gertrude is a sheep' then John took the apple.,It is likely that either 'John took the apple' or 'Bernhard 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.95::factA. 0.25::factB. 0.9::factC. %hop1 0.9::factX:-or(factA,factB). 0.25::factY:-and(factA,factC). 0.8::factZ:-and(factB,factA). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.3182500000000001,0.16303260652130427,train,probably not,likely,It is probably not the case that either 'John took the apple' or 'Bernhard is a rhino' but not both.,It is likely that either 'John took the apple' or 'Bernhard is a rhino' but not both.,0,Either 'John took the apple' or 'Bernhard is a rhino' but not both. It is likely that Greg is a frog. There is a better than even chance that Emily is a sheep. It is highly likely that Mary moved to the garden. Chances are about even that if either 'Greg is a frog' or 'Emily is a sheep' but not both then Lily is a rhino. It is probable that if either 'Greg is a frog' or 'Mary moved to the garden' but not both then John went to the kitchen. We doubt that if either 'Mary moved to the garden' or 'Emily is a sheep' but not both then Daniel got the milk.,It is impossible that either 'Mary moved to the garden' or 'Lily 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.7::factA. 0.6::factB. 0.9::factC. %hop1 0.5::factX:-xor(factA,factB). 0.7::factY:-xor(factA,factC). 0.2::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.716,0.6675335067013403,train,probably,impossible,It is probably the case that either 'Mary moved to the garden' or 'Lily is a rhino' but not both.,It is impossible that either 'Mary moved to the garden' or 'Lily is a rhino' but not both.,0,Either 'Mary moved to the garden' or 'Lily is a rhino' but not both. It is unlikely that Daniel took the milk. It is improbable that Sandra left the milk. There is almost no chance that Antoine is thirsty. Chances are slight that if either 'Antoine is thirsty' or 'Daniel took the milk' but not both then Bernhard is green. There is a better than even chance that if either 'Antoine is thirsty' or 'Daniel took the milk' but not both then John dropped the apple. There is little chance that if 'Antoine is thirsty' or 'Daniel took the milk' or both then Greg is a rhino.,It is probably the case that 'John dropped the apple 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.1::factB. 0.02::factC. %hop1 0.1::factX:-xor(factC,factA). 0.6::factY:-xor(factC,factA). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.01272,0.3510702140428086,train,almost no chance,probably,There is almost no chance that 'John dropped the apple and Greg is a rhino'.,It is probably the case that 'John dropped the apple and Greg is a rhino'.,0,'John dropped the apple and Greg is a rhino'. It is impossible that Julius is gray. It is probably the case that Mary left the football. It is highly unlikely that Bernhard is a frog. It is improbable that if either 'Julius is gray' or 'Mary left the football' but not both then Daniel took the milk. There is a better than even chance that if 'Julius is gray and Bernhard is a frog' then Brian is a lion. Chances are about even that if 'Julius is gray' or 'Mary left the football' or both then Lily is a rhino.,It is likely that either 'Lily is a rhino' or 'Daniel 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.0::factA. 0.7::factB. 0.05::factC. %hop1 0.1::factX:-xor(factA,factB). 0.6::factY:-and(factA,factC). 0.5::factZ:-or(factA,factB). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.3499999999999999,0.6129225845169034,train,probably not,likely,It is probably not the case that either 'Lily is a rhino' or 'Daniel took the milk' but not both.,It is likely that either 'Lily is a rhino' or 'Daniel took the milk' but not both.,0,Either 'Lily is a rhino' or 'Daniel took the milk' but not both. It is probable that Daniel grabbed the milk. There is almost no chance that Mary dropped the apple. It is probably the case that Julius is gray. It is probably the case that if 'Mary dropped the apple and Julius is gray' then Greg is a lion. There is a very good chance that if 'Julius is gray' or 'Mary dropped the apple' or both then Brian is gray. It is highly likely that if 'Daniel grabbed the milk' or 'Mary dropped the apple' or both then John went to the kitchen.,There is a better than even chance that 'Brian is gray' 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.7::factA. 0.02::factB. 0.7::factC. %hop1 0.7::factX:-and(factB,factC). 0.8::factY:-or(factC,factB). 0.9::factZ:-or(factA,factB). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.5688,0.6033206641328266,train,better than even,almost no chance,There is a better than even chance that 'Brian is gray' or 'Mary dropped the apple' or both.,There is almost no chance that 'Brian is gray' or 'Mary dropped the apple' or both.,1,'Brian is gray' or 'Mary dropped the apple' or both. There is a very good chance that Greg is gray. It is likely that Jeff left the apple. It is probably the case that Mary grabbed the milk. Chances are slight that if 'Jeff left the apple' or 'Mary grabbed the milk' or both then John took the football. There is a very good chance that if either 'Mary grabbed the milk' or 'Jeff left the apple' but not both then Bernhard is a lion. Chances are about even that if 'Mary grabbed the milk' or 'Jeff left the apple' or both then Brian is yellow.,It is unlikely that 'Greg is gray' or 'Jeff 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.8::factA. 0.7::factB. 0.7::factC. %hop1 0.1::factX:-or(factB,factC). 0.8::factY:-xor(factC,factB). 0.5::factZ:-or(factC,factB). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9400000000000001,0.15483096619323866,train,almost certain,unlikely,It is almost certain that 'Greg is gray' or 'Jeff left the apple' or both.,It is unlikely that 'Greg is gray' or 'Jeff left the apple' or both.,0,'Greg is gray' or 'Jeff left the apple' or both. It is probable that Lily is white. It is unlikely that John took the apple. It is probably not the case that Mary went to the office. It is certain that if 'Lily is white and Mary went to the office' then Greg is yellow. There is almost no chance that if 'John took the apple and Mary went to the office' then Gertrude is a cat. It is likely that if either 'John took the apple' or 'Mary went to the office' but not both then Julius is a frog.,It is almost certain that either 'John took the apple' 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.7::factA. 0.2::factB. 0.25::factC. %hop1 1.0::factX:-and(factA,factC). 0.02::factY:-and(factB,factC). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.305,0.7933586717343468,train,probably not,almost certain,It is probably not the case that either 'John took the apple' or 'Greg is yellow' but not both.,It is almost certain that either 'John took the apple' or 'Greg is yellow' but not both.,0,Either 'John took the apple' or 'Greg is yellow' but not both. It is highly likely that Mary went to the office. It is likely that Julius is yellow. There is a very good chance that Gertrude is a cat. Chances are about even that if either 'Julius is yellow' or 'Gertrude is a cat' but not both then Greg is white. It is probably not the case that if 'Julius is yellow and Mary went to the office' then Lily is a lion. There is little chance that if either 'Julius is yellow' or 'Mary went to the office' but not both then John dropped the apple.,It is impossible that 'Lily is a lion and John 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.9::factA. 0.7::factB. 0.8::factC. %hop1 0.5::factX:-xor(factB,factC). 0.25::factY:-and(factB,factA). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.0,0.6035207041408281,train,impossible,almost certain,It is impossible that 'Lily is a lion and John dropped the apple'.,It is almost certain that 'Lily is a lion and John dropped the apple'.,1,'Lily is a lion and John dropped the apple'. There is a very good chance that Emily is a mouse. It is probable that Mary moved to the garden. It is probable that Bernhard is a frog. It is certain that if 'Mary moved to the garden' or 'Bernhard is a frog' or both then Gertrude is a cat. It is almost certain that if 'Bernhard is a frog' or 'Emily is a mouse' or both then John put down the apple. Chances are about even that if either 'Bernhard is a frog' or 'Emily is a mouse' but not both then Lily is a lion.,It is almost certain that 'Lily is a lion' 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.8::factA. 0.7::factB. 0.7::factC. %hop1 1.0::factX:-or(factB,factC). 0.95::factY:-or(factC,factA). 0.5::factZ:-xor(factC,factA). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.946,0.7865573114622925,train,almost certain,almost no chance,It is almost certain that 'Lily is a lion' or 'Gertrude is a cat' or both.,There is almost no chance that 'Lily is a lion' or 'Gertrude is a cat' or both.,1,'Lily is a lion' or 'Gertrude is a cat' or both. Chances are about even that Greg is a rhino. It is highly likely that Mary put down the apple. Chances are about even that Julius is a swan. There is little chance that if 'Julius is a swan' or 'Mary put down the apple' or both then John left the milk. It is impossible that if 'Julius is a swan and Mary put down the apple' then Brian is green. There is a very good chance that if 'Julius is a swan' or 'Mary put down the apple' or both then Bernhard is a frog.,Chances are slight that either 'Bernhard 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.5::factA. 0.9::factB. 0.5::factC. %hop1 0.1::factX:-or(factC,factB). 0.0::factY:-and(factC,factB). 0.8::factZ:-or(factC,factB). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.7600000000000001,0.1228245649129826,train,we believe,chances are slight,We believe that either 'Bernhard is a frog' or 'Brian is green' but not both.,Chances are slight that either 'Bernhard is a frog' or 'Brian is green' but not both.,0,Either 'Bernhard is a frog' or 'Brian is green' but not both. There is almost no chance that Brian is a rhino. There is almost no chance that Antoine is thirsty. There is little chance that Greg is a swan. There is a better than even chance that if 'Brian is a rhino and Greg is a swan' then Bernhard is a frog. It is certain that if either 'Brian is a rhino' or 'Antoine is thirsty' but not both then John picked up the milk. There is almost no chance that if 'Brian is a rhino and Greg is a swan' then Mary left the football.,There is little chance that either 'Greg is a swan' 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.02::factA. 0.02::factB. 0.1::factC. %hop1 0.6::factX:-and(factA,factC). 1.0::factY:-xor(factA,factB). 0.02::factZ:-and(factA,factC). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.116,0.4510902180436087,train,little chance,almost certain,There is little chance that either 'Greg is a swan' or 'Brian is a rhino' but not both.,It is almost certain that either 'Greg is a swan' or 'Brian is a rhino' but not both.,1,Either 'Greg is a swan' or 'Brian is a rhino' but not both. It is highly likely that Bernhard is green. There is a better than even chance that Sandra took the football. It is unlikely that Emily is a mouse. We believe that if 'Sandra took the football' or 'Bernhard is green' or both then Lily is a rhino. It is highly likely that if 'Emily is a mouse' or 'Sandra took the football' or both then Mary dropped the milk. It is highly unlikely that if either 'Emily is a mouse' or 'Sandra took the football' but not both then John went to the office.,It is certain that either 'Bernhard is green' or 'Mary 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.9::factA. 0.6::factB. 0.2::factC. %hop1 0.75::factX:-or(factB,factA). 0.9::factY:-or(factC,factB). 0.05::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.4104,0.3492698539707942,train,about even,certain,Chances are about even that either 'Bernhard is green' or 'Mary dropped the milk' but not both.,It is certain that either 'Bernhard is green' or 'Mary dropped the milk' but not both.,0,Either 'Bernhard is green' or 'Mary dropped the milk' but not both. It is probably not the case that Brian is yellow. There is a very good chance that Mary went to the office. We believe that John grabbed the apple. Chances are about even that if 'John grabbed the apple' or 'Mary went to the office' or both then Lily is green. Chances are slight that if 'Mary went to the office and Brian is yellow' then Greg is yellow. We doubt that if either 'John grabbed the apple' or 'Mary went to the office' but not both then Sandra got the football.,It is almost certain that 'John grabbed the apple' or 'Mary 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.25::factA. 0.8::factB. 0.75::factC. %hop1 0.5::factX:-or(factC,factB). 0.1::factY:-and(factB,factA). 0.2::factZ:-xor(factC,factB). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.9500000000000001,0.13582716543308662,train,almost certain,we doubt,It is almost certain that 'John grabbed the apple' or 'Mary went to the office' or both.,We doubt that 'John grabbed the apple' or 'Mary went to the office' or both.,1,'John grabbed the apple' or 'Mary went to the office' or both. It is probably the case that Julius is gray. There is little chance that Mary moved to the garden. It is highly unlikely that Gertrude is a sheep. It is highly likely that if 'Gertrude is a sheep' or 'Julius is gray' or both then Sandra dropped the milk. It is improbable that if 'Mary moved to the garden and Julius is gray' then Brian is a swan. There is almost no chance that if either 'Mary moved to the garden' or 'Julius is gray' but not both then Daniel took the apple.,It is impossible that 'Daniel took the apple 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.7::factA. 0.1::factB. 0.05::factC. %hop1 0.9::factX:-or(factC,factA). 0.1::factY:-and(factB,factA). 0.02::factZ:-xor(factB,factA). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.0,0.6649329865973195,train,impossible,better than even,It is impossible that 'Daniel took the apple and Brian is a swan'.,There is a better than even chance that 'Daniel took the apple and Brian is a swan'.,1,'Daniel took the apple and Brian is a swan'. It is highly unlikely that John moved to the office. It is highly unlikely that Lily is a frog. Chances are slight that Greg is a frog. It is highly unlikely that if either 'Lily is a frog' or 'John moved to the office' but not both then Gertrude is a mouse. It is likely that if either 'Lily is a frog' or 'Greg is a frog' but not both then Mary dropped the apple. It is improbable that if either 'Greg is a frog' or 'John moved to the office' but not both then Julius is a swan.,It is probable that 'Greg is a frog' 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.05::factA. 0.05::factB. 0.1::factC. %hop1 0.05::factX:-xor(factB,factA). 0.7::factY:-xor(factB,factC). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.14500000000000005,0.04960992198439688,train,improbable,probable,It is improbable that 'Greg is a frog' or 'Lily is a frog' or both.,It is probable that 'Greg is a frog' or 'Lily is a frog' or both.,0,'Greg is a frog' or 'Lily is a frog' or both. It is impossible that Julius is a frog. There is a better than even chance that Gertrude is a wolf. It is likely that John got the apple. It is probably the case that if 'Gertrude is a wolf' or 'John got the apple' or both then Sumit is thirsty. There is almost no chance that if either 'John got the apple' or 'Julius is a frog' but not both then Lily is green. It is probably the case that if 'John got the apple and Julius is a frog' then Mary went to the office.,It is impossible that 'Mary went to the office' 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.6::factB. 0.7::factC. %hop1 0.7::factX:-or(factB,factC). 0.02::factY:-xor(factC,factA). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.0,0.6495299059811962,train,impossible,probably,It is impossible that 'Mary went to the office' or 'Julius is a frog' or both.,It is probably the case that 'Mary went to the office' or 'Julius is a frog' or both.,1,'Mary went to the office' or 'Julius is a frog' or both. It is highly likely that Yann is thirsty. It is impossible that Mary went to the hallway. There is almost no chance that Bernhard is yellow. It is almost certain that if 'Mary went to the hallway' or 'Bernhard is yellow' or both then Jessica is a sheep. It is unlikely that if either 'Yann is thirsty' or 'Bernhard is yellow' but not both then Greg is a rhino. It is certain that if 'Bernhard is yellow and Mary went to the hallway' then John dropped the apple.,It is impossible that either 'Yann is thirsty' or 'John 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.9::factA. 0.0::factB. 0.02::factC. %hop1 0.95::factX:-or(factB,factC). 0.2::factY:-xor(factA,factC). 1.0::factZ:-and(factC,factB). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.9,0.7835567113422685,train,highly likely,impossible,It is highly likely that either 'Yann is thirsty' or 'John dropped the apple' but not both.,It is impossible that either 'Yann is thirsty' or 'John dropped the apple' but not both.,0,Either 'Yann is thirsty' or 'John dropped the apple' but not both. It is probably the case that Julius is a rhino. It is highly likely that Winona is a mouse. It is probably not the case that Mary discarded the milk. It is probable that if 'Julius is a rhino and Mary discarded the milk' then John went to the garden. It is almost certain that if 'Winona is a mouse and Julius is a rhino' then Daniel took the apple. It is unlikely that if either 'Julius is a rhino' or 'Mary discarded the milk' but not both then Greg is a swan.,It is unlikely that 'Mary discarded 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.7::factA. 0.9::factB. 0.25::factC. %hop1 0.7::factX:-and(factA,factC). 0.95::factY:-and(factB,factA). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.175,0.5529105821164233,train,unlikely,highly likely,It is unlikely that 'Mary discarded the milk and Julius is a rhino'.,It is highly likely that 'Mary discarded the milk and Julius is a rhino'.,1,'Mary discarded the milk and Julius is a rhino'. It is likely that Julius is white. Chances are about even that Lily is gray. It is almost certain that Brian is yellow. There is almost no chance that if 'Lily is gray and Brian is yellow' then Bernhard is gray. It is highly likely that if 'Julius is white and Lily is gray' then Daniel got the milk. It is highly likely that if 'Julius is white' or 'Lily is gray' or both then John went to the kitchen.,It is unlikely that 'Lily is gray' 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.7::factA. 0.5::factB. 0.95::factC. %hop1 0.02::factX:-and(factB,factC). 0.9::factY:-and(factA,factB). 0.9::factZ:-or(factA,factB). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.975,0.21424284856971396,train,almost certain,unlikely,It is almost certain that 'Lily is gray' or 'Brian is yellow' or both.,It is unlikely that 'Lily is gray' or 'Brian is yellow' or both.,0,'Lily is gray' or 'Brian is yellow' or both. There is a very good chance that Lily is green. It is probable that John went to the office. It is probable that Bernhard is gray. It is almost certain that if 'John went to the office and Bernhard is gray' then Greg is a rhino. There is a better than even chance that if either 'John went to the office' or 'Bernhard is gray' but not both then Brian is a swan. It is highly likely that if 'John went to the office and Lily is green' then Julius is a lion.,It is highly likely that 'Bernhard is gray 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.7::factB. 0.7::factC. %hop1 0.95::factX:-and(factB,factC). 0.6::factY:-xor(factB,factC). 0.9::factZ:-and(factB,factA). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.12600000000000003,0.5705141028205641,train,little chance,highly likely,There is little chance that 'Bernhard is gray and Brian is a swan'.,It is highly likely that 'Bernhard is gray and Brian is a swan'.,0,'Bernhard is gray and Brian is a swan'. It is unlikely that Fred left the football. Chances are slight that Julius is white. There is little chance that Lily is a frog. It is unlikely that if either 'Fred left the football' or 'Julius is white' but not both then Greg is a lion. There is almost no chance that if either 'Lily is a frog' or 'Julius is white' but not both then Bernhard is green. It is unlikely that if 'Fred left the football and Lily is a frog' then John moved to the garden.,There is almost no chance that 'Julius is white and Fred 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.2::factA. 0.1::factB. 0.1::factC. %hop1 0.2::factX:-xor(factA,factB). 0.02::factY:-xor(factC,factB). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.02000000000000001,0.5057011402280456,train,almost no chance,about even,There is almost no chance that 'Julius is white and Fred left the football'.,Chances are about even that 'Julius is white and Fred left the football'.,1,'Julius is white and Fred left the football'. It is improbable that Brian is a lion. It is almost certain that Sandra left the milk. It is probably not the case that Lily is a rhino. It is probably not the case that if either 'Lily is a rhino' or 'Sandra left the milk' but not both then Fred is in the office. Chances are slight that if 'Sandra left the milk' or 'Lily is a rhino' or both then Bernhard is yellow. Chances are slight that if 'Lily is a rhino' or 'Sandra left the milk' or both then John picked up the apple.,It is certain that either 'Fred is in the office' 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.95::factB. 0.25::factC. %hop1 0.25::factX:-xor(factC,factB). 0.1::factY:-or(factB,factC). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.24125000000000005,0.7363472694538907,train,probably not,certain,It is probably not the case that either 'Fred is in the office' or 'Bernhard is yellow' but not both.,It is certain that either 'Fred is in the office' or 'Bernhard is yellow' but not both.,0,Either 'Fred is in the office' or 'Bernhard is yellow' but not both. There is little chance that Mary went to the kitchen. We believe that Winona is a sheep. It is unlikely that Lily is a swan. It is almost certain that if 'Winona is a sheep' or 'Mary went to the kitchen' or both then Brian is a swan. Chances are slight that if 'Winona is a sheep' or 'Lily is a swan' or both then John moved to the garden. There is little chance that if 'Mary went to the kitchen' or 'Lily is a swan' or both then Julius is gray.,We doubt that 'Mary went to the kitchen' 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.1::factA. 0.75::factB. 0.2::factC. %hop1 0.95::factX:-or(factB,factA). 0.1::factY:-or(factB,factC). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.17200000000000007,0.22684536907381475,train,we doubt,almost certain,We doubt that 'Mary went to the kitchen' or 'John moved to the garden' or both.,It is almost certain that 'Mary went to the kitchen' or 'John moved to the garden' or both.,1,'Mary went to the kitchen' or 'John moved to the garden' or both. It is probably not the case that Mary went to the office. It is impossible that Yann is bored. We believe that Brian is a lion. There is almost no chance that if either 'Yann is bored' or 'Brian is a lion' but not both then Julius is a rhino. We doubt that if 'Mary went to the office' or 'Yann is bored' or both then Bernhard is green. It is almost certain that if 'Brian is a lion' or 'Yann is bored' or both then Greg is gray.,It is highly unlikely that 'Greg is gray 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.25::factA. 0.0::factB. 0.75::factC. %hop1 0.02::factX:-xor(factB,factC). 0.2::factY:-or(factA,factB). 0.95::factZ:-or(factC,factB). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.03562500000000001,0.4240848169633927,train,highly unlikely,highly likely,It is highly unlikely that 'Greg is gray and Bernhard is green'.,It is highly likely that 'Greg is gray and Bernhard is green'.,1,'Greg is gray and Bernhard is green'. Chances are slight that Lily is a rhino. There is a better than even chance that John went to the kitchen. It is certain that Greg is gray. It is probably not the case that if 'Lily is a rhino and Greg is gray' then Mary left the football. It is impossible that if 'John went to the kitchen' or 'Greg is gray' or both then Jessica is a mouse. It is probable that if 'Lily is a rhino' or 'John went to the kitchen' or both then Brian is a frog.,There is almost no chance that 'Brian is a frog 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.1::factA. 0.6::factB. 1.0::factC. %hop1 0.25::factX:-and(factA,factC). 0.0::factY:-or(factB,factC). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.01750000000000001,0.20164032806561313,train,almost no chance,very good chance,There is almost no chance that 'Brian is a frog and Mary left the football'.,There is a very good chance that 'Brian is a frog and Mary left the football'.,1,'Brian is a frog and Mary left the football'. There is a better than even chance that Emily is a mouse. Chances are about even that Sandra put down the milk. It is probable that John went to the hallway. Chances are slight that if 'Emily is a mouse' or 'John went to the hallway' or both then Greg is gray. There is almost no chance that if 'John went to the hallway' or 'Emily is a mouse' or both then Bernhard is a frog. It is likely that if 'Sandra put down the milk' or 'John went to the hallway' or both then Julius is white.,It is improbable that 'Emily is a mouse' or 'Sandra 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.6::factA. 0.5::factB. 0.7::factC. %hop1 0.1::factX:-or(factA,factC). 0.02::factY:-or(factC,factA). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.8,0.04340868173634727,train,very good chance,improbable,There is a very good chance that 'Emily is a mouse' or 'Sandra put down the milk' or both.,It is improbable that 'Emily is a mouse' or 'Sandra put down the milk' or both.,0,'Emily is a mouse' or 'Sandra put down the milk' or both. It is highly likely that Greg is gray. There is a better than even chance that Mary left the milk. It is likely that Brian is green. It is highly likely that if 'Brian is green' or 'Greg is gray' or both then Jeff dropped the apple. It is certain that if either 'Brian is green' or 'Greg is gray' but not both then Julius is a rhino. It is probably not the case that if 'Brian is green and Mary left the milk' then Lily is a swan.,It is highly likely that either 'Greg is gray' or 'Jeff 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.9::factA. 0.6::factB. 0.7::factC. %hop1 0.9::factX:-or(factC,factA). 1.0::factY:-xor(factC,factA). 0.25::factZ:-and(factC,factB). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.15299999999999994,0.19943988797759551,train,unlikely,highly likely,It is unlikely that either 'Greg is gray' or 'Jeff dropped the apple' but not both.,It is highly likely that either 'Greg is gray' or 'Jeff dropped the apple' but not both.,0,Either 'Greg is gray' or 'Jeff dropped the apple' but not both. It is likely that John moved to the garden. It is highly unlikely that Julius is yellow. It is almost certain that Lily is green. There is almost no chance that if 'John moved to the garden' or 'Lily is green' or both then Gertrude is a mouse. It is probable that if 'Lily is green' or 'John moved to the garden' or both then Mary got the football. Chances are slight that if 'Lily is green and John moved to the garden' then Bernhard is gray.,It is improbable that 'Julius 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.05::factB. 0.95::factC. %hop1 0.02::factX:-or(factA,factC). 0.7::factY:-or(factC,factA). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.11317500000000005,0.710742148429686,train,improbable,highly likely,It is improbable that 'Julius is yellow' or 'Bernhard is gray' or both.,It is highly likely that 'Julius is yellow' or 'Bernhard is gray' or both.,1,'Julius is yellow' or 'Bernhard is gray' or both. There is a very good chance that John left the football. It is certain that Greg is a frog. It is probably the case that Bernhard is white. It is impossible that if either 'Greg is a frog' or 'John left the football' but not both then Daniel dropped the apple. Chances are slight that if 'Bernhard is white' or 'John left the football' or both then Julius is green. It is probably not the case that if either 'John left the football' or 'Greg is a frog' but not both then Jason is tired.,There is a very good chance that 'Daniel dropped the apple' or 'John 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.8::factA. 1.0::factB. 0.7::factC. %hop1 0.0::factX:-xor(factB,factA). 0.1::factY:-or(factC,factA). 0.25::factZ:-xor(factA,factB). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.8,0.27985597119423883,train,very good chance,improbable,There is a very good chance that 'Daniel dropped the apple' or 'John left the football' or both.,It is improbable that 'Daniel dropped the apple' or 'John left the football' or both.,1,'Daniel dropped the apple' or 'John left the football' or both. It is almost certain that Yann is hungry. We doubt that John went to the office. We doubt that Lily is a rhino. It is impossible that if 'Yann is hungry' or 'Lily is a rhino' or both then Mary grabbed the milk. It is certain that if either 'John went to the office' or 'Yann is hungry' but not both then Brian is yellow. There is little chance that if 'Yann is hungry' or 'John went to the office' or both then Julius is gray.,It is highly likely that 'Brian is yellow 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.95::factA. 0.2::factB. 0.2::factC. %hop1 0.0::factX:-or(factA,factC). 1.0::factY:-xor(factB,factA). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.010000000000000014,0.17223444688937786,train,almost no chance,highly likely,There is almost no chance that 'Brian is yellow and John went to the office'.,It is highly likely that 'Brian is yellow and John went to the office'.,0,'Brian is yellow and John went to the office'. We believe that Greg is yellow. It is likely that John went to the office. It is probably the case that Brian is a rhino. Chances are about even that if either 'Greg is yellow' or 'Brian is a rhino' but not both then Sumit is thirsty. It is almost certain that if either 'John went to the office' or 'Brian is a rhino' but not both then Mary grabbed the milk. There is almost no chance that if 'Greg is yellow' or 'John went to the office' or both then Julius is a lion.,We believe 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.75::factA. 0.7::factB. 0.7::factC. %hop1 0.5::factX:-xor(factA,factC). 0.95::factY:-xor(factB,factC). 0.02::factZ:-or(factA,factB). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.7535000000000001,0.5977195439087818,train,we believe,probably not,We believe that 'Greg is yellow' or 'Julius is a lion' or both.,It is probably not the case that 'Greg is yellow' or 'Julius is a lion' or both.,1,'Greg is yellow' or 'Julius is a lion' or both. There is a better than even chance that Jason is tired. It is certain that Bernhard is a frog. It is almost certain that Emily is a sheep. It is impossible that if either 'Emily is a sheep' or 'Bernhard is a frog' but not both then Lily is green. We believe that if 'Jason is tired and Bernhard is a frog' then John went to the garden. It is certain that if either 'Jason is tired' or 'Bernhard is a frog' but not both then Brian is white.,Chances are about even that 'John went to the garden 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. 1.0::factB. 0.95::factC. %hop1 0.0::factX:-xor(factC,factB). 0.75::factY:-and(factA,factB). 1.0::factZ:-xor(factA,factB). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.45,0.23904780956191238,train,about even,certain,Chances are about even that 'John went to the garden and Jason is tired'.,It is certain that 'John went to the garden and Jason is tired'.,1,'John went to the garden and Jason is tired'. There is a better than even chance that Bernhard is white. It is highly likely that Mary left the football. There is almost no chance that Julius is a swan. It is improbable that if either 'Mary left the football' or 'Bernhard is white' but not both then Daniel grabbed the milk. Chances are slight that if 'Julius is a swan and Bernhard is white' then Brian is a frog. It is unlikely that if 'Julius is a swan and Bernhard is white' then John dropped the apple.,Chances are slight that either 'Bernhard is white' 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.6::factA. 0.9::factB. 0.02::factC. %hop1 0.1::factX:-xor(factB,factA). 0.1::factY:-and(factC,factA). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.5988,0.20724144828965793,train,better than even,chances are slight,There is a better than even chance that either 'Bernhard is white' or 'Brian is a frog' but not both.,Chances are slight that either 'Bernhard is white' or 'Brian is a frog' but not both.,0,Either 'Bernhard is white' or 'Brian is a frog' but not both. It is almost certain that Bernhard is a rhino. We doubt that Lily is a frog. It is certain that Brian is green. It is unlikely that if 'Brian is green and Bernhard is a rhino' then Mary took the milk. There is a very good chance that if 'Lily is a frog and Bernhard is a rhino' then John moved to the office. Chances are slight that if 'Lily is a frog and Bernhard is a rhino' then Greg is white.,It is unlikely that either 'Mary took the milk' 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.95::factA. 0.2::factB. 1.0::factC. %hop1 0.2::factX:-and(factC,factA). 0.8::factY:-and(factB,factA). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.8099999999999999,0.631126225245049,train,very good chance,unlikely,There is a very good chance that either 'Mary took the milk' or 'Brian is green' but not both.,It is unlikely that either 'Mary took the milk' or 'Brian is green' but not both.,0,Either 'Mary took the milk' or 'Brian is green' but not both. It is impossible that Mary went to the kitchen. There is a better than even chance that Lily is gray. We believe that Brian is a frog. There is almost no chance that if 'Mary went to the kitchen' or 'Lily is gray' or both then Bernhard is white. It is highly unlikely that if either 'Brian is a frog' or 'Lily is gray' but not both then John picked up the apple. It is impossible that if 'Lily is gray and Mary went to the kitchen' then Greg is a rhino.,There is almost no chance that either 'Mary went to the kitchen' 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.0::factA. 0.6::factB. 0.75::factC. %hop1 0.02::factX:-or(factA,factB). 0.05::factY:-xor(factC,factB). 0.0::factZ:-and(factB,factA). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.011999999999999999,0.09401880376075215,train,almost no chance,probably,There is almost no chance that either 'Mary went to the kitchen' or 'Bernhard is white' but not both.,It is probably the case that either 'Mary went to the kitchen' or 'Bernhard is white' but not both.,1,Either 'Mary went to the kitchen' or 'Bernhard is white' but not both. It is highly likely that Winona is a cat. We believe that Lily is a frog. There is little chance that Mary left the apple. It is probable that if 'Winona is a cat' or 'Mary left the apple' or both then Brian is a rhino. It is improbable that if either 'Winona is a cat' or 'Lily is a frog' but not both then Sandra got the milk. It is probably not the case that if 'Lily is a frog and Mary left the apple' then John went to the garden.,It is highly unlikely that 'John went to the garden' 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.9::factA. 0.75::factB. 0.1::factC. %hop1 0.7::factX:-or(factA,factC). 0.1::factY:-xor(factA,factB). 0.25::factZ:-and(factB,factC). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.048562500000000015,0.08861772354470894,train,highly unlikely,very good chance,It is highly unlikely that 'John went to the garden' or 'Sandra got the milk' or both.,There is a very good chance that 'John went to the garden' or 'Sandra got the milk' or both.,1,'John went to the garden' or 'Sandra got the milk' or both. It is impossible that Brian is white. It is likely that Jeff moved to the office. It is probably not the case that Mary got the milk. Chances are about even that if 'Mary got the milk' or 'Brian is white' or both then Julius is a lion. It is likely that if 'Brian is white' or 'Jeff moved to the office' or both then Bernhard is a frog. It is likely that if 'Mary got the milk and Jeff moved to the office' then Jessica is a mouse.,Chances are about even that 'Bernhard is a frog' 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.0::factA. 0.7::factB. 0.25::factC. %hop1 0.5::factX:-or(factC,factA). 0.7::factY:-or(factA,factB). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.48999999999999994,0.124624924984997,train,about even,highly unlikely,Chances are about even that 'Bernhard is a frog' or 'Brian is white' or both.,It is highly unlikely that 'Bernhard is a frog' or 'Brian is white' or both.,1,'Bernhard is a frog' or 'Brian is white' or both. It is probably the case that Julius is green. We believe that Lily is gray. Chances are slight that Jeff discarded the milk. It is probably the case that if 'Jeff discarded the milk' or 'Julius is green' or both then Greg is a swan. Chances are slight that if 'Lily is gray and Julius is green' then John moved to the garden. It is highly unlikely that if either 'Jeff discarded the milk' or 'Julius is green' but not both then Mary left the milk.,It is improbable that 'Mary left the milk' or 'Jeff discarded 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.75::factB. 0.1::factC. %hop1 0.7::factX:-or(factC,factA). 0.1::factY:-and(factB,factA). 0.05::factZ:-xor(factC,factA). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.13150000000000003,0.28705741148229647,train,improbable,likely,It is improbable that 'Mary left the milk' or 'Jeff discarded the milk' or both.,It is likely that 'Mary left the milk' or 'Jeff discarded the milk' or both.,1,'Mary left the milk' or 'Jeff discarded the milk' or both. There is a better than even chance that Lily is gray. Chances are about even that Bernhard is a frog. There is little chance that Greg is a frog. It is unlikely that if either 'Lily is gray' or 'Greg is a frog' but not both then Brian is a swan. We doubt that if either 'Lily is gray' or 'Greg is a frog' but not both then Julius is yellow. There is a better than even chance that if either 'Greg is a frog' or 'Lily is gray' but not both then Mary went to the garden.,It is certain that 'Greg is a frog 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. 0.5::factB. 0.1::factC. %hop1 0.2::factX:-xor(factA,factC). 0.2::factY:-xor(factA,factC). 0.6::factZ:-xor(factC,factA). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.008000000000000004,0.36387277455491096,train,impossible,certain,It is impossible that 'Greg is a frog and Brian is a swan'.,It is certain that 'Greg is a frog and Brian is a swan'.,0,'Greg is a frog and Brian is a swan'. There is a better than even chance that Brian is white. Chances are about even that Mary moved to the office. It is highly unlikely that John went to the hallway. It is almost certain that if 'John went to the hallway and Mary moved to the office' then Gertrude is a cat. We doubt that if either 'John went to the hallway' or 'Mary moved to the office' but not both then Lily is gray. It is likely that if either 'Mary moved to the office' or 'Brian is white' but not both then Julius is a frog.,There is a better than even chance that 'Lily is gray' 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.5::factB. 0.05::factC. %hop1 0.95::factX:-and(factC,factB). 0.2::factY:-xor(factC,factB). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.64,0.5611122224444889,train,better than even,almost no chance,There is a better than even chance that 'Lily is gray' or 'Brian is white' or both.,There is almost no chance that 'Lily is gray' or 'Brian is white' or both.,1,'Lily is gray' or 'Brian is white' or both. We doubt that Greg is a lion. It is almost certain that John went to the garden. We believe that Sumit is tired. It is improbable that if 'Sumit is tired and John went to the garden' then Daniel left the milk. It is unlikely that if either 'John went to the garden' or 'Sumit is tired' but not both then Brian is a swan. It is highly likely that if either 'John went to the garden' or 'Greg is a lion' but not both then Bernhard is a frog.,It is impossible that 'Sumit is tired 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.2::factA. 0.95::factB. 0.75::factC. %hop1 0.1::factX:-and(factC,factB). 0.2::factY:-xor(factB,factC). 0.9::factZ:-xor(factB,factA). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.007500000000000011,0.15723144628925786,train,impossible,we believe,It is impossible that 'Sumit is tired and Brian is a swan'.,We believe that 'Sumit is tired and Brian is a swan'.,1,'Sumit is tired and Brian is a swan'. It is likely that Lily is green. It is highly unlikely that Greg is gray. There is little chance that Brian is yellow. It is probable that if 'Greg is gray' or 'Lily is green' or both then Bernhard is yellow. It is likely that if either 'Brian is yellow' or 'Lily is green' but not both then Bill went to the office. There is almost no chance that if 'Greg is gray' or 'Lily is green' or both then John discarded the apple.,It is probably the case that either 'Greg is gray' or 'Lily 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.05::factB. 0.1::factC. %hop1 0.7::factX:-or(factB,factA). 0.7::factY:-xor(factC,factA). 0.02::factZ:-or(factB,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.6799999999999999,0.0620124024804961,train,probably,unlikely,It is probably the case that either 'Greg is gray' or 'Lily is green' but not both.,It is unlikely that either 'Greg is gray' or 'Lily is green' but not both.,1,Either 'Greg is gray' or 'Lily is green' but not both. We doubt that Julius is a frog. There is a better than even chance that Gertrude is a sheep. It is almost certain that Mary took the milk. There is a better than even chance that if either 'Julius is a frog' or 'Gertrude is a sheep' but not both then Brian is gray. It is improbable that if 'Julius is a frog and Gertrude is a sheep' then John picked up the apple. It is probable that if 'Mary took the milk' or 'Julius is a frog' or both then Lily is a swan.,It is probable that 'Mary took the milk 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.2::factA. 0.6::factB. 0.95::factC. %hop1 0.6::factX:-xor(factA,factB). 0.1::factY:-and(factA,factB). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.3192,0.3190638127625525,train,probably not,probable,It is probably not the case that 'Mary took the milk and Brian is gray'.,It is probable that 'Mary took the milk and Brian is gray'.,0,'Mary took the milk and Brian is gray'. There is a better than even chance that Mary went to the kitchen. We doubt that Bernhard is a swan. It is improbable that Lily is yellow. It is likely that if 'Mary went to the kitchen' or 'Lily is yellow' or both then Jessica is a cat. Chances are about even that if either 'Bernhard is a swan' or 'Mary went to the kitchen' but not both then John dropped the apple. It is probable that if either 'Mary went to the kitchen' or 'Lily is yellow' but not both then Julius is a rhino.,There is a better than even chance that 'Mary went to the kitchen' 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 0.6::factA. 0.2::factB. 0.1::factC. %hop1 0.7::factX:-or(factA,factC). 0.5::factY:-xor(factB,factA). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.628,0.45169033806761355,train,better than even,little chance,There is a better than even chance that 'Mary went to the kitchen' or 'Jessica is a cat' or both.,There is little chance that 'Mary went to the kitchen' or 'Jessica is a cat' or both.,1,'Mary went to the kitchen' or 'Jessica is a cat' or both. It is highly unlikely that Mary got the apple. It is likely that John dropped the apple. There is a very good chance that Julius is a rhino. Chances are about even that if 'Mary got the apple and Julius is a rhino' then Lily is white. Chances are about even that if either 'Mary got the apple' or 'John dropped the apple' but not both then Emily is a sheep. We doubt that if 'Mary got the apple' or 'John dropped the apple' or both then Greg is gray.,There is almost no chance that 'Lily is white' 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.05::factA. 0.7::factB. 0.8::factC. %hop1 0.5::factX:-and(factA,factC). 0.5::factY:-xor(factA,factB). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.8,0.42668533706741346,train,very good chance,almost no chance,There is a very good chance that 'Lily is white' or 'Julius is a rhino' or both.,There is almost no chance that 'Lily is white' or 'Julius is a rhino' or both.,0,'Lily is white' or 'Julius is a rhino' or both. It is likely that Julius is a frog. There is a very good chance that Lily is green. It is impossible that John left the football. It is highly unlikely that if either 'Lily is green' or 'John left the football' but not both then Bernhard is yellow. It is probably not the case that if either 'John left the football' or 'Lily is green' but not both then Daniel dropped the apple. It is probable that if 'John left the football and Lily is green' then Fred went to the garden.,It is impossible that 'Fred went to the garden 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.8::factB. 0.0::factC. %hop1 0.05::factX:-xor(factB,factC). 0.25::factY:-xor(factC,factB). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.0,0.5893178635727145,train,impossible,we believe,It is impossible that 'Fred went to the garden and Julius is a frog'.,We believe that 'Fred went to the garden and Julius is a frog'.,1,'Fred went to the garden and Julius is a frog'. Chances are about even that Sandra left the apple. It is highly unlikely that Emily is a mouse. It is certain that Mary picked up the milk. It is improbable that if 'Emily is a mouse and Sandra left the apple' then John went to the hallway. There is a better than even chance that if either 'Sandra left the apple' or 'Emily is a mouse' but not both then Julius is a rhino. It is impossible that if 'Mary picked up the milk' or 'Sandra left the apple' or both then Brian is a frog.,It is certain that 'John went to the hallway 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.5::factA. 0.05::factB. 1.0::factC. %hop1 0.1::factX:-and(factB,factA). 0.6::factY:-xor(factA,factB). 0.0::factZ:-or(factC,factA). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.0,0.6417283456691338,train,impossible,certain,It is impossible that 'John went to the hallway and Julius is a rhino'.,It is certain that 'John went to the hallway and Julius is a rhino'.,0,'John went to the hallway and Julius is a rhino'. It is impossible that Bill moved to the office. There is almost no chance that Mary left the football. It is highly likely that Gertrude is a mouse. There is little chance that if either 'Gertrude is a mouse' or 'Mary left the football' but not both then Lily is yellow. It is certain that if 'Mary left the football and Bill moved to the office' then Greg is a swan. There is a better than even chance that if 'Gertrude is a mouse and Mary left the football' then Bernhard is a frog.,It is probably the case that 'Bill moved to the office' 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.0::factA. 0.02::factB. 0.9::factC. %hop1 0.1::factX:-xor(factC,factB). 1.0::factY:-and(factB,factA). 0.6::factZ:-and(factC,factB). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.010800000000000002,0.10522104420884176,train,almost no chance,probably,There is almost no chance that 'Bill moved to the office' or 'Bernhard is a frog' or both.,It is probably the case that 'Bill moved to the office' or 'Bernhard is a frog' or both.,0,'Bill moved to the office' or 'Bernhard is a frog' or both. It is unlikely that Greg is a swan. There is almost no chance that Daniel dropped the milk. We believe that Brian is yellow. Chances are slight that if either 'Daniel dropped the milk' or 'Greg is a swan' but not both then Julius is gray. Chances are slight that if 'Greg is a swan' or 'Brian is yellow' or both then Lily is a frog. It is probably the case that if 'Greg is a swan and Daniel dropped the milk' then Mary went to the office.,It is probably the case that 'Lily 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 0.2::factA. 0.02::factB. 0.75::factC. %hop1 0.1::factX:-xor(factB,factA). 0.1::factY:-or(factA,factC). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.26,0.12122424484896979,train,probably not,probably,It is probably not the case that 'Lily is a frog' or 'Greg is a swan' or both.,It is probably the case that 'Lily is a frog' or 'Greg is a swan' or both.,0,'Lily is a frog' or 'Greg is a swan' or both. We believe that Julius is yellow. It is probably not the case that Mary went to the bedroom. It is probably not the case that John picked up the milk. We believe that if either 'John picked up the milk' or 'Julius is yellow' but not both then Greg is gray. It is unlikely that if 'Julius is yellow and John picked up the milk' then Brian is a swan. There is a better than even chance that if either 'John picked up the milk' or 'Julius is yellow' but not both then Bernhard is green.,It is almost certain that 'Julius is yellow 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.75::factA. 0.25::factB. 0.25::factC. %hop1 0.75::factX:-xor(factC,factA). 0.2::factY:-and(factA,factC). 0.6::factZ:-xor(factC,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.3375,0.6565313062612522,train,probably not,almost certain,It is probably not the case that 'Julius is yellow and Bernhard is green'.,It is almost certain that 'Julius is yellow and Bernhard is green'.,0,'Julius is yellow and Bernhard is green'. It is probable that Bernhard is a swan. It is probably not the case that John discarded the apple. There is a very good chance that Mary went to the kitchen. There is little chance that if 'Mary went to the kitchen' or 'Bernhard is a swan' or both then Julius is a frog. There is a very good chance that if 'Bernhard is a swan and John discarded the apple' then Greg is yellow. It is highly unlikely that if either 'Mary went to the kitchen' or 'Bernhard is a swan' but not both then Lily is a rhino.,Chances are slight that either 'Bernhard 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.7::factA. 0.25::factB. 0.8::factC. %hop1 0.1::factX:-or(factC,factA). 0.8::factY:-and(factA,factB). 0.05::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.6,0.1794358871774355,train,better than even,chances are slight,There is a better than even chance that either 'Bernhard is a swan' or 'John discarded the apple' but not both.,Chances are slight that either 'Bernhard is a swan' or 'John discarded the apple' but not both.,0,Either 'Bernhard is a swan' or 'John discarded the apple' but not both. It is probable that Bernhard is white. It is unlikely that Antoine is thirsty. We believe that Greg is a frog. It is certain that if 'Bernhard is white and Greg is a frog' then Lily is a swan. There is little chance that if either 'Bernhard is white' or 'Greg is a frog' but not both then John put down the apple. We doubt that if 'Greg is a frog' or 'Bernhard is white' or both then Winona is a mouse.,It is probably not the case that 'John put down the apple' or 'Antoine 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.7::factA. 0.2::factB. 0.75::factC. %hop1 1.0::factX:-and(factA,factC). 0.1::factY:-xor(factA,factC). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.23199999999999998,0.7287457491498299,train,probably not,highly likely,It is probably not the case that 'John put down the apple' or 'Antoine is thirsty' or both.,It is highly likely that 'John put down the apple' or 'Antoine is thirsty' or both.,1,'John put down the apple' or 'Antoine is thirsty' or both. There is a very good chance that Bernhard is a rhino. It is probable that Jessica is a wolf. There is a better than even chance that Sandra dropped the milk. Chances are slight that if 'Bernhard is a rhino and Jessica is a wolf' then Brian is yellow. It is probably not the case that if 'Sandra dropped the milk' or 'Jessica is a wolf' or both then Mary went to the bedroom. Chances are slight that if 'Jessica is a wolf' or 'Sandra dropped the milk' or both then Julius is white.,There is a better than even chance that 'Julius is white and Jessica 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.7::factB. 0.6::factC. %hop1 0.1::factX:-and(factA,factB). 0.25::factY:-or(factC,factB). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.07,0.485497099419884,train,highly unlikely,better than even,It is highly unlikely that 'Julius is white and Jessica is a wolf'.,There is a better than even chance that 'Julius is white and Jessica is a wolf'.,0,'Julius is white and Jessica is a wolf'. It is probably the case that Mary moved to the office. We believe that Jeff left the football. Chances are about even that Emily is a mouse. We doubt that if 'Jeff left the football and Mary moved to the office' then Jessica is a sheep. It is unlikely that if either 'Mary moved to the office' or 'Emily is a mouse' but not both then Fred discarded the apple. Chances are about even that if 'Jeff left the football and Emily is a mouse' then Julius is green.,It is highly unlikely that either 'Emily is a mouse' or 'Mary 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.7::factA. 0.75::factB. 0.5::factC. %hop1 0.2::factX:-and(factB,factA). 0.2::factY:-xor(factA,factC). 0.5::factZ:-and(factB,factC). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.49999999999999994,0.5761152230446089,train,about even,highly unlikely,Chances are about even that either 'Emily is a mouse' or 'Mary moved to the office' but not both.,It is highly unlikely that either 'Emily is a mouse' or 'Mary moved to the office' but not both.,0,Either 'Emily is a mouse' or 'Mary moved to the office' but not both. It is improbable that Daniel took the apple. It is probably not the case that John moved to the office. We doubt that Mary went to the office. There is almost no chance that if 'Mary went to the office and John moved to the office' then Brian is yellow. It is probable that if 'Mary went to the office' or 'John moved to the office' or both then Gertrude is a mouse. We doubt that if either 'Mary went to the office' or 'Daniel took the apple' but not both then Bernhard is a frog.,It is almost certain that either 'Brian is yellow' 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.1::factA. 0.25::factB. 0.2::factC. %hop1 0.02::factX:-and(factC,factB). 0.7::factY:-or(factC,factB). 0.2::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.199,0.3764752950590118,train,unlikely,almost certain,It is unlikely that either 'Brian is yellow' or 'Mary went to the office' but not both.,It is almost certain that either 'Brian is yellow' or 'Mary went to the office' but not both.,0,Either 'Brian is yellow' or 'Mary went to the office' but not both. It is unlikely that Jason is bored. It is likely that Emily is a cat. We doubt that Mary went to the garden. It is unlikely that if 'Emily is a cat' or 'Jason is bored' or both then Brian is white. There is a very good chance that if either 'Emily is a cat' or 'Jason is bored' but not both then Greg is a lion. Chances are slight that if either 'Mary went to the garden' or 'Jason is bored' but not both then Julius is a swan.,There is a better than even chance that 'Mary went to the garden' 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.2::factA. 0.7::factB. 0.2::factC. %hop1 0.2::factX:-or(factB,factA). 0.8::factY:-xor(factB,factA). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.5968000000000001,0.7455491098219644,train,better than even,impossible,There is a better than even chance that 'Mary went to the garden' or 'Greg is a lion' or both.,It is impossible that 'Mary went to the garden' or 'Greg is a lion' or both.,1,'Mary went to the garden' or 'Greg is a lion' or both. We doubt that Lily is white. Chances are slight that Jason is tired. It is highly likely that Bernhard is a swan. There is a better than even chance that if 'Jason is tired and Bernhard is a swan' then John took the milk. There is little chance that if 'Jason is tired and Bernhard is a swan' then Mary went to the office. We doubt that if 'Jason is tired and Bernhard is a swan' then Julius is yellow.,It is probable that 'Julius 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.2::factA. 0.1::factB. 0.9::factC. %hop1 0.6::factX:-and(factB,factC). 0.1::factY:-and(factB,factC). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.0036,0.017603520704140826,train,impossible,probable,It is impossible that 'Julius is yellow and Lily is white'.,It is probable that 'Julius is yellow and Lily is white'.,0,'Julius is yellow and Lily is white'. It is impossible that Julius is white. Chances are about even that John went to the garden. It is improbable that Brian is a frog. There is almost no chance that if either 'John went to the garden' or 'Julius is white' but not both then Mary grabbed the milk. It is certain that if 'Brian is a frog and John went to the garden' then Antoine is thirsty. It is highly unlikely that if 'Brian is a frog and John went to the garden' then Jeff moved to the office.,It is highly unlikely that 'Brian is a frog and Antoine 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.5::factB. 0.1::factC. %hop1 0.02::factX:-xor(factB,factA). 1.0::factY:-and(factC,factB). 0.05::factZ:-and(factC,factB). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.05000000000000001,0.5275055011002201,train,highly unlikely,almost certain,It is highly unlikely that 'Brian is a frog and Antoine is thirsty'.,It is almost certain that 'Brian is a frog and Antoine is thirsty'.,1,'Brian is a frog and Antoine is thirsty'. Chances are slight that Brian is green. It is probable that John took the football. We doubt that Julius is a swan. It is highly likely that if 'Brian is green' or 'Julius is a swan' or both then Emily is a wolf. It is impossible that if 'Julius is a swan and John took the football' then Mary put down the milk. It is improbable that if 'Julius is a swan' or 'Brian is green' or both then Lily is yellow.,It is certain that 'Brian is green and John took 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.7::factB. 0.2::factC. %hop1 0.9::factX:-or(factA,factC). 0.0::factY:-and(factC,factB). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.07,0.4306861372274455,train,highly unlikely,certain,It is highly unlikely that 'Brian is green and John took the football'.,It is certain that 'Brian is green and John took the football'.,0,'Brian is green and John took the football'. It is impossible that Bernhard is gray. It is unlikely that Bill went to the office. There is a very good chance that Brian is a swan. Chances are about even that if 'Brian is a swan' or 'Bernhard is gray' or both then Jason is bored. It is likely that if 'Bill went to the office' or 'Bernhard is gray' or both then Winona is a mouse. It is highly likely that if 'Brian is a swan' or 'Bill went to the office' or both then John took the apple.,It is highly unlikely that 'Jason is bored' or 'Bill 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.2::factB. 0.8::factC. %hop1 0.5::factX:-or(factC,factA). 0.7::factY:-or(factB,factA). 0.9::factZ:-or(factC,factB). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.52,0.43908781756351273,train,about even,highly unlikely,Chances are about even that 'Jason is bored' or 'Bill went to the office' or both.,It is highly unlikely that 'Jason is bored' or 'Bill went to the office' or both.,0,'Jason is bored' or 'Bill went to the office' or both. Chances are about even that John went to the kitchen. We believe that Jessica is a sheep. It is certain that Lily is white. We doubt that if 'Lily is white' or 'Jessica is a sheep' or both then Sumit is tired. It is probably the case that if 'John went to the kitchen' or 'Jessica is a sheep' or both then Julius is gray. It is highly unlikely that if either 'John went to the kitchen' or 'Jessica is a sheep' but not both then Brian is white.,It is improbable that 'Lily is white' 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.5::factA. 0.75::factB. 1.0::factC. %hop1 0.2::factX:-or(factC,factB). 0.7::factY:-or(factA,factB). 0.05::factZ:-xor(factA,factB). %hop2 conclusion:-or(factC,factX). query(conclusion). ",1.0,0.3014602920584117,train,certain,improbable,It is certain that 'Lily is white' or 'Sumit is tired' or both.,It is improbable that 'Lily is white' or 'Sumit is tired' or both.,0,'Lily is white' or 'Sumit is tired' or both. It is highly likely that John got the milk. It is improbable that Gertrude is a mouse. There is almost no chance that Mary went to the hallway. There is little chance that if either 'John got the milk' or 'Mary went to the hallway' but not both then Greg is a lion. It is likely that if either 'Gertrude is a mouse' or 'Mary went to the hallway' but not both then Bernhard is a rhino. It is probable that if 'John got the milk' or 'Gertrude is a mouse' or both then Julius is a swan.,It is impossible that 'John got the milk' 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.1::factB. 0.02::factC. %hop1 0.1::factX:-xor(factA,factC). 0.7::factY:-xor(factB,factC). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.91,0.3320664132826565,train,highly likely,impossible,It is highly likely that 'John got the milk' or 'Gertrude is a mouse' or both.,It is impossible that 'John got the milk' or 'Gertrude is a mouse' or both.,0,'John got the milk' or 'Gertrude is a mouse' or both. We doubt that Mary discarded the milk. It is certain that Fred went to the office. We doubt that Jessica is a mouse. It is improbable that if either 'Mary discarded the milk' or 'Fred went to the office' but not both then Daniel left the apple. It is impossible that if 'Fred went to the office' or 'Jessica is a mouse' or both then Julius is yellow. It is improbable that if either 'Mary discarded the milk' or 'Fred went to the office' but not both then Jeff moved to the garden.,It is probably the case that 'Daniel 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.2::factA. 1.0::factB. 0.2::factC. %hop1 0.1::factX:-xor(factA,factB). 0.0::factY:-or(factB,factC). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.0,0.7231446289257851,train,impossible,probably,It is impossible that 'Daniel left the apple and Julius is yellow'.,It is probably the case that 'Daniel left the apple and Julius is yellow'.,0,'Daniel left the apple and Julius is yellow'. It is highly likely that Bernhard is a rhino. It is certain that Emily is a wolf. It is almost certain that Sandra got the milk. There is little chance that if 'Emily is a wolf and Bernhard is a rhino' then Brian is a frog. We doubt that if 'Bernhard is a rhino' or 'Sandra got the milk' or both then John went to the office. It is almost certain that if 'Bernhard is a rhino' or 'Emily is a wolf' or both then Lily is white.,It is probably the case that 'John went to the office 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.9::factA. 1.0::factB. 0.95::factC. %hop1 0.1::factX:-and(factB,factA). 0.2::factY:-or(factA,factC). 0.95::factZ:-or(factA,factB). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.18000000000000002,0.015003000600120024,train,we doubt,probably,We doubt that 'John went to the office and Bernhard is a rhino'.,It is probably the case that 'John went to the office and Bernhard is a rhino'.,0,'John went to the office and Bernhard is a rhino'. It is highly unlikely that Jessica is a cat. There is almost no chance that Brian is a swan. It is unlikely that Lily is a lion. It is certain that if either 'Lily is a lion' or 'Jessica is a cat' but not both then Greg is white. There is little chance that if either 'Brian is a swan' or 'Lily is a lion' but not both then John got the milk. Chances are slight that if 'Jessica is a cat and Lily is a lion' then Sumit is hungry.,It is probably not the case that 'Jessica is a cat' 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.05::factA. 0.02::factB. 0.2::factC. %hop1 1.0::factX:-xor(factC,factA). 0.1::factY:-xor(factB,factC). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.24000000000000005,0.08321664332866574,train,probably not,almost certain,It is probably not the case that 'Jessica is a cat' or 'Lily is a lion' or both.,It is almost certain that 'Jessica is a cat' or 'Lily is a lion' or both.,1,'Jessica is a cat' or 'Lily is a lion' or both. It is probable that Julius is white. It is almost certain that Sandra dropped the milk. It is impossible that Greg is gray. There is a better than even chance that if either 'Julius is white' or 'Greg is gray' but not both then Emily is a cat. We believe that if 'Greg is gray and Sandra dropped the milk' then Mary went to the garden. It is highly likely that if 'Greg is gray' or 'Julius is white' or both then John picked up the apple.,It is highly unlikely that either 'John picked up the apple' or 'Greg 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.95::factB. 0.0::factC. %hop1 0.6::factX:-xor(factA,factC). 0.75::factY:-and(factC,factB). 0.9::factZ:-or(factC,factA). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.63,0.1806361272254451,train,better than even,highly unlikely,There is a better than even chance that either 'John picked up the apple' or 'Greg is gray' but not both.,It is highly unlikely that either 'John picked up the apple' or 'Greg is gray' but not both.,0,Either 'John picked up the apple' or 'Greg is gray' but not both. It is probably the case that John took the football. It is unlikely that Bernhard is yellow. We doubt that Julius is gray. There is little chance that if either 'John took the football' or 'Bernhard is yellow' but not both then Sumit is thirsty. It is highly unlikely that if 'Bernhard is yellow' or 'John took the football' or both then Greg is a lion. There is almost no chance that if 'John took the football and Julius is gray' then Daniel left the milk.,It is impossible that 'Sumit is thirsty 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.7::factA. 0.2::factB. 0.2::factC. %hop1 0.1::factX:-xor(factA,factB). 0.05::factY:-or(factB,factA). 0.02::factZ:-and(factA,factC). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.0031000000000000003,0.5027005401080216,train,impossible,we believe,It is impossible that 'Sumit is thirsty and Greg is a lion'.,We believe that 'Sumit is thirsty and Greg is a lion'.,1,'Sumit is thirsty and Greg is a lion'. We believe that Greg is a frog. It is almost certain that Julius is a rhino. There is little chance that Lily is yellow. It is certain that if either 'Greg is a frog' or 'Julius is a rhino' but not both then Mary put down the milk. It is probable that if 'Lily is yellow' or 'Greg is a frog' or both then John went to the kitchen. It is unlikely that if 'Greg is a frog and Lily is yellow' then Bernhard is a swan.,It is almost certain that either 'Bernhard is a swan' 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.75::factA. 0.95::factB. 0.1::factC. %hop1 1.0::factX:-xor(factA,factB). 0.7::factY:-or(factC,factA). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.9365,0.09681936387277455,train,almost certain,highly unlikely,It is almost certain that either 'Bernhard is a swan' or 'Julius is a rhino' but not both.,It is highly unlikely that either 'Bernhard is a swan' or 'Julius is a rhino' but not both.,1,Either 'Bernhard is a swan' or 'Julius is a rhino' but not both. It is highly likely that Winona is a cat. It is highly unlikely that Mary went to the kitchen. It is unlikely that Greg is a frog. We believe that if 'Greg is a frog and Mary went to the kitchen' then Julius is gray. We doubt that if 'Mary went to the kitchen' or 'Winona is a cat' or both then Lily is a lion. It is likely that if 'Mary went to the kitchen and Greg is a frog' then Bernhard is a swan.,There is almost no chance that 'Greg is a frog and Mary 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.9::factA. 0.05::factB. 0.2::factC. %hop1 0.75::factX:-and(factC,factB). 0.2::factY:-or(factB,factA). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.010000000000000004,0.0666133226645329,train,almost no chance,about even,There is almost no chance that 'Greg is a frog and Mary went to the kitchen'.,Chances are about even that 'Greg is a frog and Mary went to the kitchen'.,1,'Greg is a frog and Mary went to the kitchen'. It is probable that Antoine is thirsty. We believe that John went to the hallway. It is certain that Mary dropped the milk. We believe that if 'John went to the hallway and Mary dropped the milk' then Sandra took the football. There is a very good chance that if 'Mary dropped the milk' or 'John went to the hallway' or both then Julius is gray. It is highly likely that if either 'John went to the hallway' or 'Antoine is thirsty' but not both then Bernhard is green.,It is highly likely that 'Antoine is thirsty' 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.75::factB. 1.0::factC. %hop1 0.75::factX:-and(factB,factC). 0.8::factY:-or(factC,factB). 0.9::factZ:-xor(factB,factA). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.9025000000000001,0.01300260052010402,train,highly likely,chances are slight,It is highly likely that 'Antoine is thirsty' or 'Bernhard is green' or both.,Chances are slight that 'Antoine is thirsty' or 'Bernhard is green' or both.,1,'Antoine is thirsty' or 'Bernhard is green' or both. It is highly unlikely that Emily is a sheep. It is probably the case that Fred is in the school. It is unlikely that Mary went to the office. There is little chance that if either 'Emily is a sheep' or 'Mary went to the office' but not both then Lily is white. There is a very good chance that if 'Mary went to the office and Emily is a sheep' then John grabbed the apple. It is probably the case that if 'Fred is in the school' or 'Mary went to the office' or both then Greg is a swan.,It is impossible that either 'Lily is white' 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.05::factA. 0.7::factB. 0.2::factC. %hop1 0.1::factX:-xor(factA,factC). 0.8::factY:-and(factC,factA). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.52448,0.7753550710142029,train,about even,impossible,Chances are about even that either 'Lily is white' or 'Greg is a swan' but not both.,It is impossible that either 'Lily is white' or 'Greg is a swan' but not both.,0,Either 'Lily is white' or 'Greg is a swan' but not both. It is likely that Brian is yellow. We doubt that Julius is a rhino. It is almost certain that Gertrude is a cat. It is almost certain that if 'Julius is a rhino and Gertrude is a cat' then Yann is hungry. It is likely that if either 'Julius is a rhino' or 'Gertrude is a cat' but not both then Emily is a wolf. There is little chance that if either 'Julius is a rhino' or 'Gertrude is a cat' but not both then Greg is green.,It is impossible that 'Emily is a wolf 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.2::factB. 0.95::factC. %hop1 0.95::factX:-and(factB,factC). 0.7::factY:-xor(factB,factC). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.0,0.510502100420084,train,impossible,probably,It is impossible that 'Emily is a wolf and Yann is hungry'.,It is probably the case that 'Emily is a wolf and Yann is hungry'.,1,'Emily is a wolf and Yann is hungry'. It is improbable that John discarded the apple. There is a better than even chance that Julius is a swan. It is almost certain that Brian is yellow. It is likely that if either 'John discarded the apple' or 'Julius is a swan' but not both then Mary left the football. Chances are slight that if 'John discarded the apple' or 'Brian is yellow' or both then Lily is a frog. It is certain that if 'Julius is a swan and John discarded the apple' then Sumit is thirsty.,There is almost no chance that 'Mary left the football 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.6::factB. 0.95::factC. %hop1 0.7::factX:-xor(factA,factB). 0.1::factY:-or(factA,factC). 1.0::factZ:-and(factB,factA). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.028000000000000004,0.7299459891978396,train,almost no chance,probable,There is almost no chance that 'Mary left the football and John discarded the apple'.,It is probable that 'Mary left the football and John discarded the apple'.,1,'Mary left the football and John discarded the apple'. It is probably not the case that Sumit is thirsty. It is highly unlikely that Lily is yellow. It is probable that Brian is gray. It is probably the case that if either 'Brian is gray' or 'Sumit is thirsty' but not both then Mary went to the bedroom. We believe that if 'Sumit is thirsty and Brian is gray' then Emily is a wolf. It is unlikely that if 'Brian is gray and Sumit is thirsty' then John dropped the milk.,It is highly unlikely that 'John dropped the milk 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.25::factA. 0.05::factB. 0.7::factC. %hop1 0.7::factX:-xor(factC,factA). 0.75::factY:-and(factA,factC). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.035,0.1788357671534307,train,highly unlikely,we believe,It is highly unlikely that 'John dropped the milk and Brian is gray'.,We believe that 'John dropped the milk and Brian is gray'.,1,'John dropped the milk and Brian is gray'. It is probably the case that Julius is gray. It is probably the case that Bernhard is a frog. There is little chance that Jeff discarded the milk. Chances are slight that if 'Jeff discarded the milk and Bernhard is a frog' then Brian is green. We doubt that if either 'Jeff discarded the milk' or 'Julius is gray' but not both then Lily is a lion. It is probably not the case that if either 'Jeff discarded the milk' or 'Julius is gray' but not both then John moved to the office.,It is highly unlikely that 'Lily is a lion' 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.7::factA. 0.7::factB. 0.1::factC. %hop1 0.1::factX:-and(factC,factB). 0.2::factY:-xor(factC,factA). 0.25::factZ:-xor(factC,factA). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.7395999999999999,0.29085817163432687,train,we believe,highly unlikely,We believe that 'Lily is a lion' or 'Bernhard is a frog' or both.,It is highly unlikely that 'Lily is a lion' or 'Bernhard is a frog' or both.,0,'Lily is a lion' or 'Bernhard is a frog' or both. We doubt that Sandra got the football. It is highly unlikely that Julius is a lion. Chances are about even that Bernhard is a swan. There is a very good chance that if either 'Sandra got the football' or 'Bernhard is a swan' but not both then Brian is white. It is almost certain that if 'Sandra got the football and Bernhard is a swan' then Jason is thirsty. There is a better than even chance that if 'Julius is a lion and Bernhard is a swan' then Lily is a lion.,It is highly likely that 'Brian is white 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.5::factC. %hop1 0.8::factX:-xor(factA,factC). 0.95::factY:-and(factA,factC). 0.6::factZ:-and(factB,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.08000000000000002,0.06021204240848169,train,little chance,highly likely,There is little chance that 'Brian is white and Sandra got the football'.,It is highly likely that 'Brian is white and Sandra got the football'.,0,'Brian is white and Sandra got the football'. There is a very good chance that Bernhard is gray. Chances are slight that Emily is a mouse. Chances are slight that Julius is gray. It is probably not the case that if either 'Emily is a mouse' or 'Bernhard is gray' but not both then John went to the garden. It is unlikely that if 'Bernhard is gray and Julius is gray' then Greg is a frog. We doubt that if 'Bernhard is gray and Emily is a mouse' then Gertrude is a sheep.,It is likely that either 'Gertrude is a sheep' 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.8::factA. 0.1::factB. 0.1::factC. %hop1 0.25::factX:-xor(factB,factA). 0.2::factY:-and(factA,factC). 0.2::factZ:-and(factA,factB). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.11280000000000005,0.11582316463292659,train,little chance,likely,There is little chance that either 'Gertrude is a sheep' or 'Julius is gray' but not both.,It is likely that either 'Gertrude is a sheep' or 'Julius is gray' but not both.,0,Either 'Gertrude is a sheep' or 'Julius is gray' but not both. It is likely that Bernhard is a swan. It is highly unlikely that Sandra left the milk. It is impossible that John moved to the office. It is highly likely that if 'Bernhard is a swan and Sandra left the milk' then Julius is green. It is probable that if 'Sandra left the milk' or 'Bernhard is a swan' or both then Mary discarded the milk. Chances are about even that if 'John moved to the office and Sandra left the milk' then Brian is yellow.,It is likely 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.7::factA. 0.05::factB. 0.0::factC. %hop1 0.9::factX:-and(factA,factB). 0.7::factY:-or(factB,factA). 0.5::factZ:-and(factC,factB). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.715,0.4880976195239048,train,likely,unlikely,It is likely that 'Bernhard is a swan' or 'Sandra left the milk' or both.,It is unlikely that 'Bernhard is a swan' or 'Sandra left the milk' or both.,1,'Bernhard is a swan' or 'Sandra left the milk' or both. It is impossible that Greg is a swan. It is likely that Mary grabbed the milk. There is a better than even chance that Brian is yellow. It is probable that if 'Mary grabbed the milk and Brian is yellow' then Bernhard is a swan. It is improbable that if either 'Brian is yellow' or 'Greg is a swan' but not both then Lily is white. It is almost certain that if 'Greg is a swan and Mary grabbed the milk' then Julius is green.,We doubt that 'Brian is yellow' or 'Mary grabbed 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.0::factA. 0.7::factB. 0.6::factC. %hop1 0.7::factX:-and(factB,factC). 0.1::factY:-xor(factC,factA). 0.95::factZ:-and(factA,factB). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.88,0.29345869173834765,train,highly likely,we doubt,It is highly likely that 'Brian is yellow' or 'Mary grabbed the milk' or both.,We doubt that 'Brian is yellow' or 'Mary grabbed the milk' or both.,0,'Brian is yellow' or 'Mary grabbed the milk' or both. It is unlikely that Greg is a swan. It is probably not the case that Mary picked up the apple. It is impossible that Bernhard is gray. It is certain that if 'Greg is a swan and Bernhard is gray' then Jason is tired. It is certain that if 'Bernhard is gray' or 'Greg is a swan' or both then John went to the hallway. It is impossible that if either 'Bernhard is gray' or 'Mary picked up the apple' but not both then Julius is a rhino.,We believe that either 'John went to the hallway' 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.2::factA. 0.25::factB. 0.0::factC. %hop1 1.0::factX:-and(factA,factC). 1.0::factY:-or(factC,factA). 0.0::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.2,0.6145229045809162,train,we doubt,we believe,We doubt that either 'John went to the hallway' or 'Jason is tired' but not both.,We believe that either 'John went to the hallway' or 'Jason is tired' but not both.,0,Either 'John went to the hallway' or 'Jason is tired' but not both. We doubt that Winona is a cat. We doubt that Brian is a rhino. There is a better than even chance that John took the football. It is probably the case that if 'John took the football' or 'Brian is a rhino' or both then Lily is gray. We doubt that if 'Winona is a cat and Brian is a rhino' then Daniel got the milk. There is little chance that if 'Brian is a rhino and Winona is a cat' then Bernhard is yellow.,There is almost no chance that 'Bernhard is yellow' 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.2::factA. 0.2::factB. 0.6::factC. %hop1 0.7::factX:-or(factC,factB). 0.2::factY:-and(factA,factB). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.011200000000000005,0.1808361672334467,train,almost no chance,better than even,There is almost no chance that 'Bernhard is yellow' or 'Daniel got the milk' or both.,There is a better than even chance that 'Bernhard is yellow' or 'Daniel got the milk' or both.,1,'Bernhard is yellow' or 'Daniel got the milk' or both. It is highly likely that Julius is a lion. We doubt that Fred dropped the milk. There is little chance that Mary went to the hallway. There is little chance that if 'Mary went to the hallway and Julius is a lion' then Jason is thirsty. We believe that if 'Julius is a lion and Mary went to the hallway' then Brian is white. It is highly likely that if 'Fred dropped the milk' or 'Julius is a lion' or both then John grabbed the apple.,There is almost no chance that either 'Mary went to the hallway' 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.9::factA. 0.2::factB. 0.1::factC. %hop1 0.1::factX:-and(factC,factA). 0.75::factY:-and(factA,factC). 0.9::factZ:-or(factB,factA). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.032499999999999994,0.3616723344668934,train,almost no chance,likely,There is almost no chance that either 'Mary went to the hallway' or 'Brian is white' but not both.,It is likely that either 'Mary went to the hallway' or 'Brian is white' but not both.,1,Either 'Mary went to the hallway' or 'Brian is white' but not both. It is probably not the case that Bernhard is a frog. It is likely that Brian is yellow. Chances are about even that Greg is green. It is likely that if 'Bernhard is a frog' or 'Brian is yellow' or both then Lily is a rhino. We doubt that if 'Bernhard is a frog' or 'Brian is yellow' or both then John took the football. It is unlikely that if 'Brian is yellow and Bernhard is a frog' then Mary went to the kitchen.,There is almost no chance that 'John took the football' 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.25::factA. 0.7::factB. 0.5::factC. %hop1 0.7::factX:-or(factA,factB). 0.2::factY:-or(factA,factB). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.5890000000000001,0.5533106621324265,train,better than even,almost no chance,There is a better than even chance that 'John took the football' or 'Lily is a rhino' or both.,There is almost no chance that 'John took the football' or 'Lily is a rhino' or both.,0,'John took the football' or 'Lily is a rhino' or both. It is probably not the case that Julius is yellow. It is certain that Jeff moved to the garden. It is highly likely that Mary took the football. It is highly likely that if 'Jeff moved to the garden' or 'Mary took the football' or both then Winona is a wolf. It is likely that if 'Jeff moved to the garden' or 'Julius is yellow' or both then John went to the kitchen. There is almost no chance that if either 'Jeff moved to the garden' or 'Mary took the football' but not both then Lily is white.,It is highly likely that 'Lily 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.25::factA. 1.0::factB. 0.9::factC. %hop1 0.9::factX:-or(factB,factC). 0.7::factY:-or(factB,factA). 0.02::factZ:-xor(factB,factC). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.9002,0.7091418283656732,train,highly likely,chances are slight,It is highly likely that 'Lily is white' or 'Winona is a wolf' or both.,Chances are slight that 'Lily is white' or 'Winona is a wolf' or both.,1,'Lily is white' or 'Winona is a wolf' or both. Chances are slight that Bernhard is gray. There is a very good chance that Jeff moved to the garden. There is almost no chance that Mary left the football. It is almost certain that if either 'Mary left the football' or 'Jeff moved to the garden' but not both then John went to the kitchen. It is likely that if 'Bernhard is gray and Mary left the football' then Brian is green. It is improbable that if 'Bernhard is gray' or 'Mary left the football' or both then Greg is a rhino.,There is almost no chance that either 'Mary left the football' 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.1::factA. 0.8::factB. 0.02::factC. %hop1 0.95::factX:-xor(factC,factB). 0.7::factY:-and(factA,factC). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.02780000000000001,0.7463492698539708,train,almost no chance,almost certain,There is almost no chance that either 'Mary left the football' or 'Greg is a rhino' but not both.,It is almost certain that either 'Mary left the football' or 'Greg is a rhino' but not both.,1,Either 'Mary left the football' or 'Greg is a rhino' but not both. Chances are about even that Greg is a rhino. It is impossible that Julius is a swan. There is a better than even chance that Mary went to the bedroom. It is impossible that if either 'Greg is a rhino' or 'Julius is a swan' but not both then Sandra left the milk. Chances are slight that if 'Julius is a swan' or 'Mary went to the bedroom' or both then John got the apple. There is a very good chance that if 'Julius is a swan and Greg is a rhino' then Lily is yellow.,Chances are about even that 'Lily is yellow' 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.5::factA. 0.0::factB. 0.6::factC. %hop1 0.0::factX:-xor(factA,factB). 0.1::factY:-or(factB,factC). 0.8::factZ:-and(factB,factA). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.0,0.3900780156031206,train,impossible,about even,It is impossible that 'Lily is yellow' or 'Julius is a swan' or both.,Chances are about even that 'Lily is yellow' or 'Julius is a swan' or both.,0,'Lily is yellow' or 'Julius is a swan' or both. Chances are about even that Mary put down the apple. It is highly likely that Emily is a cat. It is highly unlikely that Lily is green. There is almost no chance that if 'Lily is green' or 'Mary put down the apple' or both then Antoine is bored. There is little chance that if 'Lily is green and Emily is a cat' then Brian is gray. It is probably not the case that if 'Lily is green and Mary put down the apple' then Daniel got the milk.,It is impossible that either 'Mary put down the apple' 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.5::factA. 0.9::factB. 0.05::factC. %hop1 0.02::factX:-or(factC,factA). 0.1::factY:-and(factC,factB). 0.25::factZ:-and(factC,factA). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.4937500000000001,0.04240848169633927,train,about even,impossible,Chances are about even that either 'Mary put down the apple' or 'Daniel got the milk' but not both.,It is impossible that either 'Mary put down the apple' or 'Daniel got the milk' but not both.,0,Either 'Mary put down the apple' or 'Daniel got the milk' but not both. It is highly likely that Greg is a swan. It is highly unlikely that Bernhard is a rhino. We believe that Mary moved to the garden. It is likely that if either 'Bernhard is a rhino' or 'Greg is a swan' but not both then Daniel got the milk. It is probable that if either 'Mary moved to the garden' or 'Greg is a swan' but not both then John went to the kitchen. We doubt that if either 'Bernhard is a rhino' or 'Mary moved to the garden' but not both then Brian is yellow.,Chances are about even that 'John 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.9::factA. 0.05::factB. 0.75::factC. %hop1 0.7::factX:-xor(factB,factA). 0.7::factY:-xor(factC,factA). 0.2::factZ:-xor(factB,factC). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.9525,0.016403280656131225,train,almost certain,about even,It is almost certain that 'John went to the kitchen' or 'Greg is a swan' or both.,Chances are about even that 'John went to the kitchen' or 'Greg is a swan' or both.,0,'John went to the kitchen' or 'Greg is a swan' or both. It is highly likely that Lily is a lion. There is almost no chance that Brian is green. It is certain that Mary left the football. It is probably not the case that if 'Mary left the football' or 'Lily is a lion' or both then Sandra took the milk. It is unlikely that if 'Brian is green' or 'Mary left the football' or both then John went to the garden. It is improbable that if 'Mary left the football and Lily is a lion' then Julius is a rhino.,There is almost no chance that either 'Lily is a lion' 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.9::factA. 0.02::factB. 1.0::factC. %hop1 0.25::factX:-or(factC,factA). 0.2::factY:-or(factB,factC). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.884,0.42288457691538306,train,highly likely,almost no chance,It is highly likely that either 'Lily is a lion' or 'Brian is green' but not both.,There is almost no chance that either 'Lily is a lion' or 'Brian is green' but not both.,0,Either 'Lily is a lion' or 'Brian is green' but not both. There is a better than even chance that Daniel left the milk. It is highly likely that Sandra dropped the milk. It is certain that Greg is yellow. It is probably the case that if 'Daniel left the milk' or 'Sandra dropped the milk' or both then Winona is a mouse. It is improbable that if either 'Daniel left the milk' or 'Greg is yellow' but not both then John went to the hallway. Chances are about even that if 'Sandra dropped the milk' or 'Greg is yellow' or both then Lily is a frog.,It is almost certain that 'Sandra dropped the milk' 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.6::factA. 0.9::factB. 1.0::factC. %hop1 0.7::factX:-or(factA,factB). 0.1::factY:-xor(factA,factC). 0.5::factZ:-or(factB,factC). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.96,0.6803360672134426,train,almost certain,chances are slight,It is almost certain that 'Sandra dropped the milk' or 'Daniel left the milk' or both.,Chances are slight that 'Sandra dropped the milk' or 'Daniel left the milk' or both.,1,'Sandra dropped the milk' or 'Daniel left the milk' or both. There is a better than even chance that John got the milk. It is highly likely that Greg is a lion. Chances are about even that Sandra grabbed the apple. We believe that if 'Sandra grabbed the apple' or 'Greg is a lion' or both then Bernhard is white. It is unlikely that if either 'Greg is a lion' or 'John got the milk' but not both then Mary dropped the milk. There is a very good chance that if 'Greg is a lion and John got the milk' then Brian is gray.,There is a very good chance that 'Mary dropped the milk 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.6::factA. 0.9::factB. 0.5::factC. %hop1 0.75::factX:-or(factC,factB). 0.2::factY:-xor(factB,factA). 0.8::factZ:-and(factB,factA). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.058499999999999996,0.3126625325065013,train,highly unlikely,very good chance,It is highly unlikely that 'Mary dropped the milk and Bernhard is white'.,There is a very good chance that 'Mary dropped the milk and Bernhard is white'.,0,'Mary dropped the milk and Bernhard is white'. Chances are about even that Brian is yellow. There is a very good chance that Sandra put down the milk. Chances are about even that Antoine is hungry. We believe that if 'Antoine is hungry' or 'Sandra put down the milk' or both then Bernhard is a frog. It is probably not the case that if either 'Sandra put down the milk' or 'Antoine is hungry' but not both then Greg is white. It is probably the case that if either 'Antoine is hungry' or 'Sandra put down the milk' but not both then John picked up the apple.,We doubt that 'Brian is yellow 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.5::factA. 0.8::factB. 0.5::factC. %hop1 0.75::factX:-or(factC,factB). 0.25::factY:-xor(factB,factC). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.17499999999999996,0.7273454690938188,train,we doubt,probable,We doubt that 'Brian is yellow and John picked up the apple'.,It is probable that 'Brian is yellow and John picked up the apple'.,1,'Brian is yellow and John picked up the apple'. There is a very good chance that John took the apple. There is a very good chance that Bill went to the garden. It is certain that Greg is a lion. It is highly likely that if either 'Bill went to the garden' or 'John took the apple' but not both then Mary got the milk. There is a very good chance that if 'Bill went to the garden and Greg is a lion' then Lily is gray. There is little chance that if 'Greg is a lion' or 'Bill went to the garden' or both then Bernhard is a rhino.,It is certain that 'Lily is gray' 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.8::factA. 0.8::factB. 1.0::factC. %hop1 0.9::factX:-xor(factB,factA). 0.8::factY:-and(factB,factC). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",1.0,0.1284256851370274,train,certain,improbable,It is certain that 'Lily is gray' or 'Greg is a lion' or both.,It is improbable that 'Lily is gray' or 'Greg is a lion' or both.,1,'Lily is gray' or 'Greg is a lion' or both. It is almost certain that Brian is yellow. It is impossible that Mary went to the office. We believe that Daniel got the apple. It is improbable that if either 'Brian is yellow' or 'Daniel got the apple' but not both then Lily is a lion. It is probable that if 'Mary went to the office' or 'Brian is yellow' or both then John put down the milk. It is highly likely that if 'Mary went to the office and Brian is yellow' then Bernhard is green.,There is little chance that either 'Lily is a lion' 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.95::factA. 0.0::factB. 0.75::factC. %hop1 0.1::factX:-xor(factA,factC). 0.7::factY:-or(factB,factA). 0.9::factZ:-and(factB,factA). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.9299999999999999,0.126625325065013,train,almost certain,little chance,It is almost certain that either 'Lily is a lion' or 'Brian is yellow' but not both.,There is little chance that either 'Lily is a lion' or 'Brian is yellow' but not both.,0,Either 'Lily is a lion' or 'Brian is yellow' but not both. There is a better than even chance that Greg is a swan. There is little chance that Mary went to the hallway. It is probably the case that John put down the milk. We believe that if either 'Greg is a swan' or 'John put down the milk' but not both then Bernhard is yellow. We doubt that if either 'Mary went to the hallway' or 'Greg is a swan' but not both then Brian is a lion. Chances are slight that if 'John put down the milk and Mary went to the hallway' then Daniel dropped the apple.,Chances are about even that either 'Brian 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.6::factA. 0.1::factB. 0.7::factC. %hop1 0.75::factX:-xor(factA,factC). 0.2::factY:-xor(factB,factA). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.40399999999999997,0.20964192838567713,train,about even,almost certain,Chances are about even that either 'Brian is a lion' or 'Bernhard is yellow' but not both.,It is almost certain that either 'Brian is a lion' or 'Bernhard is yellow' but not both.,1,Either 'Brian is a lion' or 'Bernhard is yellow' but not both. There is a better than even chance that Emily is a mouse. Chances are about even that Mary put down the milk. Chances are about even that John moved to the office. It is impossible that if 'Mary put down the milk and John moved to the office' then Bernhard is a frog. It is almost certain that if 'Mary put down the milk' or 'Emily is a mouse' or both then Julius is gray. We doubt that if 'Mary put down the milk and John moved to the office' then Lily is a lion.,It is almost certain that either 'Bernhard is a frog' or 'John 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.6::factA. 0.5::factB. 0.5::factC. %hop1 0.0::factX:-and(factB,factC). 0.95::factY:-or(factB,factA). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.5,0.3910782156431286,train,about even,almost certain,Chances are about even that either 'Bernhard is a frog' or 'John moved to the office' but not both.,It is almost certain that either 'Bernhard is a frog' or 'John moved to the office' but not both.,0,Either 'Bernhard is a frog' or 'John moved to the office' but not both. It is probable that Fred went to the garden. It is highly likely that Lily is a frog. We believe that Bernhard is yellow. There is almost no chance that if 'Fred went to the garden and Lily is a frog' then Daniel took the milk. It is unlikely that if 'Lily is a frog and Bernhard is yellow' then Mary dropped the milk. It is unlikely that if 'Bernhard is yellow' or 'Fred went to the garden' or both then Julius is a swan.,We doubt that 'Mary dropped the milk' or 'Fred 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.7::factA. 0.9::factB. 0.75::factC. %hop1 0.02::factX:-and(factA,factB). 0.2::factY:-and(factB,factC). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.7405,0.6029205841168234,train,we believe,we doubt,We believe that 'Mary dropped the milk' or 'Fred went to the garden' or both.,We doubt that 'Mary dropped the milk' or 'Fred went to the garden' or both.,0,'Mary dropped the milk' or 'Fred went to the garden' or both. There is a very good chance that Bernhard is yellow. It is improbable that Jessica is a mouse. It is certain that Brian is a frog. It is certain that if 'Jessica is a mouse and Bernhard is yellow' then Jeff moved to the garden. It is probably not the case that if either 'Jessica is a mouse' or 'Brian is a frog' but not both then Greg is a lion. It is improbable that if 'Bernhard is yellow' or 'Brian is a frog' or both then Fred dropped the milk.,It is highly likely that 'Greg is a lion 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.8::factA. 0.1::factB. 1.0::factC. %hop1 1.0::factX:-and(factB,factA). 0.25::factY:-xor(factB,factC). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.0,0.32666533306661333,train,impossible,highly likely,It is impossible that 'Greg is a lion and Jessica is a mouse'.,It is highly likely that 'Greg is a lion and Jessica is a mouse'.,0,'Greg is a lion and Jessica is a mouse'. It is likely that Daniel grabbed the milk. There is a better than even chance that Julius is gray. It is impossible that Greg is a swan. There is little chance that if 'Greg is a swan and Julius is gray' then Antoine is bored. It is almost certain that if 'Greg is a swan and Julius is gray' then John moved to the garden. There is a better than even chance that if 'Daniel grabbed the milk and Julius is gray' then Winona is a wolf.,It is impossible that 'Julius is gray' 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.6::factB. 0.0::factC. %hop1 0.1::factX:-and(factC,factB). 0.95::factY:-and(factC,factB). 0.6::factZ:-and(factA,factB). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.6,0.7603520704140828,train,better than even,impossible,There is a better than even chance that 'Julius is gray' or 'John moved to the garden' or both.,It is impossible that 'Julius is gray' or 'John moved to the garden' or both.,0,'Julius is gray' or 'John moved to the garden' or both. It is probably not the case that John got the apple. It is probable that Bill went to the garden. There is a very good chance that Jessica is a mouse. It is probably not the case that if 'Bill went to the garden' or 'Jessica is a mouse' or both then Emily is a wolf. It is unlikely that if 'Jessica is a mouse and John got the apple' then Brian is green. It is probable that if 'Jessica is a mouse' or 'John got the apple' or both then Bernhard is a lion.,We doubt that 'Bernhard is a lion 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.7::factB. 0.8::factC. %hop1 0.25::factX:-or(factB,factC). 0.2::factY:-and(factC,factA). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.175,0.596119223844769,train,we doubt,very good chance,We doubt that 'Bernhard is a lion and John got the apple'.,There is a very good chance that 'Bernhard is a lion and John got the apple'.,1,'Bernhard is a lion and John got the apple'. It is improbable that Mary moved to the garden. There is a very good chance that Julius is gray. It is probable that Antoine is hungry. We believe that if 'Julius is gray and Mary moved to the garden' then Bernhard is a rhino. There is little chance that if either 'Antoine is hungry' or 'Mary moved to the garden' but not both then John discarded the milk. It is probably the case that if 'Antoine is hungry' or 'Mary moved to the garden' or both then Brian is white.,There is a very good chance that 'Bernhard is a rhino' 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.1::factA. 0.8::factB. 0.7::factC. %hop1 0.75::factX:-and(factB,factA). 0.1::factY:-xor(factC,factA). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.8,0.21724344868973794,train,very good chance,highly unlikely,There is a very good chance that 'Bernhard is a rhino' or 'Julius is gray' or both.,It is highly unlikely that 'Bernhard is a rhino' or 'Julius is gray' or both.,1,'Bernhard is a rhino' or 'Julius is gray' or both. Chances are about even that Sandra dropped the milk. It is impossible that Bernhard is a rhino. There is little chance that Winona is a sheep. There is almost no chance that if 'Winona is a sheep and Sandra dropped the milk' then John discarded the apple. Chances are about even that if 'Bernhard is a rhino' or 'Sandra dropped the milk' or both then Julius is a swan. Chances are about even that if either 'Sandra dropped the milk' or 'Bernhard is a rhino' but not both then Greg is gray.,It is probably not the case that either 'John discarded the apple' or 'Greg 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.5::factA. 0.0::factB. 0.1::factC. %hop1 0.02::factX:-and(factC,factA). 0.5::factY:-or(factB,factA). 0.5::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.25,0.44488897779555914,train,probably not,likely,It is probably not the case that either 'John discarded the apple' or 'Greg is gray' but not both.,It is likely that either 'John discarded the apple' or 'Greg is gray' but not both.,1,Either 'John discarded the apple' or 'Greg is gray' but not both. It is unlikely that Bernhard is yellow. Chances are slight that Gertrude is a mouse. It is almost certain that Greg is a swan. Chances are slight that if 'Greg is a swan' or 'Gertrude is a mouse' or both then Winona is a sheep. It is certain that if 'Gertrude is a mouse' or 'Greg is a swan' or both then John moved to the garden. We believe that if either 'Greg is a swan' or 'Gertrude is a mouse' but not both then Lily is a frog.,We believe that either 'John moved to the garden' 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.2::factA. 0.1::factB. 0.95::factC. %hop1 0.1::factX:-or(factC,factB). 1.0::factY:-or(factB,factC). 0.75::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.773,0.5073014602920584,train,we believe,little chance,We believe that either 'John moved to the garden' or 'Bernhard is yellow' but not both.,There is little chance that either 'John moved to the garden' or 'Bernhard is yellow' but not both.,1,Either 'John moved to the garden' or 'Bernhard is yellow' but not both. We believe that Greg is a frog. We doubt that Gertrude is a sheep. It is unlikely that Brian is a lion. There is almost no chance that if 'Brian is a lion and Gertrude is a sheep' then Lily is a rhino. It is highly likely that if either 'Gertrude is a sheep' or 'Brian is a lion' but not both then John moved to the office. It is unlikely that if 'Gertrude is a sheep' or 'Greg is a frog' or both then Yann is tired.,It is probably the case that either 'Gertrude is a sheep' or 'Lily 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.2::factB. 0.2::factC. %hop1 0.02::factX:-and(factC,factB). 0.9::factY:-xor(factB,factC). 0.2::factZ:-or(factB,factA). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.19920000000000002,0.5079015803160633,train,we doubt,probably,We doubt that either 'Gertrude is a sheep' or 'Lily is a rhino' but not both.,It is probably the case that either 'Gertrude is a sheep' or 'Lily is a rhino' but not both.,0,Either 'Gertrude is a sheep' or 'Lily is a rhino' but not both. It is impossible that Lily is yellow. It is highly unlikely that Greg is a frog. There is a better than even chance that Gertrude is a wolf. There is a better than even chance that if either 'Greg is a frog' or 'Lily is yellow' but not both then Julius is gray. It is improbable that if 'Gertrude is a wolf and Lily is yellow' then Sandra dropped the milk. It is almost certain that if 'Lily is yellow and Gertrude is a wolf' then Bernhard is a swan.,We believe that 'Greg is a frog 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.0::factA. 0.05::factB. 0.6::factC. %hop1 0.6::factX:-xor(factB,factA). 0.1::factY:-and(factC,factA). 0.95::factZ:-and(factA,factC). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.0,0.2440488097619524,train,impossible,we believe,It is impossible that 'Greg is a frog and Sandra dropped the milk'.,We believe that 'Greg is a frog and Sandra dropped the milk'.,0,'Greg is a frog and Sandra dropped the milk'. There is a better than even chance that John discarded the milk. It is certain that Julius is a frog. It is probable that Mary left the apple. It is probable that if 'John discarded the milk' or 'Mary left the apple' or both then Gertrude is a cat. It is impossible that if either 'Mary left the apple' or 'John discarded the milk' but not both then Jessica is a sheep. There is a better than even chance that if 'Julius is a frog and John discarded the milk' then Lily is a rhino.,Chances are about even that either 'Gertrude is a cat' or 'Lily 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.6::factA. 1.0::factB. 0.7::factC. %hop1 0.7::factX:-or(factA,factC). 0.0::factY:-xor(factC,factA). 0.6::factZ:-and(factB,factA). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.4719999999999999,0.2644528905781156,train,about even,almost no chance,Chances are about even that either 'Gertrude is a cat' or 'Lily is a rhino' but not both.,There is almost no chance that either 'Gertrude is a cat' or 'Lily is a rhino' but not both.,1,Either 'Gertrude is a cat' or 'Lily is a rhino' but not both. It is almost certain that Lily is white. It is almost certain that Bernhard is gray. It is certain that Brian is white. It is certain that if either 'Lily is white' or 'Brian is white' but not both then Winona is a sheep. We doubt that if 'Brian is white' or 'Lily is white' or both then John dropped the milk. It is almost certain that if either 'Lily is white' or 'Brian is white' but not both then Julius is yellow.,It is certain that 'Brian is white' 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.95::factA. 0.95::factB. 1.0::factC. %hop1 1.0::factX:-xor(factA,factC). 0.2::factY:-or(factC,factA). 0.95::factZ:-xor(factA,factC). %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.6747349469893978,train,certain,almost no chance,It is certain that 'Brian is white' or 'Lily is white' or both.,There is almost no chance that 'Brian is white' or 'Lily is white' or both.,1,'Brian is white' or 'Lily is white' or both. It is improbable that Winona is a wolf. There is almost no chance that Julius is a rhino. It is likely that Fred is in the school. It is certain that if either 'Fred is in the school' or 'Julius is a rhino' but not both then Bernhard is a swan. It is impossible that if 'Winona is a wolf and Julius is a rhino' then Brian is white. Chances are about even that if 'Winona is a wolf and Fred is in the school' then Mary dropped the milk.,It is impossible that 'Brian is white 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.02::factB. 0.7::factC. %hop1 1.0::factX:-xor(factC,factB). 0.0::factY:-and(factA,factB). 0.5::factZ:-and(factA,factC). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.0,0.46949389877975595,train,impossible,we believe,It is impossible that 'Brian is white and Bernhard is a swan'.,We believe that 'Brian is white and Bernhard is a swan'.,1,'Brian is white and Bernhard is a swan'. There is a better than even chance that Fred moved to the office. We doubt that John dropped the apple. There is a better than even chance that Lily is green. It is highly unlikely that if 'John dropped the apple and Fred moved to the office' then Sumit is tired. We believe that if either 'Fred moved to the office' or 'Lily is green' but not both then Julius is a frog. Chances are about even that if either 'Fred moved to the office' or 'Lily is green' but not both then Mary went to the bedroom.,It is impossible that 'Sumit is tired 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.6::factA. 0.2::factB. 0.6::factC. %hop1 0.05::factX:-and(factB,factA). 0.75::factY:-xor(factA,factC). 0.5::factZ:-xor(factA,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.005999999999999998,0.5479095819163833,train,impossible,likely,It is impossible that 'Sumit is tired and Fred moved to the office'.,It is likely that 'Sumit is tired and Fred moved to the office'.,1,'Sumit is tired and Fred moved to the office'. We believe that Winona is a sheep. It is impossible that Julius is gray. There is a very good chance that Mary put down the apple. It is probably the case that if either 'Winona is a sheep' or 'Mary put down the apple' but not both then Sandra dropped the milk. It is likely that if 'Mary put down the apple and Julius is gray' then Greg is a rhino. We doubt that if 'Winona is a sheep' or 'Julius is gray' or both then Fred is in the office.,We doubt that 'Winona is a sheep' 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.75::factA. 0.0::factB. 0.8::factC. %hop1 0.7::factX:-xor(factA,factC). 0.7::factY:-and(factC,factB). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.75,0.6347269453890778,train,we believe,we doubt,We believe that 'Winona is a sheep' or 'Julius is gray' or both.,We doubt that 'Winona is a sheep' or 'Julius is gray' or both.,0,'Winona is a sheep' or 'Julius is gray' or both. It is highly likely that Gertrude is a sheep. There is almost no chance that Jessica is a cat. It is probably not the case that Bill went to the bedroom. There is almost no chance that if 'Bill went to the bedroom' or 'Gertrude is a sheep' or both then Bernhard is gray. We doubt that if either 'Bill went to the bedroom' or 'Jessica is a cat' but not both then Greg is yellow. It is improbable that if either 'Bill went to the bedroom' or 'Gertrude is a sheep' but not both then Sandra took the milk.,It is almost certain that 'Bill went to the bedroom' 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 0.9::factA. 0.02::factB. 0.25::factC. %hop1 0.02::factX:-or(factC,factA). 0.2::factY:-xor(factC,factB). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.925,0.23764752950590118,train,almost certain,we doubt,It is almost certain that 'Bill went to the bedroom' or 'Gertrude is a sheep' or both.,We doubt that 'Bill went to the bedroom' or 'Gertrude is a sheep' or both.,1,'Bill went to the bedroom' or 'Gertrude is a sheep' or both. It is unlikely that Gertrude is a mouse. There is almost no chance that Brian is green. It is highly likely that Sandra left the football. It is unlikely that if 'Sandra left the football and Gertrude is a mouse' then Bernhard is a frog. It is certain that if 'Gertrude is a mouse' or 'Sandra left the football' or both then Lily is white. It is highly likely that if either 'Gertrude is a mouse' or 'Brian is green' but not both then John went to the garden.,It is highly unlikely that either 'John went to the garden' 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.02::factB. 0.9::factC. %hop1 0.2::factX:-and(factC,factA). 1.0::factY:-or(factA,factC). 0.9::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.037999999999999985,0.5029005801160232,train,highly unlikely,likely,It is highly unlikely that either 'John went to the garden' or 'Gertrude is a mouse' but not both.,It is likely that either 'John went to the garden' or 'Gertrude is a mouse' but not both.,1,Either 'John went to the garden' or 'Gertrude is a mouse' but not both. We believe that Mary got the apple. There is almost no chance that Brian is a rhino. It is impossible that Bernhard is green. It is impossible that if 'Brian is a rhino' or 'Bernhard is green' or both then John discarded the milk. It is unlikely that if 'Mary got the apple' or 'Bernhard is green' or both then Julius is a swan. We believe that if 'Brian is a rhino' or 'Bernhard is green' or both then Sandra left the football.,It is impossible that 'Bernhard is green 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.02::factB. 0.0::factC. %hop1 0.0::factX:-or(factB,factC). 0.2::factY:-or(factA,factC). 0.75::factZ:-or(factB,factC). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.6891378275655131,train,impossible,we believe,It is impossible that 'Bernhard is green and Mary got the apple'.,We believe that 'Bernhard is green and Mary got the apple'.,1,'Bernhard is green and Mary got the apple'. Chances are about even that Sandra left the football. It is highly likely that John got the apple. It is probable that Bernhard is gray. It is certain that if 'Sandra left the football and John got the apple' then Greg is a swan. It is almost certain that if 'Sandra left the football' or 'Bernhard is gray' or both then Lily is a rhino. It is highly likely that if either 'Sandra left the football' or 'John got the apple' but not both then Mary went to the bedroom.,Chances are about even that either 'Bernhard is gray' 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.5::factA. 0.9::factB. 0.7::factC. %hop1 1.0::factX:-and(factA,factB). 0.95::factY:-or(factA,factC). 0.9::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.52,0.2618523704740948,train,about even,highly unlikely,Chances are about even that either 'Bernhard is gray' or 'Greg is a swan' but not both.,It is highly unlikely that either 'Bernhard is gray' or 'Greg is a swan' but not both.,1,Either 'Bernhard is gray' or 'Greg is a swan' but not both. There is little chance that Julius is white. There is a very good chance that Fred went to the office. It is almost certain that Greg is yellow. It is certain that if 'Julius is white' or 'Fred went to the office' or both then Sandra grabbed the apple. It is highly likely that if 'Fred went to the office' or 'Greg is yellow' or both then Jessica is a mouse. It is certain that if 'Fred went to the office' or 'Julius is white' or both then Brian is a rhino.,It is impossible that 'Julius is white' or 'Sandra 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.1::factA. 0.8::factB. 0.95::factC. %hop1 1.0::factX:-or(factA,factB). 0.9::factY:-or(factB,factC). 1.0::factZ:-or(factB,factA). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.8200000000000001,0.33906781356271254,train,very good chance,impossible,There is a very good chance that 'Julius is white' or 'Sandra grabbed the apple' or both.,It is impossible that 'Julius is white' or 'Sandra grabbed the apple' or both.,0,'Julius is white' or 'Sandra grabbed the apple' or both. It is likely that Mary went to the garden. It is highly unlikely that Julius is green. We doubt that Brian is white. Chances are about even that if either 'Mary went to the garden' or 'Brian is white' but not both then Bernhard is a lion. It is probably not the case that if either 'Julius is green' or 'Mary went to the garden' but not both then Greg is a frog. Chances are slight that if 'Brian is white' or 'Julius is green' or both then Lily is yellow.,It is unlikely that 'Lily 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.7::factA. 0.05::factB. 0.2::factC. %hop1 0.5::factX:-xor(factA,factC). 0.25::factY:-xor(factB,factA). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.20400000000000004,0.6477295459091819,train,unlikely,highly likely,It is unlikely that 'Lily is yellow' or 'Brian is white' or both.,It is highly likely that 'Lily is yellow' or 'Brian is white' or both.,1,'Lily is yellow' or 'Brian is white' or both. There is a better than even chance that Sandra dropped the milk. It is probably the case that Gertrude is a sheep. It is impossible that Bernhard is green. It is impossible that if 'Sandra dropped the milk' or 'Gertrude is a sheep' or both then Greg is yellow. It is impossible that if 'Gertrude is a sheep' or 'Bernhard is green' or both then Mary took the football. It is probably the case that if 'Sandra dropped the milk' or 'Bernhard is green' or both then Julius is a lion.,It is impossible that either 'Julius is a lion' 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.6::factA. 0.7::factB. 0.0::factC. %hop1 0.0::factX:-or(factA,factB). 0.0::factY:-or(factB,factC). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.41999999999999993,0.22664532906581317,train,about even,impossible,Chances are about even that either 'Julius is a lion' or 'Mary took the football' but not both.,It is impossible that either 'Julius is a lion' or 'Mary took the football' but not both.,0,Either 'Julius is a lion' or 'Mary took the football' but not both. It is unlikely that John moved to the garden. There is little chance that Daniel left the apple. It is probable that Brian is a rhino. It is highly unlikely that if 'Daniel left the apple and John moved to the garden' then Sandra dropped the milk. We believe that if 'Brian is a rhino and John moved to the garden' then Bernhard is a frog. It is probably the case that if either 'Daniel left the apple' or 'Brian is a rhino' but not both then Julius is green.,It is probably not the case that 'John moved to the garden' 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.2::factA. 0.1::factB. 0.7::factC. %hop1 0.05::factX:-and(factB,factA). 0.75::factY:-and(factC,factA). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.28,0.00040008001600320064,train,probably not,highly likely,It is probably not the case that 'John moved to the garden' or 'Daniel left the apple' or both.,It is highly likely that 'John moved to the garden' or 'Daniel left the apple' or both.,1,'John moved to the garden' or 'Daniel left the apple' or both. It is impossible that Julius is a swan. There is a better than even chance that Bernhard is white. There is a very good chance that Mary took the football. It is probably the case that if either 'Mary took the football' or 'Julius is a swan' but not both then Emily is a cat. We doubt that if 'Mary took the football' or 'Julius is a swan' or both then John discarded the milk. It is improbable that if either 'Julius is a swan' or 'Mary took the football' but not both then Lily is a frog.,There is a very good chance that 'Mary took the football' or 'John discarded 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.0::factA. 0.6::factB. 0.8::factC. %hop1 0.7::factX:-xor(factC,factA). 0.2::factY:-or(factC,factA). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.8,0.39727945589117825,train,very good chance,chances are slight,There is a very good chance that 'Mary took the football' or 'John discarded the milk' or both.,Chances are slight that 'Mary took the football' or 'John discarded the milk' or both.,1,'Mary took the football' or 'John discarded the milk' or both. It is certain that Brian is a rhino. It is highly likely that Bernhard is green. It is unlikely that John left the football. It is unlikely that if either 'John left the football' or 'Brian is a rhino' but not both then Greg is yellow. It is improbable that if 'Brian is a rhino and John left the football' then Julius is a frog. It is almost certain that if either 'Bernhard is green' or 'Brian is a rhino' but not both then Lily is a lion.,It is certain that 'Bernhard is green' 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.9::factB. 0.2::factC. %hop1 0.2::factX:-xor(factC,factA). 0.1::factY:-and(factA,factC). 0.95::factZ:-xor(factB,factA). %hop2 conclusion:-or(factB,factA). query(conclusion). ",1.0,0.707741548309662,train,certain,little chance,It is certain that 'Bernhard is green' or 'Brian is a rhino' or both.,There is little chance that 'Bernhard is green' or 'Brian is a rhino' or both.,1,'Bernhard is green' or 'Brian is a rhino' or both. It is probable that John picked up the apple. There is almost no chance that Lily is gray. It is likely that Sandra is in the kitchen. There is little chance that if 'Lily is gray and John picked up the apple' then Mary went to the bedroom. It is improbable that if 'Lily is gray' or 'Sandra is in the kitchen' or both then Julius is a frog. Chances are about even that if 'John picked up the apple and Lily is gray' then Brian is a rhino.,Chances are about even that 'Lily is gray 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.02::factB. 0.7::factC. %hop1 0.1::factX:-and(factB,factA). 0.1::factY:-or(factB,factC). 0.5::factZ:-and(factA,factB). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.0014000000000000015,0.41028205641128224,train,impossible,about even,It is impossible that 'Lily is gray and Mary went to the bedroom'.,Chances are about even that 'Lily is gray and Mary went to the bedroom'.,0,'Lily is gray and Mary went to the bedroom'. We believe that Jason is tired. There is a very good chance that Daniel took the apple. We doubt that Greg is yellow. It is certain that if 'Jason is tired' or 'Greg is yellow' or both then Lily is yellow. It is likely that if either 'Jason is tired' or 'Daniel took the apple' but not both then John dropped the milk. It is impossible that if 'Jason is tired and Greg is yellow' then Julius is a frog.,There is a very good chance that either 'Daniel took the apple' 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.75::factA. 0.8::factB. 0.2::factC. %hop1 1.0::factX:-or(factA,factC). 0.7::factY:-xor(factA,factB). 0.0::factZ:-and(factA,factC). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.8,0.38487697539507904,train,very good chance,highly unlikely,There is a very good chance that either 'Daniel took the apple' or 'Julius is a frog' but not both.,It is highly unlikely that either 'Daniel took the apple' or 'Julius is a frog' but not both.,1,Either 'Daniel took the apple' or 'Julius is a frog' but not both. It is probable that John put down the apple. It is improbable that Bernhard is a lion. There is a better than even chance that Sandra dropped the milk. There is a better than even chance that if 'Sandra dropped the milk' or 'John put down the apple' or both then Antoine is hungry. It is probably not the case that if either 'Sandra dropped the milk' or 'John put down the apple' but not both then Brian is a swan. It is highly likely that if 'John put down the apple and Sandra dropped the milk' then Jeff moved to the garden.,There is a very good chance that 'Antoine is hungry 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.7::factA. 0.1::factB. 0.6::factC. %hop1 0.6::factX:-or(factC,factA). 0.25::factY:-xor(factC,factA). 0.9::factZ:-and(factA,factC). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.36,0.5735147029405882,train,probably not,very good chance,It is probably not the case that 'Antoine is hungry and Sandra dropped the milk'.,There is a very good chance that 'Antoine is hungry and Sandra dropped the milk'.,0,'Antoine is hungry and Sandra dropped the milk'. We doubt that Julius is a swan. It is probably not the case that Lily is green. It is highly likely that Greg is a rhino. We believe that if either 'Lily is green' or 'Greg is a rhino' but not both then Bill went to the bedroom. It is highly likely that if either 'Lily is green' or 'Greg is a rhino' but not both then Brian is white. It is likely that if either 'Lily is green' or 'Greg is a rhino' but not both then Mary left the milk.,It is highly likely that 'Greg is a rhino' or 'Bill 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.2::factA. 0.25::factB. 0.9::factC. %hop1 0.75::factX:-xor(factB,factC). 0.9::factY:-xor(factB,factC). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.9187500000000001,0.3710742148429686,train,highly likely,impossible,It is highly likely that 'Greg is a rhino' or 'Bill went to the bedroom' or both.,It is impossible that 'Greg is a rhino' or 'Bill went to the bedroom' or both.,1,'Greg is a rhino' or 'Bill went to the bedroom' or both. Chances are slight that Lily is green. It is highly unlikely that Brian is white. There is little chance that Greg is yellow. We believe that if either 'Greg is yellow' or 'Brian is white' but not both then Bernhard is a rhino. There is little chance that if 'Greg is yellow' or 'Lily is green' or both then Mary got the milk. It is almost certain that if 'Brian is white' or 'Lily is green' or both then John dropped the apple.,Chances are slight that either 'John dropped the apple' 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.05::factB. 0.1::factC. %hop1 0.75::factX:-xor(factC,factB). 0.1::factY:-or(factC,factA). 0.95::factZ:-or(factB,factA). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.09275000000000003,0.5695139027805561,train,chances are slight,better than even,Chances are slight that either 'John dropped the apple' or 'Brian is white' but not both.,There is a better than even chance that either 'John dropped the apple' or 'Brian is white' but not both.,1,Either 'John dropped the apple' or 'Brian is white' but not both. We believe that Brian is a frog. It is probably not the case that Emily is a mouse. It is almost certain that Sandra left the milk. There is a better than even chance that if 'Brian is a frog' or 'Sandra left the milk' or both then Jessica is a sheep. Chances are about even that if 'Brian is a frog and Sandra left the milk' then John moved to the garden. It is probable that if 'Sandra left the milk' or 'Brian is a frog' or both then Lily is a lion.,It is probably not the case that 'John moved to the garden' 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.75::factA. 0.25::factB. 0.95::factC. %hop1 0.6::factX:-or(factA,factC). 0.5::factY:-and(factA,factC). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.798125,0.40968193638727746,train,very good chance,probably not,There is a very good chance that 'John moved to the garden' or 'Lily is a lion' or both.,It is probably not the case that 'John moved to the garden' or 'Lily is a lion' or both.,0,'John moved to the garden' or 'Lily is a lion' or both. There is a very good chance that Bernhard is a swan. We doubt that Brian is green. It is highly likely that Julius is a lion. We doubt that if 'Julius is a lion and Brian is green' then Jeff moved to the office. It is probable that if 'Julius is a lion' or 'Brian is green' or both then John picked up the apple. It is impossible that if 'Brian is green and Julius is a lion' then Lily is gray.,There is little chance that 'Brian is green' or 'John picked up 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.8::factA. 0.2::factB. 0.9::factC. %hop1 0.2::factX:-and(factC,factB). 0.7::factY:-or(factC,factB). 0.0::factZ:-and(factB,factC). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.704,0.4424884976995399,train,likely,little chance,It is likely that 'Brian is green' or 'John picked up the apple' or both.,There is little chance that 'Brian is green' or 'John picked up the apple' or both.,0,'Brian is green' or 'John picked up the apple' or both. It is probably the case that John got the apple. There is a very good chance that Lily is gray. It is probably the case that Julius is a rhino. It is probably the case that if 'John got the apple and Lily is gray' then Bernhard is a swan. We doubt that if either 'Lily is gray' or 'John got the apple' but not both then Mary went to the garden. There is a better than even chance that if either 'John got the apple' or 'Lily is gray' but not both then Brian is white.,It is probable that 'Julius is a rhino' 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.7::factA. 0.8::factB. 0.7::factC. %hop1 0.7::factX:-and(factA,factB). 0.2::factY:-xor(factB,factA). 0.6::factZ:-xor(factA,factB). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.7228,0.4488897779555911,train,probable,probably not,It is probable that 'Julius is a rhino' or 'Mary went to the garden' or both.,It is probably not the case that 'Julius is a rhino' or 'Mary went to the garden' or both.,1,'Julius is a rhino' or 'Mary went to the garden' or both. It is highly likely that Sandra is in the kitchen. There is a very good chance that Brian is a rhino. There is almost no chance that Lily is a swan. It is highly likely that if 'Lily is a swan and Sandra is in the kitchen' then Greg is white. It is improbable that if 'Brian is a rhino' or 'Sandra is in the kitchen' or both then Bernhard is yellow. There is almost no chance that if 'Brian is a rhino' or 'Lily is a swan' or both then Mary went to the office.,There is almost no chance that 'Mary went to the office' or 'Greg 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.9::factA. 0.8::factB. 0.02::factC. %hop1 0.9::factX:-and(factC,factA). 0.1::factY:-or(factB,factA). 0.02::factZ:-or(factB,factC). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.03195599999999999,0.27805561112222443,train,almost no chance,about even,There is almost no chance that 'Mary went to the office' or 'Greg is white' or both.,Chances are about even that 'Mary went to the office' or 'Greg is white' or both.,1,'Mary went to the office' or 'Greg is white' or both. It is almost certain that Winona is a mouse. It is highly unlikely that Sandra dropped the milk. It is probable that Mary moved to the office. It is almost certain that if 'Sandra dropped the milk and Mary moved to the office' then Emily is a wolf. We believe that if 'Winona is a mouse' or 'Sandra dropped the milk' or both then Lily is green. There is little chance that if either 'Winona is a mouse' or 'Sandra dropped the milk' but not both then Brian is a rhino.,It is almost certain that 'Winona is a mouse' 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.95::factA. 0.05::factB. 0.7::factC. %hop1 0.95::factX:-and(factB,factC). 0.75::factY:-or(factA,factB). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.9502499999999999,0.46889377875575117,train,almost certain,about even,It is almost certain that 'Winona is a mouse' or 'Brian is a rhino' or both.,Chances are about even that 'Winona is a mouse' or 'Brian is a rhino' or both.,1,'Winona is a mouse' or 'Brian is a rhino' or both. It is highly likely that Brian is green. There is a very good chance that Gertrude is a sheep. It is almost certain that Julius is white. It is probably the case that if 'Gertrude is a sheep and Julius is white' then Jeff dropped the apple. We doubt that if either 'Brian is green' or 'Gertrude is a sheep' but not both then Mary left the football. It is likely that if either 'Julius is white' or 'Brian is green' but not both then Lily is a rhino.,There is little chance that 'Gertrude is a sheep 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.9::factA. 0.8::factB. 0.95::factC. %hop1 0.7::factX:-and(factB,factC). 0.2::factY:-xor(factA,factB). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.76,0.7491498299659932,train,we believe,little chance,We believe that 'Gertrude is a sheep and Julius is white'.,There is little chance that 'Gertrude is a sheep and Julius is white'.,0,'Gertrude is a sheep and Julius is white'. It is impossible that Greg is a swan. It is impossible that Mary grabbed the apple. There is little chance that Brian is yellow. It is probable that if either 'Brian is yellow' or 'Mary grabbed the apple' but not both then Emily is a sheep. There is little chance that if 'Mary grabbed the apple and Brian is yellow' then Lily is a frog. There is little chance that if 'Brian is yellow and Mary grabbed the apple' then John moved to the garden.,It is probable that 'Brian is yellow' 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.0::factA. 0.0::factB. 0.1::factC. %hop1 0.7::factX:-xor(factC,factB). 0.1::factY:-and(factB,factC). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.10000000000000002,0.15183036607321465,train,little chance,probable,There is little chance that 'Brian is yellow' or 'John moved to the garden' or both.,It is probable that 'Brian is yellow' or 'John moved to the garden' or both.,0,'Brian is yellow' or 'John moved to the garden' or both. It is almost certain that Greg is yellow. It is highly unlikely that Julius is a rhino. It is likely that John got the apple. There is a very good chance that if 'John got the apple and Greg is yellow' then Lily is white. There is a very good chance that if 'John got the apple' or 'Julius is a rhino' or both then Bill left the milk. Chances are slight that if 'Greg is yellow and Julius is a rhino' then Brian is a lion.,It is probable that 'Lily is white' or 'John 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.95::factA. 0.05::factB. 0.7::factC. %hop1 0.8::factX:-and(factC,factA). 0.8::factY:-or(factC,factB). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.7,0.40568113622724544,train,probable,we doubt,It is probable that 'Lily is white' or 'John got the apple' or both.,We doubt that 'Lily is white' or 'John got the apple' or both.,1,'Lily is white' or 'John got the apple' or both. It is likely that John put down the apple. It is certain that Julius is a swan. There is a very good chance that Sandra got the milk. It is improbable that if 'Julius is a swan' or 'John put down the apple' or both then Bernhard is a rhino. There is a better than even chance that if either 'John put down the apple' or 'Sandra got the milk' but not both then Mary took the football. It is likely that if 'Sandra got the milk and John put down the apple' then Greg is a lion.,It is probably not the case that either 'Mary took the football' or 'Bernhard 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.7::factA. 1.0::factB. 0.8::factC. %hop1 0.1::factX:-or(factB,factA). 0.6::factY:-xor(factA,factC). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.28240000000000004,0.2826565313062612,train,probably not,very good chance,It is probably not the case that either 'Mary took the football' or 'Bernhard is a rhino' but not both.,There is a very good chance that either 'Mary took the football' or 'Bernhard is a rhino' but not both.,1,Either 'Mary took the football' or 'Bernhard is a rhino' but not both. It is probably the case that Emily is a cat. Chances are about even that Lily is white. It is certain that John got the milk. Chances are slight that if either 'Emily is a cat' or 'John got the milk' but not both then Brian is a rhino. It is unlikely that if either 'Lily is white' or 'John got the milk' but not both then Greg is a swan. It is impossible that if either 'Lily is white' or 'John got the milk' but not both then Mary went to the bedroom.,It is impossible that 'Mary went to the bedroom 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.7::factA. 0.5::factB. 1.0::factC. %hop1 0.1::factX:-xor(factA,factC). 0.2::factY:-xor(factB,factC). 0.0::factZ:-xor(factB,factC). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.0,0.1302260452090418,train,impossible,highly likely,It is impossible that 'Mary went to the bedroom and Emily is a cat'.,It is highly likely that 'Mary went to the bedroom and Emily is a cat'.,1,'Mary went to the bedroom and Emily is a cat'. Chances are about even that Mary got the milk. It is certain that John went to the garden. It is probably not the case that Greg is white. There is almost no chance that if 'John went to the garden and Greg is white' then Lily is a rhino. It is highly unlikely that if 'Greg is white' or 'John went to the garden' or both then Gertrude is a sheep. We believe that if 'Mary got the milk' or 'Greg is white' or both then Bernhard is a frog.,There is a better than even chance that 'Mary got the milk' 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.5::factA. 1.0::factB. 0.25::factC. %hop1 0.02::factX:-and(factB,factC). 0.05::factY:-or(factC,factB). 0.75::factZ:-or(factA,factC). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.5937500000000001,0.6425285057011403,train,better than even,impossible,There is a better than even chance that 'Mary got the milk' or 'Bernhard is a frog' or both.,It is impossible that 'Mary got the milk' or 'Bernhard is a frog' or both.,1,'Mary got the milk' or 'Bernhard is a frog' or both. It is unlikely that Mary went to the office. It is probable that Brian is gray. It is certain that Greg is white. Chances are slight that if 'Mary went to the office and Greg is white' then Winona is a wolf. It is almost certain that if either 'Brian is gray' or 'Greg is white' but not both then Lily is a frog. It is likely that if either 'Mary went to the office' or 'Greg is white' but not both then Sandra took the milk.,It is probably not the case that 'Winona is a wolf' 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.2::factA. 0.7::factB. 1.0::factC. %hop1 0.1::factX:-and(factA,factC). 0.95::factY:-xor(factB,factC). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.2993,0.127625525105021,train,probably not,highly likely,It is probably not the case that 'Winona is a wolf' or 'Lily is a frog' or both.,It is highly likely that 'Winona is a wolf' or 'Lily is a frog' or both.,1,'Winona is a wolf' or 'Lily is a frog' or both. It is highly unlikely that Greg is a rhino. There is a better than even chance that Winona is a mouse. It is highly likely that Julius is a frog. It is probably not the case that if either 'Winona is a mouse' or 'Julius is a frog' but not both then Jessica is a cat. It is likely that if 'Julius is a frog and Winona is a mouse' then Sumit is bored. It is likely that if either 'Julius is a frog' or 'Greg is a rhino' but not both then John went to the garden.,It is probably the case that 'Greg is a rhino 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.6::factB. 0.9::factC. %hop1 0.25::factX:-xor(factB,factC). 0.7::factY:-and(factC,factB). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.005250000000000003,0.19803960792158432,train,impossible,probably,It is impossible that 'Greg is a rhino and Jessica is a cat'.,It is probably the case that 'Greg is a rhino and Jessica is a cat'.,0,'Greg is a rhino and Jessica is a cat'. There is a better than even chance that Gertrude is a cat. It is highly likely that Bernhard is white. It is probably not the case that Emily is a sheep. It is probably the case that if 'Emily is a sheep' or 'Bernhard is white' or both then Brian is a rhino. It is probably not the case that if either 'Emily is a sheep' or 'Bernhard is white' but not both then Julius is a frog. It is probable that if either 'Emily is a sheep' or 'Gertrude is a cat' but not both then John picked up the apple.,There is a better than even chance that either 'Emily is a sheep' or 'Gertrude 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.6::factA. 0.9::factB. 0.25::factC. %hop1 0.7::factX:-or(factC,factB). 0.25::factY:-xor(factC,factB). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.55,0.19583916783356672,train,better than even,highly unlikely,There is a better than even chance that either 'Emily is a sheep' or 'Gertrude is a cat' but not both.,It is highly unlikely that either 'Emily is a sheep' or 'Gertrude is a cat' but not both.,1,Either 'Emily is a sheep' or 'Gertrude is a cat' but not both. There is almost no chance that Mary dropped the milk. There is almost no chance that Jessica is a sheep. We believe that Julius is a lion. There is little chance that if 'Mary dropped the milk' or 'Jessica is a sheep' or both then Bernhard is a frog. It is impossible that if 'Julius is a lion and Jessica is a sheep' then Lily is a frog. It is probably not the case that if 'Jessica is a sheep and Julius is a lion' then John moved to the garden.,There is a better than even chance that either 'Mary dropped the milk' 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.02::factA. 0.02::factB. 0.75::factC. %hop1 0.1::factX:-or(factA,factB). 0.0::factY:-and(factC,factB). 0.25::factZ:-and(factB,factC). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.0236,0.3166633326665333,train,almost no chance,better than even,There is almost no chance that either 'Mary dropped the milk' or 'John moved to the garden' but not both.,There is a better than even chance that either 'Mary dropped the milk' or 'John moved to the garden' but not both.,0,Either 'Mary dropped the milk' or 'John moved to the garden' but not both. It is probable that Daniel took the milk. There is a better than even chance that Lily is a frog. It is probably the case that John dropped the apple. We believe that if either 'John dropped the apple' or 'Daniel took the milk' but not both then Julius is white. We believe that if 'Lily is a frog' or 'Daniel took the milk' or both then Bernhard is green. It is certain that if either 'Lily is a frog' or 'John dropped the apple' but not both then Greg is yellow.,It is probably not the case that 'Bernhard is green 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.6::factB. 0.7::factC. %hop1 0.75::factX:-xor(factC,factA). 0.75::factY:-or(factB,factA). 1.0::factZ:-xor(factB,factC). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.2820000000000001,0.13522704540908181,train,probably not,almost certain,It is probably not the case that 'Bernhard is green and Greg is yellow'.,It is almost certain that 'Bernhard is green and Greg is yellow'.,1,'Bernhard is green and Greg is yellow'. It is probably the case that Mary put down the apple. It is unlikely that Greg is white. It is impossible that Lily is a swan. There is a better than even chance that if 'Greg is white' or 'Lily is a swan' or both then Brian is green. There is almost no chance that if either 'Greg is white' or 'Mary put down the apple' but not both then Jeff discarded the milk. It is impossible that if 'Lily is a swan and Mary put down the apple' then Sandra is in the kitchen.,It is impossible that 'Jeff discarded 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.7::factA. 0.2::factB. 0.0::factC. %hop1 0.6::factX:-or(factB,factC). 0.02::factY:-xor(factB,factA). 0.0::factZ:-and(factC,factA). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.0011999999999999995,0.07441488297659532,train,impossible,highly likely,It is impossible that 'Jeff discarded the milk and Greg is white'.,It is highly likely that 'Jeff discarded the milk and Greg is white'.,1,'Jeff discarded the milk and Greg is white'. It is almost certain that Greg is gray. It is probable that Emily is a wolf. There is almost no chance that Brian is a frog. It is highly unlikely that if 'Brian is a frog' or 'Greg is gray' or both then Mary moved to the garden. Chances are about even that if either 'Brian is a frog' or 'Greg is gray' but not both then Julius is yellow. There is a very good chance that if either 'Greg is gray' or 'Brian is a frog' but not both then Daniel got the football.,It is highly unlikely that 'Daniel got the football 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.95::factA. 0.7::factB. 0.02::factC. %hop1 0.05::factX:-or(factC,factA). 0.5::factY:-xor(factC,factA). 0.8::factZ:-xor(factA,factC). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.03728000000000001,0.6285257051410282,train,highly unlikely,almost certain,It is highly unlikely that 'Daniel got the football and Mary moved to the garden'.,It is almost certain that 'Daniel got the football and Mary moved to the garden'.,1,'Daniel got the football and Mary moved to the garden'. It is probably not the case that Lily is a swan. It is unlikely that Mary moved to the garden. Chances are slight that Brian is white. It is probable that if 'Lily is a swan and Mary moved to the garden' then Gertrude is a sheep. Chances are slight that if either 'Lily is a swan' or 'Mary moved to the garden' but not both then John put down the apple. There is almost no chance that if 'Mary moved to the garden and Lily is a swan' then Bernhard is a rhino.,It is probably not the case that 'Lily is a swan' or 'Bernhard 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.25::factA. 0.2::factB. 0.1::factC. %hop1 0.7::factX:-and(factA,factB). 0.1::factY:-xor(factA,factB). 0.02::factZ:-and(factB,factA). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.25,0.15583116623324664,train,probably not,we believe,It is probably not the case that 'Lily is a swan' or 'Bernhard is a rhino' or both.,We believe that 'Lily is a swan' or 'Bernhard is a rhino' or both.,1,'Lily is a swan' or 'Bernhard is a rhino' or both. There is little chance that Julius is yellow. There is a very good chance that Lily is yellow. There is a very good chance that John went to the kitchen. It is almost certain that if 'John went to the kitchen and Lily is yellow' then Greg is a frog. It is highly likely that if 'Julius is yellow' or 'John went to the kitchen' or both then Brian is green. It is probable that if 'Lily is yellow' or 'Julius is yellow' or both then Bernhard is a lion.,It is impossible that 'Greg is a frog' or 'John 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.8::factB. 0.8::factC. %hop1 0.95::factX:-and(factC,factB). 0.9::factY:-or(factA,factC). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.8,0.16563312662532506,train,very good chance,impossible,There is a very good chance that 'Greg is a frog' or 'John went to the kitchen' or both.,It is impossible that 'Greg is a frog' or 'John went to the kitchen' or both.,0,'Greg is a frog' or 'John went to the kitchen' or both. It is impossible that Daniel dropped the milk. There is little chance that Bernhard is a frog. It is highly unlikely that John got the apple. It is probable that if 'John got the apple' or 'Daniel dropped the milk' or both then Fred went to the garden. It is likely that if 'Daniel dropped the milk' or 'Bernhard is a frog' or both then Julius is gray. It is probably the case that if 'Bernhard is a frog' or 'Daniel dropped the milk' or both then Brian is a swan.,There is a better than even chance that either 'John got 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.0::factA. 0.1::factB. 0.05::factC. %hop1 0.7::factX:-or(factC,factA). 0.7::factY:-or(factA,factB). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.14000000000000004,0.03120624124824965,train,chances are slight,better than even,Chances are slight that either 'John got the apple' or 'Bernhard is a frog' but not both.,There is a better than even chance that either 'John got the apple' or 'Bernhard is a frog' but not both.,0,Either 'John got the apple' or 'Bernhard is a frog' but not both. It is almost certain that Fred put down the apple. There is almost no chance that Jessica is a sheep. It is highly likely that John went to the kitchen. There is almost no chance that if either 'Fred put down the apple' or 'Jessica is a sheep' but not both then Winona is a sheep. It is unlikely that if 'Jessica is a sheep and Fred put down the apple' then Greg is a lion. It is impossible that if 'John went to the kitchen' or 'Fred put down the apple' or both then Bernhard is a frog.,It is impossible that 'Winona is a sheep and Jessica 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.95::factA. 0.02::factB. 0.9::factC. %hop1 0.02::factX:-xor(factA,factB). 0.2::factY:-and(factB,factA). 0.0::factZ:-or(factC,factA). %hop2 conclusion:-and(factX,factB). query(conclusion). ",2.0000000000000032e-05,0.7693538707741548,train,impossible,very good chance,It is impossible that 'Winona is a sheep and Jessica is a sheep'.,There is a very good chance that 'Winona is a sheep and Jessica is a sheep'.,1,'Winona is a sheep and Jessica is a sheep'. There is little chance that Sandra dropped the milk. It is probably not the case that Julius is yellow. It is probably the case that Brian is a lion. It is highly unlikely that if 'Julius is yellow and Brian is a lion' then Greg is a rhino. We believe that if 'Sandra dropped the milk and Julius is yellow' then Jessica is a cat. There is little chance that if 'Brian is a lion' or 'Sandra dropped the milk' or both then John took the apple.,It is highly likely that 'Brian is a lion 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.1::factA. 0.25::factB. 0.7::factC. %hop1 0.05::factX:-and(factB,factC). 0.75::factY:-and(factA,factB). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.008750000000000003,0.19143828765753151,train,impossible,highly likely,It is impossible that 'Brian is a lion and Greg is a rhino'.,It is highly likely that 'Brian is a lion and Greg is a rhino'.,0,'Brian is a lion and Greg is a rhino'. We doubt that Brian is a frog. There is little chance that Julius is white. We doubt that Bill left the milk. There is almost no chance that if 'Bill left the milk and Julius is white' then Mary took the football. It is improbable that if 'Brian is a frog' or 'Bill left the milk' or both then Bernhard is a lion. There is a better than even chance that if either 'Bill left the milk' or 'Brian is a frog' but not both then John went to the kitchen.,It is probably not the case that 'John went to the kitchen' 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. 0.1::factB. 0.2::factC. %hop1 0.02::factX:-and(factC,factB). 0.1::factY:-or(factA,factC). 0.6::factZ:-xor(factC,factA). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.296,0.14742948589717944,train,probably not,very good chance,It is probably not the case that 'John went to the kitchen' or 'Bill left the milk' or both.,There is a very good chance that 'John went to the kitchen' or 'Bill left the milk' or both.,1,'John went to the kitchen' or 'Bill left the milk' or both. It is almost certain that Brian is a swan. Chances are slight that Greg is a swan. There is almost no chance that Yann is thirsty. It is likely that if 'Brian is a swan and Yann is thirsty' then John dropped the milk. We doubt that if 'Yann is thirsty' or 'Brian is a swan' or both then Mary went to the bedroom. It is unlikely that if either 'Yann is thirsty' or 'Greg is a swan' but not both then Julius is green.,There is almost no chance that 'Julius is green 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.1::factB. 0.02::factC. %hop1 0.7::factX:-and(factA,factC). 0.2::factY:-or(factC,factA). 0.2::factZ:-xor(factC,factB). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.022040000000000008,0.6593318663732747,train,almost no chance,probably,There is almost no chance that 'Julius is green and Brian is a swan'.,It is probably the case that 'Julius is green and Brian is a swan'.,1,'Julius is green and Brian is a swan'. It is improbable that Greg is a frog. There is a very good chance that Julius is a swan. There is little chance that John moved to the office. It is certain that if 'John moved to the office and Greg is a frog' then Lily is gray. It is probably the case that if 'Greg is a frog and John moved to the office' then Jessica is a cat. It is certain that if 'Julius is a swan' or 'Greg is a frog' or both then Brian is a lion.,Chances are slight that 'Lily is gray' 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.8::factB. 0.1::factC. %hop1 1.0::factX:-and(factC,factA). 0.7::factY:-and(factA,factC). 1.0::factZ:-or(factB,factA). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.802,0.3200640128025605,train,very good chance,chances are slight,There is a very good chance that 'Lily is gray' or 'Julius is a swan' or both.,Chances are slight that 'Lily is gray' or 'Julius is a swan' or both.,0,'Lily is gray' or 'Julius is a swan' or both. Chances are slight that Sandra got the football. There is a better than even chance that Lily is a swan. It is probably not the case that Gertrude is a sheep. Chances are about even that if 'Lily is a swan and Gertrude is a sheep' then Bernhard is green. It is impossible that if 'Sandra got the football and Lily is a swan' then Mary left the milk. It is highly unlikely that if 'Gertrude is a sheep' or 'Sandra got the football' or both then Antoine is thirsty.,It is highly unlikely that 'Mary left the milk' 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.6::factB. 0.25::factC. %hop1 0.5::factX:-and(factB,factC). 0.0::factY:-and(factA,factB). 0.05::factZ:-or(factC,factA). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.6,0.08941788357671535,train,better than even,highly unlikely,There is a better than even chance that 'Mary left the milk' or 'Lily is a swan' or both.,It is highly unlikely that 'Mary left the milk' or 'Lily is a swan' or both.,0,'Mary left the milk' or 'Lily is a swan' or both. It is highly likely that Julius is a frog. There is almost no chance that John picked up the apple. It is highly likely that Fred left the football. It is highly unlikely that if 'Julius is a frog and John picked up the apple' then Lily is yellow. There is almost no chance that if 'Julius is a frog' or 'Fred left the football' or both then Bernhard is a lion. It is certain that if either 'Julius is a frog' or 'Fred left the football' but not both then Brian is a swan.,It is probable that 'Lily 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.9::factA. 0.02::factB. 0.9::factC. %hop1 0.05::factX:-and(factA,factB). 0.02::factY:-or(factA,factC). 1.0::factZ:-xor(factA,factC). %hop2 conclusion:-and(factX,factY). query(conclusion). ",1.800000000000002e-05,0.4892978595719144,train,impossible,probable,It is impossible that 'Lily is yellow and Bernhard is a lion'.,It is probable that 'Lily is yellow and Bernhard is a lion'.,0,'Lily is yellow and Bernhard is a lion'. There is almost no chance that Julius is white. There is a better than even chance that Brian is yellow. There is a better than even chance that Greg is a swan. We doubt that if 'Julius is white and Brian is yellow' then Emily is a mouse. It is probably the case that if either 'Brian is yellow' or 'Greg is a swan' but not both then Mary got the apple. Chances are about even that if 'Julius is white' or 'Greg is a swan' or both then John went to the garden.,We believe that either 'Julius is white' 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.02::factA. 0.6::factB. 0.6::factC. %hop1 0.2::factX:-and(factA,factB). 0.7::factY:-xor(factB,factC). 0.5::factZ:-or(factA,factC). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.34256000000000003,0.014202840568113623,train,probably not,we believe,It is probably not the case that either 'Julius is white' or 'Mary got the apple' but not both.,We believe that either 'Julius is white' or 'Mary got the apple' but not both.,0,Either 'Julius is white' or 'Mary got the apple' but not both. Chances are slight that Julius is white. It is highly likely that Jason is tired. It is almost certain that Mary went to the office. It is probably the case that if 'Julius is white' or 'Mary went to the office' or both then John moved to the garden. Chances are about even that if either 'Mary went to the office' or 'Jason is tired' but not both then Greg is a lion. It is highly unlikely that if either 'Jason is tired' or 'Mary went to the office' but not both then Bernhard is white.,There is almost no chance that either 'Greg is a lion' 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.1::factA. 0.9::factB. 0.95::factC. %hop1 0.7::factX:-or(factA,factC). 0.5::factY:-xor(factC,factB). 0.05::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.9249999999999999,0.19343868773754752,train,highly likely,almost no chance,It is highly likely that either 'Greg is a lion' or 'Mary went to the office' but not both.,There is almost no chance that either 'Greg is a lion' or 'Mary went to the office' but not both.,0,Either 'Greg is a lion' or 'Mary went to the office' but not both. It is probably not the case that Julius is green. It is highly unlikely that Brian is white. It is improbable that Fred left the football. There is a better than even chance that if 'Brian is white' or 'Fred left the football' or both then Winona is a wolf. There is little chance that if 'Julius is green and Fred left the football' then John discarded the apple. There is a better than even chance that if either 'Fred left the football' or 'Brian is white' but not both then Lily is a rhino.,It is highly likely 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.25::factA. 0.05::factB. 0.1::factC. %hop1 0.6::factX:-or(factB,factC). 0.1::factY:-and(factA,factC). 0.6::factZ:-xor(factC,factB). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.10700000000000003,0.17823564712942588,train,chances are slight,highly likely,Chances are slight that 'Brian is white' or 'Winona is a wolf' or both.,It is highly likely that 'Brian is white' or 'Winona is a wolf' or both.,0,'Brian is white' or 'Winona is a wolf' or both. It is probable that Julius is a swan. There is little chance that Bill got the milk there. It is highly likely that Brian is green. It is highly unlikely that if 'Brian is green' or 'Bill got the milk there' or both then John discarded the apple. It is probable that if either 'Brian is green' or 'Bill got the milk there' but not both then Bernhard is a frog. It is almost certain that if 'Brian is green' or 'Bill got the milk there' or both then Mary went to the garden.,There is a better than even chance that either 'Bernhard is a frog' 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.7::factA. 0.1::factB. 0.9::factC. %hop1 0.05::factX:-or(factC,factB). 0.7::factY:-xor(factC,factB). 0.95::factZ:-or(factC,factB). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.5620999999999999,0.3274654930986197,train,better than even,highly unlikely,There is a better than even chance that either 'Bernhard is a frog' or 'John discarded the apple' but not both.,It is highly unlikely that either 'Bernhard is a frog' or 'John discarded the apple' but not both.,1,Either 'Bernhard is a frog' or 'John discarded the apple' but not both. Chances are about even that John went to the kitchen. It is probably the case that Lily is a lion. It is highly likely that Winona is a wolf. It is unlikely that if either 'Winona is a wolf' or 'Lily is a lion' but not both then Julius is a swan. Chances are about even that if either 'Lily is a lion' or 'John went to the kitchen' but not both then Greg is green. It is highly unlikely that if 'John went to the kitchen' or 'Lily is a lion' or both then Brian is a frog.,Chances are about even that either 'John went to the kitchen' 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.5::factA. 0.7::factB. 0.9::factC. %hop1 0.2::factX:-xor(factC,factB). 0.5::factY:-xor(factB,factA). 0.05::factZ:-or(factA,factB). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5,0.23284656931386277,train,about even,certain,Chances are about even that either 'John went to the kitchen' or 'Winona is a wolf' but not both.,It is certain that either 'John went to the kitchen' or 'Winona is a wolf' but not both.,1,Either 'John went to the kitchen' or 'Winona is a wolf' but not both. It is certain that Mary left the football. It is highly unlikely that John moved to the office. There is almost no chance that Julius is a lion. It is impossible that if 'Julius is a lion' or 'John moved to the office' or both then Yann is thirsty. It is highly likely that if 'Mary left the football' or 'Julius is a lion' or both then Greg is a swan. It is probably not the case that if 'Julius is a lion' or 'John moved to the office' or both then Daniel put down the milk.,It is impossible that 'Greg is a swan 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 1.0::factA. 0.05::factB. 0.02::factC. %hop1 0.0::factX:-or(factC,factB). 0.9::factY:-or(factA,factC). 0.25::factZ:-or(factC,factB). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.0,0.5975195039007801,train,impossible,certain,It is impossible that 'Greg is a swan and Yann is thirsty'.,It is certain that 'Greg is a swan and Yann is thirsty'.,1,'Greg is a swan and Yann is thirsty'. It is probably the case that Julius is white. It is probably not the case that Bernhard is a swan. It is highly unlikely that Daniel got the milk. It is highly likely that if 'Daniel got the milk and Bernhard is a swan' then Greg is gray. It is almost certain that if either 'Daniel got the milk' or 'Julius is white' but not both then Jessica is a mouse. It is highly unlikely that if 'Bernhard is a swan' or 'Julius is white' or both then Mary went to the kitchen.,It is impossible that 'Daniel got the milk' 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.7::factA. 0.25::factB. 0.05::factC. %hop1 0.9::factX:-and(factC,factB). 0.95::factY:-xor(factC,factA). 0.05::factZ:-or(factB,factA). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.68175,0.6599319863972795,train,likely,impossible,It is likely that 'Daniel got the milk' or 'Jessica is a mouse' or both.,It is impossible that 'Daniel got the milk' or 'Jessica is a mouse' or both.,0,'Daniel got the milk' or 'Jessica is a mouse' or both. It is likely that Jeff moved to the garden. Chances are about even that John got the apple. There is a better than even chance that Jessica is a mouse. It is likely that if 'John got the apple and Jessica is a mouse' then Greg is yellow. It is highly unlikely that if 'Jeff moved to the garden and Jessica is a mouse' then Brian is a rhino. It is certain that if 'Jessica is a mouse' or 'John got the apple' or both then Julius is white.,Chances are about even that either 'Greg 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.5::factB. 0.6::factC. %hop1 0.7::factX:-and(factB,factC). 0.05::factY:-and(factA,factC). 1.0::factZ:-or(factC,factB). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.39,0.6217243448689738,train,about even,highly unlikely,Chances are about even that either 'Greg is yellow' or 'Jessica is a mouse' but not both.,It is highly unlikely that either 'Greg is yellow' or 'Jessica is a mouse' but not both.,1,Either 'Greg is yellow' or 'Jessica is a mouse' but not both. It is certain that Greg is a swan. It is certain that Daniel got the football. There is a very good chance that Mary left the football. It is certain that if 'Daniel got the football and Greg is a swan' then Brian is white. It is improbable that if either 'Mary left the football' or 'Daniel got the football' but not both then Lily is a lion. It is almost certain that if 'Daniel got the football' or 'Mary left the football' or both then John went to the bedroom.,Chances are slight that either 'Lily is a lion' 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 1.0::factA. 1.0::factB. 0.8::factC. %hop1 1.0::factX:-and(factB,factA). 0.1::factY:-xor(factC,factB). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.8200000000000001,0.42388477695539106,train,very good chance,chances are slight,There is a very good chance that either 'Lily is a lion' or 'Mary left the football' but not both.,Chances are slight that either 'Lily is a lion' or 'Mary left the football' but not both.,0,Either 'Lily is a lion' or 'Mary left the football' but not both. There is little chance that Mary dropped the apple. We believe that Brian is a rhino. Chances are slight that Bill went to the kitchen. It is highly unlikely that if 'Brian is a rhino and Mary dropped the apple' then John is in the garden. It is highly unlikely that if 'Brian is a rhino and Mary dropped the apple' then Julius is yellow. It is highly likely that if either 'Bill went to the kitchen' or 'Brian is a rhino' but not both then Greg is gray.,It is certain that 'John is in the garden 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.75::factB. 0.1::factC. %hop1 0.05::factX:-and(factB,factA). 0.05::factY:-and(factB,factA). 0.9::factZ:-xor(factC,factB). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.003750000000000002,0.5311062212442489,train,impossible,certain,It is impossible that 'John is in the garden and Brian is a rhino'.,It is certain that 'John is in the garden and Brian is a rhino'.,0,'John is in the garden and Brian is a rhino'. There is almost no chance that John went to the garden. It is probably not the case that Jason is tired. It is impossible that Julius is yellow. It is probable that if either 'Jason is tired' or 'Julius is yellow' but not both then Mary put down the apple. It is improbable that if either 'Julius is yellow' or 'Jason is tired' but not both then Daniel took the apple. Chances are about even that if 'Jason is tired and John went to the garden' then Jessica is a sheep.,There is almost no chance that either 'Julius is yellow' or 'John 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.02::factA. 0.25::factB. 0.0::factC. %hop1 0.7::factX:-xor(factB,factC). 0.1::factY:-xor(factC,factB). 0.5::factZ:-and(factB,factA). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.02,0.48589717943588717,train,almost no chance,probable,There is almost no chance that either 'Julius is yellow' or 'John went to the garden' but not both.,It is probable that either 'Julius is yellow' or 'John went to the garden' but not both.,1,Either 'Julius is yellow' or 'John went to the garden' but not both. There is almost no chance that John went to the garden. There is little chance that Julius is gray. It is unlikely that Winona is a wolf. It is unlikely that if either 'Julius is gray' or 'Winona is a wolf' but not both then Antoine is hungry. We believe that if either 'John went to the garden' or 'Julius is gray' but not both then Emily is a mouse. It is almost certain that if 'Julius is gray and Winona is a wolf' then Mary moved to the office.,It is highly unlikely that either 'Mary moved to the office' or 'John 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.02::factA. 0.1::factB. 0.2::factC. %hop1 0.2::factX:-xor(factB,factC). 0.75::factY:-xor(factA,factB). 0.95::factZ:-and(factB,factC). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.03824000000000002,0.3196639327865573,train,highly unlikely,very good chance,It is highly unlikely that either 'Mary moved to the office' or 'John went to the garden' but not both.,There is a very good chance that either 'Mary moved to the office' or 'John went to the garden' but not both.,1,Either 'Mary moved to the office' or 'John went to the garden' but not both. It is unlikely that Lily is a lion. We believe that Julius is a frog. It is highly likely that Sandra took the football. It is probable that if either 'Julius is a frog' or 'Lily is a lion' but not both then Bill moved to the office. It is probably not the case that if either 'Sandra took the football' or 'Julius is a frog' but not both then Jeff went to the garden. It is improbable that if 'Julius is a frog' or 'Lily is a lion' or both then Bernhard is gray.,It is highly likely that 'Sandra took the football' 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.2::factA. 0.75::factB. 0.9::factC. %hop1 0.7::factX:-xor(factB,factA). 0.25::factY:-xor(factC,factB). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.9187500000000001,0.5749149829965993,train,highly likely,little chance,It is highly likely that 'Sandra took the football' or 'Jeff went to the garden' or both.,There is little chance that 'Sandra took the football' or 'Jeff went to the garden' or both.,1,'Sandra took the football' or 'Jeff went to the garden' or both. It is unlikely that Julius is a swan. It is highly likely that John left the milk. It is highly unlikely that Brian is a swan. We believe that if 'Brian is a swan' or 'Julius is a swan' or both then Gertrude is a sheep. It is probably the case that if either 'Julius is a swan' or 'Brian is a swan' but not both then Lily is a lion. There is almost no chance that if 'Julius is a swan and Brian is a swan' then Mary went to the hallway.,We believe that either 'Lily 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.2::factA. 0.9::factB. 0.05::factC. %hop1 0.75::factX:-or(factC,factA). 0.7::factY:-xor(factA,factC). 0.02::factZ:-and(factA,factC). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.7712,0.6071214242848569,train,we believe,chances are slight,We believe that either 'Lily is a lion' or 'John left the milk' but not both.,Chances are slight that either 'Lily is a lion' or 'John left the milk' but not both.,1,Either 'Lily is a lion' or 'John left the milk' but not both. It is almost certain that Brian is white. It is likely that Winona is a mouse. It is improbable that Mary put down the apple. It is likely that if 'Mary put down the apple and Winona is a mouse' then Bernhard is a swan. It is highly likely that if 'Brian is white and Winona is a mouse' then John moved to the garden. It is unlikely that if 'Winona is a mouse' or 'Brian is white' or both then Julius is yellow.,It is almost certain that either 'Winona is a mouse' 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.95::factA. 0.7::factB. 0.1::factC. %hop1 0.7::factX:-and(factC,factB). 0.9::factY:-and(factA,factB). 0.2::factZ:-or(factB,factA). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.10149999999999999,0.26905381076215246,train,chances are slight,almost certain,Chances are slight that either 'Winona is a mouse' or 'John moved to the garden' but not both.,It is almost certain that either 'Winona is a mouse' or 'John moved to the garden' but not both.,0,Either 'Winona is a mouse' or 'John moved to the garden' but not both. Chances are about even that Bernhard is a swan. It is probably the case that Mary went to the kitchen. It is highly unlikely that Lily is a rhino. It is certain that if 'Mary went to the kitchen' or 'Bernhard is a swan' or both then Brian is green. It is probable that if either 'Mary went to the kitchen' or 'Lily is a rhino' but not both then Jessica is a cat. It is likely that if 'Bernhard is a swan' or 'Mary went to the kitchen' or both then Greg is gray.,It is probably not the case that 'Jessica is a cat and Greg 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. 0.7::factB. 0.05::factC. %hop1 1.0::factX:-or(factB,factA). 0.7::factY:-xor(factB,factC). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.3295249999999999,0.49809961992398477,train,probably not,likely,It is probably not the case that 'Jessica is a cat and Greg is gray'.,It is likely that 'Jessica is a cat and Greg is gray'.,1,'Jessica is a cat and Greg is gray'. It is likely that Greg is a rhino. We doubt that Brian is a frog. It is likely that Lily is white. Chances are about even that if 'Brian is a frog and Greg is a rhino' then Antoine is bored. It is probably the case that if either 'Lily is white' or 'Greg is a rhino' but not both then Mary dropped the milk. There is a better than even chance that if 'Brian is a frog and Greg is a rhino' then John left the football.,It is probable that 'Antoine is bored 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.7::factA. 0.2::factB. 0.7::factC. %hop1 0.5::factX:-and(factB,factA). 0.7::factY:-xor(factC,factA). 0.6::factZ:-and(factB,factA). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.07,0.5857171434286857,train,highly unlikely,probable,It is highly unlikely that 'Antoine is bored and Greg is a rhino'.,It is probable that 'Antoine is bored and Greg is a rhino'.,0,'Antoine is bored and Greg is a rhino'. It is likely that John moved to the garden. It is likely that Jessica is a mouse. We believe that Jeff went to the bedroom. It is probable that if 'Jeff went to the bedroom and Jessica is a mouse' then Gertrude is a cat. We believe that if 'Jessica is a mouse and Jeff went to the bedroom' then Mary dropped the milk. There is a very good chance that if 'Jessica is a mouse and John moved to the garden' then Bernhard is a rhino.,It is impossible that either 'Jeff went to the bedroom' 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.7::factB. 0.75::factC. %hop1 0.7::factX:-and(factC,factB). 0.75::factY:-and(factB,factC). 0.8::factZ:-and(factB,factA). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.4,0.5569113822764553,train,about even,impossible,Chances are about even that either 'Jeff went to the bedroom' or 'Jessica is a mouse' but not both.,It is impossible that either 'Jeff went to the bedroom' or 'Jessica is a mouse' but not both.,0,Either 'Jeff went to the bedroom' or 'Jessica is a mouse' but not both. There is almost no chance that Greg is yellow. We believe that Jessica is a mouse. It is almost certain that John discarded the apple. It is improbable that if either 'Greg is yellow' or 'John discarded the apple' but not both then Lily is a lion. It is impossible that if 'Greg is yellow' or 'John discarded the apple' or both then Julius is white. It is impossible that if 'Greg is yellow and John discarded the apple' then Mary went to the hallway.,We believe that 'Greg 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.02::factA. 0.75::factB. 0.95::factC. %hop1 0.1::factX:-xor(factA,factC). 0.0::factY:-or(factA,factC). 0.0::factZ:-and(factA,factC). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.755,0.3754750950190038,train,we believe,we doubt,We believe that 'Greg is yellow' or 'Jessica is a mouse' or both.,We doubt that 'Greg is yellow' or 'Jessica is a mouse' or both.,1,'Greg is yellow' or 'Jessica is a mouse' or both. Chances are slight that Julius is a lion. It is impossible that Brian is white. There is almost no chance that Greg is yellow. It is likely that if 'Greg is yellow and Julius is a lion' then Lily is a rhino. It is unlikely that if 'Brian is white' or 'Julius is a lion' or both then John got the apple. It is probable that if either 'Greg is yellow' or 'Brian is white' but not both then Mary dropped the milk.,It is probably the case that 'Greg is yellow' or 'John 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.0::factB. 0.02::factC. %hop1 0.7::factX:-and(factC,factA). 0.2::factY:-or(factB,factA). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.0396,0.5175035007001401,train,highly unlikely,probably,It is highly unlikely that 'Greg is yellow' or 'John got the apple' or both.,It is probably the case that 'Greg is yellow' or 'John got the apple' or both.,0,'Greg is yellow' or 'John got the apple' or both. There is a very good chance that Julius is a swan. There is almost no chance that Lily is green. We believe that Jeff went to the garden. We believe that if either 'Lily is green' or 'Julius is a swan' but not both then Antoine is hungry. It is probable that if 'Julius is a swan' or 'Lily is green' or both then Bernhard is yellow. It is almost certain that if 'Lily is green' or 'Jeff went to the garden' or both then Mary dropped the milk.,It is almost certain that 'Antoine is hungry 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.02::factB. 0.75::factC. %hop1 0.75::factX:-xor(factB,factA). 0.7::factY:-or(factA,factB). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.4137,0.5333066613322665,train,about even,almost certain,Chances are about even that 'Antoine is hungry and Bernhard is yellow'.,It is almost certain that 'Antoine is hungry and Bernhard is yellow'.,0,'Antoine is hungry and Bernhard is yellow'. It is certain that Mary went to the bedroom. It is probable that Bernhard is white. There is a better than even chance that Jason is bored. It is highly unlikely that if 'Mary went to the bedroom and Bernhard is white' then Brian is a frog. It is improbable that if 'Jason is bored' or 'Bernhard is white' or both then Lily is a lion. Chances are slight that if 'Mary went to the bedroom and Jason is bored' then Winona is a mouse.,It is likely that either 'Bernhard is white' 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 1.0::factA. 0.7::factB. 0.6::factC. %hop1 0.05::factX:-and(factA,factB). 0.1::factY:-or(factC,factB). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.6649999999999999,0.19903980796159232,train,likely,chances are slight,It is likely that either 'Bernhard is white' or 'Brian is a frog' but not both.,Chances are slight that either 'Bernhard is white' or 'Brian is a frog' but not both.,1,Either 'Bernhard is white' or 'Brian is a frog' but not both. There is almost no chance that Bernhard is yellow. Chances are slight that Julius is gray. Chances are about even that Brian is green. It is impossible that if 'Julius is gray' or 'Brian is green' or both then Winona is a mouse. It is highly likely that if 'Bernhard is yellow and Brian is green' then Bill went to the kitchen. It is probably not the case that if either 'Julius is gray' or 'Bernhard is yellow' but not both then Greg is a swan.,Chances are about even that either 'Winona is a mouse' 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.02::factA. 0.1::factB. 0.5::factC. %hop1 0.0::factX:-or(factB,factC). 0.9::factY:-and(factA,factC). 0.25::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.029000000000000012,0.28885777155431086,train,almost no chance,about even,There is almost no chance that either 'Winona is a mouse' or 'Greg is a swan' but not both.,Chances are about even that either 'Winona is a mouse' or 'Greg is a swan' but not both.,0,Either 'Winona is a mouse' or 'Greg is a swan' but not both. There is almost no chance that Emily is a sheep. It is probably not the case that Bernhard is a rhino. We believe that Mary took the football. There is a better than even chance that if either 'Bernhard is a rhino' or 'Emily is a sheep' but not both then Bill went to the garden. There is a very good chance that if 'Emily is a sheep and Bernhard is a rhino' then Sandra dropped the milk. There is a very good chance that if 'Bernhard is a rhino' or 'Mary took the football' or both then John discarded the milk.,It is highly likely that either 'Bill went to the garden' 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.02::factA. 0.25::factB. 0.75::factC. %hop1 0.6::factX:-xor(factB,factA). 0.8::factY:-and(factA,factB). 0.8::factZ:-or(factB,factC). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.15799999999999997,0.3066613322664533,train,we doubt,highly likely,We doubt that either 'Bill went to the garden' or 'Emily is a sheep' but not both.,It is highly likely that either 'Bill went to the garden' or 'Emily is a sheep' but not both.,0,Either 'Bill went to the garden' or 'Emily is a sheep' but not both. It is probably not the case that John got the milk. We doubt that Greg is a lion. It is likely that Winona is a mouse. Chances are about even that if 'Winona is a mouse' or 'Greg is a lion' or both then Mary went to the kitchen. We believe that if 'Winona is a mouse' or 'John got the milk' or both then Jessica is a sheep. There is almost no chance that if either 'Greg is a lion' or 'John got the milk' but not both then Fred moved to the office.,It is unlikely that 'Greg 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.25::factA. 0.2::factB. 0.7::factC. %hop1 0.5::factX:-or(factC,factB). 0.75::factY:-or(factC,factA). 0.02::factZ:-xor(factB,factA). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.20400000000000004,0.5709141828365674,train,unlikely,likely,It is unlikely that 'Greg is a lion' or 'Fred moved to the office' or both.,It is likely that 'Greg is a lion' or 'Fred moved to the office' or both.,1,'Greg is a lion' or 'Fred moved to the office' or both. We believe that Julius is a frog. Chances are about even that Brian is green. It is likely that Greg is white. Chances are about even that if either 'Brian is green' or 'Greg is white' but not both then Jason is tired. It is probably the case that if 'Greg is white and Brian is green' then Mary moved to the garden. It is probably the case that if 'Brian is green and Greg is white' then John discarded the apple.,It is probably the case that 'Julius is a frog 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.75::factA. 0.5::factB. 0.7::factC. %hop1 0.5::factX:-xor(factB,factC). 0.7::factY:-and(factC,factB). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.18375,0.6243248649729946,train,unlikely,probably,It is unlikely that 'Julius is a frog and John discarded the apple'.,It is probably the case that 'Julius is a frog and John discarded the apple'.,0,'Julius is a frog and John discarded the apple'. It is highly unlikely that Gertrude is a sheep. It is highly unlikely that Jessica is a mouse. There is a very good chance that Mary went to the kitchen. It is probable that if 'Mary went to the kitchen and Gertrude is a sheep' then Brian is a swan. It is probably not the case that if either 'Gertrude is a sheep' or 'Mary went to the kitchen' but not both then John put down the apple. It is unlikely that if 'Gertrude is a sheep and Mary went to the kitchen' then Bernhard is yellow.,There is a very good chance that 'Jessica is a mouse 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.05::factA. 0.05::factB. 0.8::factC. %hop1 0.7::factX:-and(factC,factA). 0.25::factY:-xor(factA,factC). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.0014000000000000004,0.6669333866773355,train,impossible,very good chance,It is impossible that 'Jessica is a mouse and Brian is a swan'.,There is a very good chance that 'Jessica is a mouse and Brian is a swan'.,0,'Jessica is a mouse and Brian is a swan'. There is almost no chance that Julius is a lion. It is probably not the case that Jeff put down the milk. There is a better than even chance that Mary left the apple. It is improbable that if either 'Jeff put down the milk' or 'Mary left the apple' but not both then Brian is gray. We doubt that if 'Julius is a lion and Mary left the apple' then Lily is a swan. There is a better than even chance that if either 'Jeff put down the milk' or 'Julius is a lion' but not both then John took the football.,It is highly likely that 'Brian is gray' or 'John took 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.02::factA. 0.25::factB. 0.6::factC. %hop1 0.1::factX:-xor(factB,factC). 0.2::factY:-and(factA,factC). 0.6::factZ:-xor(factB,factA). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.20458,0.10802160432086418,train,we doubt,highly likely,We doubt that 'Brian is gray' or 'John took the football' or both.,It is highly likely that 'Brian is gray' or 'John took the football' or both.,0,'Brian is gray' or 'John took the football' or both. We doubt that Gertrude is a sheep. It is highly unlikely that Antoine is bored. It is almost certain that Bill went to the garden. There is little chance that if either 'Bill went to the garden' or 'Antoine is bored' but not both then Brian is yellow. It is almost certain that if 'Gertrude is a sheep' or 'Antoine is bored' or both then Greg is a frog. Chances are slight that if 'Antoine is bored' or 'Gertrude is a sheep' or both then Fred dropped the apple.,There is little chance that either 'Antoine is bored' 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.2::factA. 0.05::factB. 0.95::factC. %hop1 0.1::factX:-xor(factC,factB). 0.95::factY:-or(factA,factB). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.14000000000000004,0.13482696539307862,train,little chance,probably,There is little chance that either 'Antoine is bored' or 'Brian is yellow' but not both.,It is probably the case that either 'Antoine is bored' or 'Brian is yellow' but not both.,1,Either 'Antoine is bored' or 'Brian is yellow' but not both. We believe that Emily is a wolf. Chances are about even that Bernhard is a lion. There is a better than even chance that Daniel put down the milk. We doubt that if 'Emily is a wolf and Daniel put down the milk' then Brian is a frog. It is certain that if either 'Emily is a wolf' or 'Daniel put down the milk' but not both then Julius is white. It is likely that if 'Emily is a wolf and Bernhard is a lion' then John took the football.,It is likely that 'Daniel put down the milk' or 'John took 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.75::factA. 0.5::factB. 0.6::factC. %hop1 0.2::factX:-and(factA,factC). 1.0::factY:-xor(factA,factC). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.7050000000000001,0.028005601120224044,train,likely,improbable,It is likely that 'Daniel put down the milk' or 'John took the football' or both.,It is improbable that 'Daniel put down the milk' or 'John took the football' or both.,1,'Daniel put down the milk' or 'John took the football' or both. It is highly likely that John went to the kitchen. It is probably the case that Gertrude is a sheep. There is a very good chance that Greg is gray. It is almost certain that if 'Gertrude is a sheep and Greg is gray' then Brian is yellow. We doubt that if 'John went to the kitchen' or 'Gertrude is a sheep' or both then Bernhard is a swan. It is probably not the case that if 'Greg is gray' or 'John went to the kitchen' or both then Mary is in the school.,It is improbable that 'Mary is in the school 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.7::factB. 0.8::factC. %hop1 0.95::factX:-and(factB,factC). 0.2::factY:-or(factA,factB). 0.25::factZ:-or(factC,factA). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.13300000000000003,0.7201440288057611,train,improbable,almost certain,It is improbable that 'Mary is in the school and Brian is yellow'.,It is almost certain that 'Mary is in the school and Brian is yellow'.,1,'Mary is in the school and Brian is yellow'. It is probable that John grabbed the apple. It is probably the case that Sandra took the football. It is certain that Greg is a lion. It is improbable that if 'Sandra took the football and John grabbed the apple' then Lily is a swan. It is probably the case that if 'Greg is a lion' or 'John grabbed the apple' or both then Mary moved to the garden. We believe that if 'John grabbed the apple and Greg is a lion' then Daniel got the milk.,It is highly unlikely that 'Sandra took the football 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.7::factB. 1.0::factC. %hop1 0.1::factX:-and(factB,factA). 0.7::factY:-or(factC,factA). 0.75::factZ:-and(factA,factC). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.049,0.06581316263252651,train,highly unlikely,likely,It is highly unlikely that 'Sandra took the football and Lily is a swan'.,It is likely that 'Sandra took the football and Lily is a swan'.,1,'Sandra took the football and Lily is a swan'. There is a better than even chance that Bernhard is a swan. It is probably the case that Sandra left the apple. It is probable that Fred went to the garden. It is impossible that if 'Sandra left the apple' or 'Bernhard is a swan' or both then Greg is yellow. It is likely that if either 'Fred went to the garden' or 'Bernhard is a swan' but not both then Emily is a mouse. There is a better than even chance that if 'Sandra left the apple and Bernhard is a swan' then Antoine is hungry.,It is impossible that 'Antoine is hungry' or 'Fred 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.6::factA. 0.7::factB. 0.7::factC. %hop1 0.0::factX:-or(factB,factA). 0.7::factY:-xor(factC,factA). 0.6::factZ:-and(factB,factA). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.7756,0.3254650930186037,train,very good chance,impossible,There is a very good chance that 'Antoine is hungry' or 'Fred went to the garden' or both.,It is impossible that 'Antoine is hungry' or 'Fred went to the garden' or both.,0,'Antoine is hungry' or 'Fred went to the garden' or both. There is a better than even chance that Bernhard is white. It is impossible that Julius is a swan. It is impossible that Greg is yellow. There is a better than even chance that if either 'Greg is yellow' or 'Julius is a swan' but not both then Sumit is thirsty. There is a better than even chance that if either 'Greg is yellow' or 'Bernhard is white' but not both then John put down the apple. It is probable that if 'Greg is yellow' or 'Bernhard is white' or both then Winona is a wolf.,It is probably not the case that 'John put down the apple 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.6::factA. 0.0::factB. 0.0::factC. %hop1 0.6::factX:-xor(factC,factB). 0.6::factY:-xor(factC,factA). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.36,0.19523904780956192,train,probably not,likely,It is probably not the case that 'John put down the apple and Bernhard is white'.,It is likely that 'John put down the apple and Bernhard is white'.,1,'John put down the apple and Bernhard is white'. We doubt that Brian is yellow. There is little chance that Lily is a swan. It is probable that Greg is yellow. It is almost certain that if either 'Greg is yellow' or 'Lily is a swan' but not both then Emily is a sheep. We believe that if 'Brian is yellow and Greg is yellow' then John is in the garden. It is probably the case that if either 'Greg is yellow' or 'Brian is yellow' but not both then Sandra put down the milk.,It is highly likely that 'Emily is a sheep and John is in 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.1::factB. 0.7::factC. %hop1 0.95::factX:-xor(factC,factB). 0.75::factY:-and(factA,factC). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.08977499999999998,0.6239247849569914,train,little chance,highly likely,There is little chance that 'Emily is a sheep and John is in the garden'.,It is highly likely that 'Emily is a sheep and John is in the garden'.,0,'Emily is a sheep and John is in the garden'. It is unlikely that Lily is a rhino. It is almost certain that Julius is yellow. It is highly likely that Brian is green. It is probably not the case that if 'Lily is a rhino and Brian is green' then Mary left the football. It is certain that if either 'Julius is yellow' or 'Brian is green' but not both then Winona is a mouse. It is almost certain that if 'Lily is a rhino and Brian is green' then John went to the garden.,It is probably the case that either 'Lily is a rhino' 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.2::factA. 0.95::factB. 0.9::factC. %hop1 0.25::factX:-and(factA,factC). 1.0::factY:-xor(factB,factC). 0.95::factZ:-and(factA,factC). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.2840000000000001,0.6679335867173435,train,probably not,probably,It is probably not the case that either 'Lily is a rhino' or 'Winona is a mouse' but not both.,It is probably the case that either 'Lily is a rhino' or 'Winona is a mouse' but not both.,0,Either 'Lily is a rhino' or 'Winona is a mouse' but not both. There is almost no chance that Mary went to the office. It is impossible that Lily is a rhino. Chances are slight that Bernhard is a swan. We doubt that if 'Lily is a rhino and Mary went to the office' then Bill got the milk there. There is a better than even chance that if 'Mary went to the office' or 'Bernhard is a swan' or both then Daniel took the football. It is almost certain that if 'Lily is a rhino' or 'Bernhard is a swan' or both then Julius is a rhino.,It is highly unlikely that 'Julius is a rhino and Daniel took 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.02::factA. 0.0::factB. 0.1::factC. %hop1 0.2::factX:-and(factB,factA). 0.6::factY:-or(factA,factC). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.05700000000000002,0.4430886177235447,train,highly unlikely,we believe,It is highly unlikely that 'Julius is a rhino and Daniel took the football'.,We believe that 'Julius is a rhino and Daniel took the football'.,1,'Julius is a rhino and Daniel took the football'. It is probable that Mary picked up the milk. We doubt that John dropped the apple. It is impossible that Julius is a frog. Chances are slight that if 'Mary picked up the milk' or 'John dropped the apple' or both then Greg is a lion. It is improbable that if 'Mary picked up the milk' or 'John dropped the apple' or both then Daniel took the football. It is impossible that if 'Julius is a frog and Mary picked up the milk' then Lily is yellow.,It is probable that either 'Lily is yellow' 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.7::factA. 0.2::factB. 0.0::factC. %hop1 0.1::factX:-or(factA,factB). 0.1::factY:-or(factA,factB). 0.0::factZ:-and(factC,factA). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.7,0.32406481296259254,train,probable,almost no chance,It is probable that either 'Lily is yellow' or 'Mary picked up the milk' but not both.,There is almost no chance that either 'Lily is yellow' or 'Mary picked up the milk' but not both.,1,Either 'Lily is yellow' or 'Mary picked up the milk' but not both. It is probably the case that Greg is a rhino. It is probably not the case that John picked up the milk. It is likely that Brian is yellow. We believe that if 'Greg is a rhino' or 'John picked up the milk' or both then Lily is a lion. It is certain that if 'Brian is yellow' or 'John picked up the milk' or both then Bernhard is a swan. It is highly likely that if 'Greg is a rhino and Brian is yellow' then Mary went to the garden.,It is highly unlikely that 'Lily is a lion' 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.7::factA. 0.25::factB. 0.7::factC. %hop1 0.75::factX:-or(factA,factB). 1.0::factY:-or(factC,factB). 0.9::factZ:-and(factA,factC). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.64375,0.6545309061812362,train,better than even,highly unlikely,There is a better than even chance that 'Lily is a lion' or 'John picked up the milk' or both.,It is highly unlikely that 'Lily is a lion' or 'John picked up the milk' or both.,0,'Lily is a lion' or 'John picked up the milk' or both. Chances are about even that Mary left the milk. There is little chance that Greg is a rhino. It is highly likely that Lily is a swan. Chances are slight that if 'Lily is a swan' or 'Greg is a rhino' or both then Julius is gray. We believe that if 'Lily is a swan and Mary left the milk' then Bernhard is a frog. It is highly likely that if 'Greg is a rhino and Lily is a swan' then John got the milk.,Chances are slight that 'John got 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.5::factA. 0.1::factB. 0.9::factC. %hop1 0.1::factX:-or(factC,factB). 0.75::factY:-and(factC,factA). 0.9::factZ:-and(factB,factC). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.08100000000000002,0.04060812162432487,train,chances are slight,probable,Chances are slight that 'John got the milk and Greg is a rhino'.,It is probable that 'John got the milk and Greg is a rhino'.,1,'John got the milk and Greg is a rhino'. There is a very good chance that Mary went to the garden. Chances are slight that Lily is a rhino. Chances are slight that Brian is yellow. We believe that if 'Lily is a rhino' or 'Brian is yellow' or both then Greg is white. It is highly likely that if 'Lily is a rhino' or 'Mary went to the garden' or both then Julius is a frog. It is impossible that if either 'Lily is a rhino' or 'Brian is yellow' but not both then Jason is tired.,It is improbable that 'Brian is yellow and Mary 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.8::factA. 0.1::factB. 0.1::factC. %hop1 0.75::factX:-or(factB,factC). 0.9::factY:-or(factB,factA). 0.0::factZ:-xor(factB,factC). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.08000000000000002,0.634126825365073,train,improbable,highly likely,It is improbable that 'Brian is yellow and Mary went to the garden'.,It is highly likely that 'Brian is yellow and Mary went to the garden'.,1,'Brian is yellow and Mary went to the garden'. It is certain that Mary went to the bedroom. It is almost certain that Greg is gray. Chances are slight that Bernhard is a rhino. It is probable that if either 'Mary went to the bedroom' or 'Greg is gray' but not both then Daniel took the milk. There is almost no chance that if either 'Greg is gray' or 'Mary went to the bedroom' but not both then Jeff moved to the office. There is a very good chance that if either 'Bernhard is a rhino' or 'Greg is gray' but not both then Julius is white.,It is likely that 'Jeff moved to the office 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 1.0::factA. 0.95::factB. 0.1::factC. %hop1 0.7::factX:-xor(factA,factB). 0.02::factY:-xor(factB,factA). 0.8::factZ:-xor(factC,factB). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",8.000000000000014e-05,0.6443288657731546,train,impossible,likely,It is impossible that 'Jeff moved to the office and Julius is white'.,It is likely that 'Jeff moved to the office and Julius is white'.,0,'Jeff moved to the office and Julius is white'. It is probably the case that Bernhard is gray. It is unlikely that Fred is in the cinema. Chances are slight that Emily is a wolf. Chances are slight that if 'Fred is in the cinema' or 'Emily is a wolf' or both then Lily is yellow. It is unlikely that if 'Bernhard is gray and Fred is in the cinema' then John moved to the office. We doubt that if 'Fred is in the cinema and Emily is a wolf' then Gertrude is a sheep.,It is impossible that 'Bernhard is gray 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.7::factA. 0.2::factB. 0.1::factC. %hop1 0.1::factX:-or(factB,factC). 0.2::factY:-and(factA,factB). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.002800000000000001,0.7883576715343069,train,impossible,probably,It is impossible that 'Bernhard is gray and Gertrude is a sheep'.,It is probably the case that 'Bernhard is gray and Gertrude is a sheep'.,1,'Bernhard is gray and Gertrude is a sheep'. There is little chance that Mary went to the hallway. It is unlikely that John dropped the milk. It is probable that Greg is white. We believe that if either 'Greg is white' or 'John dropped the milk' but not both then Lily is a rhino. Chances are slight that if 'John dropped the milk' or 'Mary went to the hallway' or both then Winona is a mouse. It is impossible that if 'Mary went to the hallway' or 'John dropped the milk' or both then Bernhard is yellow.,It is probably the case that either 'Winona is a mouse' 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.1::factA. 0.2::factB. 0.7::factC. %hop1 0.75::factX:-xor(factC,factB). 0.1::factY:-or(factB,factA). 0.0::factZ:-or(factA,factB). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.6888,0.5371074214842969,train,probably,chances are slight,It is probably the case that either 'Winona is a mouse' or 'Greg is white' but not both.,Chances are slight that either 'Winona is a mouse' or 'Greg is white' but not both.,1,Either 'Winona is a mouse' or 'Greg is white' but not both. It is highly likely that Julius is a frog. It is certain that Brian is white. It is likely that John grabbed the apple. It is highly likely that if 'John grabbed the apple' or 'Julius is a frog' or both then Greg is yellow. It is highly likely that if 'Brian is white and Julius is a frog' then Bernhard is a swan. There is a very good chance that if 'Brian is white and Julius is a frog' then Mary is in the school.,It is probably the case that either 'Greg is yellow' 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.9::factA. 1.0::factB. 0.7::factC. %hop1 0.9::factX:-or(factC,factA). 0.9::factY:-and(factB,factA). 0.8::factZ:-and(factB,factA). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.15299999999999994,0.06741348269653931,train,we doubt,probably,We doubt that either 'Greg is yellow' or 'Julius is a frog' but not both.,It is probably the case that either 'Greg is yellow' or 'Julius is a frog' but not both.,0,Either 'Greg is yellow' or 'Julius is a frog' but not both. There is almost no chance that Yann is thirsty. It is improbable that Mary grabbed the apple. Chances are slight that Greg is yellow. It is highly likely that if either 'Greg is yellow' or 'Mary grabbed the apple' but not both then Emily is a mouse. It is almost certain that if 'Yann is thirsty and Mary grabbed the apple' then Julius is green. It is almost certain that if 'Greg is yellow' or 'Yann is thirsty' or both then Jeff discarded the milk.,There is little chance that 'Julius is green' 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.02::factA. 0.1::factB. 0.1::factC. %hop1 0.9::factX:-xor(factC,factB). 0.95::factY:-and(factA,factB). 0.95::factZ:-or(factC,factA). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.10171000000000005,0.5421084216843368,train,little chance,better than even,There is little chance that 'Julius is green' or 'Greg is yellow' or both.,There is a better than even chance that 'Julius is green' or 'Greg is yellow' or both.,1,'Julius is green' or 'Greg is yellow' or both. It is likely that Greg is yellow. We doubt that Mary got the football. It is probably the case that John went to the garden. It is probably not the case that if either 'Greg is yellow' or 'Mary got the football' but not both then Bernhard is a frog. We believe that if either 'Greg is yellow' or 'Mary got the football' but not both then Brian is a swan. We believe that if either 'Greg is yellow' or 'John went to the garden' but not both then Sandra left the milk.,It is unlikely that 'John went to the garden' 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.7::factA. 0.2::factB. 0.7::factC. %hop1 0.25::factX:-xor(factA,factB). 0.75::factY:-xor(factA,factB). 0.75::factZ:-xor(factA,factC). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.7599999999999999,0.1854370874174835,train,we believe,unlikely,We believe that 'John went to the garden' or 'Mary got the football' or both.,It is unlikely that 'John went to the garden' or 'Mary got the football' or both.,0,'John went to the garden' or 'Mary got the football' or both. It is impossible that Gertrude is a mouse. Chances are about even that Bernhard is gray. It is almost certain that Brian is a rhino. We believe that if either 'Brian is a rhino' or 'Gertrude is a mouse' but not both then John went to the garden. There is a better than even chance that if 'Gertrude is a mouse' or 'Brian is a rhino' or both then Julius is white. It is unlikely that if 'Bernhard is gray and Gertrude is a mouse' then Lily is green.,It is certain that 'Julius is white 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.0::factA. 0.5::factB. 0.95::factC. %hop1 0.75::factX:-xor(factC,factA). 0.6::factY:-or(factA,factC). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.4275,0.051010202040408084,train,about even,certain,Chances are about even that 'Julius is white and John went to the garden'.,It is certain that 'Julius is white and John went to the garden'.,0,'Julius is white and John went to the garden'. It is certain that Greg is a frog. There is almost no chance that Brian is a rhino. It is probable that John moved to the office. Chances are slight that if 'Brian is a rhino and Greg is a frog' then Julius is a lion. It is probably the case that if 'John moved to the office' or 'Greg is a frog' or both then Bernhard is white. We doubt that if 'Brian is a rhino and Greg is a frog' then Lily is green.,Chances are slight that 'Julius is a lion' 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 1.0::factA. 0.02::factB. 0.7::factC. %hop1 0.1::factX:-and(factB,factA). 0.7::factY:-or(factC,factA). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.7006,0.25645129025805163,train,probable,chances are slight,It is probable that 'Julius is a lion' or 'John moved to the office' or both.,Chances are slight that 'Julius is a lion' or 'John moved to the office' or both.,0,'Julius is a lion' or 'John moved to the office' or both. It is highly likely that Julius is a lion. It is impossible that Winona is a wolf. It is probable that Gertrude is a sheep. It is unlikely that if 'Winona is a wolf' or 'Gertrude is a sheep' or both then Antoine is thirsty. It is probably not the case that if 'Julius is a lion' or 'Gertrude is a sheep' or both then Mary took the football. We doubt that if either 'Winona is a wolf' or 'Julius is a lion' but not both then John went to the bedroom.,It is probably not the case that either 'John went to the bedroom' 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.9::factA. 0.0::factB. 0.7::factC. %hop1 0.2::factX:-or(factB,factC). 0.25::factY:-or(factA,factC). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.3325,0.4370874174834967,train,probably not,likely,It is probably not the case that either 'John went to the bedroom' or 'Mary took the football' but not both.,It is likely that either 'John went to the bedroom' or 'Mary took the football' but not both.,1,Either 'John went to the bedroom' or 'Mary took the football' but not both. It is unlikely that Sandra got the milk. It is unlikely that Winona is a mouse. It is almost certain that Greg is yellow. It is impossible that if either 'Greg is yellow' or 'Winona is a mouse' but not both then Julius is a lion. It is improbable that if either 'Sandra got the milk' or 'Greg is yellow' but not both then Mary went to the bedroom. It is unlikely that if 'Winona is a mouse' or 'Sandra got the milk' or both then Bernhard is a frog.,We believe that either 'Winona is a mouse' 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.2::factA. 0.2::factB. 0.95::factC. %hop1 0.0::factX:-xor(factC,factB). 0.1::factY:-xor(factA,factC). 0.2::factZ:-or(factB,factA). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.77,0.5793158631726345,train,we believe,almost no chance,We believe that either 'Winona is a mouse' or 'Greg is yellow' but not both.,There is almost no chance that either 'Winona is a mouse' or 'Greg is yellow' but not both.,1,Either 'Winona is a mouse' or 'Greg is yellow' but not both. There is almost no chance that Sandra got the football. Chances are slight that Brian is a swan. Chances are slight that Bernhard is gray. It is unlikely that if either 'Brian is a swan' or 'Sandra got the football' but not both then Mary left the milk. It is probable that if 'Sandra got the football' or 'Brian is a swan' or both then John dropped the apple. We believe that if either 'Brian is a swan' or 'Sandra got the football' but not both then Julius is white.,It is highly unlikely that 'Brian is a swan 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.1::factB. 0.1::factC. %hop1 0.2::factX:-xor(factB,factA). 0.7::factY:-or(factA,factB). 0.75::factZ:-xor(factB,factA). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.07350000000000002,0.720744148829766,train,highly unlikely,likely,It is highly unlikely that 'Brian is a swan and Julius is white'.,It is likely that 'Brian is a swan and Julius is white'.,1,'Brian is a swan and Julius is white'. Chances are slight that Winona is a mouse. It is probably the case that Jessica is a mouse. There is little chance that Greg is a lion. There is almost no chance that if 'Winona is a mouse and Jessica is a mouse' then Sumit is bored. It is improbable that if 'Greg is a lion and Winona is a mouse' then Jeff moved to the garden. It is probably not the case that if 'Jessica is a mouse' or 'Greg is a lion' or both then Mary got the football.,It is unlikely that either 'Sumit is bored' 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 0.1::factA. 0.7::factB. 0.1::factC. %hop1 0.02::factX:-and(factA,factB). 0.1::factY:-and(factC,factA). 0.25::factZ:-or(factB,factC). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.18319999999999997,0.03700740148029606,train,unlikely,likely,It is unlikely that either 'Sumit is bored' or 'Mary got the football' but not both.,It is likely that either 'Sumit is bored' or 'Mary got the football' but not both.,1,Either 'Sumit is bored' or 'Mary got the football' but not both. There is a better than even chance that Julius is a lion. It is impossible that Mary got the football. We doubt that Bernhard is a rhino. It is probably the case that if either 'Mary got the football' or 'Julius is a lion' but not both then Winona is a sheep. It is probably the case that if 'Mary got the football and Bernhard is a rhino' then Fred put down the apple. It is improbable that if 'Julius is a lion' or 'Mary got the football' or both then Brian is a swan.,We doubt that either 'Julius is a lion' 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.6::factA. 0.0::factB. 0.2::factC. %hop1 0.7::factX:-xor(factB,factA). 0.7::factY:-and(factB,factC). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.18000000000000002,0.7565513102620525,train,we doubt,certain,We doubt that either 'Julius is a lion' or 'Winona is a sheep' but not both.,It is certain that either 'Julius is a lion' or 'Winona is a sheep' but not both.,1,Either 'Julius is a lion' or 'Winona is a sheep' but not both. It is probably not the case that Bill went to the office. It is impossible that Julius is a frog. It is highly likely that Emily is a sheep. It is probable that if either 'Julius is a frog' or 'Emily is a sheep' but not both then Jason is thirsty. We believe that if either 'Emily is a sheep' or 'Bill went to the office' but not both then Greg is white. Chances are slight that if 'Julius is a frog' or 'Bill went to the office' or both then John got the football.,There is a very good chance that 'Bill went to the office and Jason 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.25::factA. 0.0::factB. 0.9::factC. %hop1 0.7::factX:-xor(factB,factC). 0.75::factY:-xor(factC,factA). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.1575,0.7059411882376475,train,we doubt,very good chance,We doubt that 'Bill went to the office and Jason is thirsty'.,There is a very good chance that 'Bill went to the office and Jason is thirsty'.,0,'Bill went to the office and Jason is thirsty'. It is improbable that Julius is a frog. It is likely that Mary went to the hallway. It is improbable that Brian is white. It is impossible that if 'Julius is a frog' or 'Mary went to the hallway' or both then Jeff discarded the milk. There is a very good chance that if 'Mary went to the hallway' or 'Brian is white' or both then John picked up the apple. There is a better than even chance that if 'Julius is a frog and Brian is white' then Greg is gray.,There is little chance that either 'Brian is white' or 'Greg 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.7::factB. 0.1::factC. %hop1 0.0::factX:-or(factA,factB). 0.8::factY:-or(factB,factC). 0.6::factZ:-and(factA,factC). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.09400000000000001,0.21344268853770754,train,little chance,probable,There is little chance that either 'Brian is white' or 'Greg is gray' but not both.,It is probable that either 'Brian is white' or 'Greg is gray' but not both.,1,Either 'Brian is white' or 'Greg is gray' but not both. There is a very good chance that Yann is bored. We doubt that Antoine is thirsty. There is little chance that Mary left the milk. It is probably the case that if either 'Mary left the milk' or 'Yann is bored' but not both then Brian is green. It is probable that if either 'Mary left the milk' or 'Antoine is thirsty' but not both then John went to the kitchen. It is impossible that if either 'Mary left the milk' or 'Yann is bored' but not both then Lily is a swan.,It is probable that 'John went to 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.2::factB. 0.1::factC. %hop1 0.7::factX:-xor(factC,factA). 0.7::factY:-xor(factC,factB). 0.0::factZ:-xor(factC,factA). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.18200000000000005,0.5691138227645529,train,we doubt,probable,We doubt that 'John went to the kitchen' or 'Lily is a swan' or both.,It is probable that 'John went to the kitchen' or 'Lily is a swan' or both.,0,'John went to the kitchen' or 'Lily is a swan' or both. It is highly likely that Jessica is a sheep. There is little chance that Emily is a wolf. Chances are slight that Julius is gray. There is a better than even chance that if 'Jessica is a sheep' or 'Emily is a wolf' or both then John moved to the office. Chances are about even that if 'Emily is a wolf and Jessica is a sheep' then Sandra got the milk. It is highly unlikely that if 'Emily is a wolf and Jessica is a sheep' then Brian is a frog.,There is a very good chance that 'Sandra got the milk 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.9::factA. 0.1::factB. 0.1::factC. %hop1 0.6::factX:-or(factA,factB). 0.5::factY:-and(factB,factA). 0.05::factZ:-and(factB,factA). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.004500000000000003,0.661132226445289,train,impossible,very good chance,It is impossible that 'Sandra got the milk and Julius is gray'.,There is a very good chance that 'Sandra got the milk and Julius is gray'.,0,'Sandra got the milk and Julius is gray'. It is highly unlikely that Greg is green. It is unlikely that Jessica is a mouse. It is improbable that Lily is a rhino. It is likely that if either 'Jessica is a mouse' or 'Lily is a rhino' but not both then Sandra got the football. Chances are about even that if either 'Greg is green' or 'Jessica is a mouse' but not both then Mary dropped the milk. It is likely that if either 'Jessica is a mouse' or 'Lily is a rhino' but not both then Brian is a frog.,It is almost certain that either 'Jessica is a mouse' 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.05::factA. 0.2::factB. 0.1::factC. %hop1 0.7::factX:-xor(factB,factC). 0.5::factY:-xor(factA,factB). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.13,0.03920784156831366,train,improbable,almost certain,It is improbable that either 'Jessica is a mouse' or 'Brian is a frog' but not both.,It is almost certain that either 'Jessica is a mouse' or 'Brian is a frog' but not both.,0,Either 'Jessica is a mouse' or 'Brian is a frog' but not both. It is probable that Mary got the milk. We believe that John moved to the garden. There is almost no chance that Brian is white. We doubt that if 'Brian is white and Mary got the milk' then Jason is tired. There is little chance that if either 'Brian is white' or 'Mary got the milk' but not both then Gertrude is a wolf. It is impossible that if 'Brian is white and Mary got the milk' then Jessica is a mouse.,It is probably the case that either 'Jason is tired' or 'Mary 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.7::factA. 0.75::factB. 0.02::factC. %hop1 0.2::factX:-and(factC,factA). 0.1::factY:-xor(factC,factA). 0.0::factZ:-and(factC,factA). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.6971999999999999,0.13502700540108023,train,probably,probably not,It is probably the case that either 'Jason is tired' or 'Mary got the milk' but not both.,It is probably not the case that either 'Jason is tired' or 'Mary got the milk' but not both.,1,Either 'Jason is tired' or 'Mary got the milk' but not both. It is likely that Brian is yellow. There is a better than even chance that Emily is a wolf. Chances are about even that Julius is gray. It is impossible that if either 'Brian is yellow' or 'Julius is gray' but not both then Greg is a swan. It is highly likely that if 'Brian is yellow' or 'Emily is a wolf' or both then Lily is white. It is unlikely that if 'Emily is a wolf and Julius is gray' then Mary left the football.,It is probable that either 'Lily is white' 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.7::factA. 0.6::factB. 0.5::factC. %hop1 0.0::factX:-xor(factA,factC). 0.9::factY:-or(factA,factB). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.23199999999999998,0.47829565913182637,train,probably not,probable,It is probably not the case that either 'Lily is white' or 'Brian is yellow' but not both.,It is probable that either 'Lily is white' or 'Brian is yellow' but not both.,0,Either 'Lily is white' or 'Brian is yellow' but not both. It is improbable that Lily is yellow. Chances are slight that Sandra left the milk. There is a very good chance that Jessica is a cat. It is probably not the case that if either 'Lily is yellow' or 'Sandra left the milk' but not both then Mary grabbed the milk. It is probable that if either 'Sandra left the milk' or 'Lily is yellow' but not both then John went to the garden. It is certain that if 'Sandra left the milk' or 'Lily is yellow' or both then Brian is a rhino.,It is improbable that 'Jessica is a cat' or 'John 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.1::factA. 0.1::factB. 0.8::factC. %hop1 0.25::factX:-xor(factA,factB). 0.7::factY:-xor(factB,factA). 1.0::factZ:-or(factB,factA). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.8252,0.709741948389678,train,very good chance,improbable,There is a very good chance that 'Jessica is a cat' or 'John went to the garden' or both.,It is improbable that 'Jessica is a cat' or 'John went to the garden' or both.,0,'Jessica is a cat' or 'John went to the garden' or both. Chances are about even that Julius is gray. It is almost certain that Bill went to the kitchen. It is likely that Brian is a rhino. There is little chance that if 'Bill went to the kitchen' or 'Julius is gray' or both then Greg is a swan. There is little chance that if 'Bill went to the kitchen' or 'Julius is gray' or both then Gertrude is a sheep. There is a better than even chance that if 'Julius is gray and Bill went to the kitchen' then John got the milk.,It is probable that 'Gertrude is a sheep 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.5::factA. 0.95::factB. 0.7::factC. %hop1 0.1::factX:-or(factB,factA). 0.1::factY:-or(factB,factA). 0.6::factZ:-and(factA,factB). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.05000000000000001,0.5817163432686537,train,highly unlikely,probable,It is highly unlikely that 'Gertrude is a sheep and Julius is gray'.,It is probable that 'Gertrude is a sheep and Julius is gray'.,0,'Gertrude is a sheep and Julius is gray'. There is a very good chance that Yann is thirsty. It is certain that Mary went to the hallway. It is probably not the case that Julius is a swan. There is a very good chance that if 'Yann is thirsty' or 'Mary went to the hallway' or both then Lily is a rhino. Chances are slight that if 'Julius is a swan and Mary went to the hallway' then Bernhard is white. Chances are about even that if either 'Mary went to the hallway' or 'Julius is a swan' but not both then John dropped the apple.,There is almost no chance that 'Julius is a swan' or 'John 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.8::factA. 1.0::factB. 0.25::factC. %hop1 0.8::factX:-or(factA,factB). 0.1::factY:-and(factC,factB). 0.5::factZ:-xor(factB,factC). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.625,0.39707941588317663,train,better than even,almost no chance,There is a better than even chance that 'Julius is a swan' or 'John dropped the apple' or both.,There is almost no chance that 'Julius is a swan' or 'John dropped the apple' or both.,0,'Julius is a swan' or 'John dropped the apple' or both. It is almost certain that Bernhard is white. It is highly likely that Brian is a frog. It is probably the case that John dropped the apple. It is almost certain that if 'Brian is a frog' or 'John dropped the apple' or both then Greg is a swan. It is highly unlikely that if 'Brian is a frog' or 'Bernhard is white' or both then Jeff went to the garden. It is improbable that if 'John dropped the apple' or 'Bernhard is white' or both then Lily is white.,It is impossible that either 'Greg 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.95::factA. 0.9::factB. 0.7::factC. %hop1 0.95::factX:-or(factB,factC). 0.05::factY:-or(factB,factA). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.8794325,0.27705541108221643,train,highly likely,impossible,It is highly likely that either 'Greg is a swan' or 'Jeff went to the garden' but not both.,It is impossible that either 'Greg is a swan' or 'Jeff went to the garden' but not both.,0,Either 'Greg is a swan' or 'Jeff went to the garden' but not both. It is unlikely that Bill moved to the office. There is little chance that Daniel dropped the milk. It is highly likely that Yann is hungry. It is impossible that if either 'Daniel dropped the milk' or 'Bill moved to the office' but not both then Mary went to the garden. It is unlikely that if either 'Yann is hungry' or 'Bill moved to the office' but not both then Julius is a rhino. It is certain that if either 'Bill moved to the office' or 'Yann is hungry' but not both then John got the apple.,There is little chance that 'Daniel dropped the milk' 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.9::factC. %hop1 0.0::factX:-xor(factB,factA). 0.2::factY:-xor(factC,factA). 1.0::factZ:-xor(factA,factC). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.10000000000000002,0.035007001400280055,train,little chance,certain,There is little chance that 'Daniel dropped the milk' or 'Mary went to the garden' or both.,It is certain that 'Daniel dropped the milk' or 'Mary went to the garden' or both.,1,'Daniel dropped the milk' or 'Mary went to the garden' or both. We believe that Lily is a lion. It is unlikely that Julius is a swan. It is almost certain that Sandra took the football. There is a very good chance that if 'Sandra took the football and Lily is a lion' then Bernhard is a frog. Chances are slight that if 'Lily is a lion and Julius is a swan' then John went to the hallway. It is highly likely that if 'Julius is a swan' or 'Lily is a lion' or both then Mary got the milk.,Chances are about even that either 'Sandra took the football' 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. 0.2::factB. 0.95::factC. %hop1 0.8::factX:-and(factC,factA). 0.1::factY:-and(factA,factB). 0.9::factZ:-or(factB,factA). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.38,0.7919583916783357,train,about even,almost no chance,Chances are about even that either 'Sandra took the football' or 'Bernhard is a frog' but not both.,There is almost no chance that either 'Sandra took the football' or 'Bernhard is a frog' but not both.,1,Either 'Sandra took the football' or 'Bernhard is a frog' but not both. It is highly likely that Bernhard is yellow. It is likely that Sumit is thirsty. It is improbable that Winona is a sheep. There is little chance that if either 'Sumit is thirsty' or 'Bernhard is yellow' but not both then Brian is white. Chances are slight that if 'Sumit is thirsty' or 'Bernhard is yellow' or both then Mary left the football. It is unlikely that if either 'Winona is a sheep' or 'Bernhard is yellow' but not both then John took the apple.,There is a very good chance that 'Mary left the football' 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.9::factA. 0.7::factB. 0.1::factC. %hop1 0.1::factX:-xor(factB,factA). 0.1::factY:-or(factB,factA). 0.2::factZ:-xor(factC,factA). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.18730000000000002,0.5133026605321064,train,we doubt,very good chance,We doubt that 'Mary left the football' or 'Winona is a sheep' or both.,There is a very good chance that 'Mary left the football' or 'Winona is a sheep' or both.,0,'Mary left the football' or 'Winona is a sheep' or both. It is probably the case that Bernhard is a frog. It is highly unlikely that John moved to the office. There is a very good chance that Bill left the football. It is highly likely that if 'Bill left the football' or 'Bernhard is a frog' or both then Fred went to the garden. It is probably not the case that if either 'John moved to the office' or 'Bill left the football' but not both then Lily is a lion. It is probably the case that if either 'Bernhard is a frog' or 'Bill left the football' but not both then Mary dropped the apple.,Chances are slight that either 'Mary dropped the apple' 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.7::factA. 0.05::factB. 0.8::factC. %hop1 0.9::factX:-or(factC,factA). 0.25::factY:-xor(factB,factC). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.6332,0.34006801360272054,train,better than even,chances are slight,There is a better than even chance that either 'Mary dropped the apple' or 'Fred went to the garden' but not both.,Chances are slight that either 'Mary dropped the apple' or 'Fred went to the garden' but not both.,0,Either 'Mary dropped the apple' or 'Fred went to the garden' but not both. It is highly unlikely that Julius is white. There is a better than even chance that Lily is a lion. There is a very good chance that Mary went to the office. It is almost certain that if 'Mary went to the office' or 'Lily is a lion' or both then Bernhard is white. It is highly unlikely that if 'Mary went to the office' or 'Lily is a lion' or both then Jeff left the football. It is unlikely that if 'Julius is white' or 'Mary went to the office' or both then John got the milk.,There is a very good chance that 'Bernhard is white 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.05::factA. 0.6::factB. 0.8::factC. %hop1 0.95::factX:-or(factC,factB). 0.05::factY:-or(factC,factB). 0.2::factZ:-or(factA,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.04370000000000001,0.377875575115023,train,highly unlikely,very good chance,It is highly unlikely that 'Bernhard is white and Julius is white'.,There is a very good chance that 'Bernhard is white and Julius is white'.,0,'Bernhard is white and Julius is white'. It is certain that Fred left the football. It is probably the case that Greg is a frog. It is probably the case that Emily is a cat. It is improbable that if 'Greg is a frog' or 'Fred left the football' or both then Sandra grabbed the apple. There is little chance that if 'Greg is a frog and Emily is a cat' then Lily is a swan. It is probable that if 'Emily is a cat' or 'Greg is a frog' or both then Brian is green.,It is probably not the case that either 'Greg is a frog' or 'Fred 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 1.0::factA. 0.7::factB. 0.7::factC. %hop1 0.1::factX:-or(factB,factA). 0.1::factY:-and(factB,factC). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.30000000000000004,0.15983196639327865,train,probably not,probable,It is probably not the case that either 'Greg is a frog' or 'Fred left the football' but not both.,It is probable that either 'Greg is a frog' or 'Fred left the football' but not both.,1,Either 'Greg is a frog' or 'Fred left the football' but not both. We believe that Julius is yellow. There is a better than even chance that Bernhard is green. It is certain that Jessica is a cat. There is a very good chance that if 'Julius is yellow' or 'Bernhard is green' or both then Gertrude is a sheep. It is highly likely that if either 'Jessica is a cat' or 'Julius is yellow' but not both then Lily is a frog. It is likely that if 'Bernhard is green and Julius is yellow' then Mary left the milk.,It is impossible that either 'Julius is yellow' 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.75::factA. 0.6::factB. 1.0::factC. %hop1 0.8::factX:-or(factA,factB). 0.9::factY:-xor(factC,factA). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.45000000000000007,0.41908381676335266,train,about even,impossible,Chances are about even that either 'Julius is yellow' or 'Bernhard is green' but not both.,It is impossible that either 'Julius is yellow' or 'Bernhard is green' but not both.,0,Either 'Julius is yellow' or 'Bernhard is green' but not both. It is improbable that Lily is a swan. It is likely that Julius is green. It is probably not the case that Bernhard is gray. There is little chance that if 'Bernhard is gray' or 'Julius is green' or both then Winona is a sheep. It is probable that if either 'Bernhard is gray' or 'Lily is a swan' but not both then Mary dropped the milk. It is probably not the case that if 'Bernhard is gray' or 'Lily is a swan' or both then Brian is yellow.,There is a better than even chance that either 'Julius is green' or 'Mary 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.7::factB. 0.25::factC. %hop1 0.1::factX:-or(factC,factB). 0.7::factY:-xor(factC,factA). 0.25::factZ:-or(factC,factA). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.616,0.09841968393678736,train,better than even,improbable,There is a better than even chance that either 'Julius is green' or 'Mary dropped the milk' but not both.,It is improbable that either 'Julius is green' or 'Mary dropped the milk' but not both.,1,Either 'Julius is green' or 'Mary dropped the milk' but not both. We doubt that Bernhard is white. It is almost certain that Brian is green. There is a better than even chance that Julius is a frog. It is unlikely that if 'Bernhard is white' or 'Brian is green' or both then Fred went to the garden. It is highly likely that if 'Brian is green' or 'Julius is a frog' or both then Jessica is a cat. It is impossible that if 'Brian is green' or 'Julius is a frog' or both then John dropped the apple.,There is a better than even chance that 'John dropped 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.2::factA. 0.95::factB. 0.6::factC. %hop1 0.2::factX:-or(factA,factB). 0.9::factY:-or(factB,factC). 0.0::factZ:-or(factB,factC). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.6,0.46749349869973994,train,better than even,almost no chance,There is a better than even chance that 'John dropped the apple' or 'Julius is a frog' or both.,There is almost no chance that 'John dropped the apple' or 'Julius is a frog' or both.,1,'John dropped the apple' or 'Julius is a frog' or both. It is highly unlikely that Bernhard is green. Chances are about even that Lily is a lion. It is improbable that John got the apple. It is likely that if 'Lily is a lion' or 'John got the apple' or both then Jeff went to the garden. It is probable that if 'Lily is a lion' or 'John got the apple' or both then Julius is a frog. There is little chance that if 'John got the apple and Lily is a lion' then Brian is yellow.,It is likely that either 'Lily is a lion' 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.05::factA. 0.5::factB. 0.1::factC. %hop1 0.7::factX:-or(factB,factC). 0.7::factY:-or(factB,factC). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.185,0.6829365873174635,train,unlikely,likely,It is unlikely that either 'Lily is a lion' or 'Jeff went to the garden' but not both.,It is likely that either 'Lily is a lion' or 'Jeff went to the garden' but not both.,0,Either 'Lily is a lion' or 'Jeff went to the garden' but not both. It is probably the case that Brian is a lion. There is little chance that John took the apple. It is probably not the case that Fred is in the school. There is a very good chance that if 'Fred is in the school and Brian is a lion' then Lily is yellow. It is highly likely that if 'John took the apple' or 'Brian is a lion' or both then Greg is a swan. There is almost no chance that if either 'Brian is a lion' or 'John took the apple' but not both then Julius is a frog.,It is highly likely that 'Julius is a frog' or 'Fred is in the school' 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.25::factC. %hop1 0.8::factX:-and(factC,factA). 0.9::factY:-or(factB,factA). 0.02::factZ:-xor(factA,factB). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.2599,0.3226645329065813,train,probably not,highly likely,It is probably not the case that 'Julius is a frog' or 'Fred is in the school' or both.,It is highly likely that 'Julius is a frog' or 'Fred is in the school' or both.,0,'Julius is a frog' or 'Fred is in the school' or both. It is probably the case that Greg is yellow. Chances are about even that Bernhard is a swan. Chances are slight that Fred dropped the milk. It is probably not the case that if 'Greg is yellow and Bernhard is a swan' then Bill went to the bedroom. Chances are about even that if either 'Bernhard is a swan' or 'Greg is yellow' but not both then Lily is yellow. It is probably not the case that if 'Bernhard is a swan and Greg is yellow' then John got the apple.,We believe that 'Fred dropped the milk' 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.7::factA. 0.5::factB. 0.1::factC. %hop1 0.25::factX:-and(factA,factB). 0.5::factY:-xor(factB,factA). 0.25::factZ:-and(factB,factA). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.73,0.6831366273254651,train,we believe,chances are slight,We believe that 'Fred dropped the milk' or 'Greg is yellow' or both.,Chances are slight that 'Fred dropped the milk' or 'Greg is yellow' or both.,1,'Fred dropped the milk' or 'Greg is yellow' or both. It is almost certain that Mary went to the bedroom. It is unlikely that Gertrude is a sheep. It is likely that Julius is a frog. It is highly likely that if 'Julius is a frog' or 'Mary went to the bedroom' or both then Daniel put down the milk. There is little chance that if 'Gertrude is a sheep' or 'Mary went to the bedroom' or both then Brian is white. It is likely that if 'Mary went to the bedroom' or 'Julius is a frog' or both then John picked up the apple.,It is almost certain that 'Mary went to the bedroom' 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 0.95::factA. 0.2::factB. 0.7::factC. %hop1 0.9::factX:-or(factC,factA). 0.1::factY:-or(factB,factA). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.96,0.7653530706141228,train,almost certain,almost no chance,It is almost certain that 'Mary went to the bedroom' or 'Gertrude is a sheep' or both.,There is almost no chance that 'Mary went to the bedroom' or 'Gertrude is a sheep' or both.,1,'Mary went to the bedroom' or 'Gertrude is a sheep' or both. There is little chance that Bernhard is a lion. We doubt that Sandra took the milk. It is impossible that Brian is white. It is improbable that if 'Brian is white' or 'Sandra took the milk' or both then Mary moved to the office. We doubt that if 'Sandra took the milk' or 'Brian is white' or both then Greg is yellow. Chances are slight that if 'Sandra took the milk and Bernhard is a lion' then Jeff went to the bedroom.,There is almost no chance that 'Mary moved 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.1::factA. 0.2::factB. 0.0::factC. %hop1 0.1::factX:-or(factC,factB). 0.2::factY:-or(factB,factC). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.02000000000000001,0.257251450290058,train,almost no chance,likely,There is almost no chance that 'Mary moved to the office' or 'Brian is white' or both.,It is likely that 'Mary moved to the office' or 'Brian is white' or both.,1,'Mary moved to the office' or 'Brian is white' or both. We doubt that John left the milk. Chances are slight that Mary moved to the garden. It is highly likely that Jeff dropped the apple. It is probably the case that if 'John left the milk and Jeff dropped the apple' then Winona is a mouse. It is unlikely that if 'Jeff dropped the apple' or 'John left the milk' or both then Bill went to the office. It is unlikely that if 'Jeff dropped the apple' or 'Mary moved to the garden' or both then Brian is gray.,It is probable that 'John left the milk 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.2::factA. 0.1::factB. 0.9::factC. %hop1 0.7::factX:-and(factA,factC). 0.2::factY:-or(factC,factA). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.02000000000000001,0.7781556311262252,train,almost no chance,probable,There is almost no chance that 'John left the milk and Mary moved to the garden'.,It is probable that 'John left the milk and Mary moved to the garden'.,0,'John left the milk and Mary moved to the garden'. There is a better than even chance that Mary took the milk. We believe that Lily is a swan. It is unlikely that Bernhard is yellow. There is a better than even chance that if either 'Mary took the milk' or 'Bernhard is yellow' but not both then Jessica is a cat. We doubt that if 'Mary took the milk' or 'Lily is a swan' or both then Brian is a rhino. It is impossible that if 'Lily is a swan and Bernhard is yellow' then Fred went to the office.,There is a better than even chance that 'Mary took the milk' or 'Fred 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.6::factA. 0.75::factB. 0.2::factC. %hop1 0.6::factX:-xor(factA,factC). 0.2::factY:-or(factA,factB). 0.0::factZ:-and(factB,factC). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.6,0.28945789157831564,train,better than even,improbable,There is a better than even chance that 'Mary took the milk' or 'Fred went to the office' or both.,It is improbable that 'Mary took the milk' or 'Fred went to the office' or both.,1,'Mary took the milk' or 'Fred went to the office' or both. It is likely that Sandra got the milk. It is highly likely that John moved to the garden. It is probably not the case that Julius is a rhino. It is impossible that if 'John moved to the garden and Julius is a rhino' then Emily is a cat. There is almost no chance that if 'Sandra got the milk' or 'John moved to the garden' or both then Winona is a sheep. It is highly unlikely that if either 'John moved to the garden' or 'Julius is a rhino' but not both then Gertrude is a sheep.,It is impossible that 'Emily is a cat 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 0.7::factA. 0.9::factB. 0.25::factC. %hop1 0.0::factX:-and(factB,factC). 0.02::factY:-or(factA,factB). 0.05::factZ:-xor(factB,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.0,0.4868973794758952,train,impossible,about even,It is impossible that 'Emily is a cat and Sandra got the milk'.,Chances are about even that 'Emily is a cat and Sandra got the milk'.,1,'Emily is a cat and Sandra got the milk'. It is probably the case that Bernhard is yellow. Chances are slight that Gertrude is a sheep. It is almost certain that Bill went to the garden. It is highly likely that if 'Gertrude is a sheep and Bernhard is yellow' then Yann is tired. We doubt that if either 'Bill went to the garden' or 'Gertrude is a sheep' but not both then Julius is white. It is probably not the case that if 'Gertrude is a sheep' or 'Bernhard is yellow' or both then Greg is green.,There is almost no chance that either 'Bill went to the garden' or 'Yann 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.1::factB. 0.95::factC. %hop1 0.9::factX:-and(factB,factA). 0.2::factY:-xor(factC,factB). 0.25::factZ:-or(factB,factA). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.8933,0.7643528705741148,train,highly likely,almost no chance,It is highly likely that either 'Bill went to the garden' or 'Yann is tired' but not both.,There is almost no chance that either 'Bill went to the garden' or 'Yann is tired' but not both.,0,Either 'Bill went to the garden' or 'Yann is tired' but not both. Chances are about even that Mary moved to the garden. It is highly unlikely that John left the football. There is almost no chance that Greg is a frog. We believe that if 'Mary moved to the garden and John left the football' then Jessica is a cat. It is unlikely that if 'John left the football' or 'Greg is a frog' or both then Lily is yellow. Chances are slight that if 'Mary moved to the garden and John left the football' then Daniel dropped the apple.,There is almost no chance that either 'Daniel dropped the apple' 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.5::factA. 0.05::factB. 0.02::factC. %hop1 0.75::factX:-and(factA,factB). 0.2::factY:-or(factB,factC). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.015299999999999998,0.02460492098419684,train,almost no chance,certain,There is almost no chance that either 'Daniel dropped the apple' or 'Lily is yellow' but not both.,It is certain that either 'Daniel dropped the apple' or 'Lily is yellow' but not both.,1,Either 'Daniel dropped the apple' or 'Lily is yellow' but not both. It is impossible that John dropped the apple. It is certain that Greg is gray. There is a very good chance that Julius is a swan. Chances are about even that if 'Julius is a swan' or 'Greg is gray' or both then Brian is a rhino. It is likely that if 'John dropped the apple and Greg is gray' then Lily is white. We believe that if 'Julius is a swan' or 'Greg is gray' or both then Mary went to the office.,It is impossible that 'Julius is a swan and John 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.0::factA. 1.0::factB. 0.8::factC. %hop1 0.5::factX:-or(factC,factB). 0.7::factY:-and(factA,factB). 0.75::factZ:-or(factC,factB). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.0,0.14142828565713142,train,impossible,very good chance,It is impossible that 'Julius is a swan and John dropped the apple'.,There is a very good chance that 'Julius is a swan and John dropped the apple'.,1,'Julius is a swan and John dropped the apple'. It is almost certain that Bernhard is white. We doubt that Brian is a rhino. It is likely that Lily is a swan. Chances are about even that if 'Brian is a rhino' or 'Bernhard is white' or both then Greg is a frog. There is a very good chance that if 'Brian is a rhino' or 'Bernhard is white' or both then Sandra dropped the milk. We believe that if 'Bernhard is white' or 'Lily is a swan' or both then John left the football.,It is almost certain that 'Greg is a frog' 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.95::factA. 0.2::factB. 0.7::factC. %hop1 0.5::factX:-or(factB,factA). 0.8::factY:-or(factB,factA). 0.75::factZ:-or(factA,factC). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.955,0.1312262452490498,train,almost certain,highly unlikely,It is almost certain that 'Greg is a frog' or 'Bernhard is white' or both.,It is highly unlikely that 'Greg is a frog' or 'Bernhard is white' or both.,1,'Greg is a frog' or 'Bernhard is white' or both. Chances are about even that Lily is gray. It is impossible that John took the apple. We believe that Mary went to the office. We believe that if 'Lily is gray and John took the apple' then Daniel left the milk. It is certain that if 'Mary went to the office' or 'Lily is gray' or both then Bernhard is a swan. Chances are slight that if either 'Mary went to the office' or 'Lily is gray' but not both then Brian is a frog.,There is little chance that either 'Mary went to the office' 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.5::factA. 0.0::factB. 0.75::factC. %hop1 0.75::factX:-and(factA,factB). 1.0::factY:-or(factC,factA). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.12500000000000003,0.33946789357871576,train,little chance,we believe,There is little chance that either 'Mary went to the office' or 'Bernhard is a swan' but not both.,We believe that either 'Mary went to the office' or 'Bernhard is a swan' but not both.,1,Either 'Mary went to the office' or 'Bernhard is a swan' but not both. It is likely that Mary got the milk. It is probable that Greg is green. Chances are about even that Bernhard is a rhino. There is little chance that if either 'Greg is green' or 'Bernhard is a rhino' but not both then Yann is thirsty. It is highly likely that if 'Mary got the milk and Greg is green' then Jeff moved to the garden. Chances are about even that if 'Greg is green and Mary got the milk' then Sandra dropped the milk.,There is little chance that 'Jeff moved 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.7::factA. 0.7::factB. 0.5::factC. %hop1 0.1::factX:-xor(factB,factC). 0.9::factY:-and(factA,factB). 0.5::factZ:-and(factB,factA). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.7,0.11202240448089618,train,probable,little chance,It is probable that 'Jeff moved to the garden' or 'Mary got the milk' or both.,There is little chance that 'Jeff moved to the garden' or 'Mary got the milk' or both.,0,'Jeff moved to the garden' or 'Mary got the milk' or both. It is highly likely that Mary discarded the apple. It is highly likely that Jeff went to the bedroom. It is highly unlikely that John moved to the office. It is almost certain that if either 'Mary discarded the apple' or 'Jeff went to the bedroom' but not both then Sandra left the football. It is certain that if 'Mary discarded the apple and Jeff went to the bedroom' then Julius is a lion. It is unlikely that if 'Mary discarded the apple' or 'Jeff went to the bedroom' or both then Bernhard is a rhino.,There is a very good chance that 'Julius is a lion and Jeff 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.9::factA. 0.9::factB. 0.05::factC. %hop1 0.95::factX:-xor(factA,factB). 1.0::factY:-and(factA,factB). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.81,0.12002400480096019,train,very good chance,unlikely,There is a very good chance that 'Julius is a lion and Jeff went to the bedroom'.,It is unlikely that 'Julius is a lion and Jeff went to the bedroom'.,1,'Julius is a lion and Jeff went to the bedroom'. We believe that John got the apple. It is improbable that Mary went to the office. It is impossible that Bernhard is a swan. Chances are slight that if 'Mary went to the office' or 'John got the apple' or both then Lily is yellow. We believe that if 'Mary went to the office and John got the apple' then Greg is a lion. It is probably not the case that if either 'John got the apple' or 'Mary went to the office' but not both then Jeff left the football.,It is probably not the case that 'Jeff left the football' 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.75::factA. 0.1::factB. 0.0::factC. %hop1 0.1::factX:-or(factB,factA). 0.75::factY:-and(factB,factA). 0.25::factZ:-xor(factA,factB). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.23500000000000004,0.6637327465493099,train,probably not,we believe,It is probably not the case that 'Jeff left the football' or 'Lily is yellow' or both.,We believe that 'Jeff left the football' or 'Lily is yellow' or both.,1,'Jeff left the football' or 'Lily is yellow' or both. There is little chance that Greg is green. We doubt that Julius is a rhino. There is almost no chance that John moved to the garden. It is improbable that if 'John moved to the garden and Greg is green' then Brian is yellow. It is probably not the case that if 'Julius is a rhino' or 'Greg is green' or both then Bernhard is a swan. There is a very good chance that if 'John moved to the garden and Julius is a rhino' then Jeff discarded the milk.,It is impossible that 'Jeff discarded the milk 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.2::factB. 0.02::factC. %hop1 0.1::factX:-and(factC,factA). 0.25::factY:-or(factB,factA). 0.8::factZ:-and(factC,factB). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.0003200000000000001,0.017803560712142428,train,impossible,certain,It is impossible that 'Jeff discarded the milk and Greg is green'.,It is certain that 'Jeff discarded the milk and Greg is green'.,1,'Jeff discarded the milk and Greg is green'. It is likely that Mary picked up the milk. It is impossible that John put down the apple. There is a better than even chance that Winona is a wolf. It is almost certain that if either 'John put down the apple' or 'Mary picked up the milk' but not both then Bernhard is green. It is probably the case that if either 'Mary picked up the milk' or 'John put down the apple' but not both then Jessica is a mouse. It is unlikely that if either 'Winona is a wolf' or 'John put down the apple' but not both then Julius is a frog.,There is little chance that 'John put down the apple' 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.0::factB. 0.6::factC. %hop1 0.95::factX:-xor(factB,factA). 0.7::factY:-xor(factA,factB). 0.2::factZ:-xor(factC,factB). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.6649999999999999,0.08061612322464493,train,probable,little chance,It is probable that 'John put down the apple' or 'Bernhard is green' or both.,There is little chance that 'John put down the apple' or 'Bernhard is green' or both.,0,'John put down the apple' or 'Bernhard is green' or both. It is probably not the case that John moved to the garden. Chances are slight that Jeff left the apple. It is highly likely that Daniel took the football. It is impossible that if either 'Daniel took the football' or 'Jeff left the apple' but not both then Emily is a wolf. Chances are about even that if 'Daniel took the football and Jeff left the apple' then Julius is a lion. There is little chance that if 'Daniel took the football and Jeff left the apple' then Mary went to the kitchen.,It is probably not the case that either 'Julius 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.25::factA. 0.1::factB. 0.9::factC. %hop1 0.0::factX:-xor(factC,factB). 0.5::factY:-and(factC,factB). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.2725,0.3282656531306261,train,probably not,highly likely,It is probably not the case that either 'Julius is a lion' or 'John moved to the garden' but not both.,It is highly likely that either 'Julius is a lion' or 'John moved to the garden' but not both.,1,Either 'Julius is a lion' or 'John moved to the garden' but not both. It is probable that John went to the garden. There is a very good chance that Emily is a mouse. It is certain that Bernhard is green. We doubt that if either 'John went to the garden' or 'Bernhard is green' but not both then Daniel got the football. There is little chance that if 'John went to the garden and Bernhard is green' then Greg is yellow. There is almost no chance that if 'Bernhard is green' or 'John went to the garden' or both then Mary is in the school.,There is almost no chance that either 'Greg is yellow' 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.7::factA. 0.8::factB. 1.0::factC. %hop1 0.2::factX:-xor(factA,factC). 0.1::factY:-and(factA,factC). 0.02::factZ:-or(factC,factA). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.758,0.23384676935387078,train,we believe,almost no chance,We believe that either 'Greg is yellow' or 'Emily is a mouse' but not both.,There is almost no chance that either 'Greg is yellow' or 'Emily is a mouse' but not both.,0,Either 'Greg is yellow' or 'Emily is a mouse' but not both. It is certain that Bernhard is yellow. It is unlikely that Brian is a frog. We believe that Greg is white. It is probably not the case that if either 'Greg is white' or 'Bernhard is yellow' but not both then Mary got the football. There is a better than even chance that if either 'Greg is white' or 'Bernhard is yellow' but not both then Sandra dropped the milk. It is impossible that if 'Brian is a frog' or 'Greg is white' or both then Julius is a rhino.,We doubt that 'Sandra dropped the milk' or 'Bernhard 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.2::factB. 0.75::factC. %hop1 0.25::factX:-xor(factC,factA). 0.6::factY:-xor(factC,factA). 0.0::factZ:-or(factB,factC). %hop2 conclusion:-or(factY,factA). query(conclusion). ",1.0,0.5119023804760953,train,certain,we doubt,It is certain that 'Sandra dropped the milk' or 'Bernhard is yellow' or both.,We doubt that 'Sandra dropped the milk' or 'Bernhard is yellow' or both.,0,'Sandra dropped the milk' or 'Bernhard is yellow' or both. There is little chance that Daniel got the milk. It is almost certain that Bill moved to the office. There is a very good chance that Sandra left the football. There is a better than even chance that if either 'Daniel got the milk' or 'Bill moved to the office' but not both then Mary dropped the apple. There is almost no chance that if either 'Bill moved to the office' or 'Sandra left the football' but not both then Lily is a swan. There is little chance that if 'Sandra left the football and Bill moved to the office' then Brian is a lion.,There is little chance that 'Brian is a lion 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.1::factA. 0.95::factB. 0.8::factC. %hop1 0.6::factX:-xor(factA,factB). 0.02::factY:-xor(factB,factC). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.07600000000000001,0.5587117423484697,train,little chance,almost certain,There is little chance that 'Brian is a lion and Bill moved to the office'.,It is almost certain that 'Brian is a lion and Bill moved to the office'.,1,'Brian is a lion and Bill moved to the office'. We doubt that Lily is a swan. It is unlikely that Mary took the football. Chances are about even that Brian is green. It is impossible that if either 'Mary took the football' or 'Lily is a swan' but not both then Julius is gray. There is a better than even chance that if either 'Mary took the football' or 'Brian is green' but not both then John moved to the garden. Chances are about even that if 'Lily is a swan' or 'Mary took the football' or both then Bernhard is a frog.,It is certain that 'Bernhard is a frog' 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.2::factA. 0.2::factB. 0.5::factC. %hop1 0.0::factX:-xor(factB,factA). 0.6::factY:-xor(factB,factC). 0.5::factZ:-or(factA,factB). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.42600000000000005,0.6299259851970395,train,about even,certain,Chances are about even that 'Bernhard is a frog' or 'John moved to the garden' or both.,It is certain that 'Bernhard is a frog' or 'John moved to the garden' or both.,0,'Bernhard is a frog' or 'John moved to the garden' or both. There is almost no chance that Mary left the milk. It is likely that Sandra dropped the milk. It is certain that Bernhard is green. It is probably not the case that if either 'Mary left the milk' or 'Bernhard is green' but not both then Jeff went to the hallway. Chances are slight that if either 'Bernhard is green' or 'Sandra dropped the milk' but not both then Brian is a swan. It is highly likely that if 'Sandra dropped the milk' or 'Bernhard is green' or both then John grabbed the apple.,It is probably the case that 'Mary left the milk' 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.02::factA. 0.7::factB. 1.0::factC. %hop1 0.25::factX:-xor(factA,factC). 0.1::factY:-xor(factC,factB). 0.9::factZ:-or(factB,factC). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.04940000000000002,0.7271454290858171,train,highly unlikely,probably,It is highly unlikely that 'Mary left the milk' or 'Brian is a swan' or both.,It is probably the case that 'Mary left the milk' or 'Brian is a swan' or both.,0,'Mary left the milk' or 'Brian is a swan' or both. It is highly unlikely that Mary grabbed the milk. There is a very good chance that Bill moved to the office. We believe that Greg is a frog. It is highly unlikely that if 'Mary grabbed the milk and Greg is a frog' then Emily is a sheep. It is unlikely that if either 'Mary grabbed the milk' or 'Greg is a frog' but not both then Julius is a frog. It is probably the case that if either 'Greg is a frog' or 'Bill moved to the office' but not both then John dropped the apple.,We believe that 'Greg is a frog' or 'Emily 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.05::factA. 0.8::factB. 0.75::factC. %hop1 0.05::factX:-and(factA,factC). 0.2::factY:-xor(factA,factC). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.75,0.08801760352070415,train,we believe,almost no chance,We believe that 'Greg is a frog' or 'Emily is a sheep' or both.,There is almost no chance that 'Greg is a frog' or 'Emily is a sheep' or both.,1,'Greg is a frog' or 'Emily is a sheep' or both. It is almost certain that Jessica is a mouse. We doubt that Greg is yellow. Chances are slight that Mary left the football. It is probably not the case that if either 'Greg is yellow' or 'Jessica is a mouse' but not both then Winona is a wolf. It is improbable that if 'Greg is yellow' or 'Mary left the football' or both then Jeff went to the garden. It is probable that if either 'Mary left the football' or 'Jessica is a mouse' but not both then Julius is a lion.,It is impossible that 'Julius is a lion' 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.95::factA. 0.2::factB. 0.1::factC. %hop1 0.25::factX:-xor(factB,factA). 0.1::factY:-or(factB,factC). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.9535,0.10562112422484497,train,almost certain,impossible,It is almost certain that 'Julius is a lion' or 'Jessica is a mouse' or both.,It is impossible that 'Julius is a lion' or 'Jessica is a mouse' or both.,0,'Julius is a lion' or 'Jessica is a mouse' or both. Chances are slight that John moved to the garden. It is almost certain that Jessica is a mouse. It is probable that Greg is a rhino. Chances are about even that if 'John moved to the garden' or 'Greg is a rhino' or both then Brian is a swan. Chances are slight that if 'John moved to the garden and Jessica is a mouse' then Fred went to the office. There is a better than even chance that if 'Jessica is a mouse and John moved to the garden' then Mary left the football.,It is highly unlikely that 'Jessica is a mouse' 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.1::factA. 0.95::factB. 0.7::factC. %hop1 0.5::factX:-or(factA,factC). 0.1::factY:-and(factA,factB). 0.6::factZ:-and(factB,factA). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.955,0.06601320264052811,train,almost certain,highly unlikely,It is almost certain that 'Jessica is a mouse' or 'John moved to the garden' or both.,It is highly unlikely that 'Jessica is a mouse' or 'John moved to the garden' or both.,0,'Jessica is a mouse' or 'John moved to the garden' or both. We believe that John went to the hallway. There is little chance that Mary left the football. It is certain that Bernhard is yellow. It is almost certain that if either 'Mary left the football' or 'John went to the hallway' but not both then Brian is a rhino. Chances are about even that if 'Bernhard is yellow' or 'Mary left the football' or both then Winona is a wolf. It is likely that if 'Mary left the football' or 'John went to the hallway' or both then Lily is a lion.,It is probable that 'Bernhard is yellow 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.75::factA. 0.1::factB. 1.0::factC. %hop1 0.95::factX:-xor(factB,factA). 0.5::factY:-or(factC,factB). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.10000000000000002,0.35627125425085016,train,chances are slight,probable,Chances are slight that 'Bernhard is yellow and Mary left the football'.,It is probable that 'Bernhard is yellow and Mary left the football'.,0,'Bernhard is yellow and Mary left the football'. We doubt that Winona is a mouse. It is unlikely that John dropped the apple. We doubt that Greg is a rhino. It is highly likely that if 'Greg is a rhino' or 'Winona is a mouse' or both then Sumit is bored. It is likely that if 'Winona is a mouse' or 'John dropped the apple' or both then Bernhard is green. It is likely that if 'John dropped the apple and Greg is a rhino' then Mary took the milk.,We doubt that either 'Mary took the milk' 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.2::factA. 0.2::factB. 0.2::factC. %hop1 0.9::factX:-or(factC,factA). 0.7::factY:-or(factA,factB). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.2168,0.14382876575315062,train,we doubt,we believe,We doubt that either 'Mary took the milk' or 'Winona is a mouse' but not both.,We believe that either 'Mary took the milk' or 'Winona is a mouse' but not both.,1,Either 'Mary took the milk' or 'Winona is a mouse' but not both. It is probable that Yann is bored. It is probably the case that Jeff moved to the office. There is a very good chance that Bill got the milk there. It is likely that if 'Bill got the milk there and Jeff moved to the office' then Brian is a rhino. It is improbable that if 'Bill got the milk there and Jeff moved to the office' then Daniel dropped the apple. It is probable that if 'Yann is bored' or 'Jeff moved to the office' or both then Lily is a swan.,Chances are about even that 'Jeff moved to the office and Yann 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.7::factA. 0.7::factB. 0.8::factC. %hop1 0.7::factX:-and(factC,factB). 0.1::factY:-and(factC,factB). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.48999999999999994,0.6399279855971194,train,about even,impossible,Chances are about even that 'Jeff moved to the office and Yann is bored'.,It is impossible that 'Jeff moved to the office and Yann is bored'.,1,'Jeff moved to the office and Yann is bored'. It is certain that John went to the office. It is certain that Winona is a wolf. It is likely that Fred put down the apple. We believe that if either 'Winona is a wolf' or 'Fred put down the apple' but not both then Brian is a lion. It is highly unlikely that if either 'Fred put down the apple' or 'John went to the office' but not both then Julius is a swan. Chances are about even that if 'Winona is a wolf and John went to the office' then Jason is tired.,It is unlikely that 'Fred put down the apple' 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 1.0::factA. 1.0::factB. 0.7::factC. %hop1 0.75::factX:-xor(factB,factC). 0.05::factY:-xor(factC,factA). 0.5::factZ:-and(factB,factA). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.925,0.42488497699539907,train,almost certain,unlikely,It is almost certain that 'Fred put down the apple' or 'Brian is a lion' or both.,It is unlikely that 'Fred put down the apple' or 'Brian is a lion' or both.,0,'Fred put down the apple' or 'Brian is a lion' or both. Chances are slight that Brian is a swan. It is highly likely that Julius is a rhino. There is a very good chance that Bernhard is a lion. There is a very good chance that if 'Bernhard is a lion and Julius is a rhino' then Antoine is hungry. There is almost no chance that if 'Brian is a swan and Julius is a rhino' then Mary grabbed the milk. We doubt that if either 'Brian is a swan' or 'Julius is a rhino' but not both then Greg is green.,It is impossible that either 'Mary grabbed the milk' or 'Antoine is hungry' 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.8::factX:-and(factC,factB). 0.02::factY:-and(factA,factB). 0.2::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.575496,0.06701340268053611,train,better than even,impossible,There is a better than even chance that either 'Mary grabbed the milk' or 'Antoine is hungry' but not both.,It is impossible that either 'Mary grabbed the milk' or 'Antoine is hungry' but not both.,0,Either 'Mary grabbed the milk' or 'Antoine is hungry' but not both. There is almost no chance that Bernhard is a rhino. There is a very good chance that Winona is a cat. It is improbable that Brian is a swan. There is a better than even chance that if 'Brian is a swan' or 'Winona is a cat' or both then Jessica is a mouse. It is almost certain that if either 'Brian is a swan' or 'Winona is a cat' but not both then Sandra dropped the milk. There is almost no chance that if 'Brian is a swan and Winona is a cat' then Mary left the football.,It is highly likely that either 'Sandra dropped the milk' or 'Winona 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.02::factA. 0.8::factB. 0.1::factC. %hop1 0.6::factX:-or(factC,factB). 0.95::factY:-xor(factC,factB). 0.02::factZ:-and(factC,factB). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.13500000000000006,0.11282256451290258,train,chances are slight,highly likely,Chances are slight that either 'Sandra dropped the milk' or 'Winona is a cat' but not both.,It is highly likely that either 'Sandra dropped the milk' or 'Winona is a cat' but not both.,0,Either 'Sandra dropped the milk' or 'Winona is a cat' but not both. It is impossible that Greg is a rhino. We doubt that Mary went to the bedroom. It is highly likely that Bernhard is a swan. It is improbable that if either 'Mary went to the bedroom' or 'Greg is a rhino' but not both then Emily is a wolf. There is almost no chance that if 'Bernhard is a swan' or 'Mary went to the bedroom' or both then Brian is white. It is probable that if 'Bernhard is a swan and Greg is a rhino' then John dropped the apple.,There is almost no chance that 'Emily is a wolf' 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. 0.2::factB. 0.9::factC. %hop1 0.1::factX:-xor(factB,factA). 0.02::factY:-or(factC,factB). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.02000000000000001,0.4518903780756151,train,almost no chance,highly likely,There is almost no chance that 'Emily is a wolf' or 'Greg is a rhino' or both.,It is highly likely that 'Emily is a wolf' or 'Greg is a rhino' or both.,1,'Emily is a wolf' or 'Greg is a rhino' or both. It is unlikely that Jessica is a mouse. It is highly likely that Lily is green. It is highly likely that Mary took the milk. It is probable that if 'Jessica is a mouse and Mary took the milk' then Julius is white. We believe that if 'Jessica is a mouse and Lily is green' then John went to the bedroom. It is unlikely that if 'Mary took the milk' or 'Lily is green' or both then Greg is yellow.,It is probably the case that 'John went to the bedroom' 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.2::factA. 0.9::factB. 0.9::factC. %hop1 0.7::factX:-and(factA,factC). 0.75::factY:-and(factA,factB). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.17595,0.7899579915983197,train,we doubt,probably,We doubt that 'John went to the bedroom' or 'Julius is white' or both.,It is probably the case that 'John went to the bedroom' or 'Julius is white' or both.,0,'John went to the bedroom' or 'Julius is white' or both. It is almost certain that Sandra left the football. There is almost no chance that Greg is a swan. It is probably not the case that John went to the kitchen. It is probable that if 'John went to the kitchen and Greg is a swan' then Bernhard is white. We doubt that if 'Sandra left the football and John went to the kitchen' then Julius is a lion. There is a very good chance that if 'Greg is a swan' or 'John went to the kitchen' or both then Lily is a frog.,It is almost certain that either 'Sandra left the football' 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.95::factA. 0.02::factB. 0.25::factC. %hop1 0.7::factX:-and(factC,factB). 0.2::factY:-and(factA,factC). 0.8::factZ:-or(factB,factC). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.94685,0.4396879375875175,train,almost certain,highly unlikely,It is almost certain that either 'Sandra left the football' or 'Bernhard is white' but not both.,It is highly unlikely that either 'Sandra left the football' or 'Bernhard is white' but not both.,1,Either 'Sandra left the football' or 'Bernhard is white' but not both. There is little chance that Emily is a mouse. Chances are slight that Daniel left the milk. There is little chance that Greg is a rhino. It is unlikely that if either 'Emily is a mouse' or 'Greg is a rhino' but not both then Jessica is a cat. There is little chance that if 'Greg is a rhino' or 'Emily is a mouse' or both then Brian is a swan. It is probably not the case that if 'Daniel left the milk' or 'Emily is a mouse' or both then John went to the office.,It is highly likely that 'Jessica is a cat 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.1::factA. 0.1::factB. 0.1::factC. %hop1 0.2::factX:-xor(factA,factC). 0.1::factY:-or(factC,factA). 0.25::factZ:-or(factB,factA). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.003600000000000003,0.1290258051610322,train,impossible,highly likely,It is impossible that 'Jessica is a cat and Brian is a swan'.,It is highly likely that 'Jessica is a cat and Brian is a swan'.,0,'Jessica is a cat and Brian is a swan'. It is improbable that Jessica is a mouse. It is highly likely that Fred went to the garden. It is improbable that Mary got the football. It is highly unlikely that if 'Mary got the football' or 'Jessica is a mouse' or both then Bernhard is green. It is highly unlikely that if 'Mary got the football and Fred went to the garden' then Daniel left the apple. Chances are slight that if 'Fred went to the garden' or 'Jessica is a mouse' or both then Julius is white.,It is unlikely that 'Jessica is a mouse' 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.9::factB. 0.1::factC. %hop1 0.05::factX:-or(factC,factA). 0.05::factY:-and(factC,factB). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.19000000000000006,0.23624724944988998,train,unlikely,certain,It is unlikely that 'Jessica is a mouse' or 'Mary got the football' or both.,It is certain that 'Jessica is a mouse' or 'Mary got the football' or both.,1,'Jessica is a mouse' or 'Mary got the football' or both. We doubt that John left the football. It is certain that Greg is a swan. Chances are about even that Antoine is hungry. It is almost certain that if either 'John left the football' or 'Greg is a swan' but not both then Julius is white. It is unlikely that if either 'Antoine is hungry' or 'John left the football' but not both then Brian is white. It is unlikely that if either 'Antoine is hungry' or 'John left the football' but not both then Mary put down the apple.,Chances are about even that 'Antoine is hungry' 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. 1.0::factB. 0.5::factC. %hop1 0.95::factX:-xor(factA,factB). 0.2::factY:-xor(factC,factA). 0.2::factZ:-xor(factC,factA). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.52,0.09481896379275855,train,about even,highly unlikely,Chances are about even that 'Antoine is hungry' or 'Brian is white' or both.,It is highly unlikely that 'Antoine is hungry' or 'Brian is white' or both.,1,'Antoine is hungry' or 'Brian is white' or both. It is unlikely that Jeff moved to the office. We doubt that Bernhard is a swan. There is little chance that Lily is a frog. It is impossible that if 'Bernhard is a swan and Jeff moved to the office' then Mary went to the garden. Chances are about even that if 'Jeff moved to the office' or 'Lily is a frog' or both then Julius is white. Chances are slight that if 'Lily is a frog and Bernhard is a swan' then Brian is yellow.,Chances are slight that either 'Mary went to the garden' 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.2::factA. 0.2::factB. 0.1::factC. %hop1 0.0::factX:-and(factB,factA). 0.5::factY:-or(factA,factC). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.14,0.5993198639727946,train,chances are slight,we believe,Chances are slight that either 'Mary went to the garden' or 'Julius is white' but not both.,We believe that either 'Mary went to the garden' or 'Julius is white' but not both.,1,Either 'Mary went to the garden' or 'Julius is white' but not both. There is a very good chance that Brian is a swan. It is highly unlikely that Jessica is a cat. Chances are slight that Julius is gray. There is almost no chance that if 'Jessica is a cat and Julius is gray' then Greg is yellow. It is impossible that if 'Julius is gray' or 'Jessica is a cat' or both then Lily is green. It is probably not the case that if either 'Brian is a swan' or 'Julius is gray' but not both then Mary left the football.,It is improbable that 'Jessica is a cat' 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.05::factB. 0.1::factC. %hop1 0.02::factX:-and(factB,factC). 0.0::factY:-or(factC,factB). 0.25::factZ:-xor(factA,factC). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.81,0.7391478295659132,train,very good chance,improbable,There is a very good chance that 'Jessica is a cat' or 'Brian is a swan' or both.,It is improbable that 'Jessica is a cat' or 'Brian is a swan' or both.,0,'Jessica is a cat' or 'Brian is a swan' or both. It is certain that Bill went to the kitchen. It is unlikely that Lily is gray. It is improbable that John discarded the apple. It is probably the case that if 'Lily is gray and Bill went to the kitchen' then Sandra took the milk. It is probably not the case that if either 'Bill went to the kitchen' or 'Lily is gray' but not both then Bernhard is a swan. It is unlikely that if either 'John discarded the apple' or 'Lily is gray' but not both then Brian is green.,It is almost certain that either 'Brian is green' or 'Bill went to the kitchen' 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.2::factB. 0.1::factC. %hop1 0.7::factX:-and(factB,factA). 0.25::factY:-xor(factA,factB). 0.2::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.948,0.3150630126025205,train,almost certain,highly unlikely,It is almost certain that either 'Brian is green' or 'Bill went to the kitchen' but not both.,It is highly unlikely that either 'Brian is green' or 'Bill went to the kitchen' but not both.,1,Either 'Brian is green' or 'Bill went to the kitchen' but not both. We believe that Gertrude is a wolf. It is impossible that Sandra dropped the milk. There is a very good chance that Bernhard is yellow. There is a better than even chance that if 'Sandra dropped the milk' or 'Bernhard is yellow' or both then Brian is a swan. Chances are about even that if 'Bernhard is yellow and Gertrude is a wolf' then John got the apple. It is probable that if either 'Sandra dropped the milk' or 'Bernhard is yellow' but not both then Mary went to the office.,It is impossible that 'Sandra dropped the milk 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.0::factB. 0.8::factC. %hop1 0.6::factX:-or(factB,factC). 0.5::factY:-and(factC,factA). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.0,0.7125425085017003,train,impossible,better than even,It is impossible that 'Sandra dropped the milk and John got the apple'.,There is a better than even chance that 'Sandra dropped the milk and John got the apple'.,1,'Sandra dropped the milk and John got the apple'. Chances are about even that Greg is white. It is highly unlikely that John grabbed the apple. There is a very good chance that Brian is a frog. It is probable that if 'John grabbed the apple' or 'Brian is a frog' or both then Mary went to the garden. Chances are slight that if 'Brian is a frog and John grabbed the apple' then Lily is a swan. It is almost certain that if either 'Brian is a frog' or 'John grabbed the apple' but not both then Jessica is a mouse.,We doubt that either 'Brian is a frog' 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.5::factA. 0.05::factB. 0.8::factC. %hop1 0.7::factX:-or(factB,factC). 0.1::factY:-and(factC,factB). 0.95::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.796,0.5799159831966393,train,very good chance,we doubt,There is a very good chance that either 'Brian is a frog' or 'Lily is a swan' but not both.,We doubt that either 'Brian is a frog' or 'Lily is a swan' but not both.,0,Either 'Brian is a frog' or 'Lily is a swan' but not both. We doubt that John dropped the apple. We believe that Greg is a lion. It is almost certain that Lily is a lion. It is unlikely that if 'Lily is a lion and John dropped the apple' then Julius is a swan. It is impossible that if 'John dropped the apple and Lily is a lion' then Mary left the football. It is highly unlikely that if either 'Greg is a lion' or 'Lily is a lion' but not both then Brian is yellow.,There is a better than even chance that 'Brian is yellow' 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.2::factA. 0.75::factB. 0.95::factC. %hop1 0.2::factX:-and(factC,factA). 0.0::factY:-and(factA,factC). 0.05::factZ:-xor(factB,factC). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.051275000000000015,0.7615523104620924,train,highly unlikely,better than even,It is highly unlikely that 'Brian is yellow' or 'Julius is a swan' or both.,There is a better than even chance that 'Brian is yellow' or 'Julius is a swan' or both.,0,'Brian is yellow' or 'Julius is a swan' or both. Chances are slight that Brian is yellow. It is probably the case that Yann is hungry. It is likely that Greg is a lion. There is a better than even chance that if 'Greg is a lion and Yann is hungry' then Bernhard is green. It is almost certain that if 'Brian is yellow and Greg is a lion' then Lily is a swan. It is highly likely that if 'Greg is a lion' or 'Yann is hungry' or both then Julius is gray.,We believe that either 'Brian is yellow' 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.1::factA. 0.7::factB. 0.7::factC. %hop1 0.6::factX:-and(factC,factB). 0.95::factY:-and(factA,factC). 0.9::factZ:-or(factC,factB). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.7552,0.745749149829966,train,we believe,we doubt,We believe that either 'Brian is yellow' or 'Julius is gray' but not both.,We doubt that either 'Brian is yellow' or 'Julius is gray' but not both.,1,Either 'Brian is yellow' or 'Julius is gray' but not both. There is a very good chance that Brian is a rhino. There is a better than even chance that Bill went to the office. It is highly likely that Bernhard is yellow. There is almost no chance that if either 'Brian is a rhino' or 'Bernhard is yellow' but not both then Sumit is tired. We doubt that if 'Bill went to the office' or 'Brian is a rhino' or both then Julius is gray. It is highly unlikely that if 'Bill went to the office and Bernhard is yellow' then Sandra grabbed the apple.,It is probably not the case that 'Bernhard is yellow' or 'Sandra 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.8::factA. 0.6::factB. 0.9::factC. %hop1 0.02::factX:-xor(factA,factC). 0.2::factY:-or(factB,factA). 0.05::factZ:-and(factB,factC). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.9,0.5013002600520104,train,highly likely,probably not,It is highly likely that 'Bernhard is yellow' or 'Sandra grabbed the apple' or both.,It is probably not the case that 'Bernhard is yellow' or 'Sandra grabbed the apple' or both.,0,'Bernhard is yellow' or 'Sandra grabbed the apple' or both. It is probably not the case that Emily is a wolf. It is almost certain that Sandra left the football. It is certain that Greg is a frog. There is almost no chance that if 'Emily is a wolf and Sandra left the football' then Winona is a mouse. We believe that if 'Sandra left the football and Emily is a wolf' then Mary moved to the garden. It is unlikely that if 'Emily is a wolf' or 'Sandra left the football' or both then Lily is a rhino.,It is probably not the case that 'Sandra left the football' 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.25::factA. 0.95::factB. 1.0::factC. %hop1 0.02::factX:-and(factA,factB). 0.75::factY:-and(factB,factA). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.95,0.038807761552310464,train,almost certain,probably not,It is almost certain that 'Sandra left the football' or 'Winona is a mouse' or both.,It is probably not the case that 'Sandra left the football' or 'Winona is a mouse' or both.,0,'Sandra left the football' or 'Winona is a mouse' or both. Chances are about even that Greg is yellow. It is highly likely that Bernhard is a frog. There is almost no chance that Brian is green. There is almost no chance that if 'Bernhard is a frog' or 'Greg is yellow' or both then Lily is a rhino. We doubt that if either 'Bernhard is a frog' or 'Greg is yellow' but not both then Julius is gray. It is probable that if either 'Bernhard is a frog' or 'Brian is green' but not both then Mary went to the bedroom.,It is highly unlikely that either 'Bernhard is a frog' 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.5::factA. 0.9::factB. 0.02::factC. %hop1 0.02::factX:-or(factB,factA). 0.2::factY:-xor(factB,factA). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.82,0.5137027405481096,train,very good chance,highly unlikely,There is a very good chance that either 'Bernhard is a frog' or 'Julius is gray' but not both.,It is highly unlikely that either 'Bernhard is a frog' or 'Julius is gray' but not both.,0,Either 'Bernhard is a frog' or 'Julius is gray' but not both. It is certain that Greg is a swan. It is probably not the case that Sandra left the football. It is probably the case that Brian is a lion. It is probable that if 'Greg is a swan' or 'Sandra left the football' or both then John moved to the garden. It is impossible that if either 'Greg is a swan' or 'Brian is a lion' but not both then Gertrude is a sheep. There is almost no chance that if either 'Sandra left the football' or 'Greg is a swan' but not both then Bernhard is a frog.,It is probably not the case that either 'Gertrude is a sheep' or 'Sandra 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 1.0::factA. 0.25::factB. 0.7::factC. %hop1 0.7::factX:-or(factA,factB). 0.0::factY:-xor(factA,factC). 0.02::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.25,0.3076615323064613,train,probably not,almost certain,It is probably not the case that either 'Gertrude is a sheep' or 'Sandra left the football' but not both.,It is almost certain that either 'Gertrude is a sheep' or 'Sandra left the football' but not both.,1,Either 'Gertrude is a sheep' or 'Sandra left the football' but not both. It is probable that Bernhard is a frog. There is a very good chance that Brian is yellow. It is probably the case that Daniel got the football. It is unlikely that if 'Brian is yellow' or 'Daniel got the football' or both then John went to the hallway. There is a better than even chance that if 'Bernhard is a frog and Daniel got the football' then Jessica is a mouse. There is a very good chance that if either 'Daniel got the football' or 'Brian is yellow' but not both then Greg is a lion.,There is a better than even chance that 'Brian is yellow 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.7::factA. 0.8::factB. 0.7::factC. %hop1 0.2::factX:-or(factB,factC). 0.6::factY:-and(factA,factC). 0.8::factZ:-xor(factC,factB). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.5599999999999999,0.0652130426085217,train,better than even,chances are slight,There is a better than even chance that 'Brian is yellow and Bernhard is a frog'.,Chances are slight that 'Brian is yellow and Bernhard is a frog'.,1,'Brian is yellow and Bernhard is a frog'. It is likely that Mary went to the garden. It is highly unlikely that Winona is a mouse. Chances are about even that Jeff dropped the apple. It is likely that if either 'Jeff dropped the apple' or 'Winona is a mouse' but not both then Bernhard is green. There is almost no chance that if either 'Mary went to the garden' or 'Winona is a mouse' but not both then Gertrude is a cat. It is unlikely that if 'Mary went to the garden' or 'Jeff dropped the apple' or both then Brian is a frog.,There is almost no chance that 'Jeff dropped the apple and Winona 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.7::factA. 0.05::factB. 0.5::factC. %hop1 0.7::factX:-xor(factC,factB). 0.02::factY:-xor(factA,factB). 0.2::factZ:-or(factA,factC). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.025,0.7581516303260653,train,almost no chance,likely,There is almost no chance that 'Jeff dropped the apple and Winona is a mouse'.,It is likely that 'Jeff dropped the apple and Winona is a mouse'.,1,'Jeff dropped the apple and Winona is a mouse'. Chances are about even that Brian is a frog. It is probably the case that Bernhard is a lion. It is highly likely that Gertrude is a mouse. It is certain that if 'Gertrude is a mouse' or 'Brian is a frog' or both then Sandra left the milk. It is probably not the case that if 'Bernhard is a lion' or 'Brian is a frog' or both then Julius is a swan. It is likely that if 'Brian is a frog and Bernhard is a lion' then John dropped the apple.,It is improbable that 'Gertrude is a mouse 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.5::factA. 0.7::factB. 0.9::factC. %hop1 1.0::factX:-or(factC,factA). 0.25::factY:-or(factB,factA). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.63,0.020804160832166435,train,better than even,improbable,There is a better than even chance that 'Gertrude is a mouse and Bernhard is a lion'.,It is improbable that 'Gertrude is a mouse and Bernhard is a lion'.,0,'Gertrude is a mouse and Bernhard is a lion'. Chances are slight that Bernhard is green. We believe that Greg is a lion. It is almost certain that Brian is a swan. It is unlikely that if 'Greg is a lion and Brian is a swan' then Sandra dropped the milk. Chances are about even that if 'Bernhard is green' or 'Greg is a lion' or both then Julius is a rhino. Chances are about even that if 'Greg is a lion' or 'Bernhard is green' or both then John went to the office.,It is highly likely 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.1::factA. 0.75::factB. 0.95::factC. %hop1 0.2::factX:-and(factB,factC). 0.5::factY:-or(factA,factB). 0.5::factZ:-or(factB,factA). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.86,0.7499499899979996,train,highly likely,unlikely,It is highly likely that either 'Brian is a swan' or 'Bernhard is green' but not both.,It is unlikely that either 'Brian is a swan' or 'Bernhard is green' but not both.,1,Either 'Brian is a swan' or 'Bernhard is green' but not both. There is a very good chance that Lily is white. There is almost no chance that Yann is bored. Chances are slight that Emily is a sheep. It is likely that if either 'Emily is a sheep' or 'Yann is bored' but not both then Greg is gray. It is impossible that if 'Lily is white and Yann is bored' then Jeff went to the bedroom. It is impossible that if 'Yann is bored' or 'Emily is a sheep' or both then Bernhard is a swan.,There is almost no chance that 'Greg is gray and Yann 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.8::factA. 0.02::factB. 0.1::factC. %hop1 0.7::factX:-xor(factC,factB). 0.0::factY:-and(factA,factB). 0.0::factZ:-or(factB,factC). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.0126,0.03340668133626725,train,almost no chance,better than even,There is almost no chance that 'Greg is gray and Yann is bored'.,There is a better than even chance that 'Greg is gray and Yann is bored'.,1,'Greg is gray and Yann is bored'. Chances are about even that Greg is gray. There is a very good chance that Winona is a wolf. It is probably the case that John went to the kitchen. It is almost certain that if 'Winona is a wolf and John went to the kitchen' then Gertrude is a mouse. It is improbable that if 'Greg is gray' or 'John went to the kitchen' or both then Lily is a swan. There is little chance that if 'John went to the kitchen' or 'Greg is gray' or both then Mary dropped the apple.,Chances are about even that either 'Winona is a wolf' or 'Greg 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.5::factA. 0.8::factB. 0.7::factC. %hop1 0.95::factX:-and(factB,factC). 0.1::factY:-or(factA,factC). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5,0.2374474894978996,train,about even,highly unlikely,Chances are about even that either 'Winona is a wolf' or 'Greg is gray' but not both.,It is highly unlikely that either 'Winona is a wolf' or 'Greg is gray' but not both.,1,Either 'Winona is a wolf' or 'Greg is gray' but not both. We believe that John moved to the garden. There is little chance that Gertrude is a sheep. It is likely that Lily is a swan. We doubt that if either 'Gertrude is a sheep' or 'Lily is a swan' but not both then Mary took the milk. It is improbable that if either 'Lily is a swan' or 'Gertrude is a sheep' but not both then Brian is a frog. It is highly likely that if either 'John moved to the garden' or 'Lily is a swan' but not both then Julius is green.,It is probably not the case that either 'Lily is a swan' 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.75::factA. 0.1::factB. 0.7::factC. %hop1 0.2::factX:-xor(factB,factC). 0.1::factY:-xor(factC,factB). 0.9::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6599999999999999,0.6811362272454491,train,probably,probably not,It is probably the case that either 'Lily is a swan' or 'Gertrude is a sheep' but not both.,It is probably not the case that either 'Lily is a swan' or 'Gertrude is a sheep' but not both.,0,Either 'Lily is a swan' or 'Gertrude is a sheep' but not both. It is probable that Winona is a sheep. Chances are slight that Mary went to the office. We believe that John took the apple. It is unlikely that if either 'John took the apple' or 'Mary went to the office' but not both then Brian is a lion. We doubt that if either 'Mary went to the office' or 'Winona is a sheep' but not both then Sandra dropped the milk. It is highly unlikely that if 'John took the apple and Winona is a sheep' then Greg is white.,It is probable that 'Greg is white' 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.7::factA. 0.1::factB. 0.75::factC. %hop1 0.2::factX:-xor(factC,factB). 0.2::factY:-xor(factB,factA). 0.05::factZ:-and(factC,factA). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.7,0.369873974794959,train,probable,impossible,It is probable that 'Greg is white' or 'Winona is a sheep' or both.,It is impossible that 'Greg is white' or 'Winona is a sheep' or both.,1,'Greg is white' or 'Winona is a sheep' or both. There is a very good chance that Mary went to the bedroom. There is a very good chance that Bernhard is a swan. It is improbable that Antoine is bored. There is a better than even chance that if either 'Mary went to the bedroom' or 'Antoine is bored' but not both then Lily is a frog. It is probable that if 'Mary went to the bedroom' or 'Bernhard is a swan' or both then Bill moved to the office. We doubt that if 'Antoine is bored and Bernhard is a swan' then John dropped the apple.,It is almost certain that 'Bernhard is a swan' or 'Mary 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.8::factA. 0.8::factB. 0.1::factC. %hop1 0.6::factX:-xor(factA,factC). 0.7::factY:-or(factA,factB). 0.2::factZ:-and(factC,factB). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9600000000000001,0.21284256851370273,train,almost certain,almost no chance,It is almost certain that 'Bernhard is a swan' or 'Mary went to the bedroom' or both.,There is almost no chance that 'Bernhard is a swan' or 'Mary went to the bedroom' or both.,1,'Bernhard is a swan' or 'Mary went to the bedroom' or both. It is almost certain that Bill went to the bedroom. It is likely that Jessica is a mouse. It is highly unlikely that Greg is a swan. There is a very good chance that if either 'Bill went to the bedroom' or 'Greg is a swan' but not both then Sumit is thirsty. It is probable that if 'Bill went to the bedroom and Jessica is a mouse' then Sandra put down the milk. It is improbable that if 'Jessica is a mouse and Greg is a swan' then Julius is yellow.,Chances are about even that either 'Greg is a swan' or 'Sandra 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.95::factA. 0.7::factB. 0.05::factC. %hop1 0.8::factX:-xor(factA,factC). 0.7::factY:-and(factA,factB). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.46894999999999987,0.17003400680136027,train,about even,highly unlikely,Chances are about even that either 'Greg is a swan' or 'Sandra put down the milk' but not both.,It is highly unlikely that either 'Greg is a swan' or 'Sandra put down the milk' but not both.,1,Either 'Greg is a swan' or 'Sandra put down the milk' but not both. It is probably not the case that Brian is a swan. Chances are about even that Mary went to the kitchen. It is likely that Bernhard is a lion. We doubt that if 'Mary went to the kitchen and Brian is a swan' then Jason is tired. It is probably the case that if 'Bernhard is a lion' or 'Brian is a swan' or both then John moved to the garden. It is probably the case that if 'Brian is a swan' or 'Mary went to the kitchen' or both then Greg is gray.,There is a very good chance that either 'Brian is a swan' or 'Greg 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.25::factA. 0.5::factB. 0.7::factC. %hop1 0.2::factX:-and(factB,factA). 0.7::factY:-or(factC,factA). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.3375,0.12162432486497299,train,probably not,very good chance,It is probably not the case that either 'Brian is a swan' or 'Greg is gray' but not both.,There is a very good chance that either 'Brian is a swan' or 'Greg is gray' but not both.,0,Either 'Brian is a swan' or 'Greg is gray' but not both. It is highly unlikely that Brian is a frog. It is highly unlikely that Mary got the football. It is probably the case that Julius is gray. It is impossible that if 'Brian is a frog and Mary got the football' then John went to the hallway. It is likely that if either 'Mary got the football' or 'Julius is gray' but not both then Lily is a swan. There is a better than even chance that if 'Mary got the football and Julius is gray' then Sandra put down the milk.,It is probably the case that 'Mary got the football' 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.05::factB. 0.7::factC. %hop1 0.0::factX:-and(factA,factB). 0.7::factY:-xor(factB,factC). 0.6::factZ:-and(factB,factC). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.715,0.5613122624524906,train,probably,unlikely,It is probably the case that 'Mary got the football' or 'Julius is gray' or both.,It is unlikely that 'Mary got the football' or 'Julius is gray' or both.,1,'Mary got the football' or 'Julius is gray' or both. There is a very good chance that John took the football. It is probably the case that Daniel dropped the apple. It is impossible that Fred went to the garden. It is improbable that if either 'Fred went to the garden' or 'John took the football' but not both then Brian is a frog. It is unlikely that if 'Daniel dropped the apple and Fred went to the garden' then Mary left the football. We doubt that if either 'Daniel dropped the apple' or 'Fred went to the garden' but not both then Greg is white.,It is improbable that 'John took the football and Daniel 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.8::factA. 0.7::factB. 0.0::factC. %hop1 0.1::factX:-xor(factC,factA). 0.2::factY:-and(factB,factC). 0.2::factZ:-xor(factB,factC). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.5599999999999999,0.70874174834967,train,better than even,improbable,There is a better than even chance that 'John took the football and Daniel dropped the apple'.,It is improbable that 'John took the football and Daniel dropped the apple'.,0,'John took the football and Daniel dropped the apple'. It is probably not the case that Sumit is thirsty. There is little chance that John got the apple. There is a very good chance that Brian is a lion. It is probably the case that if 'John got the apple and Sumit is thirsty' then Sandra took the football. It is almost certain that if 'Brian is a lion' or 'Sumit is thirsty' or both then Bernhard is gray. It is unlikely that if 'John got the apple' or 'Brian is a lion' or both then Bill moved to the office.,There is almost no chance that 'Sandra took the football 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. 0.8::factC. %hop1 0.7::factX:-and(factB,factA). 0.95::factY:-or(factC,factA). 0.2::factZ:-or(factB,factC). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.01750000000000001,0.47989597919583915,train,almost no chance,likely,There is almost no chance that 'Sandra took the football and John got the apple'.,It is likely that 'Sandra took the football and John got the apple'.,1,'Sandra took the football and John got the apple'. There is almost no chance that Greg is a frog. It is probably the case that Winona is a sheep. Chances are about even that Lily is a lion. It is probably not the case that if 'Winona is a sheep and Lily is a lion' then John got the milk. It is highly unlikely that if either 'Winona is a sheep' or 'Lily is a lion' but not both then Sandra grabbed the apple. It is almost certain that if 'Winona is a sheep and Greg is a frog' then Mary went to the garden.,It is certain that 'Mary went to the garden 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.02::factA. 0.7::factB. 0.5::factC. %hop1 0.25::factX:-and(factB,factC). 0.05::factY:-xor(factB,factC). 0.95::factZ:-and(factB,factA). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.006650000000000005,0.5609121824364873,train,impossible,certain,It is impossible that 'Mary went to the garden and Lily is a lion'.,It is certain that 'Mary went to the garden and Lily is a lion'.,0,'Mary went to the garden and Lily is a lion'. We doubt that Jeff moved to the garden. It is impossible that Mary grabbed the milk. We believe that Bernhard is gray. It is unlikely that if 'Mary grabbed the milk and Bernhard is gray' then Fred discarded the apple. It is improbable that if 'Bernhard is gray and Jeff moved to the garden' then Julius is yellow. There is little chance that if 'Bernhard is gray and Jeff moved to the garden' then Greg is green.,It is unlikely that 'Jeff moved to the garden' 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.2::factA. 0.0::factB. 0.75::factC. %hop1 0.2::factX:-and(factB,factC). 0.1::factY:-and(factC,factA). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.2,0.08661732346469293,train,unlikely,probably,It is unlikely that 'Jeff moved to the garden' or 'Greg is green' or both.,It is probably the case that 'Jeff moved to the garden' or 'Greg is green' or both.,1,'Jeff moved to the garden' or 'Greg is green' or both. It is improbable that Jessica is a sheep. It is probable that Lily is green. It is almost certain that Bernhard is a frog. It is improbable that if 'Jessica is a sheep' or 'Lily is green' or both then Brian is a rhino. It is improbable that if either 'Lily is green' or 'Bernhard is a frog' but not both then Mary went to the office. There is a better than even chance that if 'Bernhard is a frog and Lily is green' then Greg is a swan.,It is almost certain that either 'Mary went to the office' 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.1::factA. 0.7::factB. 0.95::factC. %hop1 0.1::factX:-or(factA,factB). 0.1::factY:-xor(factB,factC). 0.6::factZ:-and(factC,factB). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.10373000000000006,0.1328265653130626,train,little chance,almost certain,There is little chance that either 'Mary went to the office' or 'Brian is a rhino' but not both.,It is almost certain that either 'Mary went to the office' or 'Brian is a rhino' but not both.,0,Either 'Mary went to the office' or 'Brian is a rhino' but not both. There is almost no chance that Winona is a mouse. We doubt that Julius is gray. It is probably the case that John dropped the milk. There is a better than even chance that if 'Julius is gray and Winona is a mouse' then Bill went to the kitchen. There is a very good chance that if 'John dropped the milk and Julius is gray' then Greg is a swan. It is almost certain that if 'John dropped the milk and Winona is a mouse' then Brian is yellow.,It is impossible that 'Brian is yellow 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.02::factA. 0.2::factB. 0.7::factC. %hop1 0.6::factX:-and(factB,factA). 0.8::factY:-and(factC,factB). 0.95::factZ:-and(factC,factA). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.0026600000000000018,0.09801960392078415,train,impossible,better than even,It is impossible that 'Brian is yellow and Julius is gray'.,There is a better than even chance that 'Brian is yellow and Julius is gray'.,1,'Brian is yellow and Julius is gray'. It is improbable that Gertrude is a mouse. Chances are slight that Lily is white. It is probable that John went to the hallway. There is little chance that if 'Gertrude is a mouse and Lily is white' then Mary dropped the milk. There is a very good chance that if either 'John went to the hallway' or 'Lily is white' but not both then Fred moved to the office. It is almost certain that if 'Lily is white' or 'John went to the hallway' or both then Julius is gray.,There is a better than even chance that 'Lily is white and Gertrude 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.1::factA. 0.1::factB. 0.7::factC. %hop1 0.1::factX:-and(factA,factB). 0.8::factY:-xor(factC,factB). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.010000000000000004,0.5191038207641528,train,almost no chance,better than even,There is almost no chance that 'Lily is white and Gertrude is a mouse'.,There is a better than even chance that 'Lily is white and Gertrude is a mouse'.,0,'Lily is white and Gertrude is a mouse'. There is a better than even chance that Greg is a rhino. It is likely that Mary moved to the garden. It is almost certain that Bernhard is a swan. It is certain that if 'Bernhard is a swan and Mary moved to the garden' then Sandra grabbed the apple. It is probably not the case that if either 'Greg is a rhino' or 'Mary moved to the garden' but not both then Gertrude is a mouse. There is little chance that if 'Greg is a rhino' or 'Mary moved to the garden' or both then Lily is a frog.,It is improbable that either 'Gertrude is a mouse' or 'Sandra grabbed 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.6::factA. 0.7::factB. 0.95::factC. %hop1 1.0::factX:-and(factC,factB). 0.25::factY:-xor(factA,factB). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.6469999999999999,0.009601920384076815,train,better than even,improbable,There is a better than even chance that either 'Gertrude is a mouse' or 'Sandra grabbed the apple' but not both.,It is improbable that either 'Gertrude is a mouse' or 'Sandra grabbed the apple' but not both.,0,Either 'Gertrude is a mouse' or 'Sandra grabbed the apple' but not both. There is little chance that John took the apple. It is unlikely that Sandra put down the milk. It is certain that Brian is a swan. It is certain that if either 'Sandra put down the milk' or 'Brian is a swan' but not both then Julius is a lion. Chances are about even that if 'Sandra put down the milk' or 'John took the apple' or both then Mary left the football. It is likely that if either 'Sandra put down the milk' or 'Brian is a swan' but not both then Emily is a wolf.,There is little chance that 'Brian 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.1::factA. 0.2::factB. 1.0::factC. %hop1 1.0::factX:-xor(factB,factC). 0.5::factY:-or(factB,factA). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.8,0.23864772954590918,train,very good chance,little chance,There is a very good chance that 'Brian is a swan and Julius is a lion'.,There is little chance that 'Brian is a swan and Julius is a lion'.,0,'Brian is a swan and Julius is a lion'. It is highly likely that Jessica is a sheep. It is probably the case that Mary left the football. There is a better than even chance that Brian is white. Chances are about even that if 'Mary left the football' or 'Jessica is a sheep' or both then Gertrude is a mouse. It is certain that if 'Jessica is a sheep' or 'Brian is white' or both then Fred dropped the apple. It is improbable that if either 'Jessica is a sheep' or 'Brian is white' but not both then Julius is a swan.,There is a better than even chance that either 'Fred dropped the apple' or 'Jessica 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.9::factA. 0.7::factB. 0.6::factC. %hop1 0.5::factX:-or(factB,factA). 1.0::factY:-or(factA,factC). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.06,0.7775555111022204,train,highly unlikely,better than even,It is highly unlikely that either 'Fred dropped the apple' or 'Jessica is a sheep' but not both.,There is a better than even chance that either 'Fred dropped the apple' or 'Jessica is a sheep' but not both.,0,Either 'Fred dropped the apple' or 'Jessica is a sheep' but not both. Chances are about even that Greg is a swan. It is probably the case that John put down the apple. It is unlikely that Lily is a lion. There is a better than even chance that if either 'Greg is a swan' or 'Lily is a lion' but not both then Mary dropped the milk. It is unlikely that if either 'Lily is a lion' or 'Greg is a swan' but not both then Jason is tired. It is improbable that if 'John put down the apple and Greg is a swan' then Julius is a frog.,It is probably not the case that 'Jason is tired' 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.5::factA. 0.7::factB. 0.2::factC. %hop1 0.6::factX:-xor(factA,factC). 0.2::factY:-xor(factC,factA). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.27999999999999997,0.3056611322264453,train,probably not,probable,It is probably not the case that 'Jason is tired' or 'Lily is a lion' or both.,It is probable that 'Jason is tired' or 'Lily is a lion' or both.,1,'Jason is tired' or 'Lily is a lion' or both. There is almost no chance that Winona is a cat. It is probably not the case that Bill moved to the office. It is almost certain that Mary left the football. There is little chance that if 'Bill moved to the office' or 'Mary left the football' or both then Bernhard is a frog. It is highly likely that if 'Winona is a cat and Bill moved to the office' then Brian is a lion. It is impossible that if either 'Mary left the football' or 'Winona is a cat' but not both then John put down the apple.,It is probably not the case that either 'Bill 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.02::factA. 0.25::factB. 0.95::factC. %hop1 0.1::factX:-or(factB,factC). 0.9::factY:-and(factA,factB). 0.0::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.29625,0.35327065413082614,train,probably not,certain,It is probably not the case that either 'Bill moved to the office' or 'Bernhard is a frog' but not both.,It is certain that either 'Bill moved to the office' or 'Bernhard is a frog' but not both.,1,Either 'Bill moved to the office' or 'Bernhard is a frog' but not both. There is a very good chance that Greg is a swan. It is likely that Sandra got the football. It is probable that Brian is a swan. We believe that if 'Sandra got the football' or 'Brian is a swan' or both then Mary dropped the apple. It is unlikely that if 'Sandra got the football' or 'Greg is a swan' or both then John went to the kitchen. It is probably the case that if 'Brian is a swan and Greg is a swan' then Lily is a rhino.,It is impossible that 'Lily is a rhino and Greg 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.7::factB. 0.7::factC. %hop1 0.75::factX:-or(factB,factC). 0.2::factY:-or(factB,factA). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.39199999999999996,0.02600520104020804,train,about even,impossible,Chances are about even that 'Lily is a rhino and Greg is a swan'.,It is impossible that 'Lily is a rhino and Greg is a swan'.,0,'Lily is a rhino and Greg is a swan'. We doubt that John moved to the garden. There is little chance that Sandra left the apple. It is probable that Daniel took the milk. It is impossible that if 'Sandra left the apple' or 'Daniel took the milk' or both then Brian is a swan. It is probable that if 'Daniel took the milk and Sandra left the apple' then Mary went to the bedroom. It is highly unlikely that if either 'Sandra left the apple' or 'John moved to the garden' but not both then Gertrude is a sheep.,It is probable that either 'Sandra left the apple' 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.2::factA. 0.1::factB. 0.7::factC. %hop1 0.0::factX:-or(factB,factC). 0.7::factY:-and(factC,factB). 0.05::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.105,0.3036607321464293,train,improbable,probable,It is improbable that either 'Sandra left the apple' or 'Gertrude is a sheep' but not both.,It is probable that either 'Sandra left the apple' or 'Gertrude is a sheep' but not both.,0,Either 'Sandra left the apple' or 'Gertrude is a sheep' but not both. There is almost no chance that Mary went to the kitchen. Chances are about even that Brian is green. We believe that Daniel took the football. Chances are about even that if 'Brian is green and Daniel took the football' then Yann is thirsty. Chances are slight that if either 'Brian is green' or 'Mary went to the kitchen' but not both then Greg is a rhino. It is highly likely that if 'Brian is green and Daniel took the football' then Lily is gray.,We believe that 'Daniel took 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.02::factA. 0.5::factB. 0.75::factC. %hop1 0.5::factX:-and(factB,factC). 0.1::factY:-xor(factB,factA). 0.9::factZ:-and(factB,factC). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.7625000000000001,0.3214642928585717,train,we believe,little chance,We believe that 'Daniel took the football' or 'Greg is a rhino' or both.,There is little chance that 'Daniel took the football' or 'Greg is a rhino' or both.,1,'Daniel took the football' or 'Greg is a rhino' or both. There is little chance that Julius is gray. It is highly likely that Greg is a swan. It is probably not the case that Daniel left the football. Chances are about even that if 'Julius is gray and Greg is a swan' then Bernhard is gray. There is a better than even chance that if 'Julius is gray' or 'Daniel left the football' or both then Brian is a rhino. Chances are about even that if 'Daniel left the football' or 'Greg is a swan' or both then John went to the hallway.,It is highly unlikely that either 'Greg is a swan' 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.1::factA. 0.9::factB. 0.25::factC. %hop1 0.5::factX:-and(factA,factB). 0.6::factY:-or(factA,factC). 0.5::factZ:-or(factC,factB). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.744,0.13922784556911383,train,we believe,highly unlikely,We believe that either 'Greg is a swan' or 'Brian is a rhino' but not both.,It is highly unlikely that either 'Greg is a swan' or 'Brian is a rhino' but not both.,0,Either 'Greg is a swan' or 'Brian is a rhino' but not both. We doubt that Greg is a rhino. We doubt that Daniel dropped the milk. There is a better than even chance that Yann is tired. We believe that if either 'Greg is a rhino' or 'Yann is tired' but not both then Mary went to the kitchen. It is certain that if either 'Daniel dropped the milk' or 'Yann is tired' but not both then John put down the apple. It is unlikely that if 'Greg is a rhino and Yann is tired' then Lily is white.,There is a very good chance that either 'Greg is a rhino' or 'Daniel 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.2::factA. 0.2::factB. 0.6::factC. %hop1 0.75::factX:-xor(factA,factC). 1.0::factY:-xor(factB,factC). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.32,0.09141828365673135,train,probably not,very good chance,It is probably not the case that either 'Greg is a rhino' or 'Daniel dropped the milk' but not both.,There is a very good chance that either 'Greg is a rhino' or 'Daniel dropped the milk' but not both.,0,Either 'Greg is a rhino' or 'Daniel dropped the milk' but not both. We believe that Mary dropped the apple. There is little chance that John took the football. It is certain that Winona is a mouse. It is probably the case that if either 'Winona is a mouse' or 'Mary dropped the apple' but not both then Greg is a rhino. It is likely that if either 'Winona is a mouse' or 'Mary dropped the apple' but not both then Bernhard is a lion. It is probable that if 'John took the football' or 'Winona is a mouse' or both then Julius is yellow.,It is probably not the case that 'Greg is a rhino' or 'John took 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.75::factA. 0.1::factB. 1.0::factC. %hop1 0.7::factX:-xor(factC,factA). 0.7::factY:-xor(factC,factA). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.25750000000000006,0.7233446689337868,train,probably not,probable,It is probably not the case that 'Greg is a rhino' or 'John took the football' or both.,It is probable that 'Greg is a rhino' or 'John took the football' or both.,1,'Greg is a rhino' or 'John took the football' or both. There is a very good chance that Mary moved to the garden. There is a better than even chance that Winona is a wolf. Chances are slight that Jason is thirsty. There is a better than even chance that if either 'Mary moved to the garden' or 'Winona is a wolf' but not both then Greg is yellow. Chances are slight that if 'Mary moved to the garden' or 'Winona is a wolf' or both then John left the apple. It is probably not the case that if either 'Winona is a wolf' or 'Jason is thirsty' but not both then Bernhard is white.,It is probably not the case that either 'Jason is thirsty' 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.8::factA. 0.6::factB. 0.1::factC. %hop1 0.6::factX:-xor(factA,factB). 0.1::factY:-or(factA,factB). 0.25::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.31120000000000003,0.3112622524504901,train,probably not,certain,It is probably not the case that either 'Jason is thirsty' or 'Greg is yellow' but not both.,It is certain that either 'Jason is thirsty' or 'Greg is yellow' but not both.,1,Either 'Jason is thirsty' or 'Greg is yellow' but not both. Chances are slight that Gertrude is a mouse. We believe that Mary dropped the apple. There is a better than even chance that Brian is white. It is certain that if 'Gertrude is a mouse and Brian is white' then Julius is a rhino. Chances are slight that if 'Brian is white and Gertrude is a mouse' then Antoine is hungry. There is a better than even chance that if 'Mary dropped the apple and Brian is white' then John went to the garden.,It is almost certain that 'John went to the garden 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.1::factA. 0.75::factB. 0.6::factC. %hop1 1.0::factX:-and(factA,factC). 0.1::factY:-and(factC,factA). 0.6::factZ:-and(factB,factC). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.0027000000000000027,0.5263052610522104,train,impossible,almost certain,It is impossible that 'John went to the garden and Antoine is hungry'.,It is almost certain that 'John went to the garden and Antoine is hungry'.,0,'John went to the garden and Antoine is hungry'. Chances are slight that Daniel left the milk. It is likely that Mary moved to the office. There is little chance that Sandra got the milk. We doubt that if either 'Mary moved to the office' or 'Sandra got the milk' but not both then Julius is a frog. It is certain that if 'Daniel left the milk and Mary moved to the office' then Bernhard is a rhino. It is probable that if 'Sandra got the milk and Daniel left the milk' then Greg is a lion.,There is little chance that either 'Greg is a lion' or 'Sandra 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.1::factA. 0.7::factB. 0.1::factC. %hop1 0.2::factX:-xor(factB,factC). 1.0::factY:-and(factA,factB). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.09300000000000001,0.4416883376675335,train,little chance,highly likely,There is little chance that either 'Greg is a lion' or 'Sandra got the milk' but not both.,It is highly likely that either 'Greg is a lion' or 'Sandra got the milk' but not both.,1,Either 'Greg is a lion' or 'Sandra got the milk' but not both. It is impossible that Julius is a rhino. It is probably not the case that Winona is a mouse. It is probable that Mary left the football. Chances are about even that if 'Mary left the football' or 'Winona is a mouse' or both then Bernhard is white. It is almost certain that if either 'Mary left the football' or 'Winona is a mouse' but not both then Greg is a frog. Chances are about even that if either 'Julius is a rhino' or 'Winona is a mouse' but not both then Sandra grabbed the milk.,It is improbable that either 'Greg is a frog' or 'Sandra 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.0::factA. 0.25::factB. 0.7::factC. %hop1 0.5::factX:-or(factC,factB). 0.95::factY:-xor(factC,factB). 0.5::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.6237499999999999,0.6081216243248649,train,better than even,improbable,There is a better than even chance that either 'Greg is a frog' or 'Sandra grabbed the milk' but not both.,It is improbable that either 'Greg is a frog' or 'Sandra grabbed the milk' but not both.,0,Either 'Greg is a frog' or 'Sandra grabbed the milk' but not both. Chances are slight that Julius is a frog. It is probable that Bill moved to the office. Chances are slight that Mary left the milk. There is almost no chance that if 'Julius is a frog' or 'Bill moved to the office' or both then Jeff went to the garden. It is certain that if either 'Bill moved to the office' or 'Julius is a frog' but not both then Lily is white. Chances are about even that if 'Julius is a frog and Bill moved to the office' then John took the football.,It is probable that either 'Mary left the milk' 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.1::factA. 0.7::factB. 0.1::factC. %hop1 0.02::factX:-or(factA,factB). 1.0::factY:-xor(factB,factA). 0.5::factZ:-and(factA,factB). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6599999999999999,0.034206841368273656,train,probable,probably not,It is probable that either 'Mary left the milk' or 'Bill moved to the office' but not both.,It is probably not the case that either 'Mary left the milk' or 'Bill moved to the office' but not both.,1,Either 'Mary left the milk' or 'Bill moved to the office' but not both. It is highly likely that Mary grabbed the milk. There is a better than even chance that Sandra left the milk. We believe that Bernhard is a frog. We believe that if 'Mary grabbed the milk and Bernhard is a frog' then Lily is a swan. There is little chance that if 'Sandra left the milk and Bernhard is a frog' then Daniel got the football. It is likely that if 'Sandra left the milk' or 'Bernhard is a frog' or both then Jessica is a cat.,Chances are about even that either 'Sandra left the milk' 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.9::factA. 0.6::factB. 0.75::factC. %hop1 0.75::factX:-and(factA,factC). 0.1::factY:-and(factB,factC). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.4987500000000001,0.04740948189637927,train,about even,almost no chance,Chances are about even that either 'Sandra left the milk' or 'Lily is a swan' but not both.,There is almost no chance that either 'Sandra left the milk' or 'Lily is a swan' but not both.,1,Either 'Sandra left the milk' or 'Lily is a swan' but not both. It is almost certain that Daniel got the apple. It is certain that Bernhard is green. It is impossible that Jeff went to the garden. It is improbable that if 'Daniel got the apple' or 'Jeff went to the garden' or both then Winona is a mouse. It is likely that if either 'Daniel got the apple' or 'Bernhard is green' but not both then Sandra took the milk. It is highly unlikely that if 'Daniel got the apple' or 'Jeff went to the garden' or both then Julius is a frog.,It is almost certain that 'Winona is a mouse' or 'Daniel 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.95::factA. 1.0::factB. 0.0::factC. %hop1 0.1::factX:-or(factA,factC). 0.7::factY:-xor(factA,factB). 0.05::factZ:-or(factA,factC). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.95,0.624124824964993,train,almost certain,improbable,It is almost certain that 'Winona is a mouse' or 'Daniel got the apple' or both.,It is improbable that 'Winona is a mouse' or 'Daniel got the apple' or both.,1,'Winona is a mouse' or 'Daniel got the apple' or both. There is almost no chance that Lily is a rhino. It is almost certain that Winona is a cat. There is almost no chance that Yann is tired. It is likely that if either 'Lily is a rhino' or 'Winona is a cat' but not both then John moved to the office. It is highly unlikely that if 'Winona is a cat' or 'Yann is tired' or both then Julius is white. It is probably not the case that if 'Lily is a rhino and Yann is tired' then Greg is gray.,It is almost certain that 'Winona is a cat' or 'Yann 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.02::factA. 0.95::factB. 0.02::factC. %hop1 0.7::factX:-xor(factA,factB). 0.05::factY:-or(factB,factC). 0.25::factZ:-and(factA,factC). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.951,0.6987397479495899,train,almost certain,highly unlikely,It is almost certain that 'Winona is a cat' or 'Yann is tired' or both.,It is highly unlikely that 'Winona is a cat' or 'Yann is tired' or both.,1,'Winona is a cat' or 'Yann is tired' or both. It is certain that Sumit is thirsty. It is probably the case that Winona is a sheep. It is probably not the case that Emily is a wolf. It is likely that if 'Emily is a wolf' or 'Sumit is thirsty' or both then Mary grabbed the milk. It is likely that if 'Emily is a wolf' or 'Winona is a sheep' or both then Jessica is a mouse. It is improbable that if either 'Winona is a sheep' or 'Sumit is thirsty' but not both then Brian is a lion.,It is impossible that 'Mary grabbed the milk' 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 1.0::factA. 0.7::factB. 0.25::factC. %hop1 0.7::factX:-or(factC,factA). 0.7::factY:-or(factC,factB). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-or(factX,factA). query(conclusion). ",1.0,0.10622124424884977,train,certain,impossible,It is certain that 'Mary grabbed the milk' or 'Sumit is thirsty' or both.,It is impossible that 'Mary grabbed the milk' or 'Sumit is thirsty' or both.,0,'Mary grabbed the milk' or 'Sumit is thirsty' or both. It is unlikely that Brian is gray. It is almost certain that Yann is hungry. It is highly unlikely that Mary got the apple. It is highly unlikely that if 'Mary got the apple and Brian is gray' then Sandra took the milk. It is improbable that if 'Brian is gray' or 'Mary got the apple' or both then Winona is a wolf. It is improbable that if 'Yann is hungry' or 'Brian is gray' or both then Jessica is a cat.,It is unlikely that 'Yann is hungry' 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.2::factA. 0.95::factB. 0.05::factC. %hop1 0.05::factX:-and(factC,factA). 0.1::factY:-or(factA,factC). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.96,0.17723544708941788,train,almost certain,unlikely,It is almost certain that 'Yann is hungry' or 'Brian is gray' or both.,It is unlikely that 'Yann is hungry' or 'Brian is gray' or both.,0,'Yann is hungry' or 'Brian is gray' or both. It is certain that Lily is a frog. It is probably not the case that Mary got the football. There is little chance that Bernhard is a rhino. It is improbable that if either 'Bernhard is a rhino' or 'Mary got the football' but not both then Gertrude is a mouse. It is probably not the case that if either 'Mary got the football' or 'Bernhard is a rhino' but not both then Julius is green. It is impossible that if 'Mary got the football and Bernhard is a rhino' then John went to the hallway.,We doubt that 'John went to the hallway' 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 1.0::factA. 0.25::factB. 0.1::factC. %hop1 0.1::factX:-xor(factC,factB). 0.25::factY:-xor(factB,factC). 0.0::factZ:-and(factB,factC). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",1.0,0.4260852170434087,train,certain,we doubt,It is certain that 'John went to the hallway' or 'Lily is a frog' or both.,We doubt that 'John went to the hallway' or 'Lily is a frog' or both.,0,'John went to the hallway' or 'Lily is a frog' or both. There is almost no chance that Bernhard is yellow. Chances are slight that Winona is a cat. It is probable that John went to the garden. It is certain that if either 'Winona is a cat' or 'John went to the garden' but not both then Greg is a rhino. Chances are slight that if either 'John went to the garden' or 'Bernhard is yellow' but not both then Mary grabbed the milk. Chances are slight that if either 'Bernhard is yellow' or 'Winona is a cat' but not both then Brian is white.,There is little chance that either 'Mary grabbed the milk' 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.02::factA. 0.1::factB. 0.7::factC. %hop1 1.0::factX:-xor(factB,factC). 0.1::factY:-xor(factC,factA). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.08800000000000002,0.03840768153630726,train,little chance,likely,There is little chance that either 'Mary grabbed the milk' or 'Bernhard is yellow' but not both.,It is likely that either 'Mary grabbed the milk' or 'Bernhard is yellow' but not both.,1,Either 'Mary grabbed the milk' or 'Bernhard is yellow' but not both. It is impossible that Sandra dropped the milk. We doubt that Emily is a sheep. There is little chance that Mary went to the kitchen. We doubt that if either 'Mary went to the kitchen' or 'Sandra dropped the milk' but not both then Bernhard is white. It is unlikely that if either 'Emily is a sheep' or 'Mary went to the kitchen' but not both then Lily is green. It is likely that if 'Mary went to the kitchen and Sandra dropped the milk' then Julius is a rhino.,There is a very good chance that either 'Mary went to the kitchen' 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.0::factA. 0.2::factB. 0.1::factC. %hop1 0.2::factX:-xor(factC,factA). 0.2::factY:-xor(factB,factC). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.08000000000000002,0.7135427085417083,train,improbable,very good chance,It is improbable that either 'Mary went to the kitchen' or 'Bernhard is white' but not both.,There is a very good chance that either 'Mary went to the kitchen' or 'Bernhard is white' but not both.,0,Either 'Mary went to the kitchen' or 'Bernhard is white' but not both. It is probably not the case that John went to the hallway. It is almost certain that Mary moved to the office. Chances are slight that Bernhard is a frog. We doubt that if either 'Bernhard is a frog' or 'Mary moved to the office' but not both then Julius is white. We believe that if 'John went to the hallway and Bernhard is a frog' then Brian is a lion. It is probable that if 'Mary moved to the office and John went to the hallway' then Greg is a swan.,It is probable that 'Brian is a lion' 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.25::factA. 0.95::factB. 0.1::factC. %hop1 0.2::factX:-xor(factC,factB). 0.75::factY:-and(factA,factC). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.25,0.27185437087417486,train,probably not,probable,It is probably not the case that 'Brian is a lion' or 'John went to the hallway' or both.,It is probable that 'Brian is a lion' or 'John went to the hallway' or both.,0,'Brian is a lion' or 'John went to the hallway' or both. We believe that Daniel left the football. It is certain that Jessica is a cat. It is unlikely that Lily is a swan. There is little chance that if 'Jessica is a cat and Lily is a swan' then Brian is a rhino. There is almost no chance that if either 'Daniel left the football' or 'Lily is a swan' but not both then Greg is white. There is little chance that if 'Lily is a swan' or 'Jessica is a cat' or both then Mary grabbed the milk.,We believe that either 'Daniel left the football' 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. 1.0::factB. 0.2::factC. %hop1 0.1::factX:-and(factB,factC). 0.02::factY:-xor(factA,factC). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.74,0.5453090618123625,train,we believe,probably not,We believe that either 'Daniel left the football' or 'Brian is a rhino' but not both.,It is probably not the case that either 'Daniel left the football' or 'Brian is a rhino' but not both.,1,Either 'Daniel left the football' or 'Brian is a rhino' but not both. It is almost certain that Bernhard is green. It is almost certain that John went to the kitchen. It is improbable that Jason is tired. There is little chance that if 'Jason is tired and John went to the kitchen' then Lily is white. There is little chance that if 'John went to the kitchen' or 'Jason is tired' or both then Mary got the football. It is certain that if 'Jason is tired' or 'Bernhard is green' or both then Greg is a swan.,There is a very good chance that either 'Jason is tired' 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 0.95::factA. 0.95::factB. 0.1::factC. %hop1 0.1::factX:-and(factC,factB). 0.1::factY:-or(factB,factC). 1.0::factZ:-or(factC,factA). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.17550000000000004,0.48469693938787756,train,unlikely,very good chance,It is unlikely that either 'Jason is tired' or 'Mary got the football' but not both.,There is a very good chance that either 'Jason is tired' or 'Mary got the football' but not both.,0,Either 'Jason is tired' or 'Mary got the football' but not both. There is little chance that Lily is a rhino. Chances are about even that Jeff moved to the garden. We doubt that John put down the milk. It is improbable that if 'John put down the milk and Lily is a rhino' then Julius is yellow. It is probably not the case that if 'John put down the milk and Lily is a rhino' then Brian is a swan. It is probable that if either 'John put down the milk' or 'Lily is a rhino' but not both then Winona is a wolf.,It is almost certain that either 'John put down the milk' 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.1::factA. 0.5::factB. 0.2::factC. %hop1 0.1::factX:-and(factC,factA). 0.25::factY:-and(factC,factA). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.195,0.15463092618523705,train,we doubt,almost certain,We doubt that either 'John put down the milk' or 'Brian is a swan' but not both.,It is almost certain that either 'John put down the milk' or 'Brian is a swan' but not both.,0,Either 'John put down the milk' or 'Brian is a swan' but not both. We believe that Julius is a lion. We believe that Brian is white. It is probably the case that Greg is yellow. There is little chance that if 'Greg is yellow and Julius is a lion' then Bernhard is a rhino. It is highly unlikely that if 'Greg is yellow' or 'Brian is white' or both then Mary dropped the milk. There is a very good chance that if 'Julius is a lion' or 'Greg is yellow' or both then Fred left the football.,It is improbable that 'Fred left the football' 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.75::factA. 0.75::factB. 0.7::factC. %hop1 0.1::factX:-and(factC,factA). 0.05::factY:-or(factC,factB). 0.8::factZ:-or(factA,factC). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.88,0.2454490898179636,train,highly likely,improbable,It is highly likely that 'Fred left the football' or 'Greg is yellow' or both.,It is improbable that 'Fred left the football' or 'Greg is yellow' or both.,0,'Fred left the football' or 'Greg is yellow' or both. We doubt that John went to the hallway. Chances are about even that Jeff dropped the apple. We believe that Greg is a frog. It is probably the case that if 'Greg is a frog' or 'John went to the hallway' or both then Mary took the milk. It is impossible that if 'Jeff dropped the apple' or 'John went to the hallway' or both then Brian is a rhino. It is impossible that if 'Greg is a frog' or 'John went to the hallway' or both then Julius is gray.,It is improbable that 'Mary took 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.2::factA. 0.5::factB. 0.75::factC. %hop1 0.7::factX:-or(factC,factA). 0.0::factY:-or(factB,factA). 0.0::factZ:-or(factC,factA). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.785,0.0034006801360272057,train,very good chance,improbable,There is a very good chance that 'Mary took the milk' or 'Greg is a frog' or both.,It is improbable that 'Mary took the milk' or 'Greg is a frog' or both.,0,'Mary took the milk' or 'Greg is a frog' or both. We believe that John moved to the garden. It is probable that Mary went to the office. There is a better than even chance that Jeff discarded the milk. It is highly likely that if 'Mary went to the office' or 'John moved to the garden' or both then Bernhard is gray. It is impossible that if either 'Mary went to the office' or 'Jeff discarded the milk' but not both then Julius is a swan. It is almost certain that if 'John moved to the garden' or 'Jeff discarded the milk' or both then Lily is green.,It is almost certain that 'John moved to the garden 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.75::factA. 0.7::factB. 0.6::factC. %hop1 0.9::factX:-or(factB,factA). 0.0::factY:-xor(factB,factC). 0.95::factZ:-or(factA,factC). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.525,0.5847169433886777,train,about even,almost certain,Chances are about even that 'John moved to the garden and Mary went to the office'.,It is almost certain that 'John moved to the garden and Mary went to the office'.,0,'John moved to the garden and Mary went to the office'. It is likely that John grabbed the apple. It is likely that Brian is white. It is probably the case that Sandra left the milk. We doubt that if 'John grabbed the apple' or 'Sandra left the milk' or both then Sumit is bored. We believe that if 'John grabbed the apple' or 'Brian is white' or both then Bernhard is yellow. It is highly likely that if 'Brian is white and John grabbed the apple' then Lily is a swan.,It is improbable that 'Sumit is bored' 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.7::factA. 0.7::factB. 0.7::factC. %hop1 0.2::factX:-or(factA,factC). 0.75::factY:-or(factA,factB). 0.9::factZ:-and(factB,factA). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.7546,0.7541508301660332,train,we believe,improbable,We believe that 'Sumit is bored' or 'Brian is white' or both.,It is improbable that 'Sumit is bored' or 'Brian is white' or both.,0,'Sumit is bored' or 'Brian is white' or both. It is improbable that Greg is a frog. It is almost certain that Bernhard is a rhino. It is almost certain that Mary went to the office. Chances are about even that if 'Greg is a frog' or 'Bernhard is a rhino' or both then Sandra left the milk. It is improbable that if either 'Mary went to the office' or 'Greg is a frog' but not both then Jason is tired. We doubt that if 'Mary went to the office and Bernhard is a rhino' then Jessica is a mouse.,It is highly likely that either 'Bernhard is a rhino' 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.1::factA. 0.95::factB. 0.95::factC. %hop1 0.5::factX:-or(factA,factB). 0.1::factY:-xor(factC,factA). 0.2::factZ:-and(factC,factB). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.8725999999999999,0.1314262852570514,train,highly likely,almost no chance,It is highly likely that either 'Bernhard is a rhino' or 'Jason is tired' but not both.,There is almost no chance that either 'Bernhard is a rhino' or 'Jason is tired' but not both.,1,Either 'Bernhard is a rhino' or 'Jason is tired' but not both. It is unlikely that Mary went to the office. Chances are about even that Julius is a swan. Chances are slight that Jason is tired. It is likely that if 'Mary went to the office and Julius is a swan' then Brian is green. It is almost certain that if either 'Julius is a swan' or 'Jason is tired' but not both then Sandra got the football. It is highly unlikely that if 'Jason is tired' or 'Julius is a swan' or both then Bernhard is a rhino.,There is a better than even chance that 'Julius is a swan' 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 0.2::factA. 0.5::factB. 0.1::factC. %hop1 0.7::factX:-and(factA,factB). 0.95::factY:-xor(factB,factC). 0.05::factZ:-or(factC,factB). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.55,0.46389277855571115,train,better than even,improbable,There is a better than even chance that 'Julius is a swan' or 'Jason is tired' or both.,It is improbable that 'Julius is a swan' or 'Jason is tired' or both.,1,'Julius is a swan' or 'Jason is tired' or both. It is certain that Julius is yellow. It is highly likely that Bernhard is gray. It is impossible that John took the football. It is likely that if 'Bernhard is gray' or 'John took the football' or both then Mary went to the kitchen. It is unlikely that if either 'John took the football' or 'Bernhard is gray' but not both then Brian is a rhino. It is almost certain that if 'Bernhard is gray' or 'Julius is yellow' or both then Lily is a rhino.,It is certain that 'Julius 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 1.0::factA. 0.9::factB. 0.0::factC. %hop1 0.7::factX:-or(factB,factC). 0.2::factY:-xor(factC,factB). 0.95::factZ:-or(factB,factA). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",1.0,0.017003400680136026,train,certain,about even,It is certain that 'Julius is yellow' or 'Lily is a rhino' or both.,Chances are about even that 'Julius is yellow' or 'Lily is a rhino' or both.,1,'Julius is yellow' or 'Lily is a rhino' or both. It is certain that Julius is white. It is almost certain that Bernhard is a lion. Chances are slight that Sandra got the football. There is a better than even chance that if 'Sandra got the football' or 'Bernhard is a lion' or both then Greg is a rhino. There is a very good chance that if 'Bernhard is a lion' or 'Sandra got the football' or both then Lily is a frog. It is certain that if 'Bernhard is a lion' or 'Julius is white' or both then Brian is green.,It is likely that either 'Sandra got the football' 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 1.0::factA. 0.95::factB. 0.1::factC. %hop1 0.6::factX:-or(factC,factB). 0.8::factY:-or(factB,factC). 1.0::factZ:-or(factB,factA). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.704,0.6703340668133627,train,likely,probably not,It is likely that either 'Sandra got the football' or 'Lily is a frog' but not both.,It is probably not the case that either 'Sandra got the football' or 'Lily is a frog' but not both.,1,Either 'Sandra got the football' or 'Lily is a frog' but not both. It is likely that Mary went to the bedroom. It is probable that John discarded the apple. We doubt that Winona is a wolf. It is impossible that if 'Mary went to the bedroom and Winona is a wolf' then Julius is yellow. Chances are slight that if 'Winona is a wolf and John discarded the apple' then Lily is white. There is little chance that if 'John discarded the apple' or 'Winona is a wolf' or both then Greg is a frog.,It is highly likely that 'Julius is yellow' 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.7::factA. 0.7::factB. 0.2::factC. %hop1 0.0::factX:-and(factA,factC). 0.1::factY:-and(factC,factB). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.07600000000000001,0.3844768953790758,train,chances are slight,highly likely,Chances are slight that 'Julius is yellow' or 'Greg is a frog' or both.,It is highly likely that 'Julius is yellow' or 'Greg is a frog' or both.,0,'Julius is yellow' or 'Greg is a frog' or both. It is highly likely that Fred discarded the apple. It is highly unlikely that Mary dropped the apple. It is likely that Greg is yellow. There is a very good chance that if 'Greg is yellow' or 'Fred discarded the apple' or both then Sandra put down the milk. We believe that if 'Greg is yellow' or 'Mary dropped the apple' or both then Julius is a frog. There is little chance that if 'Fred discarded the apple and Mary dropped the apple' then Brian is yellow.,Chances are about even that 'Julius is a frog and Fred 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.9::factA. 0.05::factB. 0.7::factC. %hop1 0.8::factX:-or(factC,factA). 0.75::factY:-or(factC,factB). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.48262499999999997,0.2684536907381476,train,about even,certain,Chances are about even that 'Julius is a frog and Fred discarded the apple'.,It is certain that 'Julius is a frog and Fred discarded the apple'.,1,'Julius is a frog and Fred discarded the apple'. It is highly unlikely that Julius is a swan. It is highly unlikely that Sandra put down the milk. It is highly likely that John dropped the apple. It is certain that if 'John dropped the apple' or 'Sandra put down the milk' or both then Lily is a rhino. It is impossible that if either 'Julius is a swan' or 'Sandra put down the milk' but not both then Brian is green. It is improbable that if 'Julius is a swan' or 'John dropped the apple' or both then Mary went to the kitchen.,It is highly likely that either 'Lily is a rhino' 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.05::factA. 0.05::factB. 0.9::factC. %hop1 1.0::factX:-or(factC,factB). 0.0::factY:-xor(factA,factB). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.905,0.07841568313662732,train,highly likely,improbable,It is highly likely that either 'Lily is a rhino' or 'Brian is green' but not both.,It is improbable that either 'Lily is a rhino' or 'Brian is green' but not both.,1,Either 'Lily is a rhino' or 'Brian is green' but not both. It is improbable that John discarded the milk. There is a better than even chance that Mary moved to the garden. We doubt that Yann is tired. Chances are slight that if 'John discarded the milk and Yann is tired' then Julius is white. It is probably the case that if either 'Yann is tired' or 'Mary moved to the garden' but not both then Greg is a swan. Chances are about even that if either 'John discarded the milk' or 'Yann is tired' but not both then Lily is a frog.,It is almost certain that 'Yann is tired 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.1::factA. 0.6::factB. 0.2::factC. %hop1 0.1::factX:-and(factA,factC). 0.7::factY:-xor(factC,factB). 0.5::factZ:-xor(factA,factC). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.09000000000000001,0.2760552110422084,train,little chance,almost certain,There is little chance that 'Yann is tired and Lily is a frog'.,It is almost certain that 'Yann is tired and Lily is a frog'.,0,'Yann is tired and Lily is a frog'. There is almost no chance that Daniel dropped the milk. There is a very good chance that Bernhard is a lion. Chances are slight that Brian is a frog. Chances are slight that if either 'Bernhard is a lion' or 'Brian is a frog' but not both then John moved to the garden. There is a better than even chance that if either 'Bernhard is a lion' or 'Brian is a frog' but not both then Lily is yellow. There is almost no chance that if 'Brian is a frog and Daniel dropped the milk' then Greg is a swan.,It is improbable that 'Daniel dropped the milk' 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.02::factA. 0.8::factB. 0.1::factC. %hop1 0.1::factX:-xor(factB,factC). 0.6::factY:-xor(factB,factC). 0.02::factZ:-and(factC,factA). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.09252,0.4348869773954791,train,improbable,almost certain,It is improbable that 'Daniel dropped the milk' or 'John moved to the garden' or both.,It is almost certain that 'Daniel dropped the milk' or 'John moved to the garden' or both.,1,'Daniel dropped the milk' or 'John moved to the garden' or both. It is highly unlikely that Bernhard is a swan. It is highly unlikely that Emily is a sheep. There is a very good chance that John put down the apple. It is certain that if 'Bernhard is a swan and Emily is a sheep' then Brian is a rhino. There is a very good chance that if 'Emily is a sheep and Bernhard is a swan' then Julius is a frog. It is unlikely that if 'Bernhard is a swan' or 'John put down the apple' or both then Mary went to the office.,We doubt that either 'Mary went to the office' 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.05::factA. 0.05::factB. 0.8::factC. %hop1 1.0::factX:-and(factA,factB). 0.8::factY:-and(factB,factA). 0.2::factZ:-or(factA,factC). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.1635,0.014002800560112022,train,we doubt,highly likely,We doubt that either 'Mary went to the office' or 'Brian is a rhino' but not both.,It is highly likely that either 'Mary went to the office' or 'Brian is a rhino' but not both.,1,Either 'Mary went to the office' or 'Brian is a rhino' but not both. There is almost no chance that Bernhard is a rhino. It is probable that Julius is gray. It is unlikely that Mary left the football. Chances are slight that if 'Mary left the football and Julius is gray' then Lily is green. It is impossible that if 'Bernhard is a rhino' or 'Julius is gray' or both then Brian is yellow. We doubt that if either 'Bernhard is a rhino' or 'Julius is gray' but not both then John moved to the office.,There is almost no chance that either 'Bernhard is a rhino' or 'Lily 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.7::factB. 0.2::factC. %hop1 0.1::factX:-and(factC,factB). 0.0::factY:-or(factA,factB). 0.2::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.033440000000000004,0.09541908381676335,train,almost no chance,almost certain,There is almost no chance that either 'Bernhard is a rhino' or 'Lily is green' but not both.,It is almost certain that either 'Bernhard is a rhino' or 'Lily is green' but not both.,1,Either 'Bernhard is a rhino' or 'Lily is green' but not both. It is almost certain that Daniel got the apple. There is a very good chance that John moved to the office. It is probably not the case that Bernhard is a swan. Chances are about even that if 'Daniel got the apple and Bernhard is a swan' then Mary went to the garden. We believe that if 'Daniel got the apple and Bernhard is a swan' then Jessica is a cat. There is a very good chance that if 'Daniel got the apple' or 'Bernhard is a swan' or both then Sandra left the milk.,Chances are slight that either 'John moved to the office' 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.95::factA. 0.8::factB. 0.25::factC. %hop1 0.5::factX:-and(factA,factC). 0.75::factY:-and(factA,factC). 0.8::factZ:-or(factA,factC). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.6931250000000001,0.6411282256451291,train,likely,chances are slight,It is likely that either 'John moved to the office' or 'Jessica is a cat' but not both.,Chances are slight that either 'John moved to the office' or 'Jessica is a cat' but not both.,0,Either 'John moved to the office' or 'Jessica is a cat' but not both. It is improbable that Lily is white. We doubt that Mary went to the bedroom. It is probably not the case that Bill moved to the office. It is improbable that if either 'Mary went to the bedroom' or 'Lily is white' but not both then Jeff left the apple. There is almost no chance that if 'Mary went to the bedroom' or 'Lily is white' or both then Greg is a lion. There is a very good chance that if 'Lily is white and Mary went to the bedroom' then Jessica is a cat.,It is highly unlikely that 'Jessica is a cat' or 'Jeff 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.1::factA. 0.2::factB. 0.25::factC. %hop1 0.1::factX:-xor(factB,factA). 0.02::factY:-or(factB,factA). 0.8::factZ:-and(factA,factB). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.04200000000000003,0.34946989397879574,train,highly unlikely,about even,It is highly unlikely that 'Jessica is a cat' or 'Jeff left the apple' or both.,Chances are about even that 'Jessica is a cat' or 'Jeff left the apple' or both.,1,'Jessica is a cat' or 'Jeff left the apple' or both. We doubt that Bernhard is yellow. It is probable that Fred discarded the apple. It is improbable that John got the milk. We believe that if 'John got the milk and Bernhard is yellow' then Bill went to the bedroom. It is probable that if 'Bernhard is yellow and John got the milk' then Julius is gray. It is improbable that if 'Fred discarded the apple' or 'John got the milk' or both then Mary left the football.,There is almost no chance that 'John got the milk 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.2::factA. 0.7::factB. 0.1::factC. %hop1 0.75::factX:-and(factC,factA). 0.7::factY:-and(factA,factC). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.010000000000000004,0.6349269853970794,train,almost no chance,better than even,There is almost no chance that 'John got the milk and Mary left the football'.,There is a better than even chance that 'John got the milk and Mary left the football'.,1,'John got the milk and Mary left the football'. Chances are about even that Lily is yellow. It is certain that Bernhard is a swan. There is almost no chance that Mary went to the office. It is highly unlikely that if 'Bernhard is a swan and Lily is yellow' then Daniel grabbed the apple. It is probably the case that if either 'Bernhard is a swan' or 'Lily is yellow' but not both then Brian is a lion. It is probably not the case that if 'Mary went to the office' or 'Lily is yellow' or both then Winona is a sheep.,There is a very good chance that 'Brian is a lion' 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.5::factA. 1.0::factB. 0.02::factC. %hop1 0.05::factX:-and(factB,factA). 0.7::factY:-xor(factB,factA). 0.25::factZ:-or(factC,factA). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.8499999999999999,0.6759351870374075,train,very good chance,highly unlikely,There is a very good chance that 'Brian is a lion' or 'Lily is yellow' or both.,It is highly unlikely that 'Brian is a lion' or 'Lily is yellow' or both.,1,'Brian is a lion' or 'Lily is yellow' or both. It is certain that John grabbed the apple. It is probably not the case that Fred left the football. There is a very good chance that Daniel took the milk. It is improbable that if either 'Daniel took the milk' or 'Fred left the football' but not both then Brian is gray. It is probably the case that if 'John grabbed the apple' or 'Fred left the football' or both then Bernhard is a frog. There is a very good chance that if either 'John grabbed the apple' or 'Daniel took the milk' but not both then Julius is green.,It is probably the case that either 'Brian is gray' 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 1.0::factA. 0.25::factB. 0.8::factC. %hop1 0.1::factX:-xor(factC,factB). 0.7::factY:-or(factA,factB). 0.8::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.217,0.41148229645929185,train,unlikely,probably,It is unlikely that either 'Brian is gray' or 'Julius is green' but not both.,It is probably the case that either 'Brian is gray' or 'Julius is green' but not both.,0,Either 'Brian is gray' or 'Julius is green' but not both. It is improbable that Lily is a rhino. We believe that Mary got the football. It is almost certain that Brian is green. There is a better than even chance that if 'Mary got the football and Lily is a rhino' then John picked up the apple. It is almost certain that if 'Mary got the football and Brian is green' then Julius is gray. It is almost certain that if 'Brian is green' or 'Lily is a rhino' or both then Bernhard is a swan.,There is a very good chance that either 'Julius is gray' 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.1::factA. 0.75::factB. 0.95::factC. %hop1 0.6::factX:-and(factB,factA). 0.95::factY:-and(factB,factC). 0.95::factZ:-or(factC,factA). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.273125,0.7945589117823565,train,probably not,very good chance,It is probably not the case that either 'Julius is gray' or 'Brian is green' but not both.,There is a very good chance that either 'Julius is gray' or 'Brian is green' but not both.,0,Either 'Julius is gray' or 'Brian is green' but not both. It is unlikely that Bernhard is white. It is improbable that Fred put down the apple. Chances are about even that John went to the office. It is certain that if 'Bernhard is white and Fred put down the apple' then Mary left the football. It is unlikely that if 'John went to the office and Fred put down the apple' then Brian is a frog. It is improbable that if either 'Bernhard is white' or 'Fred put down the apple' but not both then Lily is a swan.,It is certain that either 'Bernhard is white' or 'Fred 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.2::factA. 0.1::factB. 0.5::factC. %hop1 1.0::factX:-and(factA,factB). 0.2::factY:-and(factC,factB). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.26,0.39627925585117024,train,probably not,certain,It is probably not the case that either 'Bernhard is white' or 'Fred put down the apple' but not both.,It is certain that either 'Bernhard is white' or 'Fred put down the apple' but not both.,0,Either 'Bernhard is white' or 'Fred put down the apple' but not both. We believe that Greg is a swan. It is unlikely that Sandra took the apple. It is certain that Brian is a frog. There is a very good chance that if either 'Greg is a swan' or 'Sandra took the apple' but not both then Bernhard is green. It is highly unlikely that if 'Brian is a frog' or 'Greg is a swan' or both then Jeff discarded the milk. There is little chance that if 'Greg is a swan and Brian is a frog' then Mary dropped the milk.,It is probably not the case 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.75::factA. 0.2::factB. 1.0::factC. %hop1 0.8::factX:-xor(factA,factB). 0.05::factY:-or(factC,factA). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.31,0.3852770554110822,train,probably not,probable,It is probably not the case that either 'Bernhard is green' or 'Greg is a swan' but not both.,It is probable 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 certain that Brian is a frog. It is improbable that Bill left the milk. Chances are slight that Julius is green. It is probably not the case that if 'Bill left the milk and Julius is green' then Lily is a frog. It is probable that if either 'Brian is a frog' or 'Julius is green' but not both then Mary put down the apple. There is little chance that if 'Julius is green and Bill left the milk' then John went to the office.,We doubt that either 'Julius is green' or 'Bill 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 1.0::factA. 0.1::factB. 0.1::factC. %hop1 0.25::factX:-and(factB,factC). 0.7::factY:-xor(factA,factC). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.18000000000000005,0.4474894978995799,train,we doubt,very good chance,We doubt that either 'Julius is green' or 'Bill left the milk' but not both.,There is a very good chance that either 'Julius is green' or 'Bill left the milk' but not both.,1,Either 'Julius is green' or 'Bill left the milk' but not both. There is a better than even chance that Sandra left the milk. It is improbable that Lily is a rhino. There is little chance that Greg is green. We doubt that if either 'Greg is green' or 'Sandra left the milk' but not both then Julius is a swan. It is impossible that if 'Sandra left the milk' or 'Lily is a rhino' or both then Bernhard is white. We believe that if either 'Lily is a rhino' or 'Sandra left the milk' but not both then John discarded the apple.,Chances are about even that 'Lily is a rhino' 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.6::factA. 0.1::factB. 0.1::factC. %hop1 0.2::factX:-xor(factC,factA). 0.0::factY:-or(factA,factB). 0.75::factZ:-xor(factB,factA). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.505,0.3636727345469094,train,about even,certain,Chances are about even that 'Lily is a rhino' or 'John discarded the apple' or both.,It is certain that 'Lily is a rhino' or 'John discarded the apple' or both.,1,'Lily is a rhino' or 'John discarded the apple' or both. It is almost certain that Brian is a frog. It is probably the case that Greg is a rhino. We believe that John went to the office. It is certain that if 'Brian is a frog and Greg is a rhino' then Bernhard is yellow. We believe that if 'Brian is a frog and John went to the office' then Julius is a swan. We believe that if either 'John went to the office' or 'Brian is a frog' but not both then Lily is yellow.,It is certain that 'Bernhard is yellow 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.95::factA. 0.7::factB. 0.75::factC. %hop1 1.0::factX:-and(factA,factB). 0.75::factY:-and(factA,factC). 0.75::factZ:-xor(factC,factA). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.12468749999999998,0.5337067413482697,train,little chance,certain,There is little chance that 'Bernhard is yellow and Lily is yellow'.,It is certain that 'Bernhard is yellow and Lily is yellow'.,0,'Bernhard is yellow and Lily is yellow'. It is highly unlikely that Bernhard is a rhino. Chances are about even that Winona is a wolf. We doubt that John left the football. Chances are about even that if 'John left the football and Winona is a wolf' then Greg is a frog. It is probably not the case that if either 'Winona is a wolf' or 'John left the football' but not both then Emily is a mouse. It is almost certain that if 'John left the football and Winona is a wolf' then Jeff went to the garden.,Chances are about even that 'Bernhard is a rhino' 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.05::factA. 0.5::factB. 0.2::factC. %hop1 0.5::factX:-and(factC,factB). 0.25::factY:-xor(factB,factC). 0.95::factZ:-and(factC,factB). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.525,0.06841368273654731,train,about even,highly unlikely,Chances are about even that 'Bernhard is a rhino' or 'Winona is a wolf' or both.,It is highly unlikely that 'Bernhard is a rhino' or 'Winona is a wolf' or both.,1,'Bernhard is a rhino' or 'Winona is a wolf' or both. We doubt that Bernhard is yellow. We doubt that Julius is a lion. It is unlikely that Sandra is in the kitchen. Chances are slight that if 'Julius is a lion and Sandra is in the kitchen' then Yann is thirsty. It is almost certain that if either 'Sandra is in the kitchen' or 'Julius is a lion' but not both then John got the football. There is a very good chance that if 'Sandra is in the kitchen' or 'Bernhard is yellow' or both then Mary went to the hallway.,It is almost certain that either 'Julius is a lion' or 'Mary went to the hallway' 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.2::factC. %hop1 0.1::factX:-and(factB,factC). 0.95::factY:-xor(factC,factB). 0.8::factZ:-or(factC,factA). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.3728000000000001,0.14942988597719545,train,probably not,almost certain,It is probably not the case that either 'Julius is a lion' or 'Mary went to the hallway' but not both.,It is almost certain that either 'Julius is a lion' or 'Mary went to the hallway' but not both.,0,Either 'Julius is a lion' or 'Mary went to the hallway' but not both. It is impossible that Lily is green. It is highly likely that Greg is a lion. There is almost no chance that Brian is a swan. It is likely that if either 'Greg is a lion' or 'Lily is green' but not both then Winona is a mouse. It is certain that if 'Brian is a swan' or 'Lily is green' or both then Bernhard is a rhino. It is impossible that if 'Lily is green and Greg is a lion' then Jessica is a sheep.,It is highly unlikely that either 'Winona is a mouse' or 'Lily 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.0::factA. 0.9::factB. 0.02::factC. %hop1 0.7::factX:-xor(factB,factA). 1.0::factY:-or(factC,factA). 0.0::factZ:-and(factA,factB). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.63,0.7237447489497899,train,better than even,highly unlikely,There is a better than even chance that either 'Winona is a mouse' or 'Lily is green' but not both.,It is highly unlikely that either 'Winona is a mouse' or 'Lily is green' but not both.,0,Either 'Winona is a mouse' or 'Lily is green' but not both. It is likely that John moved to the office. It is improbable that Mary went to the kitchen. There is little chance that Greg is yellow. It is probable that if either 'Greg is yellow' or 'Mary went to the kitchen' but not both then Brian is a lion. There is a better than even chance that if 'John moved to the office and Greg is yellow' then Jessica is a mouse. We believe that if 'Greg is yellow and Mary went to the kitchen' then Sandra took the apple.,It is highly unlikely that either 'Jessica is a mouse' or 'Sandra 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.7::factA. 0.1::factB. 0.1::factC. %hop1 0.7::factX:-xor(factC,factB). 0.6::factY:-and(factA,factC). 0.75::factZ:-and(factC,factB). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.0432,0.09361872374474894,train,highly unlikely,we believe,It is highly unlikely that either 'Jessica is a mouse' or 'Sandra took the apple' but not both.,We believe that either 'Jessica is a mouse' or 'Sandra took the apple' but not both.,1,Either 'Jessica is a mouse' or 'Sandra took the apple' but not both. It is impossible that Mary left the milk. It is probable that Brian is gray. It is likely that Greg is a frog. Chances are slight that if either 'Brian is gray' or 'Greg is a frog' but not both then Julius is white. Chances are about even that if 'Brian is gray' or 'Mary left the milk' or both then John put down the apple. It is probably the case that if 'Brian is gray' or 'Mary left the milk' or both then Lily is yellow.,It is highly unlikely that 'Lily is yellow' 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.0::factA. 0.7::factB. 0.7::factC. %hop1 0.1::factX:-xor(factB,factC). 0.5::factY:-or(factB,factA). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.5173,0.6783356671334266,train,about even,highly unlikely,Chances are about even that 'Lily is yellow' or 'Julius is white' or both.,It is highly unlikely that 'Lily is yellow' or 'Julius is white' or both.,0,'Lily is yellow' or 'Julius is white' or both. It is improbable that Brian is a frog. It is improbable that Lily is white. It is unlikely that John dropped the apple. It is probably the case that if 'John dropped the apple' or 'Brian is a frog' or both then Greg is a swan. There is a very good chance that if 'Brian is a frog' or 'Lily is white' or both then Mary went to the bedroom. It is certain that if either 'Lily is white' or 'Brian is a frog' but not both then Julius is a lion.,It is unlikely that 'Brian is a frog' or 'Mary 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.1::factA. 0.1::factB. 0.2::factC. %hop1 0.7::factX:-or(factC,factA). 0.8::factY:-or(factA,factB). 1.0::factZ:-xor(factB,factA). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.17200000000000001,0.6465293058611722,train,unlikely,probable,It is unlikely that 'Brian is a frog' or 'Mary went to the bedroom' or both.,It is probable that 'Brian is a frog' or 'Mary went to the bedroom' or both.,1,'Brian is a frog' or 'Mary went to the bedroom' or both. It is certain that Jeff put down the milk. There is almost no chance that Mary moved to the office. It is almost certain that John went to the hallway. It is certain that if 'Jeff put down the milk' or 'Mary moved to the office' or both then Brian is a frog. It is improbable that if either 'Mary moved to the office' or 'John went to the hallway' but not both then Julius is gray. Chances are about even that if either 'John went to the hallway' or 'Mary moved to the office' but not both then Sandra left the football.,There is a very good chance that either 'Mary moved to the office' 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 1.0::factA. 0.02::factB. 0.95::factC. %hop1 1.0::factX:-or(factA,factB). 0.1::factY:-xor(factB,factC). 0.5::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.113,0.7161432286457291,train,chances are slight,very good chance,Chances are slight that either 'Mary moved to the office' or 'Julius is gray' but not both.,There is a very good chance that either 'Mary moved to the office' or 'Julius is gray' but not both.,0,Either 'Mary moved to the office' or 'Julius is gray' but not both. There is little chance that Julius is yellow. It is unlikely that Greg is white. There is almost no chance that Brian is a swan. We doubt that if either 'Greg is white' or 'Brian is a swan' but not both then Emily is a sheep. Chances are about even that if 'Brian is a swan and Greg is white' then Mary dropped the milk. It is improbable that if 'Brian is a swan' or 'Julius is yellow' or both then John grabbed the apple.,We believe that 'John grabbed the apple and Emily 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.1::factA. 0.2::factB. 0.02::factC. %hop1 0.2::factX:-xor(factB,factC). 0.5::factY:-and(factC,factB). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.0007120000000000004,0.23564712942588517,train,impossible,we believe,It is impossible that 'John grabbed the apple and Emily is a sheep'.,We believe that 'John grabbed the apple and Emily is a sheep'.,0,'John grabbed the apple and Emily is a sheep'. It is certain that Gertrude is a cat. It is probably not the case that Mary left the football. There is a better than even chance that John went to the hallway. There is a very good chance that if 'Mary left the football' or 'John went to the hallway' or both then Lily is a rhino. Chances are about even that if 'Mary left the football and John went to the hallway' then Brian is gray. We doubt that if 'Gertrude is a cat and Mary left the football' then Antoine is hungry.,It is unlikely that either 'John went to the hallway' or 'Lily 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 1.0::factA. 0.25::factB. 0.6::factC. %hop1 0.8::factX:-or(factB,factC). 0.5::factY:-and(factB,factC). 0.2::factZ:-and(factA,factB). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.20000000000000007,0.34846969393878774,train,unlikely,very good chance,It is unlikely that either 'John went to the hallway' or 'Lily is a rhino' but not both.,There is a very good chance that either 'John went to the hallway' or 'Lily is a rhino' but not both.,1,Either 'John went to the hallway' or 'Lily is a rhino' but not both. There is little chance that Lily is a lion. It is highly unlikely that Antoine is thirsty. It is unlikely that Greg is white. Chances are about even that if either 'Lily is a lion' or 'Greg is white' but not both then Jason is tired. Chances are slight that if 'Greg is white' or 'Lily is a lion' or both then John moved to the garden. It is improbable that if 'Greg is white' or 'Antoine is thirsty' or both then Julius is a swan.,There is almost no chance that 'Greg is white 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.05::factB. 0.2::factC. %hop1 0.5::factX:-xor(factA,factC). 0.1::factY:-or(factC,factA). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.02000000000000001,0.3724744948989798,train,almost no chance,almost certain,There is almost no chance that 'Greg is white and John moved to the garden'.,It is almost certain that 'Greg is white and John moved to the garden'.,1,'Greg is white and John moved to the garden'. It is probably not the case that John went to the bedroom. It is unlikely that Gertrude is a sheep. It is probably not the case that Julius is a frog. There is little chance that if 'John went to the bedroom' or 'Gertrude is a sheep' or both then Brian is a rhino. It is highly likely that if either 'John went to the bedroom' or 'Julius is a frog' but not both then Greg is white. Chances are slight that if 'John went to the bedroom and Julius is a frog' then Winona is a cat.,It is probably not the case that either 'John went to the bedroom' 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.25::factA. 0.2::factB. 0.25::factC. %hop1 0.1::factX:-or(factA,factB). 0.9::factY:-xor(factA,factC). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.24000000000000005,0.1318263652730546,train,probably not,almost certain,It is probably not the case that either 'John went to the bedroom' or 'Brian is a rhino' but not both.,It is almost certain that either 'John went to the bedroom' or 'Brian is a rhino' but not both.,1,Either 'John went to the bedroom' or 'Brian is a rhino' but not both. It is impossible that Sandra took the football. It is improbable that Julius is yellow. There is almost no chance that John got the apple. It is impossible that if 'Sandra took the football and John got the apple' then Bernhard is a frog. It is certain that if 'Sandra took the football' or 'John got the apple' or both then Daniel dropped the milk. It is highly likely that if either 'John got the apple' or 'Julius is yellow' but not both then Greg is a rhino.,It is impossible that 'Sandra took the football 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.0::factA. 0.1::factB. 0.02::factC. %hop1 0.0::factX:-and(factA,factC). 1.0::factY:-or(factA,factC). 0.9::factZ:-xor(factC,factB). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.0,0.30406081216243247,train,impossible,we believe,It is impossible that 'Sandra took the football and Bernhard is a frog'.,We believe that 'Sandra took the football and Bernhard is a frog'.,1,'Sandra took the football and Bernhard is a frog'. It is unlikely that Winona is a sheep. It is highly likely that Sandra put down the milk. We doubt that Lily is green. Chances are slight that if 'Lily is green and Sandra put down the milk' then Brian is a swan. It is probably not the case that if either 'Winona is a sheep' or 'Lily is green' but not both then Gertrude is a sheep. There is a better than even chance that if 'Lily is green and Winona is a sheep' then Mary left the apple.,There is little chance that either 'Gertrude is a sheep' 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.2::factA. 0.9::factB. 0.2::factC. %hop1 0.1::factX:-and(factC,factB). 0.25::factY:-xor(factA,factC). 0.6::factZ:-and(factC,factA). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.0908,0.6871374274854971,train,little chance,likely,There is little chance that either 'Gertrude is a sheep' or 'Brian is a swan' but not both.,It is likely that either 'Gertrude is a sheep' or 'Brian is a swan' but not both.,1,Either 'Gertrude is a sheep' or 'Brian is a swan' but not both. It is highly likely that Emily is a wolf. It is probably not the case that Greg is a lion. It is almost certain that Lily is white. Chances are about even that if 'Greg is a lion and Lily is white' then Daniel got the milk. It is highly unlikely that if either 'Greg is a lion' or 'Lily is white' but not both then Brian is a swan. It is highly unlikely that if 'Emily is a wolf' or 'Lily is white' or both then Mary moved to the garden.,It is almost certain that 'Mary moved to the garden' 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.9::factA. 0.25::factB. 0.95::factC. %hop1 0.5::factX:-and(factB,factC). 0.05::factY:-xor(factB,factC). 0.05::factZ:-or(factA,factC). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.9522499999999999,0.7007401480296059,train,almost certain,we doubt,It is almost certain that 'Mary moved to the garden' or 'Lily is white' or both.,We doubt that 'Mary moved to the garden' or 'Lily is white' or both.,1,'Mary moved to the garden' or 'Lily is white' or both. It is likely that Julius is yellow. There is a very good chance that John moved to the office. There is a better than even chance that Sandra dropped the milk. It is unlikely that if either 'John moved to the office' or 'Sandra dropped the milk' but not both then Lily is a lion. We doubt that if either 'John moved to the office' or 'Julius is yellow' but not both then Greg is white. It is unlikely that if 'Julius is yellow and John moved to the office' then Mary left the football.,Chances are about even that 'Sandra dropped the milk 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.7::factA. 0.8::factB. 0.6::factC. %hop1 0.2::factX:-xor(factB,factC). 0.2::factY:-xor(factB,factA). 0.2::factZ:-and(factA,factB). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.48,0.7291458291658331,train,about even,almost certain,Chances are about even that 'Sandra dropped the milk and John moved to the office'.,It is almost certain that 'Sandra dropped the milk and John moved to the office'.,1,'Sandra dropped the milk and John moved to the office'. It is certain that Mary left the football. It is probably the case that Julius is gray. It is probably the case that John picked up the apple. Chances are slight that if either 'Mary left the football' or 'Julius is gray' but not both then Greg is white. It is probably the case that if either 'Mary left the football' or 'Julius is gray' but not both then Fred dropped the milk. There is almost no chance that if either 'Mary left the football' or 'John picked up the apple' but not both then Lily is a rhino.,It is unlikely that either 'Fred dropped the milk' or 'Lily 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 1.0::factA. 0.7::factB. 0.7::factC. %hop1 0.1::factX:-xor(factA,factB). 0.7::factY:-xor(factA,factB). 0.02::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.21348,0.27165433086617324,train,unlikely,likely,It is unlikely that either 'Fred dropped the milk' or 'Lily is a rhino' but not both.,It is likely that either 'Fred dropped the milk' or 'Lily is a rhino' but not both.,1,Either 'Fred dropped the milk' or 'Lily is a rhino' but not both. There is a better than even chance that Sumit is bored. It is probably the case that John discarded the apple. Chances are about even that Jeff put down the milk. There is little chance that if 'Sumit is bored and Jeff put down the milk' then Jessica is a cat. It is almost certain that if 'Jeff put down the milk' or 'John discarded the apple' or both then Bernhard is yellow. It is improbable that if 'Sumit is bored' or 'John discarded the apple' or both then Julius is a frog.,There is a very good chance that 'Sumit is bored 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.6::factA. 0.7::factB. 0.5::factC. %hop1 0.1::factX:-and(factA,factC). 0.95::factY:-or(factC,factB). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.06,0.5547109421884376,train,highly unlikely,very good chance,It is highly unlikely that 'Sumit is bored and Julius is a frog'.,There is a very good chance that 'Sumit is bored and Julius is a frog'.,0,'Sumit is bored and Julius is a frog'. There is little chance that Daniel grabbed the milk. It is certain that John put down the milk. We doubt that Mary went to the hallway. We believe that if 'Daniel grabbed the milk' or 'Mary went to the hallway' or both then Julius is a lion. It is probably not the case that if 'Mary went to the hallway' or 'Daniel grabbed the milk' or both then Lily is yellow. We doubt that if either 'Mary went to the hallway' or 'Daniel grabbed the milk' but not both then Bernhard is a swan.,It is impossible that either 'John put down the milk' or 'Mary went to the hallway' 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.2::factC. %hop1 0.75::factX:-or(factA,factC). 0.25::factY:-or(factC,factA). 0.2::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.8,0.6147229445889177,train,very good chance,impossible,There is a very good chance that either 'John put down the milk' or 'Mary went to the hallway' but not both.,It is impossible that either 'John put down the milk' or 'Mary went to the hallway' but not both.,0,Either 'John put down the milk' or 'Mary went to the hallway' but not both. It is unlikely that Yann is hungry. It is impossible that Greg is a swan. Chances are slight that Mary got the football. Chances are about even that if 'Greg is a swan' or 'Yann is hungry' or both then Winona is a sheep. There is a better than even chance that if 'Yann is hungry and Mary got the football' then Julius is white. It is improbable that if 'Mary got the football and Yann is hungry' then Brian is gray.,There is almost no chance that 'Julius is white' 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.2::factA. 0.0::factB. 0.1::factC. %hop1 0.5::factX:-or(factB,factA). 0.6::factY:-and(factA,factC). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.012800000000000008,0.6719343868773755,train,almost no chance,probably,There is almost no chance that 'Julius is white' or 'Brian is gray' or both.,It is probably the case that 'Julius is white' or 'Brian is gray' or both.,1,'Julius is white' or 'Brian is gray' or both. It is improbable that Fred left the football. There is almost no chance that Emily is a cat. It is highly unlikely that Lily is green. It is likely that if either 'Emily is a cat' or 'Fred left the football' but not both then Julius is white. We doubt that if either 'Emily is a cat' or 'Lily is green' but not both then Sandra got the milk. It is impossible that if either 'Lily is green' or 'Emily is a cat' but not both then Mary picked up the apple.,It is highly likely that 'Julius is white' 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.1::factA. 0.02::factB. 0.05::factC. %hop1 0.7::factX:-xor(factB,factA). 0.2::factY:-xor(factB,factC). 0.0::factZ:-xor(factC,factB). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.09172000000000002,0.3388677735547109,train,chances are slight,highly likely,Chances are slight that 'Julius is white' or 'Sandra got the milk' or both.,It is highly likely that 'Julius is white' or 'Sandra got the milk' or both.,0,'Julius is white' or 'Sandra got the milk' or both. It is impossible that John dropped the apple. It is highly likely that Mary went to the bedroom. Chances are slight that Greg is a rhino. It is probably the case that if 'Greg is a rhino' or 'Mary went to the bedroom' or both then Lily is a lion. It is almost certain that if 'John dropped the apple and Mary went to the bedroom' then Gertrude is a mouse. It is probably not the case that if 'John dropped the apple and Mary went to the bedroom' then Bernhard is gray.,We believe that 'John dropped the apple' 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.0::factA. 0.9::factB. 0.1::factC. %hop1 0.7::factX:-or(factC,factB). 0.95::factY:-and(factA,factB). 0.25::factZ:-and(factA,factB). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.0,0.08841768353670734,train,impossible,we believe,It is impossible that 'John dropped the apple' or 'Gertrude is a mouse' or both.,We believe that 'John dropped the apple' or 'Gertrude is a mouse' or both.,0,'John dropped the apple' or 'Gertrude is a mouse' or both. It is probably the case that John discarded the apple. There is a very good chance that Julius is a frog. It is highly likely that Brian is green. It is impossible that if either 'Brian is green' or 'Julius is a frog' but not both then Greg is a rhino. There is little chance that if 'John discarded the apple and Julius is a frog' then Bill got the milk there. There is a better than even chance that if 'Brian is green and John discarded the apple' then Emily is a mouse.,It is highly likely that 'Emily is a mouse' 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.7::factA. 0.8::factB. 0.9::factC. %hop1 0.0::factX:-xor(factC,factB). 0.1::factY:-and(factA,factB). 0.6::factZ:-and(factC,factA). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.8755999999999998,0.5101020204040808,train,highly likely,almost no chance,It is highly likely that 'Emily is a mouse' or 'Julius is a frog' or both.,There is almost no chance that 'Emily is a mouse' or 'Julius is a frog' or both.,1,'Emily is a mouse' or 'Julius is a frog' or both. It is likely that Bernhard is white. There is a very good chance that Lily is a frog. We doubt that Greg is a swan. There is almost no chance that if 'Greg is a swan and Bernhard is white' then Bill moved to the office. There is little chance that if 'Greg is a swan and Lily is a frog' then Fred left the football. There is little chance that if 'Lily is a frog' or 'Greg is a swan' or both then Brian is a rhino.,It is probably the case that 'Brian is a rhino 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.7::factA. 0.8::factB. 0.2::factC. %hop1 0.02::factX:-and(factC,factA). 0.1::factY:-and(factC,factB). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.08000000000000002,0.5261052210442089,train,improbable,probably,It is improbable that 'Brian is a rhino and Lily is a frog'.,It is probably the case that 'Brian is a rhino and Lily is a frog'.,0,'Brian is a rhino and Lily is a frog'. There is a better than even chance that John moved to the office. It is probably not the case that Bernhard is gray. There is a very good chance that Mary went to the garden. It is impossible that if either 'Bernhard is gray' or 'Mary went to the garden' but not both then Gertrude is a sheep. It is probable that if either 'Bernhard is gray' or 'John moved to the office' but not both then Daniel got the football. It is highly likely that if either 'Bernhard is gray' or 'John moved to the office' but not both then Greg is a frog.,Chances are about even that 'Greg is a frog and Mary 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.6::factA. 0.25::factB. 0.8::factC. %hop1 0.0::factX:-xor(factB,factC). 0.7::factY:-xor(factB,factA). 0.9::factZ:-xor(factB,factA). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.396,0.1244248849769954,train,about even,impossible,Chances are about even that 'Greg is a frog and Mary went to the garden'.,It is impossible that 'Greg is a frog and Mary went to the garden'.,1,'Greg is a frog and Mary went to the garden'. There is almost no chance that Bernhard is green. It is impossible that Gertrude is a sheep. It is impossible that John dropped the apple. It is almost certain that if 'Bernhard is green and John dropped the apple' then Julius is a rhino. There is little chance that if 'Bernhard is green' or 'John dropped the apple' or both then Greg is gray. It is probably not the case that if either 'Bernhard is green' or 'Gertrude is a sheep' but not both then Sandra got the milk.,It is almost certain that 'Gertrude is a sheep and Greg 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. 0.0::factB. 0.0::factC. %hop1 0.95::factX:-and(factA,factC). 0.1::factY:-or(factA,factC). 0.25::factZ:-xor(factA,factB). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.0,0.46469293858771754,train,impossible,almost certain,It is impossible that 'Gertrude is a sheep and Greg is gray'.,It is almost certain that 'Gertrude is a sheep and Greg is gray'.,0,'Gertrude is a sheep and Greg is gray'. It is certain that Bernhard is green. There is almost no chance that John went to the hallway. It is probably not the case that Greg is a swan. Chances are slight that if 'Bernhard is green' or 'Greg is a swan' or both then Bill moved to the office. It is highly unlikely that if 'Greg is a swan and John went to the hallway' then Brian is yellow. Chances are slight that if either 'Bernhard is green' or 'John went to the hallway' but not both then Lily is a lion.,It is almost certain that 'Bernhard 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 1.0::factA. 0.02::factB. 0.25::factC. %hop1 0.1::factX:-or(factA,factC). 0.05::factY:-and(factC,factB). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.10000000000000002,0.5815163032606522,train,little chance,almost certain,There is little chance that 'Bernhard is green and Bill moved to the office'.,It is almost certain that 'Bernhard is green and Bill moved to the office'.,0,'Bernhard is green and Bill moved to the office'. It is probable that Gertrude is a wolf. It is probable that Greg is a rhino. Chances are slight that Bernhard is a swan. It is highly likely that if either 'Bernhard is a swan' or 'Gertrude is a wolf' but not both then Julius is white. Chances are about even that if 'Greg is a rhino' or 'Bernhard is a swan' or both then John went to the garden. Chances are about even that if 'Gertrude is a wolf and Greg is a rhino' then Mary left the apple.,It is almost certain that 'Mary left the apple and Gertrude 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.7::factA. 0.7::factB. 0.1::factC. %hop1 0.9::factX:-xor(factC,factA). 0.5::factY:-or(factB,factC). 0.5::factZ:-and(factA,factB). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.24499999999999994,0.15323064612922585,train,probably not,almost certain,It is probably not the case that 'Mary left the apple and Gertrude is a wolf'.,It is almost certain that 'Mary left the apple and Gertrude is a wolf'.,0,'Mary left the apple and Gertrude is a wolf'. It is likely that John put down the apple. It is highly likely that Brian is green. There is little chance that Jeff went to the bedroom. We doubt that if 'Jeff went to the bedroom and Brian is green' then Bernhard is a swan. We doubt that if 'John put down the apple and Brian is green' then Lily is yellow. It is improbable that if 'Jeff went to the bedroom' or 'John put down the apple' or both then Daniel got the football.,It is highly unlikely that either 'Bernhard 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.9::factB. 0.1::factC. %hop1 0.2::factX:-and(factC,factB). 0.2::factY:-and(factA,factB). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.882,0.08081616323264652,train,highly likely,highly unlikely,It is highly likely that either 'Bernhard is a swan' or 'Brian is green' but not both.,It is highly unlikely that either 'Bernhard is a swan' or 'Brian is green' but not both.,0,Either 'Bernhard is a swan' or 'Brian is green' but not both. There is almost no chance that Mary grabbed the milk. It is probable that Bernhard is green. It is certain that Lily is a lion. Chances are slight that if either 'Lily is a lion' or 'Bernhard is green' but not both then Brian is yellow. There is a better than even chance that if either 'Lily is a lion' or 'Mary grabbed the milk' but not both then John went to the garden. It is highly unlikely that if either 'Bernhard is green' or 'Mary grabbed the milk' but not both then Julius is a frog.,It is certain that 'Lily is a lion' or 'Mary grabbed 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.7::factB. 1.0::factC. %hop1 0.1::factX:-xor(factC,factB). 0.6::factY:-xor(factC,factA). 0.05::factZ:-xor(factB,factA). %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.4652930586117223,train,certain,about even,It is certain that 'Lily is a lion' or 'Mary grabbed the milk' or both.,Chances are about even that 'Lily is a lion' or 'Mary grabbed the milk' or both.,1,'Lily is a lion' or 'Mary grabbed the milk' or both. It is almost certain that John discarded the milk. It is highly likely that Emily is a sheep. We believe that Bernhard is green. It is highly likely that if 'John discarded the milk and Bernhard is green' then Mary went to the garden. It is likely that if 'Bernhard is green' or 'John discarded the milk' or both then Julius is a swan. We believe that if either 'Bernhard is green' or 'John discarded the milk' but not both then Brian is yellow.,It is improbable that 'John discarded the milk' 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.95::factA. 0.9::factB. 0.75::factC. %hop1 0.9::factX:-and(factA,factC). 0.7::factY:-or(factC,factA). 0.75::factZ:-xor(factC,factA). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.95,0.6327265453090618,train,almost certain,improbable,It is almost certain that 'John discarded the milk' or 'Mary went to the garden' or both.,It is improbable that 'John discarded the milk' or 'Mary went to the garden' or both.,0,'John discarded the milk' or 'Mary went to the garden' or both. Chances are about even that Lily is white. It is improbable that Gertrude is a sheep. It is probably the case that Jeff went to the hallway. Chances are about even that if 'Jeff went to the hallway and Gertrude is a sheep' then John left the apple. It is probably not the case that if 'Gertrude is a sheep' or 'Lily is white' or both then Fred is in the office. There is almost no chance that if either 'Lily is white' or 'Gertrude is a sheep' but not both then Jason is tired.,It is highly likely that 'Jason is tired 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.5::factA. 0.1::factB. 0.7::factC. %hop1 0.5::factX:-and(factC,factB). 0.25::factY:-or(factB,factA). 0.02::factZ:-xor(factA,factB). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.0003500000000000003,0.08301660332066413,train,impossible,highly likely,It is impossible that 'Jason is tired and John left the apple'.,It is highly likely that 'Jason is tired and John left the apple'.,0,'Jason is tired and John left the apple'. There is a better than even chance that Lily is a rhino. It is likely that Emily is a mouse. It is certain that John went to the hallway. Chances are slight that if either 'Lily is a rhino' or 'Emily is a mouse' but not both then Sandra got the milk. It is improbable that if either 'Emily is a mouse' or 'John went to the hallway' but not both then Julius is gray. There is almost no chance that if 'Lily is a rhino' or 'John went to the hallway' or both then Brian is yellow.,It is highly likely that either 'Julius is gray' or 'Sandra 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.6::factA. 0.7::factB. 1.0::factC. %hop1 0.1::factX:-xor(factA,factB). 0.1::factY:-xor(factB,factC). 0.02::factZ:-or(factA,factC). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.0724,0.791758351670334,train,highly unlikely,highly likely,It is highly unlikely that either 'Julius is gray' or 'Sandra got the milk' but not both.,It is highly likely that either 'Julius is gray' or 'Sandra got the milk' but not both.,0,Either 'Julius is gray' or 'Sandra got the milk' but not both. It is probably not the case that Brian is a rhino. Chances are about even that Julius is a swan. It is probably not the case that Bernhard is yellow. It is probably not the case that if either 'Brian is a rhino' or 'Julius is a swan' but not both then Greg is gray. It is highly likely that if 'Julius is a swan' or 'Bernhard is yellow' or both then John took the football. It is probably not the case that if either 'Brian is a rhino' or 'Bernhard is yellow' but not both then Winona is a wolf.,Chances are about even that either 'Julius is a swan' or 'Greg 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.25::factA. 0.5::factB. 0.25::factC. %hop1 0.25::factX:-xor(factA,factB). 0.9::factY:-or(factB,factC). 0.25::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.4375,0.3654730946189238,train,about even,impossible,Chances are about even that either 'Julius is a swan' or 'Greg is gray' but not both.,It is impossible that either 'Julius is a swan' or 'Greg is gray' but not both.,1,Either 'Julius is a swan' or 'Greg is gray' but not both. It is improbable that Julius is a frog. It is certain that Brian is a rhino. Chances are about even that Greg is gray. There is little chance that if 'Julius is a frog and Greg is gray' then John dropped the milk. We believe that if 'Julius is a frog' or 'Brian is a rhino' or both then Lily is yellow. It is highly likely that if 'Julius is a frog' or 'Greg is gray' or both then Jessica is a mouse.,Chances are about even that 'Jessica is a mouse' 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.1::factA. 1.0::factB. 0.5::factC. %hop1 0.1::factX:-and(factA,factC). 0.75::factY:-or(factA,factB). 0.9::factZ:-or(factA,factC). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.5050000000000001,0.6043208641728346,train,about even,certain,Chances are about even that 'Jessica is a mouse' or 'Julius is a frog' or both.,It is certain that 'Jessica is a mouse' or 'Julius is a frog' or both.,1,'Jessica is a mouse' or 'Julius is a frog' or both. It is likely that Julius is yellow. There is a better than even chance that Greg is a lion. There is a very good chance that Sumit is thirsty. It is highly unlikely that if 'Sumit is thirsty' or 'Greg is a lion' or both then Sandra took the football. It is probable that if either 'Julius is yellow' or 'Greg is a lion' but not both then John left the football. It is certain that if 'Julius is yellow and Greg is a lion' then Emily is a sheep.,There is almost no chance that either 'John left the football' 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.7::factA. 0.6::factB. 0.8::factC. %hop1 0.05::factX:-or(factC,factB). 0.7::factY:-xor(factA,factB). 1.0::factZ:-and(factA,factB). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.63,0.17863572714542908,train,better than even,almost no chance,There is a better than even chance that either 'John left the football' or 'Julius is yellow' but not both.,There is almost no chance that either 'John left the football' or 'Julius is yellow' but not both.,0,Either 'John left the football' or 'Julius is yellow' but not both. There is little chance that John picked up the apple. Chances are about even that Yann is tired. Chances are about even that Julius is a frog. There is little chance that if 'John picked up the apple' or 'Julius is a frog' or both then Bernhard is white. There is little chance that if 'Julius is a frog' or 'John picked up the apple' or both then Greg is a lion. It is unlikely that if 'John picked up the apple and Yann is tired' then Mary left the milk.,There is a better than even chance that 'John picked up 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.1::factA. 0.5::factB. 0.5::factC. %hop1 0.1::factX:-or(factA,factC). 0.1::factY:-or(factC,factA). 0.2::factZ:-and(factA,factB). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.55,0.49429885977195437,train,better than even,impossible,There is a better than even chance that 'John picked up the apple' or 'Julius is a frog' or both.,It is impossible that 'John picked up the apple' or 'Julius is a frog' or both.,1,'John picked up the apple' or 'Julius is a frog' or both. Chances are slight that Julius is a lion. It is likely that Jessica is a cat. It is probably the case that John dropped the apple. It is unlikely that if 'Julius is a lion and John dropped the apple' then Lily is a rhino. There is little chance that if 'Jessica is a cat' or 'Julius is a lion' or both then Fred is in the office. We doubt that if either 'Julius is a lion' or 'John dropped the apple' but not both then Brian is white.,There is a better than even chance that either 'Brian is white' or 'John 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.1::factA. 0.7::factB. 0.7::factC. %hop1 0.2::factX:-and(factA,factC). 0.1::factY:-or(factB,factA). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.58,0.781756351270254,train,better than even,impossible,There is a better than even chance that either 'Brian is white' or 'John dropped the apple' but not both.,It is impossible that either 'Brian is white' or 'John dropped the apple' but not both.,1,Either 'Brian is white' or 'John dropped the apple' but not both. There is almost no chance that Julius is white. We believe that Mary discarded the milk. Chances are about even that Greg is a lion. It is probable that if either 'Greg is a lion' or 'Julius is white' but not both then Lily is a lion. It is probably the case that if either 'Julius is white' or 'Greg is a lion' but not both then Sandra left the milk. It is highly unlikely that if either 'Julius is white' or 'Mary discarded the milk' but not both then John went to the hallway.,We doubt that either 'Greg is a lion' 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.02::factA. 0.75::factB. 0.5::factC. %hop1 0.7::factX:-xor(factC,factA). 0.7::factY:-xor(factA,factC). 0.05::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.16399999999999998,0.40308061612322466,train,we doubt,certain,We doubt that either 'Greg is a lion' or 'Lily is a lion' but not both.,It is certain that either 'Greg is a lion' or 'Lily is a lion' but not both.,1,Either 'Greg is a lion' or 'Lily is a lion' but not both. It is almost certain that Jessica is a mouse. Chances are slight that Greg is yellow. Chances are about even that Mary picked up the milk. It is highly likely that if 'Greg is yellow and Jessica is a mouse' then Julius is gray. There is almost no chance that if 'Mary picked up the milk and Jessica is a mouse' then Jason is tired. We doubt that if 'Jessica is a mouse' or 'Greg is yellow' or both then Bernhard is a swan.,It is impossible that 'Julius is gray 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.95::factA. 0.1::factB. 0.5::factC. %hop1 0.9::factX:-and(factB,factA). 0.02::factY:-and(factC,factA). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.0008550000000000008,0.6225245049009802,train,impossible,better than even,It is impossible that 'Julius is gray and Jason is tired'.,There is a better than even chance that 'Julius is gray and Jason is tired'.,1,'Julius is gray and Jason is tired'. It is highly likely that Mary went to the hallway. It is highly likely that Jessica is a sheep. It is probably not the case that Lily is yellow. Chances are about even that if either 'Mary went to the hallway' or 'Jessica is a sheep' but not both then Daniel dropped the milk. We doubt that if 'Jessica is a sheep' or 'Mary went to the hallway' or both then Julius is a rhino. It is almost certain that if either 'Lily is yellow' or 'Mary went to the hallway' but not both then Brian is a swan.,We believe that either 'Julius is a rhino' or 'Mary went to the hallway' 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.25::factC. %hop1 0.5::factX:-xor(factA,factB). 0.2::factY:-or(factB,factA). 0.95::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.738,0.3170634126825365,train,we believe,probably not,We believe that either 'Julius is a rhino' or 'Mary went to the hallway' but not both.,It is probably not the case that either 'Julius is a rhino' or 'Mary went to the hallway' but not both.,1,Either 'Julius is a rhino' or 'Mary went to the hallway' but not both. Chances are about even that John took the apple. There is almost no chance that Lily is a swan. It is likely that Mary moved to the office. It is highly unlikely that if 'Mary moved to the office and Lily is a swan' then Julius is a frog. It is likely that if 'Lily is a swan and John took the apple' then Jeff went to the garden. It is improbable that if either 'Lily is a swan' or 'John took the apple' but not both then Brian is a rhino.,It is highly likely that either 'Jeff went to the garden' 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.5::factA. 0.02::factB. 0.7::factC. %hop1 0.05::factX:-and(factC,factB). 0.7::factY:-and(factB,factA). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.00721,0.22984596919383876,train,impossible,highly likely,It is impossible that either 'Jeff went to the garden' or 'Julius is a frog' but not both.,It is highly likely that either 'Jeff went to the garden' or 'Julius is a frog' but not both.,0,Either 'Jeff went to the garden' or 'Julius is a frog' but not both. We doubt that Gertrude is a mouse. It is almost certain that Brian is a lion. There is almost no chance that John went to the office. We believe that if 'Gertrude is a mouse and John went to the office' then Lily is a lion. It is highly unlikely that if either 'John went to the office' or 'Gertrude is a mouse' but not both then Julius is gray. It is highly likely that if 'Brian is a lion' or 'Gertrude is a mouse' or both then Sandra grabbed the apple.,It is unlikely that 'Brian is a lion' 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.2::factA. 0.95::factB. 0.02::factC. %hop1 0.75::factX:-and(factA,factC). 0.05::factY:-xor(factC,factA). 0.9::factZ:-or(factB,factA). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.95053,0.3804760952190438,train,almost certain,unlikely,It is almost certain that 'Brian is a lion' or 'Julius is gray' or both.,It is unlikely that 'Brian is a lion' or 'Julius is gray' or both.,0,'Brian is a lion' or 'Julius is gray' or both. It is unlikely that John discarded the milk. It is unlikely that Julius is a frog. It is impossible that Yann is bored. There is a very good chance that if 'John discarded the milk' or 'Yann is bored' or both then Greg is a lion. It is almost certain that if 'Julius is a frog and Yann is bored' then Mary got the football. There is a very good chance that if 'Yann is bored and John discarded the milk' then Brian is a rhino.,We doubt that 'John discarded the milk' or 'Yann 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.2::factA. 0.2::factB. 0.0::factC. %hop1 0.8::factX:-or(factA,factC). 0.95::factY:-and(factB,factC). 0.8::factZ:-and(factC,factA). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.2,0.21804360872174436,train,we doubt,almost certain,We doubt that 'John discarded the milk' or 'Yann is bored' or both.,It is almost certain that 'John discarded the milk' or 'Yann is bored' or both.,1,'John discarded the milk' or 'Yann is bored' or both. It is probable that Mary left the apple. Chances are slight that John went to the office. It is probably the case that Greg is a rhino. There is a very good chance that if either 'John went to the office' or 'Mary left the apple' but not both then Lily is a frog. It is impossible that if either 'Mary left the apple' or 'John went to the office' but not both then Bernhard is a swan. It is probable that if either 'Greg is a rhino' or 'John went to the office' but not both then Brian is a swan.,It is impossible that either 'John went to the office' 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.7::factA. 0.1::factB. 0.7::factC. %hop1 0.8::factX:-xor(factB,factA). 0.0::factY:-xor(factA,factB). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6599999999999999,0.5441088217643528,train,probable,impossible,It is probable that either 'John went to the office' or 'Greg is a rhino' but not both.,It is impossible that either 'John went to the office' or 'Greg is a rhino' but not both.,0,Either 'John went to the office' or 'Greg is a rhino' but not both. It is probably not the case that Julius is a swan. There is a better than even chance that Sandra left the milk. It is probably the case that Lily is a frog. It is probably not the case that if either 'Sandra left the milk' or 'Lily is a frog' but not both then Brian is a rhino. It is highly likely that if 'Sandra left the milk and Lily is a frog' then John went to the garden. We doubt that if 'Sandra left the milk' or 'Julius is a swan' or both then Bernhard is yellow.,It is impossible that either 'Bernhard is yellow' 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.25::factA. 0.6::factB. 0.7::factC. %hop1 0.25::factX:-xor(factB,factC). 0.9::factY:-and(factB,factC). 0.2::factZ:-or(factB,factA). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.644,0.5579115823164633,train,better than even,impossible,There is a better than even chance that either 'Bernhard is yellow' or 'Lily is a frog' but not both.,It is impossible that either 'Bernhard is yellow' or 'Lily is a frog' but not both.,0,Either 'Bernhard is yellow' or 'Lily is a frog' but not both. It is likely that Bernhard is a rhino. It is unlikely that Jason is tired. There is almost no chance that John left the milk. It is almost certain that if 'John left the milk' or 'Bernhard is a rhino' or both then Bill moved to the office. There is little chance that if either 'Jason is tired' or 'John left the milk' but not both then Greg is gray. There is little chance that if either 'Jason is tired' or 'John left the milk' but not both then Lily is green.,There is almost no chance that either 'Greg is gray' or 'Bernhard 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.7::factA. 0.2::factB. 0.02::factC. %hop1 0.95::factX:-or(factC,factA). 0.1::factY:-xor(factB,factC). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.69152,0.248249649929986,train,probably,almost no chance,It is probably the case that either 'Greg is gray' or 'Bernhard is a rhino' but not both.,There is almost no chance that either 'Greg is gray' or 'Bernhard is a rhino' but not both.,0,Either 'Greg is gray' or 'Bernhard is a rhino' but not both. It is probably not the case that Lily is white. We believe that John went to the office. There is little chance that Jessica is a mouse. It is likely that if 'John went to the office and Jessica is a mouse' then Sandra left the apple. It is highly likely that if either 'Lily is white' or 'John went to the office' but not both then Bernhard is yellow. It is unlikely that if 'Jessica is a mouse and John went to the office' then Daniel got the football.,It is probable that 'Lily is white' 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.25::factA. 0.75::factB. 0.1::factC. %hop1 0.7::factX:-and(factB,factC). 0.9::factY:-xor(factA,factB). 0.2::factZ:-and(factC,factB). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.325,0.29185837167433487,train,probably not,probable,It is probably not the case that 'Lily is white' or 'Jessica is a mouse' or both.,It is probable that 'Lily is white' or 'Jessica is a mouse' or both.,0,'Lily is white' or 'Jessica is a mouse' or both. Chances are about even that Mary went to the bedroom. It is almost certain that Julius is a lion. We doubt that Daniel got the apple. Chances are slight that if 'Julius is a lion and Daniel got the apple' then Greg is a swan. Chances are slight that if 'Julius is a lion' or 'Mary went to the bedroom' or both then Brian is a frog. There is little chance that if 'Daniel got the apple and Mary went to the bedroom' then Bernhard is green.,There is a very good chance that 'Julius is a lion and Brian 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.95::factB. 0.2::factC. %hop1 0.1::factX:-and(factB,factC). 0.1::factY:-or(factB,factA). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.09500000000000001,0.7267453490698139,train,chances are slight,very good chance,Chances are slight that 'Julius is a lion and Brian is a frog'.,There is a very good chance that 'Julius is a lion and Brian is a frog'.,0,'Julius is a lion and Brian is a frog'. It is improbable that Emily is a sheep. Chances are about even that Greg is a swan. Chances are about even that Brian is yellow. It is probable that if 'Greg is a swan and Emily is a sheep' then Bernhard is white. It is probable that if either 'Greg is a swan' or 'Emily is a sheep' but not both then Mary went to the kitchen. There is almost no chance that if either 'Greg is a swan' or 'Emily is a sheep' but not both then John took the apple.,It is highly likely that 'Emily is a sheep and Greg 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.5::factB. 0.5::factC. %hop1 0.7::factX:-and(factB,factA). 0.7::factY:-xor(factB,factA). 0.02::factZ:-xor(factB,factA). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.05000000000000001,0.5673134626925385,train,highly unlikely,highly likely,It is highly unlikely that 'Emily is a sheep and Greg is a swan'.,It is highly likely that 'Emily is a sheep and Greg is a swan'.,0,'Emily is a sheep and Greg is a swan'. It is probable that Greg is gray. It is unlikely that Brian is a swan. We doubt that Julius is a lion. It is probably the case that if 'Julius is a lion' or 'Greg is gray' or both then Gertrude is a cat. It is probably not the case that if 'Brian is a swan' or 'Julius is a lion' or both then John grabbed the apple. It is probable that if 'Julius is a lion' or 'Greg is gray' or both then Jeff put down the milk.,We believe that 'John grabbed the apple' or 'Greg 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.2::factB. 0.2::factC. %hop1 0.7::factX:-or(factC,factA). 0.25::factY:-or(factB,factC). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.727,0.5629125825165033,train,we believe,unlikely,We believe that 'John grabbed the apple' or 'Greg is gray' or both.,It is unlikely that 'John grabbed the apple' or 'Greg is gray' or both.,1,'John grabbed the apple' or 'Greg is gray' or both. There is a very good chance that Julius is a frog. It is improbable that Mary moved to the office. It is highly unlikely that Sandra is in the kitchen. It is probably not the case that if either 'Julius is a frog' or 'Sandra is in the kitchen' but not both then Lily is a swan. Chances are slight that if 'Julius is a frog' or 'Mary moved to the office' or both then Gertrude is a mouse. It is highly unlikely that if either 'Julius is a frog' or 'Sandra is in the kitchen' but not both then John grabbed the apple.,There is little chance that 'Julius is a frog 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.8::factA. 0.1::factB. 0.05::factC. %hop1 0.25::factX:-xor(factA,factC). 0.1::factY:-or(factA,factB). 0.05::factZ:-xor(factA,factC). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.08000000000000002,0.006001200240048009,train,little chance,likely,There is little chance that 'Julius is a frog and Mary moved to the office'.,It is likely that 'Julius is a frog and Mary moved to the office'.,1,'Julius is a frog and Mary moved to the office'. There is a better than even chance that Sandra dropped the apple. It is almost certain that Mary left the football. It is probably the case that Jeff moved to the office. It is almost certain that if either 'Sandra dropped the apple' or 'Jeff moved to the office' but not both then Lily is a rhino. It is probably not the case that if either 'Sandra dropped the apple' or 'Mary left the football' but not both then Winona is a cat. It is impossible that if 'Mary left the football' or 'Sandra dropped the apple' or both then Bernhard is a frog.,It is highly unlikely that 'Lily is a rhino' 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.6::factA. 0.95::factB. 0.7::factC. %hop1 0.95::factX:-xor(factA,factC). 0.25::factY:-xor(factA,factB). 0.0::factZ:-or(factB,factA). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.43699999999999994,0.13762752550510102,train,about even,highly unlikely,Chances are about even that 'Lily is a rhino' or 'Bernhard is a frog' or both.,It is highly unlikely that 'Lily is a rhino' or 'Bernhard is a frog' or both.,0,'Lily is a rhino' or 'Bernhard is a frog' or both. There is little chance that Brian is green. It is almost certain that Julius is a swan. We believe that Greg is a swan. It is almost certain that if 'Brian is green' or 'Greg is a swan' or both then Lily is yellow. It is probable that if 'Brian is green and Greg is a swan' then Winona is a mouse. It is impossible that if 'Julius is a swan and Brian is green' then Mary took the milk.,There is almost no chance that 'Mary took the milk' 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.1::factA. 0.95::factB. 0.75::factC. %hop1 0.95::factX:-or(factA,factC). 0.7::factY:-and(factA,factC). 0.0::factZ:-and(factB,factA). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.73625,0.7629525905181036,train,we believe,almost no chance,We believe that 'Mary took the milk' or 'Lily is yellow' or both.,There is almost no chance that 'Mary took the milk' or 'Lily is yellow' or both.,0,'Mary took the milk' or 'Lily is yellow' or both. There is little chance that Brian is green. It is impossible that Julius is gray. It is likely that Greg is white. It is likely that if either 'Julius is gray' or 'Greg is white' but not both then Gertrude is a sheep. There is little chance that if either 'Greg is white' or 'Julius is gray' but not both then Mary discarded the milk. Chances are slight that if either 'Julius is gray' or 'Brian is green' but not both then John moved to the office.,There is a better than even chance that 'Brian is green 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.1::factA. 0.0::factB. 0.7::factC. %hop1 0.7::factX:-xor(factB,factC). 0.1::factY:-xor(factC,factB). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.049,0.20424084816963392,train,highly unlikely,better than even,It is highly unlikely that 'Brian is green and Gertrude is a sheep'.,There is a better than even chance that 'Brian is green and Gertrude is a sheep'.,0,'Brian is green and Gertrude is a sheep'. It is almost certain that Lily is a swan. It is almost certain that Mary went to the kitchen. It is probably the case that Brian is gray. We doubt that if 'Brian is gray and Lily is a swan' then Greg is yellow. It is unlikely that if 'Lily is a swan' or 'Mary went to the kitchen' or both then Julius is white. It is almost certain that if 'Lily is a swan' or 'Brian is gray' or both then Sandra got the milk.,It is almost certain that 'Julius is white' 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.95::factA. 0.95::factB. 0.7::factC. %hop1 0.2::factX:-and(factC,factA). 0.2::factY:-or(factA,factB). 0.95::factZ:-or(factA,factC). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.9595,0.5571114222844569,train,almost certain,almost no chance,It is almost certain that 'Julius is white' or 'Lily is a swan' or both.,There is almost no chance that 'Julius is white' or 'Lily is a swan' or both.,1,'Julius is white' or 'Lily is a swan' or both. We believe that Lily is a swan. It is impossible that Sandra got the football. It is probably not the case that Bill moved to the office. There is a very good chance that if 'Lily is a swan and Bill moved to the office' then Greg is yellow. There is little chance that if either 'Lily is a swan' or 'Bill moved to the office' but not both then Bernhard is a lion. It is likely that if 'Lily is a swan and Bill moved to the office' then John discarded the apple.,It is impossible that 'Bill moved to the office 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.75::factA. 0.0::factB. 0.25::factC. %hop1 0.8::factX:-and(factA,factC). 0.1::factY:-xor(factA,factC). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.73874774954991,train,impossible,highly likely,It is impossible that 'Bill moved to the office and Sandra got the football'.,It is highly likely that 'Bill moved to the office and Sandra got the football'.,1,'Bill moved to the office and Sandra got the football'. There is almost no chance that Bernhard is yellow. There is almost no chance that Gertrude is a cat. It is probably the case that John went to the garden. It is probable that if 'Gertrude is a cat and John went to the garden' then Jessica is a sheep. It is impossible that if 'John went to the garden and Bernhard is yellow' then Julius is gray. There is a very good chance that if 'Bernhard is yellow' or 'John went to the garden' or both then Lily is a frog.,It is highly unlikely that either 'Bernhard is yellow' or 'Gertrude 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.02::factA. 0.02::factB. 0.7::factC. %hop1 0.7::factX:-and(factB,factC). 0.0::factY:-and(factC,factA). 0.8::factZ:-or(factA,factC). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.039200000000000006,0.10542108421684337,train,highly unlikely,about even,It is highly unlikely that either 'Bernhard is yellow' or 'Gertrude is a cat' but not both.,Chances are about even that either 'Bernhard is yellow' or 'Gertrude is a cat' but not both.,1,Either 'Bernhard is yellow' or 'Gertrude is a cat' but not both. There is a better than even chance that Lily is gray. It is highly likely that Julius is a swan. It is probable that Bernhard is a lion. It is probably the case that if 'Bernhard is a lion' or 'Julius is a swan' or both then John moved to the garden. We doubt that if 'Julius is a swan and Lily is gray' then Brian is a frog. It is likely that if 'Lily is gray and Bernhard is a lion' then Mary went to the office.,There is almost no chance that 'Lily is gray 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.6::factA. 0.9::factB. 0.7::factC. %hop1 0.7::factX:-or(factC,factB). 0.2::factY:-and(factB,factA). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.4074,0.5567113422684536,train,about even,almost no chance,Chances are about even that 'Lily is gray and John moved to the garden'.,There is almost no chance that 'Lily is gray and John moved to the garden'.,0,'Lily is gray and John moved to the garden'. It is impossible that Julius is a rhino. It is almost certain that John grabbed the apple. We believe that Mary went to the office. There is a better than even chance that if 'John grabbed the apple' or 'Mary went to the office' or both then Fred put down the apple. It is likely that if either 'Julius is a rhino' or 'Mary went to the office' but not both then Bernhard is yellow. There is little chance that if either 'Mary went to the office' or 'John grabbed the apple' but not both then Greg is a lion.,We believe that either 'Mary went to the office' 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.0::factA. 0.95::factB. 0.75::factC. %hop1 0.6::factX:-or(factB,factC). 0.7::factY:-xor(factA,factC). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.77,0.6027205441088218,train,we believe,impossible,We believe that either 'Mary went to the office' or 'Greg is a lion' but not both.,It is impossible that either 'Mary went to the office' or 'Greg is a lion' but not both.,1,Either 'Mary went to the office' or 'Greg is a lion' but not both. It is impossible that Mary dropped the milk. It is likely that Bernhard is yellow. There is a better than even chance that Brian is white. It is likely that if 'Bernhard is yellow' or 'Brian is white' or both then Julius is a swan. It is highly unlikely that if 'Mary dropped the milk and Bernhard is yellow' then Sumit is bored. It is certain that if 'Bernhard is yellow and Mary dropped the milk' then John went to the garden.,There is a better than even chance that 'Mary dropped the milk and Sumit 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.7::factB. 0.6::factC. %hop1 0.7::factX:-or(factB,factC). 0.05::factY:-and(factA,factB). 1.0::factZ:-and(factB,factA). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.0,0.06941388277655532,train,impossible,better than even,It is impossible that 'Mary dropped the milk and Sumit is bored'.,There is a better than even chance that 'Mary dropped the milk and Sumit is bored'.,0,'Mary dropped the milk and Sumit is bored'. It is impossible that Mary got the football. There is little chance that John went to the hallway. It is unlikely that Julius is gray. Chances are about even that if 'John went to the hallway and Mary got the football' then Lily is green. There is a better than even chance that if 'Mary got the football' or 'Julius is gray' or both then Brian is a swan. It is improbable that if 'John went to the hallway and Julius is gray' then Jessica is a mouse.,It is likely that 'Jessica is a mouse' 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.0::factA. 0.1::factB. 0.2::factC. %hop1 0.5::factX:-and(factB,factA). 0.6::factY:-or(factA,factC). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.2,0.7999599919983997,train,we doubt,likely,We doubt that 'Jessica is a mouse' or 'Julius is gray' or both.,It is likely that 'Jessica is a mouse' or 'Julius is gray' or both.,0,'Jessica is a mouse' or 'Julius is gray' or both. We believe that Jessica is a sheep. It is highly likely that John discarded the apple. It is probably the case that Yann is thirsty. It is probable that if 'John discarded the apple' or 'Yann is thirsty' or both then Emily is a mouse. We believe that if 'John discarded the apple and Jessica is a sheep' then Bernhard is gray. It is almost certain that if 'Jessica is a sheep and John discarded the apple' then Mary went to the hallway.,It is highly likely that 'John discarded the apple' 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.75::factA. 0.9::factB. 0.7::factC. %hop1 0.7::factX:-or(factB,factC). 0.75::factY:-and(factB,factA). 0.95::factZ:-and(factA,factB). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.9,0.5245049009801961,train,highly likely,unlikely,It is highly likely that 'John discarded the apple' or 'Bernhard is gray' or both.,It is unlikely that 'John discarded the apple' or 'Bernhard is gray' or both.,1,'John discarded the apple' or 'Bernhard is gray' or both. It is impossible that Brian is a lion. It is probably not the case that Sandra got the football. There is almost no chance that Mary put down the milk. It is certain that if 'Brian is a lion and Mary put down the milk' then Lily is white. It is highly likely that if 'Sandra got the football' or 'Brian is a lion' or both then John left the apple. It is probably the case that if 'Mary put down the milk' or 'Brian is a lion' or both then Yann is hungry.,There is almost no chance that either 'Lily is white' or 'Mary 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.0::factA. 0.25::factB. 0.02::factC. %hop1 1.0::factX:-and(factA,factC). 0.9::factY:-or(factB,factA). 0.7::factZ:-or(factC,factA). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.02,0.5217043408681736,train,almost no chance,probably,There is almost no chance that either 'Lily is white' or 'Mary put down the milk' but not both.,It is probably the case that either 'Lily is white' or 'Mary put down the milk' but not both.,1,Either 'Lily is white' or 'Mary put down the milk' but not both. It is impossible that Jason is tired. It is probable that Yann is thirsty. It is probably not the case that Daniel got the milk. It is probable that if 'Yann is thirsty and Jason is tired' then Greg is yellow. It is highly unlikely that if either 'Jason is tired' or 'Yann is thirsty' but not both then Bernhard is green. It is probably not the case that if 'Yann is thirsty and Jason is tired' then Mary went to the hallway.,It is certain that 'Mary went to the hallway' 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.0::factA. 0.7::factB. 0.25::factC. %hop1 0.7::factX:-and(factB,factA). 0.05::factY:-xor(factA,factB). 0.25::factZ:-and(factB,factA). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.25,0.01900380076015203,train,probably not,certain,It is probably not the case that 'Mary went to the hallway' or 'Daniel got the milk' or both.,It is certain that 'Mary went to the hallway' or 'Daniel got the milk' or both.,0,'Mary went to the hallway' or 'Daniel got the milk' or both. Chances are about even that Greg is a swan. Chances are about even that Bernhard is white. We doubt that John dropped the apple. It is probable that if either 'John dropped the apple' or 'Bernhard is white' but not both then Brian is green. It is highly likely that if 'Bernhard is white and John dropped the apple' then Mary went to the office. It is certain that if 'Bernhard is white and Greg is a swan' then Lily is a frog.,It is impossible that 'Bernhard is white' or 'John 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.5::factA. 0.5::factB. 0.2::factC. %hop1 0.7::factX:-xor(factC,factB). 0.9::factY:-and(factB,factC). 1.0::factZ:-and(factB,factA). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.6000000000000001,0.05661132226445289,train,better than even,impossible,There is a better than even chance that 'Bernhard is white' or 'John dropped the apple' or both.,It is impossible that 'Bernhard is white' or 'John dropped the apple' or both.,0,'Bernhard is white' or 'John dropped the apple' or both. It is probably the case that Mary moved to the office. There is almost no chance that John dropped the apple. It is unlikely that Bernhard is a lion. It is almost certain that if either 'John dropped the apple' or 'Bernhard is a lion' but not both then Sandra is in the kitchen. There is little chance that if 'John dropped the apple' or 'Mary moved to the office' or both then Julius is a swan. It is almost certain that if 'Mary moved to the office and John dropped the apple' then Jeff left the apple.,There is almost no chance that 'Julius is a swan 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.7::factA. 0.02::factB. 0.2::factC. %hop1 0.95::factX:-xor(factB,factC). 0.1::factY:-or(factB,factA). 0.95::factZ:-and(factA,factB). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.01412000000000001,0.33346669333866774,train,almost no chance,almost certain,There is almost no chance that 'Julius is a swan and Bernhard is a lion'.,It is almost certain that 'Julius is a swan and Bernhard is a lion'.,1,'Julius is a swan and Bernhard is a lion'. We believe that Brian is a rhino. It is probably the case that Greg is gray. It is highly unlikely that Mary got the football. It is probably not the case that if 'Greg is gray' or 'Mary got the football' or both then Bernhard is white. It is improbable that if 'Mary got the football' or 'Brian is a rhino' or both then Emily is a sheep. We believe that if 'Mary got the football' or 'Brian is a rhino' or both then Lily is green.,It is highly likely that 'Bernhard is white' or 'Emily 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.75::factA. 0.7::factB. 0.05::factC. %hop1 0.25::factX:-or(factB,factC). 0.1::factY:-or(factC,factA). 0.75::factZ:-or(factC,factA). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.24128125000000003,0.3822764552910582,train,probably not,highly likely,It is probably not the case that 'Bernhard is white' or 'Emily is a sheep' or both.,It is highly likely that 'Bernhard is white' or 'Emily is a sheep' or both.,0,'Bernhard is white' or 'Emily is a sheep' or both. It is probably not the case that Lily is yellow. It is unlikely that Mary left the football. There is a better than even chance that Julius is a rhino. Chances are slight that if 'Julius is a rhino and Lily is yellow' then John went to the hallway. It is certain that if either 'Mary left the football' or 'Julius is a rhino' but not both then Bernhard is a frog. It is probable that if either 'Mary left the football' or 'Julius is a rhino' but not both then Sandra got the milk.,It is certain that 'Mary left the football' 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.25::factA. 0.2::factB. 0.6::factC. %hop1 0.1::factX:-and(factC,factA). 1.0::factY:-xor(factB,factC). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.4,0.07121424284856971,train,about even,certain,Chances are about even that 'Mary left the football' or 'Lily is yellow' or both.,It is certain that 'Mary left the football' or 'Lily is yellow' or both.,0,'Mary left the football' or 'Lily is yellow' or both. It is probably the case that John went to the kitchen. It is improbable that Julius is a lion. It is likely that Bernhard is yellow. We believe that if 'Bernhard is yellow' or 'John went to the kitchen' or both then Jeff left the football. Chances are slight that if either 'Bernhard is yellow' or 'John went to the kitchen' but not both then Jason is tired. It is impossible that if either 'John went to the kitchen' or 'Bernhard is yellow' but not both then Lily is white.,Chances are about even that 'Bernhard is yellow 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.1::factB. 0.7::factC. %hop1 0.75::factX:-or(factC,factA). 0.1::factY:-xor(factC,factA). 0.0::factZ:-xor(factA,factC). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.48999999999999994,0.40128025605121026,train,about even,highly unlikely,Chances are about even that 'Bernhard is yellow and John went to the kitchen'.,It is highly unlikely that 'Bernhard is yellow and John went to the kitchen'.,1,'Bernhard is yellow and John went to the kitchen'. There is a very good chance that Bill moved to the office. It is almost certain that Greg is yellow. It is certain that John got the apple. It is unlikely that if 'John got the apple' or 'Greg is yellow' or both then Mary left the football. We believe that if 'John got the apple' or 'Greg is yellow' or both then Lily is a frog. It is almost certain that if 'John got the apple and Bill moved to the office' then Bernhard is a swan.,It is impossible that 'Bill moved to the office' or 'John 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.8::factA. 0.95::factB. 1.0::factC. %hop1 0.2::factX:-or(factC,factB). 0.75::factY:-or(factC,factB). 0.95::factZ:-and(factC,factA). %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.03180636127225445,train,certain,impossible,It is certain that 'Bill moved to the office' or 'John got the apple' or both.,It is impossible that 'Bill moved to the office' or 'John got the apple' or both.,0,'Bill moved to the office' or 'John got the apple' or both. It is probably the case that Jeff put down the milk. It is unlikely that Lily is a lion. There is little chance that Mary got the football. It is probably the case that if either 'Lily is a lion' or 'Jeff put down the milk' but not both then Bernhard is a swan. Chances are slight that if 'Lily is a lion' or 'Mary got the football' or both then Brian is yellow. We believe that if 'Lily is a lion' or 'Jeff put down the milk' or both then John went to the kitchen.,It is unlikely that 'Lily is a lion' 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.7::factA. 0.2::factB. 0.1::factC. %hop1 0.7::factX:-xor(factB,factA). 0.1::factY:-or(factB,factC). 0.75::factZ:-or(factB,factA). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.76,0.10282056411282256,train,we believe,unlikely,We believe that 'Lily is a lion' or 'Jeff put down the milk' or both.,It is unlikely that 'Lily is a lion' or 'Jeff put down the milk' or both.,0,'Lily is a lion' or 'Jeff put down the milk' or both. It is probably not the case that John grabbed the apple. Chances are about even that Greg is yellow. It is improbable that Emily is a cat. It is highly unlikely that if 'Emily is a cat' or 'Greg is yellow' or both then Sandra took the milk. We believe that if 'John grabbed the apple' or 'Greg is yellow' or both then Winona is a mouse. It is highly unlikely that if either 'Emily is a cat' or 'Greg is yellow' but not both then Bernhard is a rhino.,It is certain that 'Emily is a cat' 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.25::factA. 0.5::factB. 0.1::factC. %hop1 0.05::factX:-or(factC,factB). 0.75::factY:-or(factA,factB). 0.05::factZ:-xor(factC,factB). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.12250000000000001,0.1304260852170434,train,improbable,certain,It is improbable that 'Emily is a cat' or 'Sandra took the milk' or both.,It is certain that 'Emily is a cat' or 'Sandra took the milk' or both.,0,'Emily is a cat' or 'Sandra took the milk' or both. It is improbable that Brian is a lion. There is almost no chance that Julius is white. It is probably not the case that Mary got the milk. Chances are slight that if 'Brian is a lion' or 'Mary got the milk' or both then Antoine is hungry. Chances are slight that if 'Brian is a lion and Mary got the milk' then Lily is a frog. It is certain that if 'Julius is white and Mary got the milk' then John moved to the office.,It is probable that 'Julius is white and Mary 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.02::factB. 0.25::factC. %hop1 0.1::factX:-or(factA,factC). 0.1::factY:-and(factA,factC). 1.0::factZ:-and(factB,factC). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.005000000000000002,0.5179035807161432,train,impossible,probable,It is impossible that 'Julius is white and Mary got the milk'.,It is probable that 'Julius is white and Mary got the milk'.,0,'Julius is white and Mary got the milk'. There is a very good chance that Brian is a rhino. It is probably the case that Bernhard is white. It is highly likely that Winona is a mouse. It is unlikely that if 'Brian is a rhino' or 'Winona is a mouse' or both then Greg is a swan. We doubt that if either 'Winona is a mouse' or 'Bernhard is white' but not both then Mary went to the bedroom. It is almost certain that if either 'Brian is a rhino' or 'Winona is a mouse' but not both then Lily is a frog.,It is likely that 'Mary went to the bedroom' 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.8::factA. 0.7::factB. 0.9::factC. %hop1 0.2::factX:-or(factA,factC). 0.2::factY:-xor(factC,factB). 0.95::factZ:-xor(factA,factC). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.2940999999999999,0.40108021604320865,train,probably not,likely,It is probably not the case that 'Mary went to the bedroom' or 'Lily is a frog' or both.,It is likely that 'Mary went to the bedroom' or 'Lily is a frog' or both.,0,'Mary went to the bedroom' or 'Lily is a frog' or both. It is improbable that Daniel got the football. It is almost certain that Brian is white. It is unlikely that John went to the office. It is highly likely that if 'John went to the office' or 'Brian is white' or both then Gertrude is a wolf. It is probably the case that if 'Daniel got the football' or 'Brian is white' or both then Lily is a frog. It is impossible that if 'Daniel got the football' or 'Brian is white' or both then Julius is gray.,There is little chance that 'Daniel got the football' 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.1::factA. 0.95::factB. 0.2::factC. %hop1 0.9::factX:-or(factC,factB). 0.7::factY:-or(factA,factB). 0.0::factZ:-or(factA,factB). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.6984999999999999,0.13622724544908982,train,probably,little chance,It is probably the case that 'Daniel got the football' or 'Lily is a frog' or both.,There is little chance that 'Daniel got the football' or 'Lily is a frog' or both.,0,'Daniel got the football' or 'Lily is a frog' or both. It is probably not the case that Lily is white. There is a very good chance that Emily is a wolf. It is probable that Julius is gray. It is impossible that if either 'Emily is a wolf' or 'Julius is gray' but not both then Brian is yellow. It is improbable that if either 'Julius is gray' or 'Lily is white' but not both then Mary moved to the office. It is highly unlikely that if either 'Julius is gray' or 'Lily is white' but not both then John went to the hallway.,Chances are about even that 'Brian is yellow 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.8::factB. 0.7::factC. %hop1 0.0::factX:-xor(factB,factC). 0.1::factY:-xor(factC,factA). 0.05::factZ:-xor(factC,factA). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.0,0.5177035407081416,train,impossible,about even,It is impossible that 'Brian is yellow and John went to the hallway'.,Chances are about even that 'Brian is yellow and John went to the hallway'.,0,'Brian is yellow and John went to the hallway'. There is a very good chance that Brian is white. It is certain that Bernhard is white. We doubt that Daniel dropped the apple. Chances are about even that if 'Brian is white' or 'Bernhard is white' or both then Winona is a wolf. There is a very good chance that if either 'Brian is white' or 'Bernhard is white' but not both then Julius is a lion. It is highly unlikely that if either 'Brian is white' or 'Daniel dropped the apple' but not both then Mary went to the hallway.,It is unlikely that either 'Mary went to the hallway' 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.8::factA. 1.0::factB. 0.2::factC. %hop1 0.5::factX:-or(factA,factB). 0.8::factY:-xor(factA,factB). 0.05::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.9660000000000001,0.20484096819363873,train,almost certain,unlikely,It is almost certain that either 'Mary went to the hallway' or 'Bernhard is white' but not both.,It is unlikely that either 'Mary went to the hallway' or 'Bernhard is white' but not both.,0,Either 'Mary went to the hallway' or 'Bernhard is white' but not both. Chances are about even that Brian is a frog. It is probable that Greg is white. It is certain that Mary left the milk. Chances are slight that if 'Brian is a frog' or 'Mary left the milk' or both then Antoine is hungry. There is a very good chance that if either 'Greg is white' or 'Brian is a frog' but not both then Julius is a rhino. It is probable that if either 'Mary left the milk' or 'Brian is a frog' but not both then John got the apple.,It is probably not the case that 'Greg is white and Brian 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.7::factB. 1.0::factC. %hop1 0.1::factX:-or(factA,factC). 0.8::factY:-xor(factB,factA). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.3499999999999999,0.6323264652930586,train,probably not,probably,It is probably not the case that 'Greg is white and Brian is a frog'.,It is probably the case that 'Greg is white and Brian is a frog'.,1,'Greg is white and Brian is a frog'. It is certain that Sumit is hungry. It is probably not the case that Lily is green. There is little chance that John discarded the apple. There is little chance that if 'John discarded the apple' or 'Lily is green' or both then Brian is gray. It is highly likely that if 'John discarded the apple and Lily is green' then Emily is a sheep. It is probable that if 'Sumit is hungry' or 'John discarded the apple' or both then Daniel left the milk.,It is certain that 'Sumit is hungry' or 'Emily 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.25::factB. 0.1::factC. %hop1 0.1::factX:-or(factC,factB). 0.9::factY:-and(factC,factB). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-or(factA,factY). query(conclusion). ",1.0,0.14282856571314262,train,certain,chances are slight,It is certain that 'Sumit is hungry' or 'Emily is a sheep' or both.,Chances are slight that 'Sumit is hungry' or 'Emily is a sheep' or both.,1,'Sumit is hungry' or 'Emily is a sheep' or both. We doubt that Lily is green. Chances are slight that Brian is a rhino. Chances are about even that Julius is white. We believe that if 'Lily is green and Julius is white' then John dropped the apple. It is probably the case that if 'Julius is white and Brian is a rhino' then Mary picked up the apple. We believe that if either 'Brian is a rhino' or 'Julius is white' but not both then Sandra took the football.,We doubt that 'Lily is green' or 'John 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.2::factA. 0.1::factB. 0.5::factC. %hop1 0.75::factX:-and(factA,factC). 0.7::factY:-and(factC,factB). 0.75::factZ:-xor(factB,factC). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.20000000000000007,0.5347069413882777,train,we doubt,likely,We doubt that 'Lily is green' or 'John dropped the apple' or both.,It is likely that 'Lily is green' or 'John dropped the apple' or both.,1,'Lily is green' or 'John dropped the apple' or both. It is highly likely that Jason is tired. It is probably not the case that Brian is a frog. It is highly unlikely that Mary left the football. It is almost certain that if 'Mary left the football' or 'Brian is a frog' or both then Emily is a wolf. Chances are slight that if 'Mary left the football' or 'Brian is a frog' or both then Julius is a swan. It is improbable that if 'Mary left the football' or 'Jason is tired' or both then Bill went to the garden.,There is almost no chance that either 'Jason is tired' 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 0.9::factA. 0.25::factB. 0.05::factC. %hop1 0.95::factX:-or(factC,factB). 0.1::factY:-or(factC,factB). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.6815,0.7005401080216043,train,likely,almost no chance,It is likely that either 'Jason is tired' or 'Emily is a wolf' but not both.,There is almost no chance that either 'Jason is tired' or 'Emily is a wolf' but not both.,0,Either 'Jason is tired' or 'Emily is a wolf' but not both. It is probably not the case that John put down the apple. It is probably the case that Bernhard is a frog. There is little chance that Gertrude is a sheep. It is unlikely that if either 'Bernhard is a frog' or 'John put down the apple' but not both then Sandra got the milk. It is probable that if 'Gertrude is a sheep and John put down the apple' then Greg is a lion. It is certain that if 'John put down the apple' or 'Gertrude is a sheep' or both then Mary went to the kitchen.,It is improbable that 'Sandra got the milk 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.25::factA. 0.7::factB. 0.1::factC. %hop1 0.2::factX:-xor(factB,factA). 0.7::factY:-and(factC,factA). 1.0::factZ:-or(factA,factC). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.105,0.36287257451490296,train,improbable,almost certain,It is improbable that 'Sandra got the milk and Bernhard is a frog'.,It is almost certain that 'Sandra got the milk and Bernhard is a frog'.,1,'Sandra got the milk and Bernhard is a frog'. There is a very good chance that Greg is gray. It is almost certain that Brian is a rhino. There is a better than even chance that Gertrude is a mouse. There is little chance that if 'Gertrude is a mouse and Brian is a rhino' then John moved to the office. It is almost certain that if 'Brian is a rhino and Gertrude is a mouse' then Mary went to the garden. It is almost certain that if 'Brian is a rhino' or 'Gertrude is a mouse' or both then Bernhard is a frog.,We believe that 'Greg is gray 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.95::factB. 0.6::factC. %hop1 0.1::factX:-and(factC,factB). 0.95::factY:-and(factB,factC). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.7448,0.3996799359871974,train,we believe,improbable,We believe that 'Greg is gray and Bernhard is a frog'.,It is improbable that 'Greg is gray and Bernhard is a frog'.,1,'Greg is gray and Bernhard is a frog'. It is highly unlikely that Bernhard is white. There is a better than even chance that Mary got the milk. It is likely that Greg is a rhino. It is almost certain that if either 'Bernhard is white' or 'Greg is a rhino' but not both then Jessica is a mouse. We doubt that if 'Mary got the milk and Greg is a rhino' then Brian is gray. There is almost no chance that if either 'Bernhard is white' or 'Greg is a rhino' but not both then Jason is thirsty.,There is almost no chance that 'Jessica is a mouse and Jason 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.05::factA. 0.6::factB. 0.7::factC. %hop1 0.95::factX:-xor(factA,factC). 0.2::factY:-and(factB,factC). 0.02::factZ:-xor(factA,factC). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.012919999999999997,0.5557111422284456,train,almost no chance,highly likely,There is almost no chance that 'Jessica is a mouse and Jason is thirsty'.,It is highly likely that 'Jessica is a mouse and Jason is thirsty'.,1,'Jessica is a mouse and Jason is thirsty'. We believe that Brian is yellow. There is almost no chance that Mary discarded the milk. It is almost certain that Lily is a lion. It is improbable that if 'Mary discarded the milk and Lily is a lion' then John went to the hallway. It is probable that if either 'Lily is a lion' or 'Mary discarded the milk' but not both then Bernhard is white. It is highly unlikely that if 'Brian is yellow and Mary discarded the milk' then Jeff dropped the apple.,It is almost certain that either 'Lily is a lion' 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.75::factA. 0.02::factB. 0.95::factC. %hop1 0.1::factX:-and(factB,factC). 0.7::factY:-xor(factC,factB). 0.05::factZ:-and(factA,factB). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.9319999999999999,0.16963392678535708,train,almost certain,little chance,It is almost certain that either 'Lily is a lion' or 'Mary discarded the milk' but not both.,There is little chance that either 'Lily is a lion' or 'Mary discarded the milk' but not both.,1,Either 'Lily is a lion' or 'Mary discarded the milk' but not both. Chances are slight that Mary went to the kitchen. Chances are slight that Daniel dropped the apple. It is probable that John left the football. It is highly likely that if 'Mary went to the kitchen' or 'Daniel dropped the apple' or both then Julius is green. There is a very good chance that if 'John left the football' or 'Mary went to the kitchen' or both then Jessica is a mouse. It is certain that if 'John left the football and Daniel dropped the apple' then Bernhard is a lion.,It is improbable that 'Julius 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.1::factA. 0.1::factB. 0.7::factC. %hop1 0.9::factX:-or(factA,factB). 0.8::factY:-or(factC,factA). 1.0::factZ:-and(factC,factB). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.63764,0.46929385877175434,train,better than even,improbable,There is a better than even chance that 'Julius is green' or 'Jessica is a mouse' or both.,It is improbable that 'Julius is green' or 'Jessica is a mouse' or both.,0,'Julius is green' or 'Jessica is a mouse' or both. It is probable that Julius is white. We believe that Mary got the football. It is certain that Daniel took the apple. It is highly unlikely that if either 'Mary got the football' or 'Daniel took the apple' but not both then Jeff went to the garden. There is a very good chance that if either 'Julius is white' or 'Daniel took the apple' but not both then Bill left the milk. We doubt that if 'Daniel took the apple' or 'Mary got the football' or both then Gertrude is a mouse.,There is a better than even chance that either 'Mary got the football' or 'Bill 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.75::factB. 1.0::factC. %hop1 0.05::factX:-xor(factB,factC). 0.8::factY:-xor(factA,factC). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.63,0.08701740348069614,train,better than even,little chance,There is a better than even chance that either 'Mary got the football' or 'Bill left the milk' but not both.,There is little chance that either 'Mary got the football' or 'Bill left the milk' but not both.,1,Either 'Mary got the football' or 'Bill left the milk' but not both. It is probably not the case that Julius is a lion. It is almost certain that Greg is white. There is little chance that Brian is a rhino. It is probably not the case that if 'Greg is white' or 'Brian is a rhino' or both then Daniel got the football. It is likely that if either 'Brian is a rhino' or 'Julius is a lion' but not both then Jessica is a cat. It is highly likely that if 'Brian is a rhino' or 'Greg is white' or both then Mary grabbed the milk.,It is likely that either 'Mary grabbed the milk' 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.25::factA. 0.95::factB. 0.1::factC. %hop1 0.25::factX:-or(factB,factC). 0.7::factY:-xor(factC,factA). 0.9::factZ:-or(factC,factB). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.7056749999999999,0.2864572914582917,train,likely,we doubt,It is likely that either 'Mary grabbed the milk' or 'Jessica is a cat' but not both.,We doubt that either 'Mary grabbed the milk' or 'Jessica is a cat' but not both.,1,Either 'Mary grabbed the milk' or 'Jessica is a cat' but not both. Chances are slight that Jessica is a mouse. We believe that Mary went to the bedroom. It is unlikely that Bernhard is a frog. There is almost no chance that if 'Jessica is a mouse' or 'Mary went to the bedroom' or both then Julius is a rhino. It is likely that if 'Jessica is a mouse and Mary went to the bedroom' then Sumit is tired. There is a very good chance that if either 'Bernhard is a frog' or 'Jessica is a mouse' but not both then Lily is green.,It is probably not the case that 'Sumit is tired' 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.75::factB. 0.2::factC. %hop1 0.02::factX:-or(factA,factB). 0.7::factY:-and(factA,factB). 0.8::factZ:-xor(factC,factA). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.24200000000000002,0.7511502300460092,train,probably not,likely,It is probably not the case that 'Sumit is tired' or 'Bernhard is a frog' or both.,It is likely that 'Sumit is tired' or 'Bernhard is a frog' or both.,1,'Sumit is tired' or 'Bernhard is a frog' or both. It is highly unlikely that Mary went to the kitchen. It is probably the case that Fred is in the school. There is almost no chance that Jessica is a cat. It is unlikely that if 'Mary went to the kitchen and Fred is in the school' then Gertrude is a sheep. It is probably not the case that if 'Jessica is a cat' or 'Mary went to the kitchen' or both then Lily is a lion. Chances are about even that if 'Mary went to the kitchen' or 'Jessica is a cat' or both then Sandra left the football.,It is highly unlikely that 'Mary went to the kitchen' 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 0.05::factA. 0.7::factB. 0.02::factC. %hop1 0.2::factX:-and(factA,factB). 0.25::factY:-or(factC,factA). 0.5::factZ:-or(factA,factC). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.05000000000000001,0.20024004800960193,train,highly unlikely,very good chance,It is highly unlikely that 'Mary went to the kitchen' or 'Gertrude is a sheep' or both.,There is a very good chance that 'Mary went to the kitchen' or 'Gertrude is a sheep' or both.,1,'Mary went to the kitchen' or 'Gertrude is a sheep' or both. It is probably the case that Bernhard is gray. We believe that Fred dropped the apple. It is impossible that John went to the bedroom. It is almost certain that if 'Bernhard is gray and Fred dropped the apple' then Mary took the milk. It is probable that if 'Fred dropped the apple and John went to the bedroom' then Greg is a swan. It is highly likely that if 'Bernhard is gray and John went to the bedroom' then Brian is yellow.,It is impossible that 'Fred dropped the apple and John 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.75::factB. 0.0::factC. %hop1 0.95::factX:-and(factA,factB). 0.7::factY:-and(factB,factC). 0.9::factZ:-and(factA,factC). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.0,0.7239447889577916,train,impossible,we believe,It is impossible that 'Fred dropped the apple and John went to the bedroom'.,We believe that 'Fred dropped the apple and John went to the bedroom'.,1,'Fred dropped the apple and John went to the bedroom'. There is a very good chance that Jessica is a cat. There is almost no chance that Lily is a rhino. There is almost no chance that Emily is a wolf. It is unlikely that if either 'Jessica is a cat' or 'Emily is a wolf' but not both then Jeff left the football. It is probable that if 'Lily is a rhino and Jessica is a cat' then Antoine is hungry. We doubt that if 'Emily is a wolf' or 'Lily is a rhino' or both then Brian is a frog.,There is almost no chance that either 'Antoine is hungry' 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.8::factA. 0.02::factB. 0.02::factC. %hop1 0.2::factX:-xor(factA,factC). 0.7::factY:-and(factB,factA). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.7888000000000001,0.17663532706541307,train,very good chance,almost no chance,There is a very good chance that either 'Antoine is hungry' or 'Jessica is a cat' but not both.,There is almost no chance that either 'Antoine is hungry' or 'Jessica is a cat' but not both.,0,Either 'Antoine is hungry' or 'Jessica is a cat' but not both. It is probably not the case that Bernhard is a rhino. We doubt that Julius is a swan. Chances are about even that Mary went to the garden. It is likely that if either 'Bernhard is a rhino' or 'Mary went to the garden' but not both then Bill moved to the office. It is highly likely that if 'Bernhard is a rhino' or 'Julius is a swan' or both then Lily is green. It is highly likely that if 'Julius is a swan' or 'Bernhard is a rhino' or both then John discarded the apple.,It is likely that 'John discarded the apple 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.25::factA. 0.2::factB. 0.5::factC. %hop1 0.7::factX:-xor(factA,factC). 0.9::factY:-or(factA,factB). 0.9::factZ:-or(factB,factA). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.225,0.6791358271654331,train,probably not,likely,It is probably not the case that 'John discarded the apple and Bernhard is a rhino'.,It is likely that 'John discarded the apple and Bernhard is a rhino'.,0,'John discarded the apple and Bernhard is a rhino'. We believe that Sandra dropped the milk. Chances are slight that Mary got the football. It is probably the case that John put down the apple. It is highly likely that if either 'Sandra dropped the milk' or 'Mary got the football' but not both then Jeff moved to the office. It is highly unlikely that if 'Mary got the football and John put down the apple' then Greg is a lion. It is probable that if 'Sandra dropped the milk and Mary got the football' then Brian is white.,There is little chance that 'John put down the apple' 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.75::factA. 0.1::factB. 0.7::factC. %hop1 0.9::factX:-xor(factA,factB). 0.05::factY:-and(factB,factC). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.889,0.21764352870574116,train,highly likely,little chance,It is highly likely that 'John put down the apple' or 'Jeff moved to the office' or both.,There is little chance that 'John put down the apple' or 'Jeff moved to the office' or both.,0,'John put down the apple' or 'Jeff moved to the office' or both. It is unlikely that Bernhard is a swan. It is probable that John picked up the apple. There is a better than even chance that Mary moved to the garden. There is a better than even chance that if either 'Mary moved to the garden' or 'Bernhard is a swan' but not both then Bill went to the kitchen. There is a better than even chance that if 'Bernhard is a swan' or 'Mary moved to the garden' or both then Julius is gray. There is a very good chance that if 'John picked up the apple and Bernhard is a swan' then Greg is a frog.,It is highly unlikely that 'Greg is a frog 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.2::factA. 0.7::factB. 0.6::factC. %hop1 0.6::factX:-xor(factC,factA). 0.6::factY:-or(factA,factC). 0.8::factZ:-and(factB,factA). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.0672,0.48369673934786955,train,highly unlikely,probably,It is highly unlikely that 'Greg is a frog and Julius is gray'.,It is probably the case that 'Greg is a frog and Julius is gray'.,1,'Greg is a frog and Julius is gray'. There is almost no chance that Bernhard is a swan. There is almost no chance that John dropped the apple. It is almost certain that Julius is a swan. It is likely that if either 'Julius is a swan' or 'Bernhard is a swan' but not both then Mary went to the office. It is likely that if 'Julius is a swan and Bernhard is a swan' then Greg is yellow. There is little chance that if either 'John dropped the apple' or 'Bernhard is a swan' but not both then Brian is a rhino.,It is almost certain 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.02::factA. 0.02::factB. 0.95::factC. %hop1 0.7::factX:-xor(factC,factA). 0.7::factY:-and(factC,factA). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.951,0.2778555711142228,train,almost certain,little chance,It is almost certain that 'Bernhard is a swan' or 'Julius is a swan' or both.,There is little chance that 'Bernhard is a swan' or 'Julius is a swan' or both.,1,'Bernhard is a swan' or 'Julius is a swan' or both. Chances are about even that Lily is a swan. It is probable that Yann is hungry. It is likely that Brian is white. It is probably not the case that if 'Yann is hungry' or 'Brian is white' or both then Winona is a sheep. It is impossible that if 'Yann is hungry and Lily is a swan' then Mary moved to the office. We believe that if 'Lily is a swan' or 'Brian is white' or both then Greg is a frog.,We doubt that 'Yann is hungry' 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.5::factA. 0.7::factB. 0.7::factC. %hop1 0.25::factX:-or(factB,factC). 0.0::factY:-and(factB,factA). 0.75::factZ:-or(factA,factC). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.85,0.07741548309661933,train,very good chance,we doubt,There is a very good chance that 'Yann is hungry' or 'Lily is a swan' or both.,We doubt that 'Yann is hungry' or 'Lily is a swan' or both.,0,'Yann is hungry' or 'Lily is a swan' or both. It is highly unlikely that Julius is gray. It is probably the case that Greg is a lion. There is a very good chance that Daniel took the apple. There is a very good chance that if 'Greg is a lion' or 'Daniel took the apple' or both then Sandra dropped the milk. It is certain that if either 'Julius is gray' or 'Greg is a lion' but not both then Gertrude is a mouse. It is almost certain that if 'Julius is gray and Daniel took the apple' then Brian is a rhino.,There is almost no chance that 'Greg is a lion 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.05::factA. 0.7::factB. 0.8::factC. %hop1 0.8::factX:-or(factB,factC). 1.0::factY:-xor(factA,factB). 0.95::factZ:-and(factA,factC). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.026600000000000002,0.40748149629925984,train,almost no chance,very good chance,There is almost no chance that 'Greg is a lion and Brian is a rhino'.,There is a very good chance that 'Greg is a lion and Brian is a rhino'.,1,'Greg is a lion and Brian is a rhino'. It is probably the case that Jessica is a cat. It is unlikely that Lily is a frog. There is a better than even chance that John went to the office. We doubt that if 'Jessica is a cat' or 'John went to the office' or both then Bernhard is white. It is likely that if 'Lily is a frog' or 'Jessica is a cat' or both then Mary dropped the milk. There is almost no chance that if 'John went to the office' or 'Jessica is a cat' or both then Greg is a swan.,It is impossible that either 'Mary dropped 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.7::factA. 0.2::factB. 0.6::factC. %hop1 0.2::factX:-or(factA,factC). 0.7::factY:-or(factB,factA). 0.02::factZ:-or(factC,factA). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.5289919999999999,0.4776955391078216,train,about even,impossible,Chances are about even that either 'Mary dropped the milk' or 'Greg is a swan' but not both.,It is impossible that either 'Mary dropped the milk' or 'Greg is a swan' but not both.,0,Either 'Mary dropped the milk' or 'Greg is a swan' but not both. It is improbable that John picked up the apple. There is a better than even chance that Brian is a rhino. We believe that Greg is gray. It is likely that if 'John picked up the apple' or 'Brian is a rhino' or both then Jessica is a cat. It is almost certain that if 'Greg is gray' or 'Brian is a rhino' or both then Sandra got the football. It is almost certain that if 'John picked up the apple and Brian is a rhino' then Lily is yellow.,It is probably the case that 'Lily is yellow and Greg 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.1::factA. 0.6::factB. 0.75::factC. %hop1 0.7::factX:-or(factA,factB). 0.95::factY:-or(factC,factB). 0.95::factZ:-and(factA,factB). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.04275,0.21564312862572516,train,highly unlikely,probably,It is highly unlikely that 'Lily is yellow and Greg is gray'.,It is probably the case that 'Lily is yellow and Greg is gray'.,0,'Lily is yellow and Greg is gray'. It is highly unlikely that Lily is a rhino. It is highly likely that Sandra grabbed the apple. We doubt that Bernhard is yellow. There is a better than even chance that if 'Sandra grabbed the apple and Bernhard is yellow' then Julius is a lion. There is almost no chance that if either 'Bernhard is yellow' or 'Lily is a rhino' but not both then Brian is green. There is a very good chance that if 'Sandra grabbed the apple' or 'Bernhard is yellow' or both then Mary left the milk.,It is unlikely that 'Julius is a lion' or 'Bernhard 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.9::factB. 0.2::factC. %hop1 0.6::factX:-and(factB,factC). 0.02::factY:-xor(factC,factA). 0.8::factZ:-or(factB,factC). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.19999999999999998,0.4336867373474695,train,unlikely,likely,It is unlikely that 'Julius is a lion' or 'Bernhard is yellow' or both.,It is likely that 'Julius is a lion' or 'Bernhard is yellow' or both.,1,'Julius is a lion' or 'Bernhard is yellow' or both. It is certain that Brian is white. It is probably the case that Daniel left the apple. We doubt that Julius is a rhino. We doubt that if 'Brian is white and Daniel left the apple' then John went to the kitchen. It is probably the case that if 'Julius is a rhino and Brian is white' then Lily is yellow. There is a very good chance that if 'Julius is a rhino' or 'Brian is white' or both then Mary picked up the milk.,It is probable that either 'Mary picked up the milk' 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 1.0::factA. 0.7::factB. 0.2::factC. %hop1 0.2::factX:-and(factA,factB). 0.7::factY:-and(factC,factA). 0.8::factZ:-or(factC,factA). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.716,0.7189437887577516,train,probable,unlikely,It is probable that either 'Mary picked up the milk' or 'Lily is yellow' but not both.,It is unlikely that either 'Mary picked up the milk' or 'Lily is yellow' but not both.,1,Either 'Mary picked up the milk' or 'Lily is yellow' but not both. Chances are about even that Daniel dropped the milk. It is unlikely that Mary got the apple. There is a better than even chance that John is in the garden. It is highly likely that if 'John is in the garden' or 'Mary got the apple' or both then Gertrude is a wolf. It is probably the case that if 'Daniel dropped the milk' or 'John is in the garden' or both then Bernhard is a swan. There is little chance that if 'Mary got the apple and John is in the garden' then Julius is a lion.,Chances are slight that 'Mary got the apple and John is in 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.5::factA. 0.2::factB. 0.6::factC. %hop1 0.9::factX:-or(factC,factB). 0.7::factY:-or(factA,factC). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.12000000000000001,0.6981396279255851,train,chances are slight,likely,Chances are slight that 'Mary got the apple and John is in the garden'.,It is likely that 'Mary got the apple and John is in the garden'.,1,'Mary got the apple and John is in the garden'. It is impossible that John went to the bedroom. There is almost no chance that Gertrude is a cat. There is almost no chance that Bernhard is yellow. We doubt that if 'Gertrude is a cat and Bernhard is yellow' then Yann is hungry. We believe that if 'Gertrude is a cat and Bernhard is yellow' then Brian is green. It is highly likely that if 'Gertrude is a cat' or 'Bernhard is yellow' or both then Sandra dropped the milk.,It is highly unlikely that either 'Brian is green' 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.0::factA. 0.02::factB. 0.02::factC. %hop1 0.2::factX:-and(factB,factC). 0.75::factY:-and(factB,factC). 0.9::factZ:-or(factB,factC). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.035399999999999994,0.671134226845369,train,highly unlikely,likely,It is highly unlikely that either 'Brian is green' or 'Sandra dropped the milk' but not both.,It is likely that either 'Brian is green' or 'Sandra dropped the milk' but not both.,1,Either 'Brian is green' or 'Sandra dropped the milk' but not both. We doubt that Greg is yellow. There is almost no chance that Sumit is bored. There is almost no chance that Bernhard is yellow. We doubt that if either 'Bernhard is yellow' or 'Sumit is bored' but not both then Sandra got the milk. It is probable that if 'Sumit is bored and Bernhard is yellow' then Brian is a swan. It is highly unlikely that if either 'Sumit is bored' or 'Greg is yellow' but not both then Jeff moved to the garden.,It is highly unlikely that 'Sumit is bored' or 'Bernhard 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.02::factB. 0.02::factC. %hop1 0.2::factX:-xor(factC,factB). 0.7::factY:-and(factB,factC). 0.05::factZ:-xor(factB,factA). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.0396,0.34086817363472693,train,highly unlikely,almost certain,It is highly unlikely that 'Sumit is bored' or 'Bernhard is yellow' or both.,It is almost certain that 'Sumit is bored' or 'Bernhard is yellow' or both.,1,'Sumit is bored' or 'Bernhard is yellow' or both. There is a better than even chance that John took the apple. There is little chance that Greg is gray. It is highly unlikely that Daniel put down the milk. It is certain that if 'Daniel put down the milk and John took the apple' then Julius is white. It is highly unlikely that if either 'Greg is gray' or 'John took the apple' but not both then Bill moved to the office. It is almost certain that if either 'Greg is gray' or 'Daniel put down the milk' but not both then Lily is a lion.,It is impossible that 'Bill moved to the office and Greg 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.1::factB. 0.05::factC. %hop1 1.0::factX:-and(factC,factA). 0.05::factY:-xor(factB,factA). 0.95::factZ:-xor(factB,factC). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.0020000000000000005,0.6965393078615724,train,impossible,probably,It is impossible that 'Bill moved to the office and Greg is gray'.,It is probably the case that 'Bill moved to the office and Greg is gray'.,1,'Bill moved to the office and Greg is gray'. There is a better than even chance that Brian is a frog. It is certain that Lily is a swan. There is little chance that Jessica is a cat. There is almost no chance that if either 'Lily is a swan' or 'Brian is a frog' but not both then Gertrude is a cat. It is probably not the case that if 'Lily is a swan and Brian is a frog' then John put down the milk. It is improbable that if 'Brian is a frog and Jessica is a cat' then Bernhard is white.,It is unlikely that 'Lily is a swan' 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 0.6::factA. 1.0::factB. 0.1::factC. %hop1 0.02::factX:-xor(factB,factA). 0.25::factY:-and(factB,factA). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-or(factB,factC). query(conclusion). ",1.0,0.6607321464292859,train,certain,unlikely,It is certain that 'Lily is a swan' or 'Jessica is a cat' or both.,It is unlikely that 'Lily is a swan' or 'Jessica is a cat' or both.,0,'Lily is a swan' or 'Jessica is a cat' or both. We believe that Brian is yellow. It is highly likely that Emily is a mouse. It is improbable that Daniel dropped the apple. We believe that if 'Brian is yellow and Emily is a mouse' then Greg is yellow. Chances are slight that if either 'Brian is yellow' or 'Emily is a mouse' but not both then Lily is white. It is unlikely that if 'Emily is a mouse and Daniel dropped the apple' then Julius is gray.,Chances are about even that either 'Lily is white' 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.9::factB. 0.1::factC. %hop1 0.75::factX:-and(factA,factB). 0.1::factY:-xor(factA,factB). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.53625,0.09461892378475695,train,about even,impossible,Chances are about even that either 'Lily is white' or 'Greg is yellow' but not both.,It is impossible that either 'Lily is white' or 'Greg is yellow' but not both.,1,Either 'Lily is white' or 'Greg is yellow' but not both. Chances are slight that Greg is a rhino. There is a very good chance that Mary went to the office. There is almost no chance that Bernhard is gray. It is impossible that if 'Bernhard is gray' or 'Mary went to the office' or both then Sandra dropped the milk. There is little chance that if 'Mary went to the office and Greg is a rhino' then Brian is yellow. It is probably not the case that if 'Mary went to the office' or 'Bernhard is gray' or both then Lily is a swan.,It is unlikely that 'Bernhard is gray' 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.8::factB. 0.02::factC. %hop1 0.0::factX:-or(factC,factB). 0.1::factY:-and(factB,factA). 0.25::factZ:-or(factB,factC). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.21600000000000003,0.79375875175035,train,unlikely,we believe,It is unlikely that 'Bernhard is gray' or 'Lily is a swan' or both.,We believe that 'Bernhard is gray' or 'Lily is a swan' or both.,1,'Bernhard is gray' or 'Lily is a swan' or both. It is highly likely that Lily is green. It is probably the case that Sandra left the football. It is probably the case that Brian is a rhino. Chances are slight that if either 'Brian is a rhino' or 'Lily is green' but not both then John discarded the apple. It is highly unlikely that if 'Lily is green and Sandra left the football' then Emily is a sheep. Chances are slight that if 'Brian is a rhino' or 'Lily is green' or both then Mary went to the garden.,It is impossible that 'John discarded the apple and Emily 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.7::factB. 0.7::factC. %hop1 0.1::factX:-xor(factC,factA). 0.05::factY:-and(factA,factB). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.0009450000000000007,0.2902580516103221,train,impossible,probable,It is impossible that 'John discarded the apple and Emily is a sheep'.,It is probable that 'John discarded the apple and Emily is a sheep'.,1,'John discarded the apple and Emily is a sheep'. It is highly unlikely that Brian is green. It is probably the case that Bernhard is white. It is unlikely that Greg is a rhino. It is almost certain that if 'Brian is green' or 'Greg is a rhino' or both then Jeff discarded the milk. It is likely that if 'Bernhard is white and Brian is green' then Sandra got the football. It is highly unlikely that if 'Bernhard is white' or 'Greg is a rhino' or both then Mary dropped the apple.,It is probable that 'Mary dropped the apple 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.05::factA. 0.7::factB. 0.2::factC. %hop1 0.95::factX:-or(factA,factC). 0.7::factY:-and(factB,factA). 0.05::factZ:-or(factB,factC). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.035,0.2416483296659332,train,highly unlikely,probable,It is highly unlikely that 'Mary dropped the apple and Bernhard is white'.,It is probable that 'Mary dropped the apple and Bernhard is white'.,0,'Mary dropped the apple and Bernhard is white'. It is improbable that Bernhard is a rhino. It is probable that Julius is white. It is impossible that John got the football. It is certain that if either 'John got the football' or 'Julius is white' but not both then Mary went to the hallway. It is unlikely that if 'Bernhard is a rhino' or 'Julius is white' or both then Fred is in the office. There is a better than even chance that if 'John got the football' or 'Julius is white' or both then Lily is green.,There is a better than even chance that either 'Julius is white' or 'Fred is in 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.1::factA. 0.7::factB. 0.0::factC. %hop1 1.0::factX:-xor(factC,factB). 0.2::factY:-or(factA,factB). 0.6::factZ:-or(factC,factB). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.566,0.5089017803560713,train,better than even,highly unlikely,There is a better than even chance that either 'Julius is white' or 'Fred is in the office' but not both.,It is highly unlikely that either 'Julius is white' or 'Fred is in the office' but not both.,1,Either 'Julius is white' or 'Fred is in the office' but not both. It is probable that Lily is a lion. It is probably the case that John grabbed the apple. Chances are slight that Julius is yellow. We believe that if 'John grabbed the apple and Lily is a lion' then Fred is in the cinema. There is little chance that if 'Lily is a lion and Julius is yellow' then Sandra took the football. It is highly unlikely that if 'John grabbed the apple and Julius is yellow' then Bill went to the office.,It is probably the case that 'Fred is in the cinema 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.7::factB. 0.1::factC. %hop1 0.75::factX:-and(factB,factA). 0.1::factY:-and(factA,factC). 0.05::factZ:-and(factB,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.3675,0.6237247449489898,train,probably not,probably,It is probably not the case that 'Fred is in the cinema and Lily is a lion'.,It is probably the case that 'Fred is in the cinema and Lily is a lion'.,0,'Fred is in the cinema and Lily is a lion'. There is a very good chance that Brian is a lion. It is probably the case that Lily is white. We doubt that Greg is a rhino. It is likely that if 'Greg is a rhino and Brian is a lion' then Winona is a wolf. Chances are slight that if 'Brian is a lion' or 'Lily is white' or both then Mary got the milk. It is certain that if 'Brian is a lion and Lily is white' then Julius is gray.,We believe that either 'Mary got the milk' or 'Brian 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.8::factA. 0.7::factB. 0.2::factC. %hop1 0.7::factX:-and(factC,factA). 0.1::factY:-or(factA,factB). 1.0::factZ:-and(factA,factB). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.734,0.1232246449289858,train,we believe,chances are slight,We believe that either 'Mary got the milk' or 'Brian is a lion' but not both.,Chances are slight that either 'Mary got the milk' or 'Brian is a lion' but not both.,1,Either 'Mary got the milk' or 'Brian is a lion' but not both. There is little chance that Brian is a rhino. We believe that Lily is a lion. Chances are about even that Bernhard is gray. There is a very good chance that if 'Lily is a lion' or 'Bernhard is gray' or both then John moved to the office. It is unlikely that if 'Bernhard is gray' or 'Lily is a lion' or both then Julius is yellow. Chances are about even that if 'Lily is a lion' or 'Brian is a rhino' or both then Sandra took the milk.,It is almost certain that 'Lily is a lion 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.1::factA. 0.75::factB. 0.5::factC. %hop1 0.8::factX:-or(factB,factC). 0.2::factY:-or(factC,factB). 0.5::factZ:-or(factB,factA). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.375,0.05181036207241448,train,probably not,almost certain,It is probably not the case that 'Lily is a lion and Bernhard is gray'.,It is almost certain that 'Lily is a lion and Bernhard is gray'.,0,'Lily is a lion and Bernhard is gray'. It is almost certain that Bernhard is a frog. It is highly likely that Emily is a wolf. Chances are slight that John went to the hallway. There is a better than even chance that if 'Emily is a wolf' or 'Bernhard is a frog' or both then Sandra took the milk. It is probably not the case that if either 'John went to the hallway' or 'Bernhard is a frog' but not both then Julius is a rhino. Chances are about even that if 'John went to the hallway' or 'Bernhard is a frog' or both then Greg is a frog.,It is highly likely that either 'John went to the hallway' 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.95::factA. 0.9::factB. 0.1::factC. %hop1 0.6::factX:-or(factB,factA). 0.25::factY:-xor(factC,factA). 0.5::factZ:-or(factC,factA). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.86,0.3206641328265653,train,highly likely,unlikely,It is highly likely that either 'John went to the hallway' or 'Bernhard is a frog' but not both.,It is unlikely that either 'John went to the hallway' or 'Bernhard is a frog' but not both.,1,Either 'John went to the hallway' or 'Bernhard is a frog' but not both. It is probably the case that Greg is white. It is probably not the case that Winona is a mouse. It is unlikely that Mary left the football. It is almost certain that if either 'Greg is white' or 'Mary left the football' but not both then Sandra is in the kitchen. We believe that if 'Greg is white' or 'Winona is a mouse' or both then Lily is yellow. There is a better than even chance that if 'Greg is white and Winona is a mouse' then John went to the hallway.,It is likely that 'Winona is a mouse' 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.7::factA. 0.25::factB. 0.2::factC. %hop1 0.95::factX:-xor(factA,factC). 0.75::factY:-or(factA,factB). 0.6::factZ:-and(factA,factB). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.24999999999999994,0.13342668533706742,train,probably not,likely,It is probably not the case that 'Winona is a mouse' or 'John went to the hallway' or both.,It is likely that 'Winona is a mouse' or 'John went to the hallway' or both.,0,'Winona is a mouse' or 'John went to the hallway' or both. It is likely that Mary went to the kitchen. It is likely that Greg is gray. It is probably not the case that Lily is a swan. It is probable that if 'Mary went to the kitchen and Lily is a swan' then Brian is green. We believe that if either 'Lily is a swan' or 'Mary went to the kitchen' but not both then Bernhard is a lion. It is probably the case that if either 'Greg is gray' or 'Lily is a swan' but not both then John picked up the apple.,Chances are about even that either 'Mary went to the kitchen' or 'Greg 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.7::factB. 0.25::factC. %hop1 0.7::factX:-and(factA,factC). 0.75::factY:-xor(factC,factA). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.42,0.05261052210442088,train,about even,almost no chance,Chances are about even that either 'Mary went to the kitchen' or 'Greg is gray' but not both.,There is almost no chance that either 'Mary went to the kitchen' or 'Greg is gray' but not both.,1,Either 'Mary went to the kitchen' or 'Greg is gray' but not both. It is probably the case that Mary moved to the garden. Chances are slight that Gertrude is a sheep. It is probably the case that Brian is yellow. We doubt that if 'Gertrude is a sheep and Mary moved to the garden' then Lily is a swan. We doubt that if either 'Brian is yellow' or 'Gertrude is a sheep' but not both then John went to the hallway. It is highly unlikely that if 'Gertrude is a sheep' or 'Mary moved to the garden' or both then Julius is white.,We believe that 'Mary moved to the garden' 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.7::factA. 0.1::factB. 0.7::factC. %hop1 0.2::factX:-and(factB,factA). 0.2::factY:-xor(factC,factB). 0.05::factZ:-or(factB,factA). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.7395999999999999,0.39147829565913184,train,we believe,we doubt,We believe that 'Mary moved to the garden' or 'John went to the hallway' or both.,We doubt that 'Mary moved to the garden' or 'John went to the hallway' or both.,1,'Mary moved to the garden' or 'John went to the hallway' or both. It is probably the case that Brian is green. It is highly likely that Fred put down the apple. It is improbable that Julius is gray. It is probably not the case that if 'Julius is gray and Brian is green' then John left the football. It is likely that if 'Fred put down the apple' or 'Julius is gray' or both then Lily is a lion. It is probably the case that if either 'Julius is gray' or 'Brian is green' but not both then Bernhard is green.,There is almost no chance that 'Lily is a lion 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.9::factB. 0.1::factC. %hop1 0.25::factX:-and(factC,factA). 0.7::factY:-or(factB,factC). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.44589999999999996,0.5237047409481896,train,about even,almost no chance,Chances are about even that 'Lily is a lion and Brian is green'.,There is almost no chance that 'Lily is a lion and Brian is green'.,0,'Lily is a lion and Brian is green'. It is impossible that Brian is yellow. We believe that Julius is a frog. It is highly likely that Mary got the apple. There is almost no chance that if 'Brian is yellow and Julius is a frog' then Lily is green. It is likely that if 'Brian is yellow and Mary got the apple' then Daniel took the football. It is unlikely that if 'Julius is a frog and Brian is yellow' then Bernhard is a swan.,It is highly unlikely that either 'Julius is a frog' or 'Lily 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.0::factA. 0.75::factB. 0.9::factC. %hop1 0.02::factX:-and(factA,factB). 0.7::factY:-and(factA,factC). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.75,0.4414882976595319,train,we believe,highly unlikely,We believe that either 'Julius is a frog' or 'Lily is green' but not both.,It is highly unlikely that either 'Julius is a frog' or 'Lily is green' but not both.,0,Either 'Julius is a frog' or 'Lily is green' but not both. We doubt that John went to the hallway. Chances are about even that Gertrude is a sheep. It is almost certain that Mary left the football. It is likely that if 'John went to the hallway and Mary left the football' then Sandra dropped the milk. Chances are slight that if 'Gertrude is a sheep and John went to the hallway' then Emily is a mouse. There is almost no chance that if either 'Gertrude is a sheep' or 'John went to the hallway' but not both then Bernhard is a rhino.,Chances are about even that 'Gertrude is a sheep 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.2::factA. 0.5::factB. 0.95::factC. %hop1 0.7::factX:-and(factA,factC). 0.1::factY:-and(factB,factA). 0.02::factZ:-xor(factB,factA). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.475,0.023404680936187236,train,about even,impossible,Chances are about even that 'Gertrude is a sheep and Mary left the football'.,It is impossible that 'Gertrude is a sheep and Mary left the football'.,1,'Gertrude is a sheep and Mary left the football'. There is a very good chance that Bernhard is a swan. There is a better than even chance that Lily is a frog. There is little chance that Brian is green. There is almost no chance that if 'Bernhard is a swan and Lily is a frog' then Daniel grabbed the milk. It is improbable that if 'Bernhard is a swan' or 'Brian is green' or both then Sandra left the football. It is almost certain that if either 'Bernhard is a swan' or 'Lily is a frog' but not both then Mary went to the office.,Chances are slight that 'Daniel grabbed 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.8::factA. 0.6::factB. 0.1::factC. %hop1 0.02::factX:-and(factA,factB). 0.1::factY:-or(factA,factC). 0.95::factZ:-xor(factA,factB). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.10863999999999999,0.5193038607721544,train,chances are slight,probably,Chances are slight that 'Daniel grabbed the milk' or 'Brian is green' or both.,It is probably the case that 'Daniel grabbed the milk' or 'Brian is green' or both.,1,'Daniel grabbed the milk' or 'Brian is green' or both. There is a better than even chance that Greg is a frog. It is unlikely that Bernhard is gray. Chances are about even that Mary left the apple. It is probably not the case that if 'Mary left the apple and Bernhard is gray' then Sumit is thirsty. It is highly likely that if 'Greg is a frog' or 'Mary left the apple' or both then Sandra took the football. Chances are slight that if 'Bernhard is gray' or 'Mary left the apple' or both then Jessica is a mouse.,Chances are about even that either 'Mary left the apple' or 'Sumit 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.6::factA. 0.2::factB. 0.5::factC. %hop1 0.25::factX:-and(factC,factB). 0.9::factY:-or(factA,factC). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.47500000000000003,0.4802960592118424,train,about even,almost certain,Chances are about even that either 'Mary left the apple' or 'Sumit is thirsty' but not both.,It is almost certain that either 'Mary left the apple' or 'Sumit is thirsty' but not both.,1,Either 'Mary left the apple' or 'Sumit is thirsty' but not both. It is likely that John went to the garden. It is highly likely that Fred is in the cinema. It is probably not the case that Mary grabbed the milk. Chances are slight that if either 'Fred is in the cinema' or 'John went to the garden' but not both then Greg is a swan. It is impossible that if either 'Fred is in the cinema' or 'John went to the garden' but not both then Bernhard is a lion. There is a very good chance that if either 'Mary grabbed the milk' or 'Fred is in the cinema' but not both then Gertrude is a mouse.,There is little chance that either 'Mary grabbed the milk' or 'Fred is in the cinema' 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.25::factC. %hop1 0.1::factX:-xor(factB,factA). 0.0::factY:-xor(factB,factA). 0.8::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.7000000000000001,0.7255451090218044,train,likely,little chance,It is likely that either 'Mary grabbed the milk' or 'Fred is in the cinema' but not both.,There is little chance that either 'Mary grabbed the milk' or 'Fred is in the cinema' but not both.,0,Either 'Mary grabbed the milk' or 'Fred is in the cinema' but not both. It is probable that Daniel got the milk. Chances are slight that Julius is yellow. It is unlikely that Yann is hungry. There is almost no chance that if 'Yann is hungry and Julius is yellow' then John took the apple. We doubt that if 'Yann is hungry and Daniel got the milk' then Greg is a frog. It is highly unlikely that if 'Julius is yellow and Daniel got the milk' then Bernhard is a frog.,We doubt that either 'John took the apple' or 'Yann is hungry' 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.02::factX:-and(factC,factB). 0.2::factY:-and(factC,factA). 0.05::factZ:-and(factB,factA). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.19960000000000003,0.2426485297059412,train,we doubt,probably,We doubt that either 'John took the apple' or 'Yann is hungry' but not both.,It is probably the case that either 'John took the apple' or 'Yann is hungry' but not both.,1,Either 'John took the apple' or 'Yann is hungry' but not both. It is highly likely that John grabbed the apple. It is impossible that Jeff moved to the office. It is certain that Antoine is hungry. It is probably the case that if 'Antoine is hungry' or 'John grabbed the apple' or both then Mary dropped the milk. It is improbable that if 'Antoine is hungry and John grabbed the apple' then Lily is white. Chances are about even that if 'John grabbed the apple and Antoine is hungry' then Brian is a rhino.,There is little chance that either 'Jeff moved to the office' or 'Lily 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.9::factA. 0.0::factB. 1.0::factC. %hop1 0.7::factX:-or(factC,factA). 0.1::factY:-and(factC,factA). 0.5::factZ:-and(factA,factC). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.09000000000000001,0.4850970194038808,train,little chance,almost certain,There is little chance that either 'Jeff moved to the office' or 'Lily is white' but not both.,It is almost certain that either 'Jeff moved to the office' or 'Lily is white' but not both.,1,Either 'Jeff moved to the office' or 'Lily is white' but not both. It is probable that Greg is gray. It is likely that Julius is a rhino. There is almost no chance that John grabbed the apple. It is almost certain that if 'Greg is gray' or 'John grabbed the apple' or both then Brian is green. Chances are slight that if 'Julius is a rhino' or 'John grabbed the apple' or both then Lily is a frog. We believe that if either 'Julius is a rhino' or 'John grabbed the apple' but not both then Jeff went to the bedroom.,It is probably the case 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.7::factA. 0.7::factB. 0.02::factC. %hop1 0.95::factX:-or(factA,factC). 0.1::factY:-or(factB,factC). 0.75::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.6717599999999999,0.7075415083016603,train,probably,improbable,It is probably the case that either 'Greg is gray' or 'Lily is a frog' but not both.,It is improbable 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 impossible that Bernhard is a lion. It is probably not the case that John took the apple. We believe that Julius is a rhino. There is a very good chance that if 'Julius is a rhino and Bernhard is a lion' then Emily is a mouse. There is a better than even chance that if 'Bernhard is a lion' or 'Julius is a rhino' or both then Lily is white. It is likely that if 'John took the apple' or 'Bernhard is a lion' or both then Mary left the football.,It is probable that either 'Mary left the football' 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.25::factB. 0.75::factC. %hop1 0.8::factX:-and(factC,factA). 0.6::factY:-or(factA,factC). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.075,0.6835367073414683,train,highly unlikely,probable,It is highly unlikely that either 'Mary left the football' or 'John took the apple' but not both.,It is probable that either 'Mary left the football' or 'John took the apple' but not both.,0,Either 'Mary left the football' or 'John took the apple' but not both. It is probably the case that Bernhard is a lion. It is impossible that Sandra dropped the milk. Chances are about even that John took the apple. It is almost certain that if 'Bernhard is a lion' or 'Sandra dropped the milk' or both then Brian is a frog. It is probable that if 'Bernhard is a lion and Sandra dropped the milk' then Mary moved to the garden. It is highly unlikely that if either 'Sandra dropped the milk' or 'Bernhard is a lion' but not both then Lily is gray.,There is almost no chance that either 'Sandra dropped the milk' 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.7::factA. 0.0::factB. 0.5::factC. %hop1 0.95::factX:-or(factA,factB). 0.7::factY:-and(factA,factB). 0.05::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.5,0.11302260452090418,train,about even,almost no chance,Chances are about even that either 'Sandra dropped the milk' or 'John took the apple' but not both.,There is almost no chance that either 'Sandra dropped the milk' or 'John took the apple' but not both.,0,Either 'Sandra dropped the milk' or 'John took the apple' but not both. There is a better than even chance that Emily is a sheep. There is little chance that Jessica is a sheep. We doubt that Daniel dropped the milk. Chances are slight that if either 'Emily is a sheep' or 'Daniel dropped the milk' but not both then Lily is yellow. It is probably the case that if either 'Daniel dropped the milk' or 'Jessica is a sheep' but not both then Bill went to the office. It is probably the case that if 'Emily is a sheep and Daniel dropped the milk' then Greg is a swan.,Chances are slight that either 'Jessica is a sheep' 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.6::factA. 0.1::factB. 0.2::factC. %hop1 0.1::factX:-xor(factA,factC). 0.7::factY:-xor(factC,factB). 0.7::factZ:-and(factA,factC). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.58,0.07721544308861772,train,better than even,chances are slight,There is a better than even chance that either 'Jessica is a sheep' or 'Emily is a sheep' but not both.,Chances are slight that either 'Jessica is a sheep' or 'Emily is a sheep' but not both.,0,Either 'Jessica is a sheep' or 'Emily is a sheep' but not both. It is unlikely that Gertrude is a cat. It is probably the case that John is in the garden. There is little chance that Lily is a frog. There is almost no chance that if 'Gertrude is a cat and John is in the garden' then Sumit is hungry. It is probably the case that if 'Gertrude is a cat and Lily is a frog' then Julius is a swan. It is highly unlikely that if 'Lily is a frog' or 'John is in the garden' or both then Greg is yellow.,It is impossible that 'Sumit is hungry 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.2::factA. 0.7::factB. 0.1::factC. %hop1 0.02::factX:-and(factA,factB). 0.7::factY:-and(factA,factC). 0.05::factZ:-or(factC,factB). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.002800000000000001,0.7715543108621724,train,impossible,better than even,It is impossible that 'Sumit is hungry and Gertrude is a cat'.,There is a better than even chance that 'Sumit is hungry and Gertrude is a cat'.,1,'Sumit is hungry and Gertrude is a cat'. There is a better than even chance that Greg is a rhino. It is unlikely that John dropped the milk. It is probably not the case that Daniel got the apple. There is a very good chance that if either 'John dropped the milk' or 'Greg is a rhino' but not both then Fred is in the office. There is a better than even chance that if 'John dropped the milk' or 'Daniel got the apple' or both then Lily is a lion. It is almost certain that if 'Daniel got the apple and Greg is a rhino' then Brian is white.,Chances are about even that either 'Brian is white' or 'Fred is in 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.6::factA. 0.2::factB. 0.25::factC. %hop1 0.8::factX:-xor(factB,factA). 0.6::factY:-or(factB,factC). 0.95::factZ:-and(factC,factA). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.4081,0.5493098619723945,train,about even,almost no chance,Chances are about even that either 'Brian is white' or 'Fred is in the office' but not both.,There is almost no chance that either 'Brian is white' or 'Fred is in the office' but not both.,1,Either 'Brian is white' or 'Fred is in the office' but not both. It is probable that Bernhard is gray. It is certain that Lily is a rhino. It is probable that Mary took the milk. It is probably not the case that if 'Bernhard is gray and Lily is a rhino' then John went to the hallway. It is improbable that if 'Mary took the milk and Bernhard is gray' then Gertrude is a cat. We doubt that if either 'Bernhard is gray' or 'Lily is a rhino' but not both then Winona is a sheep.,There is almost no chance that 'John went to the hallway 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. 1.0::factB. 0.7::factC. %hop1 0.25::factX:-and(factA,factB). 0.1::factY:-and(factC,factA). 0.2::factZ:-xor(factA,factB). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.012250000000000004,0.07981596319263853,train,almost no chance,very good chance,There is almost no chance that 'John went to the hallway and Gertrude is a cat'.,There is a very good chance that 'John went to the hallway and Gertrude is a cat'.,1,'John went to the hallway and Gertrude is a cat'. It is likely that Bernhard is white. It is impossible that Lily is yellow. It is impossible that Antoine is hungry. It is highly unlikely that if either 'Lily is yellow' or 'Bernhard is white' but not both then Gertrude is a sheep. There is a very good chance that if 'Bernhard is white and Antoine is hungry' then Brian is green. There is little chance that if either 'Bernhard is white' or 'Antoine is hungry' but not both then John grabbed the milk.,It is highly unlikely that 'Gertrude is a sheep 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.7::factA. 0.0::factB. 0.0::factC. %hop1 0.05::factX:-xor(factB,factA). 0.8::factY:-and(factA,factC). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.035,0.7925585117023405,train,highly unlikely,we believe,It is highly unlikely that 'Gertrude is a sheep and Bernhard is white'.,We believe that 'Gertrude is a sheep and Bernhard is white'.,1,'Gertrude is a sheep and Bernhard is white'. It is highly likely that Julius is a frog. It is probably not the case that Brian is a lion. It is highly likely that John went to the garden. It is probable that if 'Julius is a frog' or 'John went to the garden' or both then Greg is yellow. There is a very good chance that if 'Brian is a lion' or 'John went to the garden' or both then Jeff discarded the milk. It is certain that if either 'Brian is a lion' or 'John went to the garden' but not both then Bernhard is yellow.,It is highly unlikely that either 'Greg is yellow' or 'Jeff 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.25::factB. 0.9::factC. %hop1 0.7::factX:-or(factA,factC). 0.8::factY:-or(factB,factC). 1.0::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.39980000000000004,0.6435287057411482,train,about even,highly unlikely,Chances are about even that either 'Greg is yellow' or 'Jeff discarded the milk' but not both.,It is highly unlikely that either 'Greg is yellow' or 'Jeff discarded the milk' but not both.,0,Either 'Greg is yellow' or 'Jeff discarded the milk' but not both. There is a very good chance that Jason is tired. Chances are about even that Bernhard is a rhino. Chances are about even that Brian is a lion. There is a very good chance that if 'Bernhard is a rhino and Jason is tired' then Lily is white. It is probably the case that if either 'Bernhard is a rhino' or 'Brian is a lion' but not both then John got the milk. It is almost certain that if either 'Bernhard is a rhino' or 'Brian is a lion' but not both then Mary went to the office.,It is impossible that 'Brian is a lion' 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 0.8::factA. 0.5::factB. 0.5::factC. %hop1 0.8::factX:-and(factB,factA). 0.7::factY:-xor(factB,factC). 0.95::factZ:-xor(factB,factC). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.9,0.4986997399479896,train,highly likely,impossible,It is highly likely that 'Brian is a lion' or 'Jason is tired' or both.,It is impossible that 'Brian is a lion' or 'Jason is tired' or both.,0,'Brian is a lion' or 'Jason is tired' or both. There is a very good chance that Bernhard is gray. Chances are about even that Greg is a swan. There is almost no chance that Jeff went to the hallway. It is likely that if either 'Jeff went to the hallway' or 'Greg is a swan' but not both then Brian is a rhino. It is impossible that if either 'Jeff went to the hallway' or 'Bernhard is gray' but not both then Julius is white. It is probable that if 'Greg is a swan and Jeff went to the hallway' then John moved to the office.,It is impossible that 'Jeff went to the hallway 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.8::factA. 0.5::factB. 0.02::factC. %hop1 0.7::factX:-xor(factC,factB). 0.0::factY:-xor(factC,factA). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.0,0.46309261852370476,train,impossible,we believe,It is impossible that 'Jeff went to the hallway and Julius is white'.,We believe that 'Jeff went to the hallway and Julius is white'.,1,'Jeff went to the hallway and Julius is white'. It is probably the case that Sandra dropped the milk. We doubt that Bernhard is green. It is probably not the case that Brian is a lion. It is impossible that if either 'Brian is a lion' or 'Sandra dropped the milk' but not both then Emily is a wolf. It is highly likely that if either 'Sandra dropped the milk' or 'Bernhard is green' but not both then Julius is gray. It is probable that if 'Sandra dropped the milk' or 'Bernhard is green' or both then John moved to the office.,It is probably not the case that either 'Sandra dropped the milk' or 'John 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.7::factA. 0.2::factB. 0.25::factC. %hop1 0.0::factX:-xor(factC,factA). 0.9::factY:-xor(factA,factB). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.252,0.6519303860772154,train,probably not,highly likely,It is probably not the case that either 'Sandra dropped the milk' or 'John moved to the office' but not both.,It is highly likely that either 'Sandra dropped the milk' or 'John moved to the office' but not both.,1,Either 'Sandra dropped the milk' or 'John moved to the office' but not both. We believe that Mary left the apple. Chances are slight that Bernhard is a rhino. It is highly likely that Emily is a wolf. It is almost certain that if 'Emily is a wolf' or 'Bernhard is a rhino' or both then Lily is white. It is highly unlikely that if 'Bernhard is a rhino and Emily is a wolf' then Brian is a swan. It is impossible that if either 'Bernhard is a rhino' or 'Emily is a wolf' but not both then John went to the office.,It is probably not the case that either 'Emily is a wolf' or 'Mary 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.75::factA. 0.1::factB. 0.9::factC. %hop1 0.95::factX:-or(factC,factB). 0.05::factY:-and(factB,factC). 0.0::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.30000000000000004,0.6773354670934186,train,probably not,certain,It is probably not the case that either 'Emily is a wolf' or 'Mary left the apple' but not both.,It is certain that either 'Emily is a wolf' or 'Mary left the apple' but not both.,1,Either 'Emily is a wolf' or 'Mary left the apple' but not both. It is highly unlikely that Brian is white. It is improbable that Julius is a frog. It is probably not the case that John went to the office. It is highly likely that if 'John went to the office' or 'Brian is white' or both then Winona is a wolf. There is little chance that if 'Julius is a frog and Brian is white' then Mary dropped the apple. Chances are about even that if 'Brian is white and Julius is a frog' then Greg is a rhino.,There is a very good chance that 'Brian is white and Mary 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.05::factA. 0.1::factB. 0.25::factC. %hop1 0.9::factX:-or(factC,factA). 0.1::factY:-and(factB,factA). 0.5::factZ:-and(factA,factB). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.0005000000000000001,0.1248249649929986,train,impossible,very good chance,It is impossible that 'Brian is white and Mary dropped the apple'.,There is a very good chance that 'Brian is white and Mary dropped the apple'.,0,'Brian is white and Mary dropped the apple'. It is probably not the case that Jessica is a mouse. It is highly likely that Lily is a rhino. It is highly unlikely that Bernhard is a swan. There is a better than even chance that if 'Jessica is a mouse and Bernhard is a swan' then Mary got the football. It is likely that if either 'Jessica is a mouse' or 'Lily is a rhino' but not both then Julius is yellow. It is almost certain that if 'Bernhard is a swan' or 'Jessica is a mouse' or both then John picked up the apple.,Chances are about even that 'Julius is yellow 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.25::factA. 0.9::factB. 0.05::factC. %hop1 0.6::factX:-and(factA,factC). 0.7::factY:-xor(factA,factB). 0.95::factZ:-or(factC,factA). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.47250000000000003,0.30306061212242447,train,about even,certain,Chances are about even that 'Julius is yellow and Lily is a rhino'.,It is certain that 'Julius is yellow and Lily is a rhino'.,1,'Julius is yellow and Lily is a rhino'. There is almost no chance that Daniel put down the milk. There is a better than even chance that Brian is a rhino. It is impossible that Lily is white. Chances are slight that if either 'Brian is a rhino' or 'Lily is white' but not both then Bernhard is yellow. There is a very good chance that if 'Brian is a rhino' or 'Daniel put down the milk' or both then Julius is green. There is a very good chance that if 'Lily is white' or 'Daniel put down the milk' or both then Mary got the apple.,It is impossible that 'Mary got the apple 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.6::factB. 0.0::factC. %hop1 0.1::factX:-xor(factB,factC). 0.8::factY:-or(factB,factA). 0.8::factZ:-or(factC,factA). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.0009599999999999997,0.19103820764152832,train,impossible,certain,It is impossible that 'Mary got the apple and Bernhard is yellow'.,It is certain that 'Mary got the apple and Bernhard is yellow'.,1,'Mary got the apple and Bernhard is yellow'. It is probable that Julius is a rhino. There is almost no chance that Greg is a swan. It is probably not the case that Brian is white. It is probable that if 'Greg is a swan and Brian is white' then John dropped the milk. It is unlikely that if 'Brian is white' or 'Julius is a rhino' or both then Mary left the football. There is little chance that if 'Brian is white' or 'Julius is a rhino' or both then Bernhard is a lion.,It is unlikely that either 'Mary left the football' or 'Bernhard 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.02::factB. 0.25::factC. %hop1 0.7::factX:-and(factB,factC). 0.2::factY:-or(factC,factA). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.20150000000000004,0.15863172634526906,train,unlikely,almost certain,It is unlikely that either 'Mary left the football' or 'Bernhard is a lion' but not both.,It is almost certain that either 'Mary left the football' or 'Bernhard is a lion' but not both.,1,Either 'Mary left the football' or 'Bernhard is a lion' but not both. There is a better than even chance that Daniel dropped the milk. There is little chance that Julius is a lion. We doubt that Jeff left the apple. There is little chance that if 'Jeff left the apple' or 'Julius is a lion' or both then Lily is a rhino. There is a better than even chance that if 'Jeff left the apple and Julius is a lion' then Mary went to the bedroom. It is probably the case that if either 'Julius is a lion' or 'Jeff left the apple' but not both then Bernhard is a frog.,There is almost no chance that 'Lily is a rhino 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.2::factC. %hop1 0.1::factX:-or(factC,factB). 0.6::factY:-and(factC,factB). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.010000000000000004,0.041408281656331265,train,almost no chance,probably,There is almost no chance that 'Lily is a rhino and Julius is a lion'.,It is probably the case that 'Lily is a rhino and Julius is a lion'.,1,'Lily is a rhino and Julius is a lion'. It is highly likely that Brian is a frog. It is impossible that Mary went to the bedroom. We believe that Bernhard is green. There is little chance that if either 'Brian is a frog' or 'Mary went to the bedroom' but not both then Sandra got the milk. It is impossible that if 'Mary went to the bedroom and Bernhard is green' then Greg is yellow. It is probably the case that if 'Bernhard is green and Mary went to the bedroom' then John dropped the apple.,Chances are about even that either 'Greg is yellow' or 'John 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.9::factA. 0.0::factB. 0.75::factC. %hop1 0.1::factX:-xor(factA,factB). 0.0::factY:-and(factB,factC). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.0,0.7859571914382877,train,impossible,about even,It is impossible that either 'Greg is yellow' or 'John dropped the apple' but not both.,Chances are about even that either 'Greg is yellow' or 'John dropped the apple' but not both.,0,Either 'Greg is yellow' or 'John dropped the apple' but not both. We believe that John went to the hallway. There is almost no chance that Greg is a swan. We believe that Mary left the football. It is impossible that if 'Mary left the football' or 'John went to the hallway' or both then Julius is a frog. It is probable that if 'Mary left the football' or 'Greg is a swan' or both then Brian is white. It is highly likely that if 'Greg is a swan' or 'Mary left the football' or both then Lily is green.,It is impossible that either 'Lily is green' 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.75::factA. 0.02::factB. 0.75::factC. %hop1 0.0::factX:-or(factC,factA). 0.7::factY:-or(factC,factB). 0.9::factZ:-or(factB,factC). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.6795000000000001,0.16283256651330266,train,probable,impossible,It is probable that either 'Lily is green' or 'Julius is a frog' but not both.,It is impossible that either 'Lily is green' or 'Julius is a frog' but not both.,0,Either 'Lily is green' or 'Julius is a frog' but not both. There is a very good chance that Greg is a lion. It is likely that Lily is a rhino. There is almost no chance that Julius is a swan. It is impossible that if 'Julius is a swan' or 'Lily is a rhino' or both then Bernhard is yellow. There is almost no chance that if either 'Greg is a lion' or 'Lily is a rhino' but not both then Sandra put down the milk. It is certain that if either 'Julius is a swan' or 'Lily is a rhino' but not both then Brian is green.,It is impossible that 'Lily is a rhino' 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.8::factA. 0.7::factB. 0.02::factC. %hop1 0.0::factX:-or(factC,factB). 0.02::factY:-xor(factA,factB). 1.0::factZ:-xor(factC,factB). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.94,0.47509501900380074,train,almost certain,impossible,It is almost certain that 'Lily is a rhino' or 'Greg is a lion' or both.,It is impossible that 'Lily is a rhino' or 'Greg is a lion' or both.,0,'Lily is a rhino' or 'Greg is a lion' or both. It is highly likely that Greg is a rhino. It is probably the case that Sandra dropped the milk. There is little chance that Winona is a sheep. We doubt that if either 'Greg is a rhino' or 'Sandra dropped the milk' but not both then Mary went to the garden. It is highly unlikely that if either 'Winona is a sheep' or 'Greg is a rhino' but not both then Brian is white. Chances are slight that if 'Greg is a rhino and Sandra dropped the milk' then John picked up the milk.,It is improbable that either 'Mary went to the garden' 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.9::factA. 0.7::factB. 0.1::factC. %hop1 0.2::factX:-xor(factA,factB). 0.05::factY:-xor(factC,factA). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.10400000000000001,0.09241848369673934,train,improbable,highly likely,It is improbable that either 'Mary went to the garden' or 'Brian is white' but not both.,It is highly likely that either 'Mary went to the garden' or 'Brian is white' but not both.,1,Either 'Mary went to the garden' or 'Brian is white' but not both. It is probable that Brian is a rhino. It is probably not the case that Sandra left the milk. It is impossible that Jeff went to the garden. We believe that if 'Jeff went to the garden and Sandra left the milk' then Lily is green. There is little chance that if 'Sandra left the milk' or 'Jeff went to the garden' or both then Bernhard is a lion. It is probable that if 'Brian is a rhino' or 'Sandra left the milk' or both then Fred is in the office.,There is a very good chance that 'Bernhard is a lion' 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.7::factA. 0.25::factB. 0.0::factC. %hop1 0.75::factX:-and(factC,factB). 0.1::factY:-or(factB,factC). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.025000000000000012,0.34126825365073016,train,almost no chance,very good chance,There is almost no chance that 'Bernhard is a lion' or 'Jeff went to the garden' or both.,There is a very good chance that 'Bernhard is a lion' or 'Jeff went to the garden' or both.,0,'Bernhard is a lion' or 'Jeff went to the garden' or both. It is probably not the case that John left the football. We doubt that Emily is a mouse. It is unlikely that Greg is a frog. We doubt that if 'Greg is a frog and Emily is a mouse' then Winona is a wolf. We doubt that if either 'Greg is a frog' or 'Emily is a mouse' but not both then Lily is yellow. It is certain that if 'Emily is a mouse' or 'John left the football' or both then Mary grabbed the milk.,It is probably not the case that 'Lily is yellow' or 'Emily 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.25::factA. 0.2::factB. 0.2::factC. %hop1 0.2::factX:-and(factC,factB). 0.2::factY:-xor(factC,factB). 1.0::factZ:-or(factB,factA). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.23200000000000004,0.7691538307661532,train,probably not,probably,It is probably not the case that 'Lily is yellow' or 'Emily is a mouse' or both.,It is probably the case that 'Lily is yellow' or 'Emily is a mouse' or both.,1,'Lily is yellow' or 'Emily is a mouse' or both. It is highly unlikely that Lily is yellow. It is certain that Sandra took the football. There is a better than even chance that Julius is a rhino. It is improbable that if 'Julius is a rhino' or 'Sandra took the football' or both then Mary left the football. Chances are slight that if either 'Julius is a rhino' or 'Sandra took the football' but not both then John dropped the apple. It is improbable that if 'Julius is a rhino and Lily is yellow' then Brian is green.,There is a better than even chance that either 'Brian is green' 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.05::factA. 1.0::factB. 0.6::factC. %hop1 0.1::factX:-or(factC,factB). 0.1::factY:-xor(factC,factB). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.04700000000000001,0.46369273854770954,train,highly unlikely,better than even,It is highly unlikely that either 'Brian is green' or 'Lily is yellow' but not both.,There is a better than even chance that either 'Brian is green' or 'Lily is yellow' but not both.,0,Either 'Brian is green' or 'Lily is yellow' but not both. There is a very good chance that Brian is yellow. It is impossible that Bernhard is yellow. There is a very good chance that John dropped the apple. There is a better than even chance that if 'Bernhard is yellow' or 'Brian is yellow' or both then Julius is a rhino. There is a better than even chance that if 'Brian is yellow and Bernhard is yellow' then Lily is a frog. There is almost no chance that if 'Bernhard is yellow' or 'John dropped the apple' or both then Mary is in the hallway.,It is impossible that 'John dropped the apple 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.8::factA. 0.0::factB. 0.8::factC. %hop1 0.6::factX:-or(factB,factA). 0.6::factY:-and(factA,factB). 0.02::factZ:-or(factB,factC). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.0,0.3644728945789158,train,impossible,very good chance,It is impossible that 'John dropped the apple and Lily is a frog'.,There is a very good chance that 'John dropped the apple and Lily is a frog'.,1,'John dropped the apple and Lily is a frog'. It is probably not the case that Greg is green. There is almost no chance that Julius is yellow. It is probably not the case that Mary took the football. It is probable that if 'Julius is yellow and Mary took the football' then Bernhard is a swan. It is improbable that if 'Mary took the football and Greg is green' then Brian is white. There is almost no chance that if 'Mary took the football and Greg is green' then John went to the office.,It is probably not the case that either 'John went to the office' or 'Greg 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.02::factB. 0.25::factC. %hop1 0.7::factX:-and(factB,factC). 0.1::factY:-and(factC,factA). 0.02::factZ:-and(factC,factA). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.24875000000000003,0.15023004600920184,train,probably not,highly likely,It is probably not the case that either 'John went to the office' or 'Greg is green' but not both.,It is highly likely that either 'John went to the office' or 'Greg is green' but not both.,1,Either 'John went to the office' or 'Greg is green' but not both. It is certain that Julius is a swan. Chances are slight that John grabbed the milk. It is impossible that Bernhard is a lion. It is unlikely that if either 'Bernhard is a lion' or 'John grabbed the milk' but not both then Winona is a cat. It is highly likely that if 'John grabbed the milk and Bernhard is a lion' then Mary went to the bedroom. It is improbable that if either 'Bernhard is a lion' or 'Julius is a swan' but not both then Brian is a rhino.,It is certain that 'Winona is a cat 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 1.0::factA. 0.1::factB. 0.0::factC. %hop1 0.2::factX:-xor(factC,factB). 0.9::factY:-and(factB,factC). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.0,0.16823364672934588,train,impossible,certain,It is impossible that 'Winona is a cat and Mary went to the bedroom'.,It is certain that 'Winona is a cat and Mary went to the bedroom'.,0,'Winona is a cat and Mary went to the bedroom'. Chances are slight that Greg is a rhino. It is improbable that Sandra left the milk. It is probably the case that Brian is a swan. There is a very good chance that if 'Sandra left the milk and Brian is a swan' then Bernhard is green. It is highly likely that if either 'Sandra left the milk' or 'Brian is a swan' but not both then Bill went to the office. It is certain that if 'Sandra left the milk and Brian is a swan' then Jason is bored.,It is certain that 'Sandra left the milk 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.1::factA. 0.1::factB. 0.7::factC. %hop1 0.8::factX:-and(factB,factC). 0.9::factY:-xor(factB,factC). 1.0::factZ:-and(factB,factC). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.05600000000000001,0.7881576315263052,train,highly unlikely,certain,It is highly unlikely that 'Sandra left the milk and Bernhard is green'.,It is certain that 'Sandra left the milk and Bernhard is green'.,0,'Sandra left the milk and Bernhard is green'. There is little chance that Bill went to the garden. It is impossible that John discarded the apple. It is probably the case that Bernhard is a frog. It is highly likely that if 'Bernhard is a frog and John discarded the apple' then Mary left the football. It is probable that if 'Bernhard is a frog' or 'John discarded the apple' or both then Greg is a frog. Chances are about even that if 'Bill went to the garden' or 'John discarded the apple' or both then Sandra got the football.,It is certain that either 'Greg is a frog' 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.0::factB. 0.7::factC. %hop1 0.9::factX:-and(factC,factB). 0.7::factY:-or(factC,factB). 0.5::factZ:-or(factA,factB). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.49199999999999994,0.2550510102020404,train,about even,certain,Chances are about even that either 'Greg is a frog' or 'Bill went to the garden' but not both.,It is certain that either 'Greg is a frog' or 'Bill went to the garden' but not both.,0,Either 'Greg is a frog' or 'Bill went to the garden' but not both. It is improbable that Jessica is a cat. It is highly likely that Bernhard is yellow. It is highly unlikely that Lily is white. There is almost no chance that if 'Jessica is a cat' or 'Lily is white' or both then Antoine is thirsty. It is improbable that if either 'Jessica is a cat' or 'Lily is white' but not both then Mary went to the office. We believe that if either 'Bernhard is yellow' or 'Jessica is a cat' but not both then John discarded the apple.,It is impossible that 'John discarded the apple 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.1::factA. 0.9::factB. 0.05::factC. %hop1 0.02::factX:-or(factA,factC). 0.1::factY:-xor(factA,factC). 0.75::factZ:-xor(factB,factA). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.007500000000000004,0.05521104220844169,train,impossible,certain,It is impossible that 'John discarded the apple and Jessica is a cat'.,It is certain that 'John discarded the apple and Jessica is a cat'.,1,'John discarded the apple and Jessica is a cat'. There is little chance that Bernhard is gray. Chances are slight that Mary went to the office. Chances are about even that Brian is a rhino. It is probably the case that if 'Mary went to the office' or 'Brian is a rhino' or both then Sumit is thirsty. We believe that if 'Bernhard is gray' or 'Mary went to the office' or both then Julius is a frog. It is unlikely that if 'Brian is a rhino' or 'Bernhard is gray' or both then Sandra grabbed the milk.,It is highly unlikely that 'Mary went to the office 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.1::factB. 0.5::factC. %hop1 0.7::factX:-or(factB,factC). 0.75::factY:-or(factA,factB). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.07,0.2588517703540708,train,highly unlikely,probably,It is highly unlikely that 'Mary went to the office and Sumit is thirsty'.,It is probably the case that 'Mary went to the office and Sumit is thirsty'.,1,'Mary went to the office and Sumit is thirsty'. We doubt that Mary left the milk. Chances are about even that Bernhard is a swan. We doubt that Brian is a rhino. There is a very good chance that if 'Mary left the milk' or 'Bernhard is a swan' or both then Winona is a wolf. There is almost no chance that if either 'Mary left the milk' or 'Brian is a rhino' but not both then Julius is white. It is almost certain that if either 'Mary left the milk' or 'Bernhard is a swan' but not both then John went to the garden.,There is a better than even chance that 'John went to the garden' 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.5::factB. 0.2::factC. %hop1 0.8::factX:-or(factA,factB). 0.02::factY:-xor(factA,factC). 0.95::factZ:-xor(factA,factB). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.58,0.10262052410482096,train,better than even,almost no chance,There is a better than even chance that 'John went to the garden' or 'Brian is a rhino' or both.,There is almost no chance that 'John went to the garden' or 'Brian is a rhino' or both.,1,'John went to the garden' or 'Brian is a rhino' or both. It is almost certain that Brian is green. We believe that Winona is a mouse. We doubt that John discarded the apple. It is almost certain that if 'John discarded the apple' or 'Brian is green' or both then Jessica is a sheep. It is improbable that if either 'Winona is a mouse' or 'John discarded the apple' but not both then Sandra left the milk. We believe that if either 'Brian is green' or 'John discarded the apple' but not both then Bill went to the office.,There is almost no chance that 'Brian is green and Bill 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.95::factA. 0.75::factB. 0.2::factC. %hop1 0.95::factX:-or(factC,factA). 0.1::factY:-xor(factB,factC). 0.75::factZ:-xor(factA,factC). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.57,0.6613322664532907,train,better than even,almost no chance,There is a better than even chance that 'Brian is green and Bill went to the office'.,There is almost no chance that 'Brian is green and Bill went to the office'.,0,'Brian is green and Bill went to the office'. We doubt that Brian is a frog. It is probably not the case that Greg is yellow. It is certain that Bernhard is gray. There is a better than even chance that if 'Brian is a frog and Bernhard is gray' then Daniel left the milk. It is unlikely that if either 'Greg is yellow' or 'Brian is a frog' but not both then John took the football. Chances are about even that if either 'Bernhard is gray' or 'Brian is a frog' but not both then Lily is green.,There is almost no chance that 'Brian is a frog and John took 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.25::factB. 1.0::factC. %hop1 0.6::factX:-and(factA,factC). 0.2::factY:-xor(factB,factA). 0.5::factZ:-xor(factC,factA). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.029999999999999995,0.5267053410682137,train,almost no chance,highly likely,There is almost no chance that 'Brian is a frog and John took the football'.,It is highly likely that 'Brian is a frog and John took the football'.,1,'Brian is a frog and John took the football'. It is highly unlikely that Emily is a mouse. It is certain that Fred dropped the milk. There is almost no chance that Lily is a frog. It is certain that if 'Lily is a frog' or 'Fred dropped the milk' or both then John picked up the apple. There is a very good chance that if 'Lily is a frog and Fred dropped the milk' then Bernhard is a swan. It is highly unlikely that if either 'Lily is a frog' or 'Fred dropped the milk' but not both then Mary left the football.,There is almost no chance that 'Lily is a frog and Fred 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.05::factA. 1.0::factB. 0.02::factC. %hop1 1.0::factX:-or(factC,factB). 0.8::factY:-and(factC,factB). 0.05::factZ:-xor(factC,factB). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.02,0.2646529305861172,train,almost no chance,about even,There is almost no chance that 'Lily is a frog and Fred dropped the milk'.,Chances are about even that 'Lily is a frog and Fred dropped the milk'.,1,'Lily is a frog and Fred dropped the milk'. It is probable that Bernhard is gray. It is highly unlikely that Greg is a swan. Chances are slight that Winona is a wolf. There is almost no chance that if 'Greg is a swan' or 'Winona is a wolf' or both then Brian is green. There is a very good chance that if 'Winona is a wolf' or 'Greg is a swan' or both then Lily is a rhino. There is a very good chance that if either 'Winona is a wolf' or 'Greg is a swan' but not both then Mary got the apple.,There is little chance that 'Brian is green' 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.7::factA. 0.05::factB. 0.1::factC. %hop1 0.02::factX:-or(factB,factC). 0.8::factY:-or(factC,factB). 0.8::factZ:-xor(factC,factB). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.11266,0.11382276455291059,train,little chance,probably,There is little chance that 'Brian is green' or 'Mary got the apple' or both.,It is probably the case that 'Brian is green' or 'Mary got the apple' or both.,1,'Brian is green' or 'Mary got the apple' or both. We believe that Brian is a swan. There is a better than even chance that Fred dropped the milk. It is improbable that John discarded the apple. We doubt that if either 'John discarded the apple' or 'Brian is a swan' but not both then Gertrude is a sheep. There is little chance that if 'Fred dropped the milk' or 'Brian is a swan' or both then Mary moved to the garden. There is a better than even chance that if 'Fred dropped the milk' or 'Brian is a swan' or both then Greg is white.,Chances are about even that either 'John discarded the apple' 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.75::factA. 0.6::factB. 0.1::factC. %hop1 0.2::factX:-xor(factC,factA). 0.1::factY:-or(factB,factA). 0.6::factZ:-or(factB,factA). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.5319999999999999,0.5555111022204441,train,about even,almost no chance,Chances are about even that either 'John discarded the apple' or 'Greg is white' but not both.,There is almost no chance that either 'John discarded the apple' or 'Greg is white' but not both.,1,Either 'John discarded the apple' or 'Greg is white' but not both. There is little chance that Brian is a rhino. It is highly likely that Lily is white. We believe that Winona is a sheep. It is highly unlikely that if 'Brian is a rhino' or 'Winona is a sheep' or both then John went to the garden. There is a better than even chance that if 'Brian is a rhino and Lily is white' then Mary left the apple. It is certain that if 'Brian is a rhino' or 'Lily is white' or both then Greg is yellow.,It is highly unlikely that 'Lily is white and Mary 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.9::factB. 0.75::factC. %hop1 0.05::factX:-or(factA,factC). 0.6::factY:-and(factA,factB). 1.0::factZ:-or(factA,factB). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.05400000000000002,0.13682736547309463,train,highly unlikely,certain,It is highly unlikely that 'Lily is white and Mary left the apple'.,It is certain that 'Lily is white and Mary left the apple'.,1,'Lily is white and Mary left the apple'. It is improbable that Jessica is a sheep. There is little chance that Julius is a frog. It is probably not the case that Lily is white. There is a better than even chance that if 'Jessica is a sheep and Julius is a frog' then Yann is tired. We doubt that if 'Julius is a frog' or 'Lily is white' or both then Brian is a swan. It is highly unlikely that if 'Lily is white and Julius is a frog' then John took the apple.,It is certain that 'Brian is a swan' 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.1::factB. 0.25::factC. %hop1 0.6::factX:-and(factA,factB). 0.2::factY:-or(factB,factC). 0.05::factZ:-and(factC,factB). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.1585,0.4576915383076615,train,unlikely,certain,It is unlikely that 'Brian is a swan' or 'Jessica is a sheep' or both.,It is certain that 'Brian is a swan' or 'Jessica is a sheep' or both.,0,'Brian is a swan' or 'Jessica is a sheep' or both. It is probably the case that Bernhard is a rhino. We doubt that Fred is in the school. It is almost certain that Sandra dropped the apple. It is probably the case that if 'Sandra dropped the apple' or 'Bernhard is a rhino' or both then Julius is a swan. There is a better than even chance that if 'Sandra dropped the apple and Fred is in the school' then Brian is a frog. It is impossible that if 'Bernhard is a rhino and Fred is in the school' then Greg is a lion.,It is impossible that 'Julius is a swan and Sandra 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.7::factA. 0.2::factB. 0.95::factC. %hop1 0.7::factX:-or(factC,factA). 0.6::factY:-and(factC,factB). 0.0::factZ:-and(factA,factB). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.6649999999999999,0.5047009401880376,train,probably,impossible,It is probably the case that 'Julius is a swan and Sandra dropped the apple'.,It is impossible that 'Julius is a swan and Sandra dropped the apple'.,0,'Julius is a swan and Sandra dropped the apple'. There is little chance that John discarded the apple. It is highly unlikely that Bernhard is gray. Chances are about even that Jessica is a sheep. It is highly likely that if either 'Jessica is a sheep' or 'John discarded the apple' but not both then Brian is green. There is a better than even chance that if 'Jessica is a sheep' or 'Bernhard is gray' or both then Jeff moved to the office. It is probably the case that if 'Bernhard is gray' or 'Jessica is a sheep' or both then Greg is a frog.,It is almost certain that 'John discarded 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.1::factA. 0.05::factB. 0.5::factC. %hop1 0.9::factX:-xor(factC,factA). 0.6::factY:-or(factC,factB). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.43074999999999997,0.2654530906181236,train,about even,almost certain,Chances are about even that 'John discarded the apple' or 'Greg is a frog' or both.,It is almost certain that 'John discarded the apple' or 'Greg is a frog' or both.,0,'John discarded the apple' or 'Greg is a frog' or both. There is a better than even chance that Gertrude is a cat. It is probably the case that John went to the office. It is improbable that Julius is yellow. There is almost no chance that if either 'John went to the office' or 'Gertrude is a cat' but not both then Greg is a swan. There is a very good chance that if 'Julius is yellow and Gertrude is a cat' then Lily is a lion. It is probably not the case that if either 'John went to the office' or 'Julius is yellow' but not both then Bernhard is yellow.,There is a very good chance that either 'Bernhard is yellow' 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.6::factA. 0.7::factB. 0.1::factC. %hop1 0.02::factX:-xor(factB,factA). 0.8::factY:-and(factC,factA). 0.25::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.17149999999999999,0.32886577315463095,train,we doubt,very good chance,We doubt that either 'Bernhard is yellow' or 'Greg is a swan' but not both.,There is a very good chance that either 'Bernhard is yellow' or 'Greg is a swan' but not both.,0,Either 'Bernhard is yellow' or 'Greg is a swan' but not both. Chances are about even that Julius is a swan. It is highly likely that Brian is a lion. We believe that Bill went to the garden. It is probably not the case that if either 'Bill went to the garden' or 'Julius is a swan' but not both then Bernhard is white. It is almost certain that if 'Brian is a lion and Bill went to the garden' then John put down the apple. We doubt that if 'Brian is a lion and Julius is a swan' then Mary got the football.,There is little chance that either 'John put down the apple' 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.5::factA. 0.9::factB. 0.75::factC. %hop1 0.25::factX:-xor(factC,factA). 0.95::factY:-and(factB,factC). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.10875000000000001,0.5973194638927786,train,little chance,probably,There is little chance that either 'John put down the apple' or 'Bill went to the garden' but not both.,It is probably the case that either 'John put down the apple' or 'Bill went to the garden' but not both.,1,Either 'John put down the apple' or 'Bill went to the garden' but not both. There is almost no chance that Winona is a cat. There is a better than even chance that Jeff moved to the garden. It is unlikely that Mary went to the bedroom. Chances are slight that if 'Mary went to the bedroom' or 'Winona is a cat' or both then Greg is a rhino. There is little chance that if either 'Jeff moved to the garden' or 'Winona is a cat' but not both then Julius is a frog. It is improbable that if either 'Winona is a cat' or 'Mary went to the bedroom' but not both then Sandra dropped the milk.,There is almost no chance that 'Sandra dropped the milk and Jeff 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.02::factA. 0.6::factB. 0.2::factC. %hop1 0.1::factX:-or(factC,factA). 0.1::factY:-xor(factB,factA). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.01272,0.6841368273654731,train,almost no chance,probably,There is almost no chance that 'Sandra dropped the milk and Jeff moved to the garden'.,It is probably the case that 'Sandra dropped the milk and Jeff moved to the garden'.,1,'Sandra dropped the milk and Jeff moved to the garden'. It is probably not the case that Julius is a swan. It is probably not the case that Mary went to the bedroom. It is highly unlikely that Daniel put down the milk. There is almost no chance that if either 'Mary went to the bedroom' or 'Julius is a swan' but not both then Bernhard is white. Chances are slight that if 'Mary went to the bedroom' or 'Julius is a swan' or both then Lily is gray. There is little chance that if 'Julius is a swan and Daniel put down the milk' then Brian is a frog.,It is impossible that 'Daniel put down the milk and Brian 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.25::factB. 0.05::factC. %hop1 0.02::factX:-xor(factB,factA). 0.1::factY:-or(factB,factA). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.0012500000000000013,0.3612722544508902,train,impossible,likely,It is impossible that 'Daniel put down the milk and Brian is a frog'.,It is likely that 'Daniel put down the milk and Brian is a frog'.,1,'Daniel put down the milk and Brian is a frog'. It is certain that Greg is a frog. Chances are slight that Sandra dropped the milk. It is likely that Brian is green. It is certain that if 'Greg is a frog and Sandra dropped the milk' then Daniel took the football. It is unlikely that if 'Sandra dropped the milk and Brian is green' then Bernhard is gray. It is probable that if 'Brian is green' or 'Sandra dropped the milk' or both then Sumit is thirsty.,It is almost certain that 'Sumit is thirsty 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 1.0::factA. 0.1::factB. 0.7::factC. %hop1 1.0::factX:-and(factA,factB). 0.2::factY:-and(factB,factC). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.48999999999999994,0.7681536307261452,train,about even,almost certain,Chances are about even that 'Sumit is thirsty and Brian is green'.,It is almost certain that 'Sumit is thirsty and Brian is green'.,0,'Sumit is thirsty and Brian is green'. It is highly likely that Greg is a frog. It is probable that Brian is a rhino. It is almost certain that Julius is a swan. Chances are slight that if 'Julius is a swan' or 'Brian is a rhino' or both then Sandra dropped the milk. Chances are slight that if either 'Greg is a frog' or 'Brian is a rhino' but not both then Lily is green. It is highly likely that if 'Brian is a rhino and Greg is a frog' then John grabbed the apple.,There is almost no chance that 'Lily is green and Julius 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.9::factA. 0.7::factB. 0.95::factC. %hop1 0.1::factX:-or(factC,factB). 0.1::factY:-xor(factA,factB). 0.9::factZ:-and(factB,factA). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.032299999999999995,0.34506901380276056,train,almost no chance,better than even,There is almost no chance that 'Lily is green and Julius is a swan'.,There is a better than even chance that 'Lily is green and Julius is a swan'.,1,'Lily is green and Julius is a swan'. There is a better than even chance that Julius is gray. It is highly unlikely that Mary grabbed the milk. There is little chance that Yann is tired. Chances are slight that if 'Yann is tired and Mary grabbed the milk' then Bernhard is yellow. We believe that if 'Mary grabbed the milk and Julius is gray' then Greg is green. There is a very good chance that if 'Yann is tired' or 'Julius is gray' or both then Lily is a swan.,Chances are slight that either 'Bernhard is yellow' 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.6::factA. 0.05::factB. 0.1::factC. %hop1 0.1::factX:-and(factC,factB). 0.75::factY:-and(factB,factA). 0.8::factZ:-or(factC,factA). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.5999,0.4502900580116023,train,better than even,chances are slight,There is a better than even chance that either 'Bernhard is yellow' or 'Julius is gray' but not both.,Chances are slight that either 'Bernhard is yellow' or 'Julius is gray' but not both.,0,Either 'Bernhard is yellow' or 'Julius is gray' but not both. There is little chance that Brian is a frog. It is probably the case that Fred dropped the apple. There is a better than even chance that Antoine is hungry. It is certain that if 'Antoine is hungry and Fred dropped the apple' then Greg is a lion. We believe that if 'Fred dropped the apple and Brian is a frog' then Bernhard is a rhino. It is improbable that if 'Fred dropped the apple' or 'Brian is a frog' or both then Julius is green.,It is impossible that either 'Brian is a frog' 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.1::factA. 0.7::factB. 0.6::factC. %hop1 1.0::factX:-and(factC,factB). 0.75::factY:-and(factB,factA). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.436,0.5853170634126825,train,about even,impossible,Chances are about even that either 'Brian is a frog' or 'Greg is a lion' but not both.,It is impossible that either 'Brian is a frog' or 'Greg is a lion' but not both.,0,Either 'Brian is a frog' or 'Greg is a lion' but not both. Chances are slight that Julius is a frog. We doubt that Sandra left the milk. It is highly unlikely that Emily is a wolf. It is unlikely that if either 'Sandra left the milk' or 'Emily is a wolf' but not both then Jessica is a sheep. It is certain that if 'Sandra left the milk' or 'Emily is a wolf' or both then Greg is a frog. There is a better than even chance that if 'Sandra left the milk' or 'Julius is a frog' or both then Bernhard is a swan.,It is probably not the case that 'Emily is a wolf' 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.1::factA. 0.2::factB. 0.05::factC. %hop1 0.2::factX:-xor(factB,factC). 1.0::factY:-or(factB,factC). 0.6::factZ:-or(factB,factA). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.24000000000000005,0.3634726945389078,train,probably not,highly likely,It is probably not the case that 'Emily is a wolf' or 'Sandra left the milk' or both.,It is highly likely that 'Emily is a wolf' or 'Sandra left the milk' or both.,1,'Emily is a wolf' or 'Sandra left the milk' or both. It is probably the case that Mary went to the kitchen. It is highly likely that Sandra dropped the apple. We believe that Greg is a rhino. It is probable that if either 'Greg is a rhino' or 'Sandra dropped the apple' but not both then Julius is a swan. It is probably not the case that if 'Sandra dropped the apple' or 'Greg is a rhino' or both then Brian is gray. It is highly unlikely that if either 'Sandra dropped the apple' or 'Mary went to the kitchen' but not both then Daniel took the football.,It is impossible that 'Sandra dropped the apple' 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.9::factB. 0.75::factC. %hop1 0.7::factX:-xor(factC,factB). 0.25::factY:-or(factB,factC). 0.05::factZ:-xor(factB,factA). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.9750000000000001,0.3746749349869974,train,certain,impossible,It is certain that 'Sandra dropped the apple' or 'Greg is a rhino' or both.,It is impossible that 'Sandra dropped the apple' or 'Greg is a rhino' or both.,0,'Sandra dropped the apple' or 'Greg is a rhino' or both. We doubt that Daniel grabbed the milk. Chances are about even that Julius is a frog. There is a very good chance that Greg is yellow. It is improbable that if 'Daniel grabbed the milk' or 'Greg is yellow' or both then Mary dropped the apple. Chances are about even that if 'Daniel grabbed the milk and Greg is yellow' then Brian is a swan. It is unlikely that if 'Daniel grabbed the milk and Julius is a frog' then John took the football.,It is unlikely that either 'John took the football' 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.2::factA. 0.5::factB. 0.8::factC. %hop1 0.1::factX:-or(factA,factC). 0.5::factY:-and(factA,factC). 0.2::factZ:-and(factA,factB). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.18000000000000005,0.5689137827565514,train,unlikely,we believe,It is unlikely that either 'John took the football' or 'Daniel grabbed the milk' but not both.,We believe that either 'John took the football' or 'Daniel grabbed the milk' but not both.,1,Either 'John took the football' or 'Daniel grabbed the milk' but not both. It is almost certain that Mary got the football. It is unlikely that Brian is green. It is unlikely that John went to the garden. It is highly likely that if 'John went to the garden and Mary got the football' then Bernhard is a rhino. There is a better than even chance that if 'Mary got the football' or 'John went to the garden' or both then Julius is a swan. There is a better than even chance that if 'Mary got the football' or 'Brian is green' or both then Lily is a lion.,There is a very good chance that 'Julius 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.95::factA. 0.2::factB. 0.2::factC. %hop1 0.9::factX:-and(factC,factA). 0.6::factY:-or(factA,factC). 0.6::factZ:-or(factA,factB). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.80928,0.6313262652530506,train,very good chance,almost no chance,There is a very good chance that 'Julius is a swan' or 'Lily is a lion' or both.,There is almost no chance that 'Julius is a swan' or 'Lily is a lion' or both.,1,'Julius is a swan' or 'Lily is a lion' or both. It is probably the case that Bill moved to the office. It is probably the case that Julius is a rhino. It is highly likely that Bernhard is gray. It is likely that if either 'Bill moved to the office' or 'Bernhard is gray' but not both then Gertrude is a mouse. It is almost certain that if 'Bill moved to the office' or 'Bernhard is gray' or both then Mary dropped the milk. It is certain that if 'Bernhard is gray' or 'Bill moved to the office' or both then Brian is yellow.,It is improbable that 'Bernhard is gray and Mary 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.7::factA. 0.7::factB. 0.9::factC. %hop1 0.7::factX:-xor(factA,factC). 0.95::factY:-or(factA,factC). 1.0::factZ:-or(factC,factA). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.855,0.2012402480496099,train,highly likely,improbable,It is highly likely that 'Bernhard is gray and Mary dropped the milk'.,It is improbable that 'Bernhard is gray and Mary dropped the milk'.,0,'Bernhard is gray and Mary dropped the milk'. Chances are about even that Fred went to the garden. There is a better than even chance that Sandra dropped the milk. It is likely that Bernhard is gray. It is likely that if 'Sandra dropped the milk' or 'Fred went to the garden' or both then Mary took the football. It is improbable that if 'Fred went to the garden' or 'Sandra dropped the milk' or both then John moved to the office. It is likely that if 'Sandra dropped the milk and Bernhard is gray' then Julius is a frog.,Chances are about even that 'Fred went to the garden' 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.5::factA. 0.6::factB. 0.7::factC. %hop1 0.7::factX:-or(factB,factA). 0.1::factY:-or(factA,factB). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.53,0.33066613322664534,train,about even,impossible,Chances are about even that 'Fred went to the garden' or 'John moved to the office' or both.,It is impossible that 'Fred went to the garden' or 'John moved to the office' or both.,1,'Fred went to the garden' or 'John moved to the office' or both. We believe that Mary moved to the garden. There is a better than even chance that Sandra left the football. There is almost no chance that Julius is a swan. It is improbable that if 'Mary moved to the garden and Julius is a swan' then Lily is a frog. It is almost certain that if 'Julius is a swan' or 'Mary moved to the garden' or both then John went to the hallway. It is certain that if 'Sandra left the football and Mary moved to the garden' then Brian is white.,It is highly likely that 'Mary moved to the garden' or 'Sandra 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.75::factA. 0.6::factB. 0.02::factC. %hop1 0.1::factX:-and(factA,factC). 0.95::factY:-or(factC,factA). 1.0::factZ:-and(factB,factA). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.9,0.7063412682536507,train,highly likely,unlikely,It is highly likely that 'Mary moved to the garden' or 'Sandra left the football' or both.,It is unlikely that 'Mary moved to the garden' or 'Sandra left the football' or both.,1,'Mary moved to the garden' or 'Sandra left the football' or both. It is highly unlikely that Julius is a frog. It is probably the case that Jessica is a sheep. There is almost no chance that Mary picked up the apple. We believe that if 'Julius is a frog and Mary picked up the apple' then John moved to the office. It is almost certain that if 'Mary picked up the apple and Jessica is a sheep' then Bill went to the kitchen. There is almost no chance that if either 'Mary picked up the apple' or 'Jessica is a sheep' but not both then Bernhard is gray.,It is highly likely that 'Bill went to the kitchen 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.05::factA. 0.7::factB. 0.02::factC. %hop1 0.75::factX:-and(factA,factC). 0.95::factY:-and(factC,factB). 0.02::factZ:-xor(factC,factB). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.0004987500000000004,0.16423284656931386,train,impossible,highly likely,It is impossible that 'Bill went to the kitchen and John moved to the office'.,It is highly likely that 'Bill went to the kitchen and John moved to the office'.,0,'Bill went to the kitchen and John moved to the office'. It is impossible that John took the football. Chances are slight that Jessica is a sheep. It is impossible that Julius is a swan. Chances are about even that if 'Jessica is a sheep' or 'John took the football' or both then Bernhard is a lion. Chances are about even that if either 'John took the football' or 'Julius is a swan' but not both then Mary grabbed the milk. It is probable that if 'John took the football' or 'Jessica is a sheep' or both then Greg is a rhino.,It is highly unlikely that either 'Greg is a rhino' or 'Bernhard 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.0::factA. 0.1::factB. 0.0::factC. %hop1 0.5::factX:-or(factB,factA). 0.5::factY:-xor(factA,factC). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.05000000000000001,0.4442888577715543,train,highly unlikely,certain,It is highly unlikely that either 'Greg is a rhino' or 'Bernhard is a lion' but not both.,It is certain that either 'Greg is a rhino' or 'Bernhard is a lion' but not both.,1,Either 'Greg is a rhino' or 'Bernhard is a lion' but not both. It is probably the case that Greg is a frog. It is probably the case that Brian is a rhino. We believe that Jessica is a sheep. It is improbable that if either 'Greg is a frog' or 'Jessica is a sheep' but not both then John took the apple. Chances are slight that if 'Greg is a frog' or 'Jessica is a sheep' or both then Mary went to the bedroom. It is highly likely that if either 'Brian is a rhino' or 'Jessica is a sheep' but not both then Jason is tired.,It is probably not the case that either 'Jessica is a sheep' 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.7::factA. 0.7::factB. 0.75::factC. %hop1 0.1::factX:-xor(factA,factC). 0.1::factY:-or(factA,factC). 0.9::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.705,0.46849369873974794,train,probable,probably not,It is probable that either 'Jessica is a sheep' or 'Jason is tired' but not both.,It is probably not the case that either 'Jessica is a sheep' or 'Jason is tired' but not both.,0,Either 'Jessica is a sheep' or 'Jason is tired' but not both. Chances are slight that Greg is gray. We believe that John took the football. Chances are slight that Julius is a lion. It is probably the case that if either 'Julius is a lion' or 'John took the football' but not both then Sandra left the milk. It is improbable that if either 'Greg is gray' or 'Julius is a lion' but not both then Mary went to the hallway. It is certain that if 'Greg is gray and John took the football' then Jessica is a sheep.,Chances are about even that either 'Mary went to the hallway' or 'Sandra 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. 0.1::factC. %hop1 0.7::factX:-xor(factC,factB). 0.1::factY:-xor(factA,factC). 1.0::factZ:-and(factA,factB). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.49539999999999995,0.789757951590318,train,about even,certain,Chances are about even that either 'Mary went to the hallway' or 'Sandra left the milk' but not both.,It is certain that either 'Mary went to the hallway' or 'Sandra left the milk' but not both.,1,Either 'Mary went to the hallway' or 'Sandra left the milk' but not both. It is likely that Sandra got the football. It is certain that Bernhard is green. It is probable that Jeff moved to the garden. It is improbable that if 'Jeff moved to the garden and Sandra got the football' then Gertrude is a cat. It is impossible that if 'Sandra got the football and Jeff moved to the garden' then John dropped the apple. It is probable that if either 'Jeff moved to the garden' or 'Bernhard is green' but not both then Jason is bored.,We doubt that either 'John dropped the apple' 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.7::factA. 1.0::factB. 0.7::factC. %hop1 0.1::factX:-and(factC,factA). 0.0::factY:-and(factA,factC). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.7,0.5703140628125625,train,probable,we doubt,It is probable that either 'John dropped the apple' or 'Sandra got the football' but not both.,We doubt that either 'John dropped the apple' or 'Sandra got the football' but not both.,0,Either 'John dropped the apple' or 'Sandra got the football' but not both. It is highly unlikely that Daniel left the football. It is probable that Lily is a frog. It is almost certain that John grabbed the apple. Chances are slight that if 'Lily is a frog' or 'John grabbed the apple' or both then Mary went to the bedroom. Chances are slight that if 'Lily is a frog' or 'John grabbed the apple' or both then Julius is a rhino. It is probably not the case that if 'Daniel left the football' or 'John grabbed the apple' or both then Bernhard is gray.,It is probably the case that 'Julius is a rhino and John 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.05::factA. 0.7::factB. 0.95::factC. %hop1 0.1::factX:-or(factB,factC). 0.1::factY:-or(factB,factC). 0.25::factZ:-or(factA,factC). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.09500000000000001,0.6629325865173035,train,improbable,probably,It is improbable that 'Julius is a rhino and John grabbed the apple'.,It is probably the case that 'Julius is a rhino and John grabbed the apple'.,0,'Julius is a rhino and John grabbed the apple'. It is certain that Brian is a frog. It is probable that Fred dropped the milk. It is probably the case that Julius is green. It is almost certain that if 'Julius is green and Brian is a frog' then Mary got the apple. It is highly likely that if 'Fred dropped the milk and Julius is green' then Lily is white. Chances are slight that if either 'Brian is a frog' or 'Julius is green' but not both then Winona is a cat.,It is unlikely that 'Brian is a frog' 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 1.0::factA. 0.7::factB. 0.7::factC. %hop1 0.95::factX:-and(factC,factA). 0.9::factY:-and(factB,factC). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-or(factA,factY). query(conclusion). ",1.0,0.40088017603520704,train,certain,unlikely,It is certain that 'Brian is a frog' or 'Lily is white' or both.,It is unlikely that 'Brian is a frog' or 'Lily is white' or both.,0,'Brian is a frog' or 'Lily is white' or both. It is likely that Mary got the apple. It is highly unlikely that John moved to the office. It is highly likely that Sandra took the football. We believe that if either 'Mary got the apple' or 'John moved to the office' but not both then Lily is a rhino. There is a better than even chance that if 'Sandra took the football and Mary got the apple' then Julius is yellow. It is probable that if 'Sandra took the football and John moved to the office' then Brian is a frog.,It is probably the case that 'Mary got the apple' or 'Brian 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.7::factA. 0.05::factB. 0.9::factC. %hop1 0.75::factX:-xor(factA,factB). 0.6::factY:-and(factC,factA). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.7094499999999999,0.3540708141628326,train,probably,almost no chance,It is probably the case that 'Mary got the apple' or 'Brian is a frog' or both.,There is almost no chance that 'Mary got the apple' or 'Brian is a frog' or both.,1,'Mary got the apple' or 'Brian is a frog' or both. It is probable that Winona is a cat. There is little chance that John put down the milk. It is likely that Bernhard is yellow. Chances are about even that if either 'Bernhard is yellow' or 'Winona is a cat' but not both then Sandra got the football. It is almost certain that if 'Bernhard is yellow and John put down the milk' then Greg is gray. It is almost certain that if either 'John put down the milk' or 'Winona is a cat' but not both then Julius is a swan.,It is likely that 'Greg is gray' 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.7::factA. 0.1::factB. 0.7::factC. %hop1 0.5::factX:-xor(factC,factA). 0.95::factY:-and(factC,factB). 0.95::factZ:-xor(factB,factA). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.6745474999999999,0.5083016603320664,train,likely,impossible,It is likely that 'Greg is gray' or 'Julius is a swan' or both.,It is impossible that 'Greg is gray' or 'Julius is a swan' or both.,1,'Greg is gray' or 'Julius is a swan' or both. There is little chance that Daniel got the football. Chances are slight that Greg is yellow. We believe that Lily is a swan. There is a better than even chance that if 'Lily is a swan' or 'Greg is yellow' or both then Fred put down the apple. It is highly unlikely that if 'Lily is a swan and Greg is yellow' then Sandra left the milk. It is certain that if 'Lily is a swan and Greg is yellow' then John went to the office.,We doubt that either 'John went to the office' or 'Daniel 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.1::factA. 0.1::factB. 0.75::factC. %hop1 0.6::factX:-or(factC,factB). 0.05::factY:-and(factC,factB). 1.0::factZ:-and(factC,factB). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.16000000000000006,0.6511302260452091,train,we doubt,very good chance,We doubt that either 'John went to the office' or 'Daniel got the football' but not both.,There is a very good chance that either 'John went to the office' or 'Daniel got the football' but not both.,1,Either 'John went to the office' or 'Daniel got the football' but not both. There is almost no chance that Bernhard is yellow. It is probably not the case that Brian is a rhino. It is likely that Julius is a lion. It is likely that if either 'Brian is a rhino' or 'Bernhard is yellow' but not both then Fred left the football. Chances are slight that if 'Julius is a lion and Bernhard is yellow' then Lily is white. There is a very good chance that if 'Bernhard is yellow and Brian is a rhino' then John dropped the apple.,It is probably the case that 'Lily is white and Fred 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.02::factA. 0.25::factB. 0.7::factC. %hop1 0.7::factX:-xor(factB,factA). 0.1::factY:-and(factC,factA). 0.8::factZ:-and(factA,factB). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.0007350000000000002,0.45429085817163434,train,impossible,probably,It is impossible that 'Lily is white and Fred left the football'.,It is probably the case that 'Lily is white and Fred left the football'.,0,'Lily is white and Fred left the football'. It is improbable that Lily is yellow. There is almost no chance that Jessica is a mouse. It is probably the case that Greg is a rhino. It is almost certain that if 'Lily is yellow and Jessica is a mouse' then John dropped the apple. There is a better than even chance that if 'Jessica is a mouse' or 'Lily is yellow' or both then Brian is gray. Chances are slight that if 'Lily is yellow and Jessica is a mouse' then Mary moved to the garden.,It is probable that either 'Greg is a rhino' or 'Brian 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.02::factB. 0.7::factC. %hop1 0.95::factX:-and(factA,factB). 0.6::factY:-or(factB,factA). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.6716799999999999,0.11502300460092019,train,probable,we doubt,It is probable that either 'Greg is a rhino' or 'Brian is gray' but not both.,We doubt that either 'Greg is a rhino' or 'Brian is gray' but not both.,1,Either 'Greg is a rhino' or 'Brian is gray' but not both. Chances are about even that Emily is a sheep. It is highly likely that Jessica is a cat. There is a very good chance that Lily is green. It is improbable that if either 'Emily is a sheep' or 'Jessica is a cat' but not both then Greg is yellow. There is almost no chance that if 'Lily is green' or 'Jessica is a cat' or both then Sandra got the football. It is likely that if 'Jessica is a cat and Lily is green' then Brian is white.,Chances are about even that 'Lily is green and Emily 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.5::factA. 0.9::factB. 0.8::factC. %hop1 0.1::factX:-xor(factA,factB). 0.02::factY:-or(factC,factB). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.4,0.5257051410282056,train,about even,almost certain,Chances are about even that 'Lily is green and Emily is a sheep'.,It is almost certain that 'Lily is green and Emily is a sheep'.,1,'Lily is green and Emily is a sheep'. It is probable that John discarded the apple. It is unlikely that Bernhard is a frog. It is highly likely that Julius is green. It is certain that if either 'Julius is green' or 'John discarded the apple' but not both then Mary left the football. There is little chance that if 'Julius is green and John discarded the apple' then Emily is a sheep. It is highly unlikely that if either 'Julius is green' or 'Bernhard is a frog' but not both then Lily is a rhino.,It is likely that either 'Lily is a rhino' 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.7::factA. 0.2::factB. 0.9::factC. %hop1 1.0::factX:-xor(factC,factA). 0.1::factY:-and(factC,factA). 0.05::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.23500000000000004,0.7989597919583917,train,probably not,likely,It is probably not the case that either 'Lily is a rhino' or 'Bernhard is a frog' but not both.,It is likely that either 'Lily is a rhino' or 'Bernhard is a frog' but not both.,0,Either 'Lily is a rhino' or 'Bernhard is a frog' but not both. It is highly likely that Fred dropped the milk. We doubt that John left the football. It is likely that Greg is a rhino. There is a better than even chance that if either 'Fred dropped the milk' or 'John left the football' but not both then Sumit is thirsty. It is probable that if 'John left the football and Fred dropped the milk' then Lily is green. There is almost no chance that if 'John left the football and Greg is a rhino' then Bernhard is gray.,It is highly unlikely that 'Greg is a rhino' or 'John 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.9::factA. 0.2::factB. 0.7::factC. %hop1 0.6::factX:-xor(factA,factB). 0.7::factY:-and(factB,factA). 0.02::factZ:-and(factB,factC). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.7599999999999999,0.7551510302060412,train,we believe,highly unlikely,We believe that 'Greg is a rhino' or 'John left the football' or both.,It is highly unlikely that 'Greg is a rhino' or 'John left the football' or both.,0,'Greg is a rhino' or 'John left the football' or both. There is a very good chance that John went to the garden. It is highly unlikely that Sandra put down the milk. There is a better than even chance that Winona is a sheep. It is probably the case that if 'Winona is a sheep' or 'John went to the garden' or both then Bernhard is yellow. We believe that if 'John went to the garden and Sandra put down the milk' then Brian is a rhino. It is probably not the case that if 'Sandra put down the milk' or 'Winona is a sheep' or both then Greg is a frog.,It is highly unlikely that 'Sandra put down 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.8::factA. 0.05::factB. 0.6::factC. %hop1 0.7::factX:-or(factC,factA). 0.75::factY:-and(factA,factB). 0.25::factZ:-or(factB,factC). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.04000000000000001,0.3348669733946789,train,highly unlikely,highly likely,It is highly unlikely that 'Sandra put down the milk and John went to the garden'.,It is highly likely that 'Sandra put down the milk and John went to the garden'.,1,'Sandra put down the milk and John went to the garden'. Chances are slight that Mary went to the garden. Chances are about even that Julius is white. It is certain that Bernhard is gray. Chances are about even that if 'Bernhard is gray' or 'Julius is white' or both then Daniel got the milk. There is a very good chance that if 'Julius is white' or 'Mary went to the garden' or both then Lily is a swan. There is a better than even chance that if 'Julius is white' or 'Mary went to the garden' or both then John took the football.,Chances are about even that 'Daniel got the milk' 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.1::factA. 0.5::factB. 1.0::factC. %hop1 0.5::factX:-or(factC,factB). 0.8::factY:-or(factB,factA). 0.6::factZ:-or(factB,factA). %hop2 conclusion:-or(factX,factC). query(conclusion). ",1.0,0.3310662132426485,train,certain,about even,It is certain that 'Daniel got the milk' or 'Bernhard is gray' or both.,Chances are about even that 'Daniel got the milk' or 'Bernhard is gray' or both.,0,'Daniel got the milk' or 'Bernhard is gray' or both. We doubt that Greg is white. It is highly likely that Bernhard is a frog. There is little chance that John grabbed the apple. It is probably not the case that if 'Greg is white and Bernhard is a frog' then Bill went to the kitchen. There is little chance that if 'John grabbed the apple and Bernhard is a frog' then Jeff left the apple. We doubt that if either 'John grabbed the apple' or 'Bernhard is a frog' but not both then Daniel dropped the milk.,We believe that either 'Daniel dropped the milk' 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.9::factB. 0.1::factC. %hop1 0.25::factX:-and(factA,factB). 0.1::factY:-and(factC,factB). 0.2::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.74,0.08161632326465293,train,we believe,improbable,We believe that either 'Daniel dropped the milk' or 'Bernhard is a frog' but not both.,It is improbable that either 'Daniel dropped the milk' or 'Bernhard is a frog' but not both.,1,Either 'Daniel dropped the milk' or 'Bernhard is a frog' but not both. We believe that Julius is green. There is little chance that Lily is a rhino. It is highly likely that Jessica is a cat. There is almost no chance that if 'Julius is green and Lily is a rhino' then Bill went to the kitchen. It is unlikely that if 'Julius is green and Lily is a rhino' then Brian is white. It is highly likely that if 'Lily is a rhino' or 'Julius is green' or both then Mary got the milk.,It is unlikely that 'Jessica is a cat' 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.1::factB. 0.9::factC. %hop1 0.02::factX:-and(factA,factB). 0.2::factY:-and(factA,factB). 0.9::factZ:-or(factB,factA). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.96975,0.4946989397879576,train,almost certain,unlikely,It is almost certain that 'Jessica is a cat' or 'Mary got the milk' or both.,It is unlikely that 'Jessica is a cat' or 'Mary got the milk' or both.,0,'Jessica is a cat' or 'Mary got the milk' or both. Chances are slight that Mary dropped the milk. We doubt that Jessica is a cat. There is a very good chance that Julius is gray. It is unlikely that if 'Mary dropped the milk and Julius is gray' then Bernhard is yellow. We believe that if 'Julius is gray and Mary dropped the milk' then Brian is green. Chances are about even that if 'Mary dropped the milk and Julius is gray' then Sandra left the milk.,It is unlikely that either 'Mary 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.1::factA. 0.2::factB. 0.8::factC. %hop1 0.2::factX:-and(factA,factC). 0.75::factY:-and(factC,factA). 0.5::factZ:-and(factA,factC). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.74,0.24284856971394278,train,we believe,unlikely,We believe that either 'Mary dropped the milk' or 'Julius is gray' but not both.,It is unlikely that either 'Mary dropped the milk' or 'Julius is gray' but not both.,0,Either 'Mary dropped the milk' or 'Julius is gray' but not both. It is improbable that John dropped the apple. There is little chance that Lily is yellow. It is almost certain that Mary went to the office. It is improbable that if 'John dropped the apple' or 'Lily is yellow' or both then Julius is gray. There is a better than even chance that if either 'Mary went to the office' or 'John dropped the apple' but not both then Winona is a sheep. We doubt that if 'John dropped the apple' or 'Lily is yellow' or both then Brian is a rhino.,It is highly likely that 'Lily is yellow' or 'John 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.1::factB. 0.95::factC. %hop1 0.1::factX:-or(factA,factB). 0.6::factY:-xor(factC,factA). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.19000000000000006,0.7941588317663533,train,unlikely,highly likely,It is unlikely that 'Lily is yellow' or 'John dropped the apple' or both.,It is highly likely that 'Lily is yellow' or 'John dropped the apple' or both.,0,'Lily is yellow' or 'John dropped the apple' or both. It is impossible that Daniel put down the milk. It is certain that Jessica is a cat. It is probable that Lily is a swan. It is probably not the case that if 'Daniel put down the milk' or 'Jessica is a cat' or both then Antoine is thirsty. Chances are slight that if either 'Lily is a swan' or 'Jessica is a cat' but not both then Bernhard is gray. Chances are about even that if either 'Jessica is a cat' or 'Daniel put down the milk' but not both then Mary moved to the garden.,It is almost certain that 'Bernhard is gray 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.0::factA. 1.0::factB. 0.7::factC. %hop1 0.25::factX:-or(factA,factB). 0.1::factY:-xor(factC,factB). 0.5::factZ:-xor(factB,factA). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.01500000000000001,0.013202640528105622,train,almost no chance,almost certain,There is almost no chance that 'Bernhard is gray and Mary moved to the garden'.,It is almost certain that 'Bernhard is gray and Mary moved to the garden'.,0,'Bernhard is gray and Mary moved to the garden'. It is impossible that John put down the apple. It is certain that Brian is a swan. It is certain that Gertrude is a mouse. There is a better than even chance that if 'Brian is a swan' or 'Gertrude is a mouse' or both then Bernhard is a frog. Chances are about even that if 'Brian is a swan' or 'John put down the apple' or both then Julius is a lion. We believe that if either 'Brian is a swan' or 'Gertrude is a mouse' but not both then Greg is a rhino.,It is impossible that 'John put down the apple 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.0::factA. 1.0::factB. 1.0::factC. %hop1 0.6::factX:-or(factB,factC). 0.5::factY:-or(factB,factA). 0.75::factZ:-xor(factB,factC). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.0,0.44588917783556714,train,impossible,almost certain,It is impossible that 'John put down the apple and Greg is a rhino'.,It is almost certain that 'John put down the apple and Greg is a rhino'.,1,'John put down the apple and Greg is a rhino'. It is almost certain that Greg is a lion. It is probably not the case that Fred went to the office. We doubt that Bernhard is gray. There is little chance that if 'Greg is a lion and Fred went to the office' then Antoine is bored. It is probably not the case that if either 'Greg is a lion' or 'Fred went to the office' but not both then Gertrude is a mouse. There is a very good chance that if 'Greg is a lion and Bernhard is gray' then Daniel dropped the apple.,It is highly likely that either 'Bernhard is gray' or 'Antoine is bored' 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.2::factC. %hop1 0.1::factX:-and(factA,factB). 0.25::factY:-xor(factA,factB). 0.8::factZ:-and(factA,factC). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.21425,0.7281456291258251,train,we doubt,highly likely,We doubt that either 'Bernhard is gray' or 'Antoine is bored' but not both.,It is highly likely that either 'Bernhard is gray' or 'Antoine is bored' but not both.,0,Either 'Bernhard is gray' or 'Antoine is bored' but not both. Chances are slight that Greg is gray. We doubt that Brian is a swan. We believe that Daniel dropped the milk. It is almost certain that if 'Brian is a swan' or 'Daniel dropped the milk' or both then Sumit is thirsty. It is highly likely that if 'Greg is gray and Brian is a swan' then Gertrude is a sheep. There is little chance that if 'Greg is gray' or 'Daniel dropped the milk' or both then John went to the office.,It is likely that 'Daniel dropped the milk 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.75::factC. %hop1 0.95::factX:-or(factB,factC). 0.9::factY:-and(factA,factB). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.7125,0.011002200440088018,train,likely,highly unlikely,It is likely that 'Daniel dropped the milk and Sumit is thirsty'.,It is highly unlikely that 'Daniel dropped the milk and Sumit is thirsty'.,1,'Daniel dropped the milk and Sumit is thirsty'. It is improbable that Sandra got the football. We doubt that Yann is bored. It is improbable that Mary went to the office. We believe that if either 'Yann is bored' or 'Mary went to the office' but not both then Bernhard is white. It is impossible that if either 'Sandra got the football' or 'Mary went to the office' but not both then Lily is white. There is almost no chance that if 'Mary went to the office' or 'Yann is bored' or both then Greg is a swan.,We doubt that either 'Bernhard is white' 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.1::factA. 0.2::factB. 0.1::factC. %hop1 0.75::factX:-xor(factB,factC). 0.0::factY:-xor(factA,factC). 0.02::factZ:-or(factC,factB). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.175,0.3164632926585317,train,we doubt,certain,We doubt that either 'Bernhard is white' or 'Mary went to the office' but not both.,It is certain that either 'Bernhard is white' or 'Mary went to the office' but not both.,1,Either 'Bernhard is white' or 'Mary went to the office' but not both. It is probable that Greg is yellow. It is probably not the case that Lily is a rhino. There is almost no chance that John went to the bedroom. It is unlikely that if 'Greg is yellow and Lily is a rhino' then Daniel put down the milk. There is almost no chance that if 'Greg is yellow and Lily is a rhino' then Brian is a frog. Chances are slight that if 'John went to the bedroom' or 'Lily is a rhino' or both then Mary left the football.,It is impossible 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.25::factB. 0.02::factC. %hop1 0.2::factX:-and(factA,factB). 0.02::factY:-and(factA,factB). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.003500000000000001,0.17183436687337467,train,impossible,almost certain,It is impossible that 'Brian is a frog and Lily is a rhino'.,It is almost certain that 'Brian is a frog and Lily is a rhino'.,1,'Brian is a frog and Lily is a rhino'. It is likely that Bernhard is yellow. We doubt that John went to the bedroom. It is improbable that Greg is a rhino. It is certain that if either 'John went to the bedroom' or 'Bernhard is yellow' but not both then Mary moved to the office. There is almost no chance that if 'Bernhard is yellow and Greg is a rhino' then Sandra got the football. It is likely that if 'John went to the bedroom and Greg is a rhino' then Brian is a frog.,We believe that 'Greg is a rhino' or 'Bernhard 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.7::factA. 0.2::factB. 0.1::factC. %hop1 1.0::factX:-xor(factB,factA). 0.02::factY:-and(factA,factC). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.73,0.7229445889177836,train,we believe,chances are slight,We believe that 'Greg is a rhino' or 'Bernhard is yellow' or both.,Chances are slight that 'Greg is a rhino' or 'Bernhard is yellow' or both.,1,'Greg is a rhino' or 'Bernhard is yellow' or both. It is probably not the case that Julius is a swan. It is improbable that John went to the kitchen. It is highly unlikely that Bill moved to the office. It is impossible that if either 'John went to the kitchen' or 'Julius is a swan' but not both then Gertrude is a cat. There is a very good chance that if 'John went to the kitchen' or 'Bill moved to the office' or both then Mary picked up the milk. It is highly unlikely that if 'Julius is a swan' or 'John went to the kitchen' or both then Lily is yellow.,It is almost certain that either 'Mary picked up the milk' 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.05::factC. %hop1 0.0::factX:-xor(factB,factA). 0.8::factY:-or(factB,factC). 0.05::factZ:-or(factA,factB). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.08600000000000002,0.7509501900380076,train,little chance,almost certain,There is little chance that either 'Mary picked up the milk' or 'Bill moved to the office' but not both.,It is almost certain that either 'Mary picked up the milk' or 'Bill moved to the office' but not both.,0,Either 'Mary picked up the milk' or 'Bill moved to the office' but not both. We doubt that Julius is white. There is little chance that John dropped the apple. It is unlikely that Mary went to the bedroom. It is probably the case that if 'Julius is white and Mary went to the bedroom' then Sandra got the milk. There is a very good chance that if 'John dropped the apple' or 'Mary went to the bedroom' or both then Jessica is a mouse. It is impossible that if either 'John dropped the apple' or 'Mary went to the bedroom' but not both then Bernhard is white.,We believe that either 'Sandra got 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 0.2::factA. 0.1::factB. 0.2::factC. %hop1 0.7::factX:-and(factA,factC). 0.8::factY:-or(factB,factC). 0.0::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.20720000000000002,0.1840368073614723,train,unlikely,we believe,It is unlikely that either 'Sandra got the milk' or 'Jessica is a mouse' but not both.,We believe that either 'Sandra got the milk' or 'Jessica is a mouse' but not both.,0,Either 'Sandra got the milk' or 'Jessica is a mouse' but not both. Chances are slight that Lily is green. We doubt that Mary is in the school. It is probably the case that Brian is a frog. We doubt that if 'Brian is a frog' or 'Lily is green' or both then Julius is white. It is highly unlikely that if either 'Brian is a frog' or 'Mary is in the school' but not both then Greg is a swan. We doubt that if 'Lily is green and Mary is in the school' then Jeff left the apple.,Chances are about even that 'Mary is in the school 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.1::factA. 0.2::factB. 0.7::factC. %hop1 0.2::factX:-or(factC,factA). 0.05::factY:-xor(factC,factB). 0.2::factZ:-and(factA,factB). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.0292,0.31066213242648527,train,almost no chance,about even,There is almost no chance that 'Mary is in the school and Julius is white'.,Chances are about even that 'Mary is in the school and Julius is white'.,0,'Mary is in the school and Julius is white'. There is a very good chance that John dropped the apple. It is probably the case that Jessica is a mouse. It is unlikely that Brian is white. Chances are about even that if 'Jessica is a mouse and Brian is white' then Bernhard is a swan. It is probably the case that if 'John dropped the apple and Jessica is a mouse' then Lily is green. Chances are slight that if 'Brian is white and John dropped the apple' then Antoine is thirsty.,We believe that 'Jessica is a mouse' 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.8::factA. 0.7::factB. 0.2::factC. %hop1 0.5::factX:-and(factB,factC). 0.7::factY:-and(factA,factB). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.7599999999999999,0.34366873374674933,train,we believe,impossible,We believe that 'Jessica is a mouse' or 'Brian is white' or both.,It is impossible that 'Jessica is a mouse' or 'Brian is white' or both.,1,'Jessica is a mouse' or 'Brian is white' or both. It is likely that Daniel put down the milk. It is probable that Greg is yellow. It is probably the case that Bernhard is a frog. It is certain that if 'Greg is yellow and Bernhard is a frog' then Jason is tired. We believe that if either 'Bernhard is a frog' or 'Greg is yellow' but not both then Julius is white. It is certain that if either 'Daniel put down the milk' or 'Bernhard is a frog' but not both then Bill moved to the office.,Chances are about even that 'Daniel put down the milk 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.7::factB. 0.7::factC. %hop1 1.0::factX:-and(factB,factC). 0.75::factY:-xor(factC,factB). 1.0::factZ:-xor(factA,factC). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.48999999999999994,0.6857371474294859,train,about even,certain,Chances are about even that 'Daniel put down the milk and Greg is yellow'.,It is certain that 'Daniel put down the milk and Greg is yellow'.,1,'Daniel put down the milk and Greg is yellow'. It is probably not the case that Jessica is a mouse. It is unlikely that John picked up the apple. There is a better than even chance that Bernhard is a rhino. We doubt that if 'Bernhard is a rhino' or 'John picked up the apple' or both then Gertrude is a sheep. It is likely that if 'Bernhard is a rhino' or 'Jessica is a mouse' or both then Mary dropped the milk. It is probably not the case that if 'Jessica is a mouse and Bernhard is a rhino' then Julius is gray.,There is a better than even chance that 'Julius is gray 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.25::factA. 0.2::factB. 0.6::factC. %hop1 0.2::factX:-or(factC,factB). 0.7::factY:-or(factC,factA). 0.25::factZ:-and(factA,factC). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.03749999999999999,0.4222844568913783,train,highly unlikely,better than even,It is highly unlikely that 'Julius is gray and Bernhard is a rhino'.,There is a better than even chance that 'Julius is gray and Bernhard is a rhino'.,0,'Julius is gray and Bernhard is a rhino'. There is little chance that Fred moved to the office. It is highly likely that Mary left the milk. Chances are slight that Brian is a frog. Chances are about even that if 'Fred moved to the office' or 'Brian is a frog' or both then Julius is a swan. We believe that if 'Mary left the milk' or 'Fred moved to the office' or both then John went to the hallway. It is probably not the case that if 'Brian is a frog and Mary left the milk' then Greg is yellow.,It is highly likely that 'Greg is yellow' 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.1::factA. 0.9::factB. 0.1::factC. %hop1 0.5::factX:-or(factA,factC). 0.75::factY:-or(factB,factA). 0.25::factZ:-and(factC,factB). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.9,0.22424484896979396,train,highly likely,unlikely,It is highly likely that 'Greg is yellow' or 'Mary left the milk' or both.,It is unlikely that 'Greg is yellow' or 'Mary left the milk' or both.,1,'Greg is yellow' or 'Mary left the milk' or both. It is improbable that Lily is yellow. We doubt that Daniel left the milk. It is almost certain that Julius is gray. There is almost no chance that if either 'Julius is gray' or 'Lily is yellow' but not both then Greg is yellow. There is little chance that if 'Daniel left the milk and Julius is gray' then John grabbed the apple. There is almost no chance that if 'Lily is yellow' or 'Daniel left the milk' or both then Bill went to the garden.,It is impossible that 'Greg is yellow 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.1::factA. 0.2::factB. 0.95::factC. %hop1 0.02::factX:-xor(factC,factA). 0.1::factY:-and(factB,factC). 0.02::factZ:-or(factA,factB). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.00010000000000000009,0.29525905181036205,train,impossible,highly likely,It is impossible that 'Greg is yellow and Lily is yellow'.,It is highly likely that 'Greg is yellow and Lily is yellow'.,1,'Greg is yellow and Lily is yellow'. It is certain that Julius is a frog. It is probably not the case that Mary is in the bathroom. It is almost certain that Sumit is bored. It is impossible that if 'Julius is a frog and Sumit is bored' then Brian is a swan. There is a very good chance that if 'Mary is in the bathroom' or 'Julius is a frog' or both then Jessica is a sheep. We doubt that if 'Julius is a frog' or 'Mary is in the bathroom' or both then John moved to the garden.,It is impossible that 'Jessica is a sheep' 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 1.0::factA. 0.25::factB. 0.95::factC. %hop1 0.0::factX:-and(factA,factC). 0.8::factY:-or(factB,factA). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-or(factY,factA). query(conclusion). ",1.0,0.22924584916983395,train,certain,impossible,It is certain that 'Jessica is a sheep' or 'Julius is a frog' or both.,It is impossible that 'Jessica is a sheep' or 'Julius is a frog' or both.,0,'Jessica is a sheep' or 'Julius is a frog' or both. There is little chance that Brian is white. It is probably the case that John dropped the milk. It is probably not the case that Mary went to the kitchen. There is a very good chance that if 'Mary went to the kitchen and Brian is white' then Lily is a lion. It is certain that if either 'John dropped the milk' or 'Brian is white' but not both then Bernhard is yellow. There is a better than even chance that if 'Brian is white and John dropped the milk' then Sumit is thirsty.,It is highly unlikely that 'Lily is a lion' or 'John 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.1::factA. 0.7::factB. 0.25::factC. %hop1 0.8::factX:-and(factC,factA). 1.0::factY:-xor(factB,factA). 0.6::factZ:-and(factA,factB). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.706,0.4822964592918584,train,probable,highly unlikely,It is probable that 'Lily is a lion' or 'John dropped the milk' or both.,It is highly unlikely that 'Lily is a lion' or 'John dropped the milk' or both.,0,'Lily is a lion' or 'John dropped the milk' or both. Chances are about even that Bernhard is a rhino. It is probably not the case that Julius is gray. There is a very good chance that John got the milk. There is little chance that if 'Bernhard is a rhino and Julius is gray' then Sandra left the milk. Chances are about even that if either 'Bernhard is a rhino' or 'Julius is gray' but not both then Jessica is a cat. There is little chance that if 'Bernhard is a rhino' or 'John got the milk' or both then Lily is a lion.,It is impossible that 'Lily is a lion 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.5::factA. 0.25::factB. 0.8::factC. %hop1 0.1::factX:-and(factA,factB). 0.5::factY:-xor(factA,factB). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.0012500000000000013,0.3256651330266053,train,impossible,probably,It is impossible that 'Lily is a lion and Sandra left the milk'.,It is probably the case that 'Lily is a lion and Sandra left the milk'.,1,'Lily is a lion and Sandra left the milk'. It is improbable that John moved to the office. Chances are about even that Sandra left the milk. We doubt that Bernhard is a rhino. It is impossible that if 'Bernhard is a rhino' or 'John moved to the office' or both then Greg is a frog. It is highly likely that if either 'John moved to the office' or 'Bernhard is a rhino' but not both then Daniel got the apple. It is unlikely that if either 'Sandra left the milk' or 'Bernhard is a rhino' but not both then Lily is a swan.,It is likely that 'Lily is a swan' 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.1::factA. 0.5::factB. 0.2::factC. %hop1 0.0::factX:-or(factC,factA). 0.9::factY:-xor(factA,factC). 0.2::factZ:-xor(factB,factC). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.09999999999999998,0.5577115423084616,train,chances are slight,likely,Chances are slight that 'Lily is a swan' or 'Greg is a frog' or both.,It is likely that 'Lily is a swan' or 'Greg is a frog' or both.,0,'Lily is a swan' or 'Greg is a frog' or both. It is highly unlikely that John moved to the office. We believe that Bernhard is gray. It is improbable that Daniel dropped the apple. It is probably not the case that if 'John moved to the office' or 'Daniel dropped the apple' or both then Mary is in the hallway. There is little chance that if 'Daniel dropped the apple' or 'Bernhard is gray' or both then Lily is a swan. It is unlikely that if 'John moved to the office' or 'Bernhard is gray' or both then Brian is a rhino.,We believe that either 'Mary is in the hallway' 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.05::factA. 0.75::factB. 0.1::factC. %hop1 0.25::factX:-or(factA,factC). 0.1::factY:-or(factC,factB). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.731875,0.0640128025605121,train,we believe,we doubt,We believe that either 'Mary is in the hallway' or 'Bernhard is gray' but not both.,We doubt that either 'Mary is in the hallway' or 'Bernhard is gray' but not both.,1,Either 'Mary is in the hallway' or 'Bernhard is gray' but not both. Chances are about even that Bernhard is gray. It is unlikely that Greg is a rhino. We believe that Mary went to the office. It is probably the case that if 'Bernhard is gray and Mary went to the office' then Brian is yellow. There is almost no chance that if 'Greg is a rhino and Mary went to the office' then Gertrude is a sheep. It is improbable that if 'Greg is a rhino' or 'Bernhard is gray' or both then Daniel put down the milk.,Chances are about even that 'Bernhard is gray' 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 0.5::factA. 0.2::factB. 0.75::factC. %hop1 0.7::factX:-and(factA,factC). 0.02::factY:-and(factB,factC). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.5015000000000001,0.7903580716143229,train,about even,almost certain,Chances are about even that 'Bernhard is gray' or 'Gertrude is a sheep' or both.,It is almost certain that 'Bernhard is gray' or 'Gertrude is a sheep' or both.,1,'Bernhard is gray' or 'Gertrude is a sheep' or both. It is highly unlikely that Julius is a frog. There is almost no chance that Gertrude is a sheep. There is little chance that Sumit is hungry. It is highly unlikely that if either 'Julius is a frog' or 'Gertrude is a sheep' but not both then Lily is white. There is a better than even chance that if 'Julius is a frog' or 'Gertrude is a sheep' or both then John moved to the garden. There is almost no chance that if 'Julius is a frog' or 'Gertrude is a sheep' or both then Greg is gray.,It is probably the case that either 'Gertrude is a sheep' or 'Sumit is hungry' 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.02::factB. 0.1::factC. %hop1 0.05::factX:-xor(factA,factB). 0.6::factY:-or(factA,factB). 0.02::factZ:-or(factA,factB). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.116,0.356871374274855,train,chances are slight,probably,Chances are slight that either 'Gertrude is a sheep' or 'Sumit is hungry' but not both.,It is probably the case that either 'Gertrude is a sheep' or 'Sumit is hungry' but not both.,0,Either 'Gertrude is a sheep' or 'Sumit is hungry' but not both. It is likely that Mary took the football. We believe that Greg is gray. We believe that Bernhard is white. It is almost certain that if either 'Mary took the football' or 'Bernhard is white' but not both then Brian is a lion. It is probably the case that if 'Mary took the football' or 'Bernhard is white' or both then Jessica is a cat. There is a very good chance that if 'Mary took the football and Greg is gray' then John put down the milk.,Chances are about even that 'Mary took the football 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.7::factA. 0.75::factB. 0.75::factC. %hop1 0.95::factX:-xor(factA,factC). 0.7::factY:-or(factA,factC). 0.8::factZ:-and(factA,factB). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.48999999999999994,0.5219043808761752,train,about even,impossible,Chances are about even that 'Mary took the football and Jessica is a cat'.,It is impossible that 'Mary took the football and Jessica is a cat'.,1,'Mary took the football and Jessica is a cat'. It is highly unlikely that John discarded the milk. There is a better than even chance that Fred is in the cinema. It is probably not the case that Julius is gray. Chances are about even that if 'Fred is in the cinema and Julius is gray' then Mary put down the milk. It is improbable that if 'Julius is gray and Fred is in the cinema' then Bernhard is white. It is probably the case that if either 'John discarded the milk' or 'Julius is gray' but not both then Lily is a swan.,It is likely that 'John discarded the milk 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.05::factA. 0.6::factB. 0.25::factC. %hop1 0.5::factX:-and(factB,factC). 0.1::factY:-and(factC,factB). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.026250000000000006,0.6529305861172234,train,almost no chance,likely,There is almost no chance that 'John discarded the milk and Lily is a swan'.,It is likely that 'John discarded the milk and Lily is a swan'.,0,'John discarded the milk and Lily is a swan'. It is probable that Bernhard is a frog. It is impossible that Sandra left the milk. There is a better than even chance that Julius is yellow. It is certain that if either 'Bernhard is a frog' or 'Sandra left the milk' but not both then Brian is a rhino. It is probable that if 'Bernhard is a frog' or 'Julius is yellow' or both then Lily is a lion. It is probably not the case that if 'Bernhard is a frog and Sandra left the milk' then John dropped the apple.,It is probably not the case that either 'Lily is a lion' 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.7::factA. 0.0::factB. 0.6::factC. %hop1 1.0::factX:-xor(factA,factB). 0.7::factY:-or(factA,factC). 0.25::factZ:-and(factA,factB). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.3360000000000001,0.5953190638127626,train,probably not,almost certain,It is probably not the case that either 'Lily is a lion' or 'Bernhard is a frog' but not both.,It is almost certain that either 'Lily is a lion' or 'Bernhard is a frog' but not both.,1,Either 'Lily is a lion' or 'Bernhard is a frog' but not both. It is almost certain that Fred moved to the office. It is probably the case that Lily is a swan. It is unlikely that John took the milk. There is a better than even chance that if either 'Fred moved to the office' or 'Lily is a swan' but not both then Brian is a rhino. There is a very good chance that if either 'John took the milk' or 'Lily is a swan' but not both then Mary dropped the apple. It is highly likely that if either 'Fred moved to the office' or 'John took the milk' but not both then Greg is yellow.,It is unlikely that either 'Fred moved to the office' or 'John 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.95::factA. 0.7::factB. 0.2::factC. %hop1 0.6::factX:-xor(factA,factB). 0.8::factY:-xor(factC,factB). 0.9::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.77,0.6525305061012202,train,we believe,unlikely,We believe that either 'Fred moved to the office' or 'John took the milk' but not both.,It is unlikely that either 'Fred moved to the office' or 'John took the milk' but not both.,0,Either 'Fred moved to the office' or 'John took the milk' but not both. It is improbable that Lily is a frog. It is almost certain that Julius is a frog. We believe that Bernhard is yellow. There is almost no chance that if 'Bernhard is yellow' or 'Julius is a frog' or both then Daniel took the football. It is probably the case that if 'Lily is a frog' or 'Julius is a frog' or both then John went to the kitchen. Chances are slight that if 'Lily is a frog' or 'Bernhard is yellow' or both then Greg is green.,It is highly likely that either 'Julius is a frog' 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.1::factA. 0.95::factB. 0.75::factC. %hop1 0.02::factX:-or(factC,factB). 0.7::factY:-or(factA,factB). 0.1::factZ:-or(factA,factC). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.86,0.6895379075815163,train,highly likely,impossible,It is highly likely that either 'Julius is a frog' or 'Lily is a frog' but not both.,It is impossible that either 'Julius is a frog' or 'Lily is a frog' but not both.,1,Either 'Julius is a frog' or 'Lily is a frog' but not both. It is certain that Mary moved to the garden. It is probable that John got the milk. Chances are slight that Greg is white. It is highly likely that if either 'Mary moved to the garden' or 'John got the milk' but not both then Julius is a swan. It is highly unlikely that if either 'Greg is white' or 'Mary moved to the garden' but not both then Sandra left the milk. We doubt that if 'Greg is white' or 'John got the milk' or both then Bernhard is a swan.,It is probable that 'John got the milk' 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 1.0::factA. 0.7::factB. 0.1::factC. %hop1 0.9::factX:-xor(factA,factB). 0.05::factY:-xor(factC,factA). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.706,0.6113222644528906,train,probable,little chance,It is probable that 'John got the milk' or 'Bernhard is a swan' or both.,There is little chance that 'John got the milk' or 'Bernhard is a swan' or both.,1,'John got the milk' or 'Bernhard is a swan' or both. It is impossible that Yann is tired. Chances are slight that Fred is in the office. We believe that John put down the apple. It is highly unlikely that if 'John put down the apple' or 'Fred is in the office' or both then Emily is a mouse. There is almost no chance that if 'John put down the apple' or 'Yann is tired' or both then Mary went to the garden. It is probably not the case that if 'John put down the apple and Fred is in the office' then Julius is a swan.,Chances are about even that 'Julius is a swan and Fred is in 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.0::factA. 0.1::factB. 0.75::factC. %hop1 0.05::factX:-or(factC,factB). 0.02::factY:-or(factC,factA). 0.25::factZ:-and(factC,factB). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.018750000000000013,0.4158831766353271,train,almost no chance,about even,There is almost no chance that 'Julius is a swan and Fred is in the office'.,Chances are about even that 'Julius is a swan and Fred is in the office'.,0,'Julius is a swan and Fred is in the office'. It is improbable that Mary dropped the milk. It is improbable that Brian is a lion. There is a better than even chance that Bernhard is green. It is unlikely that if 'Bernhard is green and Brian is a lion' then John put down the apple. It is highly likely that if either 'Brian is a lion' or 'Mary dropped the milk' but not both then Julius is yellow. It is improbable that if 'Bernhard is green and Mary dropped the milk' then Lily is a swan.,Chances are about even that 'John put down the apple' 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.1::factB. 0.6::factC. %hop1 0.2::factX:-and(factC,factB). 0.9::factY:-xor(factB,factA). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.017880000000000007,0.6419283856771354,train,almost no chance,about even,There is almost no chance that 'John put down the apple' or 'Lily is a swan' or both.,Chances are about even that 'John put down the apple' or 'Lily is a swan' or both.,0,'John put down the apple' or 'Lily is a swan' or both. Chances are about even that Greg is a frog. It is highly unlikely that Sandra left the milk. It is likely that Lily is a frog. It is certain that if 'Sandra left the milk' or 'Greg is a frog' or both then Yann is hungry. We believe that if either 'Sandra left the milk' or 'Lily is a frog' but not both then Brian is white. It is almost certain that if either 'Lily is a frog' or 'Greg is a frog' but not both then Mary grabbed the milk.,We doubt that 'Greg is a frog' or 'Mary grabbed 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.05::factB. 0.7::factC. %hop1 1.0::factX:-or(factB,factA). 0.75::factY:-xor(factB,factC). 0.95::factZ:-xor(factC,factA). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.8324999999999999,0.07061412282456492,train,very good chance,we doubt,There is a very good chance that 'Greg is a frog' or 'Mary grabbed the milk' or both.,We doubt that 'Greg is a frog' or 'Mary grabbed the milk' or both.,0,'Greg is a frog' or 'Mary grabbed the milk' or both. It is almost certain that Julius is white. It is likely that Brian is gray. There is little chance that Mary took the football. There is little chance that if 'Mary took the football' or 'Brian is gray' or both then Bill left the milk. It is improbable that if either 'Brian is gray' or 'Julius is white' but not both then Jeff discarded the milk. It is unlikely that if 'Brian is gray' or 'Mary took the football' or both then Bernhard is green.,It is almost certain that 'Jeff discarded the milk' 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.95::factA. 0.7::factB. 0.1::factC. %hop1 0.1::factX:-or(factC,factB). 0.1::factY:-xor(factB,factA). 0.2::factZ:-or(factB,factC). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.10436500000000007,0.042008401680336066,train,chances are slight,almost certain,Chances are slight that 'Jeff discarded the milk' or 'Bill left the milk' or both.,It is almost certain that 'Jeff discarded the milk' or 'Bill left the milk' or both.,0,'Jeff discarded the milk' or 'Bill left the milk' or both. It is certain that John discarded the apple. We believe that Mary grabbed the milk. We believe that Julius is a lion. There is little chance that if 'Mary grabbed the milk and John discarded the apple' then Brian is white. There is little chance that if 'John discarded the apple' or 'Julius is a lion' or both then Sandra left the football. It is unlikely that if either 'John discarded the apple' or 'Mary grabbed the milk' but not both then Lily is a swan.,It is probably not the case that either 'Julius is a lion' 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 1.0::factA. 0.75::factB. 0.75::factC. %hop1 0.1::factX:-and(factB,factA). 0.1::factY:-or(factA,factC). 0.2::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.25,0.5751150230046009,train,probably not,certain,It is probably not the case that either 'Julius is a lion' or 'John discarded the apple' but not both.,It is certain that either 'Julius is a lion' or 'John discarded the apple' but not both.,1,Either 'Julius is a lion' or 'John discarded the apple' but not both. It is highly likely that Greg is a rhino. It is probable that John went to the hallway. It is unlikely that Daniel took the milk. It is impossible that if either 'Daniel took the milk' or 'Greg is a rhino' but not both then Emily is a wolf. Chances are about even that if 'Greg is a rhino' or 'John went to the hallway' or both then Brian is a lion. It is impossible that if 'John went to the hallway' or 'Greg is a rhino' or both then Bernhard is a swan.,It is impossible that 'Greg is a rhino 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.9::factA. 0.7::factB. 0.2::factC. %hop1 0.0::factX:-xor(factC,factA). 0.5::factY:-or(factA,factB). 0.0::factZ:-or(factB,factA). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.0,0.43248649729945987,train,impossible,almost certain,It is impossible that 'Greg is a rhino and Emily is a wolf'.,It is almost certain that 'Greg is a rhino and Emily is a wolf'.,1,'Greg is a rhino and Emily is a wolf'. It is impossible that John picked up the apple. There is a better than even chance that Greg is a lion. It is highly unlikely that Brian is yellow. It is improbable that if 'Brian is yellow and John picked up the apple' then Lily is a rhino. We doubt that if 'John picked up the apple and Brian is yellow' then Bernhard is a frog. It is unlikely that if 'Greg is a lion and Brian is yellow' then Fred went to the office.,It is impossible that 'Brian is yellow 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.0::factA. 0.6::factB. 0.05::factC. %hop1 0.1::factX:-and(factC,factA). 0.2::factY:-and(factA,factC). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.0,0.7745549109821964,train,impossible,highly likely,It is impossible that 'Brian is yellow and Bernhard is a frog'.,It is highly likely that 'Brian is yellow and Bernhard is a frog'.,1,'Brian is yellow and Bernhard is a frog'. It is probable that Mary went to the bedroom. There is almost no chance that Greg is yellow. Chances are about even that Julius is white. We believe that if 'Mary went to the bedroom and Julius is white' then Bernhard is a frog. There is a very good chance that if 'Julius is white' or 'Mary went to the bedroom' or both then Lily is a swan. It is likely that if 'Greg is yellow and Julius is white' then John got the milk.,Chances are slight that either 'Greg is yellow' 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.7::factA. 0.02::factB. 0.5::factC. %hop1 0.75::factX:-and(factA,factC). 0.8::factY:-or(factC,factA). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.6728,0.08581716343268654,train,probably,chances are slight,It is probably the case that either 'Greg is yellow' or 'Lily is a swan' but not both.,Chances are slight that either 'Greg is yellow' or 'Lily is a swan' but not both.,0,Either 'Greg is yellow' or 'Lily is a swan' but not both. It is probably the case that Greg is gray. We doubt that Mary got the football. Chances are about even that Lily is a rhino. We believe that if 'Lily is a rhino and Mary got the football' then Sandra grabbed the apple. There is little chance that if 'Greg is gray' or 'Mary got the football' or both then Jason is tired. It is highly likely that if 'Lily is a rhino and Mary got the football' then John left the milk.,Chances are slight that either 'Jason is tired' or 'Sandra grabbed 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.5::factC. %hop1 0.75::factX:-and(factC,factB). 0.1::factY:-or(factA,factB). 0.9::factZ:-and(factC,factB). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.13600000000000004,0.27065413082616524,train,chances are slight,probable,Chances are slight that either 'Jason is tired' or 'Sandra grabbed the apple' but not both.,It is probable that either 'Jason is tired' or 'Sandra grabbed the apple' but not both.,1,Either 'Jason is tired' or 'Sandra grabbed the apple' but not both. It is certain that John went to the office. There is almost no chance that Sandra dropped the milk. It is almost certain that Bernhard is white. It is probable that if either 'Bernhard is white' or 'John went to the office' but not both then Fred put down the apple. There is little chance that if 'Bernhard is white' or 'John went to the office' or both then Greg is a rhino. There is a better than even chance that if either 'John went to the office' or 'Sandra dropped the milk' but not both then Lily is green.,It is highly unlikely that either 'Fred put down the apple' 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 1.0::factA. 0.02::factB. 0.95::factC. %hop1 0.7::factX:-xor(factC,factA). 0.1::factY:-or(factC,factA). 0.6::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.05360000000000004,0.6557311462292459,train,highly unlikely,better than even,It is highly unlikely that either 'Fred put down the apple' or 'Sandra dropped the milk' but not both.,There is a better than even chance that either 'Fred put down the apple' or 'Sandra dropped the milk' but not both.,1,Either 'Fred put down the apple' or 'Sandra dropped the milk' but not both. It is highly likely that Gertrude is a mouse. It is highly unlikely that Bernhard is a swan. It is highly unlikely that Yann is hungry. There is almost no chance that if either 'Yann is hungry' or 'Gertrude is a mouse' but not both then Greg is gray. We doubt that if either 'Yann is hungry' or 'Gertrude is a mouse' but not both then John discarded the milk. It is improbable that if 'Gertrude is a mouse' or 'Bernhard is a swan' or both then Brian is a frog.,It is probably not the case that either 'John discarded the milk' 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.9::factA. 0.05::factB. 0.05::factC. %hop1 0.02::factX:-xor(factC,factA). 0.2::factY:-xor(factC,factA). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.22829,0.6849369873974795,train,probably not,almost certain,It is probably not the case that either 'John discarded the milk' or 'Brian is a frog' but not both.,It is almost certain that either 'John discarded the milk' or 'Brian is a frog' but not both.,1,Either 'John discarded the milk' or 'Brian is a frog' but not both. It is impossible that Brian is a swan. It is likely that Julius is gray. It is likely that Lily is a lion. It is almost certain that if either 'Julius is gray' or 'Brian is a swan' but not both then Greg is yellow. It is certain that if 'Lily is a lion' or 'Brian is a swan' or both then John got the apple. Chances are about even that if either 'Julius is gray' or 'Lily is a lion' but not both then Mary dropped the milk.,It is impossible that 'Mary dropped the milk 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.0::factA. 0.7::factB. 0.7::factC. %hop1 0.95::factX:-xor(factB,factA). 1.0::factY:-or(factC,factA). 0.5::factZ:-xor(factB,factC). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.0,0.48089617923584715,train,impossible,about even,It is impossible that 'Mary dropped the milk and Brian is a swan'.,Chances are about even that 'Mary dropped the milk and Brian is a swan'.,1,'Mary dropped the milk and Brian is a swan'. It is improbable that Gertrude is a cat. We doubt that Greg is a frog. We believe that Sandra dropped the apple. It is unlikely that if 'Sandra dropped the apple and Greg is a frog' then Emily is a mouse. It is probable that if either 'Gertrude is a cat' or 'Sandra dropped the apple' but not both then Bernhard is a lion. There is almost no chance that if 'Gertrude is a cat and Greg is a frog' then Lily is white.,It is probably not the case that either 'Gertrude is a cat' or 'Greg 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.1::factA. 0.2::factB. 0.75::factC. %hop1 0.2::factX:-and(factC,factB). 0.7::factY:-xor(factA,factC). 0.02::factZ:-and(factA,factB). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.26,0.6293258651730346,train,probably not,probably,It is probably not the case that either 'Gertrude is a cat' or 'Greg is a frog' but not both.,It is probably the case that either 'Gertrude is a cat' or 'Greg is a frog' but not both.,1,Either 'Gertrude is a cat' or 'Greg is a frog' but not both. It is certain that Daniel left the milk. It is impossible that Mary moved to the office. It is likely that Greg is a swan. It is impossible that if 'Greg is a swan and Mary moved to the office' then Bernhard is a frog. There is little chance that if 'Mary moved to the office and Daniel left the milk' then Emily is a mouse. There is almost no chance that if 'Mary moved to the office' or 'Greg is a swan' or both then John went to the hallway.,It is impossible that either 'Bernhard is a frog' 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 1.0::factA. 0.0::factB. 0.7::factC. %hop1 0.0::factX:-and(factC,factB). 0.1::factY:-and(factB,factA). 0.02::factZ:-or(factB,factC). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.0,0.34266853370674133,train,impossible,highly likely,It is impossible that either 'Bernhard is a frog' or 'Emily is a mouse' but not both.,It is highly likely that either 'Bernhard is a frog' or 'Emily is a mouse' but not both.,1,Either 'Bernhard is a frog' or 'Emily is a mouse' but not both. It is improbable that Julius is green. We doubt that Emily is a cat. There is little chance that Brian is a rhino. There is a very good chance that if 'Julius is green' or 'Emily is a cat' or both then Bernhard is gray. Chances are about even that if either 'Emily is a cat' or 'Julius is green' but not both then Mary is in the hallway. It is probably not the case that if 'Emily is a cat and Brian is a rhino' then John took the milk.,It is likely that 'Emily is a cat and Mary is in 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.1::factA. 0.2::factB. 0.1::factC. %hop1 0.8::factX:-or(factA,factB). 0.5::factY:-xor(factB,factA). 0.25::factZ:-and(factB,factC). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.09000000000000001,0.3714742948589718,train,improbable,likely,It is improbable that 'Emily is a cat and Mary is in the hallway'.,It is likely that 'Emily is a cat and Mary is in the hallway'.,0,'Emily is a cat and Mary is in the hallway'. We doubt that Lily is green. It is probably not the case that Julius is a swan. It is probably the case that Mary dropped the milk. It is probable that if 'Mary dropped the milk' or 'Julius is a swan' or both then Greg is white. It is impossible that if 'Lily is green and Mary dropped the milk' then Bernhard is a lion. Chances are about even that if 'Julius is a swan' or 'Mary dropped the milk' or both then Brian is green.,It is likely that 'Brian is green and Julius 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,factB). 0.0::factY:-and(factA,factC). 0.5::factZ:-or(factB,factC). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.12500000000000003,0.6259251850370074,train,chances are slight,likely,Chances are slight that 'Brian is green and Julius is a swan'.,It is likely that 'Brian is green and Julius is a swan'.,0,'Brian is green and Julius is a swan'. It is almost certain that Bernhard is a frog. Chances are slight that Lily is a rhino. It is certain that Mary moved to the garden. It is almost certain that if 'Bernhard is a frog' or 'Lily is a rhino' or both then John put down the milk. It is unlikely that if 'Lily is a rhino' or 'Mary moved to the garden' or both then Winona is a mouse. It is improbable that if either 'Lily is a rhino' or 'Mary moved to the garden' but not both then Jason is bored.,It is probable that 'Lily is a rhino 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.95::factA. 0.1::factB. 1.0::factC. %hop1 0.95::factX:-or(factA,factB). 0.2::factY:-or(factB,factC). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.09500000000000001,0.3160632126425285,train,improbable,probable,It is improbable that 'Lily is a rhino and Bernhard is a frog'.,It is probable that 'Lily is a rhino and Bernhard is a frog'.,0,'Lily is a rhino and Bernhard is a frog'. It is probable that Bernhard is yellow. It is likely that Lily is a swan. It is probably not the case that John moved to the garden. It is probably not the case that if 'Lily is a swan' or 'Bernhard is yellow' or both then Daniel left the apple. There is little chance that if 'Lily is a swan' or 'Bernhard is yellow' or both then Gertrude is a sheep. It is certain that if 'Bernhard is yellow and Lily is a swan' then Julius is a swan.,We believe that 'Julius is a swan 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.7::factA. 0.7::factB. 0.25::factC. %hop1 0.25::factX:-or(factB,factA). 0.1::factY:-or(factB,factA). 1.0::factZ:-and(factA,factB). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.049,0.3976795359071814,train,highly unlikely,we believe,It is highly unlikely that 'Julius is a swan and Gertrude is a sheep'.,We believe that 'Julius is a swan and Gertrude is a sheep'.,0,'Julius is a swan and Gertrude is a sheep'. It is highly likely that Greg is a swan. It is unlikely that Lily is yellow. It is almost certain that John got the football. We believe that if either 'Lily is yellow' or 'Greg is a swan' but not both then Winona is a sheep. Chances are slight that if 'Lily is yellow and Greg is a swan' then Julius is a lion. It is improbable that if either 'Lily is yellow' or 'Greg is a swan' but not both then Brian is a rhino.,It is probably not the case that 'John got the football' 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.9::factA. 0.2::factB. 0.95::factC. %hop1 0.75::factX:-xor(factB,factA). 0.1::factY:-and(factB,factA). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.96,0.7563512702540508,train,almost certain,probably not,It is almost certain that 'John got the football' or 'Lily is yellow' or both.,It is probably not the case that 'John got the football' or 'Lily is yellow' or both.,0,'John got the football' or 'Lily is yellow' or both. It is certain that Bernhard is a frog. It is unlikely that Greg is yellow. It is probably not the case that Antoine is hungry. It is unlikely that if 'Antoine is hungry' or 'Greg is yellow' or both then Sandra left the apple. We doubt that if either 'Bernhard is a frog' or 'Greg is yellow' but not both then Lily is yellow. Chances are about even that if 'Greg is yellow' or 'Bernhard is a frog' or both then John took the football.,It is highly unlikely that either 'Greg is yellow' or 'John 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 1.0::factA. 0.2::factB. 0.25::factC. %hop1 0.2::factX:-or(factC,factB). 0.2::factY:-xor(factA,factB). 0.5::factZ:-or(factB,factA). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.5,0.002400480096019204,train,about even,highly unlikely,Chances are about even that either 'Greg is yellow' or 'John took the football' but not both.,It is highly unlikely that either 'Greg is yellow' or 'John took the football' but not both.,0,Either 'Greg is yellow' or 'John took the football' but not both. It is almost certain that Emily is a wolf. Chances are about even that John put down the apple. There is little chance that Bernhard is yellow. There is almost no chance that if 'Bernhard is yellow and Emily is a wolf' then Sandra dropped the milk. There is little chance that if either 'Bernhard is yellow' or 'John put down the apple' but not both then Fred went to the garden. Chances are slight that if either 'Emily is a wolf' or 'John put down the apple' but not both then Greg is a swan.,It is highly unlikely that 'Fred went to the garden' 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.95::factA. 0.5::factB. 0.1::factC. %hop1 0.02::factX:-and(factC,factA). 0.1::factY:-xor(factC,factB). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.05180500000000002,0.27745549109821965,train,highly unlikely,probable,It is highly unlikely that 'Fred went to the garden' or 'Sandra dropped the milk' or both.,It is probable that 'Fred went to the garden' or 'Sandra dropped the milk' or both.,1,'Fred went to the garden' or 'Sandra dropped the milk' or both. It is probably not the case that Brian is a rhino. It is unlikely that Jeff moved to the garden. It is probably not the case that Greg is a swan. It is impossible that if 'Jeff moved to the garden and Greg is a swan' then Lily is white. It is impossible that if 'Greg is a swan and Jeff moved to the garden' then Winona is a wolf. It is probably the case that if 'Jeff moved to the garden' or 'Brian is a rhino' or both then Daniel took the apple.,It is probably not the case that either 'Greg is a swan' or 'Lily 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.25::factA. 0.2::factB. 0.25::factC. %hop1 0.0::factX:-and(factB,factC). 0.0::factY:-and(factC,factB). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.25,0.3098619723944789,train,probably not,likely,It is probably not the case that either 'Greg is a swan' or 'Lily is white' but not both.,It is likely that either 'Greg is a swan' or 'Lily is white' but not both.,1,Either 'Greg is a swan' or 'Lily is white' but not both. There is a very good chance that Lily is white. We doubt that Jason is tired. It is certain that John went to the bedroom. It is probable that if 'Jason is tired and Lily is white' then Sandra left the football. There is almost no chance that if 'Jason is tired and Lily is white' then Mary got the milk. It is highly likely that if either 'Jason is tired' or 'John went to the bedroom' but not both then Julius is gray.,It is unlikely that 'John went to the bedroom 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.8::factA. 0.2::factB. 1.0::factC. %hop1 0.7::factX:-and(factB,factA). 0.02::factY:-and(factB,factA). 0.9::factZ:-xor(factB,factC). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.2,0.00020004000800160032,train,unlikely,probable,It is unlikely that 'John went to the bedroom and Jason is tired'.,It is probable that 'John went to the bedroom and Jason is tired'.,1,'John went to the bedroom and Jason is tired'. Chances are about even that Mary got the football. We doubt that Bernhard is a rhino. There is little chance that Julius is a frog. It is highly unlikely that if 'Bernhard is a rhino and Julius is a frog' then Emily is a cat. There is a very good chance that if 'Bernhard is a rhino' or 'Julius is a frog' or both then Greg is a frog. There is little chance that if 'Julius is a frog and Bernhard is a rhino' then John went to the office.,Chances are slight that 'Julius is a frog' 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.5::factA. 0.2::factB. 0.1::factC. %hop1 0.05::factX:-and(factB,factC). 0.8::factY:-or(factB,factC). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.10000000000000002,0.4796959391878376,train,chances are slight,probable,Chances are slight that 'Julius is a frog' or 'John went to the office' or both.,It is probable that 'Julius is a frog' or 'John went to the office' or both.,1,'Julius is a frog' or 'John went to the office' or both. There is little chance that Greg is yellow. It is almost certain that Mary moved to the office. Chances are about even that Lily is a swan. It is highly likely that if 'Mary moved to the office and Greg is yellow' then Jeff dropped the apple. It is certain that if 'Lily is a swan and Mary moved to the office' then Brian is a rhino. Chances are about even that if 'Greg is yellow' or 'Mary moved to the office' or both then Bernhard is green.,It is unlikely that 'Bernhard 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.1::factA. 0.95::factB. 0.5::factC. %hop1 0.9::factX:-and(factB,factA). 1.0::factY:-and(factC,factB). 0.5::factZ:-or(factA,factB). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.9525,0.6019203840768154,train,almost certain,unlikely,It is almost certain that 'Bernhard is green' or 'Mary moved to the office' or both.,It is unlikely that 'Bernhard is green' or 'Mary moved to the office' or both.,0,'Bernhard is green' or 'Mary moved to the office' or both. It is probable that Sumit is bored. It is probably not the case that Greg is a frog. Chances are about even that John moved to the office. There is little chance that if 'Sumit is bored and Greg is a frog' then Bernhard is a lion. We believe that if either 'Sumit is bored' or 'John moved to the office' but not both then Fred dropped the apple. It is impossible that if either 'Greg is a frog' or 'Sumit is bored' but not both then Brian is green.,It is likely that 'Brian is green' 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.7::factA. 0.25::factB. 0.5::factC. %hop1 0.1::factX:-and(factA,factB). 0.75::factY:-xor(factA,factC). 0.0::factZ:-xor(factB,factA). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.25,0.0650130026005201,train,probably not,likely,It is probably not the case that 'Brian is green' or 'Greg is a frog' or both.,It is likely that 'Brian is green' or 'Greg is a frog' or both.,0,'Brian is green' or 'Greg is a frog' or both. It is highly unlikely that Julius is a rhino. Chances are slight that Bernhard is a frog. It is certain that Brian is green. It is highly unlikely that if 'Brian is green and Bernhard is a frog' then Gertrude is a mouse. It is probably the case that if 'Bernhard is a frog' or 'Julius is a rhino' or both then Emily is a sheep. It is impossible that if 'Brian is green' or 'Bernhard is a frog' or both then Mary put down the apple.,It is probably the case that either 'Emily is a sheep' 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.05::factA. 0.1::factB. 1.0::factC. %hop1 0.05::factX:-and(factC,factB). 0.7::factY:-or(factB,factA). 0.0::factZ:-or(factC,factB). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.0995,0.272254450890178,train,improbable,probably,It is improbable that either 'Emily is a sheep' or 'Gertrude is a mouse' but not both.,It is probably the case that either 'Emily is a sheep' or 'Gertrude is a mouse' but not both.,0,Either 'Emily is a sheep' or 'Gertrude is a mouse' but not both. We believe that Jeff dropped the apple. There is a better than even chance that Bill went to the office. It is almost certain that Greg is a swan. It is certain that if 'Bill went to the office' or 'Greg is a swan' or both then Bernhard is yellow. It is highly likely that if 'Greg is a swan' or 'Bill went to the office' or both then Sumit is hungry. We believe that if either 'Bill went to the office' or 'Greg is a swan' but not both then John grabbed the milk.,Chances are about even that either 'Bill went to the office' 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.75::factA. 0.6::factB. 0.95::factC. %hop1 1.0::factX:-or(factB,factC). 0.9::factY:-or(factC,factB). 0.75::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.38,0.2636527305461092,train,about even,certain,Chances are about even that either 'Bill went to the office' or 'Bernhard is yellow' but not both.,It is certain that either 'Bill went to the office' or 'Bernhard is yellow' but not both.,1,Either 'Bill went to the office' or 'Bernhard is yellow' but not both. We doubt that Mary went to the garden. It is highly unlikely that John grabbed the apple. There is little chance that Lily is a swan. It is unlikely that if either 'Lily is a swan' or 'Mary went to the garden' but not both then Brian is white. There is almost no chance that if 'John grabbed the apple and Mary went to the garden' then Antoine is hungry. Chances are about even that if 'Lily is a swan' or 'Mary went to the garden' or both then Bernhard is gray.,It is probably not the case that either 'Mary went to the garden' 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.2::factA. 0.05::factB. 0.1::factC. %hop1 0.2::factX:-xor(factC,factA). 0.02::factY:-and(factB,factA). 0.5::factZ:-or(factC,factA). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.26,0.546509301860372,train,probably not,highly likely,It is probably not the case that either 'Mary went to the garden' or 'Lily is a swan' but not both.,It is highly likely that either 'Mary went to the garden' or 'Lily is a swan' but not both.,1,Either 'Mary went to the garden' or 'Lily is a swan' but not both. There is almost no chance that Sandra dropped the milk. It is highly unlikely that Winona is a mouse. It is highly unlikely that Brian is a frog. It is impossible that if 'Sandra dropped the milk and Brian is a frog' then Bernhard is green. We believe that if either 'Sandra dropped the milk' or 'Winona is a mouse' but not both then Julius is yellow. It is probably the case that if 'Winona is a mouse and Brian is a frog' then John got the milk.,It is likely that 'Brian 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.02::factA. 0.05::factB. 0.05::factC. %hop1 0.0::factX:-and(factA,factC). 0.75::factY:-xor(factA,factB). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.09845,0.04120824164832967,train,improbable,likely,It is improbable that 'Brian is a frog' or 'Julius is yellow' or both.,It is likely that 'Brian is a frog' or 'Julius is yellow' or both.,0,'Brian is a frog' or 'Julius is yellow' or both. It is unlikely that John left the football. We believe that Lily is a rhino. It is probably the case that Brian is a swan. It is unlikely that if either 'Brian is a swan' or 'John left the football' but not both then Bernhard is green. There is little chance that if either 'Brian is a swan' or 'Lily is a rhino' but not both then Emily is a wolf. There is a better than even chance that if 'Brian is a swan and Lily is a rhino' then Mary went to the kitchen.,It is almost certain that 'Brian is a swan 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.2::factA. 0.75::factB. 0.7::factC. %hop1 0.2::factX:-xor(factC,factA). 0.1::factY:-xor(factC,factB). 0.6::factZ:-and(factC,factB). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.11199999999999999,0.7713542708541709,train,little chance,almost certain,There is little chance that 'Brian is a swan and Bernhard is green'.,It is almost certain that 'Brian is a swan and Bernhard is green'.,0,'Brian is a swan and Bernhard is green'. It is highly unlikely that Greg is white. It is probably the case that John dropped the apple. There is little chance that Mary got the football. It is highly likely that if 'John dropped the apple and Greg is white' then Jeff went to the hallway. It is likely that if 'Greg is white and John dropped the apple' then Jason is thirsty. There is a better than even chance that if either 'Greg is white' or 'John dropped the apple' but not both then Brian is a swan.,It is impossible that 'Brian is a swan and Jason 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.05::factA. 0.7::factB. 0.1::factC. %hop1 0.9::factX:-and(factB,factA). 0.7::factY:-and(factA,factB). 0.6::factZ:-xor(factA,factB). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.0,0.6907381476295259,train,impossible,better than even,It is impossible that 'Brian is a swan and Jason is thirsty'.,There is a better than even chance that 'Brian is a swan and Jason is thirsty'.,1,'Brian is a swan and Jason is thirsty'. It is highly likely that Jeff left the football. It is highly unlikely that Antoine is bored. It is almost certain that Lily is a rhino. There is almost no chance that if 'Antoine is bored and Jeff left the football' then Bernhard is green. We believe that if either 'Lily is a rhino' or 'Jeff left the football' but not both then Fred is in the school. It is highly unlikely that if 'Antoine is bored' or 'Jeff left the football' or both then John went to the office.,It is impossible that 'Jeff left the football 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.9::factA. 0.05::factB. 0.95::factC. %hop1 0.02::factX:-and(factB,factA). 0.75::factY:-xor(factC,factA). 0.05::factZ:-or(factB,factA). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.0008999999999999998,0.47169433886777357,train,impossible,almost certain,It is impossible that 'Jeff left the football and Bernhard is green'.,It is almost certain that 'Jeff left the football and Bernhard is green'.,1,'Jeff left the football and Bernhard is green'. We believe that Brian is a frog. It is highly likely that Winona is a sheep. It is improbable that Mary got the milk. It is certain that if 'Winona is a sheep and Brian is a frog' then Jessica is a mouse. It is unlikely that if 'Mary got the milk' or 'Brian is a frog' or both then John went to the garden. Chances are slight that if either 'Winona is a sheep' or 'Mary got the milk' but not both then Julius is green.,It is unlikely that 'Winona is a sheep' 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.75::factA. 0.9::factB. 0.1::factC. %hop1 1.0::factX:-and(factB,factA). 0.2::factY:-or(factC,factA). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.9,0.32686537307461494,train,highly likely,unlikely,It is highly likely that 'Winona is a sheep' or 'Jessica is a mouse' or both.,It is unlikely that 'Winona is a sheep' or 'Jessica is a mouse' or both.,0,'Winona is a sheep' or 'Jessica is a mouse' or both. It is probable that Bill left the milk. It is certain that Greg is a rhino. It is improbable that Julius is a lion. Chances are about even that if either 'Greg is a rhino' or 'Julius is a lion' but not both then Bernhard is a frog. It is probably not the case that if 'Bill left the milk and Greg is a rhino' then Lily is gray. It is likely that if either 'Greg is a rhino' or 'Julius is a lion' but not both then John discarded the apple.,It is improbable that 'John discarded the apple 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.7::factA. 1.0::factB. 0.1::factC. %hop1 0.5::factX:-xor(factB,factC). 0.25::factY:-and(factA,factB). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.11024999999999996,0.7983596719343868,train,improbable,probable,It is improbable that 'John discarded the apple and Lily is gray'.,It is probable that 'John discarded the apple and Lily is gray'.,1,'John discarded the apple and Lily is gray'. It is probably the case that Jeff moved to the office. It is likely that John left the football. It is improbable that Bernhard is a rhino. There is little chance that if 'Bernhard is a rhino' or 'Jeff moved to the office' or both then Lily is a frog. Chances are slight that if either 'John left the football' or 'Jeff moved to the office' but not both then Julius is white. It is probably not the case that if either 'Jeff moved to the office' or 'John left the football' but not both then Mary went to the garden.,There is almost no chance that 'Lily is a frog 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.7::factA. 0.7::factB. 0.1::factC. %hop1 0.1::factX:-or(factC,factA). 0.1::factY:-xor(factB,factA). 0.25::factZ:-xor(factA,factB). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.010000000000000004,0.5195039007801561,train,almost no chance,we believe,There is almost no chance that 'Lily is a frog and Bernhard is a rhino'.,We believe that 'Lily is a frog and Bernhard is a rhino'.,1,'Lily is a frog and Bernhard is a rhino'. It is highly unlikely that Brian is white. It is probably the case that John put down the milk. There is a better than even chance that Jessica is a mouse. It is highly likely that if 'Jessica is a mouse and John put down the milk' then Lily is gray. It is almost certain that if either 'Brian is white' or 'John put down the milk' but not both then Mary went to the garden. It is highly unlikely that if 'John put down the milk' or 'Brian is white' or both then Sandra left the apple.,It is probable that 'Mary went to the garden' 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.05::factA. 0.7::factB. 0.6::factC. %hop1 0.9::factX:-and(factC,factB). 0.95::factY:-xor(factA,factB). 0.05::factZ:-or(factB,factA). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.6828549999999999,0.4454890978195639,train,probable,little chance,It is probable that 'Mary went to the garden' or 'Lily is gray' or both.,There is little chance that 'Mary went to the garden' or 'Lily is gray' or both.,1,'Mary went to the garden' or 'Lily is gray' or both. It is highly likely that Lily is gray. It is likely that John discarded the apple. There is a better than even chance that Daniel got the football. There is almost no chance that if 'Daniel got the football and John discarded the apple' then Mary grabbed the milk. It is highly unlikely that if 'Daniel got the football and Lily is gray' then Bernhard is a rhino. It is probable that if either 'Lily is gray' or 'Daniel got the football' but not both then Julius is a lion.,It is probably not the case that either 'John discarded the apple' 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.9::factA. 0.7::factB. 0.6::factC. %hop1 0.02::factX:-and(factC,factB). 0.05::factY:-and(factC,factA). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.33999999999999997,0.4146829365873175,train,probably not,probable,It is probably not the case that either 'John discarded the apple' or 'Lily is gray' but not both.,It is probable that either 'John discarded the apple' or 'Lily is gray' but not both.,1,Either 'John discarded the apple' or 'Lily is gray' but not both. There is a better than even chance that Mary left the milk. It is highly unlikely that Jessica is a wolf. It is improbable that Greg is a lion. It is impossible that if 'Mary left the milk and Greg is a lion' then Julius is green. It is highly likely that if 'Mary left the milk' or 'Greg is a lion' or both then Bernhard is a rhino. It is highly unlikely that if either 'Jessica is a wolf' or 'Mary left the milk' but not both then John moved to the office.,We believe that 'Mary left the milk 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 0.6::factA. 0.05::factB. 0.1::factC. %hop1 0.0::factX:-and(factA,factC). 0.9::factY:-or(factA,factC). 0.05::factZ:-xor(factB,factA). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.0,0.7235447089417884,train,impossible,we believe,It is impossible that 'Mary left the milk and Julius is green'.,We believe that 'Mary left the milk and Julius is green'.,0,'Mary left the milk and Julius is green'. We believe that Winona is a cat. It is certain that Brian is white. It is improbable that Mary went to the garden. It is unlikely that if 'Winona is a cat and Mary went to the garden' then Greg is white. It is probably the case that if 'Winona is a cat and Brian is white' then Lily is a rhino. Chances are about even that if 'Brian is white' or 'Winona is a cat' or both then Julius is yellow.,There is almost no chance that 'Julius is yellow' or 'Greg 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.75::factA. 1.0::factB. 0.1::factC. %hop1 0.2::factX:-and(factA,factC). 0.7::factY:-and(factA,factB). 0.5::factZ:-or(factB,factA). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.5075000000000001,0.2656531306261252,train,about even,almost no chance,Chances are about even that 'Julius is yellow' or 'Greg is white' or both.,There is almost no chance that 'Julius is yellow' or 'Greg is white' or both.,0,'Julius is yellow' or 'Greg is white' or both. We believe that Sandra left the milk. It is probably the case that Lily is a rhino. It is almost certain that John put down the apple. It is improbable that if either 'Lily is a rhino' or 'Sandra left the milk' but not both then Julius is white. We believe that if either 'Lily is a rhino' or 'John put down the apple' but not both then Bernhard is a swan. We doubt that if 'Sandra left the milk' or 'John put down the apple' or both then Brian is green.,Chances are about even that 'Lily is a rhino 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.75::factA. 0.7::factB. 0.95::factC. %hop1 0.1::factX:-xor(factB,factA). 0.75::factY:-xor(factB,factC). 0.2::factZ:-or(factA,factC). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.525,0.5825165033006602,train,about even,certain,Chances are about even that 'Lily is a rhino and Sandra left the milk'.,It is certain that 'Lily is a rhino and Sandra left the milk'.,1,'Lily is a rhino and Sandra left the milk'. Chances are slight that Mary left the milk. It is probably not the case that Greg is white. It is probably not the case that Lily is gray. There is little chance that if 'Lily is gray' or 'Greg is white' or both then Sumit is tired. We believe that if either 'Mary left the milk' or 'Lily is gray' but not both then Bill went to the office. It is unlikely that if 'Lily is gray' or 'Mary left the milk' or both then John moved to the garden.,It is probably not the case that 'John moved to the garden' 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.1::factA. 0.25::factB. 0.25::factC. %hop1 0.1::factX:-or(factC,factB). 0.75::factY:-xor(factA,factC). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.265,0.15703140628125625,train,probably not,probable,It is probably not the case that 'John moved to the garden' or 'Lily is gray' or both.,It is probable that 'John moved to the garden' or 'Lily is gray' or both.,1,'John moved to the garden' or 'Lily is gray' or both. There is little chance that Mary left the apple. It is likely that Bernhard is a frog. It is improbable that Emily is a wolf. It is probably not the case that if 'Bernhard is a frog and Mary left the apple' then Lily is a rhino. There is a better than even chance that if 'Bernhard is a frog and Emily is a wolf' then John dropped the milk. It is likely that if 'Bernhard is a frog' or 'Emily is a wolf' or both then Brian is green.,It is probable that 'Bernhard is a frog' 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.1::factA. 0.7::factB. 0.1::factC. %hop1 0.25::factX:-and(factB,factA). 0.6::factY:-and(factB,factC). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.7,0.29825965193038606,train,probable,probably not,It is probable that 'Bernhard is a frog' or 'Lily is a rhino' or both.,It is probably not the case that 'Bernhard is a frog' or 'Lily is a rhino' or both.,1,'Bernhard is a frog' or 'Lily is a rhino' or both. It is highly unlikely that Jessica is a mouse. Chances are about even that Brian is yellow. There is little chance that Greg is green. It is probably not the case that if 'Greg is green' or 'Jessica is a mouse' or both then Gertrude is a sheep. Chances are slight that if 'Greg is green' or 'Jessica is a mouse' or both then John went to the office. It is improbable that if either 'Brian is yellow' or 'Jessica is a mouse' but not both then Bernhard is a frog.,It is highly unlikely 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.05::factA. 0.5::factB. 0.1::factC. %hop1 0.25::factX:-or(factC,factA). 0.1::factY:-or(factC,factA). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.55,0.3290658131626325,train,better than even,highly unlikely,There is a better than even chance that 'Greg is green' or 'Brian is yellow' or both.,It is highly unlikely 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 Bernhard is a rhino. We believe that Lily is green. It is highly unlikely that Brian is a swan. It is unlikely that if either 'Lily is green' or 'Bernhard is a rhino' but not both then Sandra took the football. It is likely that if either 'Lily is green' or 'Bernhard is a rhino' but not both then Greg is green. There is little chance that if 'Bernhard is a rhino and Brian is a swan' then Mary moved to the garden.,There is a better than even chance that 'Mary moved to the garden 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.1::factA. 0.75::factB. 0.05::factC. %hop1 0.2::factX:-xor(factB,factA). 0.7::factY:-xor(factB,factA). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.00037500000000000044,0.5225045009001801,train,impossible,better than even,It is impossible that 'Mary moved to the garden and Lily is green'.,There is a better than even chance that 'Mary moved to the garden and Lily is green'.,0,'Mary moved to the garden and Lily is green'. Chances are slight that Gertrude is a wolf. It is probably not the case that Sandra left the milk. There is a very good chance that John took the apple. There is a better than even chance that if 'John took the apple' or 'Gertrude is a wolf' or both then Lily is a lion. It is certain that if 'Gertrude is a wolf and Sandra left the milk' then Greg is white. It is probably not the case that if 'John took the apple' or 'Gertrude is a wolf' or both then Bernhard is a rhino.,There is little chance that either 'Sandra left the milk' 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.1::factA. 0.25::factB. 0.8::factC. %hop1 0.6::factX:-or(factC,factA). 1.0::factY:-and(factA,factB). 0.25::factZ:-or(factC,factA). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.65,0.7535507101420285,train,probably,little chance,It is probably the case that either 'Sandra left the milk' or 'John took the apple' but not both.,There is little chance that either 'Sandra left the milk' or 'John took the apple' but not both.,0,Either 'Sandra left the milk' or 'John took the apple' but not both. It is unlikely that Sandra took the football. Chances are about even that Bernhard is a frog. Chances are slight that Bill went to the garden. It is likely that if 'Sandra took the football and Bill went to the garden' then Julius is yellow. It is unlikely that if 'Bernhard is a frog and Bill went to the garden' then Lily is a swan. It is certain that if 'Bill went to the garden' or 'Sandra took the football' or both then John moved to the office.,There is almost no chance that 'Bill went 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.2::factA. 0.5::factB. 0.1::factC. %hop1 0.7::factX:-and(factA,factC). 0.2::factY:-and(factB,factC). 1.0::factZ:-or(factC,factA). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.014000000000000007,0.483496699339868,train,almost no chance,almost certain,There is almost no chance that 'Bill went to the garden and Julius is yellow'.,It is almost certain that 'Bill went to the garden and Julius is yellow'.,1,'Bill went to the garden and Julius is yellow'. It is highly likely that Brian is white. It is impossible that Sandra left the football. It is probably not the case that John put down the apple. It is improbable that if 'Sandra left the football and Brian is white' then Greg is a rhino. We believe that if either 'Brian is white' or 'John put down the apple' but not both then Bernhard is white. It is highly unlikely that if either 'Brian is white' or 'John put down the apple' but not both then Mary went to the hallway.,We believe that either 'Bernhard is white' 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.9::factA. 0.0::factB. 0.25::factC. %hop1 0.1::factX:-and(factB,factA). 0.75::factY:-xor(factA,factC). 0.05::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.7375,0.007801560312062412,train,we believe,we doubt,We believe that either 'Bernhard is white' or 'John put down the apple' but not both.,We doubt that either 'Bernhard is white' or 'John put down the apple' but not both.,1,Either 'Bernhard is white' or 'John put down the apple' but not both. It is impossible that Sandra got the milk. It is probable that Mary picked up the apple. It is likely that John went to the kitchen. Chances are about even that if either 'John went to the kitchen' or 'Mary picked up the apple' but not both then Greg is yellow. It is probably not the case that if 'Sandra got the milk and Mary picked up the apple' then Julius is a frog. It is highly unlikely that if 'Sandra got the milk' or 'Mary picked up the apple' or both then Brian is a rhino.,It is highly unlikely that 'Brian is a rhino' 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.0::factA. 0.7::factB. 0.7::factC. %hop1 0.5::factX:-xor(factC,factB). 0.25::factY:-and(factA,factB). 0.05::factZ:-or(factA,factB). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.035,0.4090818163632727,train,highly unlikely,about even,It is highly unlikely that 'Brian is a rhino' or 'Sandra got the milk' or both.,Chances are about even that 'Brian is a rhino' or 'Sandra got the milk' or both.,1,'Brian is a rhino' or 'Sandra got the milk' or both. It is highly likely that Daniel got the milk. We believe that Bernhard is gray. It is highly likely that Lily is a rhino. It is improbable that if 'Lily is a rhino and Daniel got the milk' then Emily is a mouse. It is unlikely that if either 'Bernhard is gray' or 'Lily is a rhino' but not both then John went to the hallway. It is certain that if 'Bernhard is gray' or 'Lily is a rhino' or both then Greg is a frog.,It is highly unlikely that 'John went to the hallway 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.9::factA. 0.75::factB. 0.9::factC. %hop1 0.1::factX:-and(factC,factA). 0.2::factY:-xor(factB,factC). 1.0::factZ:-or(factB,factC). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.05400000000000002,0.7297459491898379,train,highly unlikely,very good chance,It is highly unlikely that 'John went to the hallway and Daniel got the milk'.,There is a very good chance that 'John went to the hallway and Daniel got the milk'.,1,'John went to the hallway and Daniel got the milk'. It is highly unlikely that Fred is in the school. We believe that John took the apple. We doubt that Mary went to the office. Chances are about even that if 'Mary went to the office and John took the apple' then Brian is yellow. There is a very good chance that if 'Fred is in the school and Mary went to the office' then Greg is a rhino. It is impossible that if 'Mary went to the office' or 'Fred is in the school' or both then Bernhard is a frog.,There is a very good chance that either 'Bernhard is a frog' 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.75::factB. 0.2::factC. %hop1 0.5::factX:-and(factC,factB). 0.8::factY:-and(factA,factC). 0.0::factZ:-or(factC,factA). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.2,0.3312662532506501,train,we doubt,very good chance,We doubt that either 'Bernhard is a frog' or 'Mary went to the office' but not both.,There is a very good chance that either 'Bernhard is a frog' or 'Mary went to the office' but not both.,0,Either 'Bernhard is a frog' or 'Mary went to the office' but not both. It is likely that Jeff dropped the apple. It is certain that Winona is a wolf. It is improbable that Mary went to the hallway. There is little chance that if 'Mary went to the hallway and Jeff dropped the apple' then Brian is white. It is highly unlikely that if 'Winona is a wolf and Jeff dropped the apple' then Julius is a frog. It is highly likely that if either 'Winona is a wolf' or 'Mary went to the hallway' but not both then Bernhard is green.,It is probable that 'Julius is a frog 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.7::factA. 1.0::factB. 0.1::factC. %hop1 0.1::factX:-and(factC,factA). 0.05::factY:-and(factB,factA). 0.9::factZ:-xor(factB,factC). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.00035000000000000005,0.22284456891378276,train,impossible,probable,It is impossible that 'Julius is a frog and Brian is white'.,It is probable that 'Julius is a frog and Brian is white'.,0,'Julius is a frog and Brian is white'. There is a better than even chance that Lily is a lion. It is improbable that Greg is a swan. Chances are slight that Mary dropped the apple. It is probably the case that if 'Greg is a swan and Lily is a lion' then Julius is a rhino. It is probably not the case that if 'Mary dropped the apple and Lily is a lion' then John went to the bedroom. It is certain that if 'Lily is a lion' or 'Mary dropped the apple' or both then Daniel got the milk.,It is highly unlikely 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.6::factA. 0.1::factB. 0.1::factC. %hop1 0.7::factX:-and(factB,factA). 0.25::factY:-and(factC,factA). 1.0::factZ:-or(factA,factC). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.055950000000000014,0.355871174234847,train,highly unlikely,certain,It is highly unlikely that 'John went to the bedroom' or 'Julius is a rhino' or both.,It is certain 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. We believe that Julius is white. It is improbable that Lily is a swan. There is little chance that Brian is green. It is impossible that if 'Lily is a swan and Brian is green' then Greg is yellow. There is a better than even chance that if 'Lily is a swan and Julius is white' then John left the football. It is probably not the case that if either 'Brian is green' or 'Julius is white' but not both then Bernhard is a lion.,We believe that 'Lily is a swan' 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.75::factA. 0.1::factB. 0.1::factC. %hop1 0.0::factX:-and(factB,factC). 0.6::factY:-and(factB,factA). 0.25::factZ:-xor(factC,factA). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.775,0.7349469893978796,train,we believe,improbable,We believe that 'Lily is a swan' or 'Julius is white' or both.,It is improbable that 'Lily is a swan' or 'Julius is white' or both.,1,'Lily is a swan' or 'Julius is white' or both. It is probably not the case that Brian is a lion. It is almost certain that Sandra left the football. It is improbable that Jessica is a mouse. It is probable that if either 'Brian is a lion' or 'Sandra left the football' but not both then Jeff went to the bedroom. There is a better than even chance that if 'Brian is a lion and Sandra left the football' then Greg is a rhino. There is almost no chance that if 'Jessica is a mouse and Sandra left the football' then Daniel got the apple.,It is impossible that 'Jessica is a mouse and Daniel 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.95::factB. 0.1::factC. %hop1 0.7::factX:-xor(factA,factB). 0.6::factY:-and(factA,factB). 0.02::factZ:-and(factC,factB). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.0019000000000000013,0.7123424684936988,train,impossible,likely,It is impossible that 'Jessica is a mouse and Daniel got the apple'.,It is likely that 'Jessica is a mouse and Daniel got the apple'.,1,'Jessica is a mouse and Daniel got the apple'. It is impossible that Gertrude is a sheep. We doubt that Mary dropped the milk. There is little chance that John put down the apple. It is certain that if 'Gertrude is a sheep' or 'Mary dropped the milk' or both then Jason is tired. There is little chance that if 'Gertrude is a sheep' or 'John put down the apple' or both then Bernhard is white. Chances are about even that if either 'Mary dropped the milk' or 'Gertrude is a sheep' but not both then Greg is a swan.,It is almost certain that either 'John put down the apple' 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.0::factA. 0.2::factB. 0.1::factC. %hop1 1.0::factX:-or(factA,factB). 0.1::factY:-or(factA,factC). 0.5::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.26,0.45729145829165835,train,probably not,almost certain,It is probably not the case that either 'John put down the apple' or 'Jason is tired' but not both.,It is almost certain that either 'John put down the apple' or 'Jason is tired' but not both.,0,Either 'John put down the apple' or 'Jason is tired' but not both. We believe that Jeff left the apple. It is unlikely that Julius is a rhino. There is almost no chance that John went to the garden. There is a better than even chance that if either 'John went to the garden' or 'Jeff left the apple' but not both then Mary dropped the milk. It is almost certain that if either 'John went to the garden' or 'Julius is a rhino' but not both then Greg is a frog. There is a very good chance that if 'Julius is a rhino and John went to the garden' then Antoine is hungry.,There is a very good chance that either 'Greg is a frog' or 'Antoine is hungry' 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.2::factB. 0.02::factC. %hop1 0.6::factX:-xor(factC,factA). 0.95::factY:-xor(factC,factB). 0.8::factZ:-and(factB,factC). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.20459999999999998,0.4406881376275255,train,we doubt,very good chance,We doubt that either 'Greg is a frog' or 'Antoine is hungry' but not both.,There is a very good chance that either 'Greg is a frog' or 'Antoine is hungry' but not both.,0,Either 'Greg is a frog' or 'Antoine is hungry' but not both. There is almost no chance that Brian is a lion. Chances are about even that Julius is a swan. We doubt that Bill went to the office. There is a very good chance that if 'Brian is a lion and Julius is a swan' then Daniel got the milk. It is improbable that if 'Brian is a lion' or 'Bill went to the office' or both then Lily is gray. It is improbable that if either 'Bill went to the office' or 'Julius is a swan' but not both then Greg is a rhino.,It is almost certain that 'Greg is a rhino 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.02::factA. 0.5::factB. 0.2::factC. %hop1 0.8::factX:-and(factA,factB). 0.1::factY:-or(factA,factC). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.00108,0.4278855771154231,train,impossible,almost certain,It is impossible that 'Greg is a rhino and Lily is gray'.,It is almost certain that 'Greg is a rhino and Lily is gray'.,0,'Greg is a rhino and Lily is gray'. It is probable that Jeff discarded the milk. We believe that Antoine is hungry. We believe that John moved to the office. There is almost no chance that if 'Antoine is hungry and John moved to the office' then Mary went to the garden. It is probable that if 'Jeff discarded the milk and John moved to the office' then Jessica is a wolf. It is improbable that if either 'Antoine is hungry' or 'Jeff discarded the milk' but not both then Greg is yellow.,It is unlikely that 'Antoine is hungry' 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. 0.75::factB. 0.75::factC. %hop1 0.02::factX:-and(factB,factC). 0.7::factY:-and(factA,factC). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.9375,0.5771154230846169,train,almost certain,unlikely,It is almost certain that 'Antoine is hungry' or 'John moved to the office' or both.,It is unlikely that 'Antoine is hungry' or 'John moved to the office' or both.,0,'Antoine is hungry' or 'John moved to the office' or both. Chances are about even that Sandra dropped the milk. It is highly likely that Greg is a swan. Chances are about even that John moved to the office. It is probably not the case that if 'Greg is a swan and John moved to the office' then Bernhard is a swan. It is impossible that if 'Sandra dropped the milk and John moved to the office' then Lily is gray. There is a better than even chance that if 'Greg is a swan and Sandra dropped the milk' then Brian is a frog.,It is improbable that either 'Greg is a swan' 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.9::factB. 0.5::factC. %hop1 0.25::factX:-and(factB,factC). 0.0::factY:-and(factA,factC). 0.6::factZ:-and(factB,factA). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.6300000000000001,0.007001400280056011,train,better than even,improbable,There is a better than even chance that either 'Greg is a swan' or 'Brian is a frog' but not both.,It is improbable that either 'Greg is a swan' or 'Brian is a frog' but not both.,0,Either 'Greg is a swan' or 'Brian is a frog' but not both. We believe that Mary left the football. It is improbable that Brian is a frog. Chances are about even that John moved to the garden. It is certain that if either 'John moved to the garden' or 'Brian is a frog' but not both then Gertrude is a cat. Chances are slight that if 'Brian is a frog and John moved to the garden' then Greg is green. There is a very good chance that if 'John moved to the garden' or 'Mary left the football' or both then Lily is a swan.,It is impossible that 'John moved to the garden 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.75::factA. 0.1::factB. 0.5::factC. %hop1 1.0::factX:-xor(factC,factB). 0.1::factY:-and(factB,factC). 0.8::factZ:-or(factC,factA). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.005000000000000002,0.3236647329465893,train,impossible,likely,It is impossible that 'John moved to the garden and Greg is green'.,It is likely that 'John moved to the garden and Greg is green'.,1,'John moved to the garden and Greg is green'. We believe that Bernhard is yellow. Chances are about even that Brian is green. It is certain that Mary picked up the milk. It is highly unlikely that if 'Brian is green' or 'Mary picked up the milk' or both then Winona is a wolf. Chances are slight that if either 'Brian is green' or 'Bernhard is yellow' but not both then John left the football. There is almost no chance that if either 'Mary picked up the milk' or 'Bernhard is yellow' but not both then Julius is a rhino.,It is impossible that either 'Brian is green' 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.75::factA. 0.5::factB. 1.0::factC. %hop1 0.05::factX:-or(factB,factC). 0.1::factY:-xor(factB,factA). 0.02::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.5000000000000001,0.3722744548909782,train,about even,impossible,Chances are about even that either 'Brian is green' or 'Julius is a rhino' but not both.,It is impossible that either 'Brian is green' or 'Julius is a rhino' but not both.,0,Either 'Brian is green' or 'Julius is a rhino' but not both. It is highly unlikely that Sandra left the apple. It is impossible that Gertrude is a sheep. It is probably not the case that John put down the milk. Chances are about even that if 'Sandra left the apple' or 'John put down the milk' or both then Julius is a lion. It is likely that if 'Gertrude is a sheep and John put down the milk' then Winona is a wolf. We doubt that if 'Sandra left the apple and John put down the milk' then Lily is a swan.,It is almost certain that either 'Winona is a wolf' 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.05::factA. 0.0::factB. 0.25::factC. %hop1 0.5::factX:-or(factA,factC). 0.7::factY:-and(factB,factC). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.0,0.4420884176835367,train,impossible,almost certain,It is impossible that either 'Winona is a wolf' or 'Gertrude is a sheep' but not both.,It is almost certain that either 'Winona is a wolf' or 'Gertrude is a sheep' but not both.,0,Either 'Winona is a wolf' or 'Gertrude is a sheep' but not both. It is highly unlikely that John moved to the office. We believe that Winona is a sheep. It is likely that Daniel dropped the apple. It is highly likely that if either 'Winona is a sheep' or 'Daniel dropped the apple' but not both then Antoine is thirsty. It is unlikely that if 'Daniel dropped the apple and John moved to the office' then Greg is green. It is impossible that if either 'Winona is a sheep' or 'Daniel dropped the apple' but not both then Gertrude is a sheep.,It is probably not the case that 'Antoine is thirsty' 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 0.05::factA. 0.75::factB. 0.7::factC. %hop1 0.9::factX:-xor(factB,factC). 0.2::factY:-and(factC,factA). 0.0::factZ:-xor(factB,factC). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.36000000000000004,0.7833566713342669,train,probably not,highly likely,It is probably not the case that 'Antoine is thirsty' or 'Gertrude is a sheep' or both.,It is highly likely that 'Antoine is thirsty' or 'Gertrude is a sheep' or both.,1,'Antoine is thirsty' or 'Gertrude is a sheep' or both. Chances are about even that Lily is a rhino. There is little chance that Daniel dropped the apple. It is impossible that Winona is a sheep. It is probably not the case that if 'Daniel dropped the apple and Lily is a rhino' then Greg is a swan. There is a very good chance that if either 'Lily is a rhino' or 'Winona is a sheep' but not both then Bernhard is a lion. There is a better than even chance that if 'Winona is a sheep' or 'Daniel dropped the apple' or both then John left the milk.,It is improbable that either 'Daniel dropped 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.5::factA. 0.1::factB. 0.0::factC. %hop1 0.25::factX:-and(factB,factA). 0.8::factY:-xor(factA,factC). 0.6::factZ:-or(factC,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.08750000000000001,0.711742348469694,train,improbable,highly likely,It is improbable that either 'Daniel dropped the apple' or 'Greg is a swan' but not both.,It is highly likely that either 'Daniel dropped the apple' or 'Greg is a swan' but not both.,1,Either 'Daniel dropped the apple' or 'Greg is a swan' but not both. It is probably not the case that Mary grabbed the milk. There is a better than even chance that Bernhard is green. It is probably not the case that Daniel left the milk. It is probably not the case that if either 'Mary grabbed the milk' or 'Bernhard is green' but not both then Lily is white. Chances are about even that if 'Daniel left the milk and Bernhard is green' then Winona is a sheep. It is impossible that if 'Mary grabbed the milk' or 'Bernhard is green' or both then Brian is a frog.,There is almost no chance that 'Daniel left the milk 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.25::factA. 0.6::factB. 0.25::factC. %hop1 0.25::factX:-xor(factA,factB). 0.5::factY:-and(factC,factB). 0.0::factZ:-or(factA,factB). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.03437500000000001,0.34786957391478296,train,almost no chance,probably,There is almost no chance that 'Daniel left the milk and Lily is white'.,It is probably the case that 'Daniel left the milk and Lily is white'.,1,'Daniel left the milk and Lily is white'. It is likely that Greg is a rhino. There is a better than even chance that Jessica is a sheep. It is certain that Lily is a lion. There is a better than even chance that if 'Lily is a lion' or 'Jessica is a sheep' or both then John left the milk. There is little chance that if 'Jessica is a sheep and Greg is a rhino' then Julius is gray. It is improbable that if either 'Lily is a lion' or 'Jessica is a sheep' but not both then Bernhard is yellow.,It is highly likely that 'John left the milk' 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.6::factB. 1.0::factC. %hop1 0.6::factX:-or(factC,factB). 0.1::factY:-and(factB,factA). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.88,0.15123024604920984,train,highly likely,improbable,It is highly likely that 'John left the milk' or 'Greg is a rhino' or both.,It is improbable that 'John left the milk' or 'Greg is a rhino' or both.,1,'John left the milk' or 'Greg is a rhino' or both. There is almost no chance that Mary moved to the garden. It is probably the case that John grabbed the apple. We believe that Sandra left the milk. We doubt that if 'John grabbed the apple' or 'Sandra left the milk' or both then Julius is a frog. There is a better than even chance that if 'Mary moved to the garden and John grabbed the apple' then Bernhard is green. It is probably the case that if 'Mary moved to the garden and John grabbed the apple' then Greg is a frog.,It is impossible that 'Greg is a frog 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.02::factA. 0.7::factB. 0.75::factC. %hop1 0.2::factX:-or(factB,factC). 0.6::factY:-and(factA,factB). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.005880000000000003,0.06761352270454091,train,impossible,certain,It is impossible that 'Greg is a frog and Bernhard is green'.,It is certain that 'Greg is a frog and Bernhard is green'.,1,'Greg is a frog and Bernhard is green'. Chances are slight that Bernhard is a swan. It is likely that John left the apple. It is improbable that Mary put down the apple. It is unlikely that if 'Mary put down the apple' or 'John left the apple' or both then Bill moved to the office. It is unlikely that if 'Mary put down the apple' or 'Bernhard is a swan' or both then Greg is a frog. It is almost certain that if 'John left the apple and Bernhard is a swan' then Brian is a rhino.,It is improbable that 'Greg is a frog' or 'Mary 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.1::factA. 0.7::factB. 0.1::factC. %hop1 0.2::factX:-or(factC,factB). 0.2::factY:-or(factC,factA). 0.95::factZ:-and(factB,factA). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.11800000000000002,0.5769153830766153,train,improbable,highly likely,It is improbable that 'Greg is a frog' or 'Mary put down the apple' or both.,It is highly likely that 'Greg is a frog' or 'Mary put down the apple' or both.,1,'Greg is a frog' or 'Mary put down the apple' or both. It is almost certain that Julius is a swan. Chances are about even that Greg is a lion. There is almost no chance that Mary took the football. It is almost certain that if either 'Greg is a lion' or 'Julius is a swan' but not both then Brian is a rhino. It is unlikely that if 'Mary took the football' or 'Greg is a lion' or both then Sandra left the milk. There is little chance that if either 'Mary took the football' or 'Greg is a lion' but not both then John went to the garden.,There is almost no chance that 'Brian is a rhino' 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.95::factA. 0.5::factB. 0.02::factC. %hop1 0.95::factX:-xor(factB,factA). 0.2::factY:-or(factC,factB). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.570445,0.1242248449689938,train,better than even,almost no chance,There is a better than even chance that 'Brian is a rhino' or 'Sandra left the milk' or both.,There is almost no chance that 'Brian is a rhino' or 'Sandra left the milk' or both.,0,'Brian is a rhino' or 'Sandra left the milk' or both. There is a very good chance that Greg is a frog. It is certain that Brian is a lion. There is a very good chance that Mary went to the office. It is highly unlikely that if 'Brian is a lion and Mary went to the office' then Daniel dropped the milk. It is certain that if 'Brian is a lion and Greg is a frog' then Bernhard is a swan. It is impossible that if 'Greg is a frog' or 'Brian is a lion' or both then Sandra grabbed the apple.,There is a very good chance that 'Mary went to the office and Daniel 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. 1.0::factB. 0.8::factC. %hop1 0.05::factX:-and(factB,factC). 1.0::factY:-and(factB,factA). 0.0::factZ:-or(factA,factB). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.04000000000000001,0.17163432686537308,train,highly unlikely,very good chance,It is highly unlikely that 'Mary went to the office and Daniel dropped the milk'.,There is a very good chance that 'Mary went to the office and Daniel dropped the milk'.,0,'Mary went to the office and Daniel dropped the milk'. It is highly unlikely that Julius is a swan. It is probably the case that Sandra left the milk. It is highly unlikely that Gertrude is a cat. It is highly unlikely that if 'Julius is a swan and Gertrude is a cat' then Greg is yellow. It is probably not the case that if 'Gertrude is a cat' or 'Sandra left the milk' or both then Lily is a lion. It is probably not the case that if either 'Julius is a swan' or 'Gertrude is a cat' but not both then Brian is gray.,There is a better than even chance that 'Greg is yellow 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.05::factA. 0.7::factB. 0.05::factC. %hop1 0.05::factX:-and(factA,factC). 0.25::factY:-or(factC,factB). 0.25::factZ:-xor(factA,factC). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.0,0.1254250850170034,train,impossible,better than even,It is impossible that 'Greg is yellow and Brian is gray'.,There is a better than even chance that 'Greg is yellow and Brian is gray'.,0,'Greg is yellow and Brian is gray'. It is highly likely that Emily is a mouse. It is highly likely that Mary went to the garden. There is a very good chance that Jessica is a sheep. It is highly unlikely that if 'Mary went to the garden' or 'Emily is a mouse' or both then Lily is a rhino. There is almost no chance that if 'Jessica is a sheep' or 'Mary went to the garden' or both then Daniel dropped the apple. There is a very good chance that if 'Emily is a mouse' or 'Mary went to the garden' or both then Bernhard is gray.,It is certain that 'Jessica is a sheep' or 'Emily 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.9::factB. 0.8::factC. %hop1 0.05::factX:-or(factB,factA). 0.02::factY:-or(factC,factB). 0.8::factZ:-or(factA,factB). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.98,0.6963392678535707,train,certain,almost no chance,It is certain that 'Jessica is a sheep' or 'Emily is a mouse' or both.,There is almost no chance that 'Jessica is a sheep' or 'Emily is a mouse' or both.,1,'Jessica is a sheep' or 'Emily is a mouse' or both. It is probably not the case that Julius is yellow. It is unlikely that Bernhard is green. It is likely that John dropped the milk. It is unlikely that if either 'John dropped the milk' or 'Julius is yellow' but not both then Sandra left the milk. It is almost certain that if 'Bernhard is green and John dropped the milk' then Brian is a swan. It is impossible that if 'John dropped the milk' or 'Julius is yellow' or both then Lily is a rhino.,There is a better than even chance that either 'Brian is a swan' 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.25::factA. 0.2::factB. 0.7::factC. %hop1 0.2::factX:-xor(factC,factA). 0.95::factY:-and(factB,factC). 0.0::factZ:-or(factC,factA). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.567,0.40928185637127423,train,better than even,chances are slight,There is a better than even chance that either 'Brian is a swan' or 'John dropped the milk' but not both.,Chances are slight that either 'Brian is a swan' or 'John dropped the milk' but not both.,1,Either 'Brian is a swan' or 'John dropped the milk' but not both. It is probably not the case that Sandra dropped the milk. It is probably the case that Julius is a swan. It is probably not the case that Mary went to the garden. It is likely that if 'Mary went to the garden and Sandra dropped the milk' then Bernhard is yellow. It is unlikely that if 'Sandra dropped the milk' or 'Julius is a swan' or both then Brian is yellow. It is unlikely that if 'Mary went to the garden' or 'Julius is a swan' or both then Winona is a mouse.,It is likely that either 'Mary went to the garden' 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.25::factA. 0.7::factB. 0.25::factC. %hop1 0.7::factX:-and(factC,factA). 0.2::factY:-or(factA,factB). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.305,0.3130626125225045,train,probably not,likely,It is probably not the case that either 'Mary went to the garden' or 'Winona is a mouse' but not both.,It is likely that either 'Mary went to the garden' or 'Winona is a mouse' but not both.,0,Either 'Mary went to the garden' or 'Winona is a mouse' but not both. It is impossible that Winona is a sheep. There is little chance that Emily is a wolf. We doubt that Brian is a lion. It is highly likely that if 'Brian is a lion and Winona is a sheep' then Bernhard is white. We believe that if 'Winona is a sheep' or 'Brian is a lion' or both then Fred discarded the apple. It is likely that if 'Brian is a lion and Winona is a sheep' then John left the football.,It is unlikely that 'John left the football' 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.0::factA. 0.1::factB. 0.2::factC. %hop1 0.9::factX:-and(factC,factA). 0.75::factY:-or(factA,factC). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.2,0.10142028405681136,train,unlikely,we believe,It is unlikely that 'John left the football' or 'Brian is a lion' or both.,We believe that 'John left the football' or 'Brian is a lion' or both.,1,'John left the football' or 'Brian is a lion' or both. It is unlikely that Julius is a rhino. It is probably the case that Jeff moved to the garden. It is certain that Jason is tired. There is little chance that if either 'Jeff moved to the garden' or 'Julius is a rhino' but not both then Jessica is a cat. It is probably not the case that if 'Jeff moved to the garden' or 'Julius is a rhino' or both then John dropped the milk. There is little chance that if either 'Jeff moved to the garden' or 'Jason is tired' but not both then Brian is a frog.,It is probably not the case that either 'Julius is a rhino' 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.2::factA. 0.7::factB. 1.0::factC. %hop1 0.1::factX:-xor(factB,factA). 0.25::factY:-or(factB,factA). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.29000000000000004,0.0664132826565313,train,probably not,almost certain,It is probably not the case that either 'Julius is a rhino' or 'John dropped the milk' but not both.,It is almost certain that either 'Julius is a rhino' or 'John dropped the milk' but not both.,1,Either 'Julius is a rhino' or 'John dropped the milk' but not both. It is likely that Brian is a frog. It is probably not the case that Jeff moved to the office. There is little chance that Greg is green. It is probably the case that if either 'Jeff moved to the office' or 'Greg is green' but not both then Sandra left the milk. It is certain that if 'Greg is green and Jeff moved to the office' then Bernhard is yellow. There is little chance that if either 'Greg is green' or 'Brian is a frog' but not both then Julius is white.,Chances are slight that 'Brian is a frog 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.7::factX:-xor(factB,factC). 1.0::factY:-and(factC,factB). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-and(factA,factX). query(conclusion). ",0.147,0.3022604520904181,train,chances are slight,certain,Chances are slight that 'Brian is a frog and Sandra left the milk'.,It is certain that 'Brian is a frog and Sandra left the milk'.,1,'Brian is a frog and Sandra left the milk'. There is a very good chance that Lily is white. It is improbable that Mary dropped the milk. Chances are about even that Emily is a mouse. It is likely that if 'Mary dropped the milk and Lily is white' then Brian is yellow. It is improbable that if either 'Mary dropped the milk' or 'Emily is a mouse' but not both then Winona is a sheep. Chances are slight that if 'Emily is a mouse and Mary dropped the milk' then John got the apple.,It is almost certain that either 'Lily is white' 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.8::factA. 0.1::factB. 0.5::factC. %hop1 0.7::factX:-and(factB,factA). 0.1::factY:-xor(factB,factC). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5,0.2910582116423285,train,about even,almost certain,Chances are about even that either 'Lily is white' or 'Emily is a mouse' but not both.,It is almost certain that either 'Lily is white' or 'Emily is a mouse' but not both.,0,Either 'Lily is white' or 'Emily is a mouse' but not both. It is almost certain that Jeff moved to the office. It is highly unlikely that Lily is white. It is likely that John dropped the milk. Chances are slight that if either 'John dropped the milk' or 'Lily is white' but not both then Jessica is a cat. It is probably the case that if 'Jeff moved to the office' or 'Lily is white' or both then Mary went to the garden. We believe that if 'Lily is white and Jeff moved to the office' then Brian is a lion.,There is almost no chance that 'Jessica is a cat' 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.95::factA. 0.05::factB. 0.7::factC. %hop1 0.1::factX:-xor(factC,factB). 0.7::factY:-or(factA,factB). 0.75::factZ:-and(factB,factA). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.9533999999999999,0.024004800960192037,train,almost certain,almost no chance,It is almost certain that 'Jessica is a cat' or 'Jeff moved to the office' or both.,There is almost no chance that 'Jessica is a cat' or 'Jeff moved to the office' or both.,0,'Jessica is a cat' or 'Jeff moved to the office' or both. It is probably the case that Fred discarded the apple. There is a very good chance that Julius is a rhino. It is unlikely that Emily is a sheep. There is little chance that if 'Fred discarded the apple' or 'Julius is a rhino' or both then Brian is green. It is improbable that if 'Fred discarded the apple and Julius is a rhino' then Sandra left the football. It is almost certain that if 'Julius is a rhino' or 'Emily is a sheep' or both then Bill went to the garden.,It is probably the case that 'Emily is a sheep 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.7::factA. 0.8::factB. 0.2::factC. %hop1 0.1::factX:-or(factA,factB). 0.1::factY:-and(factA,factB). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.16000000000000003,0.0036007201440288058,train,unlikely,probably,It is unlikely that 'Emily is a sheep and Julius is a rhino'.,It is probably the case that 'Emily is a sheep and Julius is a rhino'.,0,'Emily is a sheep and Julius is a rhino'. It is unlikely that Lily is green. It is highly likely that Greg is a lion. Chances are slight that Julius is a rhino. It is probably the case that if either 'Lily is green' or 'Greg is a lion' but not both then Mary left the football. It is highly unlikely that if 'Greg is a lion' or 'Julius is a rhino' or both then John picked up the milk. There is little chance that if either 'Lily is green' or 'Greg is a lion' but not both then Bernhard is a swan.,It is probably not the case that 'Lily is green' 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.2::factA. 0.9::factB. 0.1::factC. %hop1 0.7::factX:-xor(factA,factB). 0.05::factY:-or(factB,factC). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.2720000000000001,0.2556511302260452,train,probably not,certain,It is probably not the case that 'Lily is green' or 'Bernhard is a swan' or both.,It is certain that 'Lily is green' or 'Bernhard is a swan' or both.,1,'Lily is green' or 'Bernhard is a swan' or both. It is probably the case that Greg is a swan. It is highly likely that Jessica is a cat. We doubt that Julius is a rhino. It is highly likely that if 'Jessica is a cat' or 'Greg is a swan' or both then Lily is a frog. It is highly likely that if either 'Jessica is a cat' or 'Julius is a rhino' but not both then Brian is yellow. It is probable that if 'Jessica is a cat and Greg is a swan' then Winona is a wolf.,It is probably not the case that 'Brian is yellow 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.7::factA. 0.9::factB. 0.2::factC. %hop1 0.9::factX:-or(factB,factA). 0.9::factY:-xor(factB,factC). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.31751999999999997,0.135627125425085,train,probably not,likely,It is probably not the case that 'Brian is yellow and Winona is a wolf'.,It is likely that 'Brian is yellow and Winona is a wolf'.,1,'Brian is yellow and Winona is a wolf'. Chances are slight that Bill moved to the office. Chances are about even that John went to the garden. There is almost no chance that Greg is a rhino. Chances are slight that if 'John went to the garden' or 'Greg is a rhino' or both then Bernhard is yellow. It is almost certain that if 'Bill moved to the office and Greg is a rhino' then Mary dropped the milk. It is almost certain that if either 'John went to the garden' or 'Bill moved to the office' but not both then Brian is a frog.,Chances are about even that 'Bill moved to the office 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.5::factB. 0.02::factC. %hop1 0.1::factX:-or(factB,factC). 0.95::factY:-and(factA,factC). 0.95::factZ:-xor(factB,factA). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.05000000000000001,0.5779155831166233,train,highly unlikely,about even,It is highly unlikely that 'Bill moved to the office and John went to the garden'.,Chances are about even that 'Bill moved to the office and John went to the garden'.,0,'Bill moved to the office and John went to the garden'. It is probably the case that John picked up the apple. There is little chance that Mary went to the kitchen. It is probably not the case that Greg is white. There is a better than even chance that if 'Greg is white' or 'John picked up the apple' or both then Sandra dropped the milk. It is highly likely that if 'Mary went to the kitchen and John picked up the apple' then Lily is yellow. Chances are slight that if 'Greg is white and Mary went to the kitchen' then Jason is tired.,It is probably not the case that 'Greg is white' 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.7::factA. 0.1::factB. 0.25::factC. %hop1 0.6::factX:-or(factC,factA). 0.9::factY:-and(factB,factA). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.29724999999999996,0.49149829965993197,train,probably not,very good chance,It is probably not the case that 'Greg is white' or 'Lily is yellow' or both.,There is a very good chance that 'Greg is white' or 'Lily is yellow' or both.,1,'Greg is white' or 'Lily is yellow' or both. We doubt that Mary went to the garden. There is little chance that Greg is yellow. It is improbable that Bernhard is a rhino. There is almost no chance that if 'Greg is yellow and Bernhard is a rhino' then Emily is a cat. It is certain that if 'Mary went to the garden' or 'Bernhard is a rhino' or both then John got the apple. Chances are about even that if either 'Bernhard is a rhino' or 'Mary went to the garden' but not both then Lily is a lion.,It is certain that either 'Bernhard is a rhino' or 'John 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.1::factB. 0.1::factC. %hop1 0.02::factX:-and(factB,factC). 1.0::factY:-or(factA,factC). 0.5::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.18000000000000002,0.23504700940188036,train,we doubt,certain,We doubt that either 'Bernhard is a rhino' or 'John got the apple' but not both.,It is certain that either 'Bernhard is a rhino' or 'John got the apple' but not both.,0,Either 'Bernhard is a rhino' or 'John got the apple' but not both. There is a better than even chance that Brian is yellow. It is unlikely that Sandra dropped the milk. It is certain that Bernhard is a swan. It is likely that if either 'Brian is yellow' or 'Sandra dropped the milk' but not both then Julius is gray. It is probably not the case that if either 'Sandra dropped the milk' or 'Brian is yellow' but not both then Emily is a wolf. It is probably the case that if 'Bernhard is a swan and Sandra dropped the milk' then Lily is white.,Chances are slight that 'Lily is white 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.6::factA. 0.2::factB. 1.0::factC. %hop1 0.7::factX:-xor(factA,factB). 0.25::factY:-xor(factB,factA). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.084,0.4548909781956391,train,chances are slight,certain,Chances are slight that 'Lily is white and Brian is yellow'.,It is certain that 'Lily is white and Brian is yellow'.,1,'Lily is white and Brian is yellow'. There is little chance that Brian is a frog. It is probably the case that Daniel got the milk. There is a better than even chance that Julius is a lion. It is probably not the case that if either 'Julius is a lion' or 'Brian is a frog' but not both then Emily is a mouse. There is little chance that if either 'Daniel got the milk' or 'Brian is a frog' but not both then Lily is green. There is a better than even chance that if 'Julius is a lion' or 'Daniel got the milk' or both then Mary moved to the office.,Chances are about even that either 'Mary moved to the office' or 'Lily 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.7::factB. 0.6::factC. %hop1 0.25::factX:-xor(factC,factA). 0.1::factY:-xor(factB,factA). 0.6::factZ:-or(factC,factB). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.5162399999999999,0.07241448289657931,train,about even,highly unlikely,Chances are about even that either 'Mary moved to the office' or 'Lily is green' but not both.,It is highly unlikely that either 'Mary moved to the office' or 'Lily is green' but not both.,1,Either 'Mary moved to the office' or 'Lily is green' but not both. We doubt that Lily is a swan. Chances are about even that Winona is a wolf. It is unlikely that Julius is yellow. It is certain that if either 'Julius is yellow' or 'Lily is a swan' but not both then Bernhard is green. It is likely that if 'Julius is yellow' or 'Lily is a swan' or both then Yann is hungry. There is little chance that if either 'Winona is a wolf' or 'Julius is yellow' but not both then Mary went to the office.,It is probably not the case that either 'Mary went to the office' or 'Yann is hungry' 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 1.0::factX:-xor(factC,factA). 0.7::factY:-or(factC,factA). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.2768000000000001,0.4870974194838968,train,probably not,probably,It is probably not the case that either 'Mary went to the office' or 'Yann is hungry' but not both.,It is probably the case that either 'Mary went to the office' or 'Yann is hungry' but not both.,1,Either 'Mary went to the office' or 'Yann is hungry' but not both. It is highly likely that Greg is a rhino. Chances are slight that Mary took the football. Chances are slight that Bernhard is a swan. It is probably the case that if either 'Bernhard is a swan' or 'Greg is a rhino' but not both then Julius is a frog. We doubt that if either 'Greg is a rhino' or 'Bernhard is a swan' but not both then Brian is green. It is probably the case that if either 'Mary took the football' or 'Bernhard is a swan' but not both then John moved to the garden.,It is highly likely that 'John moved to the garden' 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.9::factA. 0.1::factB. 0.1::factC. %hop1 0.7::factX:-xor(factC,factA). 0.2::factY:-xor(factA,factC). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.27740000000000004,0.39947989597919586,train,probably not,highly likely,It is probably not the case that 'John moved to the garden' or 'Brian is green' or both.,It is highly likely that 'John moved to the garden' or 'Brian is green' or both.,0,'John moved to the garden' or 'Brian is green' or both. It is probably the case that John moved to the office. It is highly likely that Gertrude is a sheep. It is probable that Bernhard is a frog. Chances are about even that if either 'John moved to the office' or 'Gertrude is a sheep' but not both then Lily is a lion. We believe that if 'Bernhard is a frog' or 'John moved to the office' or both then Mary went to the garden. It is likely that if either 'Bernhard is a frog' or 'Gertrude is a sheep' but not both then Greg is gray.,It is probably not the case that 'Mary went to the garden' 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 0.7::factA. 0.9::factB. 0.7::factC. %hop1 0.5::factX:-xor(factA,factB). 0.75::factY:-or(factC,factA). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.9682499999999999,0.24044808961792358,train,almost certain,probably not,It is almost certain that 'Mary went to the garden' or 'Gertrude is a sheep' or both.,It is probably not the case that 'Mary went to the garden' or 'Gertrude is a sheep' or both.,0,'Mary went to the garden' or 'Gertrude is a sheep' or both. It is impossible that Mary went to the hallway. It is probable that Greg is white. It is probably not the case that Bernhard is a frog. We believe that if 'Mary went to the hallway' or 'Bernhard is a frog' or both then Emily is a wolf. It is highly likely that if either 'Bernhard is a frog' or 'Mary went to the hallway' but not both then Brian is a rhino. It is impossible that if 'Mary went to the hallway and Bernhard is a frog' then John moved to the garden.,There is almost no chance that either 'Bernhard is a frog' 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.0::factA. 0.7::factB. 0.25::factC. %hop1 0.75::factX:-or(factA,factC). 0.9::factY:-xor(factC,factA). 0.0::factZ:-and(factA,factC). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.02499999999999999,0.30126025205041007,train,almost no chance,probably,There is almost no chance that either 'Bernhard is a frog' or 'Brian is a rhino' but not both.,It is probably the case that either 'Bernhard is a frog' or 'Brian is a rhino' but not both.,1,Either 'Bernhard is a frog' or 'Brian is a rhino' but not both. There is almost no chance that Mary went to the bedroom. Chances are about even that Brian is green. We believe that Lily is green. It is likely that if 'Brian is green' or 'Lily is green' or both then Greg is a swan. It is highly likely that if 'Mary went to the bedroom' or 'Lily is green' or both then Julius is a lion. It is likely that if 'Mary went to the bedroom and Brian is green' then Daniel got the football.,We doubt that 'Lily is green' or 'Daniel 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.02::factA. 0.5::factB. 0.75::factC. %hop1 0.7::factX:-or(factB,factC). 0.9::factY:-or(factA,factC). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.75175,0.1978395679135827,train,we believe,we doubt,We believe that 'Lily is green' or 'Daniel got the football' or both.,We doubt that 'Lily is green' or 'Daniel got the football' or both.,0,'Lily is green' or 'Daniel got the football' or both. It is almost certain that Mary went to the office. It is almost certain that Greg is a swan. It is impossible that Jason is tired. It is highly unlikely that if 'Mary went to the office' or 'Jason is tired' or both then Brian is a swan. It is probably the case that if 'Greg is a swan' or 'Mary went to the office' or both then Lily is a frog. It is likely that if either 'Jason is tired' or 'Greg is a swan' but not both then Daniel got the apple.,It is almost certain that 'Mary went to the office' 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 0.95::factA. 0.95::factB. 0.0::factC. %hop1 0.05::factX:-or(factA,factC). 0.7::factY:-or(factB,factA). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-or(factA,factC). query(conclusion). ",0.95,0.5081016203240648,train,almost certain,chances are slight,It is almost certain that 'Mary went to the office' or 'Jason is tired' or both.,Chances are slight that 'Mary went to the office' or 'Jason is tired' or both.,1,'Mary went to the office' or 'Jason is tired' or both. There is almost no chance that Julius is green. There is little chance that Jessica is a cat. It is probably the case that Greg is a swan. There is a better than even chance that if either 'Greg is a swan' or 'Julius is green' but not both then Sandra dropped the milk. There is a very good chance that if either 'Julius is green' or 'Greg is a swan' but not both then Lily is yellow. It is impossible that if either 'Greg is a swan' or 'Julius is green' but not both then Bernhard is white.,There is almost no chance that either 'Julius is green' 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.02::factA. 0.1::factB. 0.7::factC. %hop1 0.6::factX:-xor(factC,factA). 0.8::factY:-xor(factA,factC). 0.0::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.02,0.23184636927385477,train,almost no chance,very good chance,There is almost no chance that either 'Julius is green' or 'Bernhard is white' but not both.,There is a very good chance that either 'Julius is green' or 'Bernhard is white' but not both.,1,Either 'Julius is green' or 'Bernhard is white' but not both. Chances are about even that Jessica is a mouse. Chances are about even that Lily is gray. It is certain that Mary went to the garden. It is impossible that if either 'Lily is gray' or 'Mary went to the garden' but not both then Sandra left the football. It is highly unlikely that if 'Lily is gray' or 'Mary went to the garden' or both then Greg is yellow. It is improbable that if 'Lily is gray and Jessica is a mouse' then Julius is a lion.,It is likely that either 'Greg is yellow' or 'Sandra 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.5::factA. 0.5::factB. 1.0::factC. %hop1 0.0::factX:-xor(factB,factC). 0.05::factY:-or(factB,factC). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.05000000000000001,0.0008001600320064013,train,highly unlikely,likely,It is highly unlikely that either 'Greg is yellow' or 'Sandra left the football' but not both.,It is likely that either 'Greg is yellow' or 'Sandra left the football' but not both.,0,Either 'Greg is yellow' or 'Sandra left the football' but not both. It is impossible that Julius is yellow. It is certain that Gertrude is a sheep. It is highly unlikely that Bernhard is gray. We doubt that if 'Julius is yellow and Bernhard is gray' then Fred left the football. It is likely that if either 'Gertrude is a sheep' or 'Bernhard is gray' but not both then John went to the bedroom. It is unlikely that if 'Bernhard is gray' or 'Gertrude is a sheep' or both then Brian is a frog.,It is almost certain that either 'Brian is a frog' 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.0::factA. 1.0::factB. 0.05::factC. %hop1 0.2::factX:-and(factA,factC). 0.7::factY:-xor(factB,factC). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.2,0.7939587917583517,train,unlikely,almost certain,It is unlikely that either 'Brian is a frog' or 'Julius is yellow' but not both.,It is almost certain that either 'Brian is a frog' or 'Julius is yellow' but not both.,0,Either 'Brian is a frog' or 'Julius is yellow' but not both. Chances are about even that Emily is a wolf. There is a very good chance that Mary left the football. It is highly likely that Gertrude is a sheep. Chances are about even that if either 'Emily is a wolf' or 'Mary left the football' but not both then Lily is yellow. It is probably the case that if 'Gertrude is a sheep and Mary left the football' then Bill went to the bedroom. It is impossible that if 'Mary left the football' or 'Gertrude is a sheep' or both then Brian is a lion.,It is probable that 'Lily 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.5::factA. 0.8::factB. 0.9::factC. %hop1 0.5::factX:-xor(factA,factB). 0.7::factY:-and(factC,factB). 0.0::factZ:-or(factB,factC). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.7000000000000001,0.16183236647329466,train,probable,impossible,It is probable that 'Lily is yellow' or 'Emily is a wolf' or both.,It is impossible that 'Lily is yellow' or 'Emily is a wolf' or both.,1,'Lily is yellow' or 'Emily is a wolf' or both. It is almost certain that Julius is a rhino. It is impossible that John left the apple. There is almost no chance that Sumit is thirsty. It is probably not the case that if 'Julius is a rhino' or 'Sumit is thirsty' or both then Lily is gray. It is likely that if either 'Julius is a rhino' or 'John left the apple' but not both then Yann is hungry. It is probably not the case that if either 'John left the apple' or 'Sumit is thirsty' but not both then Mary took the football.,It is almost certain that either 'Sumit is thirsty' 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.95::factA. 0.0::factB. 0.02::factC. %hop1 0.25::factX:-or(factA,factC). 0.7::factY:-xor(factA,factB). 0.25::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.014999999999999998,0.74374874974995,train,almost no chance,almost certain,There is almost no chance that either 'Sumit is thirsty' or 'Mary took the football' but not both.,It is almost certain that either 'Sumit is thirsty' or 'Mary took the football' but not both.,0,Either 'Sumit is thirsty' or 'Mary took the football' but not both. There is almost no chance that Mary took the milk. It is likely that Fred put down the apple. There is a better than even chance that Bernhard is a rhino. We doubt that if 'Mary took the milk and Bernhard is a rhino' then Lily is green. Chances are about even that if 'Fred put down the apple and Bernhard is a rhino' then Jeff moved to the office. It is certain that if 'Bernhard is a rhino' or 'Mary took the milk' or both then Winona is a cat.,It is certain that 'Fred put down the apple 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.02::factA. 0.7::factB. 0.6::factC. %hop1 0.2::factX:-and(factA,factC). 0.5::factY:-and(factB,factC). 1.0::factZ:-or(factC,factA). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.014000000000000007,0.17903580716143228,train,almost no chance,certain,There is almost no chance that 'Fred put down the apple and Mary took the milk'.,It is certain that 'Fred put down the apple and Mary took the milk'.,0,'Fred put down the apple and Mary took the milk'. It is probable that Mary grabbed the apple. It is impossible that Lily is a swan. It is unlikely that Greg is a lion. It is unlikely that if either 'Greg is a lion' or 'Lily is a swan' but not both then Winona is a cat. It is highly unlikely that if 'Lily is a swan and Greg is a lion' then Bill went to the garden. It is likely that if either 'Mary grabbed the apple' or 'Lily is a swan' but not both then Brian is green.,It is almost certain that 'Brian is green' 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.7::factA. 0.0::factB. 0.2::factC. %hop1 0.2::factX:-xor(factC,factB). 0.05::factY:-and(factB,factC). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.5104,0.016603320664132826,train,about even,almost certain,Chances are about even that 'Brian is green' or 'Winona is a cat' or both.,It is almost certain that 'Brian is green' or 'Winona is a cat' or both.,0,'Brian is green' or 'Winona is a cat' or both. It is probable that Bernhard is yellow. It is probably not the case that Brian is a frog. It is probably not the case that Bill got the milk there. It is probable that if either 'Bill got the milk there' or 'Bernhard is yellow' but not both then Greg is a swan. We doubt that if 'Bernhard is yellow and Brian is a frog' then John moved to the office. Chances are about even that if 'Brian is a frog and Bernhard is yellow' then Lily is a lion.,It is impossible that 'Greg is a swan' or 'Bill got the milk there' 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.25::factC. %hop1 0.7::factX:-xor(factC,factA). 0.2::factY:-and(factA,factB). 0.5::factZ:-and(factB,factA). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.6174999999999999,0.5747149429885977,train,better than even,impossible,There is a better than even chance that 'Greg is a swan' or 'Bill got the milk there' or both.,It is impossible that 'Greg is a swan' or 'Bill got the milk there' or both.,0,'Greg is a swan' or 'Bill got the milk there' or both. It is likely that Bernhard is a swan. It is highly likely that Julius is green. We doubt that Lily is a rhino. It is probable that if either 'Lily is a rhino' or 'Julius is green' but not both then Brian is yellow. It is likely that if either 'Lily is a rhino' or 'Julius is green' but not both then John moved to the garden. It is highly unlikely that if 'Lily is a rhino' or 'Julius is green' or both then Sandra left the milk.,Chances are slight that 'Julius is green 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.9::factB. 0.2::factC. %hop1 0.7::factX:-xor(factC,factB). 0.7::factY:-xor(factC,factB). 0.05::factZ:-or(factC,factB). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.63,0.4366873374674935,train,better than even,chances are slight,There is a better than even chance that 'Julius is green and Bernhard is a swan'.,Chances are slight that 'Julius is green and Bernhard is a swan'.,0,'Julius is green and Bernhard is a swan'. It is highly unlikely that Emily is a sheep. There is a better than even chance that Greg is a rhino. It is highly likely that Sumit is thirsty. It is likely that if 'Sumit is thirsty and Greg is a rhino' then Julius is yellow. There is almost no chance that if either 'Greg is a rhino' or 'Emily is a sheep' but not both then Daniel left the milk. It is highly unlikely that if 'Emily is a sheep' or 'Greg is a rhino' or both then Lily is a rhino.,There is a better than even chance that 'Daniel left the milk' 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.05::factA. 0.6::factB. 0.9::factC. %hop1 0.7::factX:-and(factC,factB). 0.02::factY:-xor(factB,factA). 0.05::factZ:-or(factA,factB). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.6004,0.6799359871974395,train,better than even,highly unlikely,There is a better than even chance that 'Daniel left the milk' or 'Greg is a rhino' or both.,It is highly unlikely that 'Daniel left the milk' or 'Greg is a rhino' or both.,1,'Daniel left the milk' or 'Greg is a rhino' or both. There is a very good chance that Jason is tired. We doubt that Bernhard is white. There is almost no chance that Brian is green. It is highly unlikely that if either 'Bernhard is white' or 'Jason is tired' but not both then Greg is yellow. There is little chance that if 'Bernhard is white' or 'Brian is green' or both then Mary left the milk. It is improbable that if 'Jason is tired and Brian is green' then John put down the milk.,It is improbable that either 'Bernhard is white' 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.8::factA. 0.2::factB. 0.02::factC. %hop1 0.05::factX:-xor(factB,factA). 0.1::factY:-or(factB,factC). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.68,0.38867773554710944,train,probably,improbable,It is probably the case that either 'Bernhard is white' or 'Jason is tired' but not both.,It is improbable that either 'Bernhard is white' or 'Jason is tired' but not both.,0,Either 'Bernhard is white' or 'Jason is tired' but not both. It is impossible that Julius is yellow. Chances are slight that Bill went to the garden. It is certain that Greg is gray. It is unlikely that if 'Bill went to the garden and Greg is gray' then Brian is a frog. Chances are slight that if either 'Bill went to the garden' or 'Greg is gray' but not both then Fred is in the school. It is probable that if either 'Greg is gray' or 'Julius is yellow' but not both then Mary dropped the milk.,It is highly unlikely that 'Brian is a frog' or 'Greg 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.0::factA. 0.1::factB. 1.0::factC. %hop1 0.2::factX:-and(factB,factC). 0.1::factY:-xor(factB,factC). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-or(factX,factC). query(conclusion). ",1.0,0.3222644528905781,train,certain,highly unlikely,It is certain that 'Brian is a frog' or 'Greg is gray' or both.,It is highly unlikely that 'Brian is a frog' or 'Greg is gray' or both.,0,'Brian is a frog' or 'Greg is gray' or both. It is probably not the case that Mary left the football. It is almost certain that John dropped the apple. Chances are about even that Greg is green. There is a better than even chance that if 'Greg is green and Mary left the football' then Jason is tired. We doubt that if either 'Mary left the football' or 'Greg is green' but not both then Julius is yellow. It is probable that if 'Greg is green and Mary left the football' then Lily is green.,It is probable that 'Mary left the football 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.25::factA. 0.95::factB. 0.5::factC. %hop1 0.6::factX:-and(factC,factA). 0.2::factY:-xor(factA,factC). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.08750000000000001,0.22404480896179235,train,improbable,probable,It is improbable that 'Mary left the football and Lily is green'.,It is probable that 'Mary left the football and Lily is green'.,0,'Mary left the football and Lily is green'. It is probably the case that Julius is green. It is improbable that Mary went to the bedroom. It is impossible that Bernhard is white. There is little chance that if 'Mary went to the bedroom' or 'Bernhard is white' or both then Sandra dropped the apple. It is probably not the case that if 'Julius is green and Bernhard is white' then Jason is tired. It is likely that if either 'Bernhard is white' or 'Julius is green' but not both then Lily is a lion.,It is probably the case that either 'Sandra dropped the apple' 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.7::factA. 0.1::factB. 0.0::factC. %hop1 0.1::factX:-or(factB,factC). 0.25::factY:-and(factA,factC). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.696,0.16863372674534907,train,probably,almost no chance,It is probably the case that either 'Sandra dropped the apple' or 'Julius is green' but not both.,There is almost no chance that either 'Sandra dropped the apple' or 'Julius is green' but not both.,1,Either 'Sandra dropped the apple' or 'Julius is green' but not both. There is a very good chance that Sandra left the milk. It is likely that Brian is yellow. It is unlikely that Mary moved to the garden. It is almost certain that if either 'Sandra left the milk' or 'Mary moved to the garden' but not both then Jessica is a mouse. It is almost certain that if 'Mary moved to the garden' or 'Sandra left the milk' or both then Bernhard is white. It is impossible that if 'Sandra left the milk' or 'Brian is yellow' or both then Fred dropped the milk.,Chances are slight that 'Mary moved to the garden' 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.8::factA. 0.7::factB. 0.2::factC. %hop1 0.95::factX:-xor(factA,factC). 0.95::factY:-or(factC,factA). 0.0::factZ:-or(factA,factB). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.8400000000000001,0.47929585917183437,train,very good chance,chances are slight,There is a very good chance that 'Mary moved to the garden' or 'Sandra left the milk' or both.,Chances are slight that 'Mary moved to the garden' or 'Sandra left the milk' or both.,0,'Mary moved to the garden' or 'Sandra left the milk' or both. There is a better than even chance that Bernhard is a frog. It is probable that Mary went to the office. There is a very good chance that Brian is gray. Chances are slight that if 'Mary went to the office' or 'Brian is gray' or both then Sandra got the milk. There is a very good chance that if 'Mary went to the office' or 'Brian is gray' or both then Daniel left the apple. It is highly unlikely that if either 'Bernhard is a frog' or 'Brian is gray' but not both then Greg is a rhino.,It is highly likely that 'Daniel left the apple' 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.6::factA. 0.7::factB. 0.8::factC. %hop1 0.1::factX:-or(factB,factC). 0.8::factY:-or(factB,factC). 0.05::factZ:-xor(factA,factC). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.912,0.6947389477895579,train,highly likely,probably not,It is highly likely that 'Daniel left the apple' or 'Brian is gray' or both.,It is probably not the case that 'Daniel left the apple' or 'Brian is gray' or both.,1,'Daniel left the apple' or 'Brian is gray' or both. We believe that John left the apple. There is little chance that Julius is gray. It is impossible that Bernhard is a frog. It is likely that if 'John left the apple and Bernhard is a frog' then Emily is a sheep. There is a better than even chance that if 'Bernhard is a frog' or 'Julius is gray' or both then Antoine is thirsty. Chances are about even that if 'Julius is gray and Bernhard is a frog' then Daniel grabbed the apple.,It is impossible that either 'Daniel grabbed 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. 0.1::factB. 0.0::factC. %hop1 0.7::factX:-and(factA,factC). 0.6::factY:-or(factC,factB). 0.5::factZ:-and(factB,factC). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.0,0.6843368673734747,train,impossible,almost certain,It is impossible that either 'Daniel grabbed the apple' or 'Bernhard is a frog' but not both.,It is almost certain that either 'Daniel grabbed the apple' or 'Bernhard is a frog' but not both.,1,Either 'Daniel grabbed the apple' or 'Bernhard is a frog' but not both. Chances are about even that Brian is white. It is unlikely that Winona is a cat. We believe that Bernhard is a rhino. There is almost no chance that if 'Winona is a cat' or 'Bernhard is a rhino' or both then Emily is a mouse. It is probably not the case that if 'Bernhard is a rhino and Winona is a cat' then Lily is a swan. Chances are slight that if either 'Brian is white' or 'Bernhard is a rhino' but not both then Mary dropped the milk.,It is probably not the case that either 'Winona is a cat' or 'Mary 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.5::factA. 0.2::factB. 0.75::factC. %hop1 0.02::factX:-or(factB,factC). 0.25::factY:-and(factC,factB). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.2300000000000001,0.45889177835567113,train,probably not,very good chance,It is probably not the case that either 'Winona is a cat' or 'Mary dropped the milk' but not both.,There is a very good chance that either 'Winona is a cat' or 'Mary dropped the milk' but not both.,1,Either 'Winona is a cat' or 'Mary dropped the milk' but not both. It is impossible that Greg is a swan. It is probably not the case that Bernhard is a rhino. There is a better than even chance that Sandra got the football. It is probably the case that if either 'Bernhard is a rhino' or 'Greg is a swan' but not both then John went to the office. It is probably the case that if either 'Bernhard is a rhino' or 'Greg is a swan' but not both then Jason is bored. There is a very good chance that if either 'Sandra got the football' or 'Greg is a swan' but not both then Brian is gray.,It is highly unlikely that either 'Bernhard is a rhino' 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.0::factA. 0.25::factB. 0.6::factC. %hop1 0.7::factX:-xor(factB,factA). 0.7::factY:-xor(factB,factA). 0.8::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.075,0.495499099819964,train,highly unlikely,almost certain,It is highly unlikely that either 'Bernhard is a rhino' or 'John went to the office' but not both.,It is almost certain that either 'Bernhard is a rhino' or 'John went to the office' but not both.,1,Either 'Bernhard is a rhino' or 'John went to the office' but not both. Chances are slight that Brian is a rhino. It is highly unlikely that Lily is a lion. We believe that Greg is a frog. Chances are about even that if either 'Brian is a rhino' or 'Lily is a lion' but not both then Julius is green. There is little chance that if either 'Greg is a frog' or 'Lily is a lion' but not both then John moved to the office. We believe that if 'Lily is a lion and Greg is a frog' then Bernhard is yellow.,There is almost no chance that 'Bernhard is yellow 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.1::factA. 0.05::factB. 0.75::factC. %hop1 0.5::factX:-xor(factA,factB). 0.1::factY:-xor(factC,factB). 0.75::factZ:-and(factB,factC). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.02812500000000001,0.16363272654530905,train,almost no chance,probably,There is almost no chance that 'Bernhard is yellow and Greg is a frog'.,It is probably the case that 'Bernhard is yellow and Greg is a frog'.,1,'Bernhard is yellow and Greg is a frog'. It is probable that Bill moved to the office. There is little chance that Gertrude is a mouse. It is probably not the case that Fred dropped the apple. It is highly likely that if 'Bill moved to the office and Fred dropped the apple' then John went to the hallway. There is a better than even chance that if 'Bill moved to the office' or 'Gertrude is a mouse' or both then Julius is a swan. There is a better than even chance that if 'Gertrude is a mouse' or 'Fred dropped the apple' or both then Brian is a rhino.,We doubt that 'Fred dropped 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.7::factA. 0.1::factB. 0.25::factC. %hop1 0.9::factX:-and(factA,factC). 0.6::factY:-or(factA,factB). 0.6::factZ:-or(factB,factC). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.175,0.7559511902380476,train,we doubt,probable,We doubt that 'Fred dropped the apple and Bill moved to the office'.,It is probable that 'Fred dropped the apple and Bill moved to the office'.,1,'Fred dropped the apple and Bill moved to the office'. It is highly unlikely that Julius is a lion. There is a better than even chance that Mary put down the apple. We doubt that Fred is in the cinema. It is probably the case that if either 'Fred is in the cinema' or 'Julius is a lion' but not both then Bernhard is white. It is improbable that if 'Fred is in the cinema' or 'Mary put down the apple' or both then Jeff dropped the apple. There is almost no chance that if either 'Mary put down the apple' or 'Julius is a lion' but not both then Brian is a swan.,It is almost certain that 'Jeff dropped the apple' 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.05::factA. 0.6::factB. 0.2::factC. %hop1 0.7::factX:-xor(factC,factA). 0.1::factY:-or(factC,factB). 0.02::factZ:-xor(factB,factA). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.21402000000000007,0.3128625725145029,train,unlikely,almost certain,It is unlikely that 'Jeff dropped the apple' or 'Bernhard is white' or both.,It is almost certain that 'Jeff dropped the apple' or 'Bernhard is white' or both.,0,'Jeff dropped the apple' or 'Bernhard is white' or both. It is impossible that Bernhard is gray. It is probable that Mary went to the hallway. Chances are about even that Jeff left the football. It is almost certain that if 'Bernhard is gray' or 'Jeff left the football' or both then John discarded the apple. Chances are about even that if either 'Bernhard is gray' or 'Jeff left the football' but not both then Daniel put down the milk. It is certain that if 'Mary went to the hallway' or 'Jeff left the football' or both then Julius is a frog.,Chances are slight that 'Julius is a frog' or 'Mary 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.0::factA. 0.7::factB. 0.5::factC. %hop1 0.95::factX:-or(factA,factC). 0.5::factY:-xor(factA,factC). 1.0::factZ:-or(factB,factC). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.85,0.40988197639527907,train,very good chance,chances are slight,There is a very good chance that 'Julius is a frog' or 'Mary went to the hallway' or both.,Chances are slight that 'Julius is a frog' or 'Mary went to the hallway' or both.,0,'Julius is a frog' or 'Mary went to the hallway' or both. It is probably the case that Mary put down the apple. It is probable that Sandra left the football. It is highly likely that Julius is white. It is almost certain that if either 'Mary put down the apple' or 'Julius is white' but not both then Sumit is tired. It is almost certain that if either 'Mary put down the apple' or 'Sandra left the football' but not both then Brian is green. There is almost no chance that if 'Sandra left the football and Julius is white' then Yann is thirsty.,It is probably not the case that 'Yann is thirsty' 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.7::factA. 0.7::factB. 0.9::factC. %hop1 0.95::factX:-xor(factA,factC). 0.95::factY:-xor(factA,factB). 0.02::factZ:-and(factB,factC). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.332009,0.3692738547709542,train,probably not,we believe,It is probably not the case that 'Yann is thirsty' or 'Sumit is tired' or both.,We believe that 'Yann is thirsty' or 'Sumit is tired' or both.,1,'Yann is thirsty' or 'Sumit is tired' or both. It is impossible that Greg is a lion. It is probably not the case that Mary got the milk. We believe that John put down the milk. It is improbable that if 'Greg is a lion and Mary got the milk' then Brian is a frog. It is probably not the case that if either 'Greg is a lion' or 'Mary got the milk' but not both then Sandra left the apple. We believe that if 'Greg is a lion' or 'John put down the milk' or both then Julius is yellow.,Chances are about even that 'Mary got the milk and Brian 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.25::factB. 0.75::factC. %hop1 0.1::factX:-and(factA,factB). 0.25::factY:-xor(factA,factB). 0.75::factZ:-or(factA,factC). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.0,0.397879575915183,train,impossible,about even,It is impossible that 'Mary got the milk and Brian is a frog'.,Chances are about even that 'Mary got the milk and Brian is a frog'.,0,'Mary got the milk and Brian is a frog'. There is almost no chance that Greg is white. There is little chance that Sandra got the football. It is highly likely that Julius is a lion. It is probably the case that if either 'Julius is a lion' or 'Greg is white' but not both then John put down the apple. It is almost certain that if either 'Greg is white' or 'Julius is a lion' but not both then Brian is yellow. It is improbable that if either 'Julius is a lion' or 'Sandra got the football' but not both then Lily is a rhino.,There is little chance that either 'Julius is a lion' or 'Lily 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.02::factA. 0.1::factB. 0.9::factC. %hop1 0.7::factX:-xor(factC,factA). 0.95::factY:-xor(factA,factC). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.8200000000000001,0.7709541908381676,train,very good chance,little chance,There is a very good chance that either 'Julius is a lion' or 'Lily is a rhino' but not both.,There is little chance that either 'Julius is a lion' or 'Lily is a rhino' but not both.,0,Either 'Julius is a lion' or 'Lily is a rhino' but not both. We believe that Brian is a swan. It is highly likely that Jessica is a cat. It is likely that Mary went to the hallway. It is probably the case that if 'Mary went to the hallway' or 'Jessica is a cat' or both then Jeff moved to the garden. We doubt that if either 'Jessica is a cat' or 'Mary went to the hallway' but not both then Lily is yellow. It is certain that if 'Jessica is a cat' or 'Mary went to the hallway' or both then Emily is a sheep.,There is little chance that 'Mary went to the hallway' 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 0.75::factA. 0.9::factB. 0.7::factC. %hop1 0.7::factX:-or(factC,factB). 0.2::factY:-xor(factB,factC). 1.0::factZ:-or(factB,factC). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.97,0.5585117023404681,train,almost certain,little chance,It is almost certain that 'Mary went to the hallway' or 'Jessica is a cat' or both.,There is little chance that 'Mary went to the hallway' or 'Jessica is a cat' or both.,0,'Mary went to the hallway' or 'Jessica is a cat' or both. There is a very good chance that Brian is a frog. There is almost no chance that Mary got the milk. There is little chance that John moved to the office. It is probably not the case that if 'Mary got the milk' or 'Brian is a frog' or both then Emily is a mouse. It is improbable that if 'John moved to the office and Mary got the milk' then Greg is a rhino. Chances are about even that if 'Mary got the milk' or 'Brian is a frog' or both then Bernhard is a lion.,It is probable that 'Bernhard is a lion 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.8::factA. 0.02::factB. 0.1::factC. %hop1 0.25::factX:-or(factB,factA). 0.1::factY:-and(factC,factB). 0.5::factZ:-or(factB,factA). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.1005,0.36107221444288856,train,little chance,probable,There is little chance that 'Bernhard is a lion and Emily is a mouse'.,It is probable that 'Bernhard is a lion and Emily is a mouse'.,0,'Bernhard is a lion and Emily is a mouse'. There is a better than even chance that Winona is a sheep. There is little chance that Bill moved to the office. There is almost no chance that John left the apple. It is probably not the case that if either 'John left the apple' or 'Bill moved to the office' but not both then Bernhard is yellow. There is little chance that if 'Winona is a sheep and John left the apple' then Sandra dropped the milk. There is a better than even chance that if 'Winona is a sheep and Bill moved to the office' then Julius is a frog.,There is little chance that 'Winona is a sheep' or 'Bernhard 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.6::factA. 0.1::factB. 0.02::factC. %hop1 0.25::factX:-xor(factC,factB). 0.1::factY:-and(factA,factC). 0.6::factZ:-and(factA,factB). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.6115999999999999,0.493498699739948,train,better than even,little chance,There is a better than even chance that 'Winona is a sheep' or 'Bernhard is yellow' or both.,There is little chance that 'Winona is a sheep' or 'Bernhard is yellow' or both.,0,'Winona is a sheep' or 'Bernhard is yellow' or both. There is a better than even chance that Lily is a swan. It is highly likely that Mary took the football. There is almost no chance that Brian is green. Chances are about even that if either 'Mary took the football' or 'Lily is a swan' but not both then Winona is a wolf. It is highly likely that if either 'Lily is a swan' or 'Mary took the football' but not both then Jessica is a cat. It is highly likely that if either 'Lily is a swan' or 'Mary took the football' but not both then Julius is a frog.,It is highly likely that 'Julius 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.6::factA. 0.9::factB. 0.02::factC. %hop1 0.5::factX:-xor(factB,factA). 0.9::factY:-xor(factA,factB). 0.9::factZ:-xor(factA,factB). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.924,0.29325865173034604,train,highly likely,probably not,It is highly likely that 'Julius is a frog' or 'Lily is a swan' or both.,It is probably not the case that 'Julius is a frog' or 'Lily is a swan' or both.,1,'Julius is a frog' or 'Lily is a swan' or both. There is little chance that Lily is a frog. It is almost certain that Sandra left the milk. It is almost certain that Bernhard is yellow. It is improbable that if 'Sandra left the milk' or 'Lily is a frog' or both then Jeff moved to the garden. It is probable that if 'Lily is a frog' or 'Bernhard is yellow' or both then John put down the milk. There is almost no chance that if 'Sandra left the milk' or 'Lily is a frog' or both then Gertrude is a mouse.,It is highly likely that either 'Lily is a frog' 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.95::factB. 0.95::factC. %hop1 0.1::factX:-or(factB,factA). 0.7::factY:-or(factA,factC). 0.02::factZ:-or(factB,factA). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.86,0.655131026205241,train,highly likely,chances are slight,It is highly likely that either 'Lily is a frog' or 'Bernhard is yellow' but not both.,Chances are slight that either 'Lily is a frog' or 'Bernhard is yellow' but not both.,1,Either 'Lily is a frog' or 'Bernhard is yellow' but not both. Chances are about even that Julius is yellow. It is impossible that Greg is a swan. It is certain that Jeff went to the bedroom. It is probably not the case that if 'Jeff went to the bedroom' or 'Greg is a swan' or both then John moved to the office. It is probably the case that if 'Greg is a swan' or 'Jeff went to the bedroom' or both then Brian is a frog. It is highly likely that if 'Julius is yellow' or 'Jeff went to the bedroom' or both then Mary got the milk.,It is probably not the case that 'Mary got 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.5::factA. 0.0::factB. 1.0::factC. %hop1 0.25::factX:-or(factC,factB). 0.7::factY:-or(factB,factC). 0.9::factZ:-or(factA,factC). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.9500000000000001,0.07861572314462893,train,almost certain,probably not,It is almost certain that 'Mary got the milk' or 'Julius is yellow' or both.,It is probably not the case that 'Mary got the milk' or 'Julius is yellow' or both.,0,'Mary got the milk' or 'Julius is yellow' or both. Chances are slight that Greg is a swan. It is highly likely that Antoine is bored. It is almost certain that Lily is green. Chances are about even that if 'Lily is green and Greg is a swan' then Brian is a rhino. It is impossible that if 'Greg is a swan' or 'Lily is green' or both then Julius is a lion. It is impossible that if 'Antoine is bored and Greg is a swan' then John got the milk.,Chances are slight that either 'Antoine is bored' 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.9::factB. 0.95::factC. %hop1 0.5::factX:-and(factC,factA). 0.0::factY:-or(factA,factC). 0.0::factZ:-and(factB,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.82,0.11722344468893779,train,very good chance,chances are slight,There is a very good chance that either 'Antoine is bored' or 'Greg is a swan' but not both.,Chances are slight that either 'Antoine is bored' or 'Greg is a swan' but not both.,0,Either 'Antoine is bored' or 'Greg is a swan' but not both. It is certain that John got the milk. There is a better than even chance that Fred moved to the office. It is impossible that Bernhard is gray. There is little chance that if either 'Bernhard is gray' or 'John got the milk' but not both then Greg is green. There is little chance that if either 'John got the milk' or 'Bernhard is gray' but not both then Lily is a rhino. It is probably the case that if 'Bernhard is gray and Fred moved to the office' then Mary went to the bedroom.,There is a better than even chance that either 'Fred moved to the office' 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 1.0::factA. 0.6::factB. 0.0::factC. %hop1 0.1::factX:-xor(factC,factA). 0.1::factY:-xor(factA,factC). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.6,0.40048009601920387,train,better than even,impossible,There is a better than even chance that either 'Fred moved to the office' or 'Mary went to the bedroom' but not both.,It is impossible that either 'Fred moved to the office' or 'Mary went to the bedroom' but not both.,1,Either 'Fred moved to the office' or 'Mary went to the bedroom' but not both. It is certain that Mary went to the bedroom. Chances are about even that Bernhard is a swan. It is probably the case that Julius is yellow. There is almost no chance that if 'Bernhard is a swan and Julius is yellow' then Jeff moved to the office. It is impossible that if 'Julius is yellow' or 'Bernhard is a swan' or both then John left the football. We believe that if 'Mary went to the bedroom' or 'Julius is yellow' or both then Brian is a rhino.,It is highly unlikely 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 1.0::factA. 0.5::factB. 0.7::factC. %hop1 0.02::factX:-and(factB,factC). 0.0::factY:-or(factC,factB). 0.75::factZ:-or(factA,factC). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.7,0.5599119823964793,train,likely,highly unlikely,It is likely that 'John left the football' or 'Julius is yellow' or both.,It is highly unlikely that 'John left the football' or 'Julius is yellow' or both.,0,'John left the football' or 'Julius is yellow' or both. It is highly likely that Bill went to the bedroom. It is probably the case that Emily is a cat. Chances are about even that Antoine is thirsty. It is improbable that if 'Bill went to the bedroom' or 'Emily is a cat' or both then Greg is a swan. It is probable that if 'Bill went to the bedroom' or 'Emily is a cat' or both then Brian is yellow. It is probably the case that if 'Emily is a cat and Bill went to the bedroom' then Mary is in the school.,It is highly likely that 'Greg is a swan' or 'Bill 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.9::factA. 0.7::factB. 0.5::factC. %hop1 0.1::factX:-or(factA,factB). 0.7::factY:-or(factA,factB). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.907,0.1932386477295459,train,highly likely,highly unlikely,It is highly likely that 'Greg is a swan' or 'Bill went to the bedroom' or both.,It is highly unlikely that 'Greg is a swan' or 'Bill went to the bedroom' or both.,1,'Greg is a swan' or 'Bill went to the bedroom' or both. There is a very good chance that Sandra got the football. There is a better than even chance that Brian is a frog. It is highly unlikely that Greg is white. Chances are about even that if 'Sandra got the football' or 'Greg is white' or both then John took the apple. It is unlikely that if either 'Sandra got the football' or 'Brian is a frog' but not both then Bernhard is white. We believe that if either 'Sandra got the football' or 'Greg is white' but not both then Julius is a lion.,It is impossible that either 'Julius 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.6::factB. 0.05::factC. %hop1 0.5::factX:-or(factA,factC). 0.2::factY:-xor(factA,factB). 0.75::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.6125,0.7609521904380876,train,better than even,impossible,There is a better than even chance that either 'Julius is a lion' or 'Greg is white' but not both.,It is impossible that either 'Julius is a lion' or 'Greg is white' but not both.,0,Either 'Julius is a lion' or 'Greg is white' but not both. There is little chance that Sandra got the football. There is almost no chance that Bill went to the garden. It is improbable that Julius is gray. It is impossible that if 'Sandra got the football' or 'Julius is gray' or both then Gertrude is a sheep. There is a very good chance that if either 'Sandra got the football' or 'Julius is gray' but not both then Bernhard is a frog. It is probably the case that if 'Bill went to the garden and Sandra got the football' then John dropped the apple.,There is little chance that either 'Sandra got the football' 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.1::factA. 0.02::factB. 0.1::factC. %hop1 0.0::factX:-or(factA,factC). 0.8::factY:-xor(factA,factC). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.10000000000000002,0.7823564712942589,train,little chance,certain,There is little chance that either 'Sandra got the football' or 'Bernhard is a frog' but not both.,It is certain that either 'Sandra got the football' or 'Bernhard is a frog' but not both.,1,Either 'Sandra got the football' or 'Bernhard is a frog' but not both. It is probable that Greg is yellow. Chances are about even that Bernhard is green. It is improbable that John went to the hallway. There is little chance that if 'Bernhard is green and John went to the hallway' then Sumit is thirsty. It is improbable that if either 'Bernhard is green' or 'John went to the hallway' but not both then Antoine is hungry. There is a very good chance that if 'Bernhard is green and Greg is yellow' then Julius is a frog.,We doubt that 'Sumit is thirsty' 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.7::factA. 0.5::factB. 0.1::factC. %hop1 0.1::factX:-and(factB,factC). 0.1::factY:-xor(factB,factC). 0.8::factZ:-and(factB,factA). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.7015,0.41528305661132225,train,probably,we doubt,It is probably the case that 'Sumit is thirsty' or 'Greg is yellow' or both.,We doubt that 'Sumit is thirsty' or 'Greg is yellow' or both.,0,'Sumit is thirsty' or 'Greg is yellow' or both. It is probably the case that John left the milk. We believe that Greg is a rhino. It is probable that Lily is a swan. It is likely that if either 'Greg is a rhino' or 'Lily is a swan' but not both then Brian is white. It is highly unlikely that if either 'Lily is a swan' or 'Greg is a rhino' but not both then Julius is yellow. It is probably not the case that if either 'Greg is a rhino' or 'Lily is a swan' but not both then Bernhard is a lion.,Chances are about even that 'John left the milk 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.75::factB. 0.7::factC. %hop1 0.7::factX:-xor(factB,factC). 0.05::factY:-xor(factC,factB). 0.25::factZ:-xor(factB,factC). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.48999999999999994,0.49049809961992397,train,about even,certain,Chances are about even that 'John left the milk and Lily is a swan'.,It is certain that 'John left the milk and Lily is a swan'.,1,'John left the milk and Lily is a swan'. It is probably the case that Emily is a mouse. It is probable that Greg is yellow. There is a very good chance that Sandra dropped the milk. It is probably the case that if 'Sandra dropped the milk and Greg is yellow' then Brian is a swan. It is highly unlikely that if either 'Sandra dropped the milk' or 'Emily is a mouse' but not both then Julius is gray. Chances are slight that if 'Greg is yellow' or 'Emily is a mouse' or both then Sumit is hungry.,It is probably not the case that either 'Greg is yellow' 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.7::factB. 0.8::factC. %hop1 0.7::factX:-and(factC,factB). 0.05::factY:-xor(factC,factA). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.308,0.45989197839567914,train,probably not,we believe,It is probably not the case that either 'Greg is yellow' or 'Brian is a swan' but not both.,We believe that either 'Greg is yellow' or 'Brian is a swan' but not both.,1,Either 'Greg is yellow' or 'Brian is a swan' but not both. It is almost certain that Emily is a wolf. It is highly likely that Greg is green. There is little chance that Mary dropped the milk. There is little chance that if 'Greg is green' or 'Emily is a wolf' or both then Bill moved to the office. It is probable that if 'Mary dropped the milk and Emily is a wolf' then John went to the kitchen. There is a better than even chance that if 'Mary dropped the milk and Emily is a wolf' then Julius is white.,It is probably not the case that either 'Emily is a wolf' 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.95::factA. 0.9::factB. 0.1::factC. %hop1 0.1::factX:-or(factB,factA). 0.7::factY:-and(factC,factA). 0.6::factZ:-and(factC,factA). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.8594999999999999,0.058811762352470494,train,highly likely,probably not,It is highly likely that either 'Emily is a wolf' or 'Bill moved to the office' but not both.,It is probably not the case that either 'Emily is a wolf' or 'Bill moved to the office' but not both.,0,Either 'Emily is a wolf' or 'Bill moved to the office' but not both. It is highly likely that Fred moved to the office. It is unlikely that Jason is tired. There is a very good chance that Sandra got the football. It is probably the case that if 'Fred moved to the office' or 'Jason is tired' or both then Greg is a rhino. Chances are about even that if 'Jason is tired and Sandra got the football' then Julius is white. There is a very good chance that if 'Jason is tired' or 'Fred moved to the office' or both then Mary picked up the apple.,It is highly unlikely that 'Julius is white and Mary 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.9::factA. 0.2::factB. 0.8::factC. %hop1 0.7::factX:-or(factA,factB). 0.5::factY:-and(factB,factC). 0.8::factZ:-or(factB,factA). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.06400000000000002,0.10062012402480495,train,highly unlikely,probable,It is highly unlikely that 'Julius is white and Mary picked up the apple'.,It is probable that 'Julius is white and Mary picked up the apple'.,1,'Julius is white and Mary picked up the apple'. There is almost no chance that Emily is a mouse. It is improbable that John moved to the office. Chances are slight that Sumit is thirsty. It is impossible that if 'John moved to the office and Sumit is thirsty' then Greg is gray. Chances are about even that if 'John moved to the office' or 'Sumit is thirsty' or both then Bernhard is white. It is probable that if 'Sumit is thirsty and Emily is a mouse' then Brian is green.,It is probably the case that either 'Emily is a mouse' or 'John 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.02::factA. 0.1::factB. 0.1::factC. %hop1 0.0::factX:-and(factB,factC). 0.5::factY:-or(factB,factC). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.116,0.2570514102820564,train,chances are slight,probably,Chances are slight that either 'Emily is a mouse' or 'John moved to the office' but not both.,It is probably the case that either 'Emily is a mouse' or 'John moved to the office' but not both.,0,Either 'Emily is a mouse' or 'John moved to the office' but not both. It is probably not the case that Winona is a mouse. There is almost no chance that Lily is a frog. It is unlikely that Greg is yellow. It is highly unlikely that if either 'Winona is a mouse' or 'Greg is yellow' but not both then Mary left the football. It is probably the case that if either 'Lily is a frog' or 'Greg is yellow' but not both then John moved to the office. It is highly likely that if 'Greg is yellow and Winona is a mouse' then Bernhard is a swan.,We believe that either 'John moved to the office' 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.25::factA. 0.02::factB. 0.2::factC. %hop1 0.05::factX:-xor(factA,factC). 0.7::factY:-xor(factB,factC). 0.9::factZ:-and(factC,factA). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.13165999999999997,0.5805161032206442,train,improbable,we believe,It is improbable that either 'John moved to the office' or 'Bernhard is a swan' but not both.,We believe that either 'John moved to the office' or 'Bernhard is a swan' but not both.,0,Either 'John moved to the office' or 'Bernhard is a swan' but not both. It is likely that Sandra dropped the milk. It is certain that Bernhard is a frog. It is improbable that John went to the office. It is highly likely that if 'John went to the office and Bernhard is a frog' then Lily is yellow. It is highly unlikely that if either 'Bernhard is a frog' or 'Sandra dropped the milk' but not both then Greg is green. There is a better than even chance that if either 'John went to the office' or 'Bernhard is a frog' but not both then Fred is in the school.,There is a better than even chance that either 'Fred is in the school' 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.7::factA. 1.0::factB. 0.1::factC. %hop1 0.9::factX:-and(factC,factB). 0.05::factY:-xor(factB,factA). 0.6::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.63,0.7687537507501501,train,better than even,highly unlikely,There is a better than even chance that either 'Fred is in the school' or 'Lily is yellow' but not both.,It is highly unlikely that either 'Fred is in the school' or 'Lily is yellow' but not both.,1,Either 'Fred is in the school' or 'Lily is yellow' but not both. It is improbable that Winona is a wolf. We doubt that Jessica is a cat. It is almost certain that Julius is a swan. It is highly unlikely that if either 'Winona is a wolf' or 'Julius is a swan' but not both then Brian is a frog. It is highly unlikely that if 'Winona is a wolf and Julius is a swan' then Greg is a rhino. It is highly likely that if 'Winona is a wolf' or 'Jessica is a cat' or both then Bernhard is gray.,It is almost certain that 'Greg is a rhino 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.1::factA. 0.2::factB. 0.95::factC. %hop1 0.05::factX:-xor(factA,factC). 0.05::factY:-and(factA,factC). 0.9::factZ:-or(factA,factB). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.004749999999999999,0.5765153030606122,train,impossible,almost certain,It is impossible that 'Greg is a rhino and Winona is a wolf'.,It is almost certain that 'Greg is a rhino and Winona is a wolf'.,0,'Greg is a rhino and Winona is a wolf'. It is unlikely that Brian is a rhino. It is unlikely that Daniel put down the milk. It is almost certain that Mary left the football. Chances are about even that if 'Daniel put down the milk and Mary left the football' then Julius is white. It is likely that if 'Mary left the football and Daniel put down the milk' then Bernhard is green. It is unlikely that if 'Daniel put down the milk' or 'Brian is a rhino' or both then John went to the office.,It is unlikely that either 'Mary left the football' 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.2::factA. 0.2::factB. 0.95::factC. %hop1 0.5::factX:-and(factB,factC). 0.7::factY:-and(factC,factB). 0.2::factZ:-or(factB,factA). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.817,0.23104620924184838,train,very good chance,unlikely,There is a very good chance that either 'Mary left the football' or 'Bernhard is green' but not both.,It is unlikely that either 'Mary left the football' or 'Bernhard is green' but not both.,0,Either 'Mary left the football' or 'Bernhard is green' but not both. It is probable that Sandra grabbed the milk. There is almost no chance that Greg is a lion. It is improbable that Mary went to the bedroom. We doubt that if either 'Greg is a lion' or 'Sandra grabbed the milk' but not both then Brian is white. It is likely that if either 'Mary went to the bedroom' or 'Sandra grabbed the milk' but not both then John took the apple. Chances are about even that if 'Greg is a lion and Mary went to the bedroom' then Jeff moved to the garden.,It is impossible that 'Brian is white 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.7::factA. 0.02::factB. 0.1::factC. %hop1 0.2::factX:-xor(factB,factA). 0.7::factY:-xor(factC,factA). 0.5::factZ:-and(factB,factC). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.0012000000000000005,0.7851570314062812,train,impossible,highly likely,It is impossible that 'Brian is white and Greg is a lion'.,It is highly likely that 'Brian is white and Greg is a lion'.,1,'Brian is white and Greg is a lion'. It is probably the case that Mary went to the bedroom. Chances are about even that Brian is a rhino. It is probably the case that Lily is a lion. We doubt that if 'Mary went to the bedroom' or 'Lily is a lion' or both then Greg is a swan. It is certain that if either 'Lily is a lion' or 'Brian is a rhino' but not both then Gertrude is a sheep. It is likely that if 'Lily is a lion and Brian is a rhino' then Sandra dropped the milk.,It is impossible that either 'Sandra dropped the milk' 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.7::factA. 0.5::factB. 0.7::factC. %hop1 0.2::factX:-or(factA,factC). 1.0::factY:-xor(factC,factB). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.45499999999999996,0.017203440688137627,train,about even,impossible,Chances are about even that either 'Sandra dropped the milk' or 'Lily is a lion' but not both.,It is impossible that either 'Sandra dropped the milk' or 'Lily is a lion' but not both.,0,Either 'Sandra dropped the milk' or 'Lily is a lion' but not both. Chances are about even that Greg is a rhino. There is little chance that Bernhard is a frog. We doubt that John put down the apple. It is probably not the case that if 'Bernhard is a frog and John put down the apple' then Lily is a lion. It is certain that if 'Bernhard is a frog and John put down the apple' then Julius is gray. It is unlikely that if 'John put down the apple' or 'Greg is a rhino' or both then Mary grabbed the milk.,Chances are about even that either 'Lily is a lion' 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.5::factA. 0.1::factB. 0.2::factC. %hop1 0.25::factX:-and(factB,factC). 1.0::factY:-and(factB,factC). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.5000000000000001,0.26205241048209643,train,about even,certain,Chances are about even that either 'Lily is a lion' or 'Greg is a rhino' but not both.,It is certain that either 'Lily is a lion' or 'Greg is a rhino' but not both.,1,Either 'Lily is a lion' or 'Greg is a rhino' but not both. It is probably not the case that Fred went to the garden. Chances are about even that Mary left the football. It is likely that Bernhard is a swan. We doubt that if 'Fred went to the garden and Bernhard is a swan' then Gertrude is a mouse. There is a very good chance that if 'Bernhard is a swan' or 'Fred went to the garden' or both then Brian is a rhino. It is almost certain that if 'Fred went to the garden and Bernhard is a swan' then John got the milk.,There is a better than even chance that 'Gertrude is a mouse' 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.25::factA. 0.5::factB. 0.7::factC. %hop1 0.2::factX:-and(factA,factC). 0.8::factY:-or(factC,factA). 0.95::factZ:-and(factA,factC). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.627,0.38967793558711744,train,better than even,impossible,There is a better than even chance that 'Gertrude is a mouse' or 'Brian is a rhino' or both.,It is impossible that 'Gertrude is a mouse' or 'Brian is a rhino' or both.,1,'Gertrude is a mouse' or 'Brian is a rhino' or both. It is probably the case that Greg is gray. We doubt that Julius is a frog. It is probable that Mary moved to the garden. It is impossible that if 'Greg is gray and Mary moved to the garden' then Lily is a rhino. Chances are slight that if 'Julius is a frog and Mary moved to the garden' then Bernhard is yellow. It is certain that if 'Greg is gray' or 'Mary moved to the garden' or both then Sandra got the milk.,There is almost no chance that 'Lily is a rhino' or 'Bernhard 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.7::factA. 0.2::factB. 0.7::factC. %hop1 0.0::factX:-and(factA,factC). 0.1::factY:-and(factB,factC). 1.0::factZ:-or(factA,factC). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.014000000000000007,0.24664932986597318,train,almost no chance,very good chance,There is almost no chance that 'Lily is a rhino' or 'Bernhard is yellow' or both.,There is a very good chance that 'Lily is a rhino' or 'Bernhard is yellow' or both.,1,'Lily is a rhino' or 'Bernhard is yellow' or both. It is probable that Mary went to the hallway. Chances are slight that Brian is a lion. Chances are slight that Fred dropped the milk. It is impossible that if either 'Brian is a lion' or 'Mary went to the hallway' but not both then Julius is a swan. It is highly likely that if either 'Mary went to the hallway' or 'Brian is a lion' but not both then Greg is white. Chances are slight that if 'Fred dropped the milk' or 'Mary went to the hallway' or both then John moved to the office.,We believe that either 'Julius is a swan' 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.7::factA. 0.1::factB. 0.1::factC. %hop1 0.0::factX:-xor(factB,factA). 0.9::factY:-xor(factA,factB). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.10000000000000002,0.2528505701140228,train,improbable,we believe,It is improbable that either 'Julius is a swan' or 'Fred dropped the milk' but not both.,We believe that either 'Julius is a swan' or 'Fred dropped the milk' but not both.,0,Either 'Julius is a swan' or 'Fred dropped the milk' but not both. It is probably the case that John left the apple. We doubt that Mary got the football. There is a better than even chance that Greg is gray. It is certain that if 'Greg is gray and John left the apple' then Lily is a frog. We believe that if either 'Greg is gray' or 'Mary got the football' but not both then Sandra dropped the milk. We doubt that if 'John left the apple and Greg is gray' then Bernhard is yellow.,It is certain that either 'Sandra dropped the milk' 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.7::factA. 0.2::factB. 0.6::factC. %hop1 1.0::factX:-and(factC,factA). 0.75::factY:-xor(factC,factB). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.40320000000000006,0.20064012802560513,train,about even,certain,Chances are about even that either 'Sandra dropped the milk' or 'Bernhard is yellow' but not both.,It is certain that either 'Sandra dropped the milk' or 'Bernhard is yellow' but not both.,0,Either 'Sandra dropped the milk' or 'Bernhard is yellow' but not both. It is certain that Greg is a rhino. There is a better than even chance that Brian is a frog. It is likely that Bernhard is yellow. There is a very good chance that if 'Greg is a rhino' or 'Brian is a frog' or both then Mary went to the garden. There is a better than even chance that if 'Bernhard is yellow and Brian is a frog' then John moved to the office. It is probably not the case that if 'Brian is a frog and Bernhard is yellow' then Lily is a lion.,It is highly unlikely that 'Greg is a rhino' 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 1.0::factA. 0.6::factB. 0.7::factC. %hop1 0.8::factX:-or(factA,factB). 0.6::factY:-and(factC,factB). 0.25::factZ:-and(factB,factC). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.9999999999999999,0.5153030606121224,train,certain,highly unlikely,It is certain that 'Greg is a rhino' or 'John moved to the office' or both.,It is highly unlikely that 'Greg is a rhino' or 'John moved to the office' or both.,0,'Greg is a rhino' or 'John moved to the office' or both. We believe that Lily is a rhino. Chances are about even that Mary left the football. It is certain that Julius is white. There is little chance that if 'Julius is white' or 'Mary left the football' or both then Bernhard is a frog. We doubt that if either 'Julius is white' or 'Mary left the football' but not both then John went to the kitchen. We believe that if 'Lily is a rhino and Mary left the football' then Brian is green.,It is certain that 'Julius is white' or 'John 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.75::factA. 0.5::factB. 1.0::factC. %hop1 0.1::factX:-or(factC,factB). 0.2::factY:-xor(factC,factB). 0.75::factZ:-and(factA,factB). %hop2 conclusion:-or(factC,factY). query(conclusion). ",1.0,0.3110622124424885,train,certain,probably not,It is certain that 'Julius is white' or 'John went to the kitchen' or both.,It is probably not the case that 'Julius is white' or 'John went to the kitchen' or both.,1,'Julius is white' or 'John went to the kitchen' or both. It is certain that John went to the garden. It is almost certain that Lily is gray. It is impossible that Mary took the milk. Chances are about even that if either 'John went to the garden' or 'Mary took the milk' but not both then Julius is a lion. We believe that if 'Lily is gray' or 'Mary took the milk' or both then Brian is a rhino. It is highly unlikely that if either 'John went to the garden' or 'Mary took the milk' but not both then Fred left the apple.,Chances are about even that either 'Julius is a lion' or 'Mary 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 1.0::factA. 0.95::factB. 0.0::factC. %hop1 0.5::factX:-xor(factA,factC). 0.75::factY:-or(factB,factC). 0.05::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.5,0.08741748349669934,train,about even,almost certain,Chances are about even that either 'Julius is a lion' or 'Mary took the milk' but not both.,It is almost certain that either 'Julius is a lion' or 'Mary took the milk' but not both.,1,Either 'Julius is a lion' or 'Mary took the milk' but not both. It is impossible that Julius is white. Chances are slight that Jessica is a mouse. It is probably not the case that Bernhard is gray. It is certain that if 'Bernhard is gray' or 'Jessica is a mouse' or both then Brian is a swan. Chances are about even that if 'Bernhard is gray' or 'Julius is white' or both then John went to the garden. It is impossible that if 'Julius is white and Jessica is a mouse' then Mary dropped the milk.,It is probably not the case that 'Bernhard is gray' 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.0::factA. 0.1::factB. 0.25::factC. %hop1 1.0::factX:-or(factC,factB). 0.5::factY:-or(factC,factA). 0.0::factZ:-and(factA,factB). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.25,0.09781956391278256,train,probably not,almost certain,It is probably not the case that 'Bernhard is gray' or 'Mary dropped the milk' or both.,It is almost certain that 'Bernhard is gray' or 'Mary dropped the milk' or both.,1,'Bernhard is gray' or 'Mary dropped the milk' or both. It is improbable that Bernhard is gray. It is almost certain that Julius is gray. It is probably not the case that Mary got the football. There is little chance that if 'Bernhard is gray' or 'Mary got the football' or both then Jeff moved to the garden. There is a better than even chance that if either 'Julius is gray' or 'Mary got the football' but not both then Lily is a swan. There is almost no chance that if 'Mary got the football and Bernhard is gray' then Emily is a mouse.,It is highly likely that either 'Emily is a mouse' 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 0.1::factA. 0.95::factB. 0.25::factC. %hop1 0.1::factX:-or(factA,factC). 0.6::factY:-xor(factB,factC). 0.02::factZ:-and(factC,factA). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.2495,0.1874374874974995,train,probably not,highly likely,It is probably not the case that either 'Emily is a mouse' or 'Mary got the football' but not both.,It is highly likely that either 'Emily is a mouse' or 'Mary got the football' but not both.,0,Either 'Emily is a mouse' or 'Mary got the football' but not both. There is a better than even chance that Lily is white. It is highly likely that Bernhard is a frog. It is highly likely that Sandra left the milk. It is improbable that if either 'Bernhard is a frog' or 'Lily is white' but not both then Julius is a rhino. It is probably not the case that if 'Sandra left the milk and Bernhard is a frog' then Brian is gray. It is impossible that if 'Lily is white' or 'Bernhard is a frog' or both then Antoine is hungry.,There is a very good chance that 'Bernhard is a frog 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.6::factA. 0.9::factB. 0.9::factC. %hop1 0.1::factX:-xor(factB,factA). 0.25::factY:-and(factC,factB). 0.0::factZ:-or(factA,factB). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.036000000000000004,0.48389677935587116,train,highly unlikely,very good chance,It is highly unlikely that 'Bernhard is a frog and Julius is a rhino'.,There is a very good chance that 'Bernhard is a frog and Julius is a rhino'.,0,'Bernhard is a frog and Julius is a rhino'. There is a very good chance that Brian is a swan. There is a very good chance that Julius is a lion. It is certain that Greg is green. It is probably the case that if either 'Julius is a lion' or 'Brian is a swan' but not both then Jason is thirsty. It is almost certain that if 'Brian is a swan' or 'Julius is a lion' or both then John moved to the garden. There is almost no chance that if 'Julius is a lion and Greg is green' then Mary dropped the apple.,It is probably the case that 'Mary dropped the apple' or 'Jason 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.8::factA. 0.8::factB. 1.0::factC. %hop1 0.7::factX:-xor(factB,factA). 0.95::factY:-or(factA,factB). 0.02::factZ:-and(factB,factC). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.23775999999999994,0.22044408881776356,train,probably not,probably,It is probably not the case that 'Mary dropped the apple' or 'Jason is thirsty' or both.,It is probably the case that 'Mary dropped the apple' or 'Jason is thirsty' or both.,0,'Mary dropped the apple' or 'Jason is thirsty' or both. It is probable that John picked up the apple. It is highly likely that Daniel put down the milk. It is unlikely that Mary left the football. It is likely that if either 'John picked up the apple' or 'Daniel put down the milk' but not both then Julius is a swan. There is a very good chance that if either 'Mary left the football' or 'Daniel put down the milk' but not both then Greg is a lion. We believe that if either 'Mary left the football' or 'Daniel put down the milk' but not both then Lily is white.,It is likely that 'Julius 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.9::factB. 0.2::factC. %hop1 0.7::factX:-xor(factA,factB). 0.8::factY:-xor(factC,factB). 0.75::factZ:-xor(factC,factB). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.12075000000000001,0.254250850170034,train,improbable,likely,It is improbable that 'Julius is a swan and Lily is white'.,It is likely that 'Julius is a swan and Lily is white'.,0,'Julius is a swan and Lily is white'. It is almost certain that John grabbed the apple. Chances are about even that Mary moved to the garden. It is almost certain that Lily is white. It is unlikely that if 'John grabbed the apple' or 'Lily is white' or both then Bernhard is white. Chances are about even that if 'John grabbed the apple' or 'Mary moved to the garden' or both then Greg is green. It is improbable that if 'Lily is white and Mary moved to the garden' then Bill left the milk.,It is probably not the case that either 'Bernhard is white' or 'Bill 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.95::factA. 0.5::factB. 0.95::factC. %hop1 0.2::factX:-or(factA,factC). 0.5::factY:-or(factA,factB). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.22800000000000006,0.7405481096219244,train,probably not,certain,It is probably not the case that either 'Bernhard is white' or 'Bill left the milk' but not both.,It is certain that either 'Bernhard is white' or 'Bill left the milk' but not both.,1,Either 'Bernhard is white' or 'Bill left the milk' but not both. It is probable that Brian is white. It is probable that Bernhard is yellow. It is likely that John moved to the garden. Chances are about even that if either 'Bernhard is yellow' or 'Brian is white' but not both then Greg is yellow. It is highly likely that if 'Brian is white and Bernhard is yellow' then Mary picked up the milk. We doubt that if 'Bernhard is yellow and John moved to the garden' then Fred is in the school.,It is highly likely that 'John moved to the garden 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.7::factA. 0.7::factB. 0.7::factC. %hop1 0.5::factX:-xor(factB,factA). 0.9::factY:-and(factA,factB). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.09799999999999998,0.25825165033006603,train,improbable,highly likely,It is improbable that 'John moved to the garden and Fred is in the school'.,It is highly likely that 'John moved to the garden and Fred is in the school'.,0,'John moved to the garden and Fred is in the school'. We believe that John went to the office. It is probable that Bernhard is gray. Chances are slight that Mary left the milk. Chances are about even that if either 'John went to the office' or 'Mary left the milk' but not both then Brian is yellow. It is improbable that if either 'Bernhard is gray' or 'Mary left the milk' but not both then Lily is a rhino. We doubt that if 'Bernhard is gray and John went to the office' then Greg is a swan.,There is little chance that either 'Lily is a rhino' 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.75::factA. 0.7::factB. 0.1::factC. %hop1 0.5::factX:-xor(factA,factC). 0.1::factY:-xor(factB,factC). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.6399999999999999,0.6559311862372474,train,better than even,little chance,There is a better than even chance that either 'Lily is a rhino' or 'Bernhard is gray' but not both.,There is little chance that either 'Lily is a rhino' or 'Bernhard is gray' but not both.,0,Either 'Lily is a rhino' or 'Bernhard is gray' but not both. There is a better than even chance that Greg is a swan. It is highly likely that Jason is thirsty. It is likely that Mary took the football. It is probably the case that if either 'Mary took the football' or 'Jason is thirsty' but not both then Julius is a lion. There is almost no chance that if 'Jason is thirsty and Mary took the football' then Jeff moved to the garden. Chances are slight that if either 'Mary took the football' or 'Greg is a swan' but not both then Brian is yellow.,It is certain that 'Jeff moved to the garden' 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.6::factA. 0.9::factB. 0.7::factC. %hop1 0.7::factX:-xor(factC,factB). 0.02::factY:-and(factB,factC). 0.1::factZ:-xor(factC,factA). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.058096000000000016,0.6339267853570714,train,highly unlikely,certain,It is highly unlikely that 'Jeff moved to the garden' or 'Brian is yellow' or both.,It is certain that 'Jeff moved to the garden' or 'Brian is yellow' or both.,0,'Jeff moved to the garden' or 'Brian is yellow' or both. We believe that Gertrude is a cat. It is highly likely that Brian is a swan. There is almost no chance that Bernhard is a rhino. It is improbable that if either 'Gertrude is a cat' or 'Bernhard is a rhino' but not both then Sandra left the milk. It is probably the case that if either 'Brian is a swan' or 'Gertrude is a cat' but not both then John went to the bedroom. There is little chance that if 'Gertrude is a cat and Brian is a swan' then Julius is gray.,It is almost certain that 'John went to the bedroom' 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.75::factA. 0.9::factB. 0.02::factC. %hop1 0.1::factX:-xor(factA,factC). 0.7::factY:-xor(factB,factA). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.9525,0.3750750150030006,train,almost certain,chances are slight,It is almost certain that 'John went to the bedroom' or 'Brian is a swan' or both.,Chances are slight that 'John went to the bedroom' or 'Brian is a swan' or both.,1,'John went to the bedroom' or 'Brian is a swan' or both. There is little chance that Mary dropped the apple. It is almost certain that Lily is a lion. Chances are about even that John took the football. It is highly unlikely that if 'John took the football and Mary dropped the apple' then Greg is yellow. It is almost certain that if either 'Lily is a lion' or 'John took the football' but not both then Gertrude is a mouse. It is likely that if either 'John took the football' or 'Lily is a lion' but not both then Bernhard is green.,We doubt that 'Bernhard is green' 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.95::factB. 0.5::factC. %hop1 0.05::factX:-and(factC,factA). 0.95::factY:-xor(factB,factC). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.9675,0.3700740148029606,train,almost certain,we doubt,It is almost certain that 'Bernhard is green' or 'Lily is a lion' or both.,We doubt that 'Bernhard is green' or 'Lily is a lion' or both.,0,'Bernhard is green' or 'Lily is a lion' or both. It is probable that Lily is yellow. There is a very good chance that Mary went to the office. We believe that Bernhard is green. There is a better than even chance that if either 'Mary went to the office' or 'Bernhard is green' but not both then Greg is a rhino. It is highly likely that if 'Mary went to the office and Lily is yellow' then Brian is white. It is certain that if 'Mary went to the office' or 'Bernhard is green' or both then John discarded the milk.,It is highly unlikely that either 'Lily is yellow' 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.7::factA. 0.8::factB. 0.75::factC. %hop1 0.6::factX:-xor(factB,factC). 0.9::factY:-and(factB,factA). 1.0::factZ:-or(factB,factC). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.4,0.6193238647729546,train,about even,highly unlikely,Chances are about even that either 'Lily is yellow' or 'Bernhard is green' but not both.,It is highly unlikely that either 'Lily is yellow' or 'Bernhard is green' but not both.,0,Either 'Lily is yellow' or 'Bernhard is green' but not both. There is almost no chance that Daniel put down the milk. It is probably the case that Sandra dropped the apple. It is highly unlikely that Mary left the football. There is a very good chance that if 'Mary left the football and Daniel put down the milk' then Gertrude is a cat. It is probably not the case that if 'Sandra dropped the apple' or 'Daniel put down the milk' or both then Brian is green. There is a better than even chance that if either 'Sandra dropped the apple' or 'Mary left the football' but not both then Julius is yellow.,There is a very good chance that 'Mary left the football' 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.02::factA. 0.7::factB. 0.05::factC. %hop1 0.8::factX:-and(factC,factA). 0.25::factY:-or(factB,factA). 0.6::factZ:-xor(factB,factC). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.21767499999999998,0.40888177635527106,train,unlikely,very good chance,It is unlikely that 'Mary left the football' or 'Brian is green' or both.,There is a very good chance that 'Mary left the football' or 'Brian is green' or both.,0,'Mary left the football' or 'Brian is green' or both. Chances are slight that Jason is bored. It is impossible that Greg is yellow. We doubt that John dropped the apple. It is probably not the case that if either 'Greg is yellow' or 'Jason is bored' but not both then Bernhard is a swan. We doubt that if 'Greg is yellow and John dropped the apple' then Julius is a rhino. There is almost no chance that if either 'John dropped the apple' or 'Jason is bored' but not both then Brian is green.,We believe that either 'John dropped the apple' 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.1::factA. 0.0::factB. 0.2::factC. %hop1 0.25::factX:-xor(factB,factA). 0.2::factY:-and(factB,factC). 0.02::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.19799999999999998,0.10462092418483697,train,we doubt,we believe,We doubt that either 'John dropped the apple' or 'Brian is green' but not both.,We believe that either 'John dropped the apple' or 'Brian is green' but not both.,0,Either 'John dropped the apple' or 'Brian is green' but not both. There is almost no chance that Bernhard is a swan. Chances are slight that Mary dropped the milk. It is certain that Julius is white. It is probably not the case that if either 'Bernhard is a swan' or 'Julius is white' but not both then Lily is green. There is almost no chance that if either 'Julius is white' or 'Bernhard is a swan' but not both then Greg is a rhino. It is likely that if 'Julius is white' or 'Mary dropped the milk' or both then John went to the bedroom.,It is improbable that either 'Lily is green' 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.02::factA. 0.1::factB. 1.0::factC. %hop1 0.25::factX:-xor(factA,factC). 0.02::factY:-xor(factC,factA). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.602,0.6923384676935387,train,better than even,improbable,There is a better than even chance that either 'Lily is green' or 'John went to the bedroom' but not both.,It is improbable that either 'Lily is green' or 'John went to the bedroom' but not both.,0,Either 'Lily is green' or 'John went to the bedroom' but not both. Chances are about even that Sandra left the apple. It is certain that John moved to the office. There is little chance that Brian is a rhino. It is probably not the case that if 'Brian is a rhino' or 'Sandra left the apple' or both then Bernhard is gray. It is unlikely that if either 'Brian is a rhino' or 'Sandra left the apple' but not both then Greg is a frog. It is certain that if either 'Sandra left the apple' or 'John moved to the office' but not both then Julius is yellow.,We believe that 'Brian is a rhino 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.5::factA. 1.0::factB. 0.1::factC. %hop1 0.25::factX:-or(factC,factA). 0.2::factY:-xor(factC,factA). 1.0::factZ:-xor(factA,factB). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.10000000000000002,0.2036407281456291,train,improbable,we believe,It is improbable that 'Brian is a rhino and John moved to the office'.,We believe that 'Brian is a rhino and John moved to the office'.,0,'Brian is a rhino and John moved to the office'. It is impossible that Julius is a frog. It is likely that Greg is gray. It is probably the case that Gertrude is a sheep. It is almost certain that if 'Julius is a frog and Gertrude is a sheep' then Lily is a rhino. It is unlikely that if 'Greg is gray and Julius is a frog' then Bernhard is green. Chances are slight that if either 'Julius is a frog' or 'Gertrude is a sheep' but not both then Brian is a swan.,It is probably the case that 'Lily is a rhino' 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 0.0::factA. 0.7::factB. 0.7::factC. %hop1 0.95::factX:-and(factA,factC). 0.2::factY:-and(factB,factA). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.7,0.3890778155631126,train,probably,probably not,It is probably the case that 'Lily is a rhino' or 'Gertrude is a sheep' or both.,It is probably not the case that 'Lily is a rhino' or 'Gertrude is a sheep' or both.,1,'Lily is a rhino' or 'Gertrude is a sheep' or both. We believe that Emily is a sheep. It is certain that Bernhard is a swan. There is a very good chance that Jeff left the football. It is almost certain that if 'Jeff left the football and Emily is a sheep' then Yann is hungry. It is certain that if either 'Emily is a sheep' or 'Bernhard is a swan' but not both then Julius is yellow. There is almost no chance that if either 'Emily is a sheep' or 'Jeff left the football' but not both then John took the apple.,It is certain that 'Bernhard is a swan' or 'Yann is hungry' 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.8::factC. %hop1 0.95::factX:-and(factC,factA). 1.0::factY:-xor(factA,factB). 0.02::factZ:-xor(factA,factC). %hop2 conclusion:-or(factB,factX). query(conclusion). ",1.0,0.6685337067413483,train,certain,improbable,It is certain that 'Bernhard is a swan' or 'Yann is hungry' or both.,It is improbable that 'Bernhard is a swan' or 'Yann is hungry' or both.,1,'Bernhard is a swan' or 'Yann is hungry' or both. We doubt that Brian is a rhino. It is certain that Daniel dropped the apple. There is little chance that Bernhard is a lion. It is highly unlikely that if 'Bernhard is a lion and Daniel dropped the apple' then Julius is a swan. Chances are slight that if 'Daniel dropped the apple and Brian is a rhino' then Emily is a wolf. It is probably the case that if either 'Bernhard is a lion' or 'Brian is a rhino' but not both then Greg is white.,We believe that either 'Julius is a swan' or 'Bernhard 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.2::factA. 1.0::factB. 0.1::factC. %hop1 0.05::factX:-and(factC,factB). 0.1::factY:-and(factB,factA). 0.7::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.09500000000000001,0.11542308461692338,train,chances are slight,we believe,Chances are slight that either 'Julius is a swan' or 'Bernhard is a lion' but not both.,We believe that either 'Julius is a swan' or 'Bernhard is a lion' but not both.,0,Either 'Julius is a swan' or 'Bernhard is a lion' but not both. It is impossible that Brian is a lion. It is probable that Bill went to the kitchen. It is unlikely that Lily is a swan. It is probably the case that if 'Bill went to the kitchen and Lily is a swan' then Sandra got the milk. Chances are slight that if 'Bill went to the kitchen' or 'Brian is a lion' or both then Daniel took the apple. There is a better than even chance that if either 'Bill went to the kitchen' or 'Lily is a swan' but not both then Greg is a frog.,It is impossible that either 'Greg is a frog' or 'Bill went to the kitchen' 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.7::factB. 0.2::factC. %hop1 0.7::factX:-and(factB,factC). 0.1::factY:-or(factB,factA). 0.6::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.39999999999999997,0.1760352070414083,train,about even,impossible,Chances are about even that either 'Greg is a frog' or 'Bill went to the kitchen' but not both.,It is impossible that either 'Greg is a frog' or 'Bill went to the kitchen' but not both.,0,Either 'Greg is a frog' or 'Bill went to the kitchen' but not both. We doubt that Greg is yellow. It is highly unlikely that Lily is a rhino. We believe that Mary went to the hallway. Chances are about even that if 'Greg is yellow' or 'Lily is a rhino' or both then Brian is white. There is a better than even chance that if 'Mary went to the hallway and Lily is a rhino' then Jason is tired. There is little chance that if 'Greg is yellow and Lily is a rhino' then Bernhard is a frog.,It is impossible that 'Bernhard is a frog 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.2::factA. 0.05::factB. 0.75::factC. %hop1 0.5::factX:-or(factA,factB). 0.6::factY:-and(factC,factB). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.0005000000000000001,0.026205241048209642,train,impossible,highly likely,It is impossible that 'Bernhard is a frog and Brian is white'.,It is highly likely that 'Bernhard is a frog and Brian is white'.,1,'Bernhard is a frog and Brian is white'. We believe that John went to the kitchen. It is probably not the case that Lily is green. It is improbable that Sumit is thirsty. It is almost certain that if 'John went to the kitchen and Sumit is thirsty' then Jessica is a sheep. Chances are about even that if either 'Sumit is thirsty' or 'John went to the kitchen' but not both then Sandra left the milk. It is probable that if 'Sumit is thirsty' or 'Lily is green' or both then Julius is a rhino.,We believe that 'Sumit is thirsty' 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.25::factB. 0.1::factC. %hop1 0.95::factX:-and(factA,factC). 0.5::factY:-xor(factC,factA). 0.7::factZ:-or(factC,factB). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.325,0.7435487097419484,train,probably not,we believe,It is probably not the case that 'Sumit is thirsty' or 'Lily is green' or both.,We believe that 'Sumit is thirsty' or 'Lily is green' or both.,0,'Sumit is thirsty' or 'Lily is green' or both. It is probable that Sandra left the milk. We doubt that Brian is yellow. Chances are slight that John went to the hallway. There is a better than even chance that if 'Brian is yellow and Sandra left the milk' then Bernhard is a swan. It is certain that if 'John went to the hallway' or 'Brian is yellow' or both then Fred moved to the office. We doubt that if 'Brian is yellow' or 'John went to the hallway' or both then Daniel dropped the apple.,It is probably the case that 'John went to the hallway 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.2::factB. 0.1::factC. %hop1 0.6::factX:-and(factB,factA). 1.0::factY:-or(factC,factB). 0.2::factZ:-or(factB,factC). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.02000000000000001,0.5391078215643129,train,almost no chance,probably,There is almost no chance that 'John went to the hallway and Brian is yellow'.,It is probably the case that 'John went to the hallway and Brian is yellow'.,0,'John went to the hallway and Brian is yellow'. It is probably not the case that Greg is a lion. We doubt that Bernhard is yellow. There is little chance that Jason is thirsty. It is likely that if either 'Bernhard is yellow' or 'Jason is thirsty' but not both then John picked up the milk. It is unlikely that if 'Jason is thirsty and Greg is a lion' then Mary moved to the garden. We doubt that if either 'Bernhard is yellow' or 'Greg is a lion' but not both then Brian is yellow.,It is probably not the case that either 'Mary moved to the garden' 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.25::factA. 0.2::factB. 0.1::factC. %hop1 0.7::factX:-xor(factB,factC). 0.2::factY:-and(factC,factA). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.245,0.2626525305061012,train,probably not,very good chance,It is probably not the case that either 'Mary moved to the garden' or 'Greg is a lion' but not both.,There is a very good chance that either 'Mary moved to the garden' or 'Greg is a lion' but not both.,1,Either 'Mary moved to the garden' or 'Greg is a lion' but not both. It is certain that Bernhard is gray. It is probably the case that Sandra got the football. It is probably the case that Julius is green. There is a better than even chance that if 'Julius is green' or 'Bernhard is gray' or both then John went to the bedroom. It is unlikely that if 'Bernhard is gray and Julius is green' then Lily is a swan. It is highly likely that if either 'Bernhard is gray' or 'Julius is green' but not both then Mary put down the milk.,It is impossible that either 'Mary put down the milk' 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 1.0::factA. 0.7::factB. 0.7::factC. %hop1 0.6::factX:-or(factC,factA). 0.2::factY:-and(factA,factC). 0.9::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factZ,factX). query(conclusion). ",0.5459999999999999,0.5781156231246249,train,about even,impossible,Chances are about even that either 'Mary put down the milk' or 'John went to the bedroom' but not both.,It is impossible that either 'Mary put down the milk' or 'John went to the bedroom' but not both.,0,Either 'Mary put down the milk' or 'John went to the bedroom' but not both. It is unlikely that Fred went to the garden. It is probably the case that Emily is a cat. It is probably the case that Greg is a rhino. It is certain that if 'Greg is a rhino' or 'Fred went to the garden' or both then Lily is a lion. It is unlikely that if 'Fred went to the garden and Greg is a rhino' then John left the milk. There is a very good chance that if 'Fred went to the garden and Emily is a cat' then Gertrude is a mouse.,There is almost no chance that 'Lily is a lion and John 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. 0.7::factB. 0.7::factC. %hop1 1.0::factX:-or(factC,factA). 0.2::factY:-and(factA,factC). 0.8::factZ:-and(factA,factB). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.028000000000000004,0.3530706141228246,train,almost no chance,we believe,There is almost no chance that 'Lily is a lion and John left the milk'.,We believe that 'Lily is a lion and John left the milk'.,1,'Lily is a lion and John left the milk'. It is almost certain that Julius is a frog. There is a better than even chance that John discarded the apple. There is almost no chance that Bernhard is gray. There is little chance that if either 'Julius is a frog' or 'Bernhard is gray' but not both then Brian is gray. Chances are slight that if 'John discarded the apple and Julius is a frog' then Emily is a mouse. It is highly likely that if either 'Bernhard is gray' or 'Julius is a frog' but not both then Mary went to the office.,It is almost certain that 'Mary went to the office' 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.95::factA. 0.6::factB. 0.02::factC. %hop1 0.1::factX:-xor(factA,factC). 0.1::factY:-and(factB,factA). 0.9::factZ:-xor(factC,factA). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.9509,0.021604320864172834,train,almost certain,little chance,It is almost certain that 'Mary went to the office' or 'Julius is a frog' or both.,There is little chance that 'Mary went to the office' or 'Julius is a frog' or both.,1,'Mary went to the office' or 'Julius is a frog' or both. It is probably the case that Brian is green. There is little chance that Lily is a swan. There is a very good chance that Mary grabbed the milk. It is unlikely that if 'Mary grabbed the milk and Lily is a swan' then Gertrude is a cat. There is a better than even chance that if 'Brian is green and Lily is a swan' then Daniel dropped the apple. We doubt that if either 'Lily is a swan' or 'Brian is green' but not both then Jason is bored.,It is impossible that 'Lily is a swan 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.7::factA. 0.1::factB. 0.8::factC. %hop1 0.2::factX:-and(factC,factB). 0.6::factY:-and(factA,factB). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.005999999999999998,0.38107621524304863,train,impossible,certain,It is impossible that 'Lily is a swan and Jason is bored'.,It is certain that 'Lily is a swan and Jason is bored'.,1,'Lily is a swan and Jason is bored'. There is a very good chance that Jeff went to the hallway. Chances are slight that Jessica is a sheep. We doubt that Julius is a rhino. Chances are slight that if either 'Julius is a rhino' or 'Jeff went to the hallway' but not both then Greg is white. It is highly unlikely that if either 'Jessica is a sheep' or 'Julius is a rhino' but not both then Mary dropped the milk. It is probably the case that if either 'Jeff went to the hallway' or 'Jessica is a sheep' but not both then Bernhard is a swan.,There is little chance that 'Jeff went to the hallway' 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.8::factA. 0.1::factB. 0.2::factC. %hop1 0.1::factX:-xor(factC,factA). 0.05::factY:-xor(factB,factC). 0.7::factZ:-xor(factA,factB). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.8026000000000001,0.27085417083416685,train,very good chance,little chance,There is a very good chance that 'Jeff went to the hallway' or 'Mary dropped the milk' or both.,There is little chance that 'Jeff went to the hallway' or 'Mary dropped the milk' or both.,0,'Jeff went to the hallway' or 'Mary dropped the milk' or both. It is highly likely that Jessica is a mouse. We believe that Julius is a frog. There is little chance that Jason is tired. It is likely that if either 'Jason is tired' or 'Julius is a frog' but not both then Bernhard is green. It is unlikely that if either 'Jason is tired' or 'Julius is a frog' but not both then Brian is a rhino. We believe that if 'Julius is a frog and Jason is tired' then John got the apple.,It is almost certain that 'Bernhard 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.9::factA. 0.75::factB. 0.1::factC. %hop1 0.7::factX:-xor(factC,factB). 0.2::factY:-xor(factC,factB). 0.75::factZ:-and(factB,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.44099999999999995,0.5729145829165834,train,about even,almost certain,Chances are about even that 'Bernhard is green and Jessica is a mouse'.,It is almost certain that 'Bernhard is green and Jessica is a mouse'.,0,'Bernhard is green and Jessica is a mouse'. It is probable that Bill went to the garden. It is probably not the case that Brian is a rhino. There is almost no chance that Sandra left the milk. It is probable that if 'Brian is a rhino and Bill went to the garden' then Julius is a lion. It is highly likely that if 'Bill went to the garden and Sandra left the milk' then Bernhard is a swan. There is almost no chance that if 'Bill went to the garden and Brian is a rhino' then Lily is a frog.,It is likely that 'Bill went to the garden' 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.7::factA. 0.25::factB. 0.02::factC. %hop1 0.7::factX:-and(factB,factA). 0.9::factY:-and(factA,factC). 0.02::factZ:-and(factA,factB). %hop2 conclusion:-or(factA,factZ). query(conclusion). ",0.7,0.0610122024404881,train,likely,almost no chance,It is likely that 'Bill went to the garden' or 'Lily is a frog' or both.,There is almost no chance that 'Bill went to the garden' or 'Lily is a frog' or both.,1,'Bill went to the garden' or 'Lily is a frog' or both. It is certain that Brian is a frog. It is likely that Bernhard is green. It is probably the case that Lily is green. We doubt that if either 'Brian is a frog' or 'Bernhard is green' but not both then Gertrude is a cat. It is unlikely that if 'Bernhard is green' or 'Lily is green' or both then Mary dropped the milk. It is certain that if 'Lily is green' or 'Brian is a frog' or both then John moved to the garden.,There is a very good chance that either 'Brian is a frog' or 'Lily 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 1.0::factA. 0.7::factB. 0.7::factC. %hop1 0.2::factX:-xor(factA,factB). 0.2::factY:-or(factB,factC). 1.0::factZ:-or(factC,factA). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.30000000000000004,0.5595119023804761,train,probably not,very good chance,It is probably not the case that either 'Brian is a frog' or 'Lily is green' but not both.,There is a very good chance that either 'Brian is a frog' or 'Lily is green' but not both.,0,Either 'Brian is a frog' or 'Lily is green' but not both. It is probable that Mary grabbed the milk. It is impossible that Brian is yellow. It is impossible that Bernhard is a rhino. It is highly unlikely that if 'Bernhard is a rhino' or 'Mary grabbed the milk' or both then John moved to the garden. It is likely that if either 'Brian is yellow' or 'Bernhard is a rhino' but not both then Greg is a swan. It is almost certain that if 'Brian is yellow' or 'Bernhard is a rhino' or both then Lily is a frog.,It is likely that 'Mary grabbed 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.7::factA. 0.0::factB. 0.0::factC. %hop1 0.05::factX:-or(factC,factA). 0.7::factY:-xor(factB,factC). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.7,0.4344868973794759,train,likely,almost no chance,It is likely that 'Mary grabbed the milk' or 'Greg is a swan' or both.,There is almost no chance that 'Mary grabbed the milk' or 'Greg is a swan' or both.,1,'Mary grabbed the milk' or 'Greg is a swan' or both. There is little chance that John went to the kitchen. It is probable that Brian is white. It is certain that Greg is a swan. It is probably not the case that if 'Brian is white' or 'John went to the kitchen' or both then Emily is a sheep. It is highly unlikely that if 'John went to the kitchen and Greg is a swan' then Bernhard is a frog. It is highly likely that if either 'John went to the kitchen' or 'Greg is a swan' but not both then Julius is a lion.,We doubt that 'Bernhard 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 0.1::factA. 0.7::factB. 1.0::factC. %hop1 0.25::factX:-or(factB,factA). 0.05::factY:-and(factA,factC). 0.9::factZ:-xor(factA,factC). %hop2 conclusion:-or(factY,factC). query(conclusion). ",1.0,0.6187237447489498,train,certain,we doubt,It is certain that 'Bernhard is a frog' or 'Greg is a swan' or both.,We doubt that 'Bernhard is a frog' or 'Greg is a swan' or both.,0,'Bernhard is a frog' or 'Greg is a swan' or both. There is a better than even chance that Mary went to the kitchen. It is almost certain that Sandra put down the milk. We believe that John got the apple. We believe that if 'Sandra put down the milk' or 'Mary went to the kitchen' or both then Greg is yellow. It is certain that if 'Mary went to the kitchen' or 'John got the apple' or both then Julius is green. There is almost no chance that if either 'Sandra put down the milk' or 'Mary went to the kitchen' but not both then Bernhard is a lion.,It is impossible that 'Bernhard is a lion 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.6::factA. 0.95::factB. 0.75::factC. %hop1 0.75::factX:-or(factB,factA). 1.0::factY:-or(factA,factC). 0.02::factZ:-xor(factB,factA). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.006149999999999997,0.1300260052010402,train,impossible,we believe,It is impossible that 'Bernhard is a lion and John got the apple'.,We believe that 'Bernhard is a lion and John got the apple'.,1,'Bernhard is a lion and John got the apple'. It is improbable that Bernhard is green. We believe that Lily is yellow. It is improbable that Greg is a frog. It is probably not the case that if either 'Greg is a frog' or 'Bernhard is green' but not both then Sumit is thirsty. There is a better than even chance that if either 'Bernhard is green' or 'Lily is yellow' but not both then Mary went to the hallway. There is almost no chance that if 'Bernhard is green and Greg is a frog' then Julius is gray.,It is impossible 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.1::factA. 0.75::factB. 0.1::factC. %hop1 0.25::factX:-xor(factC,factA). 0.6::factY:-xor(factA,factB). 0.02::factZ:-and(factA,factC). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.0,0.34386877375475094,train,impossible,highly likely,It is impossible that 'Julius is gray and Sumit is thirsty'.,It is highly likely that 'Julius is gray and Sumit is thirsty'.,1,'Julius is gray and Sumit is thirsty'. We believe that Brian is a lion. There is almost no chance that John went to the garden. It is impossible that Emily is a mouse. It is certain that if 'Brian is a lion' or 'Emily is a mouse' or both then Sumit is thirsty. It is likely that if either 'John went to the garden' or 'Brian is a lion' but not both then Mary picked up the apple. It is highly unlikely that if 'Emily is a mouse' or 'Brian is a lion' or both then Sandra dropped the milk.,It is almost certain that 'Brian is a lion and Mary 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.75::factA. 0.02::factB. 0.0::factC. %hop1 1.0::factX:-or(factA,factC). 0.7::factY:-xor(factB,factA). 0.05::factZ:-or(factC,factA). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.5145,0.24904980996199239,train,about even,almost certain,Chances are about even that 'Brian is a lion and Mary picked up the apple'.,It is almost certain that 'Brian is a lion and Mary picked up the apple'.,0,'Brian is a lion and Mary picked up the apple'. It is impossible that Greg is a frog. It is likely that Jason is tired. We doubt that Lily is gray. It is probable that if 'Greg is a frog and Lily is gray' then Bill went to the bedroom. It is improbable that if 'Jason is tired' or 'Lily is gray' or both then Bernhard is gray. It is almost certain that if 'Jason is tired' or 'Lily is gray' or both then John moved to the office.,It is likely that 'Bernhard is gray' 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 0.0::factA. 0.7::factB. 0.2::factC. %hop1 0.7::factX:-and(factA,factC). 0.1::factY:-or(factB,factC). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.706,0.4334866973394679,train,likely,chances are slight,It is likely that 'Bernhard is gray' or 'Jason is tired' or both.,Chances are slight that 'Bernhard is gray' or 'Jason is tired' or both.,1,'Bernhard is gray' or 'Jason is tired' or both. It is probably the case that Mary dropped the milk. It is impossible that Brian is green. It is probable that Winona is a sheep. It is likely that if 'Brian is green' or 'Mary dropped the milk' or both then John moved to the office. There is almost no chance that if 'Brian is green' or 'Winona is a sheep' or both then Jessica is a cat. There is a very good chance that if 'Mary dropped the milk' or 'Winona is a sheep' or both then Julius is a swan.,It is almost certain that either 'Mary dropped the milk' or 'John 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.7::factA. 0.0::factB. 0.7::factC. %hop1 0.7::factX:-or(factB,factA). 0.02::factY:-or(factB,factC). 0.8::factZ:-or(factA,factC). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.21,0.2578515703140628,train,we doubt,almost certain,We doubt that either 'Mary dropped the milk' or 'John moved to the office' but not both.,It is almost certain that either 'Mary dropped the milk' or 'John moved to the office' but not both.,0,Either 'Mary dropped the milk' or 'John moved to the office' but not both. It is probably the case that John discarded the milk. Chances are slight that Greg is green. It is probably not the case that Emily is a wolf. There is a very good chance that if either 'Emily is a wolf' or 'Greg is green' but not both then Julius is white. There is almost no chance that if 'Emily is a wolf and John discarded the milk' then Bernhard is a swan. It is impossible that if 'John discarded the milk and Greg is green' then Mary got the football.,It is probably not the case that 'Emily is a wolf' 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.7::factA. 0.1::factB. 0.25::factC. %hop1 0.8::factX:-xor(factC,factB). 0.02::factY:-and(factC,factA). 0.0::factZ:-and(factA,factB). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.31,0.3742748549709942,train,probably not,probably,It is probably not the case that 'Emily is a wolf' or 'Julius is white' or both.,It is probably the case that 'Emily is a wolf' or 'Julius is white' or both.,1,'Emily is a wolf' or 'Julius is white' or both. It is probable that Brian is a swan. We doubt that Bernhard is a swan. It is probably the case that John went to the office. Chances are about even that if 'Brian is a swan and John went to the office' then Jeff dropped the apple. There is little chance that if 'John went to the office and Brian is a swan' then Jason is bored. It is impossible that if either 'John went to the office' or 'Brian is a swan' but not both then Lily is a lion.,It is impossible that 'Jason is bored 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.2::factB. 0.7::factC. %hop1 0.5::factX:-and(factA,factC). 0.1::factY:-and(factC,factA). 0.0::factZ:-xor(factC,factA). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.009800000000000003,0.7475495099019804,train,impossible,probably,It is impossible that 'Jason is bored and Bernhard is a swan'.,It is probably the case that 'Jason is bored and Bernhard is a swan'.,1,'Jason is bored and Bernhard is a swan'. It is probable that Julius is a frog. We doubt that Lily is a swan. There is a better than even chance that Daniel got the football. It is unlikely that if 'Lily is a swan and Daniel got the football' then Sumit is thirsty. We believe that if either 'Daniel got the football' or 'Julius is a frog' but not both then Mary dropped the milk. There is a better than even chance that if 'Daniel got the football' or 'Julius is a frog' or both then John moved to the office.,It is probably not the case that either 'Mary dropped the milk' or 'Sumit 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.2::factB. 0.6::factC. %hop1 0.2::factX:-and(factB,factC). 0.75::factY:-xor(factC,factA). 0.6::factZ:-or(factC,factA). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.3582000000000001,0.6433286657331466,train,probably not,likely,It is probably not the case that either 'Mary dropped the milk' or 'Sumit is thirsty' but not both.,It is likely that either 'Mary dropped the milk' or 'Sumit is thirsty' but not both.,1,Either 'Mary dropped the milk' or 'Sumit is thirsty' but not both. It is highly unlikely that Bernhard is green. It is almost certain that Brian is yellow. It is highly unlikely that Greg is gray. Chances are about even that if either 'Brian is yellow' or 'Greg is gray' but not both then Julius is a lion. It is almost certain that if 'Greg is gray' or 'Bernhard is green' or both then Sandra left the milk. It is improbable that if either 'Brian is yellow' or 'Bernhard is green' but not both then Sumit is tired.,It is almost certain that 'Brian 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.05::factA. 0.95::factB. 0.05::factC. %hop1 0.5::factX:-xor(factB,factC). 0.95::factY:-or(factC,factA). 0.1::factZ:-xor(factB,factA). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.9512499999999999,0.3080616123224645,train,almost certain,chances are slight,It is almost certain that 'Brian is yellow' or 'Julius is a lion' or both.,Chances are slight that 'Brian is yellow' or 'Julius is a lion' or both.,1,'Brian is yellow' or 'Julius is a lion' or both. It is probably the case that Brian is gray. There is a very good chance that Gertrude is a sheep. Chances are about even that Daniel left the apple. It is almost certain that if either 'Daniel left the apple' or 'Gertrude is a sheep' but not both then Jeff went to the bedroom. Chances are about even that if 'Brian is gray' or 'Daniel left the apple' or both then Julius is a rhino. We believe that if either 'Gertrude is a sheep' or 'Brian is gray' but not both then Greg is gray.,It is highly unlikely that either 'Gertrude is a sheep' or 'Brian 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.5::factC. %hop1 0.95::factX:-xor(factC,factB). 0.5::factY:-or(factA,factC). 0.75::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.38,0.4898979795959192,train,about even,highly unlikely,Chances are about even that either 'Gertrude is a sheep' or 'Brian is gray' but not both.,It is highly unlikely that either 'Gertrude is a sheep' or 'Brian is gray' but not both.,0,Either 'Gertrude is a sheep' or 'Brian is gray' but not both. It is highly likely that Winona is a wolf. It is likely that Sandra left the milk. It is almost certain that Julius is white. There is a better than even chance that if 'Julius is white' or 'Sandra left the milk' or both then Brian is a rhino. It is unlikely that if 'Winona is a wolf and Sandra left the milk' then Bernhard is a swan. It is probably the case that if either 'Sandra left the milk' or 'Julius is white' but not both then Lily is a frog.,It is likely 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.9::factA. 0.7::factB. 0.95::factC. %hop1 0.6::factX:-or(factC,factB). 0.2::factY:-and(factA,factB). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.7,0.5531106221244249,train,likely,chances are slight,It is likely that 'Bernhard is a swan' or 'Sandra left the milk' or both.,Chances are slight that 'Bernhard is a swan' or 'Sandra left the milk' or both.,1,'Bernhard is a swan' or 'Sandra left the milk' or both. It is highly likely that Julius is gray. It is almost certain that Daniel took the milk. There is almost no chance that Gertrude is a sheep. Chances are slight that if 'Julius is gray' or 'Daniel took the milk' or both then Bernhard is a rhino. There is a very good chance that if either 'Daniel took the milk' or 'Julius is gray' but not both then Sandra dropped the milk. It is highly unlikely that if either 'Daniel took the milk' or 'Gertrude is a sheep' but not both then Lily is yellow.,We doubt that either 'Bernhard 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.9::factA. 0.95::factB. 0.02::factC. %hop1 0.1::factX:-or(factA,factB). 0.8::factY:-xor(factB,factA). 0.05::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.8195,0.7583516703340668,train,very good chance,we doubt,There is a very good chance that either 'Bernhard is a rhino' or 'Julius is gray' but not both.,We doubt that either 'Bernhard is a rhino' or 'Julius is gray' but not both.,0,Either 'Bernhard is a rhino' or 'Julius is gray' but not both. It is probably the case that Julius is a frog. It is probably the case that Brian is a lion. It is likely that John picked up the apple. It is probable that if 'John picked up the apple' or 'Julius is a frog' or both then Lily is a rhino. We doubt that if 'Brian is a lion' or 'John picked up the apple' or both then Mary is in the school. It is highly likely that if either 'Brian is a lion' or 'Julius is a frog' but not both then Winona is a mouse.,It is highly unlikely that 'Winona is a mouse' or 'John picked up 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.7::factB. 0.7::factC. %hop1 0.7::factX:-or(factC,factA). 0.2::factY:-or(factB,factC). 0.9::factZ:-xor(factB,factA). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.8133999999999999,0.41088217643528707,train,very good chance,highly unlikely,There is a very good chance that 'Winona is a mouse' or 'John picked up the apple' or both.,It is highly unlikely that 'Winona is a mouse' or 'John picked up the apple' or both.,0,'Winona is a mouse' or 'John picked up the apple' or both. Chances are about even that Fred is in the cinema. It is highly unlikely that Julius is yellow. Chances are slight that Mary got the football. We believe that if either 'Julius is yellow' or 'Mary got the football' but not both then Greg is a rhino. It is likely that if 'Julius is yellow and Fred is in the cinema' then John went to the garden. There is a better than even chance that if 'Mary got the football' or 'Julius is yellow' or both then Bernhard is a swan.,There is a very good chance that 'Bernhard is a swan' 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.05::factB. 0.1::factC. %hop1 0.75::factX:-xor(factB,factC). 0.7::factY:-and(factB,factA). 0.6::factZ:-or(factC,factB). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.10700000000000003,0.5021004200840168,train,little chance,very good chance,There is little chance that 'Bernhard is a swan' or 'Julius is yellow' or both.,There is a very good chance that 'Bernhard is a swan' or 'Julius is yellow' or both.,0,'Bernhard is a swan' or 'Julius is yellow' or both. It is improbable that Brian is yellow. It is likely that John put down the apple. There is a very good chance that Mary went to the garden. It is highly unlikely that if 'Brian is yellow' or 'Mary went to the garden' or both then Bernhard is a swan. It is highly unlikely that if either 'Mary went to the garden' or 'John put down the apple' but not both then Julius is gray. It is likely that if either 'Mary went to the garden' or 'John put down the apple' but not both then Lily is a lion.,There is almost no chance that 'Lily is a lion 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.8::factC. %hop1 0.05::factX:-or(factA,factC). 0.05::factY:-xor(factC,factB). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.026600000000000002,0.46009201840368075,train,almost no chance,highly likely,There is almost no chance that 'Lily is a lion and Brian is yellow'.,It is highly likely that 'Lily is a lion and Brian is yellow'.,1,'Lily is a lion and Brian is yellow'. Chances are slight that Bernhard is green. We doubt that Greg is gray. We believe that Bill went to the kitchen. We doubt that if 'Greg is gray and Bernhard is green' then Fred dropped the milk. Chances are slight that if 'Greg is gray' or 'Bernhard is green' or both then Brian is a frog. There is a better than even chance that if 'Bill went to the kitchen and Bernhard is green' then Julius is a swan.,It is probably the case that either 'Julius is a swan' or 'Greg 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.2::factB. 0.75::factC. %hop1 0.2::factX:-and(factB,factA). 0.1::factY:-or(factB,factA). 0.6::factZ:-and(factC,factA). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.227,0.6785357071414283,train,probably not,probably,It is probably not the case that either 'Julius is a swan' or 'Greg is gray' but not both.,It is probably the case that either 'Julius is a swan' or 'Greg is gray' but not both.,0,Either 'Julius is a swan' or 'Greg is gray' but not both. We doubt that Brian is a frog. There is almost no chance that Bernhard is gray. There is almost no chance that John went to the office. It is probably not the case that if 'John went to the office' or 'Brian is a frog' or both then Jason is bored. There is a better than even chance that if either 'Bernhard is gray' or 'Brian is a frog' but not both then Antoine is hungry. We doubt that if either 'Bernhard is gray' or 'Brian is a frog' but not both then Julius is a swan.,It is likely that 'Brian is a frog and Julius 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.02::factB. 0.02::factC. %hop1 0.25::factX:-or(factC,factA). 0.6::factY:-xor(factB,factA). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-and(factA,factZ). query(conclusion). ",0.039200000000000006,0.03140628125625125,train,highly unlikely,likely,It is highly unlikely that 'Brian is a frog and Julius is a swan'.,It is likely that 'Brian is a frog and Julius is a swan'.,0,'Brian is a frog and Julius is a swan'. There is a very good chance that Daniel dropped the apple. It is almost certain that Brian is a frog. There is little chance that John took the football. It is impossible that if either 'Daniel dropped the apple' or 'Brian is a frog' but not both then Greg is a lion. It is probable that if 'John took the football' or 'Daniel dropped the apple' or both then Mary went to the office. There is a very good chance that if 'Daniel dropped the apple and John took the football' then Lily is green.,It is certain that 'Daniel dropped the apple' or 'Brian 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.8::factA. 0.95::factB. 0.1::factC. %hop1 0.0::factX:-xor(factA,factB). 0.7::factY:-or(factC,factA). 0.8::factZ:-and(factA,factC). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.99,0.3368673734746949,train,certain,chances are slight,It is certain that 'Daniel dropped the apple' or 'Brian is a frog' or both.,Chances are slight that 'Daniel dropped the apple' or 'Brian is a frog' or both.,1,'Daniel dropped the apple' or 'Brian is a frog' or both. It is almost certain that John left the apple. It is improbable that Julius is gray. There is a better than even chance that Greg is a rhino. Chances are about even that if 'Greg is a rhino' or 'Julius is gray' or both then Jessica is a sheep. There is a better than even chance that if 'John left the apple and Greg is a rhino' then Lily is gray. There is little chance that if 'Greg is a rhino and Julius is gray' then Daniel grabbed the milk.,It is highly unlikely that 'Greg is a rhino' 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.95::factA. 0.1::factB. 0.6::factC. %hop1 0.5::factX:-or(factC,factB). 0.6::factY:-and(factA,factC). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.6,0.23604720944188837,train,better than even,highly unlikely,There is a better than even chance that 'Greg is a rhino' or 'Lily is gray' or both.,It is highly unlikely that 'Greg is a rhino' or 'Lily is gray' or both.,0,'Greg is a rhino' or 'Lily is gray' or both. It is impossible that Jeff moved to the office. We believe that Mary went to the kitchen. It is improbable that Brian is yellow. It is improbable that if 'Mary went to the kitchen' or 'Jeff moved to the office' or both then Julius is gray. There is a very good chance that if 'Jeff moved to the office and Mary went to the kitchen' then Daniel dropped the milk. It is improbable that if 'Mary went to the kitchen and Brian is yellow' then Lily is green.,It is impossible that either 'Lily is green' or 'Daniel 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.0::factA. 0.75::factB. 0.1::factC. %hop1 0.1::factX:-or(factB,factA). 0.8::factY:-and(factA,factB). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.007500000000000004,0.5359071814362872,train,impossible,certain,It is impossible that either 'Lily is green' or 'Daniel dropped the milk' but not both.,It is certain that either 'Lily is green' or 'Daniel dropped the milk' but not both.,1,Either 'Lily is green' or 'Daniel dropped the milk' but not both. It is almost certain that Greg is a frog. There is a very good chance that Mary left the football. It is almost certain that Bernhard is white. There is almost no chance that if 'Greg is a frog' or 'Bernhard is white' or both then Emily is a wolf. There is little chance that if either 'Bernhard is white' or 'Mary left the football' but not both then Brian is a lion. It is probably the case that if 'Mary left the football' or 'Bernhard is white' or both then Lily is a rhino.,There is almost no chance that 'Emily is a wolf 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.95::factA. 0.8::factB. 0.95::factC. %hop1 0.02::factX:-or(factA,factC). 0.1::factY:-xor(factC,factB). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.013832000000000004,0.11422284456891378,train,almost no chance,almost certain,There is almost no chance that 'Emily is a wolf and Lily is a rhino'.,It is almost certain that 'Emily is a wolf and Lily is a rhino'.,1,'Emily is a wolf and Lily is a rhino'. We believe that John took the football. It is almost certain that Julius is yellow. It is probably not the case that Mary went to the bedroom. It is improbable that if 'Mary went to the bedroom and Julius is yellow' then Bernhard is white. There is a better than even chance that if either 'Julius is yellow' or 'Mary went to the bedroom' but not both then Sandra got the milk. There is a better than even chance that if either 'Mary went to the bedroom' or 'Julius is yellow' but not both then Greg is a frog.,We doubt that 'Sandra got the milk' or 'Mary 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.75::factA. 0.95::factB. 0.25::factC. %hop1 0.1::factX:-and(factC,factB). 0.6::factY:-xor(factB,factC). 0.6::factZ:-xor(factC,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.6775,0.37727545509101823,train,probably,we doubt,It is probably the case that 'Sandra got the milk' or 'Mary went to the bedroom' or both.,We doubt that 'Sandra got the milk' or 'Mary went to the bedroom' or both.,0,'Sandra got the milk' or 'Mary went to the bedroom' or both. There is a very good chance that Bernhard is green. Chances are slight that Lily is a lion. Chances are about even that Mary grabbed the milk. It is certain that if 'Lily is a lion' or 'Bernhard is green' or both then Brian is a frog. It is improbable that if either 'Lily is a lion' or 'Mary grabbed the milk' but not both then Julius is yellow. Chances are about even that if 'Mary grabbed the milk' or 'Bernhard is green' or both then Sumit is thirsty.,There is a very good chance that 'Brian 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.8::factA. 0.1::factB. 0.5::factC. %hop1 1.0::factX:-or(factB,factA). 0.1::factY:-xor(factB,factC). 0.5::factZ:-or(factC,factA). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.8290000000000001,0.4242848569713943,train,very good chance,impossible,There is a very good chance that 'Brian is a frog' or 'Julius is yellow' or both.,It is impossible that 'Brian is a frog' or 'Julius is yellow' or both.,1,'Brian is a frog' or 'Julius is yellow' or both. We doubt that Bernhard is a rhino. It is improbable that Gertrude is a mouse. It is certain that John put down the apple. Chances are about even that if either 'Bernhard is a rhino' or 'Gertrude is a mouse' but not both then Julius is a frog. There is little chance that if 'Bernhard is a rhino and John put down the apple' then Mary went to the hallway. It is likely that if 'Gertrude is a mouse and Bernhard is a rhino' then Jessica is a sheep.,It is impossible 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.2::factA. 0.1::factB. 1.0::factC. %hop1 0.5::factX:-xor(factA,factB). 0.1::factY:-and(factA,factC). 0.7::factZ:-and(factB,factA). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.009,0.46989397879575917,train,impossible,better than even,It is impossible that 'Mary went to the hallway and Julius is a frog'.,There is a better than even chance that 'Mary went to the hallway and Julius is a frog'.,1,'Mary went to the hallway and Julius is a frog'. It is probably the case that Winona is a wolf. We doubt that John put down the apple. It is probable that Daniel took the football. It is probable that if 'John put down the apple' or 'Daniel took the football' or both then Lily is a rhino. There is almost no chance that if 'Daniel took the football and John put down the apple' then Julius is green. There is a very good chance that if 'John put down the apple and Daniel took the football' then Mary got the milk.,It is highly unlikely that either 'Mary got the milk' or 'Daniel 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.7::factA. 0.2::factB. 0.7::factC. %hop1 0.7::factX:-or(factB,factC). 0.02::factY:-and(factC,factB). 0.8::factZ:-and(factB,factC). %hop2 conclusion:-xor(factZ,factC). query(conclusion). ",0.588,0.6715343068613723,train,better than even,highly unlikely,There is a better than even chance that either 'Mary got the milk' or 'Daniel took the football' but not both.,It is highly unlikely that either 'Mary got the milk' or 'Daniel took the football' but not both.,0,Either 'Mary got the milk' or 'Daniel took the football' but not both. There is little chance that Brian is gray. Chances are about even that Jason is tired. There is a better than even chance that Julius is a frog. It is highly likely that if either 'Julius is a frog' or 'Jason is tired' but not both then Greg is white. It is probably not the case that if 'Julius is a frog and Brian is gray' then Daniel put down the milk. There is a better than even chance that if 'Jason is tired and Julius is a frog' then Bill went to the garden.,Chances are about even that either 'Daniel put down the milk' 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.1::factA. 0.5::factB. 0.6::factC. %hop1 0.9::factX:-xor(factC,factB). 0.25::factY:-and(factC,factA). 0.6::factZ:-and(factB,factC). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.5,0.4272854570914183,train,about even,almost certain,Chances are about even that either 'Daniel put down the milk' or 'Jason is tired' but not both.,It is almost certain that either 'Daniel put down the milk' or 'Jason is tired' but not both.,1,Either 'Daniel put down the milk' or 'Jason is tired' but not both. There is a very good chance that Greg is gray. It is probably the case that Lily is a rhino. It is improbable that Daniel left the apple. It is probably not the case that if 'Greg is gray' or 'Lily is a rhino' or both then Mary took the football. It is probably the case that if 'Lily is a rhino and Greg is gray' then Brian is white. Chances are slight that if 'Daniel left the apple' or 'Greg is gray' or both then Julius is green.,It is impossible that either 'Daniel left the apple' or 'Greg 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. 0.7::factB. 0.1::factC. %hop1 0.25::factX:-or(factA,factB). 0.7::factY:-and(factB,factA). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.74,0.5927185437087418,train,we believe,impossible,We believe that either 'Daniel left the apple' or 'Greg is gray' but not both.,It is impossible that either 'Daniel left the apple' or 'Greg is gray' but not both.,0,Either 'Daniel left the apple' or 'Greg is gray' but not both. There is a better than even chance that Bernhard is a frog. It is probably the case that Brian is green. It is unlikely that Lily is yellow. It is probable that if either 'Brian is green' or 'Lily is yellow' but not both then Winona is a mouse. It is likely that if either 'Brian is green' or 'Lily is yellow' but not both then Fred moved to the office. It is impossible that if 'Brian is green' or 'Lily is yellow' or both then Mary went to the kitchen.,We doubt that 'Bernhard is a frog' 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.6::factA. 0.7::factB. 0.2::factC. %hop1 0.7::factX:-xor(factB,factC). 0.7::factY:-xor(factB,factC). 0.0::factZ:-or(factB,factC). %hop2 conclusion:-or(factA,factX). query(conclusion). ",0.7736,0.36487297459491896,train,we believe,we doubt,We believe that 'Bernhard is a frog' or 'Winona is a mouse' or both.,We doubt that 'Bernhard is a frog' or 'Winona is a mouse' or both.,0,'Bernhard is a frog' or 'Winona is a mouse' or both. It is probably not the case that Greg is a lion. It is probable that Brian is green. There is a better than even chance that Lily is a frog. There is a better than even chance that if either 'Brian is green' or 'Greg is a lion' but not both then John went to the office. It is likely that if 'Lily is a frog' or 'Greg is a lion' or both then Jessica is a cat. It is unlikely that if either 'Greg is a lion' or 'Brian is green' but not both then Mary left the football.,Chances are about even that either 'John went to the office' 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.25::factA. 0.7::factB. 0.6::factC. %hop1 0.6::factX:-xor(factB,factA). 0.7::factY:-or(factC,factA). 0.2::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.5199999999999999,0.060812162432486494,train,about even,highly unlikely,Chances are about even that either 'John went to the office' or 'Greg is a lion' but not both.,It is highly unlikely that either 'John went to the office' or 'Greg is a lion' but not both.,1,Either 'John went to the office' or 'Greg is a lion' but not both. It is highly unlikely that Bernhard is a swan. It is impossible that John got the apple. There is a better than even chance that Daniel left the football. There is a better than even chance that if either 'Daniel left the football' or 'John got the apple' but not both then Greg is green. It is certain that if either 'Bernhard is a swan' or 'John got the apple' but not both then Brian is white. Chances are slight that if 'John got the apple and Bernhard is a swan' then Fred went to the garden.,It is impossible that 'Greg is green 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.05::factA. 0.0::factB. 0.6::factC. %hop1 0.6::factX:-xor(factC,factB). 1.0::factY:-xor(factA,factB). 0.1::factZ:-and(factB,factA). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.0,0.08441688337667534,train,impossible,almost certain,It is impossible that 'Greg is green and Fred went to the garden'.,It is almost certain that 'Greg is green and Fred went to the garden'.,1,'Greg is green and Fred went to the garden'. It is probably the case that Jeff went to the garden. It is unlikely that Bernhard is a swan. There is little chance that Mary left the apple. Chances are slight that if either 'Bernhard is a swan' or 'Mary left the apple' but not both then Julius is a lion. There is almost no chance that if either 'Mary left the apple' or 'Bernhard is a swan' but not both then Brian is green. It is unlikely that if either 'Mary left the apple' or 'Bernhard is a swan' but not both then Greg is yellow.,It is unlikely that 'Greg 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.7::factA. 0.2::factB. 0.1::factC. %hop1 0.1::factX:-xor(factB,factC). 0.02::factY:-xor(factC,factB). 0.2::factZ:-xor(factC,factB). %hop2 conclusion:-or(factZ,factB). query(conclusion). ",0.21600000000000003,0.5209041808361672,train,unlikely,certain,It is unlikely that 'Greg is yellow' or 'Bernhard is a swan' or both.,It is certain that 'Greg is yellow' or 'Bernhard is a swan' or both.,1,'Greg is yellow' or 'Bernhard is a swan' or both. It is highly likely that Emily is a mouse. It is probably not the case that Mary put down the apple. There is a very good chance that John went to the office. It is probably the case that if 'John went to the office and Mary put down the apple' then Jason is tired. It is highly unlikely that if 'Emily is a mouse' or 'John went to the office' or both then Julius is yellow. There is a better than even chance that if 'John went to the office' or 'Emily is a mouse' or both then Brian is a rhino.,We believe that 'Jason is tired 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.25::factB. 0.8::factC. %hop1 0.7::factX:-and(factC,factB). 0.05::factY:-or(factA,factC). 0.6::factZ:-or(factC,factA). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.084,0.3874774954990998,train,chances are slight,we believe,Chances are slight that 'Jason is tired and Brian is a rhino'.,We believe that 'Jason is tired and Brian is a rhino'.,0,'Jason is tired and Brian is a rhino'. It is highly likely that Yann is tired. It is certain that Bernhard is a frog. It is likely that Greg is a rhino. There is almost no chance that if 'Yann is tired and Greg is a rhino' then Bill got the milk there. It is highly likely that if 'Bernhard is a frog' or 'Greg is a rhino' or both then Lily is a swan. There is a very good chance that if 'Bernhard is a frog' or 'Yann is tired' or both then Mary went to the hallway.,It is highly likely that either 'Lily is a swan' or 'Mary went to the hallway' 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. 1.0::factB. 0.7::factC. %hop1 0.02::factX:-and(factA,factC). 0.9::factY:-or(factB,factC). 0.8::factZ:-or(factB,factA). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.25999999999999995,0.3842768553710742,train,probably not,highly likely,It is probably not the case that either 'Lily is a swan' or 'Mary went to the hallway' but not both.,It is highly likely that either 'Lily is a swan' or 'Mary went to the hallway' but not both.,0,Either 'Lily is a swan' or 'Mary went to the hallway' but not both. It is probable that Jessica is a cat. There is a very good chance that Brian is a swan. There is a better than even chance that Bernhard is a rhino. Chances are slight that if either 'Jessica is a cat' or 'Bernhard is a rhino' but not both then Sandra left the apple. There is almost no chance that if either 'Jessica is a cat' or 'Bernhard is a rhino' but not both then Julius is white. There is a very good chance that if 'Jessica is a cat and Bernhard is a rhino' then John put down the milk.,Chances are slight that either 'John put down the milk' 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.6::factC. %hop1 0.1::factX:-xor(factA,factC). 0.02::factY:-xor(factA,factC). 0.8::factZ:-and(factA,factC). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.5984,0.4100820164032807,train,better than even,chances are slight,There is a better than even chance that either 'John put down the milk' or 'Brian is a swan' but not both.,Chances are slight that either 'John put down the milk' or 'Brian is a swan' but not both.,0,Either 'John put down the milk' or 'Brian is a swan' but not both. There is a better than even chance that Gertrude is a wolf. It is probably the case that Julius is white. Chances are slight that Lily is yellow. It is unlikely that if 'Gertrude is a wolf and Lily is yellow' then Antoine is hungry. It is probable that if 'Lily is yellow and Julius is white' then John left the football. There is a better than even chance that if 'Julius is white and Lily is yellow' then Brian is a rhino.,It is certain that either 'Antoine is hungry' or 'John 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.6::factA. 0.7::factB. 0.1::factC. %hop1 0.2::factX:-and(factA,factC). 0.7::factY:-and(factC,factB). 0.6::factZ:-and(factB,factC). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.04923999999999999,0.3086617323464693,train,highly unlikely,certain,It is highly unlikely that either 'Antoine is hungry' or 'John left the football' but not both.,It is certain that either 'Antoine is hungry' or 'John left the football' but not both.,0,Either 'Antoine is hungry' or 'John left the football' but not both. It is probably the case that Julius is a rhino. Chances are slight that Sandra took the milk. We believe that Mary went to the office. It is likely that if 'Mary went to the office and Julius is a rhino' then Lily is gray. It is certain that if either 'Sandra took the milk' or 'Mary went to the office' but not both then Greg is a frog. It is likely that if 'Julius is a rhino' or 'Sandra took the milk' or both then John got the football.,It is improbable that 'Greg is a frog' 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.7::factA. 0.1::factB. 0.75::factC. %hop1 0.7::factX:-and(factC,factA). 1.0::factY:-xor(factB,factC). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-or(factY,factX). query(conclusion). ",0.73675,0.07641528305661133,train,we believe,improbable,We believe that 'Greg is a frog' or 'Lily is gray' or both.,It is improbable that 'Greg is a frog' or 'Lily is gray' or both.,0,'Greg is a frog' or 'Lily is gray' or both. It is highly unlikely that Mary moved to the garden. There is a better than even chance that John went to the kitchen. It is certain that Julius is yellow. There is a better than even chance that if 'Julius is yellow' or 'John went to the kitchen' or both then Bernhard is gray. There is a better than even chance that if 'Julius is yellow' or 'Mary moved to the garden' or both then Lily is a frog. There is almost no chance that if 'Julius is yellow' or 'Mary moved to the garden' or both then Brian is white.,Chances are about even that either 'John went to the kitchen' 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.05::factA. 0.6::factB. 1.0::factC. %hop1 0.6::factX:-or(factC,factB). 0.6::factY:-or(factC,factA). 0.02::factZ:-or(factC,factA). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.4,0.33986797359471893,train,about even,almost certain,Chances are about even that either 'John went to the kitchen' or 'Julius is yellow' but not both.,It is almost certain that either 'John went to the kitchen' or 'Julius is yellow' but not both.,1,Either 'John went to the kitchen' or 'Julius is yellow' but not both. It is almost certain that John moved to the office. It is likely that Lily is a lion. We believe that Mary took the milk. It is probably the case that if 'Lily is a lion and John moved to the office' then Greg is white. It is highly unlikely that if 'John moved to the office and Lily is a lion' then Brian is yellow. There is little chance that if 'Mary took the milk' or 'Lily is a lion' or both then Fred is in the school.,It is probably not the case that 'Greg is white' 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.95::factA. 0.7::factB. 0.75::factC. %hop1 0.7::factX:-and(factB,factA). 0.05::factY:-and(factA,factB). 0.1::factZ:-or(factC,factB). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.95,0.36687337467493497,train,almost certain,probably not,It is almost certain that 'Greg is white' or 'John moved to the office' or both.,It is probably not the case that 'Greg is white' or 'John moved to the office' or both.,0,'Greg is white' or 'John moved to the office' or both. It is highly unlikely that Mary grabbed the milk. We doubt that Fred dropped the apple. We believe that Lily is a lion. It is unlikely that if either 'Mary grabbed the milk' or 'Fred dropped the apple' but not both then Greg is a swan. It is probably the case that if 'Mary grabbed the milk' or 'Lily is a lion' or both then Bernhard is a frog. It is probable that if either 'Fred dropped the apple' or 'Lily is a lion' but not both then Brian is green.,It is highly unlikely that 'Lily is a lion 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.05::factA. 0.2::factB. 0.75::factC. %hop1 0.2::factX:-xor(factA,factB). 0.7::factY:-or(factA,factC). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.03750000000000001,0.6777355471094219,train,highly unlikely,better than even,It is highly unlikely that 'Lily is a lion and Mary grabbed the milk'.,There is a better than even chance that 'Lily is a lion and Mary grabbed the milk'.,1,'Lily is a lion and Mary grabbed the milk'. Chances are slight that Jason is bored. It is impossible that Julius is gray. It is certain that Greg is yellow. It is unlikely that if 'Jason is bored' or 'Julius is gray' or both then Brian is a frog. It is certain that if 'Jason is bored and Greg is yellow' then Fred went to the garden. It is highly unlikely that if either 'Greg is yellow' or 'Julius is gray' but not both then Lily is a lion.,There is little chance that 'Jason is bored' 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.1::factA. 0.0::factB. 1.0::factC. %hop1 0.2::factX:-or(factA,factB). 1.0::factY:-and(factA,factC). 0.05::factZ:-xor(factC,factB). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.10000000000000002,0.6535307061412282,train,little chance,certain,There is little chance that 'Jason is bored' or 'Julius is gray' or both.,It is certain that 'Jason is bored' or 'Julius is gray' or both.,1,'Jason is bored' or 'Julius is gray' or both. We doubt that Winona is a cat. It is probably the case that John got the apple. There is little chance that Mary grabbed the milk. There is a very good chance that if 'Mary grabbed the milk' or 'Winona is a cat' or both then Gertrude is a sheep. We believe that if either 'Mary grabbed the milk' or 'Winona is a cat' but not both then Lily is a rhino. There is little chance that if 'Mary grabbed the milk and Winona is a cat' then Brian is a swan.,There is a very good chance that 'Gertrude is a sheep' 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.2::factA. 0.7::factB. 0.1::factC. %hop1 0.8::factX:-or(factC,factA). 0.75::factY:-xor(factC,factA). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.22440000000000007,0.4382876575315063,train,we doubt,very good chance,We doubt that 'Gertrude is a sheep' or 'Brian is a swan' or both.,There is a very good chance that 'Gertrude is a sheep' or 'Brian is a swan' or both.,0,'Gertrude is a sheep' or 'Brian is a swan' or both. It is probably not the case that John picked up the apple. It is unlikely that Brian is a rhino. It is likely that Greg is a lion. There is a very good chance that if either 'Greg is a lion' or 'Brian is a rhino' but not both then Sandra got the football. We doubt that if 'John picked up the apple and Greg is a lion' then Lily is a swan. It is impossible that if 'John picked up the apple and Greg is a lion' then Julius is gray.,It is almost certain that 'Sandra got the football 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.25::factA. 0.2::factB. 0.7::factC. %hop1 0.8::factX:-xor(factC,factB). 0.2::factY:-and(factA,factC). 0.0::factZ:-and(factA,factC). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.0,0.509501900380076,train,impossible,almost certain,It is impossible that 'Sandra got the football and Julius is gray'.,It is almost certain that 'Sandra got the football and Julius is gray'.,0,'Sandra got the football and Julius is gray'. Chances are about even that Julius is a swan. There is a better than even chance that Greg is a lion. It is improbable that Bernhard is white. It is impossible that if 'Julius is a swan' or 'Greg is a lion' or both then Lily is a lion. It is improbable that if either 'Greg is a lion' or 'Julius is a swan' but not both then Mary went to the office. It is highly likely that if 'Julius is a swan' or 'Greg is a lion' or both then Brian is a rhino.,We doubt that either 'Mary went to the office' 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.5::factA. 0.6::factB. 0.1::factC. %hop1 0.0::factX:-or(factA,factB). 0.1::factY:-xor(factB,factA). 0.9::factZ:-or(factA,factB). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.68,0.7269453890778156,train,probable,we doubt,It is probable that either 'Mary went to the office' or 'Brian is a rhino' but not both.,We doubt that either 'Mary went to the office' or 'Brian is a rhino' but not both.,0,Either 'Mary went to the office' or 'Brian is a rhino' but not both. It is highly unlikely that Antoine is thirsty. It is likely that Greg is a lion. There is little chance that Mary took the football. It is impossible that if 'Greg is a lion' or 'Antoine is thirsty' or both then John dropped the apple. It is unlikely that if 'Greg is a lion and Antoine is thirsty' then Brian is yellow. It is probably not the case that if 'Antoine is thirsty and Mary took the football' then Julius is a swan.,It is probable that either 'Brian is yellow' 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.05::factA. 0.7::factB. 0.1::factC. %hop1 0.0::factX:-or(factB,factA). 0.2::factY:-and(factB,factA). 0.25::factZ:-and(factA,factC). %hop2 conclusion:-xor(factY,factA). query(conclusion). ",0.04300000000000001,0.46029205841168236,train,highly unlikely,probable,It is highly unlikely that either 'Brian is yellow' or 'Antoine is thirsty' but not both.,It is probable that either 'Brian is yellow' or 'Antoine is thirsty' but not both.,0,Either 'Brian is yellow' or 'Antoine is thirsty' but not both. We believe that Daniel grabbed the milk. It is certain that John moved to the office. It is likely that Mary dropped the apple. It is highly unlikely that if 'Daniel grabbed the milk' or 'Mary dropped the apple' or both then Julius is a rhino. There is a better than even chance that if 'Daniel grabbed the milk and John moved to the office' then Brian is white. We doubt that if either 'John moved to the office' or 'Daniel grabbed the milk' but not both then Bernhard is a swan.,Chances are slight that 'Mary dropped the apple' 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.75::factA. 1.0::factB. 0.7::factC. %hop1 0.05::factX:-or(factA,factC). 0.6::factY:-and(factA,factB). 0.2::factZ:-xor(factB,factA). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.715,0.7539507901580316,train,probable,chances are slight,It is probable that 'Mary dropped the apple' or 'Bernhard is a swan' or both.,Chances are slight that 'Mary dropped the apple' or 'Bernhard is a swan' or both.,0,'Mary dropped the apple' or 'Bernhard is a swan' or both. It is highly unlikely that Mary took the football. There is little chance that Greg is white. There is a better than even chance that John discarded the apple. We doubt that if either 'John discarded the apple' or 'Mary took the football' but not both then Jason is tired. It is improbable that if 'Greg is white' or 'John discarded the apple' or both then Bernhard is a rhino. It is probably not the case that if 'John discarded the apple' or 'Greg is white' or both then Sandra left the milk.,We believe that either 'Bernhard is a rhino' 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.05::factA. 0.1::factB. 0.6::factC. %hop1 0.2::factX:-xor(factC,factA). 0.1::factY:-or(factB,factC). 0.25::factZ:-or(factC,factB). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.14400000000000002,0.4186837367473495,train,chances are slight,we believe,Chances are slight that either 'Bernhard is a rhino' or 'Greg is white' but not both.,We believe that either 'Bernhard is a rhino' or 'Greg is white' but not both.,0,Either 'Bernhard is a rhino' or 'Greg is white' but not both. There is a very good chance that Julius is yellow. It is unlikely that Winona is a sheep. It is impossible that Lily is green. It is probably not the case that if 'Winona is a sheep and Julius is yellow' then Mary took the milk. It is likely that if 'Lily is green and Winona is a sheep' then John put down the apple. There is a better than even chance that if either 'Lily is green' or 'Winona is a sheep' but not both then Sandra dropped the milk.,It is likely that 'John put down the apple' 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.8::factA. 0.2::factB. 0.0::factC. %hop1 0.25::factX:-and(factB,factA). 0.7::factY:-and(factC,factB). 0.6::factZ:-xor(factC,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.0,0.28085617123424683,train,impossible,likely,It is impossible that 'John put down the apple' or 'Lily is green' or both.,It is likely that 'John put down the apple' or 'Lily is green' or both.,0,'John put down the apple' or 'Lily is green' or both. We doubt that Yann is bored. It is impossible that Bernhard is gray. It is highly likely that John went to the kitchen. It is highly likely that if 'Yann is bored' or 'John went to the kitchen' or both then Brian is white. We believe that if either 'John went to the kitchen' or 'Bernhard is gray' but not both then Sandra left the football. Chances are about even that if 'Yann is bored and Bernhard is gray' then Julius is a frog.,Chances are slight that 'Bernhard is gray' 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.0::factB. 0.9::factC. %hop1 0.9::factX:-or(factA,factC). 0.75::factY:-xor(factC,factB). 0.5::factZ:-and(factA,factB). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.8280000000000001,0.01880376075215043,train,very good chance,chances are slight,There is a very good chance that 'Bernhard is gray' or 'Brian is white' or both.,Chances are slight that 'Bernhard is gray' or 'Brian is white' or both.,0,'Bernhard is gray' or 'Brian is white' or both. It is highly likely that Brian is a swan. We doubt that Sandra dropped the milk. It is probably not the case that Mary went to the garden. There is little chance that if 'Brian is a swan and Mary went to the garden' then Julius is white. It is probable that if 'Mary went to the garden and Sandra dropped the milk' then Lily is green. We believe that if 'Brian is a swan and Mary went to the garden' then John got the football.,It is certain that 'Mary went to the garden' 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.9::factA. 0.2::factB. 0.25::factC. %hop1 0.1::factX:-and(factA,factC). 0.7::factY:-and(factC,factB). 0.75::factZ:-and(factA,factC). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.24999999999999994,0.7711542308461692,train,probably not,certain,It is probably not the case that 'Mary went to the garden' or 'Julius is white' or both.,It is certain that 'Mary went to the garden' or 'Julius is white' or both.,0,'Mary went to the garden' or 'Julius is white' or both. It is certain that Greg is yellow. Chances are slight that Jeff moved to the office. It is almost certain that Lily is a rhino. There is little chance that if either 'Lily is a rhino' or 'Jeff moved to the office' but not both then Julius is gray. There is a better than even chance that if either 'Jeff moved to the office' or 'Greg is yellow' but not both then Mary went to the bedroom. We believe that if 'Jeff moved to the office' or 'Greg is yellow' or both then John got the milk.,Chances are about even that either 'Greg is yellow' 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 1.0::factA. 0.1::factB. 0.95::factC. %hop1 0.1::factX:-xor(factC,factB). 0.6::factY:-xor(factB,factA). 0.75::factZ:-or(factB,factA). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.46,0.3930786157231446,train,about even,almost no chance,Chances are about even that either 'Greg is yellow' or 'Mary went to the bedroom' but not both.,There is almost no chance that either 'Greg is yellow' or 'Mary went to the bedroom' but not both.,1,Either 'Greg is yellow' or 'Mary went to the bedroom' but not both. We doubt that Mary is in the school. It is almost certain that Fred went to the garden. It is certain that Jessica is a cat. There is a better than even chance that if either 'Jessica is a cat' or 'Fred went to the garden' but not both then Lily is yellow. We believe that if 'Jessica is a cat' or 'Mary is in the school' or both then John grabbed the apple. It is likely that if 'Fred went to the garden' or 'Mary is in the school' or both then Brian is a frog.,It is probably the case 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.2::factA. 0.95::factB. 1.0::factC. %hop1 0.6::factX:-xor(factC,factB). 0.75::factY:-or(factC,factA). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.6936,0.393878775755151,train,probably,highly unlikely,It is probably the case that either 'Lily is yellow' or 'Brian is a frog' but not both.,It is highly unlikely that either 'Lily is yellow' or 'Brian is a frog' but not both.,1,Either 'Lily is yellow' or 'Brian is a frog' but not both. Chances are about even that John left the milk. There is little chance that Sumit is thirsty. There is little chance that Emily is a wolf. It is improbable that if 'Emily is a wolf and Sumit is thirsty' then Bernhard is green. It is likely that if 'Sumit is thirsty' or 'Emily is a wolf' or both then Lily is white. There is little chance that if 'Emily is a wolf and Sumit is thirsty' then Greg is gray.,There is a very good chance that 'Sumit is thirsty 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.5::factA. 0.1::factB. 0.1::factC. %hop1 0.1::factX:-and(factC,factB). 0.7::factY:-or(factB,factC). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.0010000000000000002,0.10702140428085617,train,impossible,very good chance,It is impossible that 'Sumit is thirsty and Bernhard is green'.,There is a very good chance that 'Sumit is thirsty and Bernhard is green'.,0,'Sumit is thirsty and Bernhard is green'. It is almost certain that Winona is a mouse. It is impossible that Brian is a frog. It is highly unlikely that John grabbed the apple. It is certain that if 'Winona is a mouse and Brian is a frog' then Jeff moved to the office. It is highly unlikely that if 'Brian is a frog and Winona is a mouse' then Sumit is thirsty. It is probably not the case that if 'Winona is a mouse' or 'John grabbed the apple' or both then Greg is yellow.,It is highly likely that either 'Greg 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.95::factA. 0.0::factB. 0.05::factC. %hop1 1.0::factX:-and(factA,factB). 0.05::factY:-and(factB,factA). 0.25::factZ:-or(factA,factC). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.23812499999999998,0.04940988197639528,train,probably not,highly likely,It is probably not the case that either 'Greg is yellow' or 'Brian is a frog' but not both.,It is highly likely that either 'Greg is yellow' or 'Brian is a frog' but not both.,0,Either 'Greg is yellow' or 'Brian is a frog' but not both. It is probably not the case that Jessica is a mouse. It is impossible that Greg is green. Chances are slight that John went to the garden. There is almost no chance that if 'John went to the garden' or 'Greg is green' or both then Brian is yellow. It is probably not the case that if either 'Greg is green' or 'Jessica is a mouse' but not both then Emily is a cat. It is probably the case that if 'Greg is green' or 'John went to the garden' or both then Mary got the milk.,It is impossible that 'Greg is green 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.0::factB. 0.1::factC. %hop1 0.02::factX:-or(factC,factB). 0.25::factY:-xor(factB,factA). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.0,0.7569513902780556,train,impossible,certain,It is impossible that 'Greg is green and Emily is a cat'.,It is certain that 'Greg is green and Emily is a cat'.,1,'Greg is green and Emily is a cat'. It is impossible that Fred is in the cinema. There is a better than even chance that Bernhard is green. Chances are slight that Brian is white. There is almost no chance that if 'Fred is in the cinema and Brian is white' then Lily is a frog. It is unlikely that if 'Fred is in the cinema and Bernhard is green' then Mary got the football. It is improbable that if 'Bernhard is green and Brian is white' then John went to the hallway.,It is impossible that 'Mary got the football and Fred is in the cinema'.," and(A,B) :- A,B. or(A,B) :- A;B. nand(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.1::factC. %hop1 0.02::factX:-and(factA,factC). 0.2::factY:-and(factA,factB). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.0,0.6727345469093818,train,impossible,certain,It is impossible that 'Mary got the football and Fred is in the cinema'.,It is certain that 'Mary got the football and Fred is in the cinema'.,1,'Mary got the football and Fred is in the cinema'. It is impossible that Sandra left the milk. It is probably not the case that John moved to the office. It is probable that Lily is a rhino. It is almost certain that if 'John moved to the office and Sandra left the milk' then Emily is a mouse. It is highly likely that if either 'Sandra left the milk' or 'John moved to the office' but not both then Fred is in the cinema. It is probable that if 'Lily is a rhino and John moved to the office' then Bernhard is white.,It is probably not the case that 'Sandra left the milk' 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.0::factA. 0.25::factB. 0.7::factC. %hop1 0.95::factX:-and(factB,factA). 0.9::factY:-xor(factA,factB). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.25,0.34186837367473494,train,probably not,highly likely,It is probably not the case that 'Sandra left the milk' or 'John moved to the office' or both.,It is highly likely that 'Sandra left the milk' or 'John moved to the office' or both.,1,'Sandra left the milk' or 'John moved to the office' or both. Chances are about even that John put down the apple. It is unlikely that Bernhard is yellow. It is unlikely that Brian is a rhino. It is highly likely that if either 'Bernhard is yellow' or 'John put down the apple' but not both then Lily is a frog. There is a very good chance that if 'Brian is a rhino' or 'John put down the apple' or both then Mary left the football. We doubt that if 'John put down the apple and Brian is a rhino' then Emily is a sheep.,It is impossible that 'Bernhard is yellow and Emily 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.5::factA. 0.2::factB. 0.2::factC. %hop1 0.9::factX:-xor(factB,factA). 0.8::factY:-or(factC,factA). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.004000000000000002,0.16643328665733148,train,impossible,probable,It is impossible that 'Bernhard is yellow and Emily is a sheep'.,It is probable that 'Bernhard is yellow and Emily is a sheep'.,1,'Bernhard is yellow and Emily is a sheep'. It is probable that John went to the kitchen. It is probably not the case that Greg is gray. There is little chance that Mary left the apple. It is highly unlikely that if either 'John went to the kitchen' or 'Mary left the apple' but not both then Bernhard is a frog. It is probable that if 'John went to the kitchen and Greg is gray' then Julius is a swan. It is impossible that if either 'Greg is gray' or 'Mary left the apple' but not both then Brian is a rhino.,It is likely that either 'Greg is gray' 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.7::factA. 0.25::factB. 0.1::factC. %hop1 0.05::factX:-xor(factA,factC). 0.7::factY:-and(factA,factB). 0.0::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.26649999999999996,0.4174834966993399,train,probably not,likely,It is probably not the case that either 'Greg is gray' or 'Bernhard is a frog' but not both.,It is likely that either 'Greg is gray' or 'Bernhard is a frog' but not both.,0,Either 'Greg is gray' or 'Bernhard is a frog' but not both. There is a very good chance that Fred is in the office. It is certain that Sandra got the milk. It is certain that Greg is yellow. It is probable that if 'Fred is in the office' or 'Greg is yellow' or both then Mary went to the kitchen. We believe that if either 'Sandra got the milk' or 'Greg is yellow' but not both then Brian is gray. It is unlikely that if 'Fred is in the office and Sandra got the milk' then John picked up the apple.,There is almost no chance that either 'Fred is in the office' or 'Brian 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. 1.0::factC. %hop1 0.7::factX:-or(factA,factC). 0.75::factY:-xor(factB,factC). 0.2::factZ:-and(factA,factB). %hop2 conclusion:-xor(factA,factY). query(conclusion). ",0.8,0.2984596919383877,train,very good chance,almost no chance,There is a very good chance that either 'Fred is in the office' or 'Brian is gray' but not both.,There is almost no chance that either 'Fred is in the office' or 'Brian is gray' but not both.,0,Either 'Fred is in the office' or 'Brian is gray' but not both. There is almost no chance that Julius is a frog. There is a very good chance that Jessica is a cat. We believe that Mary went to the office. Chances are about even that if 'Julius is a frog' or 'Jessica is a cat' or both then Emily is a sheep. It is impossible that if 'Mary went to the office' or 'Julius is a frog' or both then Greg is a swan. It is certain that if 'Julius is a frog and Mary went to the office' then Sandra dropped the apple.,It is probably the case that 'Mary went to the office and Emily 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.02::factA. 0.8::factB. 0.75::factC. %hop1 0.5::factX:-or(factA,factB). 0.0::factY:-or(factC,factA). 1.0::factZ:-and(factA,factC). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.3015,0.29265853170634126,train,probably not,probably,It is probably not the case that 'Mary went to the office and Emily is a sheep'.,It is probably the case that 'Mary went to the office and Emily is a sheep'.,0,'Mary went to the office and Emily is a sheep'. It is highly unlikely that Mary went to the kitchen. Chances are about even that Gertrude is a mouse. There is a better than even chance that Sandra took the football. Chances are about even that if 'Sandra took the football' or 'Gertrude is a mouse' or both then Bernhard is a frog. We doubt that if 'Sandra took the football and Mary went to the kitchen' then Greg is white. It is impossible that if either 'Gertrude is a mouse' or 'Mary went to the kitchen' but not both then Jessica is a sheep.,It is impossible that 'Jessica is a sheep 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.05::factA. 0.5::factB. 0.6::factC. %hop1 0.5::factX:-or(factC,factB). 0.2::factY:-and(factC,factA). 0.0::factZ:-xor(factB,factA). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.0,0.3070614122824565,train,impossible,likely,It is impossible that 'Jessica is a sheep and Greg is white'.,It is likely that 'Jessica is a sheep and Greg is white'.,1,'Jessica is a sheep and Greg is white'. It is certain that Sandra left the milk. It is certain that Bernhard is gray. It is unlikely that John picked up the apple. There is little chance that if 'Sandra left the milk and John picked up the apple' then Greg is a frog. It is highly likely that if either 'John picked up the apple' or 'Bernhard is gray' but not both then Brian is green. We doubt that if 'John picked up the apple' or 'Bernhard is gray' or both then Mary went to the bedroom.,It is highly unlikely that 'Bernhard is gray 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 1.0::factA. 1.0::factB. 0.2::factC. %hop1 0.1::factX:-and(factA,factC). 0.9::factY:-xor(factC,factB). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-and(factB,factA). query(conclusion). ",1.0,0.7543508701740348,train,certain,highly unlikely,It is certain that 'Bernhard is gray and Sandra left the milk'.,It is highly unlikely that 'Bernhard is gray and Sandra left the milk'.,0,'Bernhard is gray and Sandra left the milk'. It is almost certain that Brian is yellow. It is highly unlikely that Gertrude is a mouse. It is certain that John moved to the office. It is likely that if 'Gertrude is a mouse and Brian is yellow' then Mary went to the bedroom. It is likely that if either 'John moved to the office' or 'Gertrude is a mouse' but not both then Daniel got the milk. It is likely that if either 'Gertrude is a mouse' or 'Brian is yellow' but not both then Greg is a swan.,It is improbable that 'John moved to the office' or 'Mary 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.95::factA. 0.05::factB. 1.0::factC. %hop1 0.7::factX:-and(factB,factA). 0.7::factY:-xor(factC,factB). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-or(factC,factX). query(conclusion). ",1.0,0.22884576915383076,train,certain,improbable,It is certain that 'John moved to the office' or 'Mary went to the bedroom' or both.,It is improbable that 'John moved to the office' or 'Mary went to the bedroom' or both.,0,'John moved to the office' or 'Mary went to the bedroom' or both. We believe that Greg is a swan. Chances are slight that Bill moved to the office. It is unlikely that Mary dropped the milk. We doubt that if 'Greg is a swan and Mary dropped the milk' then John grabbed the apple. It is improbable that if 'Mary dropped the milk' or 'Bill moved to the office' or both then Julius is a swan. It is certain that if either 'Mary dropped the milk' or 'Greg is a swan' but not both then Bernhard is a lion.,It is likely that either 'Greg is a swan' or 'Bernhard 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.75::factA. 0.1::factB. 0.2::factC. %hop1 0.2::factX:-and(factA,factC). 0.1::factY:-or(factC,factB). 1.0::factZ:-xor(factC,factA). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.2,0.3378675735147029,train,we doubt,likely,We doubt that either 'Greg is a swan' or 'Bernhard is a lion' but not both.,It is likely that either 'Greg is a swan' or 'Bernhard is a lion' but not both.,0,Either 'Greg is a swan' or 'Bernhard is a lion' but not both. It is highly likely that Mary went to the garden. Chances are slight that Jessica is a cat. There is almost no chance that Bernhard is yellow. It is certain that if 'Bernhard is yellow' or 'Mary went to the garden' or both then John got the apple. It is improbable that if 'Mary went to the garden and Bernhard is yellow' then Greg is a swan. It is highly unlikely that if either 'Jessica is a cat' or 'Bernhard is yellow' but not both then Sumit is thirsty.,It is probable that 'Jessica is a cat and Greg 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.9::factA. 0.1::factB. 0.02::factC. %hop1 1.0::factX:-or(factC,factA). 0.1::factY:-and(factA,factC). 0.05::factZ:-xor(factB,factC). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.0001800000000000001,0.07761552310462093,train,impossible,probable,It is impossible that 'Jessica is a cat and Greg is a swan'.,It is probable that 'Jessica is a cat and Greg is a swan'.,0,'Jessica is a cat and Greg is a swan'. It is probably the case that Gertrude is a wolf. It is probably the case that Greg is gray. It is highly unlikely that Brian is a frog. It is probable that if either 'Gertrude is a wolf' or 'Brian is a frog' but not both then John went to the garden. We believe that if 'Greg is gray' or 'Brian is a frog' or both then Bernhard is green. Chances are slight that if either 'Gertrude is a wolf' or 'Brian is a frog' but not both then Julius is white.,We believe that 'John went 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.7::factA. 0.7::factB. 0.05::factC. %hop1 0.7::factX:-xor(factA,factC). 0.75::factY:-or(factB,factC). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.7599874999999999,0.6983396679335867,train,we believe,highly unlikely,We believe that 'John went to the garden' or 'Bernhard is green' or both.,It is highly unlikely that 'John went to the garden' or 'Bernhard is green' or both.,1,'John went to the garden' or 'Bernhard is green' or both. It is highly unlikely that Lily is white. There is almost no chance that Winona is a sheep. There is a very good chance that John discarded the milk. It is certain that if 'John discarded the milk' or 'Lily is white' or both then Brian is a swan. It is probably not the case that if either 'Winona is a sheep' or 'John discarded the milk' but not both then Gertrude is a mouse. We believe that if 'Winona is a sheep' or 'Lily is white' or both then Bill went to the garden.,There is a very good chance that 'Brian is a swan' or 'John discarded 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.05::factA. 0.02::factB. 0.8::factC. %hop1 1.0::factX:-or(factC,factA). 0.25::factY:-xor(factB,factC). 0.75::factZ:-or(factB,factA). %hop2 conclusion:-or(factX,factC). query(conclusion). ",0.81,0.01260252050410082,train,very good chance,we doubt,There is a very good chance that 'Brian is a swan' or 'John discarded the milk' or both.,We doubt that 'Brian is a swan' or 'John discarded the milk' or both.,1,'Brian is a swan' or 'John discarded the milk' or both. It is probable that Sandra got the milk. It is probably not the case that Mary went to the hallway. There is little chance that Brian is a lion. It is almost certain that if 'Brian is a lion and Mary went to the hallway' then Bernhard is green. There is a very good chance that if 'Mary went to the hallway and Brian is a lion' then Greg is a rhino. It is unlikely that if 'Sandra got the milk and Brian is a lion' then Winona is a wolf.,There is little chance that either 'Bernhard is green' or 'Brian 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.25::factB. 0.1::factC. %hop1 0.95::factX:-and(factC,factB). 0.8::factY:-and(factB,factC). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-xor(factX,factC). query(conclusion). ",0.07625000000000003,0.17963592718543708,train,little chance,better than even,There is little chance that either 'Bernhard is green' or 'Brian is a lion' but not both.,There is a better than even chance that either 'Bernhard is green' or 'Brian is a lion' but not both.,1,Either 'Bernhard is green' or 'Brian is a lion' but not both. It is impossible that Julius is a lion. It is certain that Jessica is a mouse. There is little chance that Bernhard is a swan. It is probably not the case that if 'Bernhard is a swan' or 'Jessica is a mouse' or both then Mary dropped the milk. It is unlikely that if 'Jessica is a mouse' or 'Bernhard is a swan' or both then Lily is a rhino. There is a very good chance that if either 'Bernhard is a swan' or 'Julius is a lion' but not both then John went to the garden.,It is probably the case that 'Lily 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.0::factA. 1.0::factB. 0.1::factC. %hop1 0.25::factX:-or(factC,factB). 0.2::factY:-or(factB,factC). 0.8::factZ:-xor(factC,factA). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.02000000000000001,0.4330866173234647,train,almost no chance,probably,There is almost no chance that 'Lily is a rhino and Bernhard is a swan'.,It is probably the case that 'Lily is a rhino and Bernhard is a swan'.,0,'Lily is a rhino and Bernhard is a swan'. There is little chance that Winona is a cat. Chances are slight that Julius is a frog. It is certain that Brian is white. It is improbable that if either 'Winona is a cat' or 'Brian is white' but not both then Sandra dropped the milk. It is probably the case that if 'Brian is white' or 'Julius is a frog' or both then Bernhard is yellow. It is probably the case that if 'Brian is white and Winona is a cat' then Mary moved to the office.,We believe that either 'Julius is a frog' or 'Winona 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.1::factB. 1.0::factC. %hop1 0.1::factX:-xor(factA,factC). 0.7::factY:-or(factC,factB). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.18000000000000005,0.30206041208241646,train,unlikely,we believe,It is unlikely that either 'Julius is a frog' or 'Winona is a cat' but not both.,We believe that either 'Julius is a frog' or 'Winona is a cat' but not both.,0,Either 'Julius is a frog' or 'Winona is a cat' but not both. We doubt that John moved to the garden. It is probably the case that Greg is a rhino. We doubt that Bernhard is gray. It is impossible that if either 'John moved to the garden' or 'Bernhard is gray' but not both then Sandra left the milk. It is impossible that if 'Greg is a rhino and John moved to the garden' then Julius is a frog. There is almost no chance that if either 'Bernhard is gray' or 'Greg is a rhino' but not both then Mary went to the office.,There is almost no chance that 'Mary went to the office' 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.2::factA. 0.7::factB. 0.2::factC. %hop1 0.0::factX:-xor(factA,factC). 0.0::factY:-and(factB,factA). 0.02::factZ:-xor(factC,factB). %hop2 conclusion:-or(factZ,factX). query(conclusion). ",0.012400000000000003,0.15503100620124025,train,almost no chance,almost certain,There is almost no chance that 'Mary went to the office' or 'Sandra left the milk' or both.,It is almost certain that 'Mary went to the office' or 'Sandra left the milk' or both.,1,'Mary went to the office' or 'Sandra left the milk' or both. It is likely that Julius is a lion. It is unlikely that Mary moved to the office. It is likely that Greg is a swan. Chances are slight that if 'Julius is a lion' or 'Greg is a swan' or both then John went to the garden. It is highly unlikely that if 'Mary moved to the office and Greg is a swan' then Daniel left the milk. We believe that if either 'Mary moved to the office' or 'Greg is a swan' but not both then Bernhard is gray.,We doubt that 'Greg is a swan' 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.2::factB. 0.7::factC. %hop1 0.1::factX:-or(factA,factC). 0.05::factY:-and(factB,factC). 0.75::factZ:-xor(factB,factC). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.745,0.6485297059411882,train,we believe,we doubt,We believe that 'Greg is a swan' or 'Bernhard is gray' or both.,We doubt that 'Greg is a swan' or 'Bernhard is gray' or both.,0,'Greg is a swan' or 'Bernhard is gray' or both. It is almost certain that Mary got the milk. It is highly likely that Sandra dropped the milk. It is improbable that Brian is a swan. It is impossible that if either 'Sandra dropped the milk' or 'Brian is a swan' but not both then Lily is green. There is a better than even chance that if 'Brian is a swan' or 'Sandra dropped the milk' or both then John went to the garden. It is improbable that if 'Brian is a swan and Mary got the milk' then Greg is gray.,It is almost certain that 'Brian is a swan' 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.95::factA. 0.9::factB. 0.1::factC. %hop1 0.0::factX:-xor(factB,factC). 0.6::factY:-or(factC,factB). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.10000000000000002,0.47029405881176234,train,little chance,almost certain,There is little chance that 'Brian is a swan' or 'Lily is green' or both.,It is almost certain that 'Brian is a swan' or 'Lily is green' or both.,0,'Brian is a swan' or 'Lily is green' or both. Chances are about even that Bernhard is a swan. It is unlikely that Jeff put down the milk. It is impossible that Julius is a frog. It is impossible that if 'Jeff put down the milk' or 'Bernhard is a swan' or both then Bill went to the office. It is likely that if 'Jeff put down the milk and Bernhard is a swan' then Lily is white. It is impossible that if 'Jeff put down the milk and Bernhard is a swan' then John dropped the milk.,It is certain that either 'Bernhard is a swan' 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.5::factA. 0.2::factB. 0.0::factC. %hop1 0.0::factX:-or(factB,factA). 0.7::factY:-and(factB,factA). 0.0::factZ:-and(factB,factA). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.5,0.4374874974994999,train,about even,certain,Chances are about even that either 'Bernhard is a swan' or 'Julius is a frog' but not both.,It is certain that either 'Bernhard is a swan' or 'Julius is a frog' but not both.,0,Either 'Bernhard is a swan' or 'Julius is a frog' but not both. Chances are about even that John moved to the office. It is impossible that Mary dropped the milk. It is probably the case that Greg is gray. It is probably not the case that if 'Mary dropped the milk and John moved to the office' then Brian is yellow. There is almost no chance that if 'Mary dropped the milk and Greg is gray' then Emily is a cat. It is probable that if 'Greg is gray and Mary dropped the milk' then Julius is a lion.,We believe that 'Julius is a lion and Mary 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.5::factA. 0.0::factB. 0.7::factC. %hop1 0.25::factX:-and(factB,factA). 0.02::factY:-and(factB,factC). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.0,0.2398479695939188,train,impossible,we believe,It is impossible that 'Julius is a lion and Mary dropped the milk'.,We believe that 'Julius is a lion and Mary dropped the milk'.,0,'Julius is a lion and Mary dropped the milk'. There is a better than even chance that Mary took the milk. It is probable that Emily is a wolf. It is highly unlikely that Julius is a swan. It is probably not the case that if 'Julius is a swan and Mary took the milk' then Jessica is a sheep. It is probably not the case that if 'Julius is a swan' or 'Mary took the milk' or both then Jason is tired. There is a very good chance that if 'Mary took the milk and Emily is a wolf' then Bernhard is a frog.,It is highly unlikely that either 'Jason is tired' 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 0.6::factA. 0.7::factB. 0.05::factC. %hop1 0.25::factX:-and(factC,factA). 0.25::factY:-or(factC,factA). 0.8::factZ:-and(factA,factB). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.638,0.16323264652930586,train,better than even,highly unlikely,There is a better than even chance that either 'Jason is tired' or 'Emily is a wolf' but not both.,It is highly unlikely that either 'Jason is tired' or 'Emily is a wolf' but not both.,0,Either 'Jason is tired' or 'Emily is a wolf' but not both. We believe that Greg is a swan. It is almost certain that Bill went to the kitchen. It is improbable that John took the apple. There is a better than even chance that if 'Bill went to the kitchen' or 'John took the apple' or both then Jessica is a mouse. There is little chance that if either 'Greg is a swan' or 'Bill went to the kitchen' but not both then Julius is a lion. There is almost no chance that if 'Bill went to the kitchen and John took the apple' then Brian is a frog.,Chances are about even that either 'Bill went to the kitchen' 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.75::factA. 0.95::factB. 0.1::factC. %hop1 0.6::factX:-or(factB,factC). 0.1::factY:-xor(factA,factB). 0.02::factZ:-and(factB,factC). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.9480999999999999,0.6267253450690138,train,almost certain,about even,It is almost certain that either 'Bill went to the kitchen' or 'Brian is a frog' but not both.,Chances are about even that either 'Bill went to the kitchen' or 'Brian is a frog' but not both.,0,Either 'Bill went to the kitchen' or 'Brian is a frog' but not both. It is probably the case that Winona is a sheep. It is certain that Julius is white. We believe that John discarded the apple. There is a very good chance that if either 'Winona is a sheep' or 'John discarded the apple' but not both then Mary moved to the office. There is a better than even chance that if either 'John discarded the apple' or 'Winona is a sheep' but not both then Brian is yellow. It is almost certain that if 'John discarded the apple and Winona is a sheep' then Lily is a frog.,Chances are slight that either 'Mary moved to the office' 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.7::factA. 1.0::factB. 0.75::factC. %hop1 0.8::factX:-xor(factA,factC). 0.6::factY:-xor(factC,factA). 0.95::factZ:-and(factC,factA). %hop2 conclusion:-xor(factX,factZ). query(conclusion). ",0.81875,0.7769553910782157,train,very good chance,chances are slight,There is a very good chance that either 'Mary moved to the office' or 'Lily is a frog' but not both.,Chances are slight that either 'Mary moved to the office' or 'Lily is a frog' but not both.,0,Either 'Mary moved to the office' or 'Lily is a frog' but not both. We doubt that Jessica is a mouse. We doubt that Mary went to the kitchen. There is little chance that Bernhard is yellow. Chances are slight that if 'Mary went to the kitchen' or 'Jessica is a mouse' or both then Lily is a swan. Chances are about even that if either 'Jessica is a mouse' or 'Bernhard is yellow' but not both then Brian is a frog. There is a very good chance that if 'Bernhard is yellow and Mary went to the kitchen' then John left the apple.,It is probably not the case that 'Brian is a frog' 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.2::factA. 0.2::factB. 0.1::factC. %hop1 0.1::factX:-or(factB,factA). 0.5::factY:-xor(factA,factC). 0.8::factZ:-and(factC,factB). %hop2 conclusion:-or(factY,factB). query(conclusion). ",0.3040000000000001,0.6009201840368074,train,probably not,almost certain,It is probably not the case that 'Brian is a frog' or 'Mary went to the kitchen' or both.,It is almost certain that 'Brian is a frog' or 'Mary went to the kitchen' or both.,1,'Brian is a frog' or 'Mary went to the kitchen' or both. We believe that Greg is white. It is almost certain that Bernhard is a swan. There is a better than even chance that Mary went to the hallway. It is probably not the case that if 'Mary went to the hallway' or 'Bernhard is a swan' or both then Lily is a lion. Chances are slight that if either 'Bernhard is a swan' or 'Greg is white' but not both then Winona is a cat. It is impossible that if 'Greg is white and Bernhard is a swan' then Brian is gray.,Chances are about even that either 'Bernhard is a swan' or 'Mary went to the hallway' 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.6::factC. %hop1 0.25::factX:-or(factC,factB). 0.1::factY:-xor(factB,factA). 0.0::factZ:-and(factA,factB). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.41000000000000003,0.3104620924184837,train,about even,impossible,Chances are about even that either 'Bernhard is a swan' or 'Mary went to the hallway' but not both.,It is impossible that either 'Bernhard is a swan' or 'Mary went to the hallway' but not both.,1,Either 'Bernhard is a swan' or 'Mary went to the hallway' but not both. There is a very good chance that Winona is a mouse. It is almost certain that Brian is a frog. There is a very good chance that Sandra dropped the milk. Chances are about even that if 'Winona is a mouse' or 'Brian is a frog' or both then John got the apple. It is likely that if 'Sandra dropped the milk and Winona is a mouse' then Bernhard is green. It is impossible that if 'Brian is a frog' or 'Winona is a mouse' or both then Mary went to the bedroom.,Chances are about even that 'John got the apple 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.95::factB. 0.8::factC. %hop1 0.5::factX:-or(factA,factB). 0.7::factY:-and(factC,factA). 0.0::factZ:-or(factB,factA). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.396,0.26025205041008204,train,about even,certain,Chances are about even that 'John got the apple and Sandra dropped the milk'.,It is certain that 'John got the apple and Sandra dropped the milk'.,1,'John got the apple and Sandra dropped the milk'. Chances are slight that Lily is gray. There is a very good chance that Fred moved to the office. It is probably the case that Julius is white. It is impossible that if 'Lily is gray and Julius is white' then Brian is a lion. It is improbable that if either 'Fred moved to the office' or 'Julius is white' but not both then Bernhard is a frog. It is improbable that if 'Julius is white and Lily is gray' then Jessica is a cat.,It is likely that 'Jessica is a cat' 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.1::factA. 0.8::factB. 0.7::factC. %hop1 0.0::factX:-and(factA,factC). 0.1::factY:-xor(factB,factC). 0.1::factZ:-and(factC,factA). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.7,0.752750550110022,train,likely,little chance,It is likely that 'Jessica is a cat' or 'Julius is white' or both.,There is little chance that 'Jessica is a cat' or 'Julius is white' or both.,1,'Jessica is a cat' or 'Julius is white' or both. We doubt that Lily is a frog. There is a very good chance that Bernhard is a lion. It is highly unlikely that Julius is a rhino. We doubt that if 'Julius is a rhino' or 'Bernhard is a lion' or both then Daniel got the football. It is highly likely that if either 'Bernhard is a lion' or 'Julius is a rhino' but not both then Mary put down the apple. It is probable that if 'Lily is a frog' or 'Bernhard is a lion' or both then Brian is green.,It is probable that 'Julius is a rhino' 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.2::factA. 0.8::factB. 0.05::factC. %hop1 0.2::factX:-or(factC,factB). 0.9::factY:-xor(factB,factC). 0.7::factZ:-or(factA,factB). %hop2 conclusion:-or(factC,factA). query(conclusion). ",0.24000000000000005,0.40208041608321665,train,probably not,probable,It is probably not the case that 'Julius is a rhino' or 'Lily is a frog' or both.,It is probable that 'Julius is a rhino' or 'Lily is a frog' or both.,0,'Julius is a rhino' or 'Lily is a frog' or both. It is certain that Jessica is a mouse. Chances are slight that Sandra took the football. There is little chance that Julius is a rhino. It is improbable that if 'Sandra took the football and Julius is a rhino' then Yann is tired. It is unlikely that if 'Sandra took the football' or 'Jessica is a mouse' or both then Mary went to the office. It is highly likely that if 'Jessica is a mouse' or 'Julius is a rhino' or both then Bernhard is green.,There is little chance that 'Bernhard is green 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 1.0::factA. 0.1::factB. 0.1::factC. %hop1 0.1::factX:-and(factB,factC). 0.2::factY:-or(factB,factA). 0.9::factZ:-or(factA,factC). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.09000000000000001,0.6939387877575515,train,little chance,almost certain,There is little chance that 'Bernhard is green and Julius is a rhino'.,It is almost certain that 'Bernhard is green and Julius is a rhino'.,1,'Bernhard is green and Julius is a rhino'. There is little chance that Bernhard is white. It is almost certain that Winona is a wolf. It is impossible that Julius is yellow. It is almost certain that if 'Bernhard is white' or 'Winona is a wolf' or both then Brian is a rhino. There is a better than even chance that if either 'Bernhard is white' or 'Julius is yellow' but not both then Mary dropped the milk. We believe that if 'Bernhard is white and Julius is yellow' then Lily is a lion.,It is almost certain that 'Lily is a lion 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.0::factC. %hop1 0.95::factX:-or(factA,factB). 0.6::factY:-xor(factA,factC). 0.75::factZ:-and(factA,factC). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.0,0.6539307861572314,train,impossible,almost certain,It is impossible that 'Lily is a lion and Brian is a rhino'.,It is almost certain that 'Lily is a lion and Brian is a rhino'.,0,'Lily is a lion and Brian is a rhino'. There is little chance that Mary went to the garden. There is little chance that Lily is gray. It is likely that Brian is yellow. It is probably not the case that if 'Brian is yellow and Lily is gray' then John took the football. We doubt that if 'Lily is gray' or 'Brian is yellow' or both then Daniel grabbed the milk. We doubt that if 'Mary went to the garden and Brian is yellow' then Julius is a swan.,We believe that 'Brian is yellow' 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.1::factA. 0.1::factB. 0.7::factC. %hop1 0.25::factX:-and(factC,factB). 0.2::factY:-or(factB,factC). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.73,0.46729345869173833,train,we believe,improbable,We believe that 'Brian is yellow' or 'Lily is gray' or both.,It is improbable that 'Brian is yellow' or 'Lily is gray' or both.,1,'Brian is yellow' or 'Lily is gray' or both. There is almost no chance that Brian is white. There is a better than even chance that Winona is a wolf. There is a very good chance that John went to the garden. It is almost certain that if either 'John went to the garden' or 'Brian is white' but not both then Fred dropped the milk. It is probable that if either 'John went to the garden' or 'Winona is a wolf' but not both then Bernhard is a swan. There is almost no chance that if 'Brian is white and Winona is a wolf' then Mary picked up the apple.,We believe that either 'Brian is white' 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.02::factA. 0.6::factB. 0.8::factC. %hop1 0.95::factX:-xor(factC,factA). 0.7::factY:-xor(factC,factB). 0.02::factZ:-and(factA,factB). %hop2 conclusion:-xor(factA,factX). query(conclusion). ",0.761,0.7705541108221644,train,we believe,chances are slight,We believe that either 'Brian is white' or 'Fred dropped the milk' but not both.,Chances are slight that either 'Brian is white' or 'Fred dropped the milk' but not both.,1,Either 'Brian is white' or 'Fred dropped the milk' but not both. There is little chance that Emily is a mouse. It is probably not the case that Greg is a rhino. Chances are about even that Jason is tired. It is unlikely that if 'Emily is a mouse' or 'Greg is a rhino' or both then Bernhard is yellow. We doubt that if either 'Jason is tired' or 'Emily is a mouse' but not both then Mary left the apple. It is probably the case that if either 'Greg is a rhino' or 'Emily is a mouse' but not both then Antoine is hungry.,There is a very good chance that 'Greg is a rhino' or 'Emily 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.25::factB. 0.5::factC. %hop1 0.2::factX:-or(factA,factB). 0.2::factY:-xor(factC,factA). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.325,0.24184836967393478,train,probably not,very good chance,It is probably not the case that 'Greg is a rhino' or 'Emily is a mouse' or both.,There is a very good chance that 'Greg is a rhino' or 'Emily is a mouse' or both.,0,'Greg is a rhino' or 'Emily is a mouse' or both. There is almost no chance that John left the apple. Chances are slight that Brian is green. There is little chance that Daniel got the milk. It is highly unlikely that if either 'John left the apple' or 'Brian is green' but not both then Sandra dropped the apple. We believe that if 'Daniel got the milk and John left the apple' then Julius is a lion. There is little chance that if 'Daniel got the milk' or 'John left the apple' or both then Greg is a rhino.,It is almost certain that 'John left the apple 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.02::factA. 0.1::factB. 0.1::factC. %hop1 0.05::factX:-xor(factA,factB). 0.75::factY:-and(factC,factA). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.0015000000000000007,0.4840968193638728,train,impossible,almost certain,It is impossible that 'John left the apple and Julius is a lion'.,It is almost certain that 'John left the apple and Julius is a lion'.,0,'John left the apple and Julius is a lion'. Chances are slight that Brian is a rhino. Chances are slight that Bill went to the kitchen. It is almost certain that Julius is a swan. It is probably the case that if 'Brian is a rhino' or 'Bill went to the kitchen' or both then Jessica is a mouse. It is certain that if 'Brian is a rhino' or 'Bill went to the kitchen' or both then John got the apple. It is probably the case that if 'Bill went to the kitchen and Julius is a swan' then Mary moved to the garden.,It is improbable that either 'Jessica is a mouse' or 'Bill went to the kitchen' 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.95::factC. %hop1 0.7::factX:-or(factA,factB). 1.0::factY:-or(factA,factB). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-xor(factX,factB). query(conclusion). ",0.09300000000000001,0.7963592718543708,train,improbable,better than even,It is improbable that either 'Jessica is a mouse' or 'Bill went to the kitchen' but not both.,There is a better than even chance that either 'Jessica is a mouse' or 'Bill went to the kitchen' but not both.,1,Either 'Jessica is a mouse' or 'Bill went to the kitchen' but not both. Chances are slight that John went to the kitchen. There is a better than even chance that Jeff left the football. It is probable that Lily is green. It is almost certain that if either 'John went to the kitchen' or 'Lily is green' but not both then Julius is a rhino. It is highly unlikely that if 'John went to the kitchen and Lily is green' then Bernhard is white. It is likely that if 'Jeff left the football' or 'Lily is green' or both then Brian is a lion.,There is a better than even chance that 'Lily is green 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.1::factA. 0.6::factB. 0.7::factC. %hop1 0.95::factX:-xor(factA,factC). 0.05::factY:-and(factA,factC). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.5984999999999999,0.7419483896779356,train,better than even,improbable,There is a better than even chance that 'Lily is green and Julius is a rhino'.,It is improbable that 'Lily is green and Julius is a rhino'.,1,'Lily is green and Julius is a rhino'. It is highly likely that Gertrude is a sheep. There is almost no chance that Greg is a lion. We believe that Julius is gray. It is unlikely that if either 'Julius is gray' or 'Greg is a lion' but not both then Lily is white. It is almost certain that if either 'Greg is a lion' or 'Julius is gray' but not both then Sandra left the football. It is improbable that if either 'Julius is gray' or 'Greg is a lion' but not both then John went to the bedroom.,There is a better than even chance that 'Lily is white 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.9::factA. 0.02::factB. 0.75::factC. %hop1 0.2::factX:-xor(factC,factB). 0.95::factY:-xor(factB,factC). 0.1::factZ:-xor(factC,factB). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.0010000000000000002,0.5839167833566713,train,impossible,better than even,It is impossible that 'Lily is white and Greg is a lion'.,There is a better than even chance that 'Lily is white and Greg is a lion'.,0,'Lily is white and Greg is a lion'. It is impossible that Lily is white. It is probably not the case that Sandra got the football. It is highly unlikely that Greg is a swan. It is likely that if 'Lily is white and Sandra got the football' then Brian is a lion. It is likely that if 'Lily is white and Sandra got the football' then Mary went to the hallway. There is a very good chance that if 'Greg is a swan' or 'Lily is white' or both then John discarded the milk.,It is likely that 'Lily is white' or 'Mary 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.0::factA. 0.25::factB. 0.05::factC. %hop1 0.7::factX:-and(factA,factB). 0.7::factY:-and(factA,factB). 0.8::factZ:-or(factC,factA). %hop2 conclusion:-or(factA,factY). query(conclusion). ",0.0,0.14482896579315863,train,impossible,likely,It is impossible that 'Lily is white' or 'Mary went to the hallway' or both.,It is likely that 'Lily is white' or 'Mary went to the hallway' or both.,0,'Lily is white' or 'Mary went to the hallway' or both. We doubt that John dropped the milk. Chances are slight that Brian is a swan. It is highly likely that Bernhard is green. It is improbable that if either 'John dropped the milk' or 'Brian is a swan' but not both then Mary got the apple. It is probable that if 'John dropped the milk and Bernhard is green' then Julius is gray. It is impossible that if 'Bernhard is green and John dropped the milk' then Winona is a sheep.,It is probably the case that 'Bernhard is green 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.2::factA. 0.1::factB. 0.9::factC. %hop1 0.1::factX:-xor(factA,factB). 0.7::factY:-and(factA,factC). 0.0::factZ:-and(factC,factA). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.023400000000000008,0.27285457091418286,train,almost no chance,probably,There is almost no chance that 'Bernhard is green and Mary got the apple'.,It is probably the case that 'Bernhard is green and Mary got the apple'.,0,'Bernhard is green and Mary got the apple'. It is probably the case that John moved to the garden. We believe that Fred is in the school. It is likely that Greg is a lion. It is probably not the case that if either 'Greg is a lion' or 'John moved to the garden' but not both then Julius is white. Chances are about even that if 'John moved to the garden' or 'Fred is in the school' or both then Lily is yellow. It is almost certain that if either 'Greg is a lion' or 'John moved to the garden' but not both then Brian is a rhino.,There is a very good chance that 'Greg is a lion' 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.7::factA. 0.75::factB. 0.7::factC. %hop1 0.25::factX:-xor(factC,factA). 0.5::factY:-or(factA,factB). 0.95::factZ:-xor(factC,factA). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.83875,0.04360872174434887,train,very good chance,unlikely,There is a very good chance that 'Greg is a lion' or 'Lily is yellow' or both.,It is unlikely that 'Greg is a lion' or 'Lily is yellow' or both.,1,'Greg is a lion' or 'Lily is yellow' or both. It is highly likely that Mary left the football. Chances are slight that Brian is white. We doubt that Julius is a swan. It is probably the case that if 'Julius is a swan' or 'Brian is white' or both then John discarded the apple. We doubt that if either 'Mary left the football' or 'Brian is white' but not both then Bill went to the garden. It is highly unlikely that if 'Julius is a swan and Brian is white' then Winona is a mouse.,It is impossible that 'Winona is a mouse 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.9::factA. 0.1::factB. 0.2::factC. %hop1 0.7::factX:-or(factC,factB). 0.2::factY:-xor(factA,factB). 0.05::factZ:-and(factC,factB). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.0009000000000000006,0.47109421884376873,train,impossible,likely,It is impossible that 'Winona is a mouse and Mary left the football'.,It is likely that 'Winona is a mouse and Mary left the football'.,1,'Winona is a mouse and Mary left the football'. There is a very good chance that Gertrude is a mouse. It is probable that Bernhard is a swan. It is improbable that Brian is green. Chances are about even that if either 'Bernhard is a swan' or 'Brian is green' but not both then Sumit is thirsty. It is highly unlikely that if 'Gertrude is a mouse and Brian is green' then John got the football. Chances are slight that if 'Bernhard is a swan' or 'Brian is green' or both then Jeff went to the garden.,There is almost no chance that either 'Bernhard 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.8::factA. 0.7::factB. 0.1::factC. %hop1 0.5::factX:-xor(factB,factC). 0.05::factY:-and(factA,factC). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.6599999999999999,0.666133226645329,train,likely,almost no chance,It is likely that either 'Bernhard is a swan' or 'Brian is green' but not both.,There is almost no chance that either 'Bernhard is a swan' or 'Brian is green' but not both.,0,Either 'Bernhard is a swan' or 'Brian is green' but not both. There is a very good chance that Bernhard is green. It is probably the case that John put down the apple. It is probably not the case that Sandra took the football. It is almost certain that if 'Bernhard is green and Sandra took the football' then Mary went to the garden. There is little chance that if either 'Bernhard is green' or 'John put down the apple' but not both then Winona is a mouse. There is a very good chance that if either 'Sandra took the football' or 'Bernhard is green' but not both then Brian is yellow.,There is a better than even chance that 'Mary went to the garden 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.8::factA. 0.7::factB. 0.25::factC. %hop1 0.95::factX:-and(factA,factC). 0.1::factY:-xor(factA,factB). 0.8::factZ:-xor(factC,factA). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.0,0.7613522704540908,train,impossible,better than even,It is impossible that 'Mary went to the garden and Brian is yellow'.,There is a better than even chance that 'Mary went to the garden and Brian is yellow'.,0,'Mary went to the garden and Brian is yellow'. It is impossible that Julius is yellow. It is impossible that Bernhard is gray. We believe that Lily is a swan. It is likely that if 'Bernhard is gray' or 'Julius is yellow' or both then Greg is a swan. It is probably not the case that if 'Lily is a swan and Julius is yellow' then Emily is a sheep. It is almost certain that if either 'Julius is yellow' or 'Lily is a swan' but not both then John left the milk.,It is impossible that 'Emily is a sheep' 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.0::factA. 0.0::factB. 0.75::factC. %hop1 0.7::factX:-or(factB,factA). 0.25::factY:-and(factC,factA). 0.95::factZ:-xor(factA,factC). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.0,0.28485697139427885,train,impossible,highly likely,It is impossible that 'Emily is a sheep' or 'Julius is yellow' or both.,It is highly likely that 'Emily is a sheep' or 'Julius is yellow' or both.,1,'Emily is a sheep' or 'Julius is yellow' or both. There is a better than even chance that Antoine is hungry. It is unlikely that Bernhard is a frog. There is little chance that Emily is a sheep. It is impossible that if 'Bernhard is a frog and Antoine is hungry' then Lily is green. There is a very good chance that if 'Emily is a sheep' or 'Antoine is hungry' or both then Mary left the milk. We doubt that if 'Antoine is hungry' or 'Emily is a sheep' or both then Julius is a lion.,There is little chance that either 'Bernhard is a frog' or 'Antoine is hungry' 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.1::factC. %hop1 0.0::factX:-and(factB,factA). 0.8::factY:-or(factC,factA). 0.2::factZ:-or(factA,factC). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5599999999999999,0.2566513302660532,train,better than even,little chance,There is a better than even chance that either 'Bernhard is a frog' or 'Antoine is hungry' but not both.,There is little chance that either 'Bernhard is a frog' or 'Antoine is hungry' but not both.,0,Either 'Bernhard is a frog' or 'Antoine is hungry' but not both. It is highly likely that Bernhard is a frog. There is little chance that John dropped the apple. Chances are about even that Greg is a swan. It is highly unlikely that if 'John dropped the apple and Bernhard is a frog' then Mary grabbed the milk. We doubt that if 'John dropped the apple and Bernhard is a frog' then Bill moved to the office. We doubt that if 'Bernhard is a frog and Greg is a swan' then Brian is white.,There is almost no chance that 'John dropped 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.9::factA. 0.1::factB. 0.5::factC. %hop1 0.05::factX:-and(factB,factA). 0.2::factY:-and(factB,factA). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-and(factB,factY). query(conclusion). ",0.018000000000000002,0.34286857371474294,train,almost no chance,very good chance,There is almost no chance that 'John dropped the apple and Bill moved to the office'.,There is a very good chance that 'John dropped the apple and Bill moved to the office'.,1,'John dropped the apple and Bill moved to the office'. It is almost certain that Bernhard is a swan. It is probable that Gertrude is a sheep. We believe that John moved to the garden. It is certain that if either 'John moved to the garden' or 'Gertrude is a sheep' but not both then Brian is white. It is unlikely that if either 'Gertrude is a sheep' or 'Bernhard is a swan' but not both then Winona is a wolf. It is impossible that if 'Bernhard is a swan and Gertrude is a sheep' then Lily is a rhino.,It is almost certain that 'Winona is a wolf' 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.95::factA. 0.7::factB. 0.75::factC. %hop1 1.0::factX:-xor(factC,factB). 0.2::factY:-xor(factB,factA). 0.0::factZ:-and(factA,factB). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.957,0.3208641728345669,train,almost certain,we doubt,It is almost certain that 'Winona is a wolf' or 'Bernhard is a swan' or both.,We doubt that 'Winona is a wolf' or 'Bernhard is a swan' or both.,1,'Winona is a wolf' or 'Bernhard is a swan' or both. Chances are slight that Jason is tired. It is almost certain that Winona is a cat. We doubt that Bernhard is yellow. It is highly unlikely that if either 'Bernhard is yellow' or 'Winona is a cat' but not both then Lily is a lion. It is likely that if 'Winona is a cat and Bernhard is yellow' then Brian is green. It is probably the case that if 'Jason is tired' or 'Bernhard is yellow' or both then John went to the office.,It is likely that 'Brian is green 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.1::factA. 0.95::factB. 0.2::factC. %hop1 0.05::factX:-xor(factC,factB). 0.7::factY:-and(factB,factC). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.13300000000000003,0.34706941388277657,train,improbable,likely,It is improbable that 'Brian is green and Bernhard is yellow'.,It is likely that 'Brian is green and Bernhard is yellow'.,0,'Brian is green and Bernhard is yellow'. Chances are slight that Bernhard is a swan. It is unlikely that Fred put down the apple. It is almost certain that Lily is green. There is almost no chance that if 'Fred put down the apple and Lily is green' then Greg is yellow. Chances are about even that if 'Lily is green' or 'Bernhard is a swan' or both then Mary went to the bedroom. There is little chance that if 'Bernhard is a swan and Fred put down the apple' then Brian is a rhino.,It is almost certain that 'Mary went to the bedroom' 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.1::factA. 0.2::factB. 0.95::factC. %hop1 0.02::factX:-and(factB,factC). 0.5::factY:-or(factC,factA). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.9525,0.7553510702140428,train,almost certain,unlikely,It is almost certain that 'Mary went to the bedroom' or 'Lily is green' or both.,It is unlikely that 'Mary went to the bedroom' or 'Lily is green' or both.,1,'Mary went to the bedroom' or 'Lily is green' or both. We believe that Winona is a mouse. It is likely that Brian is white. It is highly likely that Daniel got the milk. It is unlikely that if either 'Daniel got the milk' or 'Brian is white' but not both then Julius is a lion. It is impossible that if 'Daniel got the milk and Winona is a mouse' then Bernhard is a rhino. There is almost no chance that if 'Daniel got the milk and Winona is a mouse' then Bill went to the garden.,There is almost no chance that 'Bernhard is a rhino' 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.75::factA. 0.7::factB. 0.9::factC. %hop1 0.2::factX:-xor(factC,factB). 0.0::factY:-and(factC,factA). 0.02::factZ:-and(factC,factA). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.75,0.36867373474694937,train,we believe,almost no chance,We believe that 'Bernhard is a rhino' or 'Winona is a mouse' or both.,There is almost no chance that 'Bernhard is a rhino' or 'Winona is a mouse' or both.,0,'Bernhard is a rhino' or 'Winona is a mouse' or both. There is almost no chance that Sandra left the milk. There is little chance that John went to the hallway. It is highly unlikely that Brian is white. It is highly unlikely that if 'Brian is white and Sandra left the milk' then Lily is green. It is unlikely that if 'John went to the hallway' or 'Sandra left the milk' or both then Bernhard is yellow. We doubt that if either 'John went to the hallway' or 'Brian is white' but not both then Winona is a sheep.,It is certain that 'Winona is a sheep 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.02::factA. 0.1::factB. 0.05::factC. %hop1 0.05::factX:-and(factC,factA). 0.2::factY:-or(factB,factA). 0.2::factZ:-xor(factB,factC). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.009,0.3224644928985797,train,impossible,certain,It is impossible that 'Winona is a sheep and Brian is white'.,It is certain that 'Winona is a sheep and Brian is white'.,0,'Winona is a sheep and Brian is white'. We believe that Mary took the football. There is almost no chance that John moved to the office. There is almost no chance that Winona is a sheep. There is almost no chance that if 'Winona is a sheep' or 'Mary took the football' or both then Gertrude is a cat. It is highly unlikely that if 'Winona is a sheep' or 'John moved to the office' or both then Brian is a rhino. It is almost certain that if 'John moved to the office and Mary took the football' then Greg is white.,It is certain that 'Gertrude is a cat 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.75::factA. 0.02::factB. 0.02::factC. %hop1 0.02::factX:-or(factC,factA). 0.05::factY:-or(factC,factB). 0.95::factZ:-and(factB,factA). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.0004000000000000001,0.2750550110022004,train,impossible,certain,It is impossible that 'Gertrude is a cat and Winona is a sheep'.,It is certain that 'Gertrude is a cat and Winona is a sheep'.,0,'Gertrude is a cat and Winona is a sheep'. It is probably not the case that Lily is white. Chances are slight that John grabbed the apple. It is unlikely that Mary went to the garden. It is impossible that if 'John grabbed the apple and Mary went to the garden' then Julius is yellow. We doubt that if either 'John grabbed the apple' or 'Mary went to the garden' but not both then Brian is a rhino. It is likely that if either 'Mary went to the garden' or 'John grabbed the apple' but not both then Sandra dropped the milk.,It is probable that either 'Mary went to the garden' or 'John grabbed 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.1::factB. 0.2::factC. %hop1 0.0::factX:-and(factB,factC). 0.2::factY:-xor(factB,factC). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.26,0.6159231846369274,train,probably not,probable,It is probably not the case that either 'Mary went to the garden' or 'John grabbed the apple' but not both.,It is probable that either 'Mary went to the garden' or 'John grabbed the apple' but not both.,0,Either 'Mary went to the garden' or 'John grabbed the apple' but not both. It is certain that Julius is white. Chances are about even that Bernhard is green. It is highly likely that Lily is a swan. It is highly unlikely that if 'Lily is a swan and Bernhard is green' then John moved to the office. There is a very good chance that if 'Lily is a swan and Julius is white' then Mary dropped the apple. It is unlikely that if 'Bernhard is green' or 'Lily is a swan' or both then Sandra left the football.,We doubt that 'Lily is a swan' 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 1.0::factA. 0.5::factB. 0.9::factC. %hop1 0.05::factX:-and(factC,factB). 0.8::factY:-and(factC,factA). 0.2::factZ:-or(factB,factC). %hop2 conclusion:-or(factC,factB). query(conclusion). ",0.95,0.22244448889777957,train,almost certain,we doubt,It is almost certain that 'Lily is a swan' or 'Bernhard is green' or both.,We doubt that 'Lily is a swan' or 'Bernhard is green' or both.,0,'Lily is a swan' or 'Bernhard is green' or both. It is likely that Sandra grabbed the milk. There is a very good chance that Jeff discarded the milk. There is a very good chance that John moved to the office. It is certain that if either 'Sandra grabbed the milk' or 'John moved to the office' but not both then Bernhard is a swan. Chances are about even that if 'Jeff discarded the milk and John moved to the office' then Jason is tired. It is almost certain that if 'Sandra grabbed the milk and John moved to the office' then Brian is yellow.,It is probably the case that either 'Brian is yellow' or 'Sandra 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.8::factB. 0.8::factC. %hop1 1.0::factX:-xor(factA,factC). 0.5::factY:-and(factB,factC). 0.95::factZ:-and(factA,factC). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.168,0.09161832366473295,train,unlikely,probably,It is unlikely that either 'Brian is yellow' or 'Sandra grabbed the milk' but not both.,It is probably the case that either 'Brian is yellow' or 'Sandra grabbed the milk' but not both.,0,Either 'Brian is yellow' or 'Sandra grabbed the milk' but not both. It is improbable that Sandra grabbed the apple. We doubt that Brian is a rhino. It is probable that Mary went to the office. It is certain that if 'Sandra grabbed the apple and Mary went to the office' then Greg is a lion. We believe that if either 'Mary went to the office' or 'Brian is a rhino' but not both then Lily is green. It is impossible that if 'Mary went to the office' or 'Sandra grabbed the apple' or both then Julius is gray.,It is almost certain that either 'Lily is green' 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.1::factA. 0.2::factB. 0.7::factC. %hop1 1.0::factX:-and(factA,factC). 0.75::factY:-xor(factC,factB). 0.0::factZ:-or(factC,factA). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.45099999999999996,0.058011602320464095,train,about even,almost certain,Chances are about even that either 'Lily is green' or 'Greg is a lion' but not both.,It is almost certain that either 'Lily is green' or 'Greg is a lion' but not both.,0,Either 'Lily is green' or 'Greg is a lion' but not both. It is improbable that Brian is a swan. It is impossible that Lily is yellow. It is certain that Julius is a lion. It is likely that if either 'Lily is yellow' or 'Julius is a lion' but not both then John got the football. Chances are slight that if 'Lily is yellow' or 'Brian is a swan' or both then Winona is a wolf. It is improbable that if 'Julius is a lion and Lily is yellow' then Bernhard is green.,It is impossible that 'Lily is yellow and John 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.0::factB. 1.0::factC. %hop1 0.7::factX:-xor(factB,factC). 0.1::factY:-or(factB,factA). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.0,0.6287257451490298,train,impossible,we believe,It is impossible that 'Lily is yellow and John got the football'.,We believe that 'Lily is yellow and John got the football'.,1,'Lily is yellow and John got the football'. It is impossible that Brian is a swan. It is highly unlikely that Daniel dropped the apple. We doubt that Lily is yellow. It is unlikely that if either 'Brian is a swan' or 'Lily is yellow' but not both then Greg is a swan. There is a very good chance that if either 'Daniel dropped the apple' or 'Brian is a swan' but not both then John left the football. It is highly likely that if 'Brian is a swan' or 'Daniel dropped the apple' or both then Bernhard is a rhino.,It is probably not the case that either 'Daniel dropped the apple' 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.0::factA. 0.05::factB. 0.2::factC. %hop1 0.2::factX:-xor(factA,factC). 0.8::factY:-xor(factB,factA). 0.9::factZ:-or(factA,factB). %hop2 conclusion:-xor(factB,factC). query(conclusion). ",0.23,0.14622924584916983,train,probably not,probably,It is probably not the case that either 'Daniel dropped the apple' or 'Lily is yellow' but not both.,It is probably the case that either 'Daniel dropped the apple' or 'Lily is yellow' but not both.,1,Either 'Daniel dropped the apple' or 'Lily is yellow' but not both. There is a better than even chance that Lily is a lion. We believe that Bernhard is yellow. It is highly likely that Mary moved to the garden. It is certain that if 'Lily is a lion' or 'Mary moved to the garden' or both then Brian is white. Chances are about even that if 'Bernhard is yellow and Lily is a lion' then John took the apple. We believe that if 'Mary moved to the garden' or 'Lily is a lion' or both then Julius is a swan.,It is probably not the case that either 'Mary moved to the garden' 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.6::factA. 0.75::factB. 0.9::factC. %hop1 1.0::factX:-or(factA,factC). 0.5::factY:-and(factB,factA). 0.75::factZ:-or(factC,factA). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.30000000000000004,0.42108421684336866,train,probably not,likely,It is probably not the case that either 'Mary moved to the garden' or 'Bernhard is yellow' but not both.,It is likely that either 'Mary moved to the garden' or 'Bernhard is yellow' but not both.,1,Either 'Mary moved to the garden' or 'Bernhard is yellow' but not both. Chances are about even that John moved to the garden. It is impossible that Sandra dropped the milk. There is a better than even chance that Brian is green. There is a very good chance that if 'John moved to the garden and Sandra dropped the milk' then Emily is a sheep. There is a better than even chance that if 'Brian is green' or 'John moved to the garden' or both then Greg is a lion. There is a very good chance that if 'Sandra dropped the milk' or 'Brian is green' or both then Lily is a swan.,Chances are about even that either 'Brian is green' 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.5::factA. 0.0::factB. 0.6::factC. %hop1 0.8::factX:-and(factA,factB). 0.6::factY:-or(factC,factA). 0.8::factZ:-or(factB,factC). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5000000000000001,0.07461492298459692,train,about even,almost certain,Chances are about even that either 'Brian is green' or 'John moved to the garden' but not both.,It is almost certain that either 'Brian is green' or 'John moved to the garden' but not both.,1,Either 'Brian is green' or 'John moved to the garden' but not both. There is a very good chance that John went to the kitchen. Chances are about even that Brian is a lion. We believe that Jessica is a mouse. It is highly likely that if 'Jessica is a mouse' or 'John went to the kitchen' or both then Mary picked up the apple. Chances are slight that if 'Brian is a lion and Jessica is a mouse' then Greg is yellow. Chances are slight that if either 'John went to the kitchen' or 'Jessica is a mouse' but not both then Bernhard is white.,It is likely that 'Bernhard is white' 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.8::factA. 0.5::factB. 0.75::factC. %hop1 0.9::factX:-or(factC,factA). 0.1::factY:-and(factB,factC). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-or(factZ,factY). query(conclusion). ",0.07175000000000002,0.14982996599319864,train,highly unlikely,likely,It is highly unlikely that 'Bernhard is white' or 'Greg is yellow' or both.,It is likely that 'Bernhard is white' or 'Greg is yellow' or both.,0,'Bernhard is white' or 'Greg is yellow' or both. Chances are slight that Sandra took the football. We believe that Mary put down the milk. It is probably not the case that Bernhard is gray. We believe that if either 'Bernhard is gray' or 'Mary put down the milk' but not both then Greg is a swan. There is little chance that if 'Bernhard is gray and Sandra took the football' then Fred discarded the apple. There is little chance that if 'Mary put down the milk' or 'Sandra took the football' or both then Lily is a rhino.,It is certain that 'Lily is a rhino' 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.1::factA. 0.75::factB. 0.25::factC. %hop1 0.75::factX:-xor(factC,factB). 0.1::factY:-and(factC,factA). 0.1::factZ:-or(factB,factA). %hop2 conclusion:-or(factZ,factC). query(conclusion). ",0.30812500000000004,0.25625125025005,train,probably not,certain,It is probably not the case that 'Lily is a rhino' or 'Bernhard is gray' or both.,It is certain that 'Lily is a rhino' or 'Bernhard is gray' or both.,0,'Lily is a rhino' or 'Bernhard is gray' or both. There is almost no chance that Bill went to the bedroom. We doubt that Mary put down the apple. It is almost certain that Daniel grabbed the apple. It is probably the case that if either 'Daniel grabbed the apple' or 'Bill went to the bedroom' but not both then Lily is a frog. There is a better than even chance that if 'Mary put down the apple and Daniel grabbed the apple' then Jessica is a wolf. It is highly unlikely that if 'Bill went to the bedroom' or 'Daniel grabbed the apple' or both then Brian is yellow.,It is unlikely that either 'Brian is yellow' or 'Jessica 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.02::factA. 0.2::factB. 0.95::factC. %hop1 0.7::factX:-xor(factC,factA). 0.6::factY:-and(factB,factC). 0.05::factZ:-or(factA,factC). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.15015,0.4236847369473895,train,unlikely,probable,It is unlikely that either 'Brian is yellow' or 'Jessica is a wolf' but not both.,It is probable that either 'Brian is yellow' or 'Jessica is a wolf' but not both.,1,Either 'Brian is yellow' or 'Jessica is a wolf' but not both. It is highly unlikely that Sumit is bored. It is unlikely that Fred is in the office. We doubt that Brian is yellow. It is unlikely that if either 'Fred is in the office' or 'Sumit is bored' but not both then Emily is a mouse. It is improbable that if 'Fred is in the office and Brian is yellow' then Julius is gray. We doubt that if 'Brian is yellow and Fred is in the office' then Sandra left the milk.,It is unlikely that either 'Fred is in the office' or 'Sandra 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.05::factA. 0.2::factB. 0.2::factC. %hop1 0.2::factX:-xor(factB,factA). 0.1::factY:-and(factB,factC). 0.2::factZ:-and(factC,factB). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.19200000000000003,0.7211442288457691,train,unlikely,almost certain,It is unlikely that either 'Fred is in the office' or 'Sandra left the milk' but not both.,It is almost certain that either 'Fred is in the office' or 'Sandra left the milk' but not both.,1,Either 'Fred is in the office' or 'Sandra left the milk' but not both. It is probably not the case that Greg is gray. There is a better than even chance that Brian is a frog. We doubt that John put down the apple. There is a very good chance that if 'Greg is gray' or 'Brian is a frog' or both then Mary dropped the milk. It is probably the case that if either 'Greg is gray' or 'Brian is a frog' but not both then Lily is a swan. It is highly unlikely that if 'Greg is gray and Brian is a frog' then Julius is a rhino.,It is probable that either 'Greg is gray' 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.25::factA. 0.6::factB. 0.2::factC. %hop1 0.8::factX:-or(factA,factB). 0.7::factY:-xor(factA,factB). 0.05::factZ:-and(factA,factB). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.35000000000000003,0.7339467893578716,train,probably not,probable,It is probably not the case that either 'Greg is gray' or 'John put down the apple' but not both.,It is probable that either 'Greg is gray' or 'John put down the apple' but not both.,0,Either 'Greg is gray' or 'John put down the apple' but not both. Chances are slight that Julius is white. It is highly likely that Lily is a swan. It is almost certain that John got the milk. It is almost certain that if either 'John got the milk' or 'Lily is a swan' but not both then Brian is yellow. It is probably not the case that if either 'Lily is a swan' or 'Julius is white' but not both then Winona is a wolf. There is almost no chance that if either 'John got the milk' or 'Lily is a swan' but not both then Emily is a wolf.,It is impossible that 'Emily is a wolf 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.9::factB. 0.95::factC. %hop1 0.95::factX:-xor(factC,factB). 0.25::factY:-xor(factB,factA). 0.02::factZ:-xor(factC,factB). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.0026599999999999996,0.7725545109021804,train,impossible,probable,It is impossible that 'Emily is a wolf and Brian is yellow'.,It is probable that 'Emily is a wolf and Brian is yellow'.,1,'Emily is a wolf and Brian is yellow'. We doubt that Fred dropped the milk. It is almost certain that Julius is a lion. It is improbable that Lily is a frog. There is almost no chance that if either 'Julius is a lion' or 'Lily is a frog' but not both then Daniel got the football. It is highly unlikely that if 'Lily is a frog' or 'Fred dropped the milk' or both then Mary went to the hallway. It is almost certain that if 'Fred dropped the milk and Julius is a lion' then Bernhard is a rhino.,It is almost certain that either 'Julius is a lion' or 'Daniel 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.2::factA. 0.95::factB. 0.1::factC. %hop1 0.02::factX:-xor(factB,factC). 0.05::factY:-or(factC,factA). 0.95::factZ:-and(factA,factB). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.9329999999999999,0.19923984796959393,train,almost certain,little chance,It is almost certain that either 'Julius is a lion' or 'Daniel got the football' but not both.,There is little chance that either 'Julius is a lion' or 'Daniel got the football' but not both.,1,Either 'Julius is a lion' or 'Daniel got the football' but not both. There is little chance that Bernhard is a swan. It is likely that Mary went to the garden. It is impossible that Brian is a frog. We doubt that if 'Mary went to the garden' or 'Brian is a frog' or both then John picked up the apple. Chances are slight that if either 'Bernhard is a swan' or 'Mary went to the garden' but not both then Julius is a lion. It is improbable that if either 'Bernhard is a swan' or 'Mary went to the garden' but not both then Lily is green.,We believe that either 'Brian is a frog' or 'Lily 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.7::factB. 0.0::factC. %hop1 0.2::factX:-or(factB,factC). 0.1::factY:-xor(factA,factB). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factC,factZ). query(conclusion). ",0.06600000000000002,0.6107221444288857,train,highly unlikely,we believe,It is highly unlikely that either 'Brian is a frog' or 'Lily is green' but not both.,We believe that either 'Brian is a frog' or 'Lily is green' but not both.,0,Either 'Brian is a frog' or 'Lily is green' but not both. We believe that Brian is white. It is impossible that Greg is a rhino. Chances are about even that Lily is a rhino. It is impossible that if 'Lily is a rhino and Brian is white' then John went to the kitchen. It is probable that if 'Brian is white and Greg is a rhino' then Bill moved to the office. Chances are slight that if 'Greg is a rhino and Lily is a rhino' then Fred put down the apple.,We doubt that 'Fred put down the apple' 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.75::factA. 0.0::factB. 0.5::factC. %hop1 0.0::factX:-and(factC,factA). 0.7::factY:-and(factA,factB). 0.1::factZ:-and(factB,factC). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.75,0.23044608921784357,train,we believe,we doubt,We believe that 'Fred put down the apple' or 'Brian is white' or both.,We doubt that 'Fred put down the apple' or 'Brian is white' or both.,0,'Fred put down the apple' or 'Brian is white' or both. It is almost certain that Fred went to the garden. It is probably not the case that Jessica is a cat. There is a very good chance that Mary grabbed the milk. It is probably the case that if 'Mary grabbed the milk' or 'Fred went to the garden' or both then Julius is gray. There is a better than even chance that if 'Jessica is a cat' or 'Mary grabbed the milk' or both then Bernhard is yellow. There is little chance that if 'Fred went to the garden' or 'Jessica is a cat' or both then Brian is green.,There is a better than even chance that 'Julius is gray 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.95::factA. 0.25::factB. 0.8::factC. %hop1 0.7::factX:-or(factC,factA). 0.6::factY:-or(factB,factC). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-and(factX,factC). query(conclusion). ",0.5599999999999999,0.5785157031406282,train,better than even,highly unlikely,There is a better than even chance that 'Julius is gray and Mary grabbed the milk'.,It is highly unlikely that 'Julius is gray and Mary grabbed the milk'.,1,'Julius is gray and Mary grabbed the milk'. There is little chance that Mary grabbed the milk. We doubt that Brian is a frog. It is probably not the case that Lily is a swan. It is probably the case that if 'Brian is a frog' or 'Mary grabbed the milk' or both then Jason is tired. Chances are about even that if 'Brian is a frog and Mary grabbed the milk' then Julius is yellow. There is a very good chance that if 'Lily is a swan' or 'Mary grabbed the milk' or both then Bernhard is green.,It is probable that 'Julius is yellow 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.1::factA. 0.2::factB. 0.25::factC. %hop1 0.7::factX:-or(factB,factA). 0.5::factY:-and(factB,factA). 0.8::factZ:-or(factC,factA). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.008000000000000004,0.7003400680136027,train,impossible,probable,It is impossible that 'Julius is yellow and Bernhard is green'.,It is probable that 'Julius is yellow and Bernhard is green'.,0,'Julius is yellow and Bernhard is green'. Chances are slight that Bernhard is gray. It is probable that John dropped the apple. There is a better than even chance that Emily is a wolf. It is highly likely that if 'John dropped the apple' or 'Emily is a wolf' or both then Lily is a frog. It is certain that if 'John dropped the apple' or 'Bernhard is gray' or both then Brian is a rhino. It is almost certain that if either 'John dropped the apple' or 'Emily is a wolf' but not both then Bill went to the kitchen.,We doubt that 'John dropped the apple' 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.1::factA. 0.7::factB. 0.6::factC. %hop1 0.9::factX:-or(factB,factC). 1.0::factY:-or(factB,factA). 0.95::factZ:-xor(factB,factC). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.88,0.31926385277055414,train,highly likely,we doubt,It is highly likely that 'John dropped the apple' or 'Emily is a wolf' or both.,We doubt that 'John dropped the apple' or 'Emily is a wolf' or both.,0,'John dropped the apple' or 'Emily is a wolf' or both. We doubt that Mary dropped the apple. It is certain that John picked up the milk. It is improbable that Fred is in the cinema. It is probably the case that if 'John picked up the milk' or 'Fred is in the cinema' or both then Jason is tired. It is probably the case that if either 'John picked up the milk' or 'Mary dropped the apple' but not both then Julius is a rhino. It is likely that if either 'John picked up the milk' or 'Fred is in the cinema' but not both then Brian is yellow.,It is certain that 'Fred is in the cinema' 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.2::factA. 1.0::factB. 0.1::factC. %hop1 0.7::factX:-or(factB,factC). 0.7::factY:-xor(factB,factA). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-or(factC,factB). query(conclusion). ",1.0,0.1218243648729746,train,certain,almost no chance,It is certain that 'Fred is in the cinema' or 'John picked up the milk' or both.,There is almost no chance that 'Fred is in the cinema' or 'John picked up the milk' or both.,1,'Fred is in the cinema' or 'John picked up the milk' or both. It is unlikely that Julius is gray. It is probably not the case that Daniel got the milk. There is a better than even chance that Bernhard is a frog. It is almost certain that if either 'Bernhard is a frog' or 'Julius is gray' but not both then John moved to the office. We believe that if 'Bernhard is a frog' or 'Daniel got the milk' or both then Greg is a swan. It is highly likely that if 'Daniel got the milk and Bernhard is a frog' then Mary left the football.,It is almost certain that 'Greg is a swan 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.2::factA. 0.25::factB. 0.6::factC. %hop1 0.95::factX:-xor(factC,factA). 0.75::factY:-or(factC,factB). 0.9::factZ:-and(factB,factC). %hop2 conclusion:-and(factY,factC). query(conclusion). ",0.45000000000000007,0.09721944388877776,train,about even,almost certain,Chances are about even that 'Greg is a swan and Bernhard is a frog'.,It is almost certain that 'Greg is a swan and Bernhard is a frog'.,0,'Greg is a swan and Bernhard is a frog'. It is unlikely that Julius is a lion. There is almost no chance that Winona is a sheep. We doubt that Lily is yellow. We doubt that if 'Lily is yellow' or 'Julius is a lion' or both then Emily is a cat. It is improbable that if 'Julius is a lion and Winona is a sheep' then Greg is green. Chances are slight that if 'Julius is a lion' or 'Winona is a sheep' or both then Mary went to the hallway.,It is impossible that 'Greg is green 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.2::factA. 0.02::factB. 0.2::factC. %hop1 0.2::factX:-or(factC,factA). 0.1::factY:-and(factA,factB). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.00040000000000000045,0.0630126025205041,train,impossible,probably,It is impossible that 'Greg is green and Winona is a sheep'.,It is probably the case that 'Greg is green and Winona is a sheep'.,1,'Greg is green and Winona is a sheep'. There is almost no chance that Sandra dropped the apple. It is certain that Lily is a swan. It is impossible that Bernhard is a swan. It is improbable that if 'Bernhard is a swan and Sandra dropped the apple' then Emily is a mouse. It is probably the case that if either 'Sandra dropped the apple' or 'Bernhard is a swan' but not both then Greg is gray. We doubt that if either 'Sandra dropped the apple' or 'Lily is a swan' but not both then Mary went to the kitchen.,We doubt that either 'Sandra dropped the apple' or 'Mary went to the kitchen' 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. 1.0::factB. 0.0::factC. %hop1 0.1::factX:-and(factC,factA). 0.7::factY:-xor(factA,factC). 0.2::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factA,factZ). query(conclusion). ",0.21600000000000003,0.4156831366273255,train,we doubt,certain,We doubt that either 'Sandra dropped the apple' or 'Mary went to the kitchen' but not both.,It is certain that either 'Sandra dropped the apple' or 'Mary went to the kitchen' but not both.,1,Either 'Sandra dropped the apple' or 'Mary went to the kitchen' but not both. It is probable that Bernhard is a swan. There is a better than even chance that Fred put down the apple. It is highly likely that Brian is green. We believe that if 'Brian is green and Fred put down the apple' then Greg is a rhino. It is highly likely that if 'Brian is green and Fred put down the apple' then Mary went to the bedroom. We doubt that if 'Fred put down the apple and Bernhard is a swan' then John discarded the milk.,It is likely that 'John discarded the milk' 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.6::factB. 0.9::factC. %hop1 0.75::factX:-and(factC,factB). 0.9::factY:-and(factC,factB). 0.2::factZ:-and(factB,factA). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.7,0.7131426285257051,train,likely,we doubt,It is likely that 'John discarded the milk' or 'Bernhard is a swan' or both.,We doubt that 'John discarded the milk' or 'Bernhard is a swan' or both.,1,'John discarded the milk' or 'Bernhard is a swan' or both. It is improbable that Brian is green. It is certain that Mary went to the office. It is likely that John left the football. There is a better than even chance that if either 'Brian is green' or 'Mary went to the office' but not both then Daniel put down the milk. We doubt that if either 'Mary went to the office' or 'John left the football' but not both then Bernhard is a rhino. We doubt that if 'John left the football and Brian is green' then Lily is a lion.,Chances are slight that either 'Bernhard is a rhino' or 'John 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.1::factA. 1.0::factB. 0.7::factC. %hop1 0.6::factX:-xor(factA,factB). 0.2::factY:-xor(factB,factC). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.7599999999999999,0.38207641528305664,train,we believe,chances are slight,We believe that either 'Bernhard is a rhino' or 'John left the football' but not both.,Chances are slight that either 'Bernhard is a rhino' or 'John left the football' but not both.,0,Either 'Bernhard is a rhino' or 'John left the football' but not both. We believe that Greg is a frog. It is certain that Mary got the apple. There is a very good chance that Lily is a rhino. Chances are about even that if 'Greg is a frog' or 'Mary got the apple' or both then Winona is a wolf. There is a very good chance that if 'Mary got the apple and Lily is a rhino' then Brian is yellow. We believe that if either 'Mary got the apple' or 'Lily is a rhino' but not both then Julius is a frog.,There is a very good chance that 'Lily is a rhino' 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.75::factA. 1.0::factB. 0.8::factC. %hop1 0.5::factX:-or(factA,factB). 0.8::factY:-and(factB,factC). 0.75::factZ:-xor(factB,factC). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.8,0.4718943788757752,train,very good chance,chances are slight,There is a very good chance that 'Lily is a rhino' or 'Brian is yellow' or both.,Chances are slight that 'Lily is a rhino' or 'Brian is yellow' or both.,1,'Lily is a rhino' or 'Brian is yellow' or both. It is unlikely that Fred went to the garden. There is a very good chance that Mary dropped the milk. It is impossible that Greg is yellow. It is impossible that if 'Mary dropped the milk' or 'Greg is yellow' or both then Bill left the milk. There is a very good chance that if 'Greg is yellow' or 'Fred went to the garden' or both then John discarded the apple. It is highly unlikely that if 'Greg is yellow' or 'Mary dropped the milk' or both then Bernhard is a rhino.,We believe that 'Bill left the milk' or 'Fred 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.8::factB. 0.0::factC. %hop1 0.0::factX:-or(factB,factC). 0.8::factY:-or(factC,factA). 0.05::factZ:-or(factC,factB). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.2,0.30106021204240846,train,we doubt,we believe,We doubt that 'Bill left the milk' or 'Fred went to the garden' or both.,We believe that 'Bill left the milk' or 'Fred went to the garden' or both.,0,'Bill left the milk' or 'Fred went to the garden' or both. It is certain that John picked up the apple. Chances are about even that Fred moved to the office. It is certain that Bill went to the garden. We doubt that if either 'Bill went to the garden' or 'Fred moved to the office' but not both then Bernhard is yellow. There is a better than even chance that if 'John picked up the apple' or 'Fred moved to the office' or both then Julius is a lion. It is almost certain that if 'Bill went to the garden' or 'John picked up the apple' or both then Mary took the milk.,Chances are about even that 'Bill went to the garden' or 'John picked up 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.5::factB. 1.0::factC. %hop1 0.2::factX:-xor(factC,factB). 0.6::factY:-or(factA,factB). 0.95::factZ:-or(factC,factA). %hop2 conclusion:-or(factC,factA). query(conclusion). ",1.0,0.22544508901780355,train,certain,about even,It is certain that 'Bill went to the garden' or 'John picked up the apple' or both.,Chances are about even that 'Bill went to the garden' or 'John picked up the apple' or both.,0,'Bill went to the garden' or 'John picked up the apple' or both. It is improbable that Greg is gray. It is likely that John put down the apple. It is certain that Bernhard is a frog. It is certain that if 'Greg is gray and John put down the apple' then Emily is a wolf. It is almost certain that if 'Bernhard is a frog and John put down the apple' then Brian is a swan. It is highly unlikely that if either 'Bernhard is a frog' or 'John put down the apple' but not both then Gertrude is a sheep.,It is highly unlikely that 'Brian is a swan and Greg 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.1::factA. 0.7::factB. 1.0::factC. %hop1 1.0::factX:-and(factA,factB). 0.95::factY:-and(factC,factB). 0.05::factZ:-xor(factC,factB). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.0665,0.2508501700340068,train,highly unlikely,likely,It is highly unlikely that 'Brian is a swan and Greg is gray'.,It is likely that 'Brian is a swan and Greg is gray'.,1,'Brian is a swan and Greg is gray'. There is a very good chance that Bernhard is a frog. It is highly unlikely that Brian is white. It is likely that Jessica is a cat. Chances are about even that if either 'Brian is white' or 'Jessica is a cat' but not both then Lily is yellow. It is probably the case that if 'Brian is white' or 'Bernhard is a frog' or both then Greg is gray. It is impossible that if 'Brian is white and Jessica is a cat' then John dropped the milk.,Chances are about even that 'Brian is white' 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.8::factA. 0.05::factB. 0.7::factC. %hop1 0.5::factX:-xor(factB,factC). 0.7::factY:-or(factB,factA). 0.0::factZ:-and(factB,factC). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.3825,0.14602920584116824,train,about even,almost no chance,Chances are about even that 'Brian is white' or 'Lily is yellow' or both.,There is almost no chance that 'Brian is white' or 'Lily is yellow' or both.,1,'Brian is white' or 'Lily is yellow' or both. We doubt that John went to the kitchen. We believe that Bernhard is a swan. There is almost no chance that Julius is gray. It is probable that if either 'Julius is gray' or 'Bernhard is a swan' but not both then Greg is yellow. It is impossible that if 'Bernhard is a swan and John went to the kitchen' then Mary moved to the garden. We doubt that if 'John went to the kitchen' or 'Julius is gray' or both then Brian is a lion.,It is impossible that 'Greg is yellow 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.2::factA. 0.75::factB. 0.02::factC. %hop1 0.7::factX:-xor(factC,factB). 0.0::factY:-and(factB,factA). 0.2::factZ:-or(factA,factC). %hop2 conclusion:-and(factX,factY). query(conclusion). ",0.0,0.7633526705341068,train,impossible,very good chance,It is impossible that 'Greg is yellow and Mary moved to the garden'.,There is a very good chance that 'Greg is yellow and Mary moved to the garden'.,1,'Greg is yellow and Mary moved to the garden'. It is probable that Mary left the football. It is highly likely that Emily is a mouse. There is little chance that Lily is yellow. We believe that if 'Lily is yellow and Mary left the football' then Brian is a rhino. It is certain that if either 'Mary left the football' or 'Emily is a mouse' but not both then John moved to the office. It is almost certain that if 'Lily is yellow' or 'Emily is a mouse' or both then Julius is a lion.,It is highly unlikely that 'Brian is a rhino' or 'Emily 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.7::factA. 0.9::factB. 0.1::factC. %hop1 0.75::factX:-and(factC,factA). 1.0::factY:-xor(factA,factB). 0.95::factZ:-or(factC,factB). %hop2 conclusion:-or(factX,factB). query(conclusion). ",0.9052500000000001,0.6255251050210042,train,highly likely,highly unlikely,It is highly likely that 'Brian is a rhino' or 'Emily is a mouse' or both.,It is highly unlikely that 'Brian is a rhino' or 'Emily is a mouse' or both.,0,'Brian is a rhino' or 'Emily is a mouse' or both. There is a very good chance that Lily is a swan. There is little chance that Julius is a rhino. It is certain that Winona is a sheep. It is improbable that if 'Julius is a rhino' or 'Lily is a swan' or both then Emily is a sheep. It is impossible that if 'Julius is a rhino' or 'Winona is a sheep' or both then Bernhard is white. It is improbable that if either 'Lily is a swan' or 'Julius is a rhino' but not both then John dropped the milk.,It is impossible that either 'Lily is a swan' 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.8::factA. 0.1::factB. 1.0::factC. %hop1 0.1::factX:-or(factB,factA). 0.0::factY:-or(factB,factC). 0.1::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.74,0.2444488897779556,train,we believe,impossible,We believe that either 'Lily is a swan' or 'Julius is a rhino' but not both.,It is impossible that either 'Lily is a swan' or 'Julius is a rhino' but not both.,0,Either 'Lily is a swan' or 'Julius is a rhino' but not both. Chances are slight that Julius is white. It is certain that Mary dropped the milk. It is highly likely that Lily is gray. It is unlikely that if 'Mary dropped the milk' or 'Lily is gray' or both then Jason is tired. It is unlikely that if 'Mary dropped the milk' or 'Lily is gray' or both then Yann is thirsty. It is impossible that if 'Julius is white' or 'Mary dropped the milk' or both then Bill moved to the office.,There is a better than even chance that 'Yann is thirsty 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. 1.0::factB. 0.9::factC. %hop1 0.2::factX:-or(factB,factC). 0.2::factY:-or(factB,factC). 0.0::factZ:-or(factA,factB). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.04000000000000001,0.6387277455491098,train,highly unlikely,better than even,It is highly unlikely that 'Yann is thirsty and Jason is tired'.,There is a better than even chance that 'Yann is thirsty and Jason is tired'.,0,'Yann is thirsty and Jason is tired'. It is likely that Lily is gray. It is likely that Sandra left the milk. It is certain that Greg is a lion. It is highly likely that if 'Sandra left the milk and Greg is a lion' then Julius is white. There is a very good chance that if either 'Sandra left the milk' or 'Greg is a lion' but not both then Daniel took the apple. Chances are about even that if 'Greg is a lion' or 'Lily is gray' or both then John went to the garden.,It is almost certain that 'John went to the garden and Daniel took 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.7::factA. 0.7::factB. 1.0::factC. %hop1 0.9::factX:-and(factB,factC). 0.8::factY:-xor(factB,factC). 0.5::factZ:-or(factC,factA). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.12000000000000001,0.7825565113022604,train,improbable,almost certain,It is improbable that 'John went to the garden and Daniel took the apple'.,It is almost certain that 'John went to the garden and Daniel took the apple'.,0,'John went to the garden and Daniel took the apple'. It is unlikely that Mary dropped the milk. There is a very good chance that Emily is a sheep. There is a better than even chance that John went to the bedroom. It is almost certain that if 'Emily is a sheep' or 'John went to the bedroom' or both then Julius is yellow. It is improbable that if 'Emily is a sheep' or 'Mary dropped the milk' or both then Bernhard is a frog. It is probable that if either 'Mary dropped the milk' or 'John went to the bedroom' but not both then Brian is white.,It is highly unlikely that either 'Julius is yellow' or 'Mary 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.2::factA. 0.8::factB. 0.6::factC. %hop1 0.95::factX:-or(factB,factC). 0.1::factY:-or(factB,factA). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.7243999999999999,0.5845169033806762,train,probable,highly unlikely,It is probable that either 'Julius is yellow' or 'Mary dropped the milk' but not both.,It is highly unlikely that either 'Julius is yellow' or 'Mary dropped the milk' but not both.,0,Either 'Julius is yellow' or 'Mary dropped the milk' but not both. We doubt that Julius is a swan. There is a better than even chance that Emily is a sheep. There is little chance that Bernhard is a swan. There is a better than even chance that if either 'Emily is a sheep' or 'Bernhard is a swan' but not both then Brian is a rhino. It is probably the case that if either 'Emily is a sheep' or 'Julius is a swan' but not both then Mary dropped the apple. Chances are slight that if 'Bernhard is a swan and Emily is a sheep' then Jason is tired.,It is certain that 'Mary dropped the apple' 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.2::factA. 0.6::factB. 0.1::factC. %hop1 0.6::factX:-xor(factB,factC). 0.7::factY:-xor(factB,factA). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-or(factY,factC). query(conclusion). ",0.4528,0.15163032606521304,train,about even,certain,Chances are about even that 'Mary dropped the apple' or 'Bernhard is a swan' or both.,It is certain that 'Mary dropped the apple' or 'Bernhard is a swan' or both.,0,'Mary dropped the apple' or 'Bernhard is a swan' or both. It is probable that Julius is a frog. We doubt that Greg is a swan. It is almost certain that Winona is a wolf. There is a better than even chance that if 'Winona is a wolf and Greg is a swan' then Emily is a mouse. We believe that if 'Winona is a wolf and Julius is a frog' then Sandra dropped the milk. There is almost no chance that if 'Winona is a wolf' or 'Julius is a frog' or both then John picked up the apple.,We believe that either 'Winona 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.7::factA. 0.2::factB. 0.95::factC. %hop1 0.6::factX:-and(factC,factB). 0.75::factY:-and(factC,factA). 0.02::factZ:-or(factC,factA). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.77,0.7469493898779755,train,we believe,little chance,We believe that either 'Winona is a wolf' or 'Greg is a swan' but not both.,There is little chance that either 'Winona is a wolf' or 'Greg is a swan' but not both.,1,Either 'Winona is a wolf' or 'Greg is a swan' but not both. It is impossible that Brian is yellow. It is almost certain that Greg is gray. It is impossible that Bernhard is a swan. It is almost certain that if 'Bernhard is a swan' or 'Greg is gray' or both then Mary left the football. There is almost no chance that if 'Bernhard is a swan and Brian is yellow' then John grabbed the apple. It is likely that if either 'Bernhard is a swan' or 'Greg is gray' but not both then Bill moved to the office.,It is probably the case that 'Bill moved to the office and John 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.0::factA. 0.95::factB. 0.0::factC. %hop1 0.95::factX:-or(factC,factB). 0.02::factY:-and(factC,factA). 0.7::factZ:-xor(factC,factB). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.0,0.23964792958591719,train,impossible,probably,It is impossible that 'Bill moved to the office and John grabbed the apple'.,It is probably the case that 'Bill moved to the office and John grabbed the apple'.,0,'Bill moved to the office and John grabbed the apple'. It is likely that John went to the garden. There is a very good chance that Mary put down the apple. It is almost certain that Sandra left the football. Chances are slight that if 'John went to the garden' or 'Sandra left the football' or both then Brian is a swan. There is almost no chance that if either 'Mary put down the apple' or 'Sandra left the football' but not both then Lily is a lion. We believe that if either 'John went to the garden' or 'Sandra left the football' but not both then Bernhard is a frog.,It is almost certain that 'Mary put down the apple' or 'John 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.7::factA. 0.8::factB. 0.95::factC. %hop1 0.1::factX:-or(factA,factC). 0.02::factY:-xor(factB,factC). 0.75::factZ:-xor(factA,factC). %hop2 conclusion:-or(factB,factA). query(conclusion). ",0.9400000000000001,0.42568513702740546,train,almost certain,little chance,It is almost certain that 'Mary put down the apple' or 'John went to the garden' or both.,There is little chance that 'Mary put down the apple' or 'John went to the garden' or both.,1,'Mary put down the apple' or 'John went to the garden' or both. It is highly likely that Brian is white. It is highly unlikely that Gertrude is a sheep. It is probably the case that Bernhard is a swan. We believe that if 'Gertrude is a sheep' or 'Brian is white' or both then Daniel took the milk. It is probable that if 'Brian is white and Bernhard is a swan' then Mary went to the garden. It is likely that if either 'Gertrude is a sheep' or 'Bernhard is a swan' but not both then John left the apple.,It is highly unlikely that either 'Bernhard is a swan' 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.9::factA. 0.05::factB. 0.7::factC. %hop1 0.75::factX:-or(factB,factA). 0.7::factY:-and(factA,factC). 0.7::factZ:-xor(factB,factC). %hop2 conclusion:-xor(factC,factB). query(conclusion). ",0.6799999999999999,0.15643128625725145,train,probably,highly unlikely,It is probably the case that either 'Bernhard is a swan' or 'Gertrude is a sheep' but not both.,It is highly unlikely that either 'Bernhard is a swan' or 'Gertrude is a sheep' but not both.,0,Either 'Bernhard is a swan' or 'Gertrude is a sheep' but not both. We doubt that Julius is white. It is almost certain that Mary got the football. It is improbable that Lily is a lion. It is likely that if 'Mary got the football and Julius is white' then John discarded the apple. It is almost certain that if 'Julius is white and Mary got the football' then Bernhard is gray. There is little chance that if 'Mary got the football' or 'Lily is a lion' or both then Brian is yellow.,It is highly unlikely that either 'Brian is yellow' 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 0.2::factA. 0.95::factB. 0.1::factC. %hop1 0.7::factX:-and(factB,factA). 0.95::factY:-and(factA,factB). 0.1::factZ:-or(factB,factC). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.8554999999999999,0.1868373674734947,train,highly likely,highly unlikely,It is highly likely that either 'Brian is yellow' or 'Mary got the football' but not both.,It is highly unlikely that either 'Brian is yellow' or 'Mary got the football' but not both.,0,Either 'Brian is yellow' or 'Mary got the football' but not both. It is probably not the case that Bernhard is a lion. Chances are about even that Brian is yellow. It is probably not the case that John put down the apple. Chances are slight that if either 'Bernhard is a lion' or 'John put down the apple' but not both then Sandra took the milk. It is almost certain that if 'Bernhard is a lion and Brian is yellow' then Winona is a wolf. It is likely that if 'John put down the apple and Brian is yellow' then Mary went to the office.,It is improbable that 'Sandra took the milk' or 'Mary 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.25::factA. 0.5::factB. 0.25::factC. %hop1 0.1::factX:-xor(factA,factC). 0.95::factY:-and(factA,factB). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.1184375,0.11982396479295859,train,improbable,we believe,It is improbable that 'Sandra took the milk' or 'Mary went to the office' or both.,We believe that 'Sandra took the milk' or 'Mary went to the office' or both.,1,'Sandra took the milk' or 'Mary went to the office' or both. It is highly likely that Lily is gray. It is impossible that Greg is a frog. It is probably the case that Julius is a rhino. Chances are about even that if 'Greg is a frog' or 'Lily is gray' or both then Emily is a wolf. It is improbable that if 'Lily is gray and Julius is a rhino' then Brian is a frog. It is probably not the case that if 'Lily is gray' or 'Greg is a frog' or both then John took the apple.,It is highly likely that 'John took the apple' 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.9::factA. 0.0::factB. 0.7::factC. %hop1 0.5::factX:-or(factB,factA). 0.1::factY:-and(factA,factC). 0.25::factZ:-or(factA,factB). %hop2 conclusion:-or(factZ,factA). query(conclusion). ",0.9,0.612122424484897,train,highly likely,chances are slight,It is highly likely that 'John took the apple' or 'Lily is gray' or both.,Chances are slight that 'John took the apple' or 'Lily is gray' or both.,1,'John took the apple' or 'Lily is gray' or both. It is probably not the case that Jason is tired. It is impossible that Sandra grabbed the milk. We believe that Mary went to the office. We doubt that if 'Sandra grabbed the milk' or 'Mary went to the office' or both then Jeff left the apple. There is little chance that if 'Jason is tired' or 'Sandra grabbed the milk' or both then John got the apple. There is almost no chance that if either 'Mary went to the office' or 'Sandra grabbed the milk' but not both then Julius is a frog.,It is impossible that 'John got the apple and Jeff 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.25::factA. 0.0::factB. 0.75::factC. %hop1 0.2::factX:-or(factB,factC). 0.1::factY:-or(factA,factB). 0.02::factZ:-xor(factC,factB). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.003750000000000002,0.0654130826165233,train,impossible,certain,It is impossible that 'John got the apple and Jeff left the apple'.,It is certain that 'John got the apple and Jeff left the apple'.,1,'John got the apple and Jeff left the apple'. It is certain that Mary dropped the milk. It is almost certain that John went to the garden. There is almost no chance that Lily is a lion. It is probably not the case that if 'Lily is a lion and John went to the garden' then Jeff left the football. Chances are about even that if 'Lily is a lion' or 'Mary dropped the milk' or both then Brian is green. It is probable that if 'Lily is a lion and Mary dropped the milk' then Julius is a frog.,It is probably not the case that 'John went to the garden' 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 1.0::factA. 0.95::factB. 0.02::factC. %hop1 0.25::factX:-and(factC,factB). 0.5::factY:-or(factC,factA). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.975,0.0054010802160432084,train,almost certain,probably not,It is almost certain that 'John went to the garden' or 'Brian is green' or both.,It is probably not the case that 'John went to the garden' or 'Brian is green' or both.,0,'John went to the garden' or 'Brian is green' or both. Chances are slight that Bernhard is a rhino. It is highly unlikely that Lily is green. It is probably the case that John went to the kitchen. It is impossible that if either 'Bernhard is a rhino' or 'Lily is green' but not both then Brian is gray. It is impossible that if either 'Lily is green' or 'Bernhard is a rhino' but not both then Julius is green. It is highly likely that if 'Bernhard is a rhino and John went to the kitchen' then Mary discarded the apple.,Chances are about even that either 'Julius is green' or 'Mary 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.1::factA. 0.05::factB. 0.7::factC. %hop1 0.0::factX:-xor(factA,factB). 0.0::factY:-xor(factB,factA). 0.9::factZ:-and(factA,factC). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.06300000000000001,0.7341468293658732,train,highly unlikely,about even,It is highly unlikely that either 'Julius is green' or 'Mary discarded the apple' but not both.,Chances are about even that either 'Julius is green' or 'Mary discarded the apple' but not both.,0,Either 'Julius is green' or 'Mary discarded the apple' but not both. It is certain that Julius is gray. It is almost certain that Brian is a frog. It is almost certain that Jeff went to the garden. There is little chance that if 'Brian is a frog and Jeff went to the garden' then Bernhard is a swan. We believe that if 'Brian is a frog' or 'Jeff went to the garden' or both then John grabbed the milk. We doubt that if 'Julius is gray and Brian is a frog' then Jessica is a mouse.,We believe that either 'Jeff went to the garden' 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 1.0::factA. 0.95::factB. 0.95::factC. %hop1 0.1::factX:-and(factB,factC). 0.75::factY:-or(factB,factC). 0.2::factZ:-and(factA,factB). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.05000000000000005,0.11642328465693139,train,highly unlikely,we believe,It is highly unlikely that either 'Jeff went to the garden' or 'Julius is gray' but not both.,We believe that either 'Jeff went to the garden' or 'Julius is gray' but not both.,0,Either 'Jeff went to the garden' or 'Julius is gray' but not both. There is almost no chance that Julius is a frog. We believe that Lily is yellow. It is probable that John went to the kitchen. There is almost no chance that if 'Julius is a frog' or 'Lily is yellow' or both then Gertrude is a cat. It is likely that if either 'Lily is yellow' or 'John went to the kitchen' but not both then Emily is a cat. It is almost certain that if 'Julius is a frog' or 'Lily is yellow' or both then Mary dropped the milk.,It is unlikely that 'Mary dropped the milk 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.02::factA. 0.75::factB. 0.7::factC. %hop1 0.02::factX:-or(factA,factB). 0.7::factY:-xor(factB,factC). 0.95::factZ:-or(factA,factB). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.1519525,0.6741348269653931,train,unlikely,highly likely,It is unlikely that 'Mary dropped the milk and Emily is a cat'.,It is highly likely that 'Mary dropped the milk and Emily is a cat'.,1,'Mary dropped the milk and Emily is a cat'. There is a better than even chance that Brian is yellow. It is probably not the case that Mary dropped the milk. It is certain that Julius is gray. It is probably the case that if either 'Julius is gray' or 'Brian is yellow' but not both then Fred went to the office. It is probable that if 'Brian is yellow' or 'Julius is gray' or both then Jason is tired. It is probable that if 'Mary dropped the milk' or 'Julius is gray' or both then John moved to the garden.,It is certain 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.6::factA. 0.25::factB. 1.0::factC. %hop1 0.7::factX:-xor(factC,factA). 0.7::factY:-or(factA,factC). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-or(factA,factC). query(conclusion). ",1.0,0.6429285857171434,train,certain,chances are slight,It is certain that 'Brian is yellow' or 'Julius is gray' or both.,Chances are slight that 'Brian is yellow' or 'Julius is gray' or both.,1,'Brian is yellow' or 'Julius is gray' or both. Chances are about even that Sandra dropped the milk. There is a better than even chance that Yann is hungry. It is highly unlikely that Mary grabbed the apple. It is probably not the case that if 'Yann is hungry' or 'Sandra dropped the milk' or both then Brian is yellow. It is almost certain that if 'Sandra dropped the milk and Yann is hungry' then Lily is a lion. We doubt that if 'Sandra dropped the milk' or 'Mary grabbed the apple' or both then Greg is a rhino.,There is almost no chance that 'Mary grabbed the apple 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.5::factA. 0.6::factB. 0.05::factC. %hop1 0.25::factX:-or(factB,factA). 0.95::factY:-and(factA,factB). 0.2::factZ:-or(factA,factC). %hop2 conclusion:-and(factC,factY). query(conclusion). ",0.014250000000000002,0.620124024804961,train,almost no chance,very good chance,There is almost no chance that 'Mary grabbed the apple and Lily is a lion'.,There is a very good chance that 'Mary grabbed the apple and Lily is a lion'.,1,'Mary grabbed the apple and Lily is a lion'. We doubt that Julius is a swan. There is almost no chance that Greg is green. It is probably the case that John went to the garden. There is a very good chance that if either 'John went to the garden' or 'Greg is green' but not both then Brian is a frog. We believe that if 'Greg is green and Julius is a swan' then Daniel got the milk. Chances are about even that if 'John went to the garden and Greg is green' then Mary dropped the apple.,We believe that either 'Daniel got the milk' or 'Greg 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.2::factA. 0.02::factB. 0.7::factC. %hop1 0.8::factX:-xor(factC,factB). 0.75::factY:-and(factB,factA). 0.5::factZ:-and(factC,factB). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.01699999999999999,0.7043408681736347,train,almost no chance,we believe,There is almost no chance that either 'Daniel got the milk' or 'Greg is green' but not both.,We believe that either 'Daniel got the milk' or 'Greg is green' but not both.,0,Either 'Daniel got the milk' or 'Greg is green' but not both. We believe that Winona is a cat. There is almost no chance that Lily is white. It is certain that Bernhard is a swan. We believe that if 'Bernhard is a swan and Winona is a cat' then John took the football. We doubt that if 'Lily is white and Winona is a cat' then Gertrude is a sheep. We doubt that if 'Bernhard is a swan' or 'Lily is white' or both then Sandra dropped the milk.,There is almost no chance that 'Winona is a cat 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.75::factA. 0.02::factB. 1.0::factC. %hop1 0.75::factX:-and(factC,factA). 0.2::factY:-and(factB,factA). 0.2::factZ:-or(factC,factB). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.014999999999999998,0.5041008201640328,train,almost no chance,almost certain,There is almost no chance that 'Winona is a cat and Lily is white'.,It is almost certain that 'Winona is a cat and Lily is white'.,1,'Winona is a cat and Lily is white'. It is likely that Lily is white. We believe that Brian is a swan. There is almost no chance that Sandra left the football. Chances are slight that if either 'Sandra left the football' or 'Lily is white' but not both then Gertrude is a mouse. It is probably not the case that if 'Brian is a swan' or 'Sandra left the football' or both then Sumit is thirsty. It is almost certain that if either 'Brian is a swan' or 'Sandra left the football' but not both then John moved to the garden.,It is highly unlikely that 'Gertrude is a mouse 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.7::factA. 0.75::factB. 0.02::factC. %hop1 0.1::factX:-xor(factC,factA). 0.25::factY:-or(factB,factC). 0.95::factZ:-xor(factB,factC). %hop2 conclusion:-and(factX,factZ). query(conclusion). ",0.04902000000000002,0.46269253850770153,train,highly unlikely,better than even,It is highly unlikely that 'Gertrude is a mouse and John moved to the garden'.,There is a better than even chance that 'Gertrude is a mouse and John moved to the garden'.,1,'Gertrude is a mouse and John moved to the garden'. Chances are slight that Bernhard is green. It is probable that Mary is in the bathroom. It is probably not the case that Gertrude is a cat. There is a better than even chance that if 'Bernhard is green and Mary is in the bathroom' then Daniel grabbed the milk. Chances are about even that if 'Mary is in the bathroom' or 'Gertrude is a cat' or both then John took the football. It is almost certain that if either 'Gertrude is a cat' or 'Mary is in the bathroom' but not both then Lily is a rhino.,Chances are about even that either 'John took the football' or 'Mary is in the bathroom' 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.7::factB. 0.25::factC. %hop1 0.6::factX:-and(factA,factB). 0.5::factY:-or(factB,factC). 0.95::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factY,factB). query(conclusion). ",0.38749999999999996,0.42088417683536705,train,about even,highly unlikely,Chances are about even that either 'John took the football' or 'Mary is in the bathroom' but not both.,It is highly unlikely that either 'John took the football' or 'Mary is in the bathroom' but not both.,1,Either 'John took the football' or 'Mary is in the bathroom' but not both. It is probable that Julius is white. It is likely that Brian is yellow. There is little chance that Greg is a frog. It is probably not the case that if either 'Julius is white' or 'Brian is yellow' but not both then Daniel put down the milk. It is probably the case that if 'Greg is a frog' or 'Julius is white' or both then Lily is green. It is impossible that if 'Julius is white and Brian is yellow' then Mary left the football.,There is almost no chance that 'Lily is green' 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.7::factA. 0.7::factB. 0.1::factC. %hop1 0.25::factX:-xor(factA,factB). 0.7::factY:-or(factC,factA). 0.0::factZ:-and(factA,factB). %hop2 conclusion:-or(factY,factZ). query(conclusion). ",0.5109999999999999,0.4254850970194039,train,about even,almost no chance,Chances are about even that 'Lily is green' or 'Mary left the football' or both.,There is almost no chance that 'Lily is green' or 'Mary left the football' or both.,0,'Lily is green' or 'Mary left the football' or both. It is probably the case that John took the football. There is a very good chance that Sumit is bored. It is certain that Greg is yellow. Chances are about even that if 'Greg is yellow' or 'Sumit is bored' or both then Winona is a sheep. It is improbable that if 'Sumit is bored' or 'Greg is yellow' or both then Lily is a swan. It is certain that if either 'Greg is yellow' or 'Sumit is bored' but not both then Bernhard is yellow.,It is highly unlikely that either 'Sumit is bored' or 'John 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.7::factA. 0.8::factB. 1.0::factC. %hop1 0.5::factX:-or(factC,factB). 0.1::factY:-or(factB,factC). 1.0::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.38,0.5427085417083417,train,about even,highly unlikely,Chances are about even that either 'Sumit is bored' or 'John took the football' but not both.,It is highly unlikely that either 'Sumit is bored' or 'John took the football' but not both.,0,Either 'Sumit is bored' or 'John took the football' but not both. It is highly likely that Bernhard is white. It is certain that John dropped the apple. It is certain that Julius is a lion. It is probably not the case that if 'Julius is a lion' or 'John dropped the apple' or both then Mary went to the office. Chances are slight that if 'Bernhard is white' or 'John dropped the apple' or both then Gertrude is a cat. It is almost certain that if 'John dropped the apple' or 'Julius is a lion' or both then Brian is a swan.,It is highly likely that either 'John dropped the apple' or 'Gertrude 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.9::factA. 1.0::factB. 1.0::factC. %hop1 0.25::factX:-or(factC,factB). 0.1::factY:-or(factA,factB). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.9,0.21964392878575714,train,highly likely,highly unlikely,It is highly likely that either 'John dropped the apple' or 'Gertrude is a cat' but not both.,It is highly unlikely that either 'John dropped the apple' or 'Gertrude is a cat' but not both.,1,Either 'John dropped the apple' or 'Gertrude is a cat' but not both. Chances are slight that Mary is in the school. It is improbable that Greg is a lion. It is highly likely that John took the football. Chances are about even that if either 'Mary is in the school' or 'John took the football' but not both then Brian is a frog. It is probably not the case that if 'Greg is a lion' or 'John took the football' or both then Bill went to the kitchen. It is probable that if 'Mary is in the school' or 'John took the football' or both then Julius is yellow.,Chances are about even that either 'Brian is a frog' or 'Mary 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.1::factA. 0.1::factB. 0.9::factC. %hop1 0.5::factX:-xor(factA,factC). 0.25::factY:-or(factB,factC). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-xor(factX,factA). query(conclusion). ",0.5000000000000001,0.32586517303460694,train,about even,highly unlikely,Chances are about even that either 'Brian is a frog' or 'Mary is in the school' but not both.,It is highly unlikely that either 'Brian is a frog' or 'Mary is in the school' but not both.,1,Either 'Brian is a frog' or 'Mary is in the school' but not both. It is improbable that Brian is white. It is improbable that Winona is a cat. It is probable that Emily is a mouse. It is almost certain that if 'Brian is white' or 'Winona is a cat' or both then Lily is white. It is highly likely that if 'Brian is white' or 'Winona is a cat' or both then John put down the apple. It is highly unlikely that if 'Emily is a mouse and Winona is a cat' then Greg is a lion.,It is unlikely that 'Lily is white' 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.1::factA. 0.1::factB. 0.7::factC. %hop1 0.95::factX:-or(factA,factB). 0.9::factY:-or(factA,factB). 0.05::factZ:-and(factC,factB). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.180675,0.09701940388077615,train,unlikely,almost certain,It is unlikely that 'Lily is white' or 'Greg is a lion' or both.,It is almost certain that 'Lily is white' or 'Greg is a lion' or both.,1,'Lily is white' or 'Greg is a lion' or both. It is unlikely that Mary went to the bedroom. It is probable that John dropped the apple. It is probable that Julius is yellow. We believe that if 'John dropped the apple' or 'Julius is yellow' or both then Sandra left the milk. It is almost certain that if 'John dropped the apple and Mary went to the bedroom' then Brian is white. There is little chance that if either 'Mary went to the bedroom' or 'Julius is yellow' but not both then Greg is white.,It is almost certain that 'Mary went to the bedroom 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.2::factA. 0.7::factB. 0.7::factC. %hop1 0.75::factX:-or(factB,factC). 0.95::factY:-and(factB,factA). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-and(factA,factY). query(conclusion). ",0.13300000000000003,0.34026805361072215,train,chances are slight,almost certain,Chances are slight that 'Mary went to the bedroom and Brian is white'.,It is almost certain that 'Mary went to the bedroom and Brian is white'.,0,'Mary went to the bedroom and Brian is white'. It is probably the case that John took the apple. It is highly unlikely that Gertrude is a wolf. It is probably not the case that Bill moved to the office. It is highly likely that if 'John took the apple and Gertrude is a wolf' then Julius is yellow. Chances are slight that if either 'Bill moved to the office' or 'Gertrude is a wolf' but not both then Brian is gray. It is unlikely that if 'Gertrude is a wolf and Bill moved to the office' then Winona is a mouse.,It is highly unlikely that 'Gertrude is a wolf and John took 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.7::factA. 0.05::factB. 0.25::factC. %hop1 0.9::factX:-and(factA,factB). 0.1::factY:-xor(factC,factB). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-and(factB,factA). query(conclusion). ",0.035,0.5449089817963593,train,highly unlikely,probably,It is highly unlikely that 'Gertrude is a wolf and John took the apple'.,It is probably the case that 'Gertrude is a wolf and John took the apple'.,1,'Gertrude is a wolf and John took the apple'. Chances are slight that Jessica is a sheep. There is a better than even chance that Fred discarded the apple. Chances are slight that Julius is a swan. Chances are about even that if 'Fred discarded the apple' or 'Jessica is a sheep' or both then Gertrude is a mouse. Chances are about even that if 'Julius is a swan and Jessica is a sheep' then John went to the office. There is almost no chance that if either 'Fred discarded the apple' or 'Julius is a swan' but not both then Lily is a swan.,Chances are slight that 'John went to the office' 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.6::factB. 0.1::factC. %hop1 0.5::factX:-or(factB,factA). 0.5::factY:-and(factC,factA). 0.02::factZ:-xor(factB,factC). %hop2 conclusion:-or(factY,factA). query(conclusion). ",0.10000000000000002,0.4194838967793559,train,chances are slight,almost certain,Chances are slight that 'John went to the office' or 'Jessica is a sheep' or both.,It is almost certain that 'John went to the office' or 'Jessica is a sheep' or both.,1,'John went to the office' or 'Jessica is a sheep' or both. It is highly unlikely that Bernhard is a frog. Chances are about even that Gertrude is a cat. There is almost no chance that Julius is gray. It is unlikely that if 'Gertrude is a cat' or 'Julius is gray' or both then Mary went to the office. It is highly unlikely that if 'Julius is gray and Gertrude is a cat' then Lily is a swan. There is a better than even chance that if 'Julius is gray' or 'Gertrude is a cat' or both then Bill left the milk.,It is certain that either 'Bill left the milk' 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.05::factA. 0.5::factB. 0.02::factC. %hop1 0.2::factX:-or(factB,factC). 0.05::factY:-and(factC,factB). 0.6::factZ:-or(factC,factB). %hop2 conclusion:-xor(factZ,factY). query(conclusion). ",0.30590000000000006,0.7579515903180636,train,probably not,certain,It is probably not the case that either 'Bill left the milk' or 'Lily is a swan' but not both.,It is certain that either 'Bill left the milk' or 'Lily is a swan' but not both.,0,Either 'Bill left the milk' or 'Lily is a swan' but not both. It is probably the case that Jessica is a cat. It is probably the case that Antoine is thirsty. It is probable that Brian is a lion. It is probably the case that if either 'Jessica is a cat' or 'Antoine is thirsty' but not both then Gertrude is a sheep. It is certain that if 'Brian is a lion' or 'Antoine is thirsty' or both then Mary dropped the apple. It is certain that if 'Brian is a lion' or 'Antoine is thirsty' or both then Greg is yellow.,There is almost no chance that 'Mary dropped the apple and Antoine 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.7::factB. 0.7::factC. %hop1 0.7::factX:-xor(factA,factB). 1.0::factY:-or(factC,factB). 1.0::factZ:-or(factC,factB). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.7,0.20644128825765154,train,probably,almost no chance,It is probably the case that 'Mary dropped the apple and Antoine is thirsty'.,There is almost no chance that 'Mary dropped the apple and Antoine is thirsty'.,0,'Mary dropped the apple and Antoine is thirsty'. There is a better than even chance that Sandra left the milk. It is unlikely that Greg is green. It is impossible that John moved to the garden. It is almost certain that if 'John moved to the garden and Sandra left the milk' then Bernhard is gray. There is little chance that if 'Greg is green and Sandra left the milk' then Lily is a swan. It is unlikely that if either 'Sandra left the milk' or 'Greg is green' but not both then Julius is a lion.,It is improbable that either 'Greg is green' or 'Sandra 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.6::factA. 0.2::factB. 0.0::factC. %hop1 0.95::factX:-and(factC,factA). 0.1::factY:-and(factB,factA). 0.2::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factB,factA). query(conclusion). ",0.5599999999999999,0.4540908181636327,train,better than even,improbable,There is a better than even chance that either 'Greg is green' or 'Sandra left the milk' but not both.,It is improbable that either 'Greg is green' or 'Sandra left the milk' but not both.,0,Either 'Greg is green' or 'Sandra left the milk' but not both. It is unlikely that Greg is a rhino. It is highly likely that Brian is a swan. We believe that John went to the garden. We doubt that if 'John went to the garden and Brian is a swan' then Sandra left the milk. It is highly likely that if either 'Greg is a rhino' or 'John went to the garden' but not both then Lily is yellow. It is likely that if 'Greg is a rhino' or 'John went to the garden' or both then Jeff dropped the apple.,We doubt that 'Greg 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.2::factA. 0.9::factB. 0.75::factC. %hop1 0.2::factX:-and(factC,factB). 0.9::factY:-xor(factA,factC). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.18000000000000002,0.7009401880376075,train,we doubt,likely,We doubt that 'Greg is a rhino and Brian is a swan'.,It is likely that 'Greg is a rhino and Brian is a swan'.,1,'Greg is a rhino and Brian is a swan'. It is probably the case that Yann is tired. It is highly likely that Daniel got the football. We doubt that Brian is white. Chances are slight that if either 'Yann is tired' or 'Daniel got the football' but not both then Lily is a swan. It is improbable that if 'Yann is tired and Brian is white' then Jeff dropped the apple. It is likely that if 'Brian is white and Daniel got the football' then Mary went to the bedroom.,It is probably the case that either 'Jeff dropped 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.7::factA. 0.9::factB. 0.2::factC. %hop1 0.1::factX:-xor(factA,factB). 0.1::factY:-and(factA,factC). 0.7::factZ:-and(factC,factB). %hop2 conclusion:-xor(factY,factZ). query(conclusion). ",0.12235999999999998,0.359871974394879,train,little chance,probably,There is little chance that either 'Jeff dropped the apple' or 'Mary went to the bedroom' but not both.,It is probably the case that either 'Jeff dropped the apple' or 'Mary went to the bedroom' but not both.,0,Either 'Jeff dropped the apple' or 'Mary went to the bedroom' but not both. There is almost no chance that Lily is a rhino. There is almost no chance that Jeff moved to the garden. It is probable that Mary dropped the apple. We believe that if 'Jeff moved to the garden' or 'Lily is a rhino' or both then John got the milk. It is probable that if either 'Mary dropped the apple' or 'Lily is a rhino' but not both then Brian is white. Chances are about even that if 'Mary dropped the apple and Lily is a rhino' then Julius is yellow.,There is almost no chance that 'Mary dropped the apple 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.02::factA. 0.02::factB. 0.7::factC. %hop1 0.75::factX:-or(factB,factA). 0.7::factY:-xor(factC,factA). 0.5::factZ:-and(factC,factA). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.014000000000000007,0.09121824364872974,train,almost no chance,probable,There is almost no chance that 'Mary dropped the apple and Lily is a rhino'.,It is probable that 'Mary dropped the apple and Lily is a rhino'.,1,'Mary dropped the apple and Lily is a rhino'. It is improbable that Julius is a swan. There is a better than even chance that Gertrude is a cat. It is unlikely that Bernhard is gray. We doubt that if 'Bernhard is gray' or 'Gertrude is a cat' or both then Greg is yellow. There is little chance that if 'Julius is a swan' or 'Bernhard is gray' or both then Mary went to the office. It is likely that if 'Julius is a swan and Gertrude is a cat' then Winona is a sheep.,It is likely that 'Gertrude is a cat' 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.1::factA. 0.6::factB. 0.2::factC. %hop1 0.2::factX:-or(factC,factB). 0.1::factY:-or(factA,factC). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-or(factB,factC). query(conclusion). ",0.68,0.2960592118423685,train,likely,little chance,It is likely that 'Gertrude is a cat' or 'Bernhard is gray' or both.,There is little chance that 'Gertrude is a cat' or 'Bernhard is gray' or both.,1,'Gertrude is a cat' or 'Bernhard is gray' or both. Chances are about even that Greg is a rhino. We believe that Bernhard is a frog. It is almost certain that Jessica is a mouse. It is highly likely that if 'Greg is a rhino and Jessica is a mouse' then Julius is white. It is likely that if 'Jessica is a mouse' or 'Greg is a rhino' or both then Brian is green. It is unlikely that if 'Jessica is a mouse and Greg is a rhino' then John moved to the garden.,Chances are about even that either 'Jessica is a mouse' 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.5::factA. 0.75::factB. 0.95::factC. %hop1 0.9::factX:-and(factA,factC). 0.7::factY:-or(factC,factA). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-xor(factC,factA). query(conclusion). ",0.5,0.08241648329665933,train,about even,almost certain,Chances are about even that either 'Jessica is a mouse' or 'Greg is a rhino' but not both.,It is almost certain that either 'Jessica is a mouse' or 'Greg is a rhino' but not both.,1,Either 'Jessica is a mouse' or 'Greg is a rhino' but not both. We doubt that Mary left the football. There is a better than even chance that Lily is a lion. There is little chance that Sandra got the football. There is a better than even chance that if 'Sandra got the football' or 'Mary left the football' or both then Jessica is a wolf. It is highly likely that if 'Mary left the football and Sandra got the football' then Winona is a sheep. Chances are about even that if 'Sandra got the football' or 'Lily is a lion' or both then Bill went to the kitchen.,Chances are slight that 'Mary left the football 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.2::factA. 0.6::factB. 0.1::factC. %hop1 0.6::factX:-or(factC,factA). 0.9::factY:-and(factA,factC). 0.5::factZ:-or(factC,factB). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.12000000000000001,0.6875375075015003,train,chances are slight,almost certain,Chances are slight that 'Mary left the football and Lily is a lion'.,It is almost certain that 'Mary left the football and Lily is a lion'.,1,'Mary left the football and Lily is a lion'. There is a very good chance that Sandra got the milk. It is likely that John dropped the apple. There is a better than even chance that Bernhard is yellow. It is probably the case that if 'Bernhard is yellow and John dropped the apple' then Lily is a lion. It is probable that if 'John dropped the apple' or 'Bernhard is yellow' or both then Brian is a frog. We believe that if either 'Sandra got the milk' or 'Bernhard is yellow' but not both then Mary moved to the garden.,It is improbable that 'Bernhard is yellow' 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.8::factA. 0.7::factB. 0.6::factC. %hop1 0.7::factX:-and(factC,factB). 0.7::factY:-or(factB,factC). 0.75::factZ:-xor(factA,factC). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.6,0.09761952390478096,train,better than even,improbable,There is a better than even chance that 'Bernhard is yellow' or 'Lily is a lion' or both.,It is improbable that 'Bernhard is yellow' or 'Lily is a lion' or both.,0,'Bernhard is yellow' or 'Lily is a lion' or both. It is almost certain that John went to the garden. It is almost certain that Emily is a sheep. There is little chance that Brian is green. There is a very good chance that if 'John went to the garden' or 'Emily is a sheep' or both then Sandra took the apple. It is almost certain that if 'Emily is a sheep' or 'Brian is green' or both then Bernhard is gray. It is probably the case that if either 'Emily is a sheep' or 'John went to the garden' but not both then Julius is a frog.,We doubt that 'Sandra took the apple' or 'John 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.95::factA. 0.95::factB. 0.1::factC. %hop1 0.8::factX:-or(factA,factB). 0.95::factY:-or(factB,factC). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.988,0.2956591318263653,train,certain,we doubt,It is certain that 'Sandra took the apple' or 'John went to the garden' or both.,We doubt that 'Sandra took the apple' or 'John went to the garden' or both.,0,'Sandra took the apple' or 'John went to the garden' or both. It is probably not the case that Bernhard is green. It is highly likely that John dropped the milk. It is almost certain that Greg is a rhino. It is improbable that if 'John dropped the milk and Bernhard is green' then Winona is a mouse. We doubt that if 'Greg is a rhino' or 'Bernhard is green' or both then Julius is yellow. It is likely that if 'Greg is a rhino and Bernhard is green' then Mary went to the hallway.,It is almost certain that 'Bernhard is green' or 'John 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.9::factB. 0.95::factC. %hop1 0.1::factX:-and(factB,factA). 0.2::factY:-or(factC,factA). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-or(factA,factB). query(conclusion). ",0.925,0.4462892578515703,train,almost certain,about even,It is almost certain that 'Bernhard is green' or 'John dropped the milk' or both.,Chances are about even that 'Bernhard is green' or 'John dropped the milk' or both.,1,'Bernhard is green' or 'John dropped the milk' or both. It is highly unlikely that Brian is a rhino. It is likely that John went to the garden. It is likely that Mary took the milk. We believe that if 'John went to the garden and Mary took the milk' then Julius is a swan. It is certain that if 'Mary took the milk' or 'John went to the garden' or both then Emily is a mouse. There is a very good chance that if 'John went to the garden' or 'Brian is a rhino' or both then Yann is hungry.,It is improbable that 'John went to the garden' or 'Yann is hungry' 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.7::factC. %hop1 0.75::factX:-and(factB,factC). 1.0::factY:-or(factC,factB). 0.8::factZ:-or(factB,factA). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.712,0.6179235847169434,train,probably,improbable,It is probably the case that 'John went to the garden' or 'Yann is hungry' or both.,It is improbable that 'John went to the garden' or 'Yann is hungry' or both.,0,'John went to the garden' or 'Yann is hungry' or both. It is certain that Lily is green. Chances are slight that John picked up the apple. It is almost certain that Brian is a swan. It is highly unlikely that if 'Lily is green' or 'John picked up the apple' or both then Bernhard is yellow. It is almost certain that if either 'John picked up the apple' or 'Brian is a swan' but not both then Greg is a swan. There is a better than even chance that if 'Lily is green' or 'Brian is a swan' or both then Mary went to the office.,There is a better than even chance that either 'Mary went to the office' 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 1.0::factA. 0.1::factB. 0.95::factC. %hop1 0.05::factX:-or(factA,factB). 0.95::factY:-xor(factB,factC). 0.6::factZ:-or(factA,factC). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.58,0.0628125625125025,train,better than even,little chance,There is a better than even chance that either 'Mary went to the office' or 'John picked up the apple' but not both.,There is little chance that either 'Mary went to the office' or 'John picked up the apple' but not both.,1,Either 'Mary went to the office' or 'John picked up the apple' but not both. It is certain that Bernhard is green. We doubt that Mary moved to the garden. There is little chance that John grabbed the apple. We believe that if 'Mary moved to the garden' or 'Bernhard is green' or both then Julius is white. We believe that if either 'John grabbed the apple' or 'Bernhard is green' but not both then Brian is yellow. It is probably the case that if 'Mary moved to the garden and John grabbed the apple' then Fred went to the office.,There is a very good chance that either 'John grabbed the apple' 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.2::factB. 0.1::factC. %hop1 0.75::factX:-or(factB,factA). 0.75::factY:-xor(factC,factA). 0.7::factZ:-and(factB,factC). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.775,0.0624124824964993,train,very good chance,unlikely,There is a very good chance that either 'John grabbed the apple' or 'Brian is yellow' but not both.,It is unlikely that either 'John grabbed the apple' or 'Brian is yellow' but not both.,1,Either 'John grabbed the apple' or 'Brian is yellow' but not both. It is probably the case that John took the apple. It is impossible that Lily is yellow. It is probable that Mary left the football. It is probably the case that if 'Lily is yellow' or 'John took the apple' or both then Emily is a wolf. It is certain that if either 'Mary left the football' or 'Lily is yellow' but not both then Greg is a rhino. It is likely that if either 'Lily is yellow' or 'John took the apple' but not both then Jessica is a cat.,It is probably not the case that 'Greg is a rhino 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.7::factA. 0.0::factB. 0.7::factC. %hop1 0.7::factX:-or(factB,factA). 1.0::factY:-xor(factC,factB). 0.7::factZ:-xor(factB,factA). %hop2 conclusion:-and(factY,factX). query(conclusion). ",0.3429999999999999,0.5639127825565113,train,probably not,very good chance,It is probably not the case that 'Greg is a rhino and Emily is a wolf'.,There is a very good chance that 'Greg is a rhino and Emily is a wolf'.,1,'Greg is a rhino and Emily is a wolf'. It is highly likely that Greg is white. We doubt that Julius is a swan. It is highly unlikely that John went to the hallway. It is probable that if either 'Julius is a swan' or 'Greg is white' but not both then Gertrude is a sheep. It is probably the case that if 'John went to the hallway' or 'Greg is white' or both then Lily is a rhino. It is likely that if 'Julius is a swan' or 'Greg is white' or both then Mary discarded the apple.,We doubt that either 'Greg 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.9::factA. 0.2::factB. 0.05::factC. %hop1 0.7::factX:-xor(factB,factA). 0.7::factY:-or(factC,factA). 0.7::factZ:-or(factB,factA). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.74,0.6265253050610122,train,we believe,we doubt,We believe that either 'Greg is white' or 'Julius is a swan' but not both.,We doubt that either 'Greg is white' or 'Julius is a swan' but not both.,0,Either 'Greg is white' or 'Julius is a swan' but not both. It is unlikely that Emily is a wolf. We believe that Mary put down the apple. It is probable that Brian is white. There is a very good chance that if 'Emily is a wolf and Brian is white' then Lily is green. It is impossible that if either 'Emily is a wolf' or 'Mary put down the apple' but not both then John took the football. We doubt that if either 'Emily is a wolf' or 'Brian is white' but not both then Julius is a frog.,It is impossible that 'John took the football 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.2::factA. 0.75::factB. 0.7::factC. %hop1 0.8::factX:-and(factA,factC). 0.0::factY:-xor(factA,factB). 0.2::factZ:-xor(factA,factC). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.0,0.1798359671934387,train,impossible,highly likely,It is impossible that 'John took the football and Emily is a wolf'.,It is highly likely that 'John took the football and Emily is a wolf'.,1,'John took the football and Emily is a wolf'. It is unlikely that Brian is a rhino. It is unlikely that Mary went to the office. It is almost certain that John moved to the garden. It is probable that if 'Mary went to the office and John moved to the garden' then Bernhard is a swan. It is probably the case that if 'Mary went to the office and John moved to the garden' then Julius is gray. There is a very good chance that if 'John moved to the garden and Mary went to the office' then Greg is a lion.,There is little chance that 'Greg is a lion 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.2::factA. 0.2::factB. 0.95::factC. %hop1 0.7::factX:-and(factB,factC). 0.7::factY:-and(factB,factC). 0.8::factZ:-and(factC,factB). %hop2 conclusion:-and(factZ,factY). query(conclusion). ",0.10640000000000002,0.7083416683336667,train,little chance,probably,There is little chance that 'Greg is a lion and Julius is gray'.,It is probably the case that 'Greg is a lion and Julius is gray'.,1,'Greg is a lion and Julius is gray'. Chances are about even that Antoine is thirsty. We believe that Mary went to the office. It is unlikely that Bernhard is a frog. It is improbable that if 'Bernhard is a frog and Antoine is thirsty' then Sandra left the apple. It is probably the case that if 'Antoine is thirsty and Bernhard is a frog' then John moved to the garden. We believe that if 'Antoine is thirsty' or 'Mary went to the office' or both then Lily is yellow.,We believe that 'Sandra left the apple' 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.5::factA. 0.75::factB. 0.2::factC. %hop1 0.1::factX:-and(factC,factA). 0.7::factY:-and(factA,factC). 0.75::factZ:-or(factA,factB). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.07300000000000001,0.26625325065013,train,highly unlikely,we believe,It is highly unlikely that 'Sandra left the apple' or 'John moved to the garden' or both.,We believe that 'Sandra left the apple' or 'John moved to the garden' or both.,0,'Sandra left the apple' or 'John moved to the garden' or both. It is almost certain that Sandra dropped the apple. There is little chance that Mary moved to the garden. It is almost certain that Julius is a lion. It is almost certain that if either 'Mary moved to the garden' or 'Sandra dropped the apple' but not both then Greg is a frog. It is improbable that if 'Sandra dropped the apple and Julius is a lion' then Daniel got the milk. It is highly likely that if 'Mary moved to the garden' or 'Julius is a lion' or both then John went to the garden.,It is improbable that 'Mary moved to the garden 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.95::factA. 0.1::factB. 0.95::factC. %hop1 0.95::factX:-xor(factB,factA). 0.1::factY:-and(factA,factC). 0.9::factZ:-or(factB,factC). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.09000000000000001,0.6927385477095419,train,improbable,highly likely,It is improbable that 'Mary moved to the garden and John went to the garden'.,It is highly likely that 'Mary moved to the garden and John went to the garden'.,1,'Mary moved to the garden and John went to the garden'. It is probably not the case that Lily is gray. It is impossible that Bernhard is white. There is almost no chance that Yann is bored. It is improbable that if 'Yann is bored and Bernhard is white' then Jessica is a sheep. We believe that if 'Lily is gray' or 'Yann is bored' or both then Mary went to the kitchen. It is certain that if 'Yann is bored' or 'Bernhard is white' or both then Brian is yellow.,It is probably not the case that 'Jessica is a sheep' 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.0::factB. 0.02::factC. %hop1 0.1::factX:-and(factC,factB). 0.75::factY:-or(factA,factC). 1.0::factZ:-or(factC,factB). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.25,0.0668133626725345,train,probably not,we believe,It is probably not the case that 'Jessica is a sheep' or 'Lily is gray' or both.,We believe that 'Jessica is a sheep' or 'Lily is gray' or both.,1,'Jessica is a sheep' or 'Lily is gray' or both. We believe that Jeff moved to the office. It is highly likely that Brian is a lion. It is improbable that Jessica is a mouse. Chances are slight that if 'Jessica is a mouse' or 'Brian is a lion' or both then John discarded the apple. It is likely that if 'Jessica is a mouse and Brian is a lion' then Greg is yellow. It is unlikely that if 'Jeff moved to the office and Jessica is a mouse' then Bernhard is a rhino.,It is unlikely that 'Brian is a lion' or 'Bernhard 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.75::factA. 0.9::factB. 0.1::factC. %hop1 0.1::factX:-or(factC,factB). 0.7::factY:-and(factC,factB). 0.2::factZ:-and(factA,factC). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.9015000000000001,0.47749549909982,train,highly likely,unlikely,It is highly likely that 'Brian is a lion' or 'Bernhard is a rhino' or both.,It is unlikely that 'Brian is a lion' or 'Bernhard is a rhino' or both.,0,'Brian is a lion' or 'Bernhard is a rhino' or both. It is probable that Mary dropped the milk. There is almost no chance that Lily is white. It is impossible that John went to the garden. It is probably the case that if 'John went to the garden' or 'Lily is white' or both then Yann is bored. It is impossible that if 'Mary dropped the milk and Lily is white' then Julius is a lion. Chances are about even that if 'Mary dropped the milk' or 'Lily is white' or both then Emily is a cat.,It is probable that 'Yann is bored' 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.02::factB. 0.0::factC. %hop1 0.7::factX:-or(factC,factB). 0.0::factY:-and(factA,factB). 0.5::factZ:-or(factA,factB). %hop2 conclusion:-or(factX,factA). query(conclusion). ",0.7041999999999999,0.10242048409681936,train,probable,we doubt,It is probable that 'Yann is bored' or 'Mary dropped the milk' or both.,We doubt that 'Yann is bored' or 'Mary dropped the milk' or both.,1,'Yann is bored' or 'Mary dropped the milk' or both. It is probably the case that Greg is a swan. Chances are about even that Brian is a lion. Chances are slight that Lily is a rhino. There is little chance that if 'Brian is a lion and Lily is a rhino' then Mary went to the hallway. It is almost certain that if 'Lily is a rhino and Brian is a lion' then Antoine is thirsty. It is almost certain that if 'Brian is a lion' or 'Lily is a rhino' or both then Emily is a wolf.,It is highly unlikely that either 'Brian is a lion' 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 0.7::factA. 0.5::factB. 0.1::factC. %hop1 0.1::factX:-and(factB,factC). 0.95::factY:-and(factC,factB). 0.95::factZ:-or(factB,factC). %hop2 conclusion:-xor(factB,factZ). query(conclusion). ",0.07250000000000002,0.586117223444689,train,highly unlikely,highly likely,It is highly unlikely that either 'Brian is a lion' or 'Emily is a wolf' but not both.,It is highly likely that either 'Brian is a lion' or 'Emily is a wolf' but not both.,1,Either 'Brian is a lion' or 'Emily is a wolf' but not both. It is probably the case that Lily is a frog. Chances are slight that Julius is a lion. It is highly likely that Mary moved to the garden. It is impossible that if 'Lily is a frog' or 'Julius is a lion' or both then Bernhard is green. There is almost no chance that if 'Lily is a frog' or 'Julius is a lion' or both then Sandra left the football. It is probably not the case that if 'Julius is a lion and Mary moved to the garden' then John got the milk.,There is a better than even chance that either 'Bernhard is green' or 'Sandra 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.1::factB. 0.9::factC. %hop1 0.0::factX:-or(factA,factB). 0.02::factY:-or(factA,factB). 0.25::factZ:-and(factB,factC). %hop2 conclusion:-xor(factX,factY). query(conclusion). ",0.014599999999999998,0.5223044608921784,train,almost no chance,better than even,There is almost no chance that either 'Bernhard is green' or 'Sandra left the football' but not both.,There is a better than even chance that either 'Bernhard is green' or 'Sandra left the football' but not both.,0,Either 'Bernhard is green' or 'Sandra left the football' but not both. There is almost no chance that Greg is a rhino. There is a better than even chance that Winona is a wolf. It is unlikely that Bernhard is a lion. There is almost no chance that if either 'Greg is a rhino' or 'Winona is a wolf' but not both then Mary left the football. It is probably not the case that if 'Bernhard is a lion' or 'Greg is a rhino' or both then John put down the apple. We doubt that if 'Bernhard is a lion' or 'Greg is a rhino' or both then Lily is yellow.,It is probable that 'Winona is a wolf 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.02::factA. 0.6::factB. 0.2::factC. %hop1 0.02::factX:-xor(factA,factB). 0.25::factY:-or(factC,factA). 0.2::factZ:-or(factC,factA). %hop2 conclusion:-and(factB,factZ). query(conclusion). ",0.025920000000000006,0.18143628725745148,train,almost no chance,probable,There is almost no chance that 'Winona is a wolf and Lily is yellow'.,It is probable that 'Winona is a wolf and Lily is yellow'.,0,'Winona is a wolf and Lily is yellow'. It is certain that Jason is tired. It is unlikely that John went to the office. We believe that Julius is a lion. There is almost no chance that if 'Jason is tired and Julius is a lion' then Emily is a sheep. It is probably not the case that if either 'John went to the office' or 'Julius is a lion' but not both then Gertrude is a cat. There is little chance that if either 'Jason is tired' or 'Julius is a lion' but not both then Greg is gray.,It is almost certain that 'John went to the office and Emily 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 1.0::factA. 0.2::factB. 0.75::factC. %hop1 0.02::factX:-and(factA,factC). 0.25::factY:-xor(factB,factC). 0.1::factZ:-xor(factA,factC). %hop2 conclusion:-and(factB,factX). query(conclusion). ",0.003000000000000002,0.3702740548109622,train,impossible,almost certain,It is impossible that 'John went to the office and Emily is a sheep'.,It is almost certain that 'John went to the office and Emily is a sheep'.,0,'John went to the office and Emily is a sheep'. It is improbable that Sandra left the football. It is highly unlikely that Brian is a swan. Chances are about even that Lily is a frog. There is a very good chance that if 'Lily is a frog' or 'Sandra left the football' or both then Jason is tired. It is impossible that if either 'Sandra left the football' or 'Brian is a swan' but not both then John put down the apple. Chances are about even that if 'Sandra left the football and Brian is a swan' then Mary went to the bedroom.,There is a very good chance that 'Brian is a swan' 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.1::factA. 0.05::factB. 0.5::factC. %hop1 0.8::factX:-or(factC,factA). 0.0::factY:-xor(factA,factB). 0.5::factZ:-and(factA,factB). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.05000000000000001,0.47269453890778157,train,highly unlikely,very good chance,It is highly unlikely that 'Brian is a swan' or 'John put down the apple' or both.,There is a very good chance that 'Brian is a swan' or 'John put down the apple' or both.,0,'Brian is a swan' or 'John put down the apple' or both. It is probably the case that Bernhard is green. It is unlikely that John discarded the apple. There is little chance that Mary grabbed the milk. Chances are slight that if either 'Bernhard is green' or 'Mary grabbed the milk' but not both then Julius is a frog. It is probably not the case that if 'Bernhard is green and Mary grabbed the milk' then Greg is yellow. There is a very good chance that if either 'John discarded the apple' or 'Bernhard is green' but not both then Jeff left the apple.,There is little chance that either 'Greg is yellow' or 'Mary 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.2::factB. 0.1::factC. %hop1 0.1::factX:-xor(factA,factC). 0.25::factY:-and(factA,factC). 0.8::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.08250000000000002,0.28405681136227245,train,little chance,probable,There is little chance that either 'Greg is yellow' or 'Mary grabbed the milk' but not both.,It is probable that either 'Greg is yellow' or 'Mary grabbed the milk' but not both.,1,Either 'Greg is yellow' or 'Mary grabbed the milk' but not both. It is almost certain that Sumit is bored. We believe that Julius is a rhino. Chances are about even that Bernhard is a swan. It is highly likely that if 'Bernhard is a swan and Sumit is bored' then Winona is a mouse. It is unlikely that if either 'Sumit is bored' or 'Bernhard is a swan' but not both then Lily is white. We doubt that if either 'Bernhard is a swan' or 'Sumit is bored' but not both then Greg is a lion.,It is almost certain that 'Greg is a lion and Winona 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.5::factC. %hop1 0.9::factX:-and(factC,factA). 0.2::factY:-xor(factA,factC). 0.2::factZ:-xor(factC,factA). %hop2 conclusion:-and(factZ,factX). query(conclusion). ",0.0,0.39607921584316863,train,impossible,almost certain,It is impossible that 'Greg is a lion and Winona is a mouse'.,It is almost certain that 'Greg is a lion and Winona is a mouse'.,0,'Greg is a lion and Winona is a mouse'. There is almost no chance that Emily is a wolf. It is improbable that Mary got the milk. It is probable that Greg is a swan. It is probable that if 'Mary got the milk and Greg is a swan' then Lily is yellow. It is impossible that if 'Mary got the milk' or 'Greg is a swan' or both then Fred is in the school. There is a very good chance that if 'Emily is a wolf and Mary got the milk' then Sandra dropped the apple.,Chances are about even that 'Lily is yellow' or 'Fred is in the school' 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.7::factX:-and(factB,factC). 0.0::factY:-or(factB,factC). 0.8::factZ:-and(factA,factB). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.049,0.2406481296259252,train,highly unlikely,about even,It is highly unlikely that 'Lily is yellow' or 'Fred is in the school' or both.,Chances are about even that 'Lily is yellow' or 'Fred is in the school' or both.,0,'Lily is yellow' or 'Fred is in the school' or both. It is probable that John got the apple. It is improbable that Brian is a frog. We believe that Lily is green. There is a better than even chance that if either 'John got the apple' or 'Brian is a frog' but not both then Yann is hungry. There is a better than even chance that if either 'John got the apple' or 'Lily is green' but not both then Bill went to the office. Chances are about even that if 'John got the apple' or 'Lily is green' or both then Bernhard is white.,It is highly unlikely that 'Bernhard 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.7::factA. 0.1::factB. 0.75::factC. %hop1 0.6::factX:-xor(factA,factB). 0.6::factY:-xor(factA,factC). 0.5::factZ:-or(factA,factC). %hop2 conclusion:-and(factZ,factC). query(conclusion). ",0.375,0.47069413882776556,train,about even,highly unlikely,Chances are about even that 'Bernhard is white and Lily is green'.,It is highly unlikely that 'Bernhard is white and Lily is green'.,0,'Bernhard is white and Lily is green'. Chances are slight that Lily is a frog. There is a very good chance that Brian is a rhino. It is probable that Mary went to the kitchen. Chances are about even that if either 'Mary went to the kitchen' or 'Lily is a frog' but not both then Emily is a mouse. It is probably not the case that if 'Brian is a rhino and Lily is a frog' then Bernhard is white. It is probable that if 'Lily is a frog' or 'Mary went to the kitchen' or both then John discarded the apple.,It is highly likely that 'Emily is a mouse 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.8::factB. 0.7::factC. %hop1 0.5::factX:-xor(factC,factA). 0.25::factY:-and(factB,factA). 0.7::factZ:-or(factA,factC). %hop2 conclusion:-and(factX,factB). query(conclusion). ",0.264,0.7913582716543308,train,probably not,highly likely,It is probably not the case that 'Emily is a mouse and Brian is a rhino'.,It is highly likely that 'Emily is a mouse and Brian is a rhino'.,0,'Emily is a mouse and Brian is a rhino'. We believe that Bernhard is a rhino. It is probable that Jason is tired. It is likely that Brian is green. It is probably not the case that if 'Bernhard is a rhino' or 'Brian is green' or both then Julius is a frog. It is probably not the case that if 'Jason is tired and Brian is green' then John moved to the garden. Chances are about even that if 'Brian is green' or 'Bernhard is a rhino' or both then Mary picked up the milk.,It is impossible that either 'Mary picked up the milk' or 'Bernhard 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.7::factB. 0.7::factC. %hop1 0.25::factX:-or(factA,factC). 0.25::factY:-and(factB,factC). 0.5::factZ:-or(factC,factA). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.46249999999999997,0.6215243048609722,train,about even,impossible,Chances are about even that either 'Mary picked up the milk' or 'Bernhard is a rhino' but not both.,It is impossible that either 'Mary picked up the milk' or 'Bernhard is a rhino' but not both.,0,Either 'Mary picked up the milk' or 'Bernhard is a rhino' but not both. There is little chance that Mary got the apple. It is probably the case that John moved to the garden. We believe that Greg is yellow. It is certain that if either 'Mary got the apple' or 'Greg is yellow' but not both then Fred went to the office. Chances are slight that if 'Mary got the apple and Greg is yellow' then Brian is a lion. It is probably not the case that if 'Greg is yellow and John moved to the garden' then Julius is a rhino.,It is highly unlikely that 'Mary got the apple 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.7::factB. 0.75::factC. %hop1 1.0::factX:-xor(factA,factC). 0.1::factY:-and(factA,factC). 0.25::factZ:-and(factC,factB). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.07,0.11182236447289458,train,highly unlikely,probable,It is highly unlikely that 'Mary got the apple and John moved to the garden'.,It is probable that 'Mary got the apple and John moved to the garden'.,1,'Mary got the apple and John moved to the garden'. It is unlikely that Greg is gray. It is probably the case that Jason is bored. It is unlikely that Sumit is thirsty. There is little chance that if either 'Sumit is thirsty' or 'Jason is bored' but not both then Emily is a mouse. It is probable that if 'Jason is bored and Greg is gray' then Brian is a swan. It is almost certain that if 'Jason is bored' or 'Greg is gray' or both then John picked up the milk.,It is probably not the case that either 'Sumit is thirsty' 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.2::factA. 0.7::factB. 0.2::factC. %hop1 0.1::factX:-xor(factC,factB). 0.7::factY:-and(factB,factA). 0.95::factZ:-or(factB,factA). %hop2 conclusion:-xor(factC,factX). query(conclusion). ",0.25,0.3114622924584917,train,probably not,we believe,It is probably not the case that either 'Sumit is thirsty' or 'Emily is a mouse' but not both.,We believe that either 'Sumit is thirsty' or 'Emily is a mouse' but not both.,1,Either 'Sumit is thirsty' or 'Emily is a mouse' but not both. There is a better than even chance that Mary went to the garden. It is highly likely that Julius is gray. There is a very good chance that Jason is tired. There is almost no chance that if 'Jason is tired and Mary went to the garden' then Lily is a frog. There is a very good chance that if either 'Julius is gray' or 'Jason is tired' but not both then Bernhard is green. We believe that if either 'Mary went to the garden' or 'Julius is gray' but not both then Brian is white.,It is impossible that either 'Jason is tired' 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.6::factA. 0.9::factB. 0.8::factC. %hop1 0.02::factX:-and(factC,factA). 0.8::factY:-xor(factB,factC). 0.75::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.88,0.6223244648929785,train,highly likely,impossible,It is highly likely that either 'Jason is tired' or 'Bernhard is green' but not both.,It is impossible that either 'Jason is tired' or 'Bernhard is green' but not both.,0,Either 'Jason is tired' or 'Bernhard is green' but not both. It is probable that Julius is a lion. There is little chance that Greg is gray. There is a very good chance that Mary dropped the apple. It is certain that if 'Mary dropped the apple and Julius is a lion' then Bernhard is a rhino. It is highly likely that if 'Julius is a lion and Greg is gray' then John went to the kitchen. It is unlikely that if 'Julius is a lion and Greg is gray' then Jessica is a cat.,Chances are slight that either 'Jessica is a cat' or 'Greg 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.8::factC. %hop1 1.0::factX:-and(factC,factA). 0.9::factY:-and(factA,factB). 0.2::factZ:-and(factA,factB). %hop2 conclusion:-xor(factZ,factB). query(conclusion). ",0.08600000000000002,0.46769353870774155,train,chances are slight,almost certain,Chances are slight that either 'Jessica is a cat' or 'Greg is gray' but not both.,It is almost certain that either 'Jessica is a cat' or 'Greg is gray' but not both.,1,Either 'Jessica is a cat' or 'Greg is gray' but not both. There is a very good chance that Jeff went to the garden. We believe that Lily is yellow. There is a very good chance that Emily is a mouse. It is unlikely that if either 'Lily is yellow' or 'Emily is a mouse' but not both then Brian is a swan. Chances are about even that if 'Jeff went to the garden' or 'Lily is yellow' or both then Julius is a frog. It is probably not the case that if either 'Jeff went to the garden' or 'Lily is yellow' but not both then John took the football.,There is almost no chance that 'Lily is yellow' 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.75::factB. 0.8::factC. %hop1 0.2::factX:-xor(factB,factC). 0.5::factY:-or(factA,factB). 0.25::factZ:-xor(factA,factB). %hop2 conclusion:-or(factB,factX). query(conclusion). ",0.79,0.4936987397479496,train,very good chance,almost no chance,There is a very good chance that 'Lily is yellow' or 'Brian is a swan' or both.,There is almost no chance that 'Lily is yellow' or 'Brian is a swan' or both.,0,'Lily is yellow' or 'Brian is a swan' or both. There is a very good chance that Brian is a swan. It is impossible that Mary went to the office. There is little chance that Bernhard is white. It is probably not the case that if either 'Mary went to the office' or 'Bernhard is white' but not both then Lily is green. It is highly likely that if 'Brian is a swan and Mary went to the office' then Julius is a lion. It is almost certain that if either 'Bernhard is white' or 'Mary went to the office' but not both then Daniel dropped the milk.,It is impossible that 'Daniel dropped the milk 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.8::factA. 0.0::factB. 0.1::factC. %hop1 0.25::factX:-xor(factB,factC). 0.9::factY:-and(factA,factB). 0.95::factZ:-xor(factC,factB). %hop2 conclusion:-and(factZ,factB). query(conclusion). ",0.0,0.7665533106621324,train,impossible,we believe,It is impossible that 'Daniel dropped the milk and Mary went to the office'.,We believe that 'Daniel dropped the milk and Mary went to the office'.,1,'Daniel dropped the milk and Mary went to the office'. There is a better than even chance that Julius is white. There is a very good chance that Daniel dropped the apple. It is improbable that Mary moved to the garden. It is probable that if either 'Julius is white' or 'Daniel dropped the apple' but not both then Sandra left the milk. It is highly likely that if 'Julius is white and Mary moved to the garden' then Brian is a rhino. It is likely that if 'Daniel dropped the apple' or 'Mary moved to the garden' or both then Greg is a swan.,It is certain that 'Mary moved to the garden' 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.6::factA. 0.8::factB. 0.1::factC. %hop1 0.7::factX:-xor(factA,factB). 0.9::factY:-and(factA,factC). 0.7::factZ:-or(factB,factC). %hop2 conclusion:-or(factC,factX). query(conclusion). ",0.3772,0.22444488897779555,train,about even,certain,Chances are about even that 'Mary moved to the garden' or 'Sandra left the milk' or both.,It is certain that 'Mary moved to the garden' or 'Sandra left the milk' or both.,0,'Mary moved to the garden' or 'Sandra left the milk' or both. It is almost certain that Julius is gray. It is likely that Sandra dropped the milk. It is likely that Brian is green. It is highly unlikely that if 'Julius is gray and Sandra dropped the milk' then Mary went to the office. Chances are about even that if either 'Brian is green' or 'Sandra dropped the milk' but not both then Jeff put down the milk. It is unlikely that if 'Brian is green and Julius is gray' then Greg is a rhino.,There is little chance that 'Brian is green 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.95::factA. 0.7::factB. 0.7::factC. %hop1 0.05::factX:-and(factA,factB). 0.5::factY:-xor(factC,factB). 0.2::factZ:-and(factC,factA). %hop2 conclusion:-and(factC,factZ). query(conclusion). ",0.13300000000000003,0.21204240848169634,train,little chance,probable,There is little chance that 'Brian is green and Greg is a rhino'.,It is probable that 'Brian is green and Greg is a rhino'.,1,'Brian is green and Greg is a rhino'. There is almost no chance that Jeff went to the bedroom. There is almost no chance that Greg is a lion. There is a very good chance that Lily is a rhino. It is probably not the case that if 'Jeff went to the bedroom and Lily is a rhino' then Gertrude is a cat. It is highly unlikely that if either 'Greg is a lion' or 'Lily is a rhino' but not both then Mary put down the apple. We believe that if 'Greg is a lion and Jeff went to the bedroom' then Julius is a swan.,It is almost certain that 'Julius is a swan and Jeff 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.02::factA. 0.02::factB. 0.8::factC. %hop1 0.25::factX:-and(factA,factC). 0.05::factY:-xor(factB,factC). 0.75::factZ:-and(factB,factA). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.0003000000000000001,0.027805561112222446,train,impossible,almost certain,It is impossible that 'Julius is a swan and Jeff went to the bedroom'.,It is almost certain that 'Julius is a swan and Jeff went to the bedroom'.,0,'Julius is a swan and Jeff went to the bedroom'. There is a very good chance that Mary went to the bedroom. It is highly unlikely that Daniel took the football. There is little chance that Sandra got the milk. It is probably the case that if either 'Mary went to the bedroom' or 'Daniel took the football' but not both then Emily is a mouse. There is a better than even chance that if 'Daniel took the football and Sandra got the milk' then John put down the apple. It is highly likely that if either 'Mary went to the bedroom' or 'Daniel took the football' but not both then Julius is a lion.,It is unlikely that either 'Mary went to the bedroom' or 'Daniel 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.8::factA. 0.05::factB. 0.1::factC. %hop1 0.7::factX:-xor(factA,factB). 0.6::factY:-and(factB,factC). 0.9::factZ:-xor(factA,factB). %hop2 conclusion:-xor(factA,factB). query(conclusion). ",0.77,0.357871574314863,train,we believe,unlikely,We believe that either 'Mary went to the bedroom' or 'Daniel took the football' but not both.,It is unlikely that either 'Mary went to the bedroom' or 'Daniel took the football' but not both.,0,Either 'Mary went to the bedroom' or 'Daniel took the football' but not both. There is almost no chance that Brian is a rhino. It is probable that Jessica is a sheep. It is likely that Greg is white. It is probable that if either 'Greg is white' or 'Brian is a rhino' but not both then Lily is a swan. We doubt that if 'Brian is a rhino and Greg is white' then Julius is yellow. There is little chance that if 'Greg is white and Jessica is a sheep' then John left the football.,It is probable that 'John left 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 0.02::factA. 0.7::factB. 0.7::factC. %hop1 0.7::factX:-xor(factC,factA). 0.2::factY:-and(factA,factC). 0.1::factZ:-and(factC,factB). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.0009800000000000002,0.28765753150630125,train,impossible,probable,It is impossible that 'John left the football and Brian is a rhino'.,It is probable that 'John left the football and Brian is a rhino'.,0,'John left the football and Brian is a rhino'. We believe that Julius is a swan. It is almost certain that John grabbed the apple. We believe that Brian is green. We doubt that if either 'Julius is a swan' or 'John grabbed the apple' but not both then Bernhard is white. It is certain that if either 'Julius is a swan' or 'Brian is green' but not both then Mary went to the bedroom. It is almost certain that if 'Julius is a swan' or 'Brian is green' or both then Greg is a frog.,It is probable that 'Julius is a swan and John 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.75::factA. 0.95::factB. 0.75::factC. %hop1 0.2::factX:-xor(factA,factB). 1.0::factY:-xor(factA,factC). 0.95::factZ:-or(factA,factC). %hop2 conclusion:-and(factA,factB). query(conclusion). ",0.7125,0.17543508701740348,train,probable,highly unlikely,It is probable that 'Julius is a swan and John grabbed the apple'.,It is highly unlikely that 'Julius is a swan and John grabbed the apple'.,1,'Julius is a swan and John grabbed the apple'. It is probably not the case that Bernhard is white. It is likely that Julius is green. There is almost no chance that John went to the garden. We believe that if 'John went to the garden and Julius is green' then Greg is a frog. It is probable that if 'Bernhard is white' or 'Julius is green' or both then Jessica is a mouse. It is improbable that if 'Bernhard is white and John went to the garden' then Brian is gray.,It is impossible that 'Greg is a frog 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.25::factA. 0.7::factB. 0.02::factC. %hop1 0.75::factX:-and(factC,factB). 0.7::factY:-or(factA,factB). 0.1::factZ:-and(factA,factC). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.002625000000000001,0.30686137227445487,train,impossible,almost certain,It is impossible that 'Greg is a frog and Bernhard is white'.,It is almost certain that 'Greg is a frog and Bernhard is white'.,1,'Greg is a frog and Bernhard is white'. It is almost certain that Emily is a mouse. It is unlikely that Sandra left the milk. We doubt that Lily is a swan. It is impossible that if 'Sandra left the milk' or 'Lily is a swan' or both then Brian is white. There is little chance that if either 'Lily is a swan' or 'Emily is a mouse' but not both then Bernhard is a rhino. It is certain that if either 'Lily is a swan' or 'Sandra left the milk' but not both then Daniel got the milk.,Chances are about even that 'Bernhard is a rhino 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.95::factA. 0.2::factB. 0.2::factC. %hop1 0.0::factX:-or(factB,factC). 0.1::factY:-xor(factC,factA). 1.0::factZ:-xor(factC,factB). %hop2 conclusion:-and(factY,factB). query(conclusion). ",0.015400000000000006,0.6549309861972394,train,almost no chance,about even,There is almost no chance that 'Bernhard is a rhino and Sandra left the milk'.,Chances are about even that 'Bernhard is a rhino and Sandra left the milk'.,0,'Bernhard is a rhino and Sandra left the milk'. It is impossible that Brian is green. It is highly likely that Greg is gray. It is almost certain that Lily is a lion. There is little chance that if 'Greg is gray' or 'Brian is green' or both then Winona is a mouse. It is probably the case that if either 'Lily is a lion' or 'Brian is green' but not both then Jeff left the apple. It is probable that if either 'Brian is green' or 'Lily is a lion' but not both then Bernhard is a frog.,It is improbable that either 'Brian is green' 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.0::factA. 0.9::factB. 0.95::factC. %hop1 0.1::factX:-or(factB,factA). 0.7::factY:-xor(factC,factA). 0.7::factZ:-xor(factA,factC). %hop2 conclusion:-xor(factA,factC). query(conclusion). ",0.95,0.2446489297859572,train,almost certain,improbable,It is almost certain that either 'Brian is green' or 'Lily is a lion' but not both.,It is improbable that either 'Brian is green' or 'Lily is a lion' but not both.,0,Either 'Brian is green' or 'Lily is a lion' but not both. It is almost certain that Lily is green. There is a better than even chance that Greg is a frog. There is a better than even chance that Mary went to the kitchen. Chances are slight that if 'Lily is green' or 'Greg is a frog' or both then Julius is a lion. It is highly unlikely that if either 'Greg is a frog' or 'Lily is green' but not both then Emily is a sheep. It is probable that if 'Lily is green and Greg is a frog' then Brian is yellow.,There is a better than even chance that either 'Greg is a frog' 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.95::factA. 0.6::factB. 0.6::factC. %hop1 0.1::factX:-or(factA,factB). 0.05::factY:-xor(factB,factA). 0.7::factZ:-and(factA,factB). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.6174999999999999,0.7955591118223645,train,better than even,little chance,There is a better than even chance that either 'Greg is a frog' or 'Emily is a sheep' but not both.,There is little chance that either 'Greg is a frog' or 'Emily is a sheep' but not both.,1,Either 'Greg is a frog' or 'Emily is a sheep' but not both. There is a very good chance that John got the apple. It is probably not the case that Julius is a swan. There is a better than even chance that Jessica is a mouse. It is certain that if 'John got the apple and Julius is a swan' then Brian is white. It is highly likely that if either 'John got the apple' or 'Jessica is a mouse' but not both then Lily is yellow. There is a very good chance that if either 'Jessica is a mouse' or 'Julius is a swan' but not both then Mary went to the office.,It is probably not the case that 'Mary went to the office 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.8::factA. 0.25::factB. 0.6::factC. %hop1 1.0::factX:-and(factA,factB). 0.9::factY:-xor(factA,factC). 0.8::factZ:-xor(factC,factB). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.35200000000000004,0.06981396279255851,train,probably not,likely,It is probably not the case that 'Mary went to the office and John got the apple'.,It is likely that 'Mary went to the office and John got the apple'.,1,'Mary went to the office and John got the apple'. There is almost no chance that Bernhard is yellow. Chances are slight that Jessica is a mouse. It is probably the case that Lily is a lion. We doubt that if either 'Lily is a lion' or 'Bernhard is yellow' but not both then Jason is bored. It is highly unlikely that if 'Lily is a lion and Bernhard is yellow' then Greg is a swan. We doubt that if 'Bernhard is yellow' or 'Jessica is a mouse' or both then John went to the garden.,It is probably the case that either 'Greg is a swan' 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.02::factA. 0.1::factB. 0.7::factC. %hop1 0.2::factX:-xor(factC,factA). 0.05::factY:-and(factC,factA). 0.2::factZ:-or(factA,factB). %hop2 conclusion:-xor(factY,factC). query(conclusion). ",0.6992999999999999,0.47549509901980397,train,probably,unlikely,It is probably the case that either 'Greg is a swan' or 'Lily is a lion' but not both.,It is unlikely that either 'Greg is a swan' or 'Lily is a lion' but not both.,1,Either 'Greg is a swan' or 'Lily is a lion' but not both. There is little chance that Julius is a frog. Chances are slight that Emily is a mouse. It is likely that Bernhard is a swan. It is probably not the case that if 'Bernhard is a swan and Julius is a frog' then Lily is a rhino. There is almost no chance that if either 'Bernhard is a swan' or 'Julius is a frog' but not both then Fred went to the garden. It is impossible that if either 'Emily is a mouse' or 'Bernhard is a swan' but not both then John left the football.,It is highly unlikely 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.1::factA. 0.1::factB. 0.7::factC. %hop1 0.25::factX:-and(factC,factA). 0.02::factY:-xor(factC,factA). 0.0::factZ:-xor(factB,factC). %hop2 conclusion:-and(factA,factC). query(conclusion). ",0.07,0.07621524304860972,train,highly unlikely,likely,It is highly unlikely that 'Julius is a frog and Bernhard is a swan'.,It is likely that 'Julius is a frog and Bernhard is a swan'.,1,'Julius is a frog and Bernhard is a swan'. There is almost no chance that Brian is yellow. It is impossible that Greg is a swan. It is almost certain that Julius is a frog. It is probably not the case that if 'Greg is a swan and Brian is yellow' then Fred is in the cinema. It is probably the case that if either 'Julius is a frog' or 'Greg is a swan' but not both then John got the apple. We doubt that if 'Greg is a swan and Julius is a frog' then Jessica is a mouse.,It is certain that 'Julius is a frog 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.02::factA. 0.0::factB. 0.95::factC. %hop1 0.25::factX:-and(factB,factA). 0.7::factY:-xor(factC,factB). 0.2::factZ:-and(factB,factC). %hop2 conclusion:-and(factC,factA). query(conclusion). ",0.019,0.7973594718943788,train,almost no chance,certain,There is almost no chance that 'Julius is a frog and Brian is yellow'.,It is certain that 'Julius is a frog and Brian is yellow'.,0,'Julius is a frog and Brian is yellow'. There is a better than even chance that Mary left the football. It is highly likely that Jessica is a mouse. It is impossible that Greg is white. It is almost certain that if 'Jessica is a mouse' or 'Greg is white' or both then Bernhard is a swan. It is certain that if either 'Jessica is a mouse' or 'Mary left the football' but not both then Lily is a rhino. It is highly unlikely that if either 'Greg is white' or 'Mary left the football' but not both then Julius is a frog.,It is impossible that 'Greg is white 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.6::factA. 0.9::factB. 0.0::factC. %hop1 0.95::factX:-or(factB,factC). 1.0::factY:-xor(factB,factA). 0.05::factZ:-xor(factC,factA). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.0,0.6713342668533707,train,impossible,about even,It is impossible that 'Greg is white and Jessica is a mouse'.,Chances are about even that 'Greg is white and Jessica is a mouse'.,1,'Greg is white and Jessica is a mouse'. It is certain that Brian is a frog. It is unlikely that Lily is a rhino. We believe that Sumit is bored. It is impossible that if either 'Sumit is bored' or 'Brian is a frog' but not both then Bill went to the kitchen. There is little chance that if either 'Brian is a frog' or 'Lily is a rhino' but not both then Bernhard is white. We believe that if either 'Lily is a rhino' or 'Sumit is bored' but not both then Sandra got the milk.,It is certain that 'Bernhard is white and Brian 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 1.0::factA. 0.2::factB. 0.75::factC. %hop1 0.0::factX:-xor(factC,factA). 0.1::factY:-xor(factA,factB). 0.75::factZ:-xor(factB,factC). %hop2 conclusion:-and(factY,factA). query(conclusion). ",0.08000000000000002,0.6397279455891178,train,improbable,certain,It is improbable that 'Bernhard is white and Brian is a frog'.,It is certain that 'Bernhard is white and Brian is a frog'.,0,'Bernhard is white and Brian is a frog'. It is probable that Bernhard is green. It is highly unlikely that Lily is yellow. It is highly unlikely that Mary got the apple. It is unlikely that if 'Mary got the apple and Bernhard is green' then Gertrude is a mouse. It is certain that if 'Mary got the apple and Bernhard is green' then Winona is a cat. There is almost no chance that if 'Mary got the apple' or 'Bernhard is green' or both then John went to the hallway.,There is a better than even chance that 'Mary got the apple and Gertrude 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.7::factA. 0.05::factB. 0.05::factC. %hop1 0.2::factX:-and(factC,factA). 1.0::factY:-and(factC,factA). 0.02::factZ:-or(factC,factA). %hop2 conclusion:-and(factC,factX). query(conclusion). ",0.007000000000000003,0.10962192438487697,train,impossible,better than even,It is impossible that 'Mary got the apple and Gertrude is a mouse'.,There is a better than even chance that 'Mary got the apple and Gertrude is a mouse'.,0,'Mary got the apple and Gertrude is a mouse'. It is probably not the case that Julius is a rhino. We doubt that Bill went to the bedroom. It is impossible that Bernhard is a frog. There is a very good chance that if 'Julius is a rhino' or 'Bernhard is a frog' or both then Antoine is hungry. It is probably not the case that if 'Bill went to the bedroom and Bernhard is a frog' then Lily is a lion. We doubt that if 'Julius is a rhino' or 'Bernhard is a frog' or both then John left the football.,There is a very good chance that either 'Bill went to the bedroom' or 'Antoine is hungry' 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.2::factB. 0.0::factC. %hop1 0.8::factX:-or(factA,factC). 0.25::factY:-and(factB,factC). 0.2::factZ:-or(factA,factC). %hop2 conclusion:-xor(factB,factX). query(conclusion). ",0.32,0.008001600320064013,train,probably not,very good chance,It is probably not the case that either 'Bill went to the bedroom' or 'Antoine is hungry' but not both.,There is a very good chance that either 'Bill went to the bedroom' or 'Antoine is hungry' but not both.,0,Either 'Bill went to the bedroom' or 'Antoine is hungry' but not both. There is little chance that Greg is a frog. It is unlikely that Jason is tired. Chances are about even that Gertrude is a mouse. It is probably not the case that if either 'Greg is a frog' or 'Jason is tired' but not both then John got the apple. It is probably not the case that if 'Greg is a frog and Jason is tired' then Lily is a swan. We believe that if either 'Jason is tired' or 'Greg is a frog' but not both then Brian is a frog.,There is almost no chance that 'Gertrude is a mouse' or 'Brian 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.5::factC. %hop1 0.25::factX:-xor(factA,factB). 0.25::factY:-and(factA,factB). 0.75::factZ:-xor(factB,factA). %hop2 conclusion:-or(factC,factZ). query(conclusion). ",0.5975,0.7119423884776955,train,better than even,almost no chance,There is a better than even chance that 'Gertrude is a mouse' or 'Brian is a frog' or both.,There is almost no chance that 'Gertrude is a mouse' or 'Brian is a frog' or both.,0,'Gertrude is a mouse' or 'Brian is a frog' or both. It is unlikely that Mary went to the hallway. It is certain that Bernhard is a frog. It is highly likely that Yann is thirsty. We doubt that if either 'Yann is thirsty' or 'Mary went to the hallway' but not both then Brian is green. It is impossible that if 'Yann is thirsty' or 'Bernhard is a frog' or both then Julius is a lion. Chances are slight that if 'Mary went to the hallway' or 'Bernhard is a frog' or both then Sandra dropped the milk.,It is impossible that 'Julius is a lion 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.2::factA. 1.0::factB. 0.9::factC. %hop1 0.2::factX:-xor(factC,factA). 0.0::factY:-or(factC,factB). 0.1::factZ:-or(factA,factB). %hop2 conclusion:-and(factY,factZ). query(conclusion). ",0.0,0.6005201040208041,train,impossible,probable,It is impossible that 'Julius is a lion and Sandra dropped the milk'.,It is probable that 'Julius is a lion and Sandra dropped the milk'.,1,'Julius is a lion and Sandra dropped the milk'. It is probable that John took the milk. It is probably not the case that Emily is a wolf. There is a better than even chance that Brian is white. There is a very good chance that if 'Brian is white and Emily is a wolf' then Jeff left the apple. Chances are about even that if 'Brian is white and Emily is a wolf' then Greg is a swan. We doubt that if either 'Emily is a wolf' or 'Brian is white' but not both then Lily is a rhino.,It is improbable that 'Lily is a rhino and John 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.25::factB. 0.6::factC. %hop1 0.8::factX:-and(factC,factB). 0.5::factY:-and(factC,factB). 0.2::factZ:-xor(factB,factC). %hop2 conclusion:-and(factZ,factA). query(conclusion). ",0.077,0.6149229845969194,train,improbable,very good chance,It is improbable that 'Lily is a rhino and John took the milk'.,There is a very good chance that 'Lily is a rhino and John took the milk'.,1,'Lily is a rhino and John took the milk'. It is highly unlikely that Greg is a swan. It is probable that Emily is a sheep. Chances are about even that John discarded the milk. It is impossible that if 'Greg is a swan and Emily is a sheep' then Bernhard is green. It is probably the case that if 'John discarded the milk and Emily is a sheep' then Brian is yellow. It is improbable that if either 'Emily is a sheep' or 'John discarded the milk' but not both then Mary left the football.,It is highly unlikely that 'Bernhard is green' 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.05::factA. 0.7::factB. 0.5::factC. %hop1 0.0::factX:-and(factA,factB). 0.7::factY:-and(factC,factB). 0.1::factZ:-xor(factB,factC). %hop2 conclusion:-or(factX,factZ). query(conclusion). ",0.05000000000000001,0.396879375875175,train,highly unlikely,we believe,It is highly unlikely that 'Bernhard is green' or 'Mary left the football' or both.,We believe that 'Bernhard is green' or 'Mary left the football' or both.,1,'Bernhard is green' or 'Mary left the football' or both. It is almost certain that Gertrude is a cat. It is probably the case that Lily is a rhino. It is certain that Mary left the football. We doubt that if either 'Mary left the football' or 'Gertrude is a cat' but not both then Bernhard is green. It is almost certain that if either 'Gertrude is a cat' or 'Mary left the football' but not both then John got the football. Chances are about even that if 'Lily is a rhino and Gertrude is a cat' then Bill moved to the office.,It is impossible that 'Bernhard is green 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.95::factA. 0.7::factB. 1.0::factC. %hop1 0.2::factX:-xor(factC,factA). 0.95::factY:-xor(factA,factC). 0.5::factZ:-and(factB,factA). %hop2 conclusion:-and(factX,factA). query(conclusion). ",0.0,0.6821364272854571,train,impossible,better than even,It is impossible that 'Bernhard is green and Gertrude is a cat'.,There is a better than even chance that 'Bernhard is green and Gertrude is a cat'.,1,'Bernhard is green and Gertrude is a cat'. It is probably not the case that Jeff left the apple. It is probable that Winona is a cat. It is probably the case that Bernhard is green. It is probably not the case that if either 'Bernhard is green' or 'Jeff left the apple' but not both then Lily is yellow. There is a better than even chance that if 'Bernhard is green and Winona is a cat' then John went to the kitchen. It is almost certain that if 'Jeff left the apple and Winona is a cat' then Brian is a frog.,Chances are about even that either 'Bernhard is green' or 'John went to the kitchen' 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.7::factC. %hop1 0.25::factX:-xor(factC,factA). 0.6::factY:-and(factC,factB). 0.95::factZ:-and(factA,factB). %hop2 conclusion:-xor(factC,factY). query(conclusion). ",0.40599999999999997,0.48949789957991596,train,about even,certain,Chances are about even that either 'Bernhard is green' or 'John went to the kitchen' but not both.,It is certain that either 'Bernhard is green' or 'John went to the kitchen' but not both.,1,Either 'Bernhard is green' or 'John went to the kitchen' but not both. It is certain that Bernhard is a frog. There is little chance that Greg is green. There is little chance that Jeff went to the bedroom. It is probable that if 'Greg is green and Jeff went to the bedroom' then Jessica is a mouse. There is little chance that if either 'Greg is green' or 'Bernhard is a frog' but not both then Brian is a rhino. Chances are slight that if 'Jeff went to the bedroom' or 'Bernhard is a frog' or both then Mary dropped the milk.,We believe that 'Greg is green' 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 1.0::factA. 0.1::factB. 0.1::factC. %hop1 0.7::factX:-and(factB,factC). 0.1::factY:-xor(factB,factA). 0.1::factZ:-or(factC,factA). %hop2 conclusion:-or(factB,factZ). query(conclusion). ",0.19000000000000006,0.035607121424284856,train,unlikely,we believe,It is unlikely that 'Greg is green' or 'Mary dropped the milk' or both.,We believe that 'Greg is green' or 'Mary dropped the milk' or both.,0,'Greg is green' or 'Mary dropped the milk' or both. There is a very good chance that John discarded the milk. It is impossible that Lily is a swan. It is probably not the case that Jeff dropped the apple. We doubt that if 'Jeff dropped the apple and Lily is a swan' then Mary moved to the office. There is almost no chance that if 'Lily is a swan and Jeff dropped the apple' then Brian is yellow. It is certain that if either 'Lily is a swan' or 'John discarded the milk' but not both then Julius is white.,It is impossible that either 'Brian is yellow' or 'Mary 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.8::factA. 0.0::factB. 0.25::factC. %hop1 0.2::factX:-and(factC,factB). 0.02::factY:-and(factB,factC). 1.0::factZ:-xor(factB,factA). %hop2 conclusion:-xor(factY,factX). query(conclusion). ",0.0,0.0680136027205441,train,impossible,better than even,It is impossible that either 'Brian is yellow' or 'Mary moved to the office' but not both.,There is a better than even chance that either 'Brian is yellow' or 'Mary moved to the office' but not both.,1,Either 'Brian is yellow' or 'Mary moved to the office' but not both. It is likely that Fred is in the office. Chances are about even that Brian is green. It is highly unlikely that Bernhard is a rhino. Chances are slight that if 'Brian is green' or 'Fred is in the office' or both then Lily is a rhino. It is probable that if 'Brian is green and Bernhard is a rhino' then Greg is yellow. It is impossible that if 'Brian is green and Bernhard is a rhino' then Sandra got the milk.,It is highly unlikely that 'Bernhard is a rhino' 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.7::factA. 0.5::factB. 0.05::factC. %hop1 0.1::factX:-or(factB,factA). 0.7::factY:-and(factB,factC). 0.0::factZ:-and(factB,factC). %hop2 conclusion:-or(factC,factY). query(conclusion). ",0.05000000000000001,0.020404080816163232,train,highly unlikely,better than even,It is highly unlikely that 'Bernhard is a rhino' or 'Greg is yellow' or both.,There is a better than even chance that 'Bernhard is a rhino' or 'Greg is yellow' or both.,1,'Bernhard is a rhino' or 'Greg is yellow' or both. It is likely that John moved to the garden. It is almost certain that Greg is a rhino. There is little chance that Julius is gray. We believe that if either 'John moved to the garden' or 'Julius is gray' but not both then Brian is white. We doubt that if 'Greg is a rhino and Julius is gray' then Mary dropped the milk. It is probably the case that if 'Julius is gray and John moved to the garden' then Bernhard is a swan.,There is little chance that 'Julius is gray 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.7::factA. 0.95::factB. 0.1::factC. %hop1 0.75::factX:-xor(factA,factC). 0.2::factY:-and(factB,factC). 0.7::factZ:-and(factC,factA). %hop2 conclusion:-and(factC,factB). query(conclusion). ",0.09500000000000001,0.22504500900180036,train,little chance,likely,There is little chance that 'Julius is gray and Greg is a rhino'.,It is likely that 'Julius is gray and Greg is a rhino'.,1,'Julius is gray and Greg is a rhino'. It is highly unlikely that Bernhard is gray. It is probably not the case that Jason is tired. There is a very good chance that Daniel grabbed the milk. It is impossible that if either 'Bernhard is gray' or 'Jason is tired' but not both then Bill went to the bedroom. It is probable that if 'Jason is tired' or 'Daniel grabbed the milk' or both then Brian is a swan. There is a very good chance that if either 'Daniel grabbed the milk' or 'Jason is tired' but not both then John discarded the apple.,It is certain that either 'John discarded the apple' 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.05::factA. 0.25::factB. 0.8::factC. %hop1 0.0::factX:-xor(factA,factB). 0.7::factY:-or(factB,factC). 0.8::factZ:-xor(factC,factB). %hop2 conclusion:-xor(factZ,factA). query(conclusion). ",0.518,0.34866973394678935,train,about even,certain,Chances are about even that either 'John discarded the apple' or 'Bernhard is gray' but not both.,It is certain that either 'John discarded the apple' or 'Bernhard is gray' but not both.,0,Either 'John discarded the apple' or 'Bernhard is gray' but not both. There is a better than even chance that John grabbed the apple. Chances are slight that Greg is a lion. There is a better than even chance that Bernhard is gray. There is almost no chance that if either 'John grabbed the apple' or 'Greg is a lion' but not both then Daniel got the milk. There is almost no chance that if 'Greg is a lion' or 'John grabbed the apple' or both then Fred went to the garden. There is little chance that if 'John grabbed the apple and Greg is a lion' then Sandra dropped the milk.,It is probable that 'Greg is a lion' or 'Fred 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.6::factA. 0.1::factB. 0.6::factC. %hop1 0.02::factX:-xor(factA,factB). 0.02::factY:-or(factB,factA). 0.1::factZ:-and(factA,factB). %hop2 conclusion:-or(factB,factY). query(conclusion). ",0.11080000000000002,0.7221444288857771,train,improbable,probable,It is improbable that 'Greg is a lion' or 'Fred went to the garden' or both.,It is probable that 'Greg is a lion' or 'Fred went to the garden' or both.,0,'Greg is a lion' or 'Fred went to the garden' or both. It is certain that John dropped the apple. It is highly likely that Bernhard is yellow. It is likely that Greg is white. We believe that if 'John dropped the apple' or 'Bernhard is yellow' or both then Julius is a swan. It is probable that if either 'Bernhard is yellow' or 'John dropped the apple' but not both then Lily is a lion. There is a very good chance that if 'Bernhard is yellow' or 'Greg is white' or both then Mary got the milk.,We believe that 'Julius 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 1.0::factA. 0.9::factB. 0.7::factC. %hop1 0.75::factX:-or(factA,factB). 0.7::factY:-xor(factB,factA). 0.8::factZ:-or(factB,factC). %hop2 conclusion:-or(factX,factY). query(conclusion). ",0.7675,0.621124224844969,train,we believe,highly unlikely,We believe that 'Julius is a swan' or 'Lily is a lion' or both.,It is highly unlikely that 'Julius is a swan' or 'Lily is a lion' or both.,1,'Julius is a swan' or 'Lily is a lion' or both. There is a better than even chance that Sumit is tired. It is probably the case that Julius is yellow. It is highly likely that Mary went to the office. There is a better than even chance that if 'Mary went to the office and Sumit is tired' then Gertrude is a mouse. It is almost certain that if 'Julius is yellow' or 'Sumit is tired' or both then Sandra left the milk. It is highly likely that if 'Mary went to the office and Julius is yellow' then John dropped the milk.,There is a better than even chance that 'Julius is yellow 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.6::factA. 0.7::factB. 0.9::factC. %hop1 0.6::factX:-and(factC,factA). 0.95::factY:-or(factB,factA). 0.9::factZ:-and(factC,factB). %hop2 conclusion:-and(factB,factC). query(conclusion). ",0.63,0.2576515303060612,train,better than even,impossible,There is a better than even chance that 'Julius is yellow and Mary went to the office'.,It is impossible that 'Julius is yellow and Mary went to the office'.,1,'Julius is yellow and Mary went to the office'. It is improbable that Julius is green. It is probable that Brian is yellow. It is probably the case that Lily is white. There is little chance that if either 'Julius is green' or 'Lily is white' but not both then Greg is a lion. There is a better than even chance that if 'Brian is yellow' or 'Lily is white' or both then Jessica is a cat. It is unlikely that if 'Brian is yellow' or 'Lily is white' or both then Mary went to the garden.,Chances are about even that either 'Brian is yellow' 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.7::factB. 0.7::factC. %hop1 0.1::factX:-xor(factA,factC). 0.6::factY:-or(factB,factC). 0.2::factZ:-or(factB,factC). %hop2 conclusion:-xor(factB,factY). query(conclusion). ",0.40599999999999997,0.1736347269453891,train,about even,certain,Chances are about even that either 'Brian is yellow' or 'Jessica is a cat' but not both.,It is certain that either 'Brian is yellow' or 'Jessica is a cat' but not both.,1,Either 'Brian is yellow' or 'Jessica is a cat' but not both.